/* 等我说停 · pages: home, lists, forms, me, report, chat, popups. */

/* ---------- Tonight (home): the light, one line, a role and 开始匹配. Nothing else competes. ---------- */
.tonight { position: relative; display: grid; gap: 4px; min-height: calc(100dvh - 64px - var(--nav-h) - 60px - env(safe-area-inset-top)); align-content: start; padding: 4px 0 10px; }
.tonight-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.greet { font-family: var(--serif); font-size: 15px; color: var(--soft); letter-spacing: .12em; }
.live-presence { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; background: var(--veil); border: 1px solid var(--hair); font-size: 13px; color: var(--soft); }
.live-presence strong { color: var(--text); font-variant-numeric: tabular-nums; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px var(--go); animation: pulse 2.4s ease-in-out infinite; }
.live-parts { display: none; gap: 10px; color: var(--dim); }
.live-part strong { color: var(--soft); }
@media (min-width: 760px) { .live-parts { display: inline-flex; } }
.live-bump { animation: sent .6s var(--spring); }

.tonight-stage { display: grid; justify-items: center; text-align: center; margin-top: 2px; }
.hero-light { --light: var(--go); position: relative; width: min(220px, 52vw, 25dvh); aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-light[data-light="slow"] { --light: var(--slow); }
.hero-light[data-light="stop"] { --light: var(--stop); }
.hero-light .light-halo { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--light) 44%, transparent) 0%, transparent 66%); animation: breathe 3.2s ease-in-out infinite; transition: background 1s ease; }
.hero-light .light-core { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fff 0%, var(--light) 36%, color-mix(in srgb, var(--light) 45%, #000) 100%);
  box-shadow: 0 0 40px var(--light), 0 0 110px color-mix(in srgb, var(--light) 55%, transparent); transition: background 1s ease, box-shadow 1s ease; animation: heart 1.15s ease-in-out infinite; }
.hero-light[data-light="stop"] .light-core { animation: hold 3.2s ease-in-out infinite; }
.hero-light .light-ring { display: none; }
.hero-light .light-ripple { position: absolute; inset: 26%; border-radius: 50%; background: var(--light); filter: blur(18px); opacity: 0; animation: ripple 1.15s ease-out infinite; }
.hero-light[data-light="stop"] .light-ripple { animation: none; }
.light-word { position: absolute; bottom: 0; font-size: 20px; letter-spacing: .4em; color: var(--text); text-shadow: 0 0 16px var(--light), 0 0 30px #000; }
.light-word.swap { animation: word-slam .8s cubic-bezier(.2,.9,.2,1); }
@keyframes heart { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.1); } 24% { transform: scale(.98); } 36% { transform: scale(1.05); } 50% { transform: scale(1); } }
@keyframes ripple { 0% { opacity: .7; transform: scale(.95); } 100% { opacity: 0; transform: scale(2); } }
@keyframes word-slam { 0% { opacity: 0; transform: scale(2.2); letter-spacing: .9em; filter: blur(8px); } 40% { opacity: 1; transform: scale(.95); filter: none; } 100% { transform: none; letter-spacing: .4em; } }
.tonight h1 { margin-top: 2px; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 10vw, 58px); line-height: 1.15; letter-spacing: .05em; }
.tonight h1 span { display: block; color: var(--soft); font-size: .5em; letter-spacing: .24em; margin-bottom: 4px; }
.tonight h1 em { display: block; font-style: normal; color: var(--gold-2); text-shadow: 0 0 40px #ff8fb155; }
.tonight h1.split i { display: inline-block; font-style: normal; animation: letter-slam .9s cubic-bezier(.2,.9,.2,1) both; animation-delay: calc(var(--i) * 75ms + 150ms); }
.tonight h1.split i.hot { color: #fff; animation: letter-slam .9s cubic-bezier(.2,.9,.2,1) both, letter-glow 1.15s ease-in-out infinite; animation-delay: calc(var(--i) * 75ms + 150ms), 1.4s; }
@keyframes letter-slam { 0% { opacity: 0; transform: translateY(-.5em) scale(1.9) rotate(-6deg); filter: blur(10px); } 55% { opacity: 1; transform: translateY(0) scale(.94); filter: none; } 75% { transform: scale(1.04); } 100% { transform: none; } }
@keyframes letter-glow { 0%, 100% { text-shadow: 0 0 12px var(--go), 0 0 30px var(--go); } 12% { text-shadow: 0 0 20px var(--go), 0 0 60px var(--go), 0 0 90px var(--go); } }

.start-card { display: grid; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 30px; background: linear-gradient(160deg, #ff4f8f14, transparent 50%), #170a12cc; border: 1px solid var(--hair-2);
  box-shadow: 0 30px 80px #000a; animation: rise-in .9s .5s var(--out) both; }
.role-switch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 22px; background: #1a0c1b99; }
.role-pick-option { display: grid; gap: 1px; justify-items: center; padding: 10px 4px; border-radius: 18px; color: var(--dim); transition: background .35s var(--out), color .3s, transform .3s var(--spring); }
.role-pick-option b { font-size: 17px; letter-spacing: .06em; }
.role-pick-option small { font-size: 11px; line-height: 1.3; }
.role-pick-option:active { transform: scale(.95); }
.role-pick-option[aria-checked="true"] { color: #fff; background: linear-gradient(150deg, #ff4f8f40, #d6a6ff26); box-shadow: inset 0 0 0 1px #ff8fb188, 0 8px 24px #ff4f8f2a; }
.role-pick-option[aria-checked="true"] small { color: var(--gold-2); }
.start-button { position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 2px; min-height: 76px; padding: 12px 18px; border-radius: 24px; color: var(--gold-ink);
  background: var(--rose-grad); box-shadow: 0 16px 50px #ff4f8f55, inset 0 2px 0 #fff8; animation: start-beat 1.15s ease-in-out infinite; transition: transform .3s var(--spring); }
.start-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, #fffa 50%, transparent 70%); transform: translateX(-130%); animation: sheen 3.8s ease-in-out infinite; }
.start-button:active { transform: scale(.96); }
.start-label { font-size: 26px; letter-spacing: .3em; font-weight: 700; }
.start-button small { font-size: 12.5px; opacity: .78; }
@keyframes start-beat { 0%, 100% { box-shadow: 0 16px 50px #ff4f8f55, inset 0 2px 0 #fff8; } 12% { box-shadow: 0 16px 80px #ff4f8f99, inset 0 2px 0 #fff8; } }
.start-profile { display: flex; align-items: center; justify-content: center; gap: 4px 10px; flex-wrap: wrap; color: var(--dim); font-size: 13px; text-align: center; }
.start-profile .text-button { color: var(--gold); font-size: 13px; padding: 2px; }
.hero-queue { margin-top: 6px; text-align: center; color: var(--dim); font-size: 13px; }
.home-links { display: flex; justify-content: center; flex-wrap: nowrap; gap: 6px; margin-top: 10px; }
@media (max-width: 400px) { .home-links button { padding: 6px 10px; font-size: 12.5px; } }
.home-links button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--hair); background: var(--veil); color: var(--soft); font-size: 13.5px;
  transition: border-color .25s, color .25s, transform .3s var(--spring); }
.home-links button:active { transform: scale(.95); }
.home-links [data-icon] svg { width: 15px; height: 15px; color: var(--gold); }
@media (hover: hover) { .home-links button:hover { border-color: #ff8fb166; color: var(--text); } }
@media (min-width: 760px) { .start-card { width: min(520px, 100%); justify-self: center; } }

/* 大厅: 找人 | 旁观区 (11-24). 旁观区 is the list of public rounds that used to sit under 今晚. */
.hall-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 2px 0 18px; border-radius: 999px; background: #ffffff0b; border: 1px solid var(--hair); }
@media (min-width: 760px) { .hall-tabs { max-width: 420px; } }
.hall-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; border-radius: 999px; color: var(--soft); font-size: 15px; font-weight: 650; letter-spacing: .14em;
  transition: background-color .2s, color .2s, box-shadow .2s; }
.hall-tab[aria-selected="true"] { color: #fff; background: #ff8fb124; box-shadow: inset 0 0 0 1px #ff8fb166; }
.hall-tab-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--go); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0; line-height: 20px; text-align: center; }
.watch-zone-head { margin-bottom: 16px; }
.watch-zone-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: .16em; }
.watch-zone-head p { margin-top: 6px; color: var(--dim); font-size: 13px; line-height: 1.7; }
.watch-empty { padding: 28px 8px; text-align: center; }
.watch-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-2); background: var(--veil); border: 1px solid var(--hair); margin-bottom: 8px; animation: rise-in .5s var(--out) both; }
.watch-row-light { width: 12px; height: 12px; border-radius: 50%; background: var(--go); box-shadow: 0 0 12px var(--go); animation: heart 1.15s ease-in-out infinite; flex: none; }
.watch-row[data-status="paused"] .watch-row-light { background: var(--slow); box-shadow: 0 0 12px var(--slow); animation: none; }
.watch-row-copy { flex: 1; min-width: 0; }
.watch-row-copy strong { display: block; font-family: var(--serif); font-size: 15.5px; }
.watch-row-copy small { display: block; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch-row .button { min-height: 38px; padding: 6px 16px; font-size: 13.5px; }
.watch-row-report { width: 32px; height: 32px; border-radius: 50%; color: var(--dim); font-size: 16px; }

/* ---------- Online & friends ---------- */
.directory-tools { display: grid; gap: 14px; margin-bottom: 16px; }
#online-filters { padding: 16px; border-radius: var(--r-2); background: var(--veil); border: 1px solid var(--hair); }
.online-filter-groups { display: grid; gap: 10px; }
.filter-row { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; }
.filter-label { color: var(--dim); font-size: 13px; }
.online-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
#online-compatible-hint { color: var(--dim); font-size: 12.5px; }
.social-options { display: grid; gap: 10px; padding-bottom: 16px; }
.social-options > p { color: var(--dim); font-size: 13px; }
#friend-sync { color: var(--dim); font-size: 13px; margin-bottom: 10px; }

/* ---------- Match form, rooms and waiting cards ---------- */
legend small { margin-left: 8px; color: var(--dim); font-weight: 400; font-size: 12px; }
.guide-faq { display: grid; gap: 8px; margin-top: 16px; }
.fold-text { color: var(--soft); line-height: 1.8; padding: 0 0 4px; }
.match-form { display: grid; gap: 4px; }
.match-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.match-step-tab { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 99px; background: var(--veil); color: var(--dim); font-size: 13px; transition: all .3s; }
.match-step-tab span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--veil-2); font-size: 11px; }
.match-step-tab[aria-selected="true"] { background: linear-gradient(135deg, #ff8fb133, #d6a6ff1f); color: #fff; box-shadow: inset 0 0 0 1px #ff8fb177; }
.match-step-tab.done span { background: var(--rose-grad); color: var(--gold-ink); }
.match-step:not([hidden]) { animation: view-in .4s var(--out); }
.match-more { margin-top: 10px; }
.role-options, .persona-options { display: grid; gap: 10px; }
.role-option, .persona-option { position: relative; display: block; cursor: pointer; }
.role-option input, .persona-option input { position: absolute; opacity: 0; }
.role-option span, .persona-option span { display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--r-2); border: 1px solid var(--hair-2); background: var(--veil); transition: border-color .25s, background-color .25s, transform .3s var(--spring); }
.role-option strong, .persona-option strong { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.role-option small, .persona-option small { color: var(--dim); font-size: 13px; }
.persona-option em { font-style: normal; font-family: var(--serif); color: var(--blush); font-size: 14px; }
.role-option input:checked + span, .persona-option input:checked + span { border-color: var(--gold); background: linear-gradient(135deg, #ff8fb12e, #d6a6ff1c); box-shadow: 0 0 0 3px #ff8fb11a; }
.role-option:active span, .persona-option:active span { transform: scale(.98); }
.consent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-option { position: relative; display: block; cursor: pointer; }
.consent-option input { position: absolute; opacity: 0; }
.consent-option span { display: grid; gap: 2px; min-height: 64px; padding: 12px 14px; border-radius: var(--r-1); border: 1px solid var(--hair-2); background: var(--veil); transition: all .25s var(--out); }
.consent-option strong { font-size: 14px; }
.consent-option small { color: var(--dim); font-size: 12px; line-height: 1.45; }
.consent-option input:checked + span { border-color: var(--gold); background: linear-gradient(135deg, #ff8fb12e, #d6a6ff1c); box-shadow: 0 0 0 3px #ff8fb11a; }
.consent-option input:checked + span strong::before { content: "✓ "; color: var(--gold); }
.tag-picker .tags { margin-bottom: 8px; }
.tag-group { display: block; color: var(--dim); font-size: 12px; margin: 8px 0 6px; }
.address-fields, .round-preferences { margin-top: 10px; }
.round-preferences-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duration-field { margin-bottom: 16px; }
.duration-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.duration-option { min-height: 44px; border-radius: 14px; border: 1px solid var(--hair-2); background: var(--veil); color: var(--soft); font-size: 14px; transition: all .25s; }
.duration-option[aria-pressed="true"] { border-color: var(--gold); background: #ff8fb122; color: var(--gold-2); }
.duration-custom { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 14px; }
.duration-custom input { width: 96px; }
.room-field input { text-transform: uppercase; letter-spacing: .3em; font-size: 20px; text-align: center; }
.waiting-cards, .queue-board { display: grid; gap: 10px; }
.wait-card { padding: 14px 16px; border-radius: var(--r-2); border: 1px solid var(--hair); background: var(--veil); display: grid; gap: 8px; }
.wait-card-head { display: flex; align-items: center; gap: 10px; }
.wait-avatar, .pair-avatar, .popup-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--gold); font-family: var(--serif); }
.wait-meta { color: var(--dim); font-size: 12.5px; }
.wait-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wait-tags span, .room-tags span, .stage-badges span { padding: 3px 10px; border-radius: 99px; background: var(--veil-2); color: var(--soft); font-size: 12px; }
.wait-live { color: var(--go); font-size: 12px; }
.wait-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.waiting-intro { color: var(--dim); font-size: 13.5px; margin-bottom: 12px; }
.card-preview { margin-top: 8px; }
.rule { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.rule > i { flex: none; width: 13px; height: 13px; margin-top: 6px; border-radius: 50%; background: var(--l, var(--gold)); box-shadow: 0 0 12px var(--l, var(--gold)); }
.rule[data-light="go"] { --l: var(--go); } .rule[data-light="slow"] { --l: var(--slow); } .rule[data-light="stop"] { --l: var(--stop); }
.rule strong { font-family: var(--serif); }
.rule p { color: var(--soft); font-size: 14px; }
.guide-lead, .solo-lead { color: var(--soft); line-height: 1.8; margin-bottom: 10px; }
.solo-form { display: grid; gap: 12px; }

/* ---------- Me ---------- */
.me { display: grid; gap: 12px; padding-top: 16px; }
.me-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-3); border: 1px solid var(--hair); background: linear-gradient(140deg, #ff8fb112, transparent 60%), var(--ink-1); }
.me-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-size: 24px; font-family: var(--serif); }
.me-name { flex: 1; min-width: 0; }
.me-name h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; overflow-wrap: anywhere; }
.me-name p { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--soft); font-size: 13px; }
.me-card .button { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.me-level, .me-daily, .me-voice { padding: 18px; border-radius: var(--r-3); border: 1px solid var(--hair); background: var(--veil); }
.me-level-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.me-level-head strong { font-size: 26px; color: var(--gold-2); text-shadow: 0 0 30px #ff8fb133; }
.me-level-head small { color: var(--dim); }
.me-level > p { color: var(--soft); font-size: 13.5px; margin-top: 10px; }
.me-ladder { margin-top: 12px; }
.me-ladder ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.me-ladder li { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 12px; background: var(--veil); color: var(--dim); font-family: var(--serif); }
.me-ladder li span { font-family: var(--sans); font-size: 11px; }
.me-ladder li.passed { color: var(--soft); }
.me-ladder li.current { color: var(--gold-2); background: #ff8fb117; box-shadow: inset 0 0 0 1px #ff8fb155; }
.me-note { color: var(--dim); font-size: 12.5px; }
.me-daily { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.daily-state { color: var(--gold); font-weight: 700; font-size: 13px; }
.me-daily.done .daily-state { color: var(--go); }
.me-voice { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.me-voice-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #d6a6ff17; color: var(--blush); }
.me-voice small { display: block; color: var(--dim); font-size: 13px; }
.me-voice-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.me-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; }
.me-stat { padding: 14px; border-radius: var(--r-2); background: var(--veil); border: 1px solid var(--hair); }
.me-stat dt { color: var(--dim); font-size: 12px; }
.me-stat dd { margin: 4px 0 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.me-stat dd small { font-size: 12px; color: var(--dim); margin-left: 3px; font-weight: 500; }
@media (max-width: 640px) { .me-stats { grid-template-columns: 1fr 1fr; } .me-ladder ol { grid-template-columns: 1fr; } }
.me-achievements { margin-top: 10px; }
.ach-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ach { position: relative; display: grid; gap: 4px; padding: 14px; border-radius: var(--r-2); border: 1px solid var(--hair); background: var(--veil); }
.ach-icon { font-size: 24px; filter: grayscale(1) opacity(.4); }
.ach strong { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--dim); }
.ach small { color: var(--dim); font-size: 12px; line-height: 1.5; }
.ach.unlocked { border-color: #ff8fb144; background: linear-gradient(150deg, #ff8fb114, transparent 70%); }
.ach.unlocked .ach-icon { filter: drop-shadow(0 0 10px #ff8fb188); }
.ach.unlocked strong { color: var(--gold-2); }
.ach-bar { height: 4px; border-radius: 99px; background: var(--veil-2); overflow: hidden; margin-top: 4px; }
.ach-bar i { display: block; height: 100%; width: calc(var(--share, 0) * 100%); background: var(--gold); }
.me-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.me-links .button { min-height: 46px; }
#round-history { margin-top: 20px; }
.history-actions { margin-bottom: 12px; }
.history-tab { min-height: 38px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--hair-2); background: var(--veil); color: var(--soft); font-size: 13.5px; }
.history-tab[aria-pressed="true"] { border-color: var(--gold); background: #ff8fb122; color: var(--gold-2); }
.history-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.history-search .field { margin: 0; }
.history-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.history-list li { padding: 14px 16px; border-radius: var(--r-2); background: var(--veil); border: 1px solid var(--hair); overflow-wrap: anywhere; }
.history-list li p { color: var(--dim); font-size: 13px; margin-top: 4px; }
.history-status:empty { display: none; }
.history-more, .history-retry { margin-top: 12px; width: 100%; }

/* ---------- Popups, notices, pill ---------- */
.site-notices { display: grid; gap: 8px; margin-top: 12px; }
.site-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-2); background: #ff8fb112; border: 1px solid #ff8fb133; }
.site-notice-copy { flex: 1; font-size: 14px; color: var(--soft); }
.site-notice-copy strong { color: var(--text); display: block; }
.site-notice-icon { color: var(--gold); }
.site-notice-close { color: var(--dim); }
.site-bubble, .social-popup { position: fixed; z-index: 70; right: 16px; left: 16px; bottom: calc(var(--nav-h) + 26px + env(safe-area-inset-bottom)); max-width: 420px; margin-left: auto; }
@media (min-width: 760px) { .site-bubble, .social-popup { bottom: 24px; left: auto; width: 400px; } }
.bubble-card, .popup-card { padding: 16px; border-radius: var(--r-3); background: #23141bf5; border: 1px solid var(--hair-2); box-shadow: 0 30px 80px #000c; }
.bubble-enter, .popup-enter { animation: pop-in .5s var(--spring); }
.bubble-leave { animation: pop-out .3s var(--out) forwards; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pop-out { to { opacity: 0; transform: translateY(10px); } }
.popup-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.popup-kicker { color: var(--gold); font-size: 12px; letter-spacing: .1em; }
.popup-copy { color: var(--soft); font-size: 14px; }
.popup-close { margin-left: auto; color: var(--dim); }
.popup-timer, .popup-queue { color: var(--dim); font-size: 12.5px; }
.popup-actions { margin-top: 12px; }
.popup-actions .button { flex: 1; min-height: 42px; }
.bubble-copy { color: var(--soft); font-size: 14px; }
.match-pill { position: fixed; z-index: 60; left: 50%; top: calc(70px + env(safe-area-inset-top)); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 99px;
  background: #23141bf2; border: 1px solid #ff8fb155; box-shadow: 0 16px 40px #000a; animation: pop-in .5s var(--spring); }
.match-pill-main { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 13.5px; }
.match-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
.match-pill-cancel { min-height: 32px; padding: 4px 12px; border-radius: 99px; background: var(--veil-2); font-size: 12.5px; }
.share-sheet { display: grid; gap: 12px; }
.share-link { padding: 12px 14px; border-radius: 14px; background: #1a0c1b99; border: 1px solid var(--hair-2); font-size: 13px; overflow-wrap: anywhere; color: var(--soft); }
.pair-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-2); background: var(--veil); margin-bottom: 12px; }

/* ---------- Report sheet ---------- */
.report-dialog .report-panel { padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
.report-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.report-head h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .06em; }
.report-head p { color: var(--dim); font-size: 13px; }
.report-close { margin-left: auto; }
.report-trophy { font-size: 30px; }
.report-ribbons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.report-ribbon { padding: 4px 12px; border-radius: 99px; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 700; animation: pop-in .6s .4s var(--spring) both; }
.report-hero { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-3); background: var(--veil); border: 1px solid var(--hair); }
.report-ring { position: relative; width: 110px; height: 110px; }
.report-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--veil-2); stroke-width: 8; }
.ring-value { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--percent, 0)); transition: stroke-dashoffset 1.2s var(--out); }
.report-ring > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.report-ring strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.report-ring small { color: var(--dim); font-size: 11px; }
.report-duration strong { display: block; font-size: 34px; font-variant-numeric: tabular-nums; font-family: var(--serif); }
.report-duration small { display: block; color: var(--dim); font-size: 12.5px; }
.report-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.report-stat { padding: 12px; border-radius: var(--r-1); background: var(--veil); border: 1px solid var(--hair); }
.report-stat dt { color: var(--dim); font-size: 12px; }
.report-stat dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.report-stat small { color: var(--dim); font-weight: 500; }
@media (max-width: 480px) { .report-stats { grid-template-columns: 1fr 1fr; } }
.report-level { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-2); border: 1px solid #ff8fb133; background: linear-gradient(140deg, #ff8fb114, transparent 70%); margin: 12px 0; }
.report-level-head { display: flex; align-items: center; gap: 10px; }
.report-level-head strong { font-family: var(--serif); font-size: 18px; }
.level-gain { margin-left: auto; color: var(--gold); font-weight: 750; animation: pop-in .8s .6s var(--spring) both; }
.report-level small { color: var(--soft); font-size: 13px; }
.level-up { animation: glow 1.6s .4s ease-in-out 2; }
@keyframes glow { 50% { box-shadow: 0 0 0 2px #ff8fb199, 0 0 40px #ff8fb155; } }
.report-daily { display: flex; gap: 8px; color: var(--gold); font-weight: 650; margin: 6px 0; }
.report-timeline { margin: 14px 0; }
.report-section-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.report-section-head h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.report-section-head span { color: var(--dim); font-size: 12px; }
.report-strip { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--veil-2); }
.report-seg { width: var(--w, 0); transition: width 1s var(--out); }
.report-seg[data-kind="fast"] { background: var(--go); } .report-seg[data-kind="slow"] { background: var(--slow); } .report-seg[data-kind="stop"] { background: var(--stop); } .report-seg[data-kind="unknown"] { background: var(--veil-2); }
.report-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; color: var(--dim); font-size: 12px; }
.report-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.report-badges ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.report-badge { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-2); background: #ff8fb112; border: 1px solid #ff8fb133; animation: pop-in .6s var(--spring) both; }
.report-badge strong { display: block; font-family: var(--serif); }
.report-badge small { color: var(--dim); font-size: 12.5px; }
.badge-icon { font-size: 24px; }
.report-goal { display: grid; gap: 8px; color: var(--soft); font-size: 13.5px; margin: 10px 0; }
.goal-bar { display: block; height: 6px; border-radius: 99px; background: var(--veil-2); overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: calc(var(--share, 0) * 100%); background: var(--gold); transition: width 1.2s var(--out); }
.report-totals { color: var(--dim); font-size: 12.5px; margin: 12px 0; }
.report-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.report-actions .button { flex: 1; }
.report-confetti { position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; }

/* ---------- Chat ---------- */
.chat-panel, .room-chat { display: flex; flex-direction: column; min-height: 0; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; }
.chat-head h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.chat-scope { color: var(--dim); font-size: 12px; }
.chat-scroll { flex: 1; overflow-y: auto; min-height: 160px; max-height: 46dvh; padding: 4px 2px; overscroll-behavior: contain; }
.chat-empty { color: var(--dim); font-size: 13.5px; text-align: center; padding: 20px 0; }
.chat-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.chat-log li { display: grid; justify-items: start; gap: 2px; animation: pop-in .35s var(--spring); }
.chat-log li.mine { justify-items: end; }
.chat-bubble { max-width: 82%; padding: 9px 14px; border-radius: 18px 18px 18px 6px; background: var(--ink-3); color: var(--text); font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.mine .chat-bubble { border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, #ff8fb133, #d6a6ff22); color: #fff; }
.emoji-only .chat-bubble { background: none; font-size: 30px; padding: 0 4px; }
.chat-meta, .chat-author { color: var(--dim); font-size: 11px; }
.chat-tag { margin-left: 4px; padding: 0 6px; border-radius: 99px; background: var(--veil-2); font-size: 10.5px; }
.chat-log li.pending .chat-bubble { opacity: .6; }
.chat-log li.failed .chat-bubble { box-shadow: inset 0 0 0 1px var(--danger); }
.chat-retry { color: var(--danger); font-size: 12px; }
.chat-typing { padding: 4px 2px; }
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft); animation: dots 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.chat-chip { flex: none; min-height: 36px; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--hair-2); background: var(--veil); font-size: 13.5px; color: var(--soft); transition: transform .3s var(--spring); }
.chat-chip.fired { animation: sent .5s var(--spring); }
/* The quick rail, the contact reminder and the input each get their own row. */
.chat-form { display: grid; gap: 8px; }
.chat-compose { display: flex; gap: 8px; align-items: center; }
.chat-compose input { flex: 1; min-width: 0; min-height: 46px; border-radius: 99px; padding: 10px 18px; }
.chat-warn { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #ffad6b14; border: 1px solid #ffad6b55; color: #ffd8b5; font-size: 13.5px; line-height: 1.6; animation: pop-in .4s var(--spring); }
.chat-warn-actions { display: flex; gap: 8px; }
.chat-warn-actions .button { flex: 1; min-height: 40px; font-size: 13.5px; }
.chat-tag { color: var(--go); }
.chat-form textarea, .chat-compose textarea { min-height: 46px; max-height: 120px; }
.chat-send { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-grad); color: var(--gold-ink); box-shadow: 0 6px 18px #ff6f9f44; }
.chat-send svg { width: 20px; height: 20px; }
.chat-chip.emoji { min-width: 40px; padding: 4px 8px; font-size: 18px; }
.chat-state, .chat-error, .chat-editor-status, .chat-count { color: var(--dim); font-size: 12px; }
.chat-jump { position: sticky; bottom: 6px; margin: 0 auto; display: block; padding: 6px 14px; border-radius: 99px; background: var(--rose-grad); color: var(--gold-ink); font-size: 12.5px; }
.chat-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--hair-2); border-top-color: var(--gold); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.chat-phrase-editor { display: grid; gap: 10px; }
.chat-editor-actions { display: flex; gap: 8px; }
.friend-chat { display: grid; gap: 10px; }
/* The log scrolls itself, so opening a chat lands on the newest message (friend-chat.js scrolls the log, and the
   dialog around it used to do the scrolling instead, starting at the oldest). */
.friend-chat .chat-log { max-height: min(56dvh, 520px); overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.friend-chat-status, .friend-chat-older { color: var(--dim); font-size: 12.5px; }
.quick-phrases { display: grid; gap: 10px; }
.quick-phrase-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-phrase-status { color: var(--dim); font-size: 12.5px; }

/* ---------- Voice card recorder ---------- */
.voice-sample, .voice-recorder { display: grid; gap: 12px; }
.voice-intro { color: var(--soft); font-size: 14px; }
.voice-meter { height: 8px; border-radius: 99px; background: var(--veil-2); overflow: hidden; }
.voice-meter i, .voice-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--blush), var(--gold)); }
.voice-clock { font-variant-numeric: tabular-nums; color: var(--soft); }
.voice-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--stop); animation: pulse 1.2s infinite; display: inline-block; }
.voice-badge { padding: 2px 10px; border-radius: 99px; background: var(--veil-2); font-size: 12px; }
.voice-current, .voice-draft { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Feedback & report forms ---------- */
.feedback-guide { color: var(--soft); font-size: 13.5px; margin-bottom: 10px; }
.feedback-count { color: var(--dim); font-size: 12px; text-align: right; }
.feedback-author { color: var(--dim); font-size: 12.5px; }
.invite-info, .invite-message { color: var(--soft); font-size: 14px; }
.invite-message-field textarea { min-height: 80px; }

/* ---------- 今晚的声音 (online hall) ---------- */
.view-social[data-view-panel] #online-filters { display: none; }
.hall { position: relative; display: grid; gap: 14px; }
.hall-lights { position: relative; height: 88px; margin: -6px 0 -10px; overflow: hidden; border-radius: var(--r-3); background: radial-gradient(80% 120% at 50% 100%, #ff8fb112, transparent 70%); }
.hall-lights i { --x: 50%; --c: var(--gold); position: absolute; bottom: -10px; left: var(--x); width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 22px var(--c); opacity: 0;
  animation: rise-light 9s ease-in-out infinite; }
.hall-lights i[data-tone="follow"] { --c: var(--blush); }
.hall-lights i[data-tone="soft"] { --c: #f7ede8; width: 5px; height: 5px; }
.hall-lights i:nth-child(7n+1) { --x: 8%; animation-delay: -1s; } .hall-lights i:nth-child(7n+2) { --x: 22%; animation-delay: -4s; animation-duration: 11s; }
.hall-lights i:nth-child(7n+3) { --x: 37%; animation-delay: -7s; } .hall-lights i:nth-child(7n+4) { --x: 51%; animation-delay: -2.5s; animation-duration: 12s; }
.hall-lights i:nth-child(7n+5) { --x: 64%; animation-delay: -5.5s; } .hall-lights i:nth-child(7n+6) { --x: 78%; animation-delay: -8.5s; animation-duration: 10s; }
.hall-lights i:nth-child(7n) { --x: 91%; animation-delay: -3.2s; }
.hall-lights i:nth-child(n+8) { margin-left: 2.5%; } .hall-lights i:nth-child(n+15) { margin-left: -3%; } .hall-lights i:nth-child(n+22) { margin-left: 5%; }
@keyframes rise-light { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .9; } 70% { opacity: .7; } 100% { transform: translateY(-96px) translateX(10px) scale(1); opacity: 0; } }
.hall-head h3 { font-size: 24px; letter-spacing: .1em; }
.hall-head p { color: var(--soft); font-size: 13.5px; margin-top: 2px; }

.vc-orb { --tone: var(--gold); flex: none; position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 34%, #fff8 0%, var(--tone) 40%, color-mix(in srgb, var(--tone) 40%, #000) 100%); box-shadow: 0 0 18px color-mix(in srgb, var(--tone) 55%, transparent); }
.vc-orb i { position: absolute; inset: -6px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tone) 50%, transparent); animation: ring 3.2s ease-out infinite; }
[data-tone="youth"] .vc-orb, .vc-orb[data-tone="youth"] { --tone: #8fd3e8; } [data-tone="yujie"] .vc-orb, .vc-orb[data-tone="yujie"] { --tone: #d97a9e; }
[data-tone="uncle"] .vc-orb, .vc-orb[data-tone="uncle"] { --tone: #e0a96d; } [data-tone="bass"] .vc-orb, .vc-orb[data-tone="bass"] { --tone: #8c8ff0; }
[data-tone="soft"] .vc-orb, .vc-orb[data-tone="soft"] { --tone: #d6a6ff; } [data-tone="girl"] .vc-orb, .vc-orb[data-tone="girl"] { --tone: #ffb3d1; }
[data-tone="boy"] .vc-orb, .vc-orb[data-tone="boy"] { --tone: #9fe6c4; } [data-tone="husky"] .vc-orb, .vc-orb[data-tone="husky"] { --tone: #b8a89a; }
[data-tone="sweet"] .vc-orb, .vc-orb[data-tone="sweet"] { --tone: #ffc89a; } [data-tone="cool"] .vc-orb, .vc-orb[data-tone="cool"] { --tone: #b9d4ff; }

.hall-me { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 16px; border-radius: var(--r-3); border: 1px solid var(--hair); background: linear-gradient(140deg, #ff8fb110, transparent 60%), var(--ink-1); }
.hall-me[data-ready="false"] { border-style: dashed; border-color: #ff8fb155; }
.hall-me-copy small { color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.hall-me-copy strong { display: block; font-family: var(--serif); font-size: 18px; }
.hall-me-copy p { color: var(--soft); font-size: 13px; }
.hall-me-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hall-me-actions .button { min-height: 40px; padding: 8px 16px; font-size: 13.5px; }
.hall-seen { color: var(--dim); font-size: 12.5px; }
.hall-filters { display: grid; gap: 8px; }
.hall-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hall-row::-webkit-scrollbar { display: none; }
.hall-chip { flex: none; min-height: 34px; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--hair-2); background: var(--veil); color: var(--soft); font-size: 13px; transition: all .25s var(--out); }
.hall-chip[aria-pressed="true"] { border-color: var(--gold); background: #ff8fb11f; color: var(--gold-2); }
.hall-row.voices .hall-chip[aria-pressed="true"] { border-color: var(--blush); background: #d6a6ff1a; color: #ffd7e2; }

.voice-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.voice-card { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 10px; padding: 16px; border-radius: var(--r-3); border: 1px solid var(--hair); background: var(--ink-1); animation: rise-in .5s var(--out) both; transition: border-color .3s, transform .4s var(--spring); }
.voice-card[data-source="queue"] { background: linear-gradient(150deg, #ff4f8f0d, transparent 50%), var(--ink-1); }
.voice-card[data-mutual="true"] { border-color: #ff8fb188; box-shadow: 0 0 0 1px #ff8fb144, 0 14px 40px #ff8fb114; }
@media (hover: hover) { .voice-card:hover { border-color: var(--hair-2); transform: translateY(-2px); } }
.vc-top { display: flex; align-items: center; gap: 12px; }
.vc-name { flex: 1; min-width: 0; }
.vc-name strong { display: block; font-family: var(--serif); font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-name small { display: flex; align-items: center; gap: 6px; color: var(--dim); font-size: 12px; }
.vc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--soft); }
.vc-dot[data-source="queue"] { background: var(--go); box-shadow: 0 0 8px var(--go); animation: pulse 2s infinite; }
.vc-hide { width: 30px; height: 30px; border-radius: 50%; color: var(--dim); font-size: 18px; line-height: 1; }
@media (hover: hover) { .vc-hide:hover { background: var(--veil-2); color: var(--text); } }
.vc-mutual { justify-self: start; padding: 3px 12px; border-radius: 99px; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 700; animation: pop-in .6s var(--spring); }
.vc-voice .voice-play { width: 100%; min-height: 42px; }
.vc-novoice { color: var(--dim); font-size: 12.5px; }
.vc-tags, .vc-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-tag { padding: 3px 10px; border-radius: 99px; border: 1px solid #d6a6ff55; color: #ffd7e2; font-size: 12px; }
.vc-word { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: #ff8fb117; color: var(--gold-2); font-size: 12px; }
.vc-word b, .vc-respect b { font-weight: 700; color: var(--text); }
.vc-respect { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: #ff4f8f14; color: #b8f2d6; font-size: 12px; }
.vc-respect::before { content: "✓"; }
.vc-marks:empty { display: none; }
.vc-asks { color: var(--soft); font-size: 12.5px; }
.vc-actions { display: flex; gap: 8px; align-items: center; }
.vc-actions .button { flex: 1; min-height: 42px; padding: 8px 14px; font-size: 14px; }
.vc-like { min-height: 42px; padding: 8px 14px; border-radius: 99px; border: 1px solid #d6a6ff55; color: var(--blush); font-size: 14px; transition: all .25s var(--spring); }
.vc-like[aria-pressed="true"] { background: #d6a6ff22; color: #ffd7e2; }
.vc-like:active { transform: scale(.94); }
.vc-words { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; animation: rise-in .35s var(--out); }
.vc-pick { min-height: 36px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--hair-2); background: var(--veil); color: var(--soft); font-size: 13px; transition: all .2s; }
.vc-pick[aria-pressed="true"] { border-color: var(--blush); background: #d6a6ff22; color: #ffd7e2; }
.vc-pick.clear { color: var(--dim); }
.hall-unhide { justify-self: center; }

/* Boundary question after a round, and the voice-tag picker */
.bound-ask { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-3); border: 1px solid #ff4f8f33; background: #ff4f8f0a; text-align: center; animation: rise-in .6s var(--out); }
.bound-ask p { font-size: 16px; }
.bound-options { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bound-ask small { color: var(--dim); font-size: 12px; }
.chip-button.quiet-danger { color: #ffc2cc; border-color: #ff5c7c44; }
.voice-tag-pick.needed legend { color: var(--blush); animation: ask 1s ease-in-out 2; }
.view-social #social { display: flex; flex-direction: column; }
.view-social #online-options { order: 3; margin-top: 18px; }
.hall-setup { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-2); border: 1px dashed #ff8fb166; background: #ff8fb10d; }
.hall-setup p, .hall-note { color: var(--soft); font-size: 13.5px; }
.hall-setup .button { justify-self: start; min-height: 40px; }
/* 多设备与恢复码 (account.js) */
.me-devices .me-voice-actions .button { min-height: 40px; }
#recovery-revoked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-block: 12px; }
#recovery-rotation p + p { margin-top: 10px; }
.me-recent { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--hair); }
.me-recent > small { color: var(--dim); font-size: 12.5px; }
.me-recent-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.me-recent-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-recent-row span small { margin-left: 8px; color: var(--dim); font-size: 12px; }
.me-recent-row .button { min-height: 34px; padding-inline: 14px; }
.recovery-warning { margin: 10px 0; padding: 10px 14px; border-radius: 14px; background: #ffb86b17; color: #ffd9b0; font-size: 13.5px; }
.recovery-code { margin: 10px 0; padding: 12px 14px; border-radius: 14px; background: #ffffff0d; border: 1px solid var(--hair); }
.recovery-code code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .04em; line-height: 1.7; word-break: break-all; user-select: all; }

/* The hall folds people without a voice card under one button. */
.hall-fold { display: block; width: 100%; margin: 12px 0 8px; padding: 10px 14px; border-radius: 999px; border: 1px dashed var(--hair-2); color: var(--soft); font-size: 13px; text-align: center; }
.hall-fold[aria-expanded="true"] { border-style: solid; }
@media (hover: hover) { .hall-fold:hover { background: var(--veil); color: var(--text); } }
.voice-cards.quiet .voice-card { opacity: .88; }
/* 房间热度: three bars lit by how many are watching. */
.room-heat { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.room-heat i { width: 4px; border-radius: 2px; background: #ffffff26; }
.room-heat i:nth-child(1) { height: 6px; } .room-heat i:nth-child(2) { height: 9px; } .room-heat i:nth-child(3) { height: 12px; }
.room-heat[data-level="1"] i:nth-child(-n+1), .room-heat[data-level="2"] i:nth-child(-n+2), .room-heat[data-level="3"] i { background: linear-gradient(0deg, #ff9a62, #ff2d6a); box-shadow: 0 0 6px #ff4f8f99; }
