/* AIKON — ファンの台の型(2026-10-26 作り直し・docs/design/BRIEF_fan-platform-look_2026-10-26.md)
   色はすみれ一色(--accent)とその濃淡。暗い面は prefers-color-scheme と data-theme の両方で持つ。
   night の看板は同じ型で、色だけ深くする([data-brand="night"])。 */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
  --bg: #F6F6F9; --surface: #FFFFFF; --surface-2: #EFEFF4; --line: #E3E3EA;
  --text: #14141A; --text-2: #5C5C6B; --text-3: #8A8A99;
  --accent: #6A4CFF; --accent-press: #5536F0; --accent-soft: #EEEAFF; --accent-text: #5536F0; --on-accent: #FFFFFF;
  --gold: #F2A516; --ok: #12925A; --danger: #E5484D; --online: #22C55E; --warn: #C2410C;
  --lock-veil: rgba(14, 12, 30, .42); --blur: 24px;
  --r-card: 16px; --r-pill: 999px; --r-chip: 6px; --r-sheet: 20px;
  --shadow-1: 0 1px 2px rgba(20, 20, 26, .06), 0 4px 16px rgba(20, 20, 26, .06);
  --shadow-2: 0 10px 30px -10px rgba(40, 24, 120, .35);
  --tab-h: 56px; --bar-h: 56px; --cta-h: 52px; --gut: 16px; --max: 640px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.4, 0, .2, 1); --ease-show: cubic-bezier(.16, 1, .3, 1);
  --bar-bg: rgba(255, 255, 255, .86);
  color-scheme: light;
}
/* 暗い面(端末の設定)— 明るい面を選んだ人には効かせない */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0D12; --surface: #17171F; --surface-2: #22222C; --line: #2C2C38;
    --text: #F3F3F8; --text-2: #ABABBA; --text-3: #7A7A8C;
    --accent: #8B74FF; --accent-press: #7A61FF; --accent-soft: rgba(139, 116, 255, .16); --accent-text: #B3A5FF; --on-accent: #FFFFFF;
    --lock-veil: rgba(6, 5, 14, .5); --ok: #3CCB8A; --warn: #FB923C;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);
    --bar-bg: rgba(23, 23, 31, .86);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0D12; --surface: #17171F; --surface-2: #22222C; --line: #2C2C38;
  --text: #F3F3F8; --text-2: #ABABBA; --text-3: #7A7A8C;
  --accent: #8B74FF; --accent-press: #7A61FF; --accent-soft: rgba(139, 116, 255, .16); --accent-text: #B3A5FF; --on-accent: #FFFFFF;
  --lock-veil: rgba(6, 5, 14, .5); --ok: #3CCB8A; --warn: #FB923C;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);
  --bar-bg: rgba(23, 23, 31, .86);
  color-scheme: dark;
}
/* night の看板(AIKON NIGHT・2026-10-26): 同じ型・同じ部品で、夜の黒すぐり(black-plum)×薔薇(rose-magenta)・艶と淡い光(常に暗い面) */
:root[data-brand="night"], :root[data-brand="night"][data-theme] {
  --bg: #0B0710; --surface: #170D1A; --surface-2: #24142A; --line: #36203D;
  --text: #FAEFF5; --text-2: #CDB3C6; --text-3: #94788D;
  --accent: #D92772; --accent-press: #C21A63; --accent-soft: rgba(255, 64, 140, .16); --accent-text: #FF7AB2; --on-accent: #FFFFFF;
  --gold: #E8B86B; --online: #FF5CA8;
  --lock-veil: rgba(12, 4, 14, .55); --ok: #3CCB8A; --warn: #FB923C; --danger: #FF4D6A;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .55), 0 6px 20px rgba(0, 0, 0, .45);
  --shadow-2: 0 14px 40px -12px rgba(217, 39, 114, .55);
  --glow: 0 0 0 1px rgba(255, 92, 160, .22), 0 10px 30px -10px rgba(217, 39, 114, .6);
  --gloss: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%);
  --bar-bg: rgba(16, 9, 19, .86);
  color-scheme: dark;
}
/* 看板が分かるまで(初めての窓)は面を隠す(js/boot.js・最長 1.5 秒) */
:root[data-boot] body { visibility: hidden; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--font); letter-spacing: .005em;
  display: flex; flex-direction: column; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 90; border-radius: var(--r-chip); }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 図標(線画)。塗りは --icf で(選ばれたタブ・押したいいね) */
.ic { width: 24px; height: 24px; flex: none; fill: var(--icf, none); fill-rule: evenodd; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic .cut, .ic use { stroke: inherit; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 16px; height: 16px; stroke-width: 2; }
.ic.lg { width: 32px; height: 32px; stroke-width: 1.6; }
.vbadge { width: 18px; height: 18px; flex: none; fill: var(--accent); stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.vbadge.sm { width: 15px; height: 15px; vertical-align: -2px; }

/* ---- 上の帯(56px) -------------------------------------------------------- */
.bar {
  position: sticky; top: 0; z-index: 30; height: var(--bar-h); display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 var(--gut); background: var(--bar-bg);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: .06em; min-height: 44px; }
.brand-mark { width: 26px; height: 26px; border-radius: 9px; background: var(--accent); position: relative; flex: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.brand-mark::before { content: ""; position: absolute; left: 6px; top: 6px; width: 14px; height: 11px; border-radius: 6px 6px 6px 2px; background: #fff; }
.brand-mark::after { content: ""; position: absolute; left: 10px; top: 10px; width: 6px; height: 3px; border-radius: 2px; background: var(--accent); }
.brand-name { white-space: nowrap; }
.bar-right { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text); text-decoration: none; cursor: pointer; transition: background .15s var(--ease), transform .12s var(--ease); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.94); }
.pip { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--surface); }
.chip.balance { display: inline-flex; align-items: baseline; gap: 3px; min-height: 32px; align-self: center; padding: 6px 11px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; margin-right: 2px; }
.chip-num { font-variant-numeric: tabular-nums; }
.chip-unit { font-size: 11px; font-weight: 700; opacity: .8; }
.lang { min-width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-pill); font-size: 12px; font-weight: 800; letter-spacing: .04em; cursor: pointer; color: var(--text-2); padding: 0 8px; }
.lang:hover { background: var(--surface-2); color: var(--text); }

