/* 色はすべてここの変数で決める。昼の紙と夜（A 墨）の2つを持つ（2026-10-19、大田垣の判断。見本 https://claude.ai/artifact/Dt3i38csBHVbxVhfmqvTNh の A）。
   --k は字と細い線の色（rgb の3つの数）で、淡い字や区切りは rgb(var(--k) / 濃さ) で引く。--w はすりガラスの地の色だ。
   影だけは夜も黒のままにする */
:root {
  --blusco: #026881; --bl: 2 104 129;
  --glow: #3d8bff;
  --ink: #1a1a1a; --k: 0 0 0; --w: 255 255 255; --kinari: #f7f3ea;
  --bg: #fff; --paper: #fff; --desk: #f4f3ef; --top: #f3e6e7;
  --fill: #eee; --field: #efefef; --chip: #fbf8f2;
  --red: #b0413e; --rd: 176 65 62; --mine: 31 78 158;
  /* 時刻と淡い字の濃さ。昼の時刻は目立たせない淡さ（2.1:1）のまま、夜とコントラストを上げる設定では 4.5:1（WCAG AA）を超える */
  --time-a: .3; --stamp-a: .5;
  --time: rgb(var(--k) / var(--time-a)); --stamp: rgb(var(--k) / var(--stamp-a));
  /* ブルードットの段（1〜4、5は自分が押した点）。中・縁の帯・重ねたあとの縁 */
  --wb1: rgb(46 100 200 / 0.13); --wr1: rgb(46 100 200 / 0.333); --wl1: rgb(46 100 200 / 0.42);
  --wb2: rgb(46 100 200 / 0.24); --wr2: rgb(46 100 200 / 0.421); --wl2: rgb(46 100 200 / 0.56);
  --wb3: rgb(46 100 200 / 0.38); --wr3: rgb(46 100 200 / 0.516); --wl3: rgb(46 100 200 / 0.7);
  --wb4: rgb(46 100 200 / 0.56); --wr4: rgb(46 100 200 / 0.636); --wl4: rgb(46 100 200 / 0.84);
  --wb5: rgb(31 78 158 / 0.72); --wr5: rgb(31 78 158 / 0.786); --wl5: rgb(31 78 158 / 0.94);
}
/* 夜（A 墨）。紙は墨色、もこと紙の地は一段明るい色、字と線は生成りの白。純白にしないのは、暗い地で字がにじんで見えるからだ。
   淡い段のブルードットは、昼の濃さのままでは夜の地に溶けるので、絵の具を明るくし、縁を一段濃くする */
:root[data-theme="dark"] {
  --blusco: #7cc6d8; --bl: 124 198 216;
  --glow: #6aa8ff;
  --ink: #ece8e0; --k: 236 232 224; --w: 22 22 21; --kinari: #222120;
  --bg: #161615; --paper: #222120; --desk: #0b0b0a; --top: #2c2224;
  --fill: #2a2927; --field: #262523; --chip: #222120;
  --red: #e0857f; --rd: 224 133 127; --mine: 156 192 255;
  --time-a: .58; --stamp-a: .6;
  --wb1: rgb(111 156 240 / 0.2); --wr1: rgb(111 156 240 / 0.525); --wl1: rgb(111 156 240 / 0.62);
  --wb2: rgb(111 156 240 / 0.32); --wr2: rgb(111 156 240 / 0.588); --wl2: rgb(111 156 240 / 0.72);
  --wb3: rgb(111 156 240 / 0.46); --wr3: rgb(111 156 240 / 0.667); --wl3: rgb(111 156 240 / 0.82);
  --wb4: rgb(111 156 240 / 0.62); --wr4: rgb(111 156 240 / 0.789); --wl4: rgb(111 156 240 / 0.92);
  --wb5: rgb(156 192 255 / 0.8); --wr5: rgb(156 192 255 / 1.000); --wl5: rgb(156 192 255 / 1);
  color-scheme: dark;
}
/* OS で「コントラストを上げる」を選んでいる人には、時刻と淡い字をさらに濃くする */
@media (prefers-contrast: more) {
  :root { --time-a: .72; --stamp-a: .72; }
  :root[data-theme="dark"] { --time-a: .78; --stamp-a: .78; }
}
* { box-sizing: border-box; }
/* ページ全体は動かさない。動くのは紙の中の流れだけだ。ページも動くと、流れの端でホイールがページへ移り、紙ごと動いた（2026-10-17、大田垣の指摘） */
html, body { margin: 0; height: 100%; background: var(--desk); overflow: hidden; overscroll-behavior: none; }
/* iPhone の Safari は、字が16px より小さい入力欄に触れたときとダブルタップで画面を拡大し、拡大したまま戻さない。
   紙が画面に入りきらず、左右に動いた（2026-10-18、aiueo.ooo の報告）。viewport の maximum-scale=1 で入力欄の拡大を止め、ここでダブルタップの拡大を止める */
html { touch-action: manipulation; }
body {
  font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--ink); -webkit-text-size-adjust: 100%;
}
button { font: inherit; color: inherit; cursor: pointer; }
:focus:not(:focus-visible) { outline: none; }

/* 紙。iPhone の幅では画面いっぱい、指で触る広い画面では四六判の比（1:1.48）で画面の高さいっぱいに置き、中身を紙の幅に合わせて拡大する（main.js の fit）。
   パソコンでは Mac の1面と同じく、幅を478px に決めて高さだけを画面いっぱいに伸ばし、拡大しない */
#frame { position: relative; height: 100dvh; background: var(--bg); overflow: hidden; }
@media (min-width: 600px) {
  #frame {
    height: calc(100dvh - 32px); width: min(calc(100vw - 32px), calc((100dvh - 32px) / 1.48));
    margin: 16px auto; border-radius: 14px; box-shadow: 0 0 0 .7px rgb(var(--k) / .14), 0 8px 30px rgba(0, 0, 0, .06);
  }
}
.desk #frame { width: 478px; }
#side { display: none; }

/* 見開き（main.js の fit）。左のページに目次・表紙・自分のカード・検索欄、右のページに流れを置く。
   紙の大きさは白銀比（√2:1）で main.js が決める */
.spread #side {
  display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 50%;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 110px;
  box-shadow: inset -.7px 0 0 rgb(var(--k) / .12);
}
.spread #page { left: 50%; padding: var(--head) var(--edge) 110px var(--gut); }
/* 左のページは小口が左、のどが右だ（main.js の fit が --gut・--edge・--head を決める） */
.spread .cover { padding: var(--head) var(--gut) 0 var(--edge); }
.spread[data-pane="login"] #side { display: none; }
.spread[data-pane="login"] #page { left: 0; }
.spread .mebar .cog { display: none; }
.spread .mebar { cursor: default; }
/* 窓と顔なじみの帯は左のページの表紙が受け持つ */
.spread[data-pane="window"] #page > nav.tabs, .spread[data-pane="familiar"] #page > nav.tabs { display: none; }
.cover { padding: 22px 24px 0; }
.cover h2 { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.cover h2 .ci { flex: none; display: grid; place-items: center; color: var(--blusco); }
.cover h2 .ci svg { width: 22px; height: 22px; display: block; }
.cover h2 .icon { margin-left: auto; }
.cover .faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); justify-items: center; gap: 18px 0; margin: 10px 0 16px; }
.cover .faces button { border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; }
.cover .faces img, .cover .faces i { width: 44px; height: 44px; border-radius: 50%; display: block; background: var(--fill); box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); transition: box-shadow .15s; }
.cover .faces button:hover img, .cover .faces button:hover i { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--blusco); }
.cover .words { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.cover .words span { font-size: 12px; padding: 3px 10px; border-radius: 12px; background: var(--field); color: rgb(var(--k) / .7); display: inline-flex; align-items: center; gap: 4px; }
.cover .words svg { width: 11px; height: 11px; }
.cover .toc { display: flex; flex-direction: column; margin-top: 6px; }
.cover .toc h6 { margin: 14px 0 4px; font-size: 10.5px; font-weight: 500; color: rgb(var(--k) / .45); }
.cover .toc button { border: 0; background: none; text-align: left; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; display: flex; align-items: center; gap: 8px; color: rgb(var(--k) / .75); }
.cover .toc button:hover { background: rgb(var(--k) / .04); }
.cover .toc button.sel { background: rgb(var(--bl) / .1); color: var(--blusco); }
.cover .toc button.temp { outline: 1.2px dashed rgb(var(--k) / .35); outline-offset: -1.2px; }
.cover .toc button > span:not(.ti):not(.tune) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover .toc .ti svg { width: 13px; height: 13px; display: block; }
.cover .toc .tune { margin-left: auto; }
.cover .toc .tune svg { width: 12px; height: 12px; display: block; opacity: .7; }
.cover .cnew { position: relative; margin: 14px 0 0; }
.cover .cnew .pick { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--blusco); background: none; padding: 7px 14px; border-radius: 18px; border: 1px solid rgb(var(--bl) / .3); }
.cover .cnew .pick svg { width: 14px; height: 14px; }
.cover .newmenu { left: 0; right: auto; top: calc(100% + 6px); }
.mecover { padding: 22px 0 0; }
.mecover .mehead { display: flex; align-items: center; gap: 12px; padding: 0 24px; }
.mecover .mehead img, .mecover .mehead i { width: 48px; height: 48px; border-radius: 50%; display: block; background: var(--fill); box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); }
.mecover .mehead b { display: block; font-size: 17px; }
.mecover .mehead span { font-size: 12px; color: var(--stamp); }
.mecover .mehead .icon { margin-left: auto; opacity: .45; }
.mecover .mehead .icon:hover, .mecover .mehead .icon.on { opacity: 1; color: var(--blusco); }
.mecover.folded .settings { display: none; }
.mecover.folded .card:not(:has(.bio)) { display: none; }
.mecover.folded .card .bio { margin-top: 0; }
.search-cover { padding-top: 12px; }
.search-cover .search { margin: 0 -12px; }
.history button.sel { color: var(--blusco); }
/* 中身は基準の幅（393px）で組み、紙の大きさまで transform で拡大する */
#stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
#page { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 110px; }
.sheet .scroll { overscroll-behavior: contain; }

/* ドック */
#dock {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 40px;
  background: rgb(var(--w) / .82); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 0 0 .7px rgb(var(--k) / .18), 0 6px 24px rgba(0, 0, 0, .08); z-index: 20;
}
#dock[hidden] { display: none; }
#dock button { position: relative; width: 54px; height: 44px; border: 0; background: none; display: grid; place-items: center; color: rgb(var(--k) / .8); padding: 0; }
#dock button:disabled { color: rgb(var(--k) / .22); cursor: default; }
#dock button svg { width: 25px; height: 25px; }
#dock button.sel::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--glow); box-shadow: 0 0 3px rgba(61, 139, 255, .6);
}
/* 明滅は印の下の青い点で示す（iPhone の SelectDot。2026-10-18、大田垣の指摘：円の明滅は古い版だった）。
   読み込み中は開いている席の点が速く、新しい通知が届くと自分のアイコンの下に点が出てゆっくり明滅する。光の強さ --b は breath.js が渡す */
#dock button.breathing::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--glow); opacity: calc(.25 + .75 * var(--b, 0)); box-shadow: 0 0 calc(1px + 2.5px * var(--b, 0)) rgba(58, 141, 255, var(--b, 0));
}
/* 操作の一覧を開いている吹き出し。もこの輪郭のまわりを青く光らせ、光の強さ --b（breath.js）で明滅させる */
.bub.target .moko > svg { filter: drop-shadow(0 0 calc(1.5px + 5px * var(--b, 0)) rgba(58, 141, 255, calc(.35 + .65 * var(--b, 0)))) drop-shadow(0 0 1px rgba(58, 141, 255, calc(.3 + .7 * var(--b, 0)))); }
.bub.target > .attach > *, .bub.target.clip > .frame { box-shadow: 0 0 calc(2px + 6px * var(--b, 0)) rgba(58, 141, 255, calc(.35 + .65 * var(--b, 0))); }
#dock .sep { width: 1px; height: 26px; background: rgb(var(--k) / .1); margin: 0 4px; }
#dock .me img, #dock .me i { width: 28px; height: 28px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); background: var(--fill); }

/* ログイン */
.login { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px 28px 60px; }
.login .icon { width: 72px; height: 72px; border-radius: 17px; }
.login h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.login form { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 12px; }
.login .lab { font-size: 12px; color: var(--stamp); text-align: center; margin-bottom: -4px; }
.login input {
  height: 44px; border: 0; border-radius: 22px; background: var(--field); padding: 0 18px;
  font: inherit; font-size: 16px; outline: none; text-align: center;
}
.login .go {
  height: 46px; border-radius: 23px; border: 1px solid rgb(var(--bl) / .35); background: var(--bg);
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; color: var(--blusco);
}
.login .go:disabled { opacity: .5; cursor: default; }
.login .err { min-height: 1.4em; font-size: 12.5px; color: var(--red); text-align: center; }
.login .err small { display: block; margin-top: 4px; font-size: 11px; opacity: .75; overflow-wrap: anywhere; }
.login .about { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--stamp); text-align: left; line-break: strict; }
.login .about .nw { white-space: nowrap; }
.login .notes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; line-height: 1.5; color: var(--stamp); line-break: strict; }
.login .notes li { position: relative; padding-left: 12px; }
.login .notes li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--blusco); opacity: .6; }
.login .notes .nw { white-space: nowrap; }
.login .what { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--blusco); text-decoration: none; }
.login .what:hover { text-decoration: underline; }
.login .what svg { width: 12px; height: 12px; }