/* ---- 下の 5 つのタブ(56+safe-area) -------------------------------------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--bar-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-top: 1px solid var(--line);
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; text-decoration: none; color: var(--text-3); font-size: 10px; font-weight: 700; letter-spacing: .02em; transition: color .15s var(--ease); }
.tab .ic { transition: transform .12s var(--ease); }
.tab:active .ic { transform: scale(.9); }
.tab[aria-current="page"] { color: var(--accent); --icf: currentColor; }
.tab[aria-current="page"] .ic .cut { stroke: var(--surface); }
.tab.plus .ic { width: 26px; height: 26px; margin: -1px 0; color: var(--accent); stroke-width: 2; }
.tab.plus[aria-current="page"] { --icf: none; }
.tab.plus[aria-current="page"] .ic { stroke-width: 2.2; }
.tab .count { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font: 800 10px/18px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--surface); font-variant-numeric: tabular-nums; }
body.in-chat .tabbar, body.in-chat .foot { display: none; }

main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 28px; outline: none; }
.foot { max-width: var(--max); width: 100%; margin: 0 auto; padding: 18px var(--gut) calc(var(--tab-h) + var(--safe-b) + 18px); color: var(--text-3); font-size: 12px; border-top: 1px solid var(--line); }
.foot-line { margin: 0 0 4px; color: var(--text-2); }
.foot-small { margin: 0; }
.demo-note { margin-top: 6px !important; color: var(--warn); font-weight: 600; }
body.has-cta .foot { padding-bottom: calc(var(--tab-h) + var(--safe-b) + var(--cta-h) + 40px); }

/* 広い画面: 下のタブは左の柱に */
@media (min-width: 960px) {
  main, .foot { position: relative; left: 110px; } /* 左の柱(220px)の右の残りの真ん中へ */
  .tabbar { top: var(--bar-h); bottom: 0; right: auto; width: 220px; height: auto; grid-auto-flow: row; grid-auto-rows: 52px; align-content: start; padding: 16px 12px; border-top: 0; border-right: 1px solid var(--line); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tab { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 0 14px; border-radius: var(--r-pill); font-size: 15px; }
  .tab:hover { background: var(--surface-2); color: var(--text); }
  .tab .count { position: static; margin-left: auto; }
  .tab.plus .ic { width: 24px; height: 24px; }
  .foot { padding-bottom: 32px; } body.has-cta .foot { padding-bottom: calc(var(--cta-h) + 40px); }
  body.in-chat .tabbar { display: grid; }
}

/* ---- 字 ------------------------------------------------------------------ */
h1, h2, h3 { margin: 0; line-height: 1.3; }
.h1 { font-size: 22px; font-weight: 800; letter-spacing: -.005em; }
.h2 { font-size: 17px; font-weight: 700; }
.h3 { font-size: 15px; font-weight: 700; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); font-size: 12px; font-weight: 500; }
.lead { color: var(--text-2); }
.big-num { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 12px; }
.section { margin-top: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; row-gap: 2px; }
.section-head .count { color: var(--text-3); font-size: 12px; font-weight: 600; }
.see-all { font-size: 13px; font-weight: 700; color: var(--accent-text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---- 面と札 --------------------------------------------------------------- */
.card { background: var(--surface); border-radius: var(--r-card); padding: 16px; box-shadow: var(--shadow-1); }
.stack > * + * { margin-top: 12px; }
.pad { padding-top: 16px; }
.grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.nowrap { flex-wrap: nowrap; min-width: 0; }
.tag { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 8px; border-radius: var(--r-chip); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.tag.accent { background: var(--accent-soft); color: var(--accent-text); }
.tag.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tag.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.tag.danger { background: var(--danger); color: #fff; }
.tag.ai { background: var(--text); color: var(--bg); font-size: 10px; letter-spacing: .06em; min-height: 18px; padding: 3px 6px; }
.tag.real { background: var(--accent); color: var(--on-accent); }
.official { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); padding: 4px 9px 4px 6px; border-radius: var(--r-pill); white-space: nowrap; }

/* ---- 操作(錠剤型・押すと 0.97) ---------------------------------------------- */
.btn { appearance: none; border: 0; background: var(--text); color: var(--bg); border-radius: var(--r-pill); padding: 10px 18px; min-height: 44px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: transform .12s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease), color .15s var(--ease); }
.btn:active { transform: scale(.97); }
.btn.accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 16px -8px var(--accent); }
.btn.accent:hover { background: var(--accent-press); }
.btn.ghost { background: var(--surface-2); color: var(--text); }
.btn.ghost:hover { background: color-mix(in srgb, var(--surface-2) 70%, var(--line)); }
.btn.line { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.line:hover { background: var(--accent-soft); }
.btn.soft { background: var(--accent-soft); color: var(--accent-text); }
.btn.white { background: #fff; color: #14141A; }
.btn.small { font-size: 13px; padding: 8px 14px; }
.btn.block { width: 100%; }
.btn.cta { min-height: var(--cta-h); font-size: 16px; font-weight: 800; }
.btn[disabled], .btn[aria-busy="true"], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .price { font-variant-numeric: tabular-nums; font-weight: 800; }
.btn .sub { font-weight: 600; opacity: .85; font-size: .88em; }
.link { background: none; border: 0; padding: 0; color: var(--accent-text); cursor: pointer; font-size: 13px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--text-2); }
.field small { color: var(--text-3); font-size: 12px; }
.input, select.input, textarea.input { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 48px; font-size: 16px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
textarea.input { min-height: 96px; resize: vertical; line-height: 1.6; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; min-height: 44px; padding-top: 10px; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex: none; }
.form { display: grid; gap: 14px; }
.err { color: var(--danger); font-size: 13px; min-height: 1em; margin: 0; }

/* ---- 顔・表紙 ---------------------------------------------------------------- */
.av { --h: 260; position: relative; flex: none; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800;
  background: radial-gradient(100% 100% at 30% 20%, hsl(var(--h) 80% 72%), hsl(calc(var(--h) + 30) 60% 42%)); }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av .online { position: absolute; right: 2%; bottom: 2%; width: 26%; height: 26%; min-width: 10px; min-height: 10px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 2.5px var(--surface); }
.av.s28 { width: 28px; height: 28px; font-size: 12px; }
.av.s36 { width: 36px; height: 36px; font-size: 14px; }
.av.s40 { width: 40px; height: 40px; font-size: 16px; }
.av.s52 { width: 52px; height: 52px; font-size: 20px; }
.av.s88 { width: 88px; height: 88px; font-size: 32px; }
.cover { --h: 260; position: relative; overflow: hidden; background:
  radial-gradient(70% 120% at 85% 10%, hsl(var(--h) 85% 70% / .9), transparent 60%),
  radial-gradient(60% 100% at 10% 90%, hsl(calc(var(--h) + 50) 80% 60% / .8), transparent 65%),
  hsl(calc(var(--h) + 15) 50% 30%); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-shape { position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; border-radius: 40% 60% 55% 45%; background: rgba(255, 255, 255, .16); }
.cover-shape::after { content: ""; position: absolute; left: -90px; top: -30px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .12); }

/* ---- ホーム: 迎えの札・話題の列・作者の段・投稿の流れ ------------------------------- */
.welcome { position: relative; overflow: hidden; margin: 16px 0 0; padding: 20px 18px 18px; border-radius: var(--r-card); color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, #9D86FF 0%, transparent 60%), linear-gradient(135deg, #4B2FE0, #6A4CFF 55%, #8B5CF6); box-shadow: var(--shadow-2); }
:root[data-brand="night"] .welcome { background: radial-gradient(80% 110% at 100% 0%, rgba(255, 77, 151, .55) 0%, transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(120, 28, 92, .7), transparent 70%), linear-gradient(140deg, #1A0A1C, #3A0F2E 55%, #6B1243); box-shadow: var(--glow); }
.welcome::after { content: ""; position: absolute; right: -36px; top: -36px; width: 150px; height: 150px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .08); }
.welcome h1 { font-size: 22px; font-weight: 800; line-height: 1.35; max-width: 17em; }
.welcome p { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, .86); }
.welcome .facts { display: flex; gap: 18px; margin: 14px 0 16px; padding: 0; list-style: none; }
.welcome .facts b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.welcome .facts span { font-size: 11px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.welcome .row .btn { flex: 1; }
.welcome .btn.ghostw { background: rgba(255, 255, 255, .16); color: #fff; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease), transform .12s var(--ease); }
.chip-btn:active { transform: scale(.97); }
.chip-btn[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
/* 36px の札の上下に 4px ずつの見えない的(押せる高さ 44px) */
.chip-btn { position: relative; }
.chip-btn::before { content: ""; position: absolute; inset: -4px 0; }

.creators { display: grid; grid-auto-flow: column; grid-auto-columns: 140px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scrollbar-width: none; }
.creators::-webkit-scrollbar { display: none; }
.ccard { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow-1); transition: transform .12s var(--ease); }
.ccard:active { transform: scale(.97); }
.ccard .cover { position: absolute; inset: 0; }
.ccard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(8, 6, 20, .82) 100%); }
.ccard-top { position: absolute; z-index: 1; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; }
.ccard-body { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 6px; }
.ccard .av { box-shadow: 0 0 0 2px #fff; }
.ccard-name { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; line-height: 1.2; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.ccard-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard-meta { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.ccard .vbadge { stroke: #fff; }
.pill-dark { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: rgba(10, 8, 22, .55); color: #fff; font-size: 10px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pill-dark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--online); }
.pill-dark.off .dot { background: #9A9AA8; }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: how; }
.how li { counter-increment: how; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 14px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.how li::before { content: counter(how); width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; display: grid; place-items: center; }
.how b { display: block; font-size: 15px; }
.how p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }

/* ---- 投稿の札 ----------------------------------------------------------------- */
.feed { display: grid; gap: 12px; }
.post { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); overflow: hidden; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 8px 10px 14px; }
.post-head .who { flex: 1; min-width: 0; display: grid; }
.post-head .who a { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 15px; min-width: 0; }
.post-head .who a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-head .who small { color: var(--text-3); font-size: 12px; font-weight: 500; }
.post-text { padding: 0 14px 12px; }
.post-text b { display: block; font-size: 15px; margin-bottom: 2px; }
.post-text p { margin: 0; white-space: pre-wrap; color: var(--text); }
.post-text .teaser { color: var(--text-2); }
.media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media.locked .cover { position: absolute; inset: -40px; filter: blur(var(--blur)) saturate(1.2); transform: scale(1.05); }
.media.locked::after { content: ""; position: absolute; inset: 0; background: var(--lock-veil); }
.lock-center { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; text-align: center; padding: 16px; }
.lock-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lock-center .note { font-size: 13px; font-weight: 700; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.media .corner { position: absolute; z-index: 3; top: 10px; left: 10px; }
.media .count-badge { position: absolute; z-index: 3; right: 10px; bottom: 10px; }
.media .corner-r { position: absolute; z-index: 3; top: 10px; right: 10px; }
/* 開く時: ぼかし 24px→0・鍵は上へ消える(320ms) */
.media.opening > img { animation: unblur .32s var(--ease-show) both; }
.media.opening .lock-fly { animation: fly .32s var(--ease) both; }
@keyframes unblur { from { filter: blur(var(--blur)); transform: scale(1.04); } to { filter: blur(0); transform: none; } }
@keyframes fly { from { opacity: 1; transform: translate(-50%, -50%); } to { opacity: 0; transform: translate(-50%, -140%); } }
.lock-fly { position: absolute; z-index: 4; left: 50%; top: 50%; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .2); pointer-events: none; }
.actions { display: flex; align-items: center; gap: 2px; padding: 4px 6px 6px; border-top: 1px solid var(--line); }
.act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-2); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s var(--ease), color .15s var(--ease), transform .12s var(--ease); }
.act:hover { background: var(--surface-2); color: var(--text); }
.act:active { transform: scale(.94); }
.act[aria-pressed="true"] { color: var(--danger); --icf: currentColor; }
.act.save[aria-pressed="true"] { color: var(--accent); }
.act.tip { color: var(--accent-text); }
.act.tip .lbl { font-variant-numeric: tabular-nums; }
.actions .spacer { flex: 1; }
.post-time { color: var(--text-3); font-size: 12px; padding: 0 8px; }

/* 写真動画の格子 */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0 calc(var(--gut) * -1); }
.mcell { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); border: 0; padding: 0; cursor: pointer; display: block; color: #fff; }
.mcell > img { width: 100%; height: 100%; object-fit: cover; }
.mcell.locked .cover { position: absolute; inset: -30px; filter: blur(16px); }
.mcell.locked::after { content: ""; position: absolute; inset: 0; background: var(--lock-veil); }
.mcell .lock-mini { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; font-size: 11px; font-weight: 800; }
.mcell .ic-type { position: absolute; z-index: 2; top: 6px; right: 6px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }

/* ---- 作者の頁 ----------------------------------------------------------------- */
.profile { margin: 0 calc(var(--gut) * -1); }
.profile-cover { position: relative; height: 160px; }
.profile-cover .cover { position: absolute; inset: 0; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 35%, rgba(6, 4, 16, .72) 100%); }
.profile-cover .back { position: absolute; z-index: 2; top: 8px; left: 8px; color: #fff; background: rgba(10, 8, 22, .38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.profile-cover .more { position: absolute; z-index: 2; top: 8px; right: 8px; color: #fff; background: rgba(10, 8, 22, .38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cover-stats { position: absolute; z-index: 2; right: 14px; bottom: 10px; display: flex; gap: 16px; color: #fff; list-style: none; margin: 0; padding: 0; }
.cover-stats li { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.cover-stats b { font-variant-numeric: tabular-nums; font-weight: 800; }
.profile-main { position: relative; padding: 0 var(--gut); }
.profile-av { margin-top: -44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.profile-av .av.s88 { box-shadow: 0 0 0 3px var(--surface); }
.profile-av .av.s88 .online { width: 18px; height: 18px; right: 4px; bottom: 4px; box-shadow: 0 0 0 3px var(--surface); }
.profile-av .row { padding-bottom: 2px; gap: 6px; }
.profile-name { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 20px; font-weight: 800; line-height: 1.25; }
.profile-handle { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; color: var(--text-3); font-size: 13px; }
.profile-genre { margin: 8px 0 0; font-size: 13px; color: var(--text-2); font-weight: 600; }
.bio { margin: 8px 0 0; color: var(--text); font-size: 15px; white-space: pre-wrap; }
.bio.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bio-more { margin-top: -6px; }
.profile-cta { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.today { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-card); background: var(--accent-soft); }
.today-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: var(--accent-text); letter-spacing: .08em; background: var(--surface); padding: 4px 8px; border-radius: var(--r-chip); }
.today p { margin: 0; font-size: 14px; }
.today audio { width: 100%; margin-top: 8px; height: 36px; }

.ptabs { position: sticky; top: var(--bar-h); z-index: 20; display: flex; margin: 16px calc(var(--gut) * -1) 12px; padding: 0 4px; background: var(--bar-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { flex: 1 0 auto; appearance: none; border: 0; background: none; min-height: 48px; padding: 0 12px; font-size: 14px; font-weight: 700; color: var(--text-3); cursor: pointer; white-space: nowrap; position: relative; transition: color .15s var(--ease); }
.ptabs button .n { font-variant-numeric: tabular-nums; margin-left: 4px; font-weight: 600; }
.ptabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; transition: background .15s var(--ease); }
.ptabs button[aria-selected="true"] { color: var(--text); }
.ptabs button[aria-selected="true"]::after { background: var(--accent); }
.ptabs .dot { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; margin-left: 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; text-align: center; vertical-align: 1px; }

/* 画面の下に貼り付く「加入する」(下のタブの上) */
.sticky-cta { position: fixed; z-index: 35; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b)); padding: 10px var(--gut); background: linear-gradient(180deg, transparent, var(--bg) 40%); }
.sticky-cta .inner { max-width: calc(var(--max) - var(--gut) * 2); margin: 0 auto; display: flex; gap: 8px; }
.sticky-cta .btn { flex: 1 1 0; min-width: 0; box-shadow: var(--shadow-2); }
.sticky-cta .btn.line { background: var(--surface); }
@media (min-width: 960px) { .sticky-cta { bottom: 0; left: 220px; } }

/* ---- プランの札(段・1日あたり・開く物・おすすめ) -------------------------------- */
.plans { display: grid; gap: 12px; }
.plan { position: relative; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 16px; display: grid; gap: 12px; border: 2px solid transparent; }
.plan.pop { border-color: var(--accent); }
.plan.mine { border-color: var(--ok); }
.plan .ribbon { position: absolute; top: -1px; right: 14px; padding: 4px 10px; border-radius: 0 0 8px 8px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.plan.mine .ribbon { background: var(--ok); }
.plan-top { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.plan-img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; position: relative; }
.plan-img .cover { position: absolute; inset: 0; }
.plan-img .rank { position: absolute; z-index: 1; left: 4px; bottom: 4px; }
.plan-name { font-size: 16px; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.plan-price b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 13px; color: var(--text-2); font-weight: 600; }
.plan-day { font-size: 12px; color: var(--text-3); font-weight: 600; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.perks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 14px; color: var(--text); }
.perks .ic { color: var(--accent); stroke-width: 2.4; width: 20px; height: 20px; }
.plan-foot .faint { display: block; text-align: center; }

/* ---- 声・注文・投げ銭 ----------------------------------------------------------- */
.voice-list, .tpl-list { display: grid; gap: 10px; }
.voice { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.voice b { display: block; font-size: 14px; line-height: 1.35; }
.voice audio { width: 100%; height: 36px; grid-column: 1 / -1; }
.wave { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.tpl { padding: 16px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); display: grid; gap: 12px; }
.tpl-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.tpl-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opts { display: grid; gap: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.seg legend { font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s var(--ease); background: var(--surface); }
.seg input:checked + span { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.tip-card { padding: 16px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 12px; }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tipbtn { min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 800; font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s var(--ease), background .15s var(--ease), transform .12s var(--ease); display: grid; place-items: center; line-height: 1.1; }
.tipbtn small { font-size: 10px; font-weight: 700; color: var(--text-3); }
.tipbtn:active { transform: scale(.97); }
.tipbtn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.rank-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); overflow: hidden; }
.rank-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; padding: 12px 14px; align-items: center; min-height: 52px; }
.rank-list li + li { border-top: 1px solid var(--line); }
.rank-list .r { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--surface-2); color: var(--text-2); font-variant-numeric: tabular-nums; }
.rank-list li:nth-child(1) .r { background: var(--gold); color: #fff; }
.rank-list li:nth-child(2) .r { background: #A7A9B4; color: #fff; }
.rank-list li:nth-child(3) .r { background: #C98A5A; color: #fff; }
.rank-list .me { background: var(--accent-soft); }
.rank-list .num { font-weight: 800; }

/* ---- やり取り(一覧と会話) --------------------------------------------------------- */
.inbox { display: grid; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); overflow: hidden; }
.thread { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; min-height: 76px; text-decoration: none; color: inherit; transition: background .15s var(--ease); width: 100%; border: 0; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.thread + .thread { border-top: 1px solid var(--line); }
.thread:hover { background: var(--surface-2); }
.thread .t-name { display: flex; align-items: center; gap: 5px; font-weight: 800; font-size: 15px; min-width: 0; }
.thread .t-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread .t-last { color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.thread.unread .t-last { color: var(--text); font-weight: 700; }
.thread .t-side { display: grid; justify-items: end; gap: 6px; font-size: 11px; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.unread-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
.thread .min { min-width: 0; }

.chat { display: grid; grid-template-rows: auto 1fr auto; height: calc(100dvh - var(--bar-h)); margin: 0 calc(var(--gut) * -1); background: var(--bg); }
@media (min-width: 960px) { .chat { height: calc(100dvh - var(--bar-h) - 24px); margin: 12px 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; } }
.chat-head { display: flex; gap: 10px; align-items: center; padding: 6px 8px; background: var(--surface); border-bottom: 1px solid var(--line); }
.chat-head .who { flex: 1; min-width: 0; text-decoration: none; }
.chat-head .who b { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.chat-head .who small { color: var(--text-3); font-size: 12px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.chat-head .who small .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--online); }
.chat-head .who small .dot.off { background: var(--text-3); }
.chat-mid { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; scroll-behavior: smooth; }
.day-sep { align-self: center; margin: 8px 0; font-size: 11px; font-weight: 700; color: var(--text-3); background: var(--surface-2); padding: 3px 10px; border-radius: var(--r-pill); }
.msg { max-width: 80%; display: grid; gap: 3px; margin-top: 6px; }
.msg .line { display: flex; gap: 8px; align-items: flex-end; }
.msg .bubble { padding: 10px 14px; border-radius: 18px; white-space: pre-wrap; word-break: break-word; font-size: 15px; line-height: 1.5; }
.msg .meta { font-size: 11px; color: var(--text-3); font-weight: 600; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.msg.fan { align-self: flex-end; justify-items: end; }
.msg.fan .bubble { background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.msg.ai, .msg.icon, .msg.paid { align-self: flex-start; }
.msg.ai .bubble { background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
.msg.ai .meta, .msg.icon .meta, .msg.paid .meta { padding-left: 36px; }
.msg.icon .bubble { background: var(--surface); color: var(--text); border-bottom-left-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--accent); }
.msg.blocked .bubble { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-style: normal; }
.msg .av.s28 { margin-bottom: 2px; }
.read { color: var(--accent-text); font-weight: 800; display: inline-flex; align-items: center; gap: 3px; }
.read .ic { width: 14px; height: 14px; stroke-width: 2.6; }
/* 有料の便(吹き出しの中にぼかしと値段の釦) */
.msg.paid .bubble { padding: 0; overflow: hidden; width: 240px; max-width: 100%; background: var(--surface-2); border-bottom-left-radius: 4px; }
.paid-media { position: relative; height: 132px; overflow: hidden; }
.paid-media .cover { position: absolute; inset: -30px; filter: blur(var(--blur)); }
.paid-media::after { content: ""; position: absolute; inset: 0; background: var(--lock-veil); }
.paid-media .lock-center { gap: 6px; }
.paid-body { padding: 10px 12px 12px; display: grid; gap: 8px; }
.paid-body b { font-size: 14px; }
.paid-body audio { width: 100%; height: 36px; }
.chat-empty { margin: auto; text-align: center; color: var(--text-2); max-width: 280px; font-size: 14px; display: grid; justify-items: center; gap: 8px; padding: 24px 0; }
.chat-empty b { display: block; font-size: 17px; color: var(--text); }
.chat-form { display: grid; grid-template-columns: 44px 1fr 44px; gap: 6px; align-items: end; padding: 8px 8px calc(8px + var(--safe-b)); background: var(--surface); border-top: 1px solid var(--line); }
.chat-form textarea { min-height: 44px; max-height: 140px; height: 44px; resize: none; border-radius: 22px; padding: 10px 16px; background: var(--surface-2); border-color: transparent; font-size: 16px; line-height: 1.4; }
.chat-form .send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; transition: transform .12s var(--ease), background .15s var(--ease); }
.chat-form .send:active { transform: scale(.94); }
.chat-form .send[aria-busy="true"] { opacity: .5; }
.chat-form .tipq { color: var(--accent-text); }
.chat-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 600; color: var(--text-3); padding: 0 8px; }
.banner { padding: 10px 14px; font-size: 13px; background: var(--accent-soft); color: var(--text); }
.typing { align-self: flex-start; margin: 6px 0 0 36px; display: flex; gap: 4px; padding: 13px 14px; border-radius: 18px 18px 18px 4px; background: var(--surface-2); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: blink 1.2s infinite var(--ease); }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---- 下から出る板(支払い・投げ銭・プラン) ------------------------------------------- */
.sheet-root { position: fixed; inset: 0; z-index: 80; }
.sheet-back { position: absolute; inset: 0; background: rgba(8, 6, 20, .5); animation: fade .2s var(--ease) both; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; background: var(--surface); border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding: 10px var(--gut) calc(16px + var(--safe-b)); box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); animation: rise .28s var(--ease-show) both; }
@media (min-width: 640px) { .sheet { left: 50%; right: auto; width: 520px; transform: translateX(-50%); animation-name: rise-c; } }
.grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 10px; }
.sheet-x { position: absolute; top: 6px; right: 6px; }
.sheet-body { display: grid; gap: 14px; }
.sheet-title { font-size: 17px; font-weight: 800; padding-right: 44px; }
.sheet-who { display: flex; align-items: center; gap: 10px; }
.sum { display: grid; gap: 2px; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.sum .total { display: flex; justify-content: space-between; align-items: baseline; }
.sum .total b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.lines { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; }
.lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; }
.lines li.minus span:last-child { color: var(--text-2); }
.pay-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); min-height: 56px; }
.pay-row .ic { color: var(--accent-text); }
.pay-row .grow { flex: 1; min-width: 0; }
.pay-row b { display: block; font-size: 14px; }
.pay-row small { color: var(--text-3); font-size: 12px; font-weight: 600; }
.short { color: var(--danger); font-weight: 700; font-size: 13px; }
body.sheet-open { overflow: hidden; }
@keyframes rise { from { transform: translateY(100%); } }
@keyframes rise-c { from { transform: translate(-50%, 100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---- 財布 ----------------------------------------------------------------- */
.wallet-top { position: relative; overflow: hidden; margin-top: 16px; padding: 20px 18px; border-radius: var(--r-card); color: #fff; background: linear-gradient(135deg, #3A22C9, #6A4CFF 60%, #9A7BFF); box-shadow: var(--shadow-2); display: grid; gap: 2px; }
:root[data-brand="night"] .wallet-top { background: radial-gradient(80% 120% at 100% 100%, rgba(255, 77, 151, .45), transparent 60%), linear-gradient(135deg, #1A0A1C, #3A0F2E 60%, #7A1650); box-shadow: var(--glow); }
.wallet-top::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .08); }
.wallet-top .lbl { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); display: flex; gap: 6px; align-items: center; }
.wallet-top .big { font-size: 36px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.15; }
.wallet-top .big small { font-size: 16px; font-weight: 700; margin-left: 4px; opacity: .8; }
.wallet-top .faint { color: rgba(255, 255, 255, .72); }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.pack { min-height: 64px; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; text-align: center; transition: all .15s var(--ease); display: grid; gap: 2px; align-content: center; }
.pack b { display: block; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pack small { color: var(--text-3); font-size: 12px; font-weight: 600; }
.pack:active { transform: scale(.97); }
.pack[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pack[aria-pressed="true"] small { color: var(--accent-text); }
.methods { display: grid; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); overflow: hidden; }
.method { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; min-height: 64px; }
.method + .method { border-top: 1px solid var(--line); }
.method .grow { flex: 1; min-width: 0; }
.method .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.method.closed .mi { background: var(--surface-2); color: var(--text-3); }
.method.closed b { color: var(--text-2); }
.ledger { width: 100%; border-collapse: collapse; font-size: 13px; }
.ledger th, .ledger td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger th { font-size: 11px; font-weight: 700; color: var(--text-3); }
.ledger td.amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.ledger .plus { color: var(--ok); } .ledger .minus { color: var(--text); }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 0 6px; }
.table-wrap .ledger tr:last-child td { border-bottom: 0; }

/* ---- 自分 ---------------------------------------------------------------- */
.me-head { display: flex; align-items: center; gap: 14px; padding: 18px 0 6px; }
.me-head .av { width: 64px; height: 64px; font-size: 24px; }
.me-head b { font-size: 18px; font-weight: 800; display: block; }
.menu { display: grid; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); overflow: hidden; }
.menu a, .menu button { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; min-height: 56px; padding: 8px 14px; text-decoration: none; color: inherit; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; width: 100%; transition: background .15s var(--ease); }
.menu a + a, .menu a + button, .menu button + a, .menu button + button { border-top: 1px solid var(--line); }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.menu .mi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.menu .lbl { font-weight: 700; font-size: 15px; }
.menu .val { color: var(--text-3); font-size: 13px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.seg-theme { display: inline-flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.seg-theme button { min-height: 38px; min-width: 44px; padding: 0 10px; border: 0; border-radius: var(--r-pill); background: transparent; font-size: 12px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.seg-theme button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }

/* ---- 本人の管理・運営・事務所 -------------------------------------------------- */
.dash-head { display: flex; align-items: center; gap: 12px; padding: 16px 0 4px; }
.dash-head .grow { flex: 1; min-width: 0; }
.dash-head .faint { display: block; }
.tabs { position: sticky; top: var(--bar-h); z-index: 20; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; margin: 10px calc(var(--gut) * -1) 16px; padding: 0 8px; background: var(--bar-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { appearance: none; border: 0; background: none; min-height: 48px; padding: 0 12px; font-size: 14px; font-weight: 700; color: var(--text-3); cursor: pointer; white-space: nowrap; position: relative; }
.tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs button[aria-selected="true"]::after { background: var(--accent); }
.tabs .dot { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; margin-left: 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; text-align: center; vertical-align: 1px; }
.rev-hero { position: relative; overflow: hidden; padding: 18px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); display: grid; gap: 4px; }
.rev-hero .lbl { font-size: 13px; font-weight: 700; color: var(--text-2); }
.rev-hero .big { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.15; }
.rev-hero .big small { font-size: 15px; font-weight: 700; color: var(--text-2); margin-left: 4px; }
.rev-hero .sub { font-size: 13px; color: var(--text-2); font-weight: 600; }
.rev-hero .sub b { color: var(--ok); }
.spark { display: block; width: 100%; height: 56px; margin-top: 8px; overflow: visible; }
.spark .area { fill: var(--accent-soft); stroke: none; }
.spark .ln { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .stats.four { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 14px; display: grid; gap: 2px; }
.stat .si { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 6px; }
.stat .si .ic { width: 18px; height: 18px; }
.stat b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat span { font-size: 12px; color: var(--text-2); font-weight: 600; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
.switch-row.on { box-shadow: inset 0 0 0 2px var(--warn); background: color-mix(in srgb, var(--warn) 7%, var(--surface)); }
.switch-row .btn { flex: none; }
.terms { display: flex; flex-wrap: wrap; gap: 6px; }
.term { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 4px 4px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; background: var(--surface-2); }
.term:not(:has(button)) { padding-right: 12px; }
.term button { border: 0; background: transparent; width: 36px; height: 36px; margin: -4px 0; border-radius: 50%; cursor: pointer; line-height: 1; font-size: 16px; color: var(--text-2); }
.term button:hover { background: var(--danger); color: #fff; }
.bars { display: grid; gap: 12px; }
.barline { display: grid; grid-template-columns: 80px minmax(40px, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.barline .track { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; display: flex; }
.barline .icon-part { background: var(--accent); }
.barline .plat-part { background: color-mix(in srgb, var(--accent) 30%, var(--surface-2)); }
.barline .v { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 12px; font-weight: 700; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); font-weight: 600; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legend .icon-part { background: var(--accent); }
.legend .plat-part { background: color-mix(in srgb, var(--accent) 30%, var(--surface-2)); }
.list { display: grid; gap: 10px; }
.item { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
.item-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.item p { margin: 0; }
.item.unread { box-shadow: var(--shadow-1), inset 3px 0 0 var(--accent); }
button.item { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; border: 0; transition: transform .12s var(--ease); }
button.item:active { transform: scale(.99); }
.meter { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.empty { padding: 28px 16px; border-radius: var(--r-card); background: var(--surface); text-align: center; color: var(--text-2); font-size: 14px; box-shadow: var(--shadow-1); display: grid; justify-items: center; gap: 8px; }
.empty .ic { color: var(--text-3); width: 32px; height: 32px; }
.skel { height: 120px; border-radius: var(--r-card); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
details > summary { list-style: none; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.revealed:not([hidden]) { display: block; margin-top: 4px; }

/* ---- 入口(ログイン・登録) ------------------------------------------------------ */
.auth { max-width: 420px; margin: 24px auto 0; }
.auth-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 22px 18px; }
.auth-mark { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; }
.auth-mark::before { left: 12px; top: 12px; width: 28px; height: 22px; border-radius: 11px 11px 11px 4px; }
.auth-mark::after { left: 20px; top: 20px; width: 12px; height: 5px; }
.auth h1 { font-size: 22px; font-weight: 800; }
.auth .lead { margin: 6px 0 0; font-size: 14px; }

/* ---- 知らせ・年齢の門・設定の抜け ---------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 14px); transform: translateX(-50%); z-index: 90; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; max-width: calc(100vw - 32px); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .4); animation: up .3s var(--ease-show); }
body.has-cta .toast { bottom: calc(var(--tab-h) + var(--safe-b) + var(--cta-h) + 30px); }
body.in-chat .toast { bottom: 84px; }
.toast.bad { background: var(--danger); color: #fff; }
@keyframes up { from { opacity: 0; transform: translate(-50%, 10px); } }
.gate { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: var(--gut); background: color-mix(in srgb, var(--bg) 96%, black); }
.gate .card { max-width: 420px; width: 100%; }
.gate h2 { font-size: 24px; font-weight: 800; }
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; color: var(--accent-text); letter-spacing: .04em; }
.setup-warn { position: sticky; top: var(--bar-h); z-index: 29; background: var(--danger); color: #fff; font-weight: 700; padding: 10px var(--gut); font-size: 13px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 今月の取り分の帯(源ごと)— すみれの濃淡だけで分ける */
.rev-track { display: flex; height: 12px; margin-top: 12px; border-radius: 6px; overflow: hidden; background: var(--surface-2); gap: 2px; }
.seg { display: inline-block; height: 100%; }
.legend .seg { width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.seg.s0 { background: var(--accent); }
.seg.s1 { background: color-mix(in srgb, var(--accent) 70%, var(--surface)); }
.seg.s2 { background: color-mix(in srgb, var(--accent) 48%, var(--surface)); }
.seg.s3 { background: color-mix(in srgb, var(--accent) 30%, var(--surface)); }
.seg.s4 { background: var(--gold); }
.rev-hero .legend { margin-top: 8px; }
.stat b small { margin-left: 2px; }
/* 本人の目で見る会話: ファンは左の灰、分身と本人は右 */
.creator-view { max-height: 60vh; background: var(--bg); border-radius: 12px; }
.creator-view .msg.fan { align-self: flex-start; justify-items: start; }
.creator-view .msg.fan .bubble { background: var(--surface-2); color: var(--text); border-radius: 18px 18px 18px 4px; }
.creator-view .msg.ai, .creator-view .msg.icon { align-self: flex-end; justify-items: end; }
.creator-view .msg.ai .bubble { background: var(--accent-soft); color: var(--text); border-radius: 18px 18px 4px 18px; }
.creator-view .msg.icon .bubble { background: var(--accent); color: var(--on-accent); box-shadow: none; border-radius: 18px 18px 4px 18px; }
.creator-view .msg .meta { padding-left: 0; }
.av-letter { line-height: 1; }
.me-head .av { width: 64px; height: 64px; font-size: 26px; }

/* 狭い幅で残高の札が出ている時は、言語の釦を「自分」の中へ(上の帯がはみ出さない) */
@media (max-width: 419px) {
  #balanceChip:not([hidden]) ~ #langBtn { display: none; }
  :root[data-brand="night"] .brand { font-size: 17px; letter-spacing: .02em; }
}

/* ---- 会話の設定(本人の管理画面): 錠剤型のつまみ・未成年の注記・いま効いている門 ------------------ */
.gs-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; min-height: 44px; }
.gs-row.first { border-top: 0; padding-top: 4px; }
.gs-row b { font-size: 15px; font-weight: 700; }
.gs-row small { grid-column: 1 / -1; color: var(--text-3); font-size: 12px; font-weight: 500; line-height: 1.55; }
.gs-row small.why { color: var(--warn); font-weight: 600; }
.gs-row.off { cursor: default; }
.gs-row.off b { color: var(--text-3); }
.switch { appearance: none; -webkit-appearance: none; position: relative; width: 48px; height: 28px; margin: 0; border-radius: var(--r-pill); background: var(--line); cursor: pointer; transition: background .15s var(--ease); flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s var(--ease); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { opacity: .45; cursor: not-allowed; }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.minor-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--danger) 8%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 28%, transparent); }
.minor-note > .ic { color: var(--danger); width: 20px; height: 20px; margin-top: 1px; }
.minor-note b { display: block; font-size: 14px; font-weight: 800; }
.minor-note span { display: block; font-size: 12px; color: var(--text-2); line-height: 1.55; margin-top: 2px; }
.pol { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-official { margin: 0 0 4px; }
.gs-official[hidden] { display: none; }
/* 会話の印(会いたい・止めた)と、会話の上の帯 */
.tag.meet { background: color-mix(in srgb, var(--gold) 18%, transparent); color: color-mix(in srgb, var(--gold) 55%, var(--text)); }
.banner.stop { background: color-mix(in srgb, var(--danger) 9%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 28%, transparent); border-radius: 12px; }
.banner.meet { background: color-mix(in srgb, var(--gold) 12%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent); border-radius: 12px; }
.banner b { display: block; font-size: 14px; margin-bottom: 2px; }
/* ファンの会話: 止めた会話の帯と、閉じた入力の帯 */
.chat-stop { display: flex; gap: 12px; align-items: flex-start; margin: 10px 12px; padding: 14px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.chat-stop > .ic { color: var(--accent-text); width: 22px; height: 22px; margin-top: 1px; }
.chat-stop b { display: block; font-size: 15px; margin-bottom: 2px; }
.chat-stop p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.chat-form.closed textarea { opacity: .5; }
.chat-note { margin: 8px 12px 0; padding: 10px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--text-2); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
/* 運営: 頭の口の札 */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--text-3); font-size: 12px; font-weight: 700; align-self: center; }
.kv dd { margin: 0; font-weight: 700; word-break: break-all; }
a.stat.link-stat { text-decoration: none; color: inherit; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
a.stat.link-stat:active { transform: scale(.97); }
.chat-form.closed .send, .chat-form.closed .tipq { opacity: .35; cursor: not-allowed; }
.chat-form.closed .chat-foot { visibility: hidden; }

/* ---- AIKON NIGHT(BRAND=night): 字のロゴ・艶・淡い光・入口の年齢の門(⚖️2026-10-26「大人向けのセクシーなやつも創って」) ---------- */
.wm-a { font-weight: 800; letter-spacing: .08em; }
.wm-b { margin-left: .42em; font-weight: 300; letter-spacing: .32em; color: var(--accent-text); text-shadow: 0 0 14px rgba(255, 92, 160, .55); }
:root[data-brand="night"] .brand { font-size: 17px; letter-spacing: 0; }
/* 印: 薔薇色の円に三日月の切り欠き */
:root[data-brand="night"] .brand-mark { border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FF8CC0, #D92772 55%, #7A1650); box-shadow: 0 0 14px rgba(255, 77, 151, .55); }
:root[data-brand="night"] .brand-mark::before { left: 9px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--bg); }
:root[data-brand="night"] .brand-mark::after { display: none; }
:root[data-brand="night"] .auth-mark::before { left: 18px; top: 6px; width: 34px; height: 34px; }
:root[data-brand="night"] body { background: radial-gradient(120% 60% at 50% -10%, rgba(122, 22, 80, .35), transparent 60%) var(--bg) no-repeat; }
:root[data-brand="night"] .btn.accent { background: var(--gloss), linear-gradient(135deg, #E8338A, #B8185E); box-shadow: var(--glow); }
:root[data-brand="night"] .btn.accent:hover { background: var(--gloss), linear-gradient(135deg, #F0449A, #C21A63); }
:root[data-brand="night"] .btn.line { box-shadow: inset 0 0 0 1.5px var(--accent-text); }
:root[data-brand="night"] .card, :root[data-brand="night"] .post, :root[data-brand="night"] .plan, :root[data-brand="night"] .menu, :root[data-brand="night"] .inbox { box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, .04); }
:root[data-brand="night"] .plan.pop { border-color: var(--accent); box-shadow: var(--glow); }
:root[data-brand="night"] .plan .ribbon { background: linear-gradient(135deg, #E8338A, #B8185E); }
:root[data-brand="night"] .plan.mine .ribbon { background: var(--ok); }
:root[data-brand="night"] .profile-cover::after { background: linear-gradient(180deg, rgba(11, 7, 16, .35) 0%, rgba(11, 7, 16, 0) 35%, rgba(11, 7, 16, .85) 100%); }
:root[data-brand="night"] .profile-av .av.s88 { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(255, 92, 160, .65), 0 0 24px rgba(255, 77, 151, .45); }
:root[data-brand="night"] .ccard { box-shadow: var(--shadow-1), 0 0 0 1px rgba(255, 92, 160, .12); }
:root[data-brand="night"] .ccard::after { background: linear-gradient(180deg, rgba(11, 7, 16, 0) 30%, rgba(40, 6, 30, .9) 100%); }
:root[data-brand="night"] .ccard .av { box-shadow: 0 0 0 2px #FF8CC0; }
:root[data-brand="night"] .msg.fan .bubble { background: linear-gradient(135deg, #E8338A, #B8185E); }
:root[data-brand="night"] .lock-ring { background: rgba(255, 92, 160, .18); box-shadow: inset 0 0 0 1px rgba(255, 140, 192, .45), 0 0 24px rgba(255, 77, 151, .45); }
/* 鍵の下見の絵(teaser-locked.svg のすみれ)を薔薇へ寄せる */
:root[data-brand="night"] .cover.teaser img { filter: hue-rotate(80deg) saturate(1.25) brightness(.9); }
:root[data-brand="night"] .today { background: linear-gradient(135deg, rgba(255, 64, 140, .14), rgba(122, 22, 80, .22)); box-shadow: inset 0 0 0 1px rgba(255, 92, 160, .18); }
:root[data-brand="night"] .chip-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 16px -4px rgba(255, 77, 151, .7); }
:root[data-brand="night"] .tab[aria-current="page"] { color: var(--accent-text); }
:root[data-brand="night"] .rank-list li:nth-child(1) .r { background: var(--gold); color: #2A1420; }

/* 入口の年齢の門(night の最初の画面・ログインのたびの確かめ) */
:root[data-brand="night"] .gate { background: radial-gradient(90% 60% at 50% 0%, rgba(150, 24, 90, .45), transparent 65%), radial-gradient(70% 50% at 100% 100%, rgba(255, 77, 151, .18), transparent 70%), #0B0710; overflow-y: auto; align-items: start; padding-top: 32px; padding-bottom: 32px; }
.agegate { max-width: 420px; width: 100%; padding: 20px 18px 18px; position: relative; overflow: hidden; }
:root[data-brand="night"] .agegate { background: linear-gradient(180deg, rgba(36, 20, 42, .92), rgba(23, 13, 26, .96)); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .06); border: 1px solid rgba(255, 92, 160, .18); }
.ag-top { display: flex; align-items: center; justify-content: space-between; }
.ag-word { font-size: 20px; }
.ag-top .lang { min-height: 40px; }
.ag-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-weight: 800; font-size: 18px; color: #fff; background: radial-gradient(circle at 34% 30%, #FF8CC0, #D92772 60%, #7A1650); box-shadow: 0 0 28px rgba(255, 77, 151, .55); margin-top: 6px; }
.agegate h2 { font-size: 22px; font-weight: 800; }
.ag-warn { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.7; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.agegate .input[type="date"] { color-scheme: dark; }
.ag-note { margin: 0; line-height: 1.6; }
body.gated .tabbar, body.gated .foot { display: none; }

/* 健全の AIKON → night の入口の札(字と色だけ・絵は出さない) */
.night-entry { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-top: 24px; padding: 16px; border-radius: var(--r-card); text-decoration: none; color: #FAEFF5;
  background: radial-gradient(80% 120% at 100% 0%, rgba(255, 77, 151, .55), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(120, 28, 92, .8), transparent 70%), linear-gradient(140deg, #140812, #3A0F2E 60%, #6B1243);
  box-shadow: 0 12px 32px -14px rgba(217, 39, 114, .7), inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .12s var(--ease); }
.night-entry:active { transform: scale(.98); }
.night-entry::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 16px solid rgba(255, 140, 192, .1); pointer-events: none; }
.ne-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 800; font-size: 17px; color: #fff; background: radial-gradient(circle at 34% 30%, #FF8CC0, #D92772 60%, #7A1650); box-shadow: 0 0 22px rgba(255, 77, 151, .6); }
.ne-body { display: grid; gap: 2px; min-width: 0; }
.ne-kicker { font-size: 11px; font-weight: 800; letter-spacing: .28em; color: #FF8CC0; }
.ne-title { font-size: 18px; font-weight: 800; line-height: 1.3; }
.ne-lead { font-size: 12px; line-height: 1.55; color: rgba(250, 239, 245, .78); }
.ne-go { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.night-entry.me { margin-top: 16px; }
/* 狭い幅(残高の札が出る時も)で字のロゴが上の帯からはみ出さない */
@media (max-width: 419px) {
  :root[data-brand="night"] .brand { font-size: 15px; gap: 7px; }
  :root[data-brand="night"] .wm-b { letter-spacing: .2em; margin-left: .32em; }
}

/* ---- 本人席(2026-10-29): 足元の紙への道・出る側の申し込み・受け取り(払い出しの器) ---- */
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; }
.foot-links a { color: var(--text-2); font-size: 12px; font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.ap .auth-card { padding-bottom: 26px; }
.ap-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ap-steps li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 11px; font-weight: 700; color: var(--text-2); line-height: 1.35; }
.ap-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; }
.ap-h { margin: 10px 0 -4px; padding-top: 12px; border-top: 1px solid var(--line); }
.ap-note { border-radius: 12px; margin: 0; }
.ap-doc { background: var(--surface-2); box-shadow: none; }
.ap-ver { font-size: 14px; overflow-wrap: anywhere; }
.ap-nonuses { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--text-2); display: grid; gap: 2px; }
.ap-share { display: grid; gap: 2px; }
.ap-share b { font-size: 16px; }
.ap-legal { line-height: 1.9; }
.ap-legal .link { min-height: 32px; }
.ap-reason { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.po-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.po-ask { display: grid; gap: 6px; }
.po-msg { margin: 0; min-height: 1em; font-size: 13px; font-weight: 600; color: var(--warn); }
.po-addr { display: grid; gap: 4px; }
.po-addr code { font-size: 13px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); overflow-wrap: anywhere; word-break: break-all; }
.po-tx { min-height: 32px; }
/* 選ぶ札の箱(fieldset.seg)は、売上の帯の .seg(inline-block・height 100%)と名がぶつかって縦に伸びていた → 箱の側を札の形に戻す */
fieldset.seg { display: flex; height: auto; }
.ap-doc .seg span small { margin-left: 6px; font-size: 11px; font-weight: 800; opacity: .8; }

/* 会員の段 */
.tiers{display:grid;gap:12px}.tier{position:relative}.tier.best{border-color:var(--accent)}.tier .tag.accent{position:absolute;top:-10px;right:12px}.tier .lines{margin:8px 0}.tier .lines li{display:flex;gap:6px;align-items:flex-start}.mb-wallet{margin-left:auto}
.mb-head{display:flex;flex-direction:column;gap:6px;padding:8px 0 4px}

/* ---- 目録・覚え書き・Studio・催し(2026-10-30 画面係)。同じ型(すみれ一色・16px の角・shadow-1)で足す ---- */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qcard { display: grid; gap: 4px; justify-items: start; padding: 14px 12px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform .12s var(--ease); min-height: 96px; }
.qcard:active { transform: scale(.97); }
.qcard .ic { width: 22px; height: 22px; color: var(--accent-text); margin-bottom: 4px; }
.qcard b { font-size: 14px; }
.qcard small { color: var(--text-3); font-size: 11px; line-height: 1.4; }
.page-head { flex-wrap: wrap; }
.page-head .faint { flex-basis: 100%; margin: 0; font-size: 13px; }
.page-head .back-inline { margin-left: -10px; }
.page-head:has(.back-inline) { justify-content: flex-start; }
.pill-dark.gold { background: rgba(242, 165, 22, .9); color: #1a1200; }
.pill-dark.live-pill { background: var(--danger); }
.pill-dark.live-pill .dot { background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 500; }
/* 棚の札(2 列) */
.sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.scard { display: grid; border-radius: var(--r-card); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform .12s var(--ease); }
.scard:active { transform: scale(.97); }
.scard-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.scard-art .cover { position: absolute; inset: 0; }
.scard-art .corner { position: absolute; z-index: 3; top: 8px; left: 8px; }
.scard-art .corner-r { position: absolute; z-index: 3; top: 8px; right: 8px; }
.scard-body { display: grid; gap: 2px; padding: 10px 12px 12px; }
.scard-body b { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard-body small { color: var(--text-3); font-size: 11px; }
/* 一本の頁 */
.shead, .evhead { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); overflow: hidden; margin-top: 12px; }
.shead-art, .evhead-art { position: relative; height: 180px; }
.shead-art .cover, .evhead-art .cover { position: absolute; inset: 0; }
.shead-art::after, .evhead-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 40%, rgba(6, 4, 16, .45) 100%); }
.shead-art .back, .evhead-art .back { position: absolute; z-index: 2; top: 8px; left: 8px; color: #fff; background: rgba(10, 8, 22, .38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.shead-art .corner, .evhead-art .corner { position: absolute; z-index: 3; bottom: 10px; left: 12px; }
.shead-art .corner-r, .evhead-art .corner-r { position: absolute; z-index: 3; bottom: 10px; right: 12px; }
.shead-main, .evhead-main { display: grid; gap: 10px; padding: 14px 16px 16px; }
.shead-main .h1, .evhead-main .h1 { font-size: 20px; line-height: 1.3; margin: 0; }
.shead-main .who, .evhead-main .who { text-decoration: none; color: inherit; font-size: 14px; }
.shead-main .muted, .evhead-main .muted { margin: 0; font-size: 14px; line-height: 1.6; }
.prog { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .4s var(--ease); }
/* 話・回・一枚の列 */
.epis { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.epi { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 12px 12px 12px 10px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
.epi-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-variant-numeric: tabular-nums; }
.epi.locked .epi-n { background: var(--surface-2); color: var(--text-3); }
.epi.done .epi-n { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.epi-main { min-width: 0; display: grid; gap: 2px; }
.epi-main b { font-size: 14px; line-height: 1.35; }
.epi-main small { color: var(--text-3); font-size: 12px; }
.epi-main .teaser { margin: 0; font-size: 12px; }
.epi .btn .price { font-variant-numeric: tabular-nums; }
.viewer { border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.viewer img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
.body-text { white-space: pre-wrap; line-height: 1.7; font-size: 15px; margin: 0; }
.coach .h2 { display: inline-flex; align-items: center; gap: 6px; }
.coach .banner { display: flex; gap: 8px; align-items: flex-start; }
.coach-ans { margin-top: 12px; }
#coOut .typing { margin-top: 12px; }
/* 覚え書き */
.mem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mem { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
.mem-main { min-width: 0; display: grid; gap: 2px; }
.mem-main p { margin: 0; font-size: 15px; line-height: 1.5; word-break: break-word; }
.mem-main small { font-size: 12px; }
.mem .btn { flex: none; }
.switch-row .faint { font-size: 12px; line-height: 1.5; }
/* Studio */
.picks { display: grid; gap: 8px; }
.pick { display: grid; grid-template-columns: 40px 1fr 20px; gap: 10px; align-items: center; text-align: left; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: inherit; font: inherit; cursor: pointer; min-height: 56px; transition: border-color .15s var(--ease), background .15s var(--ease); }
.pick > span { display: grid; min-width: 0; }
.pick b { font-size: 14px; }
.pick small { color: var(--text-3); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick > .ic { color: transparent; }
.pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pick[aria-pressed="true"] > .ic { color: var(--accent-text); }
.pick:disabled { opacity: .55; cursor: default; }
.picks.off { margin-top: 8px; }
.pick.off { cursor: default; opacity: .6; border-style: dashed; }
.pick.off > .ic { color: var(--text-3); }
.fmts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fmt { position: relative; display: block; cursor: pointer; }
.fmt input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.fmt-body { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); min-height: 56px; transition: border-color .15s var(--ease), background .15s var(--ease); }
.fmt-body b { font-size: 14px; }
.fmt-body small { color: var(--text-3); font-size: 11px; }
.fmt input:checked + .fmt-body { border-color: var(--accent); background: var(--accent-soft); }
.fmt input:focus-visible + .fmt-body { outline: 2px solid var(--accent); outline-offset: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
fieldset.field legend span { font-size: 13px; font-weight: 700; color: var(--text-2); }
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 112px 1fr; border-radius: var(--r-card); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.job-art { position: relative; background: var(--surface-2); min-height: 112px; }
.job-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.job-art .corner { position: absolute; z-index: 3; top: 8px; left: 8px; }
.job-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); }
.job.blocked .job-ph, .job.failed .job-ph { color: var(--warn); }
.job-body { display: grid; gap: 6px; padding: 10px 12px; min-width: 0; align-content: start; }
.job-body p { margin: 0; font-size: 13px; }
.job-body .btn.small { min-height: 36px; padding: 6px 10px; font-size: 12px; }
.verify .kv { margin-top: 8px; }
.verify.warn { box-shadow: var(--shadow-1), inset 0 0 0 2px var(--warn); }
.verify .ic.lg { width: 32px; height: 32px; color: var(--ok); flex: none; }
.verify.warn .ic.lg { color: var(--warn); }
/* 催し */
.evlist { display: grid; gap: 10px; }
.evcard { display: grid; grid-template-columns: 52px 1fr 20px; gap: 12px; align-items: center; padding: 12px 12px 12px 10px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform .12s var(--ease); }
.evcard:active { transform: scale(.98); }
.evcard > .ic { color: var(--text-3); }
.evdate { display: grid; place-items: center; width: 52px; height: 56px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); line-height: 1; }
.evdate b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.evdate small { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.evcard.live .evdate { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.evbody { display: grid; gap: 3px; min-width: 0; }
.evtitle { font-size: 15px; line-height: 1.35; }
.evbody small { font-size: 12px; }
.evbody .row.between { width: 100%; }
.evhead-main .kv { font-size: 14px; }
.evhead-main .faint { margin: 0; font-size: 12px; }
/* 本人の管理画面: 棚の中身 */
.cr-items { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.cr-items li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.cr-items li > .num { width: 24px; text-align: center; color: var(--text-3); font-weight: 800; }
.cr-items .grow { min-width: 0; }
.cr-add summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--accent-text); padding: 6px 0; }
.cr-add form { margin-top: 10px; }
@media (max-width: 359px) { .quick { grid-template-columns: 1fr 1fr; } .sgrid { grid-template-columns: 1fr; } }

/* ---- 見る・学ぶ・会う・秘書・通話(public/js/hub.js・2026-11-01) ---- */
.hub-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.hub-hero { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow-1); }
.hub-hero .cover { aspect-ratio: 16 / 10; width: 100%; }
.hub-hero-body { position: absolute; inset: auto 0 0 0; display: grid; gap: 6px; justify-items: start; padding: 16px; background: linear-gradient(180deg, transparent, rgba(8, 6, 20, .78)); }
.hub-hero-body b { font-size: 20px; line-height: 1.25; }
.hub-hero-body small { opacity: .85; }
.hub-coach { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; }
.hub-coach .ic { width: 24px; height: 24px; color: var(--accent-text); }
.hub-humanoid { background: linear-gradient(160deg, var(--accent-soft), var(--surface) 60%); }
.hub-people .item { text-decoration: none; color: inherit; gap: 10px; }
.hub-people small { display: block; }
.hub-who { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.hub-who-b { display: grid; justify-items: center; gap: 6px; min-width: 64px; padding: 6px 4px; border: 0; border-radius: 14px; background: none; color: inherit; font: inherit; cursor: pointer; }
.hub-who-b small { font-size: 11px; color: var(--text-2); max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-who-b[aria-checked="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.hub-who-b[aria-checked="true"] small { color: var(--accent-text); font-weight: 700; }
button.qcard { border: 0; font: inherit; text-align: left; cursor: pointer; }
.hub-time { min-width: 92px; font-size: 12px; color: var(--text-2); }
.hub-done span { text-decoration: line-through; color: var(--text-3); }
.call { display: grid; justify-items: center; gap: 10px; padding: 18px 0 calc(24px + var(--safe-b)); text-align: center; min-height: calc(100dvh - var(--bar-h)); align-content: start; }
.call-brand { letter-spacing: .24em; font-size: 11px; font-weight: 700; color: var(--accent-text); margin: 0; }
.call-face { padding: 8px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft) 55%, transparent 72%); animation: call-pulse 2.4s var(--ease) infinite; }
@keyframes call-pulse { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .call-face { animation: none; } }
.call-name { margin: 4px 0 0; }
.call-state { margin: 0; color: var(--text-2); font-size: 13px; }
.call-cap { width: 100%; max-height: 32vh; overflow-y: auto; display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); text-align: left; font-size: 14px; }
.call-cap:empty { display: none; }
.call-cap p { margin: 0; }
.call-cap .cap-me { color: var(--text-2); }
.call-cap .cap-me::before { content: "› "; }
.call-form { display: flex; gap: 8px; width: 100%; }
.call-form .input { flex: 1; }
.call-price { margin: 0; font-size: 12px; }
.call-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; margin-top: 6px; }
.call-b { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border: 0; border-radius: 16px; background: var(--surface); color: var(--text); font: inherit; text-decoration: none; box-shadow: var(--shadow-1); cursor: pointer; }
.call-b small { font-size: 11px; }
.call-b[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); }
.call-b.end { background: var(--danger); color: #fff; }
.call-b:disabled { opacity: .45; cursor: default; }
.call-note { font-size: 11px; max-width: 34em; margin: 4px 0 0; }
.av.s44 { width: 44px; height: 44px; font-size: 17px; }
.av.s120 { width: 120px; height: 120px; font-size: 44px; }
.call-form .send { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; }
.call-form .send:disabled { opacity: .5; }
.item.hub-rem { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.item.hub-rem .check { flex: 1; min-width: 0; padding-top: 0; align-items: center; }
.item.hub-rem .grow { flex: 1; min-width: 0; }