/* ATOMO の印。中を空けた光の輪で、ハンドルを打つと中にその人のアイコンが入る */
.atomo { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--glow), 0 0 6px rgba(61, 139, 255, .45); overflow: hidden; }
.atomo img { position: absolute; inset: 3px; width: 22px; height: 22px; border-radius: 50%; }
.atomo.busy { animation: breath 1.25s ease-in-out infinite; }
@keyframes breath {
  0%, 100% { box-shadow: 0 0 0 2px rgba(61, 139, 255, .45), 0 0 3px rgba(61, 139, 255, .2); }
  50% { box-shadow: 0 0 0 2px var(--glow), 0 0 12px rgba(61, 139, 255, .75); }
}

/* 自分のカード */
.card { margin: 16px 12px; padding: 16px; border-radius: 22px; box-shadow: 0 0 0 1px rgb(var(--k) / .13); }
.card .head { display: flex; gap: 12px; align-items: center; }
.card .head img { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); }
.card .nm { font-size: 15px; font-weight: 600; }
.card .hd { font-size: 11px; color: rgb(var(--k) / .45); margin-top: 2px; }
.card .bio { font-size: 12px; line-height: 1.7; margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.card .acts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.card .act { border: 0; background: none; padding: 0; font-size: 12px; color: var(--blusco); cursor: pointer; }
.card .act.out { color: var(--stamp); }
.card .note { font-size: 11.5px; color: var(--stamp); margin-top: 8px; min-height: 1em; }

/* 届いたブルードットの暦。1行が1か月で、横に1日〜31日。いちばん上が今月だ（heat.js） */
.heat { margin: 4px 12px 16px; padding: 4px 4px 0; }
.desk .heat { margin: 4px 24px 16px; }
.heat.busy { animation: blink 1.25s ease-in-out infinite; }
/* 届いた日だけを少しゆがんだ点で描き、届かなかった日は何も描かない。点の大きさはどの日も同じ（マスの7割）で、量は色の段で示す。
   月ごとの行の真ん中に細い線を引き、点を面でなく線の上の並びとして見せる。空の輪は穴の群れに見え、集合体恐怖症の人が気分を悪くするからだ（2026-10-18、iPhone と同じ） */
.heat-grid { display: flex; flex-direction: column; gap: 2px; }
.heat-grid > div { display: grid; grid-template-columns: 26px repeat(31, 1fr); gap: 2px; align-items: center;
  background: linear-gradient(rgb(var(--k) / .08), rgb(var(--k) / .08)) no-repeat right center / calc(100% - 26px) .5px; }
.heat-grid > .scale { background: none; }
.heat-grid span { font-size: 8px; color: var(--stamp); text-align: center; line-height: 1; padding-bottom: 2px; }
.heat-grid b { font-size: 9px; font-weight: 500; color: var(--stamp); text-align: right; padding-right: 5px; line-height: 1; white-space: nowrap; }
.heat-grid b small { font-size: 7px; margin-left: 2px; opacity: .8; }
.heat-grid i { aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.heat-grid i svg { width: 70%; height: 70%; display: block; overflow: visible; }
.heat-grid i .wb { fill: var(--wb); }
.heat-grid i .wr { fill: var(--wr); }
/* 今日は細い丸で囲む */
.heat-grid i.now::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; box-shadow: inset 0 0 0 .8px rgb(var(--k) / .5); }
.heat-none { font-size: 11.5px; color: var(--stamp); text-align: center; padding: 12px 0; }

/* 窓のタブ。＋と設定の印は帯の右の端に留める */
/* タブの帯はミセの紹介カード（.phead、z-index 5）より上に置く。＋の一覧がカードの下に隠れた（2026-10-19、大田垣の指摘） */
.tabs {
  position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 4px;
  padding: 8px 6px 8px 10px; background: rgb(var(--w) / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.tabs .strip { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs .strip::-webkit-scrollbar { display: none; }
.tabs .strip button { flex: none; border: 0; background: none; padding: 6px 12px; border-radius: 16px; font-size: 13px; color: rgb(var(--k) / .55); white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.tabs .strip button.sel { background: rgb(var(--bl) / .1); color: var(--blusco); }
/* 仮のタブ（通っていない他人のミセ）は点線の縁。通うと実線の地に戻る */
.tabs .strip button.temp { box-shadow: none; outline: 1.2px dashed rgb(var(--k) / .35); outline-offset: -1.2px; }
.tabs .strip button.temp.sel { outline-color: rgb(var(--bl) / .55); }
.tabs .tune svg { width: 12px; height: 12px; display: block; opacity: .7; }
.tabs .title { flex: 1; font-size: 13px; color: rgb(var(--k) / .55); padding-left: 4px; }
button.icon { border: 0; background: none; padding: 6px; display: grid; place-items: center; color: rgb(var(--k) / .5); border-radius: 50%; }
button.icon svg { width: 18px; height: 18px; }
button.icon:hover { color: var(--ink); }

/* 顔なじみがまだいないとき */
.empty .col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty .act { font-size: 12px; color: var(--stamp); cursor: pointer; }

/* プロフィールの帯。アイコンを押すと顔なじみに入れ、もう一度押すと外す */
.pbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: rgb(var(--w) / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pbar .face { border: 0; background: none; padding: 0; border-radius: 50%; flex: none; }
.pbar .face img, .pbar .face i { width: 32px; height: 32px; border-radius: 50%; display: block; background: var(--fill); box-shadow: 0 0 0 1.5px rgb(var(--bl) / .18); }
.pbar .face.on img, .pbar .face.on i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--blusco); }
.pbar .face:disabled { cursor: default; }
.pbar .who { flex: 1; min-width: 0; border: 0; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; }
.pbar .who b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbar .who span { font-size: 11px; color: var(--stamp); }
.pbar .menu, .search .menu {
  position: absolute; right: 10px; top: 46px; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--bg);
  box-shadow: 0 0 0 .7px rgb(var(--k) / .15), 0 8px 24px rgba(0, 0, 0, .1); display: flex; flex-direction: column;
}
.pbar .menu button, .search .menu button { border: 0; background: none; text-align: left; padding: 8px 10px 8px 28px; border-radius: 8px; font-size: 13px; position: relative; display: flex; align-items: center; gap: 6px; }
.pbar .menu button:hover, .search .menu button:hover { background: rgb(var(--k) / .04); }
.pbar .menu button.on::before, .search .menu button.on::before { content: "✓"; position: absolute; left: 10px; color: var(--blusco); }
.pbar .menu button svg, .search .menu button svg { width: 14px; height: 14px; position: absolute; left: 8px; color: var(--blusco); }
.phead { position: sticky; top: 0; z-index: 5; background: rgb(var(--w) / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.phead .pbar { position: relative; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.phead .bio { max-height: 40vh; overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid rgb(var(--k) / .06); }
.bio { font-size: 12.5px; line-height: 1.7; padding: 4px 16px 12px 52px; white-space: pre-wrap; overflow-wrap: anywhere; color: rgb(var(--k) / .75); }

/* シート（窓の設定） */
#layer { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
#layer > * { pointer-events: auto; }
.dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .18); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; top: 48px; background: var(--bg); border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column; box-shadow: 0 -2px 20px rgba(0, 0, 0, .08);
}
.sheet header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgb(var(--k) / .06); }
.sheet header b { font-size: 14px; font-weight: 600; }
.sheet header button { border: 0; background: none; font-size: 13px; color: rgb(var(--k) / .55); padding: 4px; }
.sheet header .strong { color: var(--blusco); font-weight: 600; }
.sheet .scroll { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sheet .name { border: 0; font: inherit; font-size: 20px; font-weight: 600; outline: none; padding: 2px 0; }
.sheet .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet .chips:empty { display: none; }
.sheet .chips button { border: 0; background: rgb(var(--bl) / .08); color: var(--blusco); border-radius: 14px; padding: 5px 8px 5px 11px; font-size: 12.5px; display: flex; gap: 5px; align-items: center; }
.sheet .chips button.feed { background: rgb(var(--k) / .05); color: var(--ink); }
.sheet .chips i { font-style: normal; opacity: .45; }
.sheet .field { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 19px; background: var(--field); }
.sheet .field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; outline: none; }
.sheet .field .kind { font-size: 11px; color: var(--stamp); flex: none; }
.sheet .err { font-size: 12px; color: var(--red); }
.sheet .err:empty { display: none; }
.sheet .picks { display: flex; flex-direction: column; }
.sheet .picks button { border: 0; background: none; display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 8px; text-align: left; }
.sheet .picks button:first-child { background: rgb(var(--bl) / .06); }
.sheet .picks img, .sheet .picks .g { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--fill); }
.sheet .picks .g.word { border-radius: 6px; background: rgb(var(--k) / .06); }
.sheet .picks .g.feed { border-radius: 7px; background: rgb(var(--bl) / .12); }
.sheet .picks .t { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet .picks small { margin-left: 6px; font-size: 11px; color: var(--stamp); }
.sheet .picks .k { font-size: 10.5px; color: var(--stamp); flex: none; }
.sheet .saved { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet .saved .label { width: 100%; font-size: 11px; color: var(--stamp); }
.sheet .saved button { border: 1px solid rgb(var(--k) / .1); background: none; border-radius: 14px; padding: 4px 10px; font-size: 12px; }
.sheet .remove { margin-top: 12px; align-self: flex-start; border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--red); }

/* 流れ。話の流れごとに、もこの吹き出しで並べる（bubble.js・moko.js） */
.more { height: 40px; }
.more.busy { background: radial-gradient(circle, rgba(61, 139, 255, .5) 0 3px, transparent 4px) center / 12px 12px no-repeat; animation: blink 1.25s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* 吹き出しの字は源暎アンチック（おたもん、SIL Open Font License 1.1）。マンガの吹き出しの字だ */
@font-face { font-family: "GenEiAntique"; src: url("/fonts/GenEiAntiqueNv6-M.ttf") format("truetype"); font-display: swap; }
/* 英文だけの投稿の吹き出しは Shantell Sans（Shantell Martin・Arrow Type・Anya Danilova、SIL Open Font License 1.1）で組む。
   日本語に英単語が混じった投稿は源暎アンチックのまま組む（2026-10-19、大田垣の判断）。
   字は可変フォントを太さ600・くだけ具合60・弾み30・字間0に固め、英字だけに絞った（62KB）。元のファイルは commons/fonts/ShantellSans/ にある。
   自分のカードの「英文の字」で源暎アンチックに戻せる（main.js の comicEn） */
@font-face { font-family: "ShantellSans"; src: url("/fonts/ShantellSans-600.woff2?v=2") format("woff2"); font-display: swap; }
/* アメコミの写植と同じく全部大文字で組む。横棒付きの I を一人称の I にだけ使うのは字の calt が受け持つ（2026-10-20、大田垣の依頼） */
.comic-en .moko.latin .tx, .comic-en .focus .ct.latin { font-family: "ShantellSans", "GenEiAntique", "Hiragino Mincho ProN", serif; letter-spacing: 0; text-transform: uppercase; }
:root { --moko-fs: 13.5px; --moko-lh: 19px; --col: 44px; --av: 44px; --room: 56px; --name: 13px; --stamp-fs: 11.2px; --dot: 11px; }
.desk { --moko-fs: 13px; --moko-lh: 18.5px; --col: 52px; --av: 34px; --room: 61px; --name: 11.5px; --stamp-fs: 9px; --dot: 9px; }

/* 流れと流れのあいだは広くとり、名前の行は自分の吹き出しに寄せる。名前の行が次の流れのアイコンとの中間に浮くと、
   どちらの吹き出しの名前か分からなかった（2026-10-17、大田垣の指摘） */
/* 流れのあいだは上下18px にした。34px では1画面に入る投稿が少なかった（2026-10-18、大田垣の判断。iPhone と同じ） */
.thread { padding: 18px 8px; }
.desk .thread { padding: 18px 12px; }
/* 返信先のエイリアス（2026-10-21、大田垣の判断。iPhone の ReplyAlias と同じ）。ほかの人への返信の上に置く淡い1行だ。
   会話の上下の短い横線（2026-10-18）はやめた */
.alias { display: flex; align-items: center; gap: 6px; width: calc(100% - var(--col) - 28px); margin: 0 16px 6px calc(var(--col) + 12px); padding: 2px 0; background: none; border: 0; color: rgb(var(--k) / .5); font-size: 11.5px; text-align: left; cursor: pointer; }
.alias .ar { flex: none; display: flex; }
.alias .ar svg { width: 12px; height: 12px; }
.compose .to .up { flex: none; display: inline-flex; color: rgb(var(--k) / .5); }
.compose .to .up svg { width: 12px; height: 12px; }
.alias img, .alias i { flex: none; width: 16px; height: 16px; border-radius: 50%; object-fit: cover; background: var(--fill); }
.alias .tx { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.alias:hover { color: rgb(var(--k) / .72); }
.row { display: flex; flex-direction: column; }
.row + .row { margin-top: 4px; }
.row.gap14 { margin-top: 18px; }
.row.gap6 { margin-top: 10px; }
.line { display: flex; align-items: flex-start; gap: 12px; }
.row.right .line { flex-direction: row-reverse; }
.col { width: var(--col); flex: none; display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.col .av { width: var(--av); height: var(--av); border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); cursor: pointer; object-fit: cover; }
.col .via { margin-top: auto; font-size: 9px; color: rgb(var(--k) / .5); white-space: nowrap; cursor: pointer; max-width: 120px; overflow: hidden; text-overflow: ellipsis; padding-bottom: 2px; }
/* 吹き出しの反対側は、ほかの人は字4字ぶん、自分は8px あける */
/* 名前と吹き出しの列。測るときは反対側に字4字ぶんあけ、描いたあとでもこの幅まで詰める（moko.js） */
/* 名前と吹き出しのあいだは9px（2026-10-17、大田垣の判断：もう少し離す） */
.voice { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-right: var(--room); }
.row.right .voice { align-items: flex-end; margin-right: 0; margin-left: 8px; }
/* 自分の投稿も、印の行をもこの横に置くので、その幅（56px）を反対側にとる */
.row.right .line:not(.side) .voice { margin-left: 56px; }
.row.beside .voice { margin-right: 0; margin-left: 0; }
.bub { width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
/* 吹き出しと、その右の端に付けるブルードット・返す・時刻 */
.say { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-width: 0; }
/* 添付のない投稿の印の行は、いちばん下のもこの右下に重ねて置く（moko.js）。もこの下に場所をとらない。
   位置はもこと同じ基準（もこの offsetParent）で測る。.say を基準にすると、尾の先の高さの計算がずれた */
.meta.by { position: absolute; margin: 0; white-space: nowrap; }
.row.right .say { align-items: flex-end; }
/* 印の行と吹き出しのあいだは8px。2px では吹き出しに近づきすぎた（2026-10-17、大田垣の指摘） */
.meta { display: flex; align-items: center; gap: 10px; margin: 8px 0 0 12px; }
.row.right .meta { flex-direction: row-reverse; margin: 8px 12px 0 0; }
/* 添付だけの投稿は、印の行を添付の中心にそろえる */
.row.beside .meta { align-self: center; margin: 8px 0 0; }
.meta .dot { display: flex; align-items: center; border: 0; background: none; padding: 3px 2px; }
.meta .reply { border: 0; background: none; padding: 1px; color: rgb(var(--k) / .5); display: grid; place-items: center; }
.meta .reply svg { width: 15px; height: 15px; }
.desk .meta .reply svg { width: 13px; height: 13px; }
.meta .reply:hover { color: var(--ink); }
/* 訳す印（translate.js）。細い線の絵を淡く置き、訳文に入れ替えているあいだはブルスコブルー、訳しているあいだは明滅させる */
.meta .trn { border: 0; background: none; padding: 1px; color: rgb(var(--k) / .4); display: grid; place-items: center; cursor: pointer; }
.meta .trn svg { width: 15px; height: 15px; }
.desk .meta .trn svg { width: 13px; height: 13px; }
.meta .trn:hover { color: var(--ink); }
.meta .trn.on { color: var(--blusco); }
.meta .trn.busy { color: var(--blusco); opacity: calc(.3 + .7 * var(--b, 1)); }
.meta .trn.failed { color: rgb(var(--k) / .25); }
/* 訳文の下の「原文」。押すと原文に戻る */
.moko .orig { display: block; margin-top: 4px; border: 0; background: none; padding: 0; font: inherit; font-size: .72em; color: rgb(var(--k) / .45); cursor: pointer; -webkit-text-fill-color: rgb(var(--k) / .45); }
.moko .orig:hover { color: var(--blusco); -webkit-text-fill-color: var(--blusco); }
.row.right .bub { align-items: flex-end; }
/* 名前の左の端は、吹き出しの尾の先（もこの頭から7px 左）の真上にそろえる（2026-10-17、大田垣の依頼） */
.nm-in { font-size: var(--name); color: var(--ink); line-height: 1.3; margin-left: -7px; white-space: nowrap; display: flex; align-items: baseline; gap: 8px; }
.nm-in b { font-weight: 700; cursor: pointer; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
/* 横に添付が来る行では、名前の行を吹き出しの列の幅に数えない（幅0の枠からはみ出して描く）。名前は200px で切る。
   長い名前が列を押し広げ、リンクカードの幅が0になって画面の外へ押し出された（2026-10-18、iOS で見つかった崩れ。大田垣の依頼でウェブも直した） */
.row:not(.right) .line.side .nm-in { width: 0; }
.row:not(.right) .line.side .nm-in > * { flex: none; }
/* 自分の投稿も「名前 時刻」の順にし、行ごと右に寄せる。並びを返して「時刻 名前」にしていた（2026-10-17、大田垣の指摘） */
.row.right .nm-in { margin-left: 0; margin-right: -7px; }
/* 会話の項目で拾った場所（convo.js）。iPhone の Base の名前の横の印と同じく、小さな円と名前を淡く置く */
.nm-in .from { display: inline-flex; align-items: center; gap: 3px; font-size: calc(var(--stamp-fs) * 0.92); color: var(--blusco); opacity: .6; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.nm-in .from i { flex: none; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.line:has(.clip) .voice { margin-right: 0; }

/* もこ。字を囲む卵形をずらして重ね、線と地は後ろの SVG で描く */
.moko { position: relative; }
.moko > svg { position: absolute; left: -30px; top: -30px; overflow: visible; pointer-events: none; }
.moko .band { fill: var(--ink); }
.moko .tl { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
/* 雲形の尾の丸。線を引いてから地で塗る */
.moko .dotl { fill: none; stroke: var(--ink); stroke-width: 3; }
.moko .paper { fill: var(--paper); }
/* 呼びかけ（まだ誰も応えていない）の縁。丸い点を細かく並べる。Mac の積んだ吹き出しの点線（短い線）とは点の形で分ける */
.moko .dash { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 0 3.4; }
/* 会話のトップ投稿（話の始まりと本人のセルフリプ）の地。Swift の Palette.topBubble と同じ淡い臙脂だ（2026-10-18） */
.moko.top .paper { fill: var(--top); }
.moko .lobe { position: absolute; display: grid; place-items: center; }
.moko .lobe.rest { display: none; }
.moko .tx {
  position: relative; width: max-content; font-family: "GenEiAntique", "Hiragino Mincho ProN", serif;
  font-size: var(--moko-fs); line-height: var(--moko-lh); letter-spacing: .2px; white-space: pre-wrap;
  overflow-wrap: anywhere; line-break: strict; word-break: auto-phrase;
}
/* 吹き出しの字は、地と同じ塗りの絵（グラデーション）で字の形を抜いて描く。Brave の夜のモードや Chrome の暗い表示は、字の色を白へ反転するが、
   もこの SVG の白い地と、絵は反転しない。color のままでは白い吹き出しに白い字になり、何も読めなかった（2026-10-19、Brave で入った人の報告）。
   color-scheme の宣言では反転を止められなかった。絵文字は字の色を使わないので、そのまま出る */
.moko .tx { color: transparent; background: linear-gradient(var(--ink), var(--ink)); -webkit-background-clip: text; background-clip: text; }
.moko .tx .emo { color: var(--ink); }
.moko .tx .mn, .moko .tx .tg { text-decoration: underline dotted rgb(var(--k) / .35); text-underline-offset: 3px; cursor: pointer; }
.moko .tx .tg i { font-style: normal; opacity: .4; }
.tg[data-tag] { cursor: pointer; }
.moko .tx a { color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
/* リンクの印。細い円と右上への矢印。押せる範囲は外へ6px 広げる。マウスを乗せると円を塗って矢印を白くする */
.chips a.go { position: relative; display: block; width: 18px; height: 18px; color: var(--blusco); }
.chips a.go::before { content: ""; position: absolute; inset: -6px; }
.chips a.go svg { width: 18px; height: 18px; display: block; overflow: visible; }
.chips a.go .o { fill: none; stroke: currentColor; stroke-width: 1.1; transition: fill .15s; }
.chips a.go .a { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.chips a.go:hover .o, .chips a.go:focus-visible .o { fill: currentColor; }
.chips a.go:hover .a, .chips a.go:focus-visible .a { stroke: var(--bg); }
.cont { border: 0; background: none; padding: 2px 0; font-size: var(--stamp-fs); color: var(--blusco); white-space: nowrap; }

/* 名前の行。ブルードット・名前・時刻の順で、自分の行は左右を返す */
.info { display: flex; align-items: center; gap: 6px; margin-top: 2px; min-height: 20px; }
.row.right .info { flex-direction: row-reverse; }
.info .dot { width: var(--col); display: flex; justify-content: center; align-items: center; flex: none; border: 0; background: none; padding: 5px 0; }
button.dot { cursor: pointer; position: relative; }
/* iPhone の震えのために重ねる label（haptics.js）。印の全体を覆い、見えない */
.hx { position: absolute; inset: 0; cursor: inherit; }
/* label を重ねたボタンは、label の置き場にする。位置をすでに決めているボタン（absolute・fixed）はそのまま */
:where(button:has(> .hx)) { position: relative; }
/* ブルードットは少しゆがんだインクの点を透明水彩で塗る（ink.js の washSvg）。直径10px。wb が中、wr が縁の溜まりだ（2026-10-18、iPhone と同じ） */
.dot svg { width: 10px; height: 10px; display: block; overflow: visible; }
.dot .wb { fill: var(--wb); }
.dot .wr { fill: var(--wr); }
.dot .wl, .heat-grid i .wl { fill: var(--wl); }
/* 0人の点は塗らず、紺の35%の細い縁だけにする。受け取っていない自分の点は灰の縁だ */
.dot.zero .wr, .dot.none .wr { display: none; }
.dot.zero .wb { fill: none; filter: none; stroke: rgb(var(--mine) / .35); stroke-width: .9; }
.dot.none .wb { fill: none; filter: none; stroke: rgb(var(--k) / .18); stroke-width: .9; }
/* 押したときの一瞬の光。drop-shadow は点の形に沿って光る */
button.dot.flash svg, button.dot.flash .gem { animation: dotflash .5s ease-out; }
/* 石の点。画像に影も入っているので、点（10px）より2割大きく置く。昼と夜の2枚のうち片方を出す */
.gem { display: block; position: relative; width: 10px; height: 10px; }
.gem img { position: absolute; left: -1px; top: -1px; width: 12px; height: 12px; display: block; }
.heat-grid i .gem { width: 80%; height: 80%; }
.heat-grid i .gem img { left: -10%; top: -10%; width: 120%; height: 120%; }
.gem .gd { display: none; }
:root[data-theme="dark"] .gem .gd { display: block; } :root[data-theme="dark"] .gem .gl { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gem .gd { display: block; } :root:not([data-theme="light"]) .gem .gl { display: none; } }
@keyframes dotflash { 0% { filter: drop-shadow(0 0 0 rgba(58, 141, 255, .95)) drop-shadow(0 0 4px rgba(58, 141, 255, .9)); } 100% { filter: drop-shadow(0 0 7px rgba(58, 141, 255, 0)) drop-shadow(0 0 0 rgba(58, 141, 255, 0)); } }
.info .nm { font-size: var(--name); color: rgb(var(--k) / .72); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; margin-left: 6px; }
.row.right .info .nm { margin-left: 0; margin-right: 6px; }
/* 途中の投稿の名前の行。名前を出さず、小さく淡くする */
.info.mid { margin-top: 0; min-height: 16px; }
.info.mid .tm { margin-left: 6px; }
.row.right .info.mid .tm { margin-left: 0; margin-right: 6px; }
.info.mid .tm, .info.mid .reply, .info.mid .del { opacity: .75; }
.info .tm { font-size: var(--stamp-fs); color: var(--time); white-space: nowrap; }
.info .reply { border: 0; background: none; padding: 2px 4px; color: rgb(var(--k) / .5); display: grid; place-items: center; }
.info .reply svg { width: 15px; height: 15px; }
.desk .info .reply svg { width: 12px; height: 12px; }
.info .reply:hover { color: var(--ink); }
.info .del { border: 0; background: none; padding: 2px 4px; color: rgb(var(--k) / .3); display: grid; place-items: center; }
.info .del svg { width: 13px; height: 13px; }
.desk .info .del svg { width: 11px; height: 11px; }
.info .del:hover { color: var(--red); }
.info .confirm { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--stamp); white-space: nowrap; }
.info .confirm button { border: 0; background: none; padding: 2px; font-size: 10.5px; color: var(--stamp); }
.info .confirm [data-yes] { color: var(--red); font-weight: 600; }
.compose .pics { display: flex; gap: 6px; padding: 0 8px; }
.compose .pics:empty { display: none; }
.compose .pics span { position: relative; width: 56px; height: 56px; background: var(--fill) center / cover no-repeat; border: 2px solid var(--ink); }
.compose .pics span { cursor: pointer; }
.compose .pics span.vid { overflow: visible; background: #000; }
.compose .pics span.vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.compose .pics span.vid b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 16px; text-shadow: 0 0 4px rgba(0, 0, 0, .6); pointer-events: none; }
.compose .pics span.sel { outline: 2px solid var(--blusco); outline-offset: 2px; }
.compose .pics i { position: absolute; left: 3px; bottom: 3px; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .03em; color: #fff; background: var(--blusco); border-radius: 3px; padding: 0 3px; line-height: 14px; }
.compose .altbox { display: flex; gap: 8px; align-items: flex-end; margin: 0 8px; padding: 8px 10px; border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 .7px rgb(var(--k) / .18); }
.compose .altbox[hidden] { display: none; }
/* 投票・ビンゴ・イベントの告知を作る欄（2026-10-19） */
.compose .askbox { position: relative; margin: 0 8px; padding: 8px 10px 10px; border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 .7px rgb(var(--k) / .18); }
.compose .askbox[hidden] { display: none; }
.compose .askbox > b { display: block; font-size: 12px; font-weight: 600; color: var(--blusco); margin-bottom: 6px; }
.compose .askbox .askx { position: absolute; right: 6px; top: 4px; border: 0; background: none; color: rgb(var(--k) / .5); font-size: 16px; padding: 2px 6px; cursor: pointer; }
.compose .askbox input { width: 100%; min-width: 0; box-sizing: border-box; border: 0; border-bottom: 1px solid rgb(var(--k) / .18); background: none; color: var(--text); font: inherit; font-size: 16px; padding: 5px 2px; outline: none; }
.desk .compose .askbox input { font-size: 13px; }
.compose .askbox input:focus { border-bottom-color: var(--blusco); }
.compose .askbox .opts { display: grid; gap: 2px; }
.compose .askbox .cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.compose .askbox .cells input { border: 1px solid rgb(var(--k) / .18); border-radius: 4px; text-align: center; padding: 6px 2px; }
.compose .askbox .evf { display: grid; gap: 6px; }
.compose .askbox .evf label { display: grid; gap: 1px; font-size: 10.5px; color: var(--stamp); }
.compose .askbox .evf .mode { display: flex; gap: 4px; flex-wrap: wrap; }
.compose .askbox .evf .mode button { border: 1px solid rgb(var(--k) / .2); border-radius: 12px; background: none; color: var(--stamp); font: inherit; font-size: 11px; padding: 3px 10px; cursor: pointer; }
.compose .askbox .evf .mode button[aria-checked="true"] { border-color: var(--blusco); background: rgb(var(--bl) / .12); color: var(--blusco); font-weight: 600; }
.compose .askbox .evf:not([data-m="time"]) .m-time, .compose .askbox .evf:not([data-m="day"]) .m-day, .compose .askbox .evf:not([data-m="month"]) .m-month { display: none; }
.compose .to .ans { white-space: pre-line; }
.compose .altbox textarea { flex: 1; min-width: 0; border: 0; resize: none; outline: none; font: inherit; font-size: 16px; line-height: 1.45; max-height: 120px; }
.desk .compose .altbox textarea { font-size: 13px; }
.compose .altbox .altdone { border: 0; background: none; color: var(--blusco); font-weight: 600; font-size: 13px; padding: 4px; }
.compose .pics button { position: absolute; right: -8px; top: -8px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 11px; line-height: 18px; padding: 0; }
/* 書く欄の左の＋。押すと＋の上に道具が縦に並ぶ（iPhone と同じ） */
.compose .field { position: relative; }
.compose .plus { flex: none; width: 30px; height: 32px; border: 0; background: none; padding: 0; display: grid; place-items: center; color: rgb(var(--k) / .55); }
.compose .plus svg { width: 22px; height: 22px; transition: transform .18s ease-out; }
.compose .plus.on svg { transform: rotate(45deg); }
.compose .tools { position: absolute; left: 4px; bottom: calc(100% + 8px); display: flex; flex-direction: column; gap: 2px; padding: 6px 4px; border-radius: 22px; background: rgb(var(--w) / .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 .7px rgb(var(--k) / .18), 0 6px 20px rgba(0, 0, 0, .1); z-index: 2; }
.compose .tools[hidden] { display: none; }
.compose .tool { width: 36px; height: 36px; border: 0; background: none; padding: 0; display: grid; place-items: center; color: rgb(var(--k) / .6); border-radius: 50%; cursor: pointer; }
.compose .tool svg { width: 21px; height: 21px; }
.compose .tool.on { color: var(--blusco); background: rgb(var(--bl) / .1); }
.compose .tool.mic.on { color: var(--red); background: rgb(var(--rd) / .1); animation: blink 1s ease-in-out infinite; }
.compose .tool.lock .shut, .compose .tool.lock.on .open { display: none; }
.compose .tool.lock.on .shut { display: inline; }
.compose .to .closed { font-style: normal; color: var(--blusco); font-size: 10.5px; margin-left: auto; }
.compose .pics span.aud { width: auto; height: 32px; padding: 0 26px 0 10px; display: flex; align-items: center; background: var(--bg); border-radius: 16px; border: 1.5px solid var(--ink); cursor: default; }
.compose .pics span.aud b { font-weight: 500; font-size: 12px; white-space: nowrap; }
.compose .pics span.aud em.size { font-style: normal; font-size: 10.5px; color: var(--stamp); margin-left: 8px; white-space: nowrap; }
.compose .field { padding-left: 8px; }
.compose.drop .field { box-shadow: 0 0 0 2px var(--blusco); }

/* 書く欄。書いているあいだはドックの代わりに、画面の下に細長い楕円で出す */
.compose { position: absolute; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 25; display: flex; flex-direction: column; gap: 6px; }
.compose .to { display: flex; align-items: center; gap: 4px; font-size: 11px; color: rgb(var(--k) / .55); padding: 0 14px; min-width: 0; }
.compose .to b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.compose .to span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; margin-left: 4px; }
.compose .x { border: 0; background: none; font-size: 15px; color: rgb(var(--k) / .45); padding: 0 2px; margin-left: auto; }
.compose .field {
  display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 22px;
  background: rgb(var(--w) / .9); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 0 0 .7px rgb(var(--k) / .18), 0 6px 24px rgba(0, 0, 0, .08);
}
.compose textarea { flex: 1; min-width: 0; border: 0; background: none; resize: none; outline: none; font: inherit; font-size: 15px; line-height: 21px; padding: 5px 0; max-height: 220px; }
.compose .send { position: relative; flex: none; width: 32px; height: 32px; border: 0; background: none; padding: 0; }
.compose .send svg { width: 32px; height: 32px; display: block; }
.compose .send .ring { fill: var(--blusco); }
.compose .send:disabled { opacity: .3; cursor: default; }
.compose .send.busy { animation: blink 1s ease-in-out infinite; }
.compose.over .send .ring { fill: var(--red); }
.compose .err { font-size: 11.5px; color: var(--red); padding: 0 14px; }
.compose .err:empty { display: none; }
.desk .compose { left: 24px; right: 24px; bottom: 16px; }
/* 見開きでは書く欄をドックと同じ真ん中の下に置く。ドックの置き場から伸び出る（actions.js の morph） */
.spread .compose, .spread.desk .compose { left: 50%; right: auto; width: min(460px, calc(100% - 48px)); transform: translateX(-50%); }
.desk .compose textarea { font-size: 13px; line-height: 19px; }
.gapstamp { font-size: 9.5px; color: var(--stamp); text-align: center; padding: 8px 0; }
.answers { display: flex; align-items: center; gap: 4px; font-size: 9px; color: rgb(var(--k) / .35); padding: 0 6px; }
.answers svg { width: 9px; height: 9px; }

/* 添付。吹き出しの列にそろえ、黒の2.5px の線で囲んだ白い四角にする。角は丸めない */
.above { display: flex; flex-direction: column; margin: 0 0 6px calc(var(--col) + 12px); }
.row.right .above { margin: 0 calc(var(--col) + 12px) 6px 0; align-items: flex-end; }
/* 添付は吹き出しの横。アイコン｜吹き出し｜添付の順に並べ、自分の行は左右を返す。
   吹き出しと添付で横の幅を分け、吹き出しの反対側のあきはとらない */
/* 添付のある行は「アイコン｜吹き出し｜添付」。吹き出しは細くし（描いたあとでもこの幅まで詰める）、残りを添付に渡す */
.line.side .voice { flex: 0 0 48%; margin: 0; }
.desk .line.side .voice { flex: 0 0 44%; }
/* 英語の投稿は細いもこを11字の幅で組むので、列も広げる。48% では1行に1〜2語しか入らなかった（2026-10-19、大田垣の指摘） */
/* 列はここで広めにとり、添付に行の幅の4割（150px 以上）が残るよう moko.js の fitBeside が字の幅を詰める（2026-10-19） */
.line.side.latin .voice { flex-basis: 72%; }
.desk .line.side.latin .voice { flex-basis: 62%; }
/* 見開きでは添付を広く取る。もこは1行18字・細いもこ10字（text.js の setRoomy）で、写真も高く出す（2026-10-20、大田垣の判断） */
.spread .line.side .voice, .spread.desk .line.side .voice { flex-basis: 40%; }
.spread .line.side.latin .voice, .spread.desk .line.side.latin .voice { flex-basis: 50%; }
.spread .photos .ph { height: 280px; }
.spread .photos.n2 .ph { height: 190px; }
.spread .focus .photos .ph { height: 220px; }
/* 引用の紙は英語を字の途中で折らない */
.aside .qt { overflow-wrap: break-word; }
.line.side { align-items: flex-start; }
.aside { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.aside .quote { padding: 9px 10px; gap: 8px; }
.aside .qt { font-size: 12px; -webkit-line-clamp: 8; }
.aside .quote .qi { width: 44px; height: 44px; }
.aside, .row.beside .attach { container-type: inline-size; }
.photos { --single: 124px; --tall: 320px; }
.spread .photos { --single: 220px; --tall: 420px; }
/* 写真1枚の縦のコマ（2026-10-20、大田垣の判断：iPhone 版で偶然できた形を UI の手法として残す）。
   幅は横の細いもこと同じくらいの一定の幅（--single）、高さは添付の欄の幅（吹き出しが残した幅）で、--tall まで。
   吹き出しが細いほど、写真だけの投稿ほど縦に伸び、コマの縦横の比が投稿ごとに変わってフィードに拍ができる。写真は枠いっぱいに切り抜く。
   iPhone の Photos.panel（.frame(maxWidth: single) → .aspectRatio(1, .fit) → .frame(maxHeight: 320)）と同じ寸法だ */
.aside .photos.n1:not(.video) .ph, .row.beside .attach > .photos.n1:not(.video) .ph { width: var(--single); max-width: 100%; aspect-ratio: auto; height: min(100cqw, var(--tall)); max-height: none; }
/* 吹き出しの下に置く横長の写真（bubble.js の pano）。吹き出しの列から行の右の端まで、元の比で出す */
.voice > .pano { width: calc(100% + var(--room)); margin-top: 10px; }
.row.right .voice > .pano { width: calc(100% + 56px); margin-left: -56px; }
.pano .photos .ph { width: 100%; height: auto; aspect-ratio: var(--r); max-height: none; }
/* 本文のない写真だけの投稿も同じ縦のコマにする。欄が広いので、いちばん縦に伸びる（iPhone と同じ） */
/* 横長の雄大な写真（bubble.js の WIDE、16:10 より横長）は元の比で欄の幅いっぱいに出す。縦のコマの並びに、ときどき横の帯が入る（2026-10-20、大田垣の判断） */
.aside .photos.n1 .ph.wide, .row.beside .attach > .photos.n1 .ph.wide { width: 100%; height: auto; aspect-ratio: var(--r); }
/* 自分の行は左右を返すので、添付も吹き出しの側（右）へ寄せる。左から並べていたころは、写真のデッキが行の左の端に離れて浮いた（2026-10-20、大田垣の指摘） */
.row.right .aside { align-items: flex-end; }
.aside .photos.n2 .ph { min-width: 0; }
.aside .photos.n2 .ph { height: 110px; }

/* LINE の並び。名前は上、時刻は吹き出しの横、応じる印は下 */
.line { align-items: flex-end; }
.line .col { align-self: flex-start; }
.tm { font-size: var(--stamp-fs); color: var(--time); white-space: nowrap; }
.attach { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.frame { display: block; width: 100%; background: var(--paper); border: 2.5px solid var(--ink); color: inherit; text-decoration: none; }
.quote[data-quote] { cursor: pointer; }
.quote { display: flex; gap: 10px; padding: 10px 13px 9px; }
.quote .qb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.qh { display: flex; align-items: center; gap: 6px; min-width: 0; cursor: pointer; font-size: 11px; }
.qh img { width: 18px; height: 18px; border-radius: 50%; background: var(--fill); flex: none; }
.qh b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qh span { color: rgb(var(--k) / .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.qt { font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.quote .qi { width: 52px; height: 52px; object-fit: cover; border-radius: 3px; flex: none; }
.quote.small { padding: 7px 8px; margin-top: 8px; }
.quote.small .qh img { width: 14px; height: 14px; }
.quote.small .qt { font-size: 12px; -webkit-line-clamp: 4; }
.quote.small .qi { width: 44px; height: 44px; }
.link .li { height: 96px; background: rgb(var(--k) / .06) center / cover no-repeat; border-bottom: 2px solid var(--ink); }
.link .lb { display: flex; flex-direction: column; gap: 9px; padding: 11px 12px; }
/* 題名は細い字で行のあいだを広げ、3行で切る（2026-10-19、大田垣の指摘：字が大きく凝集している。前は太字の12.5px で行間1.45） */
.link b { font-size: 11px; font-weight: 400; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link hr { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.link span { font-size: 9.5px; color: rgb(var(--k) / .67); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photos { display: grid; gap: 6px; width: 100%; }
.photos.n2 { grid-template-columns: 1fr 1fr; }
.photos .ph { height: 220px; border: 2.5px solid var(--ink); padding: 0; background: rgb(var(--k) / .06) center / cover no-repeat; cursor: zoom-in; }
.photos.n2 .ph { height: 150px; }
.photos { overflow: hidden; }
.photos.warn .ph { filter: blur(18px); cursor: pointer; }
.photos .ph.vid { cursor: pointer; display: grid; place-items: center; overflow: hidden; }
.ph.vid .play { width: 40px; height: 40px; }
.ph.vid.playing { background: #000; cursor: default; }
.ph.vid.playing .play { display: none; }
.ph.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.bub.veil { position: relative; }
.bub.veil .moko { visibility: hidden; }
.unveil { position: absolute; left: 0; top: 0; border: 2.5px solid var(--ink); border-radius: 22px; background: var(--bg); padding: 8px 20px; font-size: 13px; letter-spacing: 1px; color: rgb(var(--k) / .35); }
.row.right .unveil { left: auto; right: 0; }
/* リポストの集中線のコマ（rim.js の focusLines）。行の幅いっぱいで、空白に名前と本文を中央ぞろえで書く */
.focusrow { display: flex; flex-direction: column; align-items: stretch; }
/* コマは吹き出しの列にそろえる。左はアイコンの列の内側、右は反対側のあきまでだ。
   行の幅いっぱいに広げていたころは、紙の端まで線が届いてうるさかった（2026-10-18、大田垣の判断。3案から A を選んだ）。
   .bub は中身を左に寄せるので、コマを列の幅いっぱいに伸ばす。短い本文でコマが左に縮んだ */
.focusrow > .bub { width: auto; margin: 0 var(--room) 0 calc(var(--col) + 12px); align-items: stretch; }
.focus { position: relative; overflow: hidden; padding: 42px 48px; cursor: pointer; }
.focus > svg.lines { position: absolute; left: 0; top: 0; pointer-events: none; }
.focus > svg.lines path { fill: var(--ink); }
.focus .fc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.focus .fn { font-size: 9.5px; font-weight: 500; color: rgb(var(--k) / .5); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus .ct { font-family: "GenEiAntique", "Hiragino Mincho ProN", serif; font-size: var(--moko-fs); line-height: var(--moko-lh); letter-spacing: .2px; white-space: pre-wrap; overflow-wrap: anywhere; line-break: strict; word-break: auto-phrase; text-wrap: balance; }
.focus .ct .mn, .focus .ct .tg { text-decoration: underline dotted rgb(var(--k) / .35); text-underline-offset: 3px; cursor: pointer; }
.focus .ct .tg i { font-style: normal; opacity: .4; }
.focus .photos, .focus .frame { width: 100%; }
.focusrow .fvia { align-self: flex-end; margin: 4px var(--room) 0 0; font-size: 9px; color: rgb(var(--k) / .5); cursor: pointer; white-space: nowrap; }
.focus .photos .ph { height: 160px; }

/* 音声。▶ と細い波形だけを出す */
.audio { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 0; margin-top: 4px; color: var(--blusco); }
.audio .pl { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.audio.on .pl { width: 9px; height: 11px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.audio .wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.audio .wave i { width: 2px; border-radius: 1px; background: currentColor; opacity: .55; }
.audio .at { font-size: 11px; color: var(--stamp); }

/* 写真を大きく表示する */
.viewer { position: absolute; inset: 0; background: rgba(0, 0, 0, .88); display: grid; place-items: center; cursor: zoom-out; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* 写真の説明（代替テキスト）。写真の左下の印と、拡大表示の下の字（2026-10-18） */
.ph .altmark { position: absolute; left: 6px; bottom: 6px; font: 700 9px/1 -apple-system, sans-serif; letter-spacing: .4px; font-style: normal; color: #fff; background: rgba(0, 0, 0, .6); padding: 3px 4px; border-radius: 3px; pointer-events: none; }
.photos.warn .ph .altmark, .ph.vid.playing .altmark { display: none; }
.viewer.has-alt { grid-template-rows: minmax(0, 1fr) auto; }
.viewer.has-alt img { width: 100%; height: 100%; min-height: 0; }
.viewer .alt { margin: 0; padding: 12px 18px 48px; max-width: 520px; max-height: 32dvh; overflow-y: auto; color: #fff; font-size: 13px; line-height: 1.6; white-space: pre-wrap; cursor: text; }
.viewer .alt b { font-size: 9px; letter-spacing: .4px; background: rgba(255, 255, 255, .2); padding: 2px 4px; border-radius: 3px; margin-right: 7px; vertical-align: 1px; }
.viewer .pips { position: absolute; bottom: 24px; display: flex; gap: 6px; }
.viewer .pips i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.viewer .pips i.on { background: #fff; }

/* 時計。右下の決まった場所に置くクラインの壺。押すと1時間さかのぼる。インクの層は後ろの流れに掛け合わせる */
.clock {
  position: absolute; right: 14px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 15;
  border: 0; padding: 0; width: 52px; height: 52px; background: none; cursor: pointer;
}
.clock[hidden] { display: none; }
/* スクロールしているあいだと止まって少しだけ出す（clock.js）。アラビアの魔法の壺から煙が立つように、
   出るときは小さくふくらんで弾み、消えるときはふくらみながらぼやけて上へ抜ける（2026-10-20、大田垣の依頼。iPhone と同じ） */
.clock { opacity: 0; pointer-events: none; transform-origin: 50% 100%; }
.clock.up { opacity: 1; pointer-events: auto; animation: puffIn .7s cubic-bezier(.34, 1.7, .5, 1) both; }
.clock.gone { animation: puffOut .55s ease-in both; }
@keyframes puffIn {
  from { opacity: 0; filter: blur(9px); transform: translateY(14px) rotate(-10deg) scale(.35); }
  45% { opacity: 1; }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes puffOut {
  from { opacity: 1; filter: blur(0); transform: none; }
  to { opacity: 0; filter: blur(12px); transform: translateY(-22px) rotate(8deg) scale(1.45); }
}
@media (prefers-reduced-motion: reduce) { .clock.up, .clock.gone { animation-duration: .01s; } }
.composing .clock, .no-clock .clock { display: none; }
.clock canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.clock .ink { mix-blend-mode: multiply; }
.desk .clock { bottom: 64px; right: 16px; width: 44px; height: 44px; }
.err { font-size: 12px; color: var(--red); }
.sheet .err:empty { display: none; }
.sheet .picks { display: flex; flex-direction: column; }
.sheet .picks button { border: 0; background: none; display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 8px; text-align: left; }
.sheet .picks button:first-child { background: rgb(var(--bl) / .06); }
.sheet .picks img, .sheet .picks .g { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--fill); }
.sheet .picks .g.word { border-radius: 6px; background: rgb(var(--k) / .06); }
.sheet .picks .g.feed { border-radius: 7px; background: rgb(var(--bl) / .12); }
.sheet .picks .t { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet .picks small { margin-left: 6px; font-size: 11px; color: var(--stamp); }
.sheet .picks .k { font-size: 10.5px; color: var(--stamp); flex: none; }
.sheet .saved { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet .saved .label { width: 100%; font-size: 11px; color: var(--stamp); }
.sheet .saved button { border: 1px solid rgb(var(--k) / .1); background: none; border-radius: 14px; padding: 4px 10px; font-size: 12px; }
.sheet .remove { margin-top: 12px; align-self: flex-start; border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--red); }

/* 流れ。いまは字だけで並べる */
.more { height: 40px; }
.more.busy { background: radial-gradient(circle, rgba(61, 139, 255, .5) 0 3px, transparent 4px) center / 12px 12px no-repeat; animation: blink 1.25s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.post { display: flex; gap: 10px; padding: 10px 14px; }
.post .av { cursor: pointer; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--fill); box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); }
.post .body { min-width: 0; flex: 1; }
.post .by { display: flex; gap: 8px; align-items: baseline; font-size: 12px; }
.post .by b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post .by span { color: var(--stamp); font-size: 11px; flex: none; }
.post .from { font-size: 10.5px; color: var(--stamp); margin-top: 1px; }
.post .text { font-size: 14px; line-height: 1.6; margin-top: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.err { font-size: 12px; color: var(--red); text-align: center; padding: 8px; }

.empty { min-height: 100%; display: grid; place-items: center; padding-bottom: 80px; }
.empty .pick { font-size: 13px; color: var(--blusco); padding: 10px 18px; border-radius: 20px; border: 1px solid rgb(var(--bl) / .3); cursor: pointer; }

/* パソコン：Mac の1面の寸法。ドックの印は20px の枠に15px の絵、自分のアイコンは22px、本文は13px で行間5.5px（Swift と同じ） */
.desk #dock { padding: 5px 8px; bottom: 16px; }
.desk #dock button { width: 40px; height: 32px; }
.desk #dock button svg { width: 18px; height: 18px; }
.desk #dock .me img, .desk #dock .me i { width: 22px; height: 22px; }
.desk #dock .sep { height: 18px; margin: 0 3px; }
.desk #dock button.sel::after, .desk #dock button.breathing::after { bottom: -1px; width: 3.5px; height: 3.5px; }
.desk #page { padding-bottom: 80px; }
.desk .tabs { padding: 8px 18px 6px 24px; }
.desk .tabs .strip button { font-size: 11.5px; padding: 4px 10px; }
.desk .pbar { padding: 8px 18px; }
.desk .card { margin: 16px 24px; }

/* 検索。欄は上に留める。語が空なら前に探した語を並べる */
.search {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px;
  background: rgb(var(--w) / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.search .lens { position: absolute; left: 26px; color: rgb(var(--k) / .4); display: grid; }
.search .lens svg { width: 15px; height: 15px; }
.search input { flex: 1; min-width: 0; height: 36px; border: 0; border-radius: 18px; background: var(--field); padding: 0 34px 0 38px; font: inherit; font-size: 15px; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search:has(.put) input { padding-right: 70px; }
.search .put { position: absolute; right: 18px; border: 0; background: none; padding: 4px; color: rgb(var(--k) / .45); display: grid; }
.search .put svg { width: 16px; height: 16px; }
.search .put.on { color: var(--blusco); }
.search .menu { top: 52px; right: 12px; }
.search:has(.put) .clear { right: 46px; }
.desk .search .put { right: 30px; }
.desk .search:has(.put) .clear { right: 58px; }
.search .clear { position: absolute; right: 22px; border: 0; background: none; font-size: 15px; color: rgb(var(--k) / .45); padding: 4px; }
.desk .search { padding: 10px 24px; }
.desk .search .lens { left: 38px; }
.desk .search .clear { right: 34px; }
.desk .search input { font-size: 13px; height: 30px; }
.history { display: flex; flex-direction: column; padding: 4px 12px; }
.desk .history { padding: 4px 24px; }
.history button { border: 0; background: none; display: flex; align-items: center; gap: 10px; padding: 9px 14px; text-align: left; font-size: 14px; border-radius: 10px; }
.desk .history button { font-size: 12.5px; padding: 7px 14px; }
.history .hrow { display: flex; align-items: center; border-radius: 10px; }
.history .hrow:hover { background: rgb(var(--k) / .04); }
.history .hrow > [data-q] { flex: 1; min-width: 0; }
.history .hdel { flex: none; padding: 9px 14px; color: rgb(var(--k) / .35); font-size: 15px; }
.desk .history .hdel { opacity: 0; }
.desk .history .hrow:hover .hdel { opacity: 1; }
.history .hall { align-self: flex-start; margin-top: 8px; color: rgb(var(--k) / .45); font-size: 12px; }
.history .clockmark { width: 13px; height: 13px; border-radius: 50%; border: 1.3px solid rgb(var(--k) / .3); flex: none; position: relative; }
.history .clockmark::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 3px; height: 3.5px; border-left: 1.2px solid rgb(var(--k) / .3); border-bottom: 1.2px solid rgb(var(--k) / .3); }
.people { display: flex; gap: 6px; overflow-x: auto; padding: 4px 12px 8px; scrollbar-width: none; }
.people:empty { display: none; }
.desk .people { padding: 4px 24px 8px; }
.people .pp { flex: none; position: relative; }
.people .pp > button[data-did] { flex: none; width: 64px; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.people .mb { position: absolute; left: 37px; top: 24px; width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 3px; background: var(--paper); color: var(--blusco); box-shadow: 0 0 0 1px rgb(var(--k) / .14); display: grid; place-items: center; }
.people .mb svg { width: 13px; height: 13px; }
.people .mb:hover { background: var(--blusco); color: var(--paper); }
.people img { width: 40px; height: 40px; border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); object-fit: cover; }
.people span { font-size: 10px; color: rgb(var(--k) / .65); max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 添付の枠は手描きの線で、描いたあとに SVG で重ねる（rim.js） */
.photos .ph, .frame { border: 0; position: relative; }
.rim { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.rim path { fill: var(--ink); }

/* 操作の一覧。吹き出しを長押し（パソコンは右クリックも）すると下から開く */
.menu-sheet {
  position: absolute; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 31;
  display: flex; flex-direction: column; background: var(--bg); border-radius: 16px; padding: 6px;
  box-shadow: 0 0 0 .7px rgb(var(--k) / .15), 0 8px 30px rgba(0, 0, 0, .12);
}
.menu-sheet button, .menu-sheet a { border: 0; background: none; text-align: center; padding: 12px; font-size: 14px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.menu-sheet button:hover, .menu-sheet a:hover { background: rgb(var(--k) / .04); }
.menu-sheet .danger { color: var(--red); }
.menu-sheet .quiet { color: var(--stamp); }
.desk .menu-sheet { left: 50%; right: auto; width: 280px; transform: translateX(-50%); }
/* 吹き出しの字は長押しで選ばない。iPhone の Safari では、字の選択が始まると指の動きが取り消され、長押しの一覧が開かなかった */
.bub[data-post] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* 自分の席。上に留めた帯と、押すと下りてくるカード */
.mebar { cursor: pointer; }
.mebar .face img, .mebar .face i { width: 32px; height: 32px; border-radius: 50%; display: block; background: var(--fill); }
.mebar .cairn { margin-left: auto; }
.dim.clear { background: transparent; }
.mecard { position: absolute; left: 0; right: 0; z-index: 31; max-height: 75%; overflow-y: auto; background: var(--bg); box-shadow: 0 10px 24px rgba(0, 0, 0, .1); border-radius: 0 0 16px 16px; padding-bottom: 8px; }
.mecard .card { margin-top: 8px; }
/* 設定の行（2026-10-20、iOS の GlassRow・GlassItem に合わせた）。ドックと同じすりガラスのカプセルに、左に名前、右に印。
   印はどれも同じ幅で右からそろえ、行が違っても縦の線が通る。選んでいる印はブルスコブルーを淡い丸で囲み、ほかは淡くする */
.settings { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.grow { display: flex; align-items: center; height: 50px; padding: 0 5px 0 14px; border-radius: 25px;
  background: rgb(var(--w) / .82); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 0 0 .7px rgb(var(--k) / .18), 0 4px 14px rgba(0, 0, 0, .05); }
.grow .gt { font-size: 11px; font-weight: 500; white-space: nowrap; margin-right: auto; padding-right: 6px; }
.grow .gi { display: flex; }
.grow .gi img.ic { width: 22px; height: 22px; border-radius: 5px; box-shadow: 0 0 0 .5px rgb(var(--k) / .15); }
.grow button { width: 42px; height: 46px; border: 0; padding: 0; background: none; display: grid; place-items: center; color: rgb(var(--k) / .32); cursor: pointer; }
.grow button > * { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background .15s, color .15s; }
.grow button svg { padding: 7px; box-sizing: border-box; }
.grow button:hover { color: rgb(var(--k) / .6); }
.grow button.on { color: var(--blusco); }
.grow button.on > * { background: rgb(var(--bl) / .13); }
.grow .gl { font-size: 16px; font-weight: 500; font-family: var(--ui, sans-serif); line-height: 1; }
.grow .gl.comic { font-family: "ShantellSans", var(--ui, sans-serif); font-weight: 600; }
.grow .gl.anti { font-family: "GenEiAntique", var(--ui, serif); }
.levels .opts button b.comic { font-family: "ShantellSans", var(--ui, sans-serif); }

/* 通知。ベルは自分の席の帯の右の端に置き、読んでいない通知があれば青い点を付ける */
.mebar .bell { position: relative; }
.mebar .bell.on::after { content: ""; position: absolute; right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 4px rgba(61, 139, 255, .6); }
/* 通知（iPhone の PhoneNotices と同じ形。2026-10-20）。新しい順に1本で流し、行のあいだに線を引かない。
   声は相手の投稿だけをもこで出して上に「↳」の1行を添え、切り抜き・フォローは人のカードにする */
.notifs { padding: 8px 0 20px; display: flex; flex-direction: column; gap: 24px; }
.nt[data-uri] { cursor: pointer; }
.nt-to { font-size: 11.5px; color: var(--stamp); padding: 4px 16px 0 60px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.nt.said .thread { padding-top: 6px; padding-bottom: 0; }
.nt.person { display: flex; gap: 10px; align-items: flex-start; padding: 0 16px; }
.nt-face { flex: none; border: 0; background: none; padding: 0; position: relative; width: 34px; height: 34px; }
.nt-face img, .nt-face i { width: 34px; height: 34px; border-radius: 50%; display: block; background: var(--fill); object-fit: cover; box-shadow: inset 0 0 0 1px rgb(var(--k) / .12); }
.nt-face.fresh::after { content: ""; position: absolute; inset: -3.5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--blusco); }
.nt-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.nt-line { font-size: 12px; display: flex; gap: 8px; align-items: baseline; }
.nt-line b { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-line span { color: rgb(var(--k) / .3); white-space: nowrap; }
.nt-act { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--stamp); }
.nt-mark { display: grid; place-items: center; color: var(--blusco); }
.nt-mark svg { width: 13px; height: 13px; }
.nt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blusco); }
.nt-minis { display: flex; padding-top: 6px; }
.nt-mini {
  position: relative; border: 1.2px solid rgb(var(--k) / .45); border-radius: 50%; background: var(--bg); padding: 6px 12px;
  font-family: "GenEiAntique", "Hiragino Mincho ProN", serif; font-size: 9.5px; line-height: 1.2; color: var(--stamp); white-space: nowrap; cursor: pointer;
}
.nt-mini + .nt-mini { margin-left: -18px; }
.nt-mini.m0 { z-index: 3; }
.nt-mini.m1 { z-index: 2; transform: translateY(5px) rotate(2deg); }
.nt-mini.m2 { z-index: 1; transform: translateY(-2px) rotate(-2deg); }
.desk .nt.person { padding: 0 24px; }
.desk .nt-to { padding-left: 68px; padding-right: 24px; }

/* 顔なじみの群れ。大きさと上下を少しずつばらつかせ、重ねて並べる */
.flock { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 12px; padding: 14px 10px 18px; }
.flock .bird { width: var(--s); height: var(--s); transform: translateY(var(--y)); border: 0; padding: 0; border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 1px rgb(var(--k) / .1); overflow: hidden; display: grid; place-items: center; transition: opacity .15s, filter .15s; cursor: pointer; }
.flock .bird img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flock .bird i { font-style: normal; font-size: 14px; color: var(--stamp); }
.flock .bird:hover { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--blusco); }
.flock .bird.off { opacity: .25; filter: grayscale(1); }

/* 流すもの（自分のカード）と、この人から見たいもの（プロフィールの帯）。左に名前と説明、右にブルードット。
   流しているときは濃い点、外すと縁だけの点だ（Swift の FlowDot と同じ） */
.flowset .rows, .flowmenu { display: flex; flex-direction: column; gap: 2px; }
.flowrow { border: 0; background: none; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; text-align: left; width: 100%; }
.flowrow:hover { background: rgb(var(--k) / .04); }
.flowrow .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.flowrow b { font-size: 12.5px; font-weight: 500; color: var(--stamp); }
.flowrow .t span { font-size: 10px; color: var(--stamp); line-height: 1.4; }
.flowrow.on b { color: var(--ink); }
.flowrow .fdot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgb(var(--mine) / .45); transition: background .2s; }
.flowrow.on .fdot { background: var(--wl5); box-shadow: none; }
.pbar .flowmenu { min-width: 240px; padding: 8px; }
.pbar .flowmenu .ttl { font-size: 11px; color: var(--stamp); padding: 4px 8px 6px; }
.pbar .flowmenu .flowrow { padding-left: 8px; }
.pbar .flowmenu .flowrow.on::before { content: none; }
/* 直した投稿の鉛筆の印。名前のない吹き出しの印の行に置く */
.meta .ed { display: grid; place-items: center; color: rgb(var(--k) / .3); padding: 1px; }
.meta .ed svg { width: 12px; height: 12px; }
.desk .meta .ed svg { width: 11px; height: 11px; }

/* ミセ（2026-10-19）。タブの看板、紹介カード、ピン留め、作る画面の看板 */
.tabs .strip button .ti svg { width: 12px; height: 12px; display: block; }
.tabs .newmenu, .cover .newmenu { position: absolute; right: 8px; top: 42px; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 .7px rgb(var(--k) / .15), 0 8px 24px rgba(0, 0, 0, .1); display: flex; flex-direction: column; z-index: 6; }
.tabs .newmenu button, .cover .newmenu button { border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 8px; font-size: 13px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.tabs .newmenu button:hover, .cover .newmenu button:hover { background: rgb(var(--k) / .04); }
.tabs .newmenu button:disabled, .cover .newmenu button:disabled { opacity: .4; }
.tabs .newmenu button svg, .cover .newmenu button svg { width: 16px; height: 16px; color: var(--blusco); }
/* タブの一覧。種類ごとの見出しの下に縦に並べ、長ければ中でスクロールする */
.tabs .tablist { min-width: 220px; max-width: min(320px, 86%); max-height: 62vh; overflow-y: auto; }
.tabs .tablist h6 { margin: 8px 10px 2px; font-size: 10.5px; font-weight: 500; color: rgb(var(--k) / .45); }
.tabs .tablist h6:first-child { margin-top: 4px; }
.tabs .tablist button { color: rgb(var(--k) / .75); }
.tabs .tablist button span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs .tablist button .ti svg { width: 13px; height: 13px; color: currentColor; }
.tabs .tablist button.sel { background: rgb(var(--bl) / .1); color: var(--blusco); }
.tabs .tablist button.temp { outline: 1.2px dashed rgb(var(--k) / .35); outline-offset: -1.2px; }
.misehead .pbar > .sign { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--fill); }
.misehead .pbar > .sign img { width: 100%; height: 100%; object-fit: cover; display: block; }
.misehead .pbar > .sign svg { width: 20px; height: 20px; color: var(--blusco); }
.misehead .visit.on { color: var(--blusco); }
.misehead .icon[data-act=mention] { font-size: 16px; font-weight: 600; color: rgb(var(--k) / .6); }
/* 紹介カードは不透明の紙にし、下の流れを透かさない。.bio の pre-wrap は HTML の改行まで空白にして、
   紹介文・店主・ピン留めのあいだに大きな空きができた（2026-10-19、大田垣の指摘：ぱっと見てわかりにくい） */
.misehead { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* ショップカード（2026-10-19、大田垣の指摘：procco のクールさに達していない）。procco の黒いメタルのカード（phone.html の .front.metal）の組み方を写した。
   ID-1（85.60×53.98mm）の比に写真を敷き、左と下から暗くして字を読ませる。写真がなければブルスコブルーの地だ。
   字と余白は procco の iPhone のカードの幅（約358px）との比でカードの幅に合わせる（cqw）。
   字は Avenir Next（Apple の端末に入っている）を細く広くあけ、ない端末では Jost（OFL、Google Fonts）にする。日本語は IBM Plex Sans JP（OFL）だ */
.misehead .bio { white-space: normal; padding: 10px 18px 22px; box-shadow: 0 6px 12px -10px rgba(0, 0, 0, .25); max-height: 72vh; --thin: "Avenir Next", "Jost", "IBM Plex Sans JP", "Helvetica Neue", sans-serif; --plex: "IBM Plex Sans JP", -apple-system, "Hiragino Sans", sans-serif; font-family: var(--plex); }
.misehead.open .pbar > .sign, .misehead.open .pbar .who > * { visibility: hidden; }
/* 白い字を細く描く。procco は本文全体にこの指定があり、ないと Mac のブラウザで白い字が太って見えた（2026-10-19、大田垣の指摘：細いクールさが出ていない） */
.misehead .scard { container-type: inline-size; position: relative; aspect-ratio: 1.54; border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "palt";
  background: linear-gradient(135deg, #0e3e52, #026881 55%, #3f8fa3) center / cover no-repeat; box-shadow: 0 10px 24px rgba(0, 0, 0, .2), 0 2px 6px rgba(0, 0, 0, .1); }
.misehead .scard.photo { background-color: #0e3e52; background-position: center; background-size: cover; }
.misehead .scard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 14, .72) 0, rgba(10, 12, 14, .3) 30%, rgba(10, 12, 14, 0) 50%), linear-gradient(90deg, rgba(10, 12, 14, .8) 0, rgba(10, 12, 14, .4) 55%, rgba(10, 12, 14, .12) 100%); }
.misehead .scard button { border: 0; background: none; padding: 0; color: inherit; text-shadow: inherit; text-align: left; cursor: pointer; }
/* 名前は字数で大きさを決める。長い名前（ATELIER MOJA の12字）を procco の6字と同じ大きさで組むと、カードの4分の3を占めて詰まって見えた（2026-10-19、大田垣の指摘） */
.misehead .mbrand { position: absolute; left: 6.15cqw; right: 17.88cqw; top: 5.59cqw; font: 400 min(4.19cqw, calc(52cqw / var(--n, 6))) var(--thin); letter-spacing: .42em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.misehead .msign { position: absolute; top: 3.91cqw; right: 3.91cqw; }
.misehead .msign .sign { width: 9.50cqw; height: 9.50cqw; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(2.79cqw); backdrop-filter: blur(2.79cqw); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.misehead .msign .sign img { width: 100%; height: 100%; object-fit: cover; display: block; }
.misehead .msign .sign svg { width: 5.03cqw; height: 5.03cqw; color: #fff; }
/* 数とラベルを1組ずつ縦にそろえ、列のあいだを広く空ける。「·」は置かない。ラベルの幅の右に来て次の数に寄って見えたからだ。前は数の行とラベルの行を別々の1行にしていて、ラベルが数の下からずれた（2026-10-19、大田垣の指摘） */
.misehead .mnum { position: absolute; left: 6.15cqw; top: 42%; display: flex; align-items: flex-start; gap: 0 7cqw; font: 400 4.75cqw var(--thin); font-variant-numeric: tabular-nums; }
.misehead .mnum span { display: flex; flex-direction: column; }
.misehead .mnum b { font-weight: 400; letter-spacing: .3em; line-height: 1.2; }
.misehead .mnum small { display: block; font-size: 2.37cqw; font-weight: 500; letter-spacing: .26em; opacity: .88; margin-top: 1.4cqw; }
.misehead .mholder { position: absolute; left: 6.15cqw; right: 36.87cqw; bottom: 10.06cqw; font: 400 3.35cqw var(--thin); letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.misehead .mvalid { position: absolute; right: 5.59cqw; bottom: 10.06cqw; font: 500 2.93cqw var(--thin); letter-spacing: .2em; opacity: .95; }
/* 紹介文の1行は細く淡くする。procco の手本の説明の行は書く前の淡い見本の字で、本物の文を太く濃く出すとこの行だけが前に出た（2026-10-19、大田垣の指摘：圧が強い） */
.misehead .mdesc { position: absolute; left: 6.15cqw; right: 6.15cqw; bottom: 3.91cqw; font: 300 2.7cqw var(--plex); letter-spacing: .08em; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.misehead .hl { margin: 20px 6px 0; font-size: 12.5px; line-height: 1.95; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; letter-spacing: .02em; }
.misehead .brings { display: flex; flex-direction: column; margin: 20px 6px 0; padding-top: 12px; border-top: 1px solid rgb(var(--k) / .1); }
.misehead .pinhead { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; font: 500 9px var(--thin); letter-spacing: .26em; text-transform: uppercase; color: var(--stamp); }
.misehead .pinhead svg { width: 11px; height: 11px; }
.misehead .pin { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; border: 0; background: none; color: var(--text); text-align: left; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }
.misehead .pin:hover span { color: var(--blusco); }
.misehead .pin b { flex: none; min-width: 3.6em; font: 400 10.5px var(--thin); letter-spacing: .08em; color: var(--stamp); font-variant-numeric: tabular-nums; }
.misehead .pin span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bio a { color: var(--blusco); text-decoration: none; }
.bio a:hover { text-decoration: underline; }
/* ピン留め。見出しの下に1件1行で縦に並べる。前は横に流す箱で、見出しがなく何の列か分からず、
   画像のない投稿は灰色の空き箱になり、切った3行目が半分のぞいた（2026-10-19、大田垣の指摘） */
.sheet .signrow { display: flex; gap: 10px; margin: 10px 0; }
.sheet .signrow .sign { width: 72px; height: 72px; border-radius: 14px; flex: none; overflow: hidden; display: grid; place-items: center; background: var(--fill); cursor: pointer; border: 1.5px dashed rgb(var(--k) / .25); }
.sheet .signrow .sign img { width: 100%; height: 100%; object-fit: cover; }
.sheet .signrow .sign i { font-style: normal; font-size: 11px; color: var(--stamp); }
.sheet .coverrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.sheet .coverrow .cover { flex: 1; height: 64px; border-radius: 10px; display: grid; place-items: center; background: var(--fill) center / cover no-repeat; border: 1.5px dashed rgb(var(--k) / .25); cursor: pointer; }
.sheet .coverrow .cover i { font-style: normal; font-size: 11px; color: var(--stamp); background: rgb(var(--w) / .8); padding: 2px 8px; border-radius: 8px; }
.sheet .coverrow .coverx { border: 0; background: none; color: var(--stamp); font-size: 12px; }
.sheet .signrow .desc { flex: 1; min-width: 0; resize: none; font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgb(var(--k) / .15); background: var(--bg); color: var(--text); }
.sheet .label { font-size: 11px; color: var(--stamp); margin: 6px 0 4px; }
.frame.file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bubble, var(--bg)); color: var(--text); text-align: left; border: 0; width: 100%; cursor: pointer; }
.frame.file svg { width: 26px; height: 26px; flex: none; color: var(--blusco); }
.frame.file .fb { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.frame.file .fb b { font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.frame.file .fb span { font-size: 10.5px; color: var(--stamp); }
.frame.file.busy { opacity: .5; }
/* 投票・ビンゴ・イベントのカード（2026-10-19）。紙の地に、選択肢・マス・日時を並べる */
.frame.ask { padding: 9px 10px 8px; background: var(--paper); color: var(--text); font-size: 12px; }
.frame.ask .ft, .frame.ask .who { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; min-height: 20px; }
.frame.ask .sum { font-size: 10.5px; color: var(--stamp); }
.frame.ask .opt { position: relative; display: flex; align-items: center; gap: 6px; width: 100%; margin: 0 0 4px; padding: 6px 8px; border: 1px solid rgb(var(--k) / .22); border-radius: 6px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.frame.ask .opt .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgb(var(--bl) / .14); transition: width .4s; }
.frame.ask .opt b { position: relative; flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.frame.ask .opt .n { position: relative; font-style: normal; font-size: 10.5px; color: var(--stamp); }
.frame.ask .opt.mine { border-color: var(--blusco); }
.frame.ask .opt.mine b::before { content: "✓ "; color: var(--blusco); }
.frame.ask.bingo .ft { flex-direction: column; align-items: stretch; gap: 5px; }
.frame.ask .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.frame.ask .cell { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 3px; border: 1px solid rgb(var(--k) / .22); border-radius: 4px; background: rgb(var(--bl) / calc(var(--h, 0) * .16)); color: inherit; font: inherit; font-size: 11px; line-height: 1.25; cursor: pointer; overflow: hidden; }
.frame.ask .cell b { font-weight: 600; overflow-wrap: anywhere; text-align: center; }
.frame.ask .cell .n { position: absolute; right: 3px; bottom: 1px; font-style: normal; font-size: 9px; color: var(--stamp); }
.frame.ask .cell.sel { border: 2px solid var(--blusco); color: var(--blusco); }
/* 答えた人のビンゴ。印を付けたマスを淡く塗り、そろった列のマスをブルスコブルーで塗る */
.frame.ask.mine .cell { cursor: default; border-width: 1px; }
.frame.ask.mine .cell.sel { border: 1px solid var(--blusco); background: rgb(var(--bl) / .12); color: var(--text); }
.frame.ask.mine .cell.won { background: var(--blusco); color: #fff; border-color: var(--blusco); }
:root[data-theme="dark"] .frame.ask.mine .cell.won { color: #161615; }
.frame.ask.mine.hit .sum { color: var(--blusco); font-weight: 700; letter-spacing: .12em; }
.frame.ask .go { border: 0; border-radius: 12px; background: var(--blusco); color: #fff; font: inherit; font-size: 11px; font-weight: 600; padding: 4px 10px; cursor: pointer; white-space: nowrap; }
:root[data-theme="dark"] .frame.ask .go { color: #161615; }
.frame.ask .go:disabled { opacity: .35; cursor: default; }
.frame.ask .ev { display: flex; align-items: center; gap: 6px; }
.frame.ask .ev svg { width: 20px; height: 20px; flex: none; color: var(--blusco); }
.frame.ask .ev b { font-weight: 600; font-size: 12.5px; }
.frame.ask .pl { margin: 4px 0 0 26px; overflow-wrap: anywhere; }
.frame.ask .nt { margin: 2px 0 0 26px; font-size: 11px; color: var(--stamp); overflow-wrap: anywhere; }
.frame.ask .chg { margin: 4px 0 0 26px; font-size: 10px; color: var(--blusco); }
.frame.ask [hidden] { display: none; }
.frame.ask .faces { display: flex; }
.frame.ask .faces img { width: 20px; height: 20px; border-radius: 50%; margin-right: -5px; box-shadow: 0 0 0 1.5px var(--paper); background: var(--fill); cursor: pointer; }
.frame.ask .hint { font-size: 10px; color: var(--stamp); margin-top: 2px; }
.frame.ask.full .sum { color: #c0504d; }
.pdfview { position: absolute; inset: 24px 12px; z-index: 30; display: flex; flex-direction: column; background: var(--bg); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 32px rgba(0, 0, 0, .25); }
.pdfview header { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid rgb(var(--k) / .08); }
.pdfview header b { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdfview header a { font-size: 12px; color: var(--blusco); text-decoration: none; white-space: nowrap; }
.pdfview header button { border: 0; background: none; font-size: 20px; line-height: 1; color: rgb(var(--k) / .6); }
.pdfview iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.misehead .icon.done { color: var(--blusco); }
.misempty { padding: 48px 24px; text-align: center; font-size: 13px; color: var(--stamp); line-height: 1.8; }

/* 窓のスタイル（flows.js の styleHTML）。Swift の StyleSection に倣う */
.wstyles { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.wstyles .band { padding: 10px; border-radius: 14px; background: rgb(var(--k) / .04); display: flex; flex-direction: column; gap: 8px; }
.wstyles .bt { font-size: 10px; color: var(--stamp); }
.wstyles .sts { display: flex; gap: 6px; }
.wstyles .st { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-radius: 10px; background: var(--paper); font-size: 12px; color: var(--ink); text-align: left; box-shadow: inset 0 0 0 1.5px transparent; }
.wstyles .st.on { box-shadow: inset 0 0 0 1.5px var(--blusco); }
.wstyles .kds { display: flex; flex-wrap: wrap; gap: 6px; }
.wstyles .kd { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 14px; background: none; border: 1px dashed rgb(var(--k) / .14); font-size: 11px; color: var(--stamp); }
.wstyles .kd.on { border-style: solid; color: var(--ink); }
.wstyles .fdot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgb(var(--mine) / .45); }
.wstyles .on .fdot { background: var(--wl5); box-shadow: none; }

/* 写真の束（2026-10-19、大田垣の判断。見本 https://claude.ai/artifact/45cv8tBqBFjB8ofR3EvXD9 の H2）。
   2枚からは畳んだデッキにする。手前は1枚目を元の比で高さ110px まで、後ろに紙を3枚まで右上へずらして重ねる。
   押すと画面の上にジグザグに重ねた並びが開き（stack.js）、1枚を押すと拡大表示する */
.photos.deck { display: block; position: relative; overflow: visible; width: min(100%, calc(110px * var(--r, 1))); aspect-ratio: var(--r, 1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .12)); }
.photos.deck .dk { all: unset; position: absolute; inset: 0; display: block; cursor: pointer; }
.photos.deck .dk:focus-visible { outline: 2px solid var(--blusco); outline-offset: 6px; }
.aside .photos.deck .ph, .photos.deck .ph { position: absolute; inset: 0; width: auto; height: auto; max-height: none; aspect-ratio: auto; border: 0; padding: 0; background: var(--paper) center / cover no-repeat; cursor: pointer; }
/* 後ろの紙は2枚目からの写真で、UNO の箱のように左下を軸に右肩下がりに開く（2026-10-19、大田垣の指摘）。
   後ろへいくほど右回りに大きく傾け、少しずつ右へずらすので、紙の右の端が手前の写真の外に出る */
.aside .photos.deck .bk, .photos.deck .bk { transform-origin: 0 100%; }
.photos.deck .k1 { transform: translateX(4px) rotate(6deg); }
.photos.deck .k2 { transform: translateX(8px) rotate(12deg); }
.photos.deck .k3 { transform: translateX(12px) rotate(18deg); }
.photos.deck.warn .ph { filter: blur(18px); }

.stack { position: absolute; inset: 0; display: flex; flex-direction: column; background: rgb(var(--w) / .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stack header { display: flex; align-items: baseline; gap: 8px; padding: 16px 16px 0 18px; }
.stack header b { font-size: 14px; }
.stack header span { font-size: 12px; color: rgb(var(--k) / .55); }
.stack .x { all: unset; margin-left: auto; cursor: pointer; font-size: 22px; line-height: 1; padding: 2px 6px; color: var(--ink); }
.stack .x:focus-visible { outline: 2px solid var(--blusco); }
.stack .sbody { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px 40px; }
.stack .stbox { position: relative; }
.stack .st { position: absolute; border: 0; padding: 0; background: var(--paper) center / cover no-repeat; cursor: zoom-in; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .16)); }
.stack .st:focus-visible { outline: 2px solid var(--blusco); outline-offset: 4px; }

/* 会話の印。重ね吹き出しの線の絵と、会話に加わった人の顔を3人まで重ねる（2026-10-20、大田垣の判断） */
.meta .cv { display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; padding: 1px; color: rgb(var(--k) / .5); cursor: pointer; }
.meta .cv svg { width: 15px; height: 13px; flex: none; }
.desk .meta .cv svg { width: 13px; height: 11px; }
.meta .cv .faces { display: flex; }
.meta .cv .faces:empty { display: none; }
.meta .cv .faces img { width: 13px; height: 13px; border-radius: 50%; object-fit: cover; margin-left: -4px; box-shadow: 0 0 0 1.5px var(--bg); background: rgb(var(--k) / .08); }
.desk .meta .cv .faces img { width: 11px; height: 11px; }
.meta .cv .faces img:first-child { margin-left: 0; }
.row.right .meta .cv { flex-direction: row-reverse; }
.row.right .meta .cv .faces { flex-direction: row-reverse; }
.row.right .meta .cv .faces img { margin-left: 0; margin-right: -4px; }
.row.right .meta .cv .faces img:first-child { margin-right: 0; }
.meta .cv:hover { color: var(--ink); }
/* 並びで選んだ写真を真ん中に置く（stack.js の focus。2026-10-20、大田垣の判断）。地は並びと同じオフホワイトで、
   写真は横の帯に1枚ずつ入れ、フリックで移る。写真の外を押すと並びに戻る */
.stack.focus .strip { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.stack.focus .strip::-webkit-scrollbar { display: none; }
.stack.focus .slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; position: relative; display: grid; place-items: center; padding: 18px 24px 56px; box-sizing: border-box; container-type: size; cursor: zoom-out; }
.stack.focus .big { position: relative; display: block; width: min(100cqw, 100cqh * var(--r)); aspect-ratio: var(--r); background: var(--paper) center / contain no-repeat; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .16)); cursor: default; }
.stack.focus .alt { position: absolute; left: 24px; right: 24px; bottom: 30px; margin: 0; max-height: 22cqh; overflow-y: auto; font-size: 12px; line-height: 1.6; color: rgb(var(--k) / .7); white-space: pre-wrap; cursor: text; }
.stack.focus .alt b { font-size: 9px; letter-spacing: .4px; background: rgb(var(--k) / .1); padding: 2px 4px; border-radius: 3px; margin-right: 7px; vertical-align: 1px; }
.stack.focus .pips { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.stack.focus .pips i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--k) / .2); }
.stack.focus .pips i.on { background: var(--ink); }
.stack.focus .nav { all: unset; position: absolute; top: 50%; transform: translateY(-50%); font-size: 30px; line-height: 1; padding: 10px 8px; color: rgb(var(--k) / .45); cursor: pointer; }
.stack.focus .nav.prev { left: 2px; } .stack.focus .nav.next { right: 2px; }
.stack.focus .nav:hover { color: var(--ink); }
@media (hover: none) { .stack.focus .nav { display: none; } }

/* リンクカード（bubble.js の lcard）。写真のない札の印は blank だ。ph にすると写真の枠と同じ名前になり、rim.js が手描きの太い枠を描いた（2026-10-20、大田垣の指摘：ミセのカードが太枠になった）。ミセのショップカードと同じ質感の縦の札だ。2:3、幅116px（見開き170px）、投稿ごとに少し傾ける。
   手描きの枠（rim.js の .frame）は付けない。陰は下の半分だけで、上は写真のまま見せる（2026-10-20、大田垣の判断。見本の E） */
.lcard { --lw: 116px; container-type: inline-size; position: relative; display: block; flex: none; width: var(--lw); max-width: calc(100% - 8px); aspect-ratio: 2 / 3; overflow: hidden; isolation: isolate;
  margin: 4px; border-radius: 8px; background: #0e3e52 center / cover no-repeat; color: #fff; text-decoration: none; transform: rotate(var(--tilt, 0deg));
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 0 10px rgba(0, 0, 0, .5); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "palt";
  box-shadow: 0 6px 14px rgba(0, 0, 0, .14), 0 1px 4px rgba(0, 0, 0, .08); }
.spread .lcard { --lw: 170px; }
.lcard.blank { background-image: linear-gradient(150deg, hsl(var(--h) 32% 40%), hsl(calc(var(--h) + 30) 40% 18%)); }
.lcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 14, .72) 0, rgba(10, 12, 14, .3) 30%, rgba(10, 12, 14, 0) 50%), linear-gradient(90deg, rgba(10, 12, 14, .8) 0, rgba(10, 12, 14, .4) 55%, rgba(10, 12, 14, .12) 100%); }
.lcard .ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: none; }
.lcard.blank .ring { display: block; }
.lcard b { position: absolute; left: 8cqw; right: 8cqw; bottom: calc(7cqw + 15px); font: 500 11px/1.6 "IBM Plex Sans JP", -apple-system, "Hiragino Sans", sans-serif; letter-spacing: .05em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; overflow-wrap: anywhere; }
.spread .lcard b { font-size: 13px; }
.lcard .dom { position: absolute; left: 8cqw; right: 8cqw; bottom: 6cqw; display: flex; align-items: center; gap: 4px; font: 500 9px "Avenir Next", Jost, "Helvetica Neue", sans-serif; letter-spacing: .06em; opacity: .88; }
.lcard .dom i { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lcard .go { width: 11px; height: 11px; flex: none; }
.lcard:focus-visible { outline: 2px solid var(--blusco); outline-offset: 3px; }
.row.right .aside .lcard { align-self: flex-end; }

/* 引用の札（bubble.js の quoteSlip）。リンクカード（.lcard）と同じ 2:3・角丸・傾き・陰で、地を3つに分ける（2026-10-20、大田垣の判断）。
   art＝記事の引用（写真の札、白い字、名前は下）、slip＝字だけの人の声（生成りの紙片、明朝）、shot＝写真付きの人の声（全面写真、名前は上、明朝） */
.qcard { --lw: 116px; container-type: inline-size; position: relative; display: flex; flex-direction: column; flex: none; box-sizing: border-box; width: var(--lw); max-width: calc(100% - 8px); aspect-ratio: 2 / 3; overflow: hidden; isolation: isolate;
  margin: 4px; border-radius: 8px; cursor: pointer; transform: rotate(var(--tilt, 0deg)); box-shadow: 0 6px 14px rgba(0, 0, 0, .14), 0 1px 4px rgba(0, 0, 0, .08); }
.spread .qcard { --lw: 170px; }
.row.right .aside .qcard { align-self: flex-end; }
.qcard:focus-visible { outline: 2px solid var(--blusco); outline-offset: 3px; }
.qcard .qw { display: flex; align-items: center; gap: 5px; min-width: 0; font: 500 9px "IBM Plex Sans JP", -apple-system, "Hiragino Sans", sans-serif; }
.qcard .qw img, .qcard .qw i { width: 14px; height: 14px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.qcard .qw em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qcard .qw .go { width: 11px; height: 11px; flex: none; margin-left: auto; }
.qcard .qs { white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.qcard.art, .qcard.shot { color: #fff; background: #0e3e52 center / cover no-repeat; text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 0 10px rgba(0, 0, 0, .5); -webkit-font-smoothing: antialiased; }
.qcard.art::before, .qcard.shot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 14, .72) 0, rgba(10, 12, 14, .3) 30%, rgba(10, 12, 14, 0) 50%), linear-gradient(90deg, rgba(10, 12, 14, .8) 0, rgba(10, 12, 14, .4) 55%, rgba(10, 12, 14, .12) 100%); }
.qcard.art { justify-content: flex-end; gap: 5px; padding: 0 9px 8px; }
.qcard.art.blank { background-image: linear-gradient(150deg, hsl(var(--h) 32% 40%), hsl(calc(var(--h) + 30) 40% 18%)); }
.qcard .ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: none; }
.qcard.art.blank .ring { display: block; }
.qcard.art .qs { font: 500 10.5px/1.55 "IBM Plex Sans JP", -apple-system, "Hiragino Sans", sans-serif; letter-spacing: .04em; -webkit-line-clamp: 6; }
.qcard.art .qw { opacity: .9; }
.qcard.shot { justify-content: space-between; padding: 8px 9px 9px; }
.qcard.shot .qs { font: 500 12px/1.6 "GenEiAntique", "Hiragino Mincho ProN", serif; letter-spacing: .02em; -webkit-line-clamp: 4; }
.qcard.slip { background: #fffdf7; color: #26231f; padding: 9px 9px 8px; gap: 6px; }
.qcard.slip .qw { color: rgb(38 35 31 / .6); }
.qcard.slip .qw img, .qcard.slip .qw i { box-shadow: 0 0 0 1px rgb(38 35 31 / .12); }
.qcard.slip .qs { font: 400 11.5px/1.65 "GenEiAntique", "Hiragino Mincho ProN", serif; letter-spacing: .01em; -webkit-line-clamp: 9; }
:root[data-theme="dark"] .qcard.slip { background: #2a2825; color: #ece8e0; }
:root[data-theme="dark"] .qcard.slip .qw { color: rgb(236 232 224 / .6); }

/* 会話をその場で広げる（main.js の grower。印の名前は unfolded だ。aside は添付の欄の名前で、付けると流れが flex になって全部の流れのあいだが10px 空いた。2026-10-20、iPhone の GrowIn・AsideBlur と同じ）。
   ばねは iPhone の response 0.42・dampingFraction 0.86 を 0.55秒の linear() に写した */
:root { --spring: linear(0, .067, .211, .377, .533, .666, .771, .851, .908, .947, .972, .988, .998, 1.002, 1.005, 1.005, 1.005, 1.004, 1.003, 1.002, 1); }
.items > .thread { transition: filter .42s var(--spring), opacity .42s var(--spring); }
.items.unfolded > .thread:not(.host) { filter: blur(3.5px); opacity: .45; cursor: pointer; }
.items.unfolded > .thread:not(.host) * { pointer-events: none; }
.meta .cv.on { color: var(--blusco); }
.meta .cv.busy svg { animation: cvBusy .9s ease-in-out infinite alternate; }
@keyframes cvBusy { from { opacity: 1; } to { opacity: .35; } }
/* 伸びた返信は、ぼやけて少し縦に伸びた形から出て、ピントが合って縮む */
.grow-in { animation: growIn .55s var(--spring) both; transform-origin: 50% 0; }
.grow-out { animation: growOut .38s cubic-bezier(.4, 0, .9, .6) both; transform-origin: 50% 0; }
@keyframes growIn { from { opacity: 0; filter: blur(8px); transform: scaleY(1.12) translateY(-6px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes growOut { from { opacity: 1; filter: blur(0); transform: none; } to { opacity: 0; filter: blur(8px); transform: scaleY(1.12) translateY(-6px); } }
/* 自分の投稿を広げたときの、ブルードットを押してくれた人の顔 */
.likers { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 56px 0 52px; }
.likers button { border: 0; padding: 0; background: none; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgb(var(--k) / .12); }
.likers img, .likers i { display: block; width: 100%; height: 100%; object-fit: cover; background: rgb(var(--k) / .08); }
.thread.host:has(.row.right) .likers { justify-content: flex-end; margin: 10px 8px 0 56px; }

/* 話線（main.js の openLine。iPhone の Line.swift の Bellows と同じ）。元の画面の上に重ね、蛇腹のように真ん中から上下へ開く。
   開くあいだはぼやけて少し縦に伸び、開ききるとピントが合う。中身はつぶさず、見える幅だけを伸び縮みさせる */
#line { position: absolute; inset: 0; z-index: 15; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 110px; background: var(--bg); }
.desk #line { padding-bottom: 80px; }
.spread #line { left: 50%; padding: var(--head) var(--edge) 110px var(--gut); }
#line.opening { animation: lineOpen .5s var(--spring) both; }
#line.closing { animation: lineClose .36s cubic-bezier(.5, 0, .75, .4) both; pointer-events: none; }
@keyframes lineOpen { from { clip-path: inset(50% 0 50% 0); filter: blur(10px); opacity: .3; transform: scaleY(1.06); } to { clip-path: inset(0); filter: blur(0); opacity: 1; transform: none; } }
@keyframes lineClose { from { clip-path: inset(0); filter: blur(0); opacity: 1; transform: none; } to { clip-path: inset(50% 0 50% 0); filter: blur(10px); opacity: .3; transform: scaleY(1.06); } }
/* 戻る印。話線の上の端に留めた、すりガラスの小さなカプセルに蛇腹の折れ線（山3つ）だけを描く */
#line .lineback {
  position: sticky; top: 8px; z-index: 5; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 28px; margin: 6px auto -34px; padding: 0; border: 0; border-radius: 14px; cursor: pointer; color: var(--ink);
  background: rgb(var(--w) / .82); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 0 0 .7px rgb(var(--k) / .18), 0 4px 16px rgba(0, 0, 0, .08);
  transition: transform .3s var(--spring);
}
#line .lineback svg { width: 22px; height: 11px; transition: transform .3s var(--spring); }
#line .lineback:hover svg { transform: scaleX(.72); }
#line .lineback:active { transform: scale(.92); }
#line > .convo { padding-top: 40px; }
.lined .clock { display: none; }
@media (prefers-reduced-motion: reduce) { .items > .thread { transition: none; } }
