:root {
  --violet: #7c3aed;
  --violet-2: #8b5cf6;
  --violet-3: #a78bfa;
  --violet-soft: #ede9fe;
  --ink: #17171a;
  --muted: #8a8a90;
  --paper: #f7f7f8;
  --line: #ebebee;
  --white: #ffffff;
  --gold: #c7a86b;
  --shadow: 0 18px 50px rgba(55, 31, 91, .16);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #17111f;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 20% 15%, #242428 0, transparent 34%), radial-gradient(circle at 85% 80%, #202024 0, transparent 36%), #101012; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--violet-3); outline-offset: 2px; }
img { display: block; max-width: 100%; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.stage { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 78px; padding: 28px; }
.phone { position: relative; width: 390px; height: 844px; flex: 0 0 auto; border-radius: 48px; padding: 9px; background: linear-gradient(145deg, #5c5368, #1b1722 40%, #766984); box-shadow: 0 42px 100px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.08) inset; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 108px; height: 26px; border-radius: 18px; background: #0c0a10; z-index: 55; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 40px; background: var(--paper); }
.home-indicator { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); width: 126px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.86); z-index: 56; pointer-events: none; mix-blend-mode: difference; }
.status-bar { position: absolute; inset: 0 0 auto; height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 4px 24px 0; z-index: 50; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .2px; pointer-events: none; }
.status-bar.on-dark { color: #fff; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.status-icons svg { width: 14px; height: 14px; stroke-width: 2; }
.battery { width: 20px; height: 10px; border: 1.4px solid currentColor; border-radius: 3px; position: relative; }
.battery::before { content: ""; position: absolute; inset: 1.5px; width: 12px; border-radius: 1px; background: currentColor; }
.battery::after { content: ""; position: absolute; right: -3.5px; top: 2.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; }
.app { height: 100%; position: relative; overflow: hidden; }
#sheetRoot { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
#sheetRoot > * { pointer-events: auto; }
.page { position: absolute; inset: 0; display: flex; flex-direction: column; animation: pageIn .32s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: inherit; backdrop-filter: blur(14px); }
.icon-button:active { transform: scale(.94); }
.verified { color: var(--violet-2); display: inline-flex; vertical-align: middle; }
.verified svg { width: 14px; height: 14px; fill: var(--violet-2); stroke: #fff; stroke-width: 1.5; }

/* Recommendation feed */
.home-page { background: var(--paper); color: var(--ink); }
.room-bg { position: absolute; inset: 0; background-size: cover; background-position: center 26%; transition: opacity .45s ease, transform .8s ease; }
.room-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,8,20,.48) 0%, transparent 24%, transparent 43%, rgba(15,9,23,.26) 58%, rgba(14,9,21,.94) 100%); }
.immersive-home { color: #fff; background: #0b0a0d; overflow: hidden; touch-action: pan-y; overscroll-behavior: none; user-select: none; }
.reel-media, .reel-shade { position: absolute; inset: 0; }
.reel-media { overflow: hidden; background: #17151b; }
.reel-media img, .reel-media video { animation: reelIn .38s ease both; }
.reel-media img, .reel-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.reel-media video { cursor: pointer; }
.reel-play-state { position: absolute; z-index: 7; top: 46%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.reel-play-state[hidden] { display: none; }
.reel-pause-icon { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(17,13,22,.34); backdrop-filter: blur(10px); }
.reel-pause-icon i { width: 5px; height: 20px; border-radius: 2px; background: rgba(255,255,255,.92); }
.reel-progress { position: absolute; z-index: 8; left: 0; right: 0; bottom: 82px; height: 2px; background: rgba(255,255,255,.16); pointer-events: none; }
.reel-progress span { display: block; width: 0; height: 100%; background: var(--violet-3); box-shadow: 0 0 8px rgba(167,139,250,.45); }
.reel-heart-burst { position: absolute; z-index: 9; width: 82px; height: 82px; display: grid; place-items: center; transform: translate(-50%,-50%); color: var(--violet-3); pointer-events: none; animation: heartBurst .8s cubic-bezier(.2,.8,.2,1) forwards; }
.reel-heart-burst svg { width: 76px; height: 76px; fill: currentColor; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 7px 16px rgba(76,29,149,.4)); }
@keyframes heartBurst { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.25) rotate(-18deg); } 22% { opacity: 1; transform: translate(-50%,-50%) scale(1.15) rotate(8deg); } 55% { opacity: 1; transform: translate(-50%,-62%) scale(1) rotate(0); } 100% { opacity: 0; transform: translate(-50%,-115%) scale(.85) rotate(0); } }
.reel-shade { pointer-events: none; background: linear-gradient(180deg, rgba(8,6,11,.66) 0%, rgba(8,6,11,.08) 25%, transparent 46%, rgba(8,6,11,.22) 62%, rgba(8,6,11,.94) 100%); }
.feed-live-preview { position: absolute; inset: 0; overflow: hidden; color: #fff; background: #111015; }
.feed-live-preview > video { object-position: center 25%; }
.feed-live-message { position: absolute; z-index: 4; top: 148px; left: 16px; width: min(228px, calc(100% - 102px)); display: flex; flex-direction: column; gap: 3px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(13,11,17,.4); box-shadow: 0 7px 20px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.feed-live-message span { color: rgba(255,255,255,.5); font-size: 7px; letter-spacing: .4px; }
.feed-live-message strong { overflow: hidden; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.feed-live-message small { color: rgba(255,255,255,.62); font-size: 7px; }
.feed-show-guest { position: absolute; z-index: 3; top: 218px; right: 17px; width: 88px; height: 118px; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 12px; background: #25202c; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.feed-show-guest video { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.feed-show-guest span { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 3px; padding: 5px 6px; color: rgba(255,255,255,.86); background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: 7px; }
.feed-show-guest svg { width: 9px; height: 9px; }
.feed-audio-ambient { position: absolute; inset: 0; background: radial-gradient(circle at 78% 24%, rgba(115,72,160,.34), transparent 31%), radial-gradient(circle at 16% 52%, rgba(63,57,77,.34), transparent 38%), linear-gradient(180deg, #1c1822, #0b0a0e 74%); }
.feed-audio-ambient::before, .feed-audio-ambient::after { content: ""; position: absolute; border: 1px solid rgba(196,181,253,.08); border-radius: 50%; }
.feed-audio-ambient::before { top: 126px; right: -128px; width: 290px; height: 290px; }
.feed-audio-ambient::after { bottom: 64px; left: -196px; width: 350px; height: 350px; }
.feed-audio-speaker { position: absolute; z-index: 2; top: 28%; left: 50%; width: calc(100% - 44px); display: flex; align-items: center; gap: 14px; transform: translateX(-50%); }
.feed-audio-avatar { position: relative; width: 74px; height: 74px; flex: 0 0 auto; padding: 4px; border: 1px solid rgba(196,181,253,.58); border-radius: 50%; box-shadow: 0 0 0 7px rgba(167,139,250,.08), 0 9px 28px rgba(0,0,0,.25); }
.feed-audio-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.feed-audio-avatar i { position: absolute; right: -5px; bottom: -4px; padding: 4px 6px; border: 2px solid #211b29; border-radius: 12px; background: #6d42b5; }
.feed-audio-speaker > div { min-width: 0; }
.feed-audio-speaker small { display: block; margin-bottom: 4px; color: #c4b5fd; font-size: 8px; }
.feed-audio-speaker strong { display: block; font-size: 17px; }
.feed-audio-speaker p { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: 9px; }
.feed-audio-seats { position: absolute; z-index: 2; top: 51%; left: 50%; width: calc(100% - 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 10px; transform: translateX(-50%); }
.feed-audio-seat { position: relative; justify-self: center; width: 50px; height: 50px; padding: 3px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.06); }
.feed-audio-seat.speaking { border-color: #b79aef; box-shadow: 0 0 0 5px rgba(167,139,250,.1); }
.feed-audio-seat img, .feed-audio-seat > span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; object-fit: cover; background: #4a4352; font-size: 16px; }
.feed-audio-seat small { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; display: grid; place-items: center; border: 2px solid #211b29; border-radius: 50%; color: rgba(255,255,255,.7); background: #50445f; font-size: 7px; }
.feed-audio-seat i { position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); }
.feed-live-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: #08070a; }
.feed-grid-preview.party4 .feed-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feed-grid-preview.nine .feed-live-grid { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.feed-live-tile { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #29232f; }
.feed-live-tile video { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.feed-live-tile > span { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #4a4352, #211d26); font-size: 24px; font-weight: 700; }
.feed-live-tile.host { outline: 1px solid rgba(196,181,253,.56); outline-offset: -1px; }
.feed-live-tile-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.32), transparent 38%, rgba(0,0,0,.62)); }
.feed-live-tile small { position: absolute; right: 5px; bottom: 6px; left: 5px; display: flex; align-items: center; gap: 3px; overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.feed-live-tile small svg { width: 8px; height: 8px; flex: 0 0 auto; color: #f3dfad; }
.feed-live-tile b { position: absolute; top: 6px; right: 6px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: rgba(13,11,17,.48); backdrop-filter: blur(6px); }
.feed-live-tile b svg { width: 9px; height: 9px; }
.feed-grid-preview .feed-live-message { background: rgba(13,11,17,.56); }
@keyframes reelIn { from { opacity: .55; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
.immersive-home-top { position: absolute; z-index: 6; top: 0; left: 0; right: 0; padding: 58px 18px 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; }
.immersive-home-top .icon-button { position: absolute; top: 58px; right: 18px; width: 34px; height: 34px; background: rgba(20,17,25,.24); }
.immersive-home-top .icon-button svg { width: 20px; height: 20px; }
.immersive-tabs { display: flex; align-items: center; gap: 20px; }
.immersive-tabs button { position: relative; padding: 4px 0 7px; color: rgba(255,255,255,.62); background: transparent; font-size: 15px; font-weight: 600; line-height: 30px; text-shadow: 0 1px 8px rgba(0,0,0,.25); transition: color .2s ease; }
.immersive-tabs button.active { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.6px; }
.immersive-tabs button.active::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 18px; height: 3px; transform: translateX(-50%); border-radius: 3px; background: var(--violet-3); }
.reel-type { position: absolute; z-index: 5; top: 109px; left: 16px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; color: #fff; background: rgba(15,12,20,.34); backdrop-filter: blur(10px); font-size: 9px; font-weight: 600; }
.reel-type.live { border-color: rgba(196,181,253,.4); background: rgba(75,42,129,.58); }
.reel-type i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
.reel-gesture-hint { position: absolute; z-index: 5; top: 108px; left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 20px; color: rgba(255,255,255,.76); background: rgba(15,12,20,.28); backdrop-filter: blur(10px); font-size: 9px; white-space: nowrap; animation: hintFade 5s ease forwards; }
@keyframes hintFade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.reel-position { position: absolute; z-index: 5; top: 151px; right: 16px; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.6); font-size: 9px; }
.reel-position span { width: 16px; height: 1px; background: rgba(255,255,255,.35); }
.reel-rail { position: absolute; z-index: 6; right: 10px; bottom: 105px; display: flex; flex-direction: column; align-items: center; gap: 17px; }
.reel-avatar { position: relative; width: 51px; height: 51px; margin-bottom: 4px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #222; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.reel-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.reel-avatar > span { position: absolute; left: 50%; bottom: -9px; width: 20px; height: 20px; display: grid; place-items: center; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; background: var(--violet); font-size: 15px; line-height: 1; }
.reel-action { width: 50px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; color: #fff; background: transparent; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.reel-action svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.reel-action span { font-size: 10px; }
.reel-action.liked { color: var(--violet-3); }
.reel-action.liked svg { fill: currentColor; }
.reel-copy { position: absolute; z-index: 6; left: 16px; right: 78px; bottom: 103px; min-width: 0; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.reel-author { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 9px; font-size: 14px; font-weight: 800; }
.reel-author .verified svg { width: 14px; height: 14px; }
.reel-author > span:last-child { margin-left: 3px; color: rgba(255,255,255,.65); font-size: 9px; font-weight: 400; }
.reel-copy h1 { max-width: 100%; margin: 0 0 8px; font-size: 20px; line-height: 1.42; letter-spacing: -.2px; }
.reel-copy p { margin: 0 0 9px; color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.65; }
.reel-copy .reel-caption { display: -webkit-box; overflow: hidden; color: rgba(255,255,255,.92); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.reel-topic-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.reel-topic-meta span { padding: 4px 7px; border-radius: 6px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.12); font-size: 9px; }
.reel-tags { margin-bottom: 9px; color: #ddd6fe; font-size: 11px; font-weight: 600; }
.reel-music { display: flex; align-items: center; gap: 6px; overflow: hidden; color: rgba(255,255,255,.68); font-size: 10px; }
.reel-music svg { flex: 0 0 auto; width: 14px; height: 14px; }
.reel-music span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-enter { min-height: 41px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 15px; border-radius: 12px; color: #fff; background: var(--violet); box-shadow: 0 8px 20px rgba(76,29,149,.32); font-size: 12px; font-weight: 700; }
.reel-enter svg { width: 14px; height: 14px; }
.reel-enter[hidden] { display: none; }
.reel-live-entry { min-height: 41px; display: flex; align-items: center; gap: 10px; }
.reel-enter.is-visible { animation: liveEntryIn .28s cubic-bezier(.2,.8,.2,1) both; }
.reel-enter.is-counting { justify-content: flex-start; min-width: 184px; padding: 5px 12px 5px 6px; text-align: left; }
.reel-enter.is-counting strong, .reel-enter.is-counting small { display: block; }
.reel-enter.is-counting strong { font-size: 11px; line-height: 1.4; }
.reel-enter.is-counting small { margin-top: 1px; color: rgba(255,255,255,.72); font-size: 8px; font-weight: 400; }
@keyframes liveEntryIn { from { opacity: 0; transform: translateY(5px) scale(.96); } }
.countdown-ring { position: relative; width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#fff var(--countdown-progress), rgba(255,255,255,.22) 0); }
.countdown-ring::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #7131dc; }
.countdown-ring b { position: relative; color: #fff; font-size: 12px; }
.reel-live-link { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; color: #fff; background: rgba(18,16,23,.7); box-shadow: 0 8px 24px rgba(0,0,0,.18); backdrop-filter: blur(16px); text-align: left; }
.reel-live-link .live-dot { flex: 0 0 auto; background: var(--violet-3); box-shadow: 0 0 0 5px rgba(167,139,250,.15); }
.reel-live-link > span:nth-child(2) { min-width: 0; flex: 1; }
.reel-live-link small { display: block; margin-bottom: 3px; color: rgba(255,255,255,.58); font-size: 8px; }
.reel-live-link strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.reel-live-link b { display: flex; align-items: center; gap: 1px; padding: 6px 7px; border-radius: 8px; background: var(--violet); font-size: 9px; white-space: nowrap; }
.reel-live-link b svg { width: 11px; height: 11px; }
.reel-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; color: #fff; background: radial-gradient(circle at 50% 42%, #292331, #0d0b10 66%); text-align: center; }
.reel-empty strong { font-size: 20px; }
.reel-empty p { margin: 10px 0 22px; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.7; }
@media (max-height: 740px) {
  .reel-copy { bottom: 96px; }
  .reel-copy h1 { font-size: 18px; }
  .reel-copy p { font-size: 11px; }
  .reel-rail { gap: 13px; bottom: 97px; }
  .reel-gesture-hint { display: none; }
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 0 5px rgba(167,139,250,.16); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(167,139,250,0); } }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.72); }
.primary-btn { min-height: 42px; padding: 0 20px; border-radius: 12px; color: #fff; background: var(--violet); font-weight: 700; font-size: 13px; }
.primary-btn:active { transform: translateY(1px) scale(.98); }

/* Bottom navigation */
.bottom-nav { position: absolute; z-index: 12; bottom: 0; left: 0; right: 0; height: 82px; padding: 8px 18px 20px; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(20,13,29,.88); border-top: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(22px); }
.bottom-nav.light { color: var(--muted); background: rgba(255,255,255,.94); border-top-color: var(--line); }
.bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: transparent; color: inherit; font-size: 10px; }
.bottom-nav button svg { width: 21px; height: 21px; }
.bottom-nav button.active { color: var(--violet-3); font-weight: 700; }
.bottom-nav.light button.active { color: var(--violet); }
.bottom-nav .nav-create { gap: 0; transform: translateY(-7px); }
.nav-create-icon { position: relative; width: 44px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #fff; border: 3px solid #26262b; box-shadow: -4px 0 0 var(--violet-3), 4px 0 0 #6d28d9; transition: transform .18s ease, box-shadow .18s ease; }
.nav-create-icon svg { width: 19px; height: 19px; color: #17171a; stroke-width: 2.4; }
.bottom-nav .nav-create:active .nav-create-icon { transform: scale(.92); box-shadow: -2px 0 0 var(--violet-3), 2px 0 0 #6d28d9; }
.bottom-nav.light .nav-create-icon { background: #17171a; border-color: #fff; }
.bottom-nav.light .nav-create-icon svg { color: #fff; }
.nav-badge { position: absolute; margin: -15px 0 0 18px; min-width: 15px; height: 15px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--violet); color: #fff; font-size: 9px; border: 2px solid #fff; }

/* Plaza */
.light-page { background: var(--paper); color: var(--ink); }
.page-header { position: relative; padding: 54px 18px 12px; display: flex; align-items: center; justify-content: center; }
.page-header.compact-header { height: 92px; padding: 54px 18px 0; }
.page-header .icon-button { position: absolute; top: 54px; right: 18px; background: #fff; color: var(--ink); box-shadow: 0 5px 18px rgba(49,29,79,.06); }
.plaza-scroll { padding: 54px 0 96px; }
.search-box { margin: 0 18px 16px; height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-radius: 15px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.search-box svg { width: 18px; height: 18px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-box input::placeholder { color: #aaa3b6; }
.chip-row { display: flex; gap: 8px; padding: 0 18px 19px; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; height: 32px; padding: 0 14px; border-radius: 11px; background: #fff; color: #7c7388; border: 1px solid var(--line); font-size: 12px; }
.chip.active { color: #fff; background: var(--violet); border-color: var(--violet); box-shadow: 0 7px 16px rgba(124,58,237,.2); }
.plaza-fusion-intro { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 18px 15px; padding: 12px 13px; border: 1px solid #e7ddf8; border-radius: 15px; background: linear-gradient(115deg, #f2ecff, #fff 72%); }
.plaza-fusion-intro > div { min-width: 0; display: flex; align-items: center; gap: 10px; }
.plaza-fusion-intro .live-dot { width: 6px; height: 6px; flex: 0 0 auto; background: var(--violet); box-shadow: 0 0 0 5px rgba(124,58,237,.1); }
.plaza-fusion-intro strong, .plaza-fusion-intro small { display: block; }
.plaza-fusion-intro strong { margin-bottom: 3px; color: #4c2b79; font-size: 12px; letter-spacing: .2px; }
.plaza-fusion-intro small { overflow: hidden; color: #8c7b9e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.plaza-fusion-intro > b { flex: 0 0 auto; color: var(--violet); font-size: 8px; font-weight: 700; }
.plaza-story-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; padding: 0 18px; }
.plaza-story-column { min-width: 0; display: flex; flex-direction: column; gap: 13px; }
.plaza-story-column:nth-child(2) { padding-top: 30px; }
.plaza-story { min-width: 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(48,29,75,.07); }
.story-media { position: relative; width: 100%; aspect-ratio: .9; display: block; overflow: hidden; padding: 0; background: #ddd4e8; }
.story-media-short { aspect-ratio: 1.04; }
.story-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; transition: transform .45s ease; }
.story-media:active > img { transform: scale(1.025); }
.story-media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,10,25,.05), transparent 52%, rgba(17,10,25,.48)); pointer-events: none; }
.story-badge { position: absolute; z-index: 2; top: 9px; left: 9px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; color: #fff; background: rgba(22,16,29,.48); backdrop-filter: blur(9px); font-size: 8px; font-weight: 700; }
.story-badge-live { border-color: rgba(196,181,253,.42); background: rgba(109,40,217,.88); }
.story-badge i { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
.story-room-type { position: absolute; z-index: 2; left: 9px; bottom: 9px; max-width: 58%; overflow: hidden; padding: 4px 6px; border-radius: 6px; color: rgba(255,255,255,.92); background: rgba(20,12,30,.42); backdrop-filter: blur(8px); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.story-viewers, .story-duration { position: absolute; z-index: 2; right: 9px; bottom: 9px; display: inline-flex; align-items: center; gap: 3px; color: #fff; font-size: 8px; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.story-viewers svg { width: 11px; height: 11px; }
.story-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 40px; height: 40px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: #fff; background: rgba(20,14,28,.24); backdrop-filter: blur(8px); }
.story-play svg { width: 19px; height: 19px; margin-left: 2px; fill: currentColor; stroke-width: 1.2; }
.story-body { padding: 10px 10px 11px; }
.story-author { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.story-author > img { width: 29px; height: 29px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.story-author > span { min-width: 0; }
.story-author strong { display: flex; align-items: center; gap: 2px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.story-author .verified svg { width: 11px; height: 11px; flex: 0 0 auto; }
.story-author small { display: block; margin-top: 2px; overflow: hidden; color: #a19aa8; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.story-body h3 { display: -webkit-box; min-height: 32px; margin: 0 0 5px; overflow: hidden; font-size: 12px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.story-body > p { display: -webkit-box; min-height: 28px; margin: 0 0 8px; overflow: hidden; color: #746d7b; font-size: 9px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.story-tags { display: flex; gap: 5px; margin-bottom: 10px; overflow: hidden; }
.story-tags span { flex: 0 0 auto; max-width: 48%; overflow: hidden; padding: 3px 5px; border-radius: 5px; color: #8a6caf; background: #f5f0fc; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.story-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.story-actions button { min-width: 0; height: 31px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; border-radius: 9px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.story-actions button svg { width: 12px; height: 12px; }
.story-live-action { color: #fff; background: var(--violet); box-shadow: 0 4px 10px rgba(124,58,237,.2); }
.story-live-action .live-dot { width: 4px; height: 4px; flex: 0 0 auto; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.story-short-action { color: #6d528b; background: #f0eaf8; }
.story-short-action svg { fill: currentColor; stroke-width: 1.2; }
.discover-empty { margin: 30px 18px; padding: 35px 20px; border: 1px dashed #ddd4e8; border-radius: 18px; color: var(--muted); background: #fff; font-size: 12px; text-align: center; }
.discover-end { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 25px 0 8px; color: #b0a8b8; font-size: 9px; letter-spacing: .5px; }
.discover-end svg { width: 12px; height: 12px; color: #c4b5fd; }

.section-title { display: flex; align-items: center; justify-content: space-between; padding: 0 19px 11px; }
.section-title h2 { margin: 0; font-size: 16px; }
.section-title span { color: var(--muted); font-size: 11px; }

/* Room */
.room-page { color: #fff; background: #17101f; }
.room-top { position: relative; z-index: 4; padding: 52px 15px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.room-host { display: flex; align-items: center; gap: 9px; }
.room-host .avatar { width: 43px; height: 43px; }
.room-host-name { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.room-host-meta { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 10px; }
.follow-btn { height: 29px; margin-left: 4px; padding: 0 12px; border-radius: 10px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; }
.follow-btn.followed { background: rgba(255,255,255,.16); color: rgba(255,255,255,.8); }
.room-actions { display: flex; align-items: center; gap: 8px; }
.viewer-pill { display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 9px; border-radius: 12px; background: rgba(20,12,30,.34); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); font-size: 10px; }
.viewer-pill svg { width: 14px; height: 14px; }
.room-audience-button { flex: 0 0 auto; height: 32px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: rgba(255,255,255,.88); background: rgba(20,12,30,.34); backdrop-filter: blur(12px); font-size: 8px; white-space: nowrap; }
.room-audience-button svg { width: 13px; height: 13px; }
.room-viewer-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; }
.date-viewer-host, .audio-viewer-host, .party-viewer-host, .room-host { flex: 1; min-width: 0; }
.room-gift-ranking { flex: 0 0 auto; width: max-content; display: flex; align-items: center; margin: 0; padding: 2px 0; border: 0; color: rgba(255,255,255,.76); background: transparent; }
.gift-rank-avatars { display: flex; align-items: center; }
.gift-rank-avatar { position: relative; width: 20px; height: 20px; display: block; margin-left: -5px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: #443b4d; }
.gift-rank-avatar:first-child { margin-left: 0; }
.gift-rank-avatar img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.gift-rank-avatar i { position: absolute; right: -4px; bottom: -3px; min-width: 9px; height: 9px; display: grid; place-items: center; border-radius: 5px; color: #4a3600; background: #f4d27a; font-size: 5.5px; font-style: normal; font-weight: 800; }
.gift-rank-avatar.rank-2 i { color: #3e4654; background: #dce2eb; }
.gift-rank-avatar.rank-3 i { color: #5a3525; background: #e4b191; }
.room-close { background: rgba(20,12,30,.34); }
.room-links { position: relative; z-index: 3; margin: 12px 15px 0; display: flex; align-items: center; gap: 8px; }
.room-ranking { width: fit-content; padding: 7px 10px; border-radius: 10px; background: rgba(25,15,38,.32); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82); font-size: 10px; backdrop-filter: blur(10px); }
.room-short-link { height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border-radius: 10px; color: #fff; background: rgba(20,20,24,.36); border: 1px solid rgba(255,255,255,.14); font-size: 10px; backdrop-filter: blur(10px); }
.room-short-link svg { width: 13px; height: 13px; color: var(--violet-3); }
.room-chat { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 91px; display: flex; flex-direction: column; gap: 7px; pointer-events: none; }
.chat-line { width: fit-content; max-width: 86%; padding: 7px 10px; border-radius: 11px; background: rgba(18,11,27,.32); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(9px); font-size: 10px; line-height: 1.45; color: rgba(255,255,255,.85); animation: chatIn .25s ease both; }
.chat-line strong { color: #d8c8ff; font-weight: 600; }
.chat-line.join { color: rgba(255,255,255,.58); background: transparent; border-color: transparent; padding-left: 2px; }
@keyframes chatIn { from { opacity: 0; transform: translateY(5px); } }
.room-toolbar { position: absolute; z-index: 6; bottom: 18px; left: 14px; right: 14px; display: flex; align-items: center; gap: 9px; }
.room-input { flex: 1; min-width: 0; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border-radius: 15px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(14px); color: rgba(255,255,255,.65); font-size: 11px; }
.room-input svg { width: 17px; height: 17px; }
.room-input input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 11px; }
.room-input input::placeholder { color: rgba(255,255,255,.58); }
.room-tool { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(14px); }
.room-tool.gift { background: linear-gradient(135deg, #a78bfa, #7c3aed); border-color: rgba(255,255,255,.18); }
.room-tool.liked { color: #c4b5fd; }
.room-tool.liked svg { fill: currentColor; }
.floating-heart { position: absolute; z-index: 7; right: 68px; bottom: 86px; color: #c4b5fd; font-size: 22px; pointer-events: none; animation: heartFly 1.1s ease-out forwards; }
@keyframes heartFly { 0% { opacity: 0; transform: translateY(0) scale(.5) rotate(-10deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-170px) translateX(-26px) scale(1.3) rotate(14deg); } }

/* Short video */
.short-page { color: #fff; background: #100a16; overflow: hidden; }
.short-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #17101f; }
.short-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,7,17,.6), transparent 23%, transparent 53%, rgba(12,7,17,.2) 65%, rgba(12,7,17,.94) 100%); }
.short-top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; padding: 55px 15px 0; display: flex; align-items: center; justify-content: space-between; }
.short-tabs { display: flex; align-items: center; gap: 18px; font-size: 14px; color: rgba(255,255,255,.62); }
.short-tabs button { padding: 5px 0; background: transparent; color: inherit; position: relative; }
.short-tabs button.active { color: #fff; font-weight: 700; }
.short-tabs button.active::after { content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 16px; height: 3px; border-radius: 3px; background: var(--violet-3); }
.short-play { position: absolute; z-index: 5; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(22,13,32,.36); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.short-play svg { width: 28px; height: 28px; margin-left: 3px; }
.short-rail { position: absolute; z-index: 5; right: 12px; bottom: 107px; display: flex; flex-direction: column; align-items: center; gap: 17px; }
.short-avatar { position: relative; width: 51px; height: 51px; margin-bottom: 3px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; }
.short-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.short-follow { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--violet); font-size: 15px; line-height: 1; border: 2px solid rgba(255,255,255,.8); }
.short-action { width: 48px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; background: transparent; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.short-action svg { width: 30px; height: 30px; stroke-width: 1.7; filter: drop-shadow(0 2px 5px rgba(0,0,0,.25)); }
.short-action span { font-size: 10px; }
.short-action.liked { color: #c4b5fd; }
.short-action.liked svg { fill: currentColor; }
.short-music span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: conic-gradient(#2b2b30, #55555d, #2b2b30); font-size: 17px; animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.short-live-cta { position: absolute; z-index: 6; left: 16px; right: 78px; bottom: 246px; min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; color: #fff; text-align: left; background: rgba(18,18,22,.76); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 24px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.short-live-cta .live-dot { flex: 0 0 auto; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.14); }
.short-live-copy { min-width: 0; flex: 1; }
.short-live-copy small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.65); font-size: 9px; }
.short-live-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.short-live-go { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; padding: 6px 8px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 10px; font-weight: 700; }
.short-live-go svg { width: 12px; height: 12px; }
.short-copy { position: absolute; z-index: 5; left: 17px; right: 78px; bottom: 103px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.short-author { margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.short-author .verified svg { width: 13px; height: 13px; }
.short-copy p { margin: 0 0 8px; font-size: 12px; line-height: 1.65; }
.short-tags { margin-bottom: 10px; color: rgba(255,255,255,.88); font-size: 11px; }
.short-music-line { display: flex; align-items: center; gap: 7px; font-size: 10px; color: rgba(255,255,255,.72); }
.short-music-line svg { width: 14px; height: 14px; }
.short-progress { position: absolute; z-index: 13; left: 0; right: 0; bottom: 82px; height: 2px; background: rgba(255,255,255,.14); }
.short-progress span { display: block; width: 0; height: 100%; background: var(--violet-3); }
.short-tap-zone { position: absolute; z-index: 2; inset: 0; background: transparent; }
.short-comments { max-height: 320px; overflow-y: auto; scrollbar-width: none; }
.short-comment { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
.short-comment strong { grid-column: 1; color: #7c6b92; font-size: 11px; }
.short-comment p { grid-column: 1 / -1; margin: 5px 0 0; font-size: 12px; line-height: 1.55; }
.short-comment small { grid-column: 2; grid-row: 1; color: #b2aaba; font-size: 9px; }
.short-comment-form { display: flex; gap: 8px; margin-top: 15px; }
.short-comment-form input { flex: 1; min-width: 0; height: 42px; padding: 0 13px; border-radius: 13px; border: 1px solid var(--line); background: var(--paper); outline: 0; font-size: 12px; }
.short-comment-form button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--violet); }

/* Messages */
.message-tabs { display: flex; gap: 22px; padding: 0 19px 14px; border-bottom: 1px solid var(--line); }
.message-tabs button { position: relative; padding: 4px 0; background: transparent; color: var(--muted); font-size: 13px; }
.message-tabs button.active { color: var(--violet); font-weight: 700; }
.message-tabs button.active::after { content: ""; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); width: 18px; height: 3px; border-radius: 3px; background: var(--violet); }
.message-list { padding: 8px 18px 95px; }
.message-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 0; background: transparent; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink); }
.message-avatar { position: relative; flex: 0 0 auto; width: 51px; height: 51px; border-radius: 17px; object-fit: cover; }
.message-avatar-wrap { position: relative; flex: 0 0 auto; width: 51px; height: 51px; }
.message-avatar-wrap .message-avatar { display: block; width: 100%; height: 100%; }
.message-avatar.gradient { display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 700; background: linear-gradient(135deg, #8b5cf6, #c4b5fd); }
.online-dot { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border: 2px solid var(--paper); border-radius: 50%; background: #34d399; }
.message-main { min-width: 0; flex: 1; }
.message-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.message-name time { color: #aaa2b4; font-size: 9px; font-weight: 400; }
.message-preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 11px; }
.unread { flex: 0 0 auto; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 9px; background: var(--violet); color: #fff; font-size: 9px; }
.notice-card { width: calc(100% - 36px); margin: 14px 18px; padding: 15px; border-radius: 16px; color: var(--ink); background: linear-gradient(135deg, #f2ebff, #fff); border: 1px solid #e4d8f7; text-align: left; }
.notice-live-label { display: flex; align-items: center; gap: 6px; color: var(--violet); font-size: 9px; font-weight: 700; letter-spacing: .4px; }
.notice-card > strong { display: block; margin: 8px 0 10px; font-size: 14px; line-height: 1.5; }
.notice-card-bottom { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.notice-card-bottom svg { width: 14px; height: 14px; color: var(--violet); }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--violet); }
.message-tabs button { position: relative; }
.tab-dot { position: absolute; top: 2px; right: -7px; width: 5px; height: 5px; border-radius: 50%; background: var(--violet); }
.interaction-icon { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: var(--violet); background: var(--violet-soft); }
.interaction-icon svg { width: 15px; height: 15px; }
.interaction-item .message-avatar { width: 42px; height: 42px; border-radius: 14px; }
.interaction-unread { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }

/* Chat */
.chat-page { background: #fff; }
.chat-header { padding: 52px 15px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.chat-header .icon-button { background: var(--paper); }
.chat-header-main { flex: 1; }
.chat-header-main strong { display: block; font-size: 14px; }
.chat-header-main small { color: #34a876; font-size: 9px; }
.chat-thread { flex: 1; padding: 18px 15px; overflow-y: auto; background: #fbf9fd; }
.chat-day { text-align: center; color: #b0a8ba; font-size: 9px; margin-bottom: 17px; }
.bubble-row { display: flex; gap: 8px; margin-bottom: 13px; }
.bubble-row.me { justify-content: flex-end; }
.bubble-row img { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; }
.bubble { max-width: 72%; padding: 10px 12px; border-radius: 15px 15px 15px 5px; background: #fff; box-shadow: 0 3px 12px rgba(48,29,75,.05); font-size: 12px; line-height: 1.6; }
.me .bubble { color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); border-radius: 15px 15px 5px 15px; }
.chat-compose { display: flex; gap: 9px; padding: 11px 14px 25px; border-top: 1px solid var(--line); background: #fff; }
.chat-compose input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); outline: 0; font-size: 12px; }
.chat-compose button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--violet); color: #fff; }
.chat-typing { display: flex; gap: 4px; width: fit-content; margin: 10px 0 0 48px; padding: 10px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.chat-typing[hidden] { display: none; }
.chat-typing span { width: 5px; height: 5px; border-radius: 50%; background: #b8a9ca; animation: typingBounce 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .12s; }
.chat-typing span:nth-child(3) { animation-delay: .24s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }

/* Me */
.me-scroll { padding-bottom: 96px; }
.me-cover { height: 150px; position: relative; overflow: hidden; background: #18181c; }
.me-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--violet); }
.me-cover::after { display: none; }
.me-top { position: relative; z-index: 2; padding: 54px 18px 0; display: flex; align-items: center; justify-content: flex-end; color: #fff; }
.me-top .icon-button { background: rgba(255,255,255,.14); }
.me-identity { position: relative; z-index: 3; margin: -43px 18px 0; padding: 18px; border-radius: 23px; background: #fff; box-shadow: var(--shadow); }
.me-profile-row { display: flex; align-items: center; gap: 13px; }
.me-avatar { width: 66px; height: 66px; overflow: hidden; border-radius: 20px; background: #242429; border: 3px solid #ede9fe; }
.me-avatar img { width: 100%; height: 100%; object-fit: cover; }
.me-profile-copy { flex: 1; }
.me-profile-copy h2 { margin: 0 0 5px; font-size: 18px; }
.me-profile-copy p { margin: 0; color: var(--muted); font-size: 10px; }
.me-edit { padding: 7px 11px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); font-size: 10px; font-weight: 700; }
.me-bio { margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.me-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.me-stats button { text-align: center; border-right: 1px solid var(--line); background: transparent; }
.me-stats button:last-child { border-right: 0; }
.me-stats strong { display: block; font-size: 16px; }
.me-stats span { color: var(--muted); font-size: 9px; }
.me-content-dock { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 18px 0; overflow: hidden; border: 1px solid #ece5f3; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(48,29,75,.05); }
.me-content-dock button { position: relative; min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: transparent; border-right: 1px solid var(--line); }
.me-content-dock button:last-child { border-right: 0; }
.me-content-dock button > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-soft); }
.me-content-dock button svg { width: 15px; height: 15px; }
.me-content-dock strong { font-size: 11px; }
.me-content-dock small { min-width: 18px; padding: 1px 5px; border-radius: 7px; color: var(--muted); background: #f3f0f6; font-size: 8px; }
.profile-content-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 18px 14px; padding: 4px; border-radius: 14px; background: #ece9f0; }
.profile-content-tabs button { height: 35px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; color: #83798e; background: transparent; font-size: 11px; font-weight: 700; }
.profile-content-tabs button.active { color: var(--violet); background: #fff; box-shadow: 0 4px 12px rgba(61,35,89,.08); }
.profile-content-tabs small { min-width: 16px; padding: 1px 4px; border-radius: 6px; color: #8b8196; background: rgba(124,58,237,.08); font-size: 8px; }
.profile-content-tabs button.active small { color: #fff; background: var(--violet); }
.profile-content-scroll { padding: 0 18px 28px; }
.profile-content-summary { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 11px; }
.profile-content-summary strong { font-size: 13px; }
.profile-content-summary span { color: var(--muted); font-size: 9px; }
.profile-content-list { display: flex; flex-direction: column; gap: 9px; }
.profile-content-row { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #eee8f4; border-radius: 16px; background: #fff; }
.profile-row-main { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0; background: transparent; text-align: left; }
.profile-row-main > img { width: 58px; height: 74px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: #e8e2ee; }
.profile-row-main > span { min-width: 0; flex: 1; }
.profile-row-main strong { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.profile-row-main small { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.profile-row-main em { display: flex; align-items: center; gap: 3px; margin-top: 7px; overflow: hidden; color: #8a8094; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.profile-row-main em svg { width: 11px; height: 11px; flex: 0 0 auto; }
.profile-row-main em i { margin: 0 2px; color: #c2bacb; font-style: normal; }
.profile-row-action { flex: 0 0 auto; height: 30px; padding: 0 9px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); font-size: 9px; font-weight: 700; }
.favorite-row .profile-row-main > img { width: 52px; height: 52px; border-radius: 50%; }
.favorite-row .profile-row-main em { display: block; }
.profile-row-buttons { flex: 0 0 auto; display: flex; flex-direction: column; gap: 5px; }
.profile-row-buttons button { min-width: 48px; height: 25px; padding: 0 7px; border-radius: 7px; color: var(--violet); background: var(--violet-soft); font-size: 8px; font-weight: 700; }
.profile-row-buttons button.active { color: #8b8196; background: #f1eef4; }
.profile-row-like { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #b5aebd; background: #f4f1f6; }
.profile-row-like svg { width: 16px; height: 16px; }
.profile-row-like.active { color: #e34b78; background: #fff0f4; }
.profile-row-like.active svg { fill: currentColor; }
.profile-content-empty { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 24px; border: 1px dashed #ddd4e8; border-radius: 18px; background: #fff; text-align: center; }
.profile-content-empty > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; color: var(--violet); background: var(--violet-soft); }
.profile-content-empty svg { width: 24px; height: 24px; }
.profile-content-empty h3 { margin: 16px 0 7px; font-size: 15px; }
.profile-content-empty p { max-width: 240px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.profile-content-empty .primary-btn { width: auto; min-width: 132px; margin-top: 18px; padding: 0 18px; }
.me-works { margin: 20px 18px 0; }
.me-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.me-section-head h3 { margin: 0; font-size: 15px; }
.me-section-head > span { color: var(--muted); font-size: 9px; }
.me-works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.me-work-card { position: relative; aspect-ratio: .76; overflow: hidden; padding: 0; border-radius: 12px; color: #fff; background: #1d1b21; text-align: left; }
.me-work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 48%, rgba(10,8,13,.82)); }
.me-work-card img { width: 100%; height: 100%; object-fit: cover; }
.me-work-card > span { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 22px; display: -webkit-box; overflow: hidden; font-size: 9px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.me-work-card small { position: absolute; z-index: 2; left: 8px; bottom: 7px; display: flex; align-items: center; gap: 3px; font-size: 8px; }
.me-work-card small svg { width: 11px; height: 11px; }
.me-works-empty { width: 100%; min-height: 70px; display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px dashed #d9d1e3; border-radius: 15px; color: var(--ink); background: #fff; text-align: left; }
.me-works-empty > span:first-child { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--violet); background: var(--violet-soft); }
.me-works-empty > span:nth-child(2) { flex: 1; }
.me-works-empty strong, .me-works-empty small { display: block; }
.me-works-empty strong { margin-bottom: 4px; font-size: 12px; }
.me-works-empty small { color: var(--muted); font-size: 9px; }
.me-works-empty > svg { width: 15px; height: 15px; color: #b5aebd; }
.menu-group { margin: 0 18px 13px; overflow: hidden; border-radius: 18px; background: #fff; }
.menu-item { width: 100%; min-height: 53px; display: flex; align-items: center; gap: 12px; padding: 0 15px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }
.menu-item:last-child { border-bottom: 0; }
.menu-item > svg:first-child { width: 19px; height: 19px; color: var(--violet); }
.menu-item span { flex: 1; }
.menu-item > svg:last-child { width: 14px; height: 14px; color: #b5aebd; }
.menu-item small { color: var(--muted); font-size: 9px; }

/* Creator and host workflow */
.me-top-actions { display: flex; align-items: center; gap: 8px; margin-left: 0; }
.sub-page { background: var(--paper); }
.sub-header { flex: 0 0 auto; padding: 53px 15px 12px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; }
.sub-header h1 { margin: 0; text-align: center; font-size: 17px; }
.sub-header > span { text-align: right; color: var(--muted); font-size: 10px; }
.sub-header .icon-button { width: 34px; height: 34px; color: var(--ink); background: #fff; box-shadow: 0 4px 14px rgba(20,20,24,.05); }
.creator-scroll, .apply-scroll, .room-select-scroll, .live-summary-scroll { padding-bottom: 28px; }
.creator-hero { margin: 4px 16px 20px; padding: 20px; border-radius: 18px; color: #fff; background: #19191d; }
.creator-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.creator-badge { color: #c7b4ee; font-size: 9px; letter-spacing: 1.6px; }
.creator-status { padding: 5px 8px; border-radius: 7px; color: #d3d3d7; background: rgba(255,255,255,.08); font-size: 9px; }
.creator-status.approved { color: #fff; background: var(--violet); }
.creator-status.pending { color: #f0dfb7; background: rgba(199,168,107,.16); }
.creator-hero h2 { margin: 23px 0 9px; font-size: 24px; line-height: 1.35; letter-spacing: -.4px; }
.creator-hero p { margin: 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.7; }
.creator-main-btn { width: 100%; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.creator-main-btn svg { width: 17px; height: 17px; }
.creator-section { padding-top: 4px; }
.creator-steps { margin: 0 18px; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.creator-steps > div { min-height: 68px; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 11px; align-content: center; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.creator-steps > div:last-child { border-bottom: 0; }
.creator-steps > div > span { grid-row: 1 / 3; align-self: center; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-soft); font-size: 11px; font-weight: 700; }
.creator-steps strong { font-size: 12px; }
.creator-steps small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.creator-notice { margin: 14px 18px; display: flex; gap: 10px; padding: 13px 14px; border-radius: 14px; color: #67636d; background: #fff; border: 1px solid var(--line); }
.creator-notice > svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--violet); }
.creator-notice strong { display: block; margin-bottom: 4px; font-size: 11px; }
.creator-notice p { margin: 0; font-size: 10px; line-height: 1.55; }
.review-card { margin: 0 18px; padding: 5px 15px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.review-row { position: relative; display: flex; gap: 12px; min-height: 72px; padding: 14px 0; }
.review-row > span { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #999; background: #f0f0f2; font-size: 10px; font-weight: 700; }
.review-row.done > span, .review-row.current > span { color: #fff; background: var(--violet); }
.review-row strong { display: block; margin-bottom: 5px; font-size: 12px; }
.review-row small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.creator-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 18px 20px; padding: 16px 0; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.creator-stats div { text-align: center; border-right: 1px solid var(--line); }
.creator-stats div:last-child { border-right: 0; }
.creator-stats strong { display: block; margin-bottom: 5px; font-size: 19px; }
.creator-stats span { color: var(--muted); font-size: 9px; }
.apply-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 0 18px 16px; }
.apply-progress span { height: 3px; border-radius: 3px; background: #e2e2e6; }
.apply-progress span.active { background: var(--violet); }
.form-title { padding: 3px 19px 14px; }
.form-title h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.3px; }
.form-title p { margin: 0; color: var(--muted); font-size: 11px; }
.form-card { margin: 0 18px 15px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.form-label { position: relative; display: block; margin-bottom: 16px; color: #5e5a65; font-size: 11px; }
.form-label:last-child { margin-bottom: 0; }
.form-input { width: 100%; height: 43px; margin-top: 8px; padding: 0 12px; border-radius: 11px; border: 1px solid #e4e4e8; outline: 0; color: var(--ink); background: #fafafa; font-size: 12px; }
.form-input:focus { border-color: var(--violet-3); background: #fff; }
.form-textarea { height: 90px; padding-top: 11px; resize: vertical; line-height: 1.6; }
.form-counter { margin-top: -9px; text-align: right; color: #aaa; font-size: 9px; }
.apply-footer { flex: 0 0 auto; display: grid; grid-template-columns: .8fr 1.4fr; gap: 10px; padding: 12px 18px calc(22px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.apply-footer .secondary-btn, .apply-footer .primary-btn { min-height: 45px; }
.certification-card { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upload-card { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 9px; border-radius: 14px; color: var(--ink); background: #fafafa; border: 1px dashed #d8d8de; text-align: center; }
.upload-card.done { background: #fbf9ff; border-style: solid; border-color: #d8c9f5; }
.upload-icon { width: 43px; height: 43px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 13px; color: var(--violet); background: var(--violet-soft); }
.upload-icon svg { width: 21px; height: 21px; }
.upload-card strong { margin-bottom: 6px; font-size: 11px; }
.upload-card small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.agreement-card label { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.agreement-card label:last-child { border-bottom: 0; }
.agreement-card input { margin-top: 2px; accent-color: var(--violet); }
.agreement-card strong { display: block; margin-bottom: 5px; font-size: 12px; }
.agreement-card small { color: var(--muted); font-size: 10px; line-height: 1.55; }
.review-summary { margin: 0 18px; padding: 14px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.review-summary strong { font-size: 11px; }
.review-summary p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.room-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 18px 18px; }
.room-type-card { position: relative; min-height: 145px; display: flex; flex-direction: column; align-items: flex-start; padding: 15px; border-radius: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); text-align: left; }
.room-type-card.selected { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet) inset; }
.room-type-icon { width: 35px; height: 35px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 11px; color: #65616c; background: #f1f1f3; }
.room-type-card.selected .room-type-icon { color: var(--violet); background: var(--violet-soft); }
.room-type-icon svg { width: 18px; height: 18px; }
.room-type-card strong { margin-bottom: 5px; font-size: 13px; }
.room-type-card small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.room-type-card em { margin-top: auto; padding-top: 10px; color: #a09aa7; font-size: 9px; font-style: normal; }
.room-draft-card { margin-top: 0; }
.cover-row { display: flex; gap: 8px; margin-top: 9px; }
.cover-option { width: 51px; height: 68px; padding: 2px; overflow: hidden; border-radius: 10px; background: transparent; border: 2px solid transparent; }
.cover-option.selected { border-color: var(--violet); }
.cover-option img { width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }
.segment-control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 9px; padding: 4px; border-radius: 11px; background: #f0f0f2; }
.segment-control button { height: 32px; border-radius: 8px; color: #77727f; background: transparent; font-size: 10px; }
.segment-control button.active { color: var(--ink); background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.05); font-weight: 700; }
.room-type-summary { margin: 0 18px; display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 14px; color: #fff; background: #202025; }
.room-type-summary > svg { width: 20px; height: 20px; color: var(--violet-3); }
.room-type-summary strong { display: block; margin-bottom: 4px; font-size: 11px; }
.room-type-summary small { color: rgba(255,255,255,.56); font-size: 9px; }
.preflight-page, .hosting-page { color: #fff; background: #111114; overflow: hidden; }
.preflight-video, .hosting-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.preflight-shade, .hosting-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.65), transparent 28%, transparent 50%, rgba(10,10,12,.92)); }
.preflight-header { position: relative; z-index: 3; padding: 53px 15px 0; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; }
.preflight-header .icon-button { color: #fff; background: rgba(255,255,255,.12); }
.preflight-header > div { text-align: center; }
.preflight-header strong { display: block; font-size: 14px; }
.preflight-header small { display: block; margin-top: 4px; color: rgba(255,255,255,.58); font-size: 9px; }
.preflight-center { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 302px; text-align: center; }
.preflight-ready { display: inline-block; padding: 6px 10px; border-radius: 8px; color: #e9defc; background: rgba(124,58,237,.36); border: 1px solid rgba(196,181,253,.28); font-size: 10px; }
.preflight-ready.not-ready { color: #fff; background: rgba(30,30,34,.72); border-color: rgba(255,255,255,.2); }
.primary-btn.not-ready { opacity: .48; }
.preflight-center h1 { margin: 15px 0 9px; font-size: 22px; line-height: 1.4; text-shadow: 0 3px 16px rgba(0,0,0,.45); }
.preflight-center p { margin: 0; color: rgba(255,255,255,.65); font-size: 11px; }
.device-checks { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 155px; padding: 4px 15px; border-radius: 16px; background: rgba(20,20,24,.66); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.device-checks > div { min-height: 46px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.device-checks > div:last-child { border-bottom: 0; }
.device-checks > div > span { color: #c4b5fd; font-size: 12px; }
.device-checks > div.warning > span { color: #e8b45d; }
.device-checks > div.warning { color: #e8d4b4; }
.device-checks button, .device-checks small { margin-left: auto; padding: 5px 8px; border-radius: 7px; color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); font-size: 9px; }
.preflight-footer { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: calc(28px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: .8fr 1.3fr; gap: 10px; }
.preflight-footer .secondary-btn { color: #fff; background: rgba(255,255,255,.12); }
.hosting-top { position: relative; z-index: 4; padding: 53px 15px 0; display: flex; align-items: center; justify-content: space-between; }
.hosting-live { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 10px; background: rgba(20,20,24,.4); border: 1px solid rgba(255,255,255,.12); }
.hosting-live strong { font-size: 10px; }
.hosting-live small { color: rgba(255,255,255,.66); font-size: 9px; font-variant-numeric: tabular-nums; }
.hosting-stats { display: flex; align-items: center; gap: 8px; }
.hosting-stats > span { height: 32px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border-radius: 10px; background: rgba(20,20,24,.4); font-size: 9px; }
.hosting-stats svg { width: 14px; height: 14px; }
.hosting-stats .icon-button { color: #fff; background: rgba(20,20,24,.4); }
.hosting-info { position: relative; z-index: 3; margin: 15px; }
.hosting-info strong { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.hosting-info > span { display: block; margin-top: 5px; color: rgba(255,255,255,.62); font-size: 9px; }
.hosting-info p { width: fit-content; max-width: 260px; margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(20,20,24,.34); font-size: 10px; line-height: 1.5; }
.hosting-seats { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 185px; display: flex; justify-content: center; gap: 8px; }
.hosting-seat { width: 50px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 13px; color: #fff; background: rgba(20,20,24,.34); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.hosting-seat > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 12px; }
.hosting-seat small { color: rgba(255,255,255,.62); font-size: 7px; }
.hosting-seat.occupied { border-color: rgba(196,181,253,.55); }
.hosting-seat.occupied > span { color: #fff; background: var(--violet); font-size: 8px; }
.hosting-seat.more { border-style: dashed; }
.hosting-seats.single .hosting-seat { width: 150px; height: 80px; }
.hosting-chat { position: absolute; z-index: 3; left: 16px; bottom: 104px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.hosting-chat div { width: fit-content; max-width: 82%; padding: 6px 9px; border-radius: 9px; background: rgba(20,20,24,.3); font-size: 9px; }
.hosting-chat strong { color: #d8c8ff; font-weight: 600; }
.hosting-controls { position: absolute; z-index: 5; left: 8px; right: 8px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 9px 5px; border-radius: 18px; background: rgba(18,18,22,.74); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.hosting-controls button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; background: transparent; font-size: 8px; }
.hosting-controls svg { width: 21px; height: 21px; }
.hosting-controls button.off { color: #8d8d94; }
.hosting-controls button.danger svg { color: #fff; }
.guest-list { max-height: 360px; overflow-y: auto; }
.guest-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.guest-avatar { flex: 0 0 auto; width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #29292e; font-size: 12px; }
.guest-item > div { min-width: 0; flex: 1; }
.guest-item strong { display: block; margin-bottom: 4px; font-size: 11px; }
.guest-item p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; }
.guest-item button { padding: 7px 10px; border-radius: 9px; color: #fff; background: var(--violet); font-size: 9px; }
.guest-item button:disabled { color: #999; background: #eee; }
.moderation-item { display: flex; align-items: center; gap: 7px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.moderation-item > div { min-width: 0; flex: 1; }
.moderation-item strong { font-size: 11px; }
.moderation-item p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.moderation-item button { padding: 6px 8px; border-radius: 8px; color: #6b6672; background: #f1f1f3; font-size: 9px; }
.moderation-item.removed { opacity: .55; }
.moderation-item button:disabled { opacity: .55; }
.moderation-state { flex: 0 0 auto; color: var(--muted); font-size: 9px; }
.end-live-copy { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.end-live-copy strong { color: var(--ink); }
.live-summary-scroll { padding-top: 28px; text-align: center; }
.summary-mark { width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--violet); font-size: 25px; }
.live-summary-scroll h2 { margin: 0 0 9px; font-size: 23px; }
.live-summary-scroll > p { margin: 0 24px 24px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.summary-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 18px 18px; padding: 18px 0; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.summary-stats div { border-right: 1px solid var(--line); }
.summary-stats div:last-child { border-right: 0; }
.summary-stats strong { display: block; margin-bottom: 6px; font-size: 18px; }
.summary-stats span { color: var(--muted); font-size: 9px; }
.summary-card { text-align: left; }
.summary-card strong { font-size: 13px; }
.summary-card p { margin: 7px 0; color: var(--muted); font-size: 10px; }
.summary-card small { color: #aaa; font-size: 9px; }
.summary-btn { width: calc(100% - 36px); margin: 0 18px 10px; }

/* Sheets */
.sheet-backdrop { position: absolute; z-index: 40; inset: 0; display: flex; align-items: flex-end; background: rgba(15,9,22,.48); backdrop-filter: blur(3px); animation: fadeIn .2s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet { width: 100%; max-height: 80%; overflow-y: auto; padding: 10px 18px 26px; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -20px 60px rgba(22,12,34,.22); animation: sheetUp .32s cubic-bezier(.2,.8,.2,1) both; scrollbar-width: none; }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-handle { width: 38px; height: 4px; margin: 0 auto 15px; border-radius: 4px; background: #ddd6e6; }
.sheet-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-title h3 { margin: 0; font-size: 17px; }
.sheet-title span { color: var(--muted); font-size: 10px; }
.sheet-title .icon-button { width: 30px; height: 30px; color: var(--muted); background: var(--paper); }
.sheet-title .icon-button svg { width: 16px; height: 16px; }
.create-studio { position: absolute; inset: 0; overflow: hidden; color: #fff; background: #070708; animation: studioIn .28s ease both; }
@keyframes studioIn { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
.create-camera-wrap, .create-camera, .create-camera-tint { position: absolute; inset: 0; width: 100%; height: 100%; }
.create-camera { object-fit: cover; object-position: center 34%; transition: transform .3s ease, filter .3s ease; }
.create-camera.flipped { transform: scaleX(-1); }
.create-camera-tint { background: linear-gradient(180deg, rgba(0,0,0,.54), transparent 22%, transparent 48%, rgba(0,0,0,.25) 62%, rgba(0,0,0,.88)); }
.create-grid-lines { position: absolute; inset: 0; pointer-events: none; }
.create-grid-lines::before, .create-grid-lines::after { content: ""; position: absolute; background: rgba(255,255,255,.3); }
.create-grid-lines::before { inset: 0; background: linear-gradient(to right, transparent calc(33.333% - .5px), rgba(255,255,255,.3) calc(33.333% - .5px), rgba(255,255,255,.3) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255,255,255,.3) calc(66.666% - .5px), rgba(255,255,255,.3) calc(66.666% + .5px), transparent calc(66.666% + .5px)); }
.create-grid-lines::after { inset: 0; background: linear-gradient(to bottom, transparent calc(33.333% - .5px), rgba(255,255,255,.3) calc(33.333% - .5px), rgba(255,255,255,.3) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255,255,255,.3) calc(66.666% - .5px), rgba(255,255,255,.3) calc(66.666% + .5px), transparent calc(66.666% + .5px)); }
.create-flash-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.26), transparent 48%); pointer-events: none; }
.create-focus-frame { position: absolute; top: 42%; left: 50%; width: 112px; height: 112px; transform: translate(-50%,-50%); opacity: .62; }
.create-focus-frame span { position: absolute; width: 20px; height: 20px; border-color: #fff; border-style: solid; }
.create-focus-frame span:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.create-focus-frame span:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.create-focus-frame span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.create-focus-frame span:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.create-topbar { position: absolute; z-index: 6; top: 0; left: 0; right: 0; padding: 54px 14px 0; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; }
.create-top-action { height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: rgba(0,0,0,.22); backdrop-filter: blur(12px); font-size: 10px; }
.create-top-action svg { width: 19px; height: 19px; }
.draft-action { position: relative; }
.draft-action i { position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--violet-3); }
.create-tabs { justify-self: center; display: flex; gap: 3px; padding: 3px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.create-tabs button { min-width: 62px; padding: 7px 11px; border-radius: 10px; color: rgba(255,255,255,.58); background: transparent; font-size: 12px; font-weight: 600; }
.create-tabs button.active { color: #17171a; background: #fff; font-weight: 800; }
.create-demo-pill { position: absolute; z-index: 5; top: 108px; left: 16px; display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px; color: rgba(255,255,255,.68); background: rgba(0,0,0,.2); backdrop-filter: blur(10px); font-size: 8px; letter-spacing: .4px; }
.create-demo-pill span { width: 4px; height: 4px; border-radius: 50%; background: var(--violet-3); }
.create-side-tools { position: absolute; z-index: 6; top: 46%; right: 11px; display: flex; flex-direction: column; gap: 13px; transform: translateY(-50%); }
.create-side-tools button { width: 48px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: rgba(255,255,255,.88); background: transparent; text-shadow: 0 1px 8px rgba(0,0,0,.55); font-size: 8px; }
.create-side-tools button svg { width: 21px; height: 21px; filter: drop-shadow(0 2px 7px rgba(0,0,0,.45)); }
.create-side-tools button.active { color: var(--violet-3); }
.create-audio-chip { position: absolute; z-index: 5; left: 14px; bottom: 257px; max-width: calc(100% - 86px); display: flex; align-items: center; gap: 6px; padding: 7px 9px; overflow: hidden; border-radius: 9px; color: rgba(255,255,255,.88); background: rgba(0,0,0,.28); backdrop-filter: blur(12px); font-size: 9px; }
.create-audio-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.create-audio-chip svg { flex: 0 0 auto; width: 13px; height: 13px; }
.create-preview-pill { position: absolute; z-index: 5; left: 50%; bottom: 226px; display: flex; align-items: center; gap: 4px; padding: 7px 11px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; color: #fff; background: rgba(0,0,0,.24); backdrop-filter: blur(12px); font-size: 9px; white-space: nowrap; }
.create-preview-pill svg { width: 12px; height: 12px; }
.create-controls { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; padding: 16px 20px 25px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.62) 35%, rgba(0,0,0,.88)); }
.create-record-status { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 9px; color: rgba(255,255,255,.62); font-size: 9px; }
.create-record-status span:first-child { color: #fff; font-variant-numeric: tabular-nums; }
.is-recording .create-record-status span:first-child { color: var(--violet-3); font-weight: 700; }
.create-duration-tabs { display: flex; align-items: center; justify-content: center; gap: 18px; color: rgba(255,255,255,.58); font-size: 11px; }
.create-duration-tabs button { padding: 3px 0; color: inherit; background: transparent; }
.create-duration-tabs button.active { color: #fff; font-weight: 800; }
.create-shutter-row { display: grid; grid-template-columns: 1fr 98px 1fr; align-items: center; margin-top: 11px; }
.create-upload { position: relative; justify-self: start; width: 46px; height: 46px; padding: 3px; overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 13px; background: rgba(255,255,255,.12); }
.create-upload img { width: 100%; height: 100%; border-radius: 9px; object-fit: cover; }
.create-upload span { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); color: #fff; font-size: 8px; text-shadow: 0 1px 3px #000; }
.create-shutter { justify-self: center; width: 76px; height: 76px; display: grid; place-items: center; padding: 5px; border: 4px solid #fff; border-radius: 50%; background: transparent; transition: transform .18s ease; }
.create-shutter:active { transform: scale(.94); }
.create-shutter > span { width: 58px; height: 58px; border-radius: 50%; background: #fff; transition: .2s ease; }
.create-shutter.recording { border-color: var(--violet-3); }
.create-shutter.recording > span { width: 34px; height: 34px; border-radius: 9px; background: var(--violet); }
.create-flip-bottom { justify-self: end; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); }
.create-flip-bottom svg { width: 22px; height: 22px; }
.create-shortcuts { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 11px; color: rgba(255,255,255,.72); font-size: 9px; }
.create-shortcuts button { display: flex; align-items: center; gap: 4px; color: inherit; background: transparent; }
.create-shortcuts button.active { color: var(--violet-3); }
.create-shortcuts svg { width: 13px; height: 13px; }
.create-shortcuts > span { width: 1px; height: 10px; background: rgba(255,255,255,.18); }
.create-countdown { position: absolute; z-index: 10; top: 42%; left: 50%; transform: translate(-50%,-50%); color: #fff; font-size: 82px; font-weight: 300; line-height: 1; text-shadow: 0 8px 28px rgba(0,0,0,.4); animation: countdownPop .3s ease both; }
@keyframes countdownPop { from { opacity: 0; transform: translate(-50%,-50%) scale(1.25); } }
.feed-live-empty-seat { background: linear-gradient(145deg, #322b3a, #1b1721) !important; color: rgba(255,255,255,.28); }
.feed-live-empty-seat svg { width: 20px; height: 20px; }
.feed-audio-seat > span svg { width: 15px; height: 15px; opacity: .45; }
.create-live-caption { position: absolute; z-index: 5; top: 148px; left: 18px; right: 72px; pointer-events: none; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.create-live-caption > span { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: rgba(255,255,255,.7); font-size: 9px; letter-spacing: .4px; }
.create-live-caption i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet-3); box-shadow: 0 0 0 4px rgba(167,139,250,.14); }
.create-live-caption strong { display: -webkit-box; overflow: hidden; font-size: 19px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.create-live-controls { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.create-live-settings { margin-bottom: 10px; padding: 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(13,11,17,.48); backdrop-filter: blur(16px); }
.create-live-title-line { width: 100%; height: 30px; padding: 0 2px 6px; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); outline: 0; color: #fff; background: transparent; font-size: 14px; font-weight: 700; text-overflow: ellipsis; }
.create-live-title-line:focus { border-bottom-color: var(--violet-3); }
.create-live-types { display: flex; gap: 6px; margin-top: 9px; overflow-x: auto; scrollbar-width: none; }
.create-live-types::-webkit-scrollbar { display: none; }
.create-live-types button { flex: 0 0 auto; padding: 6px 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: rgba(255,255,255,.62); background: transparent; font-size: 8px; white-space: nowrap; }
.create-live-types button.active { border-color: var(--violet-3); color: #fff; background: rgba(124,58,237,.28); }
.create-tool-chips { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.create-tool-chips button { display: flex; align-items: center; gap: 4px; padding: 6px 9px; border-radius: 9px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); font-size: 9px; }
.create-tool-chips button.active { color: var(--violet-3); }
.create-tool-chips svg { width: 13px; height: 13px; }
.create-live-start { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 14px; color: #fff; background: var(--violet); font-size: 13px; font-weight: 800; }
.create-live-start svg { width: 18px; height: 18px; }
.create-live-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 7px 0 0; color: rgba(255,255,255,.45); font-size: 8px; }
.create-live-note svg { width: 12px; height: 12px; }
.live-preview-page { pointer-events: none; background: #111015; }
.live-preview-page .date-viewer-top,
.live-preview-page .audio-viewer-top,
.live-preview-page .party-viewer-top,
.live-preview-page .nine-viewer-top { visibility: hidden; }
.live-preview-topbar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 52px 13px 20px; color: #fff; background: linear-gradient(180deg, rgba(8,6,11,.88), rgba(8,6,11,.36) 72%, transparent); pointer-events: auto; }
.live-preview-topbar .icon-button { color: #fff; background: rgba(255,255,255,.12); }
.live-preview-topbar > div { min-width: 0; text-align: center; }
.live-preview-topbar strong { display: block; font-size: 14px; }
.live-preview-topbar small { display: block; margin-top: 3px; overflow: hidden; color: rgba(255,255,255,.58); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.live-preview-topbar > span { display: flex; align-items: center; gap: 4px; padding: 5px 7px; border: 1px solid rgba(196,181,253,.26); border-radius: 8px; color: #ddd0ff; background: rgba(91,51,153,.34); font-size: 8px; white-space: nowrap; }
.live-preview-topbar > span i { width: 4px; height: 4px; border-radius: 50%; background: #c4b5fd; }
.live-preview-panel { position: absolute; z-index: 31; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; color: #fff; background: rgba(17,14,22,.9); box-shadow: 0 18px 50px rgba(0,0,0,.38); backdrop-filter: blur(24px); pointer-events: auto; }
.live-preview-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.live-preview-panel-head strong { display: block; margin-bottom: 3px; font-size: 13px; }
.live-preview-panel-head small { display: block; color: rgba(255,255,255,.48); font-size: 8px; }
.live-preview-panel-head > span { flex: 0 0 auto; color: rgba(255,255,255,.42); font-size: 8px; }
.live-preview-title-input { width: 100%; height: 36px; padding: 0 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; outline: 0; color: #fff; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 600; }
.live-preview-title-input:focus { border-color: rgba(196,181,253,.62); }
.live-preview-types { display: flex; gap: 6px; margin-top: 9px; overflow-x: auto; scrollbar-width: none; }
.live-preview-types::-webkit-scrollbar { display: none; }
.live-preview-types button { flex: 0 0 auto; padding: 6px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: rgba(255,255,255,.56); background: transparent; font-size: 8px; white-space: nowrap; }
.live-preview-types button.active { border-color: var(--violet-3); color: #fff; background: rgba(124,58,237,.3); }
.live-preview-actions { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.live-preview-visibility { min-width: 0; flex: 1; display: flex; padding: 3px; border-radius: 9px; background: rgba(255,255,255,.07); }
.live-preview-visibility button { min-width: 0; flex: 1; padding: 6px 3px; border-radius: 7px; color: rgba(255,255,255,.5); background: transparent; font-size: 8px; white-space: nowrap; }
.live-preview-visibility button.active { color: #fff; background: rgba(124,58,237,.62); }
.live-preview-more { flex: 0 0 auto; padding: 7px 2px; color: rgba(255,255,255,.58); background: transparent; font-size: 8px; }
.live-preview-next { min-width: 108px; height: 34px; display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 3px; border-radius: 10px; color: #fff; background: var(--violet); font-size: 10px; font-weight: 700; }
.live-preview-next svg { width: 12px; height: 12px; }
@media (max-height: 740px) {
  .create-live-caption { top: 138px; }
  .create-live-caption strong { font-size: 17px; }
  .create-live-settings { padding: 8px; }
  .create-tool-chips { margin-bottom: 8px; }
  .live-preview-topbar { padding-top: 48px; padding-bottom: 16px; }
  .live-preview-panel { padding: 11px; }
  .live-preview-panel-head { margin-bottom: 8px; }
  .live-preview-panel-head small { display: none; }
}
.short-publish-preview { position: relative; height: 176px; overflow: hidden; border-radius: 17px; background: #111; }
.short-publish-preview video, .short-publish-preview img { width: 100%; height: 100%; object-fit: cover; }
.short-publish-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 58%, rgba(0,0,0,.65)); }
.short-publish-preview > span { position: absolute; z-index: 2; left: 12px; bottom: 10px; color: #fff; font-size: 9px; }
.publish-caption { position: relative; display: block; margin-top: 14px; }
.publish-caption textarea { width: 100%; height: 78px; padding: 12px 12px 24px; resize: none; border: 1px solid var(--line); border-radius: 13px; outline: 0; color: var(--ink); background: var(--paper); font-size: 11px; line-height: 1.6; }
.publish-caption textarea:focus { border-color: var(--violet-3); }
.publish-caption small { position: absolute; right: 10px; bottom: 8px; color: #aaa3b4; font-size: 8px; }
.publish-topic-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; font-size: 9px; }
.publish-topic-row > span { margin-right: 2px; color: var(--muted); }
.publish-topic-row button { padding: 6px 8px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); }
.publish-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.publish-options button { display: flex; align-items: center; gap: 6px; padding: 10px; border-radius: 11px; color: var(--muted); background: var(--paper); font-size: 9px; }
.publish-options button span { flex: 1; text-align: left; }
.publish-options svg { width: 14px; height: 14px; }
.publish-note { display: flex; align-items: flex-start; justify-content: center; gap: 5px; margin: 11px 0 0; color: #aaa3b4; font-size: 8px; line-height: 1.6; text-align: center; }
.publish-note svg { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 1px; }
.draft-list { max-height: 480px; overflow-y: auto; scrollbar-width: none; }
.draft-list::-webkit-scrollbar { display: none; }
.draft-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.draft-item:last-child { border-bottom: 0; }
.draft-preview { position: relative; width: 82px; height: 106px; flex: 0 0 auto; overflow: hidden; border-radius: 12px; background: #17141c; }
.draft-preview img, .draft-preview video { width: 100%; height: 100%; object-fit: cover; }
.draft-preview > span { position: absolute; right: 5px; bottom: 5px; padding: 3px 5px; border-radius: 5px; color: #fff; background: rgba(15,12,20,.58); font-size: 8px; }
.draft-info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.draft-info > strong { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.draft-info > small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.draft-actions { display: flex; align-items: center; gap: 6px; margin-top: auto; }
.draft-actions button { min-height: 29px; padding: 0 9px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); font-size: 9px; font-weight: 700; }
.draft-actions button:nth-child(2) { color: #fff; background: var(--violet); }
.draft-actions button:last-child { width: 29px; padding: 0; display: grid; place-items: center; color: #8d8498; background: var(--paper); }
.draft-actions svg { width: 13px; height: 13px; }
.draft-empty { padding: 24px 12px 12px; color: var(--muted); text-align: center; }
.draft-empty > svg { width: 38px; height: 38px; margin-bottom: 12px; color: var(--violet); }
.draft-empty strong { display: block; color: var(--ink); font-size: 14px; }
.draft-empty p { margin: 7px 0 18px; font-size: 10px; line-height: 1.6; }
.draft-empty .primary-btn { min-height: 38px; font-size: 11px; }
.draft-delete-copy { margin: 4px 0 18px; color: #746c7e; font-size: 12px; line-height: 1.7; }
.gift-balance { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 11px 13px; border-radius: 14px; background: #f6f1ff; color: #7450a5; font-size: 11px; }
.gift-balance button { padding: 6px 11px; border-radius: 9px; background: var(--violet); color: #fff; font-size: 10px; }
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.gift-ranking-list { max-height: 420px; overflow-y: auto; scrollbar-width: none; }
.gift-ranking-row { display: flex; align-items: center; gap: 9px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.gift-ranking-index { width: 18px; flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; }
.gift-ranking-row > img { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.gift-ranking-row > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.gift-ranking-row strong { font-size: 11px; }
.gift-ranking-row small { color: var(--muted); font-size: 8px; }
.gift-ranking-row em { flex: 0 0 auto; color: #7450a5; font-size: 11px; font-style: normal; font-weight: 700; }
.gift-ranking-row em small { font-weight: 500; }
.gift-ranking-row.top-1 .gift-ranking-index { color: #b8860b; }
.gift-ranking-row.top-2 .gift-ranking-index { color: #7d8795; }
.gift-ranking-row.top-3 .gift-ranking-index { color: #b67450; }
.gift-item { position: relative; padding: 11px 4px 8px; border-radius: 15px; background: var(--paper); border: 1px solid transparent; color: var(--ink); }
.gift-item.selected { border-color: var(--violet); background: #f2ebff; box-shadow: 0 5px 14px rgba(124,58,237,.1); }
.gift-emoji { display: block; margin-bottom: 6px; font-size: 28px; }
.gift-item strong { display: block; margin-bottom: 3px; font-size: 10px; }
.gift-item small { color: var(--muted); font-size: 8px; }
.sheet-primary { width: 100%; height: 45px; margin-top: 16px; border-radius: 13px; color: #fff; background: var(--violet); font-size: 13px; font-weight: 700; }
.profile-sheet-hero { position: relative; height: 176px; margin: -10px -18px 0; overflow: hidden; }
.profile-sheet-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-sheet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(30,16,43,.76)); }
.profile-sheet-hero .sheet-handle { position: absolute; z-index: 2; top: 10px; left: 50%; background: rgba(255,255,255,.7); }
.profile-close { position: absolute; z-index: 3; top: 12px; right: 13px; width: 30px; height: 30px; color: #fff; background: rgba(20,12,30,.38); }
.profile-close svg { width: 16px; height: 16px; }
.profile-sheet-name { position: absolute; z-index: 2; left: 20px; bottom: 17px; color: #fff; }
.profile-sheet-name h2 { margin: 0 0 5px; font-size: 23px; }
.profile-sheet-name p { margin: 0; font-size: 11px; color: rgba(255,255,255,.7); }
.profile-sheet-body { padding-top: 15px; }
.profile-sheet-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.profile-sheet-tags span { padding: 6px 10px; border-radius: 8px; background: #f1f1f3; color: #5f5f67; font-size: 10px; }
.profile-live-link { width: 100%; height: 38px; margin-bottom: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); font-size: 11px; font-weight: 700; }
.profile-live-link .live-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.16); }
.profile-sheet-bio { margin: 0 0 16px; color: #736a80; font-size: 12px; line-height: 1.75; }
.profile-short-link { width: 100%; height: 37px; margin: -4px 0 14px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; color: var(--violet); background: var(--violet-soft); font-size: 11px; font-weight: 700; }
.profile-short-link svg { width: 15px; height: 15px; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 17px; }
.profile-facts div { padding: 11px 7px; border-radius: 13px; background: var(--paper); text-align: center; }
.profile-facts strong { display: block; margin-bottom: 4px; font-size: 12px; }
.profile-facts span { color: var(--muted); font-size: 9px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; }
.secondary-btn { min-height: 45px; border-radius: 15px; color: var(--violet); background: var(--violet-soft); font-size: 12px; font-weight: 700; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.share-item { padding: 13px 4px; border-radius: 15px; background: var(--paper); color: var(--ink); font-size: 10px; }
.share-item span { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 13px; color: #fff; background: #242429; font-size: 17px; }

/* Search */
.search-page { background: #fff; }
.search-header { padding: 52px 16px 12px; display: flex; align-items: center; gap: 10px; }
.search-header .search-box { flex: 1; margin: 0; }
.search-history { padding: 8px 18px; }
.search-history-head { display: flex; align-items: center; justify-content: space-between; margin: 15px 0 12px; }
.search-history-head h3 { margin: 0; font-size: 14px; }
.search-history-head button { background: transparent; color: var(--muted); font-size: 10px; }
.history-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.history-chips span { padding: 7px 11px; border-radius: 10px; background: var(--paper); color: #776e83; font-size: 11px; }
.search-suggestion { margin: 8px 18px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #f5f0ff, #fff); border: 1px solid #eee6fb; }
.search-suggestion small { color: var(--violet); font-size: 9px; }
.search-suggestion h3 { margin: 6px 0; font-size: 14px; }
.search-suggestion p { margin: 0; color: var(--muted); font-size: 10px; }

/* Toast */
.toast-root { position: absolute; z-index: 70; left: 0; right: 0; top: 92px; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.phone.date-room .toast-root { top: 194px; }
.toast { max-width: 82%; padding: 10px 15px; border-radius: 12px; color: #fff; background: rgba(28,28,32,.94); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 11px; animation: toastIn .25s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }

/* Desktop prototype notes */
.prototype-panel { width: 420px; max-height: calc(100vh - 56px); overflow-y: auto; padding-right: 4px; color: #fff; scrollbar-width: none; }
.prototype-panel::-webkit-scrollbar { display: none; }
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-mark { position: relative; width: 44px; height: 44px; border-radius: 15px; background: linear-gradient(135deg, #8b5cf6, #5b21b6); box-shadow: 0 12px 28px rgba(124,58,237,.35); }
.brand-mark span { position: absolute; top: 12px; width: 13px; height: 21px; border: 2px solid #fff; border-radius: 50%; transform: rotate(32deg); }
.brand-mark span:first-child { left: 10px; }
.brand-mark span:last-child { right: 9px; border-color: #ddd0ff; transform: rotate(-32deg); }
.brand-lockup strong { display: block; font-size: 25px; letter-spacing: 3px; }
.brand-lockup small { display: block; margin-top: 3px; color: #a89ab8; font-size: 9px; letter-spacing: 2px; }
.panel-copy { margin: 54px 0 28px; }
.eyebrow { color: #b9a4e7; font-size: 9px; letter-spacing: 2.4px; }
.panel-copy h1 { margin: 14px 0 16px; font-size: 38px; line-height: 1.28; letter-spacing: -1px; }
.panel-copy p { max-width: 370px; margin: 0; color: #a99eb6; font-size: 13px; line-height: 1.9; }
.swatch-row { display: flex; align-items: center; gap: 8px; }
.swatch-row > span { width: 25px; height: 25px; border-radius: 9px; background: var(--swatch); border: 1px solid rgba(255,255,255,.12); }
.swatch-row small { margin-left: 8px; color: #8f829e; font-size: 9px; letter-spacing: 1px; }
.page-jumps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 34px; }
.page-jumps button { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 15px; color: #d9d0e4; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); font-size: 11px; text-align: left; transition: .2s ease; }
.page-jumps button:hover { background: rgba(139,92,246,.2); border-color: rgba(167,139,250,.35); transform: translateY(-1px); }
.page-jumps button svg { width: 18px; height: 18px; color: #b9a4e7; }
.panel-note { margin-top: 24px; color: #766a84; font-size: 9px; line-height: 1.8; }
.panel-note span { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #8b5cf6; vertical-align: middle; }

/* One-to-one video dating */
.video-date-page { color: #fff; background: #08080a; overflow: hidden; }
.date-stage { position: absolute; inset: 0; display: grid; grid-template-rows: 54% 46%; background: #111; }
.date-video-pane { position: relative; min-height: 0; overflow: hidden; background: #1a1720; }
.date-video-pane > video, .date-video-pane > img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.date-video-pane > video.mirrored { transform: scaleX(-1); }
.date-secondary > video.self-preview, .date-secondary > img.self-preview { object-position: center 4%; transform: translateY(-78px); }
.date-secondary > video.self-preview.mirrored { transform: scaleX(-1) translateY(-78px); }
.video-date-viewer.onstage .date-viewer-bottom { padding-top: 14px; }
.date-video-pane + .date-video-pane { border-top: 2px solid rgba(255,255,255,.14); }
.date-video-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,6,9,.46), transparent 28%, transparent 58%, rgba(7,6,9,.52)); }
.date-secondary .date-video-shade { background: linear-gradient(180deg, rgba(7,6,9,.24), transparent 38%, rgba(7,6,9,.62)); }
.date-person-label { position: absolute; z-index: 2; left: 13px; bottom: 12px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; text-shadow: 0 1px 7px rgba(0,0,0,.45); }
.date-person-label strong { font-size: 11px; font-weight: 700; }
.date-person-label small { grid-column: 2; margin-top: 3px; color: rgba(255,255,255,.68); font-size: 8px; }
.date-live-dot, .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.date-live-dot { background: #c4b5fd; }
.date-signal, .date-self-tag { position: absolute; z-index: 2; top: 12px; right: 13px; padding: 3px 6px; border-radius: 6px; color: rgba(255,255,255,.8); background: rgba(12,10,15,.34); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); font-size: 7px; font-weight: 700; letter-spacing: .4px; }
.date-self-tag { left: 13px; right: auto; color: #fff; background: rgba(124,58,237,.72); border-color: rgba(196,181,253,.34); }
.date-guest-note { position: absolute; z-index: 2; left: 13px; right: 13px; bottom: 13px; color: rgba(255,255,255,.76); font-size: 9px; line-height: 1.5; text-shadow: 0 1px 7px #000; }
.date-video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.62); background: radial-gradient(circle at 50% 40%, #2a2335, #131218 70%); }
.date-video-empty svg { width: 32px; height: 32px; margin-bottom: 3px; color: #a78bfa; }
.date-video-empty strong { font-size: 12px; }
.date-video-empty small { font-size: 8px; }
.video-date-host .date-secondary .date-person-label { top: 13px; bottom: auto; }
.video-date-host .date-guest-note { bottom: 165px; }
.date-top { position: absolute; z-index: 8; top: 0; left: 0; right: 0; padding: 52px 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.date-top .icon-button { width: 34px; height: 34px; color: #fff; background: rgba(14,11,18,.36); border: 1px solid rgba(255,255,255,.1); }
.date-host-top { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; }
.date-room-badge { justify-self: center; display: flex; align-items: center; gap: 6px; min-width: 0; padding: 7px 9px; border-radius: 10px; background: rgba(17,13,22,.4); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px); white-space: nowrap; }
.date-room-badge strong { font-size: 9px; }
.date-room-badge small { padding-left: 6px; border-left: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.66); font-size: 8px; font-variant-numeric: tabular-nums; }
.date-top-actions { display: flex; align-items: center; gap: 6px; }
.date-viewer-button { height: 34px; padding: 0 9px; border-radius: 10px; color: #fff; background: rgba(17,13,22,.4); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px); font-size: 8px; }
.date-roundbar { position: absolute; z-index: 7; top: 101px; left: 13px; right: 13px; padding: 10px 12px 9px; border-radius: 13px; background: rgba(17,13,22,.42); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.date-round-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.date-round-line > span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.78); font-size: 9px; }
.date-round-line i { width: 5px; height: 5px; border-radius: 50%; background: #c4b5fd; animation: pulse 1.8s infinite; }
.date-round-line strong { color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.date-round-progress { height: 2px; margin-top: 8px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.16); }
.date-round-progress span { display: block; height: 100%; border-radius: inherit; background: #c4b5fd; transition: width 1s linear; }
.date-round-result { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.date-round-result span { flex: 1; color: rgba(255,255,255,.72); font-size: 9px; }
.date-round-result button { min-height: 26px; padding: 0 9px; border: 1px solid rgba(196,181,253,.28); border-radius: 8px; color: #ede9fe; background: rgba(139,92,246,.2); font-size: 9px; }
.date-round-result button:disabled { opacity: .5; }
.date-host-chat { position: absolute; z-index: 6; left: 14px; bottom: 202px; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.date-host-chat div { width: fit-content; max-width: 84%; padding: 6px 9px; border-radius: 9px; color: rgba(255,255,255,.78); background: rgba(14,11,18,.3); backdrop-filter: blur(8px); font-size: 8px; }
.date-host-chat strong { color: #d8c8ff; font-weight: 600; }
.date-host-bottom { position: absolute; z-index: 9; left: 0; right: 0; bottom: 0; padding: 28px 11px calc(13px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(8,7,10,.78) 24%, rgba(8,7,10,.96)); }
.date-next-card, .date-result-card { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px 10px; border-radius: 14px; background: rgba(31,27,37,.78); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.date-next-person { min-width: 0; display: flex; align-items: center; gap: 9px; }
.date-next-person img { width: 39px; height: 43px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; }
.date-next-person > span:not(.date-next-empty) { min-width: 0; display: flex; flex-direction: column; }
.date-next-person small { color: rgba(255,255,255,.52); font-size: 7px; }
.date-next-person strong { margin-top: 3px; font-size: 10px; }
.date-next-person em { margin-top: 3px; color: rgba(255,255,255,.5); font-size: 7px; font-style: normal; }
.date-next-card > button, .date-result-card > button { flex: 0 0 auto; height: 31px; padding: 0 11px; border-radius: 9px; color: #fff; background: var(--violet); font-size: 9px; }
.date-next-empty { display: flex; align-items: center; gap: 9px; }
.date-next-empty > svg { width: 30px; height: 30px; color: #a78bfa; }
.date-next-empty > span { display: flex; flex-direction: column; }
.date-result-card > div:first-child { min-width: 0; display: flex; flex-direction: column; }
.date-result-card small { color: #c4b5fd; font-size: 7px; letter-spacing: .8px; }
.date-result-card strong { margin-top: 5px; font-size: 10px; }
.date-result-card.matched { border-color: rgba(196,181,253,.4); background: linear-gradient(110deg, rgba(91,52,145,.84), rgba(39,29,50,.9)); }
.date-result-actions { display: flex; gap: 6px; }
.date-result-actions button { height: 31px; display: flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: 9px; color: #fff; background: rgba(255,255,255,.12); font-size: 8px; }
.date-result-actions button:first-child { background: var(--violet); }
.date-result-actions svg { width: 12px; height: 12px; }
.date-viewer-host { min-width: 0; display: flex; align-items: center; gap: 8px; }
.date-avatar-button { flex: 0 0 auto; width: 35px; height: 35px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.36); background: transparent; }
.date-avatar-button img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.date-viewer-host > div { min-width: 0; }
.date-viewer-host strong { display: flex; align-items: center; gap: 3px; font-size: 11px; white-space: nowrap; }
.date-viewer-host small { display: block; margin-top: 3px; color: rgba(255,255,255,.62); font-size: 7px; white-space: nowrap; }
.date-viewer-host .follow-btn { flex: 0 0 auto; height: 27px; margin-left: 1px; padding: 0 9px; border-radius: 9px; font-size: 9px; }
.date-viewer-top { gap: 6px; }
.date-viewer .date-primary .date-person-label { bottom: 13px; }
.date-viewer .date-secondary .date-person-label { top: 13px; bottom: auto; }
.date-viewer-tools { position: absolute; z-index: 7; top: 195px; right: 13px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.date-viewer-tools button { display: flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 8px; color: rgba(255,255,255,.8); background: rgba(17,13,22,.34); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: 8px; }
.date-viewer-tools svg { width: 12px; height: 12px; }
.date-viewer-tools .hearted { color: #e9defc; background: rgba(124,58,237,.55); }
.date-viewer-tools .hearted svg { fill: currentColor; }
.date-chat { position: absolute; z-index: 6; left: 14px; right: 14px; bottom: 163px; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.date-chat .chat-line { padding: 5px 8px; font-size: 8px; }
.date-chat .chat-line:nth-child(1) { display: none; }
.date-viewer-bottom { position: absolute; z-index: 9; left: 0; right: 0; bottom: 0; padding: 28px 11px calc(13px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(8,7,10,.74) 20%, rgba(8,7,10,.97) 58%); }
.date-apply-card { position: relative; min-height: 70px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px 11px; border-radius: 15px; background: rgba(33,28,41,.86); border: 1px solid rgba(196,181,253,.2); backdrop-filter: blur(16px); }
.date-apply-card > div:not(.date-queue-indicator) { min-width: 0; display: flex; flex-direction: column; }
.date-apply-card small { color: rgba(255,255,255,.5); font-size: 7px; }
.date-apply-card strong { margin-top: 4px; font-size: 11px; }
.date-apply-card em { margin-top: 4px; color: #c4b5fd; font-size: 7px; font-style: normal; }
.date-apply-card > button:not(.date-demo-invite) { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 13px; border-radius: 11px; color: #fff; background: var(--violet); font-size: 9px; font-weight: 700; }
.date-apply-card > button svg { width: 14px; height: 14px; }
.date-apply-card.queued { grid-template-columns: auto minmax(0, 1fr) auto; padding-bottom: 22px; }
.date-queue-indicator { display: flex; align-items: flex-end; gap: 2px; height: 23px; }
.date-queue-indicator span { width: 3px; border-radius: 2px; background: #a78bfa; animation: queueWave 1.1s ease-in-out infinite; }
.date-queue-indicator span:nth-child(1) { height: 9px; }
.date-queue-indicator span:nth-child(2) { height: 18px; animation-delay: .15s; }
.date-queue-indicator span:nth-child(3) { height: 13px; animation-delay: .3s; }
@keyframes queueWave { 50% { height: 6px; opacity: .55; } }
.date-demo-invite { position: absolute; right: 10px; bottom: 5px; padding: 2px 4px; color: rgba(255,255,255,.4); background: transparent; font-size: 7px; text-decoration: underline; text-underline-offset: 2px; }
.date-apply-card.queued > button:not(.date-demo-invite) { min-height: 30px; padding: 0 9px; color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.date-apply-card.invited { border-color: rgba(196,181,253,.48); background: linear-gradient(110deg, rgba(91,52,145,.9), rgba(33,28,41,.9)); }
.date-apply-card.onstage { grid-template-columns: auto minmax(0, 1fr) auto; border-color: rgba(196,181,253,.28); }
.date-apply-card.onstage > button:not(.date-demo-invite) { min-height: 30px; padding: 0 9px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.1); }
.date-apply-card > .date-onstage-controls { width: 100%; flex-direction: row; }
.date-onstage-controls { grid-column: 1 / -1; display: flex; justify-content: center; gap: 6px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.08); }
.date-onstage-controls button { min-width: 76px; height: 28px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 8px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.08); font-size: 7px; }
.date-onstage-controls button.off { color: #85818b; }
.date-onstage-controls svg { width: 13px; height: 13px; }
.video-date-viewer.onstage .date-chat { bottom: 207px; }
.video-date-viewer.onstage .date-viewer-result { bottom: 211px; }
.date-viewer-toolbar { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.date-viewer-toolbar .room-input { height: 40px; }
.date-viewer-toolbar .room-tool { width: 40px; height: 40px; }
.date-viewer-result { position: absolute; z-index: 8; left: 12px; right: 12px; bottom: 167px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 13px; background: rgba(28,24,34,.88); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); }
.date-viewer-result > svg { width: 24px; height: 24px; color: #c4b5fd; }
.date-viewer-result.matched > svg { fill: currentColor; }
.date-viewer-result strong { display: block; font-size: 10px; }
.date-viewer-result small { display: block; margin-top: 4px; color: rgba(255,255,255,.56); font-size: 8px; }
.date-viewer-result.matched { background: linear-gradient(110deg, rgba(91,52,145,.9), rgba(33,28,41,.92)); border-color: rgba(196,181,253,.35); }
.date-current-guest { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 13px; background: #f4f1fa; }
.date-current-guest img { width: 44px; height: 48px; border-radius: 11px; object-fit: cover; }
.date-current-guest > div { min-width: 0; flex: 1; }
.date-current-guest small { color: var(--muted); font-size: 8px; }
.date-current-guest strong { display: block; margin-top: 3px; font-size: 11px; }
.date-current-guest p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.date-current-guest > span { padding: 4px 7px; border-radius: 7px; color: var(--violet); background: var(--violet-soft); font-size: 8px; }
.date-queue-list { margin-top: 6px; }
.date-queue-item { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.date-queue-number { width: 17px; color: #aaa3b3; font-size: 9px; text-align: center; }
.date-queue-item img { width: 39px; height: 43px; border-radius: 10px; object-fit: cover; }
.date-queue-item > div { min-width: 0; flex: 1; }
.date-queue-item strong { font-size: 10px; }
.date-queue-item p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.date-queue-item button { padding: 7px 9px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 8px; }
.date-queue-item button.quiet { color: var(--muted); background: #f0edf3; }
.date-queue-empty { padding: 25px 0; color: var(--muted); font-size: 10px; text-align: center; }
.date-queue-rule { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.date-queue-rule svg { width: 13px; height: 13px; flex: 0 0 auto; color: var(--violet); }
.date-invite { padding-top: 4px; text-align: center; }
.date-invite-avatars { position: relative; width: 148px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; }
.date-invite-avatars img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 5px 18px rgba(31,20,45,.16); }
.date-invite-avatars img + img { margin-left: -13px; }
.date-invite-avatars > span { position: relative; z-index: 2; width: 31px; height: 31px; margin: 0 -6px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--violet); border: 3px solid #fff; }
.date-invite-avatars svg { width: 13px; height: 13px; }
.date-invite > small { color: var(--violet); font-size: 9px; font-weight: 700; letter-spacing: .5px; }
.date-invite h3 { margin: 8px 0; font-size: 19px; }
.date-invite p { margin: 0 auto; max-width: 270px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.date-invite-meta { display: flex; justify-content: center; gap: 14px; margin: 15px 0 18px; color: #6f6878; font-size: 9px; }
.date-invite-meta span { display: flex; align-items: center; gap: 4px; }
.date-invite-meta svg { width: 13px; height: 13px; color: var(--violet); }
.date-summary-row { display: flex; justify-content: space-between; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.date-summary-row b { color: var(--ink); }

/* Multi-person audio room */
.audio-room-page { display: flex; flex-direction: column; overflow: hidden; color: #fff; background: #0c0b0f; }
.audio-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 82% 7%, rgba(91,58,128,.24), transparent 28%), radial-gradient(circle at 5% 52%, rgba(54,50,64,.34), transparent 34%), linear-gradient(180deg, #141218, #0b0a0e 68%); }
.audio-ambient span { position: absolute; border-radius: 50%; filter: blur(1px); border: 1px solid rgba(196,181,253,.08); }
.audio-ambient span:nth-child(1) { width: 250px; height: 250px; top: 96px; right: -152px; }
.audio-ambient span:nth-child(2) { width: 178px; height: 178px; top: 132px; right: -116px; }
.audio-ambient span:nth-child(3) { width: 330px; height: 330px; left: -254px; bottom: 90px; }
.audio-top { position: relative; z-index: 5; flex: 0 0 auto; padding: 52px 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.audio-top .icon-button { width: 34px; height: 34px; color: #fff; background: rgba(20,18,24,.42); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.audio-host-top { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; }
.audio-room-badge { justify-self: center; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: rgba(20,18,24,.42); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); white-space: nowrap; }
.audio-room-badge .live-dot { width: 5px; height: 5px; }
.audio-room-badge strong { font-size: 9px; }
.audio-room-badge small { padding-left: 6px; border-left: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.64); font-size: 8px; font-variant-numeric: tabular-nums; }
.audio-top-actions { display: flex; align-items: center; gap: 5px; }
.audio-viewer-button { height: 34px; padding: 0 8px; border-radius: 10px; color: rgba(255,255,255,.88); background: rgba(20,18,24,.42); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); font-size: 8px; }
.audio-main { position: relative; z-index: 3; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 12px; }
.audio-host-summary { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 0 2px; }
.audio-host-summary > div:first-child { min-width: 0; }
.audio-host-summary strong { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.audio-host-summary > div:first-child > span { display: block; margin-top: 4px; color: rgba(255,255,255,.52); font-size: 8px; }
.audio-host-summary p { max-width: 250px; margin: 7px 0 0; overflow: hidden; color: rgba(255,255,255,.82); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.audio-health { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; padding-top: 1px; }
.audio-health span { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.68); font-size: 8px; }
.audio-health i { width: 5px; height: 5px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 0 3px rgba(196,181,253,.12); }
.audio-health small { color: rgba(255,255,255,.38); font-size: 7px; }
.audio-speaker-card { flex: 0 0 auto; min-height: 88px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 11px; margin-top: 12px; padding: 12px; border-radius: 17px; background: linear-gradient(115deg, rgba(54,45,65,.68), rgba(26,24,31,.72)); border: 1px solid rgba(196,181,253,.17); box-shadow: 0 12px 32px rgba(0,0,0,.16); backdrop-filter: blur(16px); }
.audio-speaker-card.speaking { border-color: rgba(196,181,253,.32); }
.audio-speaker-card.idle { opacity: .68; }
.audio-speaker-avatar { position: relative; width: 52px; height: 52px; }
.audio-avatar { position: relative; width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: var(--avatar-tone, #4a4352); border: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 700; }
.audio-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.audio-avatar-empty { color: rgba(255,255,255,.38); background: rgba(255,255,255,.055); border-style: dashed; }
.audio-avatar-empty svg { width: 17px; height: 17px; }
.audio-speaker-avatar .audio-avatar { width: 52px; height: 52px; }
.audio-speaking-ring { position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(196,181,253,.62); box-shadow: 0 0 0 4px rgba(139,92,246,.08); animation: audioRing 1.8s ease-in-out infinite; pointer-events: none; }
@keyframes audioRing { 50% { transform: scale(1.055); opacity: .42; } }
.audio-speaker-copy { min-width: 0; display: flex; flex-direction: column; }
.audio-speaker-copy small { color: #c4b5fd; font-size: 7px; letter-spacing: .3px; }
.audio-speaker-copy strong { margin-top: 5px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.audio-speaker-copy span { margin-top: 5px; overflow: hidden; color: rgba(255,255,255,.48); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.audio-wave { height: 30px; display: flex; align-items: center; gap: 2px; }
.audio-wave i { width: 2px; height: var(--h); border-radius: 2px; background: #c4b5fd; animation: audioWave 1s ease-in-out infinite alternate; animation-delay: calc(var(--bar) * -70ms); transform-origin: center; }
.audio-wave.small { height: 13px; gap: 1px; }
.audio-wave.small i { width: 1.5px; height: calc(var(--h) * .42); }
.audio-speaker-card.idle .audio-wave { opacity: .2; }
@keyframes audioWave { from { transform: scaleY(.35); opacity: .48; } to { transform: scaleY(1); opacity: 1; } }
.audio-section-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 2px 7px; }
.audio-section-head > div { display: flex; align-items: baseline; gap: 7px; }
.audio-section-head strong { font-size: 11px; }
.audio-section-head span { color: rgba(255,255,255,.42); font-size: 8px; }
.audio-section-head button { display: flex; align-items: center; gap: 2px; padding: 3px 0; color: rgba(255,255,255,.64); background: transparent; font-size: 8px; }
.audio-section-head button svg { width: 11px; height: 11px; }
.audio-seat-grid { flex: 0 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.audio-seat { position: relative; min-width: 0; height: 83px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 3px 6px; overflow: hidden; border-radius: 13px; color: #fff; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.075); transition: background .2s ease, border-color .2s ease, transform .16s ease; }
.audio-seat:active { transform: scale(.97); }
.audio-seat.empty { background: rgba(255,255,255,.022); border-style: dashed; border-color: rgba(255,255,255,.11); }
.audio-seat.host-seat { background: rgba(124,58,237,.1); border-color: rgba(196,181,253,.19); }
.audio-seat.active { background: linear-gradient(145deg, rgba(124,58,237,.3), rgba(73,56,92,.18)); border-color: rgba(196,181,253,.58); box-shadow: 0 0 0 1px rgba(139,92,246,.08) inset; }
.audio-seat.self { border-color: rgba(196,181,253,.42); }
.audio-seat.muted { opacity: .58; }
.audio-seat-number { position: absolute; top: 6px; left: 7px; color: rgba(255,255,255,.3); font-size: 7px; font-variant-numeric: tabular-nums; }
.audio-seat-role { position: absolute; top: 5px; right: 6px; height: 12px; display: flex; align-items: center; color: #c4b5fd; font-size: 7px; }
.audio-seat-role svg { width: 11px; height: 11px; }
.audio-seat .audio-avatar { width: 39px; height: 39px; }
.audio-seat.empty .audio-avatar { width: 34px; height: 34px; }
.audio-seat strong { max-width: 100%; overflow: hidden; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.audio-seat small { color: rgba(255,255,255,.4); font-size: 7px; }
.audio-seat.active small { color: #d8c8ff; }
.audio-seat-wave { position: absolute; top: 32px; right: 7px; padding: 2px; border-radius: 5px; background: rgba(17,12,23,.68); }
.audio-queue-preview { flex: 0 0 auto; min-height: 50px; display: flex; align-items: center; gap: 9px; margin-top: 9px; padding: 8px 10px; border-radius: 13px; color: #fff; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); text-align: left; }
.audio-queue-avatars { display: flex; padding-left: 4px; }
.audio-queue-avatars .audio-avatar { width: 29px; height: 29px; margin-left: -5px; border: 2px solid #17141c; font-size: 10px; }
.audio-queue-preview > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.audio-queue-preview strong { font-size: 9px; }
.audio-queue-preview small { margin-top: 4px; overflow: hidden; color: rgba(255,255,255,.4); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.audio-queue-preview em { display: flex; align-items: center; gap: 1px; color: #c4b5fd; font-size: 8px; font-style: normal; }
.audio-queue-preview em svg { width: 11px; height: 11px; }
.audio-chat { flex: 1; min-height: 42px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; margin: 8px 2px 7px; overflow: hidden; pointer-events: none; }
.audio-chat .chat-line { width: fit-content; max-width: 88%; padding: 5px 8px; border-radius: 8px; color: rgba(255,255,255,.64); background: rgba(255,255,255,.045); font-size: 8px; line-height: 1.45; }
.audio-chat .chat-line strong { color: #d8c8ff; font-weight: 600; }
.audio-viewer-host { min-width: 0; display: flex; align-items: center; gap: 8px; }
.audio-host-avatar { flex: 0 0 auto; width: 39px; height: 39px; padding: 0; border-radius: 50%; background: transparent; }
.audio-host-avatar .audio-avatar { width: 39px; height: 39px; border: 2px solid rgba(255,255,255,.72); }
.audio-viewer-host > div { min-width: 0; }
.audio-viewer-host strong { display: flex; align-items: center; gap: 3px; font-size: 11px; white-space: nowrap; }
.audio-viewer-host small { display: block; margin-top: 4px; color: rgba(255,255,255,.5); font-size: 7px; white-space: nowrap; }
.audio-viewer-host .follow-btn { flex: 0 0 auto; height: 28px; margin-left: 1px; padding: 0 9px; font-size: 9px; }
.audio-listening-strip { flex: 0 0 auto; min-height: 66px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; margin-top: 12px; padding: 10px; border-radius: 15px; color: #fff; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); text-align: left; }
.audio-listening-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #d8c8ff; background: rgba(139,92,246,.18); }
.audio-listening-icon svg { width: 17px; height: 17px; }
.audio-listening-strip > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.audio-listening-strip small { color: #c4b5fd; font-size: 7px; }
.audio-listening-strip strong { margin-top: 4px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.audio-listening-strip em { margin-top: 4px; overflow: hidden; color: rgba(255,255,255,.4); font-size: 7px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.audio-short-chip { display: flex; align-items: center; gap: 3px; padding: 6px 7px; border-radius: 8px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); font-size: 7px; white-space: nowrap; }
.audio-short-chip svg { width: 11px; height: 11px; }
.audio-viewer-page .audio-speaker-card { min-height: 80px; margin-top: 9px; padding: 10px 11px; grid-template-columns: 46px minmax(0, 1fr) auto; }
.audio-viewer-page .audio-speaker-avatar, .audio-viewer-page .audio-speaker-avatar .audio-avatar { width: 46px; height: 46px; }
.audio-viewer-page .audio-seat { height: 84px; }
.audio-viewer-bottom { position: relative; z-index: 6; flex: 0 0 auto; padding: 20px 11px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(10,9,13,.78) 25%, rgba(10,9,13,.97)); }
.audio-apply-card { position: relative; min-height: 65px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px 11px; border-radius: 15px; background: rgba(34,30,40,.88); border: 1px solid rgba(196,181,253,.2); backdrop-filter: blur(16px); }
.audio-apply-card > div:not(.audio-onstage-controls) { min-width: 0; display: flex; flex-direction: column; }
.audio-apply-card small { color: rgba(255,255,255,.46); font-size: 7px; }
.audio-apply-card strong { margin-top: 4px; font-size: 11px; }
.audio-apply-card em { margin-top: 4px; color: #c4b5fd; font-size: 7px; font-style: normal; }
.audio-apply-card > button:not(.audio-demo-invite) { min-height: 35px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 13px; border-radius: 10px; color: #fff; background: var(--violet); font-size: 9px; font-weight: 700; }
.audio-apply-card > button svg { width: 14px; height: 14px; }
.audio-apply-card.queued { grid-template-columns: auto minmax(0, 1fr) auto; padding-bottom: 22px; }
.audio-queue-pulse { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(139,92,246,.16); }
.audio-apply-card.queued > button:not(.audio-demo-invite) { min-height: 29px; padding: 0 9px; color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.audio-demo-invite { position: absolute; right: 10px; bottom: 5px; padding: 2px 4px; color: rgba(255,255,255,.36); background: transparent; font-size: 7px; text-decoration: underline; text-underline-offset: 2px; }
.audio-apply-card.invited { background: linear-gradient(110deg, rgba(91,52,145,.88), rgba(34,30,40,.9)); border-color: rgba(196,181,253,.42); }
.audio-apply-card.onstage { grid-template-columns: auto minmax(0, 1fr) auto; border-color: rgba(196,181,253,.32); }
.audio-onstage-dot { width: 7px; height: 7px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 0 5px rgba(196,181,253,.1); animation: pulse 1.8s infinite; }
.audio-apply-card.onstage > button:not(.audio-demo-invite) { min-height: 29px; padding: 0 9px; color: rgba(255,255,255,.74); background: rgba(255,255,255,.1); }
.audio-onstage-controls { grid-column: 1 / -1; display: flex; justify-content: center; gap: 7px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.08); }
.audio-onstage-controls button { min-width: 105px; height: 27px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 8px; color: rgba(255,255,255,.74); background: rgba(255,255,255,.07); font-size: 7px; }
.audio-onstage-controls button.off { color: #8a8492; }
.audio-onstage-controls svg { width: 12px; height: 12px; }
.audio-guest-page .audio-onstage-controls { gap: 4px; }
.audio-guest-page .audio-onstage-controls button { min-width: 0; flex: 1; padding: 0 3px; }
.audio-guest-guide { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; color: rgba(255,255,255,.38); font-size: 6.5px; }
.audio-guest-guide > span { min-width: 0; display: flex; align-items: center; gap: 4px; }
.audio-guest-guide svg { width: 10px; height: 10px; flex: 0 0 auto; }
.audio-guest-guide button { flex: 0 0 auto; padding: 2px 4px; color: #c4b5fd; background: transparent; font-size: 6.5px; }
.audio-rules-list { display: flex; flex-direction: column; gap: 9px; margin: 3px 0 16px; }
.audio-rules-list > div { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #faf8fc; }
.audio-rules-list > div > span { flex: 0 0 auto; color: var(--violet); font-size: 12px; font-weight: 800; }
.audio-rules-list p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.audio-rules-list strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 11px; }
.audio-viewer-toolbar { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.audio-viewer-toolbar .room-input, .audio-viewer-toolbar .room-tool { height: 40px; }
.audio-viewer-toolbar .room-tool { width: 40px; }
.audio-queue-list { max-height: 390px; overflow-y: auto; scrollbar-width: none; }
.audio-queue-item { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.audio-queue-number { width: 16px; flex: 0 0 auto; color: #aaa3b3; font-size: 9px; text-align: center; }
.audio-queue-item > .audio-avatar { width: 38px; height: 38px; }
.audio-queue-item > div { min-width: 0; flex: 1; }
.audio-queue-item strong { font-size: 10px; }
.audio-queue-item p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.audio-queue-item small { display: block; margin-top: 4px; overflow: hidden; color: #aaa3b3; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.audio-queue-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; }
.audio-queue-actions button { min-width: 62px; padding: 6px 7px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 8px; }
.audio-queue-actions button.quiet { color: var(--muted); background: var(--paper); }
.audio-queue-actions button:disabled { color: #999; background: #eee; }
.audio-queue-empty { padding: 30px 0; color: var(--muted); font-size: 11px; text-align: center; }
.audio-queue-rule { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 8px; line-height: 1.6; }
.audio-queue-rule svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; color: var(--violet); }
.audio-seat-profile { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 14px; background: var(--paper); }
.audio-seat-profile > .audio-avatar { width: 49px; height: 49px; }
.audio-seat-profile > div { min-width: 0; }
.audio-seat-profile strong { font-size: 13px; }
.audio-seat-profile p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.audio-seat-profile small { display: block; margin-top: 5px; color: #aaa3b3; font-size: 8px; line-height: 1.5; }
.audio-seat-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.audio-seat-actions button { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; color: #615a6b; background: var(--paper); font-size: 9px; }
.audio-seat-actions svg { width: 18px; height: 18px; color: var(--violet); }
.audio-seat-actions button:nth-child(3) svg { transform: rotate(-90deg); }
.audio-seat-actions button:nth-child(4) svg { transform: rotate(90deg); }
.audio-seat-actions button.danger { color: #8d6870; background: #faf1f2; }
.audio-seat-actions button.danger svg { color: #ad737d; }
.audio-seat-actions button:disabled { opacity: .35; }
.audio-order-list { max-height: 420px; overflow-y: auto; scrollbar-width: none; }
.audio-order-item { display: flex; align-items: center; gap: 7px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.audio-order-index { width: 19px; flex: 0 0 auto; color: var(--violet); font-size: 11px; font-weight: 800; text-align: center; }
.audio-order-item > .audio-avatar { width: 34px; height: 34px; font-size: 11px; }
.audio-order-item > div { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.audio-order-item strong { font-size: 10px; }
.audio-order-item small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.audio-order-item button { width: 27px; height: 29px; display: grid; place-items: center; padding: 0; border-radius: 8px; color: #6f6878; background: var(--paper); font-size: 8px; }
.audio-order-item button:last-child { width: 42px; color: #fff; background: var(--violet); }
.audio-order-item button svg { width: 13px; height: 13px; }
.audio-order-item button[data-direction="-1"] svg { transform: rotate(-90deg); }
.audio-order-item button[data-direction="1"] svg { transform: rotate(90deg); }
.audio-order-item button:disabled { opacity: .28; }
.audio-profile-card { padding: 8px 8px 2px; text-align: center; }
.audio-profile-card > .audio-avatar { width: 72px; height: 72px; margin: 0 auto 12px; font-size: 23px; }
.audio-profile-card > small { color: var(--violet); font-size: 9px; }
.audio-profile-card h3 { margin: 8px 0 5px; font-size: 21px; }
.audio-profile-card p { margin: 0; color: var(--muted); font-size: 10px; }
.audio-profile-card blockquote { margin: 15px 0; padding: 12px 14px; border-radius: 12px; color: #6d6576; background: var(--paper); font-size: 10px; line-height: 1.7; }
.audio-profile-badges { display: flex; justify-content: center; gap: 14px; margin-bottom: 16px; color: #7b7483; font-size: 8px; }
.audio-profile-badges span { display: flex; align-items: center; gap: 4px; }
.audio-profile-badges svg { width: 12px; height: 12px; color: var(--violet); }
.audio-invite { padding-top: 5px; text-align: center; }
.audio-invite-avatars { display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.audio-invite-avatars .audio-avatar { width: 58px; height: 58px; border: 3px solid #fff; box-shadow: 0 5px 18px rgba(31,20,45,.16); }
.audio-invite-avatars .audio-avatar + .audio-avatar { margin-left: -12px; }
.audio-invite-avatars > span:not(.audio-avatar) { position: relative; z-index: 2; width: 31px; height: 31px; margin: 0 -6px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--violet); border: 3px solid #fff; }
.audio-invite-avatars > span:not(.audio-avatar) svg { width: 13px; height: 13px; }
.audio-invite > small { color: var(--violet); font-size: 9px; font-weight: 700; }
.audio-invite h3 { margin: 8px 0; font-size: 19px; }
.audio-invite p { max-width: 270px; margin: 0 auto; color: var(--muted); font-size: 10px; line-height: 1.7; }
.audio-invite-meta { display: flex; justify-content: center; gap: 15px; margin: 15px 0 18px; color: #6f6878; font-size: 9px; }
.audio-invite-meta span { display: flex; align-items: center; gap: 4px; }
.audio-invite-meta svg { width: 13px; height: 13px; color: var(--violet); }
.phone.audio-room .toast-root { top: 184px; }

/* Multi-person video roundtable */
.party-page { overflow: hidden; color: #fff; background: radial-gradient(circle at 88% 4%, rgba(84,55,112,.28), transparent 31%), linear-gradient(180deg, #17151b 0%, #0c0b0f 74%); }
.party-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, #000, transparent 60%); }
.party-top { position: relative; z-index: 5; flex: 0 0 auto; min-height: 108px; padding: 50px 12px 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.party-host-top { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; }
.party-top .icon-button { width: 34px; height: 34px; color: #fff; background: rgba(22,19,27,.52); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.party-room-badge { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; }
.party-room-badge strong { font-size: 13px; letter-spacing: .4px; }
.party-room-badge small { padding-left: 6px; color: rgba(255,255,255,.56); border-left: 1px solid rgba(255,255,255,.16); font-size: 10px; font-variant-numeric: tabular-nums; }
.party-top-actions { display: flex; align-items: center; gap: 5px; }
.party-viewer-button { padding: 7px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: rgba(255,255,255,.86); background: rgba(22,19,27,.46); font-size: 9px; white-space: nowrap; }
.party-viewer-top { align-items: center; min-height: 102px; padding-top: 49px; }
.party-viewer-host { min-width: 0; display: flex; align-items: center; gap: 9px; }
.party-host-avatar { flex: 0 0 auto; padding: 0; border-radius: 50%; background: #25212b; }
.party-host-avatar .party-avatar { width: 43px; height: 43px; border: 2px solid rgba(255,255,255,.78); }
.party-viewer-host > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.party-viewer-host strong { display: flex; align-items: center; gap: 3px; font-size: 13px; }
.party-viewer-host small { overflow: hidden; color: rgba(255,255,255,.58); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.follow-btn { flex: 0 0 auto; min-height: 29px; padding: 0 11px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 10px; font-weight: 700; }
.follow-btn.followed { color: rgba(255,255,255,.66); background: rgba(255,255,255,.13); }
.party-main { position: relative; z-index: 2; min-height: 0; flex: 1; display: flex; flex-direction: column; padding: 0 12px; }
.room-topic-entry { align-self: flex-end; display: inline-flex; align-items: center; gap: 4px; min-height: 25px; margin: 4px 0; padding: 0 8px; border: 1px solid rgba(196,181,253,.16); border-radius: 8px; color: rgba(237,233,254,.78); background: rgba(20,15,27,.55); font-size: 8px; }
.room-topic-entry svg { width: 11px; height: 11px; }
.info-sheet-content { max-height: 48vh; overflow-y: auto; }
.info-row { display: flex; align-items: center; gap: 9px; min-height: 44px; border-bottom: 1px solid rgba(124,108,150,.12); color: #51465f; font-size: 11px; }
.info-row svg { width: 16px; height: 16px; color: #8b5cf6; }
.info-row span { flex: 1; }
.info-row b { color: #8b5cf6; font-size: 10px; font-weight: 600; }
.info-sheet-content .sheet-primary { margin-top: 14px; }
.party-grid { flex: 0 0 auto; height: min(40vh, 330px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 9px; }
.party-video-grid { flex: 0 0 auto; height: clamp(220px, 30vh, 280px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.party-video-grid.six { height: clamp(200px, 27vh, 250px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.party-video-grid .party-seat-top { right: 24px; }
.party-seat-number { position: absolute; z-index: 4; top: 5px; right: 5px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 5px; color: rgba(255,255,255,.76); background: rgba(14,11,18,.48); backdrop-filter: blur(6px); font-size: 7px; font-weight: 700; }
.party-seat { position: relative; min-width: 0; min-height: 0; overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; color: #fff; background: #211e26; text-align: left; transition: border-color .2s ease, transform .2s ease; }
.party-seat:active { transform: scale(.98); }
.party-seat.active { border-color: rgba(196,181,253,.92); box-shadow: 0 0 0 1px rgba(167,139,250,.52), 0 0 18px rgba(124,58,237,.18); }
.party-seat.occupied video, .party-seat.occupied > img, .party-initial { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }
.party-seat.occupied video { transform: scale(1.01); }
.party-seat.occupied video.mirrored { transform: scaleX(-1); }
.party-initial { display: grid; place-items: center; color: rgba(255,255,255,.86); background: linear-gradient(145deg, var(--avatar-tone, #4b4451), #211e26); font-size: 27px; font-weight: 700; }
.party-video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,10,.3), transparent 37%, rgba(7,6,10,.74)); pointer-events: none; }
.party-seat-top { position: absolute; top: 5px; left: 5px; right: 5px; display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.party-host-crown, .party-self-tag, .party-speaking-tag { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px; border-radius: 4px; color: #fff; background: rgba(14,11,18,.48); backdrop-filter: blur(6px); font-size: 7px; font-weight: 600; }
.party-host-crown { color: #f3dfad; background: rgba(65,48,26,.52); }
.party-host-crown svg { width: 9px; height: 9px; }
.party-self-tag { color: #ede9fe; background: rgba(91,55,143,.64); }
.party-speaking-tag i { width: 4px; height: 4px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 0 3px rgba(196,181,253,.13); animation: pulse 1.8s infinite; }
.party-person-label { position: absolute; left: 6px; right: 5px; bottom: 5px; display: flex; flex-direction: column; gap: 1px; text-shadow: 0 1px 5px rgba(0,0,0,.55); }
.party-person-label strong { overflow: hidden; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.party-person-label small { overflow: hidden; color: rgba(255,255,255,.58); font-size: 6.5px; text-overflow: ellipsis; white-space: nowrap; }
.party-seat.muted .party-person-label small { color: #f0b8bc; }
.party-seat.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-style: dashed; border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.54); background: rgba(255,255,255,.025); text-align: center; }
.party-seat.empty strong { margin-top: 2px; font-size: 8px; font-weight: 500; }
.party-seat.empty small { color: rgba(255,255,255,.28); font-size: 6.5px; }
.party-empty-plus { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: rgba(255,255,255,.48); background: rgba(255,255,255,.08); }
.party-empty-plus svg { width: 13px; height: 13px; }
.party-queue-preview { flex: 0 0 auto; min-height: 51px; display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; color: #fff; background: rgba(255,255,255,.045); text-align: left; }
.party-queue-avatars { display: flex; padding-left: 5px; }
.party-avatar { position: relative; flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: #4b4451; font-size: 12px; font-weight: 700; }
.party-avatar img { width: 100%; height: 100%; object-fit: cover; }
.party-queue-avatars .party-avatar { width: 27px; height: 27px; margin-left: -5px; border: 2px solid #1c1921; font-size: 9px; }
.party-avatar-empty { color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.party-avatar-empty svg { width: 14px; height: 14px; }
.party-queue-preview > span { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.party-queue-preview strong { font-size: 9px; font-weight: 600; }
.party-queue-preview small { overflow: hidden; color: rgba(255,255,255,.43); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.party-queue-preview em { display: flex; align-items: center; color: #c4b5fd; font-size: 8px; font-style: normal; }
.party-queue-preview em svg { width: 12px; height: 12px; }
.party-chat { min-height: 55px; flex: 1; overflow: hidden; margin-top: 7px; padding-right: 4px; mask-image: linear-gradient(to bottom, transparent 0, #000 13px); }
.party-chat .chat-line { margin-top: 5px; color: rgba(255,255,255,.72); font-size: 8px; line-height: 1.45; }
.party-chat .chat-line strong { color: rgba(221,214,254,.9); font-weight: 600; }
.party-viewer-bottom { position: relative; z-index: 6; flex: 0 0 auto; padding: 6px 10px 18px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(13,11,17,.94); backdrop-filter: blur(18px); }
.party-apply-card { min-height: 74px; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid rgba(196,181,253,.14); border-radius: 12px; background: linear-gradient(115deg, rgba(86,52,133,.3), rgba(255,255,255,.05)); }
.party-apply-card > div:not(.party-onstage-controls) { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.party-apply-card small { color: rgba(221,214,254,.6); font-size: 7px; }
.party-apply-card strong { font-size: 10px; }
.party-apply-card em { color: rgba(255,255,255,.43); font-size: 7px; font-style: normal; }
.party-apply-card > button { flex: 0 0 auto; min-height: 32px; padding: 0 11px; border-radius: 9px; color: #fff; background: var(--violet); font-size: 9px; font-weight: 650; }
.party-apply-card > button svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }
.party-apply-card.queued { position: relative; flex-wrap: wrap; }
.party-queue-pulse { width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; background: rgba(167,139,250,.15); }
.party-queue-pulse i { width: 2px; height: 7px; border-radius: 2px; background: #c4b5fd; animation: partyWave 1s ease-in-out infinite alternate; }
.party-queue-pulse i:nth-child(2) { height: 12px; animation-delay: .2s; }
.party-queue-pulse i:nth-child(3) { height: 9px; animation-delay: .4s; }
@keyframes partyWave { to { transform: scaleY(.45); opacity: .45; } }
.party-demo-invite { display: none !important; }
.party-apply-card.invited { border-color: rgba(196,181,253,.35); background: linear-gradient(115deg, rgba(124,58,237,.42), rgba(64,42,94,.36)); }
.party-apply-card.onstage { flex-wrap: wrap; padding-bottom: 7px; }
.party-onstage-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 0 5px rgba(196,181,253,.12); }
.party-onstage-controls { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.08); }
.party-onstage-controls button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 2px 0; color: rgba(255,255,255,.78); background: transparent; font-size: 7px; }
.party-onstage-controls button.off { color: rgba(255,255,255,.34); }
.party-onstage-controls svg { width: 17px; height: 17px; }
.party-viewer-toolbar { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.room-input { min-width: 0; flex: 1; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; color: rgba(255,255,255,.52); background: rgba(255,255,255,.07); }
.room-input svg { flex: 0 0 auto; width: 16px; height: 16px; }
.room-input input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; font-size: 10px; }
.room-input input::placeholder { color: rgba(255,255,255,.34); }
.room-tool { width: 34px; height: 36px; display: grid; place-items: center; padding: 0; color: #fff; background: transparent; }
.room-tool svg { width: 25px; height: 25px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.room-tool.liked { color: var(--violet-3); }
.room-tool.liked svg { fill: currentColor; }
.room-tool.gift { color: #f0cf91; }
.party-room .toast-root, .party-room-page .toast-root { top: 162px; }

/* Nine-person video room */
.nine-page { background: radial-gradient(circle at 86% 3%, rgba(100,63,137,.3), transparent 32%), linear-gradient(180deg, #18151d 0%, #0b0a0e 76%); }
.nine-grid { height: clamp(252px, 38vh, 330px); gap: 5px; }
.nine-seat { border-radius: 8px; }
.nine-seat .party-person-label { left: 5px; bottom: 4px; }
.nine-seat .party-person-label strong { font-size: 8.5px; }
.nine-seat .party-person-label small { font-size: 6px; }
.nine-room .toast-root { top: 158px; }
.nine-room .status-bar { color: #fff; }
@media (max-height: 740px) {
  .nine-grid { height: 238px; }
}

/* Personal show and compact party seats */
.show-stage { grid-template-rows: 1fr; }
.show-host-chat { bottom: 290px; }
.show-host-bottom { padding-top: 14px; }
.show-queue-card { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(31,27,37,.8); backdrop-filter: blur(16px); }
.show-queue-card > button { flex: 0 0 auto; height: 31px; padding: 0 10px; border-radius: 9px; color: #fff; background: var(--violet); font-size: 8px; }
.show-guest-rail { display: flex; gap: 7px; margin: 9px 0; padding: 1px 1px 3px; overflow-x: auto; scrollbar-width: none; }
.show-guest-rail::-webkit-scrollbar { display: none; }
.show-guest-chip { flex: 0 0 78px; display: flex; flex-direction: column; gap: 4px; padding: 0; color: #fff; background: transparent; text-align: left; }
.show-guest-video { position: relative; width: 78px; height: 56px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: #26212e; }
.show-guest-video video, .show-guest-video img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.show-guest-video i { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; padding: 2px; border-radius: 4px; background: rgba(10,8,13,.48); }
.show-guest-video i.audio-badge { color: #ddd6fe; background: rgba(91,33,182,.76); }
.show-guest-chip.camera-off .show-guest-video { background: linear-gradient(160deg, #342b40, #201c26); }
.show-guest-chip.camera-off .show-guest-video img { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; object-fit: cover; }
.show-avatar-media { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; background: radial-gradient(circle at 50% 35%, #42344f, #201b27 72%); }
.show-avatar-media img { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; object-fit: cover; }
.show-avatar-media > span { display: flex; align-items: center; gap: 3px; color: rgba(255,255,255,.62); font-size: 6.5px; white-space: nowrap; }
.show-avatar-media > span i { display: inline-flex; }
.show-avatar-media > span svg { width: 9px; height: 9px; }
.show-media-status { position: absolute; left: 5px; bottom: 5px; z-index: 2; display: flex; align-items: center; gap: 2px; padding: 3px 4px; border-radius: 4px; color: rgba(255,255,255,.76); background: rgba(10,8,13,.56); font-size: 6px; }
.show-media-status svg { width: 8px; height: 8px; }
.party-onstage-controls:has(button:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }

.show-guest-chip > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.show-guest-chip strong { overflow: hidden; font-size: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.show-guest-chip small { color: rgba(255,255,255,.46); font-size: 6.5px; }
.show-guest-chip.active .show-guest-video { border-color: #c4b5fd; box-shadow: 0 0 0 2px rgba(167,139,250,.24); }
.show-guest-chip.active small { color: #c4b5fd; }
.show-guest-chip.empty .show-guest-video { border-style: dashed; color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.show-guest-chip.empty svg { width: 17px; height: 17px; }
.show-active-pip { position: absolute; z-index: 4; right: 12px; bottom: 86px; width: 106px; height: 142px; overflow: hidden; border: 1px solid rgba(255,255,255,.4); border-radius: 13px; background: #211d27; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.show-active-pip video, .show-active-pip img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.show-active-pip video.mirrored { transform: scaleX(-1); }
.show-pip-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 7px 6px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: 7px; }
.show-viewer-bottom .show-guest-rail { margin-top: 0; }
.show-viewer-page .date-chat { bottom: 250px; }
.show-viewer-page.onstage .date-chat { bottom: 280px; }
.date-show-top .date-viewer-host > div { max-width: 118px; }
.date-show-top .date-viewer-host small { overflow: hidden; text-overflow: ellipsis; }
.date-role-tag { flex: 0 0 auto; padding: 5px 7px; border: 1px solid rgba(196,181,253,.28); border-radius: 8px; color: #ddd6fe; background: rgba(124,58,237,.3); font-size: 7px; }
.show-host-page .date-chat { bottom: 270px; }
.show-role-viewer .date-chat { bottom: 278px; }
.show-role-guest .date-chat { bottom: 315px; }
.show-active-pip { width: 98px; height: 126px; bottom: 288px; padding: 0; text-align: left; }
.show-active-pip .show-avatar-media img { width: 44px; height: 44px; }
.show-active-pip .show-avatar-media > span { font-size: 6px; }
.show-guest-video i.muted-badge { right: auto; left: 3px; color: #f2c7cd; background: rgba(129,39,51,.76); }
.date-viewer-toolbar .room-input { gap: 5px; padding-right: 5px; }
.date-viewer-toolbar .host-send { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border-radius: 50%; color: #fff; background: rgba(167,139,250,.2); }
.date-viewer-toolbar .host-send svg { width: 14px; height: 14px; }
.show-person-profile { display: flex; align-items: center; gap: 13px; padding: 4px 2px 17px; }
.show-person-profile > img { width: 62px; height: 70px; flex: 0 0 auto; border-radius: 15px; object-fit: cover; }
.show-person-profile > div { min-width: 0; }
.show-person-profile small { color: var(--violet); font-size: 9px; font-weight: 700; }
.show-person-profile h3 { display: flex; align-items: center; gap: 4px; margin: 5px 0 4px; font-size: 18px; }
.show-person-profile h3 svg { width: 15px; height: 15px; color: var(--violet); }
.show-person-profile p { margin: 0; color: var(--muted); font-size: 10px; }
.show-person-profile > div > span { display: block; margin-top: 7px; color: #716877; font-size: 10px; line-height: 1.6; }
.show-person-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.show-person-actions button { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 7px 4px; border: 1px solid var(--line); border-radius: 12px; color: #554c5e; background: #faf8fc; font-size: 9px; }
.show-person-actions button svg { width: 20px; height: 20px; color: var(--violet); }
.show-person-actions button.active { border-color: #d9c9fb; color: var(--violet); background: #f4effd; }
.show-person-actions button.danger { color: #b34c59; background: #fff7f8; }
.show-person-actions button.danger svg { color: #b34c59; }
.show-person-actions button.off { color: #99919f; background: #f1eef3; }
.show-person-actions button:disabled { opacity: .48; }
.show-person-facts { display: flex; justify-content: space-around; gap: 7px; padding: 13px 8px; border-radius: 12px; color: #6f617b; background: #f6f2fa; font-size: 9px; }
.show-person-facts span { display: flex; align-items: center; gap: 4px; }
.show-person-facts svg { width: 13px; height: 13px; color: var(--violet); }
.show-audience-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.show-audience-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; text-align: left; }
.show-audience-rank { width: 17px; flex: 0 0 auto; color: #9b90a4; font-size: 10px; font-weight: 800; text-align: center; }
.show-audience-row:nth-child(-n+3) .show-audience-rank { color: var(--violet); }
.show-audience-row > img { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; }
.show-audience-row > span:nth-of-type(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.show-audience-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.show-audience-row small { color: var(--muted); font-size: 9px; }
.show-audience-row em { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: #6d528d; font-size: 10px; font-style: normal; font-weight: 700; }
.show-audience-row em small { font-size: 7px; font-weight: 400; }
.show-audience-row > svg { width: 14px; height: 14px; flex: 0 0 auto; color: #b0a6b9; }
.show-report-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.show-report-options button { min-height: 43px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; color: #665b6f; background: #faf8fc; font-size: 10px; }
.date-host-top { padding-right: 9px; padding-left: 9px; gap: 4px; }
.date-top-actions { gap: 4px; }
.date-host-top .date-viewer-button { padding: 0 7px; }
.nine-host-page .party-chat { min-height: 35px; }
.nine-grid.has-expanded .nine-seat.expanded { grid-column: 1 / span 2; grid-row: 1 / span 2; z-index: 2; border-color: rgba(196,181,253,.78); box-shadow: 0 0 0 1px rgba(167,139,250,.38); animation: nineSeatExpand .2s ease both; }
@keyframes nineSeatExpand { from { opacity: .72; transform: scale(.97); } }
.nine-seat.expanded .party-seat-number { display: none; }
.nine-seat.expanded .party-person-label { left: 12px; bottom: 58px; }
.nine-seat.expanded .party-person-label strong { font-size: 14px; }
.nine-seat.expanded .party-person-label small { font-size: 8px; }
.nine-expanded-close { position: absolute; z-index: 5; top: 8px; right: 8px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: #fff; background: rgba(14,11,18,.62); backdrop-filter: blur(8px); }
.nine-expanded-close svg { width: 15px; height: 15px; }
.nine-expanded-controls { position: absolute; z-index: 5; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(14,11,18,.62); backdrop-filter: blur(10px); }
.nine-expanded-controls button { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: rgba(255,255,255,.09); }
.nine-expanded-controls button svg { width: 16px; height: 16px; }
.nine-expanded-controls button.danger { color: #f4b4bb; background: rgba(159,47,61,.24); }
.nine-expanded-controls small { margin-left: auto; padding-right: 3px; color: rgba(255,255,255,.48); font-size: 7px; white-space: nowrap; }

/* Seven-person angel room */
.seven-room .status-bar { color: #fff; background: #141218; }
.seven-stage-card { flex: 0 0 auto; padding: 12px; border: 1px solid rgba(196,181,253,.2); border-radius: 14px; background: linear-gradient(125deg, rgba(83,55,119,.7), rgba(28,24,35,.88)); box-shadow: 0 10px 28px rgba(0,0,0,.15); }
.seven-stage-head { display: flex; align-items: flex-start; gap: 10px; }
.seven-stage-head > div { min-width: 0; flex: 1; }
.seven-stage-head small { display: flex; align-items: center; gap: 5px; color: #cbb8ef; font-size: 7px; font-weight: 700; letter-spacing: .6px; }
.seven-stage-head small svg { width: 13px; height: 13px; }
.seven-stage-head strong { display: block; margin-top: 4px; font-size: 15px; letter-spacing: .2px; }
.seven-stage-head p { margin: 4px 0 0; color: rgba(255,255,255,.54); font-size: 8px; line-height: 1.5; }
.seven-stage-head > span { flex: 0 0 auto; padding: 4px 6px; border-radius: 6px; color: #dfd1ff; background: rgba(167,139,250,.16); font-size: 8px; font-weight: 700; }
.seven-stage-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 10px; }
.seven-stage-steps span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 8px; color: rgba(255,255,255,.28); font-size: 7px; font-variant-numeric: tabular-nums; }
.seven-stage-steps span::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 2px; border-radius: 3px; background: rgba(255,255,255,.12); }
.seven-stage-steps span.done { color: #c9b5f1; }
.seven-stage-steps span.done::before { background: #8b62d2; }
.seven-stage-steps span.active { color: #fff; font-weight: 700; }
.seven-stage-steps span.active::before { background: #d8c8ff; box-shadow: 0 0 8px rgba(216,200,255,.7); }
.seven-stage-steps em { font-size: 6.5px; font-style: normal; font-weight: 500; white-space: nowrap; }
.seven-stage-card.is-private { border-color: rgba(224,178,220,.5); background: linear-gradient(125deg, rgba(111,48,116,.74), rgba(29,23,36,.92)); }
.seven-grid { height: clamp(274px, 39vh, 334px); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
.seven-seat:first-child { grid-column: span 2; }
.seven-seat .date-person-label { left: 7px; bottom: 5px; }
.seven-seat .date-person-label strong { font-size: 9px; }
.seven-seat .date-person-label small { font-size: 6.5px; }
.seven-seat .date-video-shade { background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.68)); }
.seven-seat.selected { border-color: #d3b8ff; box-shadow: inset 0 0 0 2px #b28af0; }
.seven-seat.private-pair { border-color: #e9b5e7; box-shadow: inset 0 0 0 2px rgba(233,181,231,.75); }
.seven-speaking { position: absolute; top: 5px; left: 5px; display: flex; align-items: center; gap: 3px; padding: 3px 5px; border-radius: 5px; color: #fff; background: rgba(113,63,194,.82); font-size: 6px; }
.seven-speaking svg { width: 9px; height: 9px; }
.seven-host-badge { position: absolute; top: 5px; right: 5px; display: flex; align-items: center; gap: 3px; padding: 3px 5px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; color: #ede3ff; background: rgba(34,24,45,.65); font-size: 6px; backdrop-filter: blur(6px); }
.seven-host-badge svg { width: 10px; height: 10px; }
.seven-grid.has-expanded .seven-seat.expanded { grid-column: span 2; grid-row: span 2; z-index: 2; border-color: rgba(210,185,255,.9); box-shadow: 0 0 0 1px rgba(167,139,250,.4); }
.seven-grid.has-expanded .seven-seat.expanded .date-person-label { left: 10px; bottom: 9px; }
.seven-grid.has-expanded .seven-seat.expanded .date-person-label strong { font-size: 13px; }
.seven-host-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 7px; margin-top: 8px; }
.seven-host-actions button { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px; border: 1px solid rgba(196,181,253,.17); border-radius: 11px; color: #ded2f4; background: rgba(255,255,255,.06); }
.seven-host-actions button svg { width: 14px; height: 14px; }
.seven-host-actions button span { display: flex; flex-direction: column; gap: 2px; font-size: 8px; white-space: nowrap; }
.seven-host-actions .seven-primary { justify-content: flex-start; padding-left: 10px; border-color: rgba(196,181,253,.4); color: #fff; background: linear-gradient(115deg, #8d62ce, #64418f); text-align: left; }
.seven-primary > svg { flex: 0 0 auto; }
.seven-primary span { min-width: 0; }
.seven-primary strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
.seven-primary small { overflow: hidden; max-width: 190px; color: rgba(255,255,255,.62); font-size: 6.5px; text-overflow: ellipsis; }
.seven-connection-list { display: grid; gap: 5px; margin-top: 7px; }
.seven-connection-list > div { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(231,181,231,.17); border-radius: 9px; background: rgba(91,43,96,.25); }
.seven-connection-list svg { width: 12px; height: 12px; color: #e5b5e4; }
.seven-connection-list strong { flex: 1; font-size: 8px; }
.seven-connection-list small { color: rgba(255,255,255,.46); font-size: 6.5px; }
.seven-console-guests { display: grid; gap: 6px; margin: 12px 0; }
.seven-console-guests button { display: flex; align-items: center; gap: 9px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: #fbf9fd; text-align: left; }
.seven-console-guests button.selected { border-color: #aa7ce3; background: #f3eafd; }
.seven-console-guests button.in-private { border-color: #d7a0d2; background: #fbecf9; }
.seven-console-guests .party-avatar { flex: 0 0 auto; width: 34px; height: 34px; }
.seven-console-guests button > span { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.seven-console-guests strong { font-size: 10px; }
.seven-console-guests small { color: var(--muted); font-size: 8px; }
.seven-console-guests i { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--violet); background: #eee5fa; font-style: normal; }
.seven-console-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 9px; }
.seven-console-tools button { min-height: 34px; padding: 5px; border-radius: 9px; color: #72588c; background: #f3edf8; font-size: 8px; }
.seven-console-tools svg { width: 11px; height: 11px; vertical-align: -2px; }
.angel-mode-card { border-color: #d9c7f3; background: linear-gradient(135deg, #faf6ff, #fff); }
@media (max-height: 740px) {
  .seven-grid { height: 246px; }
  .seven-stage-card { padding: 9px 10px; }
  .seven-stage-head strong { font-size: 13px; }
  .seven-stage-steps { margin-top: 7px; }
}

/* Room gameplay */
.room-game-dock { flex: 0 0 auto; min-width: 0; min-height: 47px; display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 7px 9px; border: 1px solid rgba(196,181,253,.16); border-radius: 13px; color: #fff; background: linear-gradient(110deg, rgba(72,51,96,.54), rgba(30,27,36,.72)); box-shadow: 0 8px 24px rgba(0,0,0,.12); backdrop-filter: blur(14px); text-align: left; }
.room-game-dock.playing { border-color: rgba(196,181,253,.46); background: linear-gradient(110deg, rgba(94,57,145,.62), rgba(31,26,40,.8)); }
.room-game-dock:active { transform: scale(.985); }
.room-game-dock-icon { flex: 0 0 auto; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #ede9fe; background: rgba(167,139,250,.16); }
.room-game-dock-icon svg { width: 17px; height: 17px; }
.room-game-dock-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.room-game-dock-copy small { color: rgba(221,214,254,.5); font-size: 6.5px; letter-spacing: .25px; }
.room-game-dock-copy strong { overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.room-game-dock-copy > span { overflow: hidden; color: rgba(255,255,255,.43); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.room-game-dock-meta { flex: 0 0 auto; display: flex; align-items: center; gap: 3px; color: #c4b5fd; font-size: 8px; font-variant-numeric: tabular-nums; }
.room-game-dock-meta svg { width: 12px; height: 12px; }
.room-game-intro { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #eee6f8; border-radius: 14px; background: linear-gradient(120deg, #f7f2ff, #fbf9fd); }
.room-game-intro > span { flex: 0 0 auto; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: var(--violet); background: #ece1fb; }
.room-game-intro svg { width: 17px; height: 17px; }
.room-game-intro strong { font-size: 11px; }
.room-game-intro p { margin: 5px 0 0; color: #81758c; font-size: 9px; line-height: 1.65; }
.room-game-cards { display: grid; gap: 10px; margin-top: 12px; }
.room-game-card { padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(43,28,61,.045); }
.room-game-card.running { border-color: #d8c7f7; background: linear-gradient(135deg, #fbf8ff, #fff); }
.room-game-card-head { display: flex; align-items: center; gap: 10px; }
.room-game-card-head > span { flex: 0 0 auto; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #9b78df, #6f3fc2); }
.room-game-card-head svg { width: 21px; height: 21px; }
.room-game-card-head > div { min-width: 0; flex: 1; }
.room-game-card-head small { color: var(--violet); font-size: 8px; font-weight: 650; letter-spacing: .4px; }
.room-game-card-head h4 { margin: 3px 0 0; font-size: 16px; }
.room-game-card-head em { padding: 4px 6px; border-radius: 6px; color: var(--violet); background: var(--violet-soft); font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: .6px; }
.room-game-card > strong { display: block; margin-top: 12px; font-size: 11px; }
.room-game-card > p { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.room-game-card .sheet-primary { min-height: 38px; margin-top: 12px; font-size: 10px; }
.sheet-primary.room-game-cta { position: sticky; z-index: 3; bottom: 0; box-shadow: 0 -12px 20px 8px #fff; }
.room-game-waiting { margin-top: 12px; padding: 10px; border-radius: 10px; color: #9a90a3; background: #f5f2f7; font-size: 9px; text-align: center; }
.room-game-section-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 17px 1px 9px; }
.room-game-section-title strong { font-size: 11px; }
.room-game-section-title span { color: var(--muted); font-size: 8px; }
.room-game-history { display: flex; flex-direction: column; gap: 7px; }
.room-game-history-row { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fbfafc; }
.room-game-history-row > span { flex: 0 0 auto; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-soft); }
.room-game-history-row svg { width: 15px; height: 15px; }
.room-game-history-row > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.room-game-history-row strong { font-size: 10px; }
.room-game-history-row small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.room-game-history-row time { color: #aaa2b0; font-size: 8px; }
.room-game-empty { padding: 22px 12px; border: 1px dashed #e5deeb; border-radius: 13px; color: #a49aa9; background: #fbfafc; font-size: 9px; text-align: center; }
.room-game-request { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px; border: 1px solid #e9ddfa; border-radius: 12px; background: #faf6ff; }
.room-game-request > span { color: var(--violet); }
.room-game-request > span svg { width: 18px; height: 18px; }
.room-game-request > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.room-game-request strong { font-size: 10px; }
.room-game-request small { color: var(--muted); font-size: 8px; }
.room-game-request button { flex: 0 0 auto; padding: 7px 10px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 9px; }
.room-game-song-requests { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.room-game-song-requests button { min-width: 0; min-height: 36px; display: flex; align-items: center; gap: 6px; padding: 7px 9px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; color: #675c71; background: #faf9fb; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.room-game-song-requests button.active { border-color: #d8c6f8; color: var(--violet); background: #f4edff; }
.room-game-song-requests svg { flex: 0 0 auto; width: 13px; height: 13px; }
.room-game-rule-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 13px; padding: 9px 10px; border-radius: 10px; color: #8e8198; background: #f7f4f9; font-size: 8px; line-height: 1.6; }
.room-game-rule-note svg { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 1px; color: #9c7bc8; }
.karaoke-song-list { display: flex; flex-direction: column; gap: 7px; }
.karaoke-song { position: relative; display: flex; align-items: center; gap: 10px; min-height: 55px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.karaoke-song.selected { border-color: #d8c5f8; background: #faf6ff; }
.karaoke-song input, .karaoke-singer input { position: absolute; opacity: 0; pointer-events: none; }
.karaoke-song > span { flex: 0 0 auto; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; color: var(--violet); background: var(--violet-soft); }
.karaoke-song svg { width: 16px; height: 16px; }
.karaoke-song > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.karaoke-song strong { font-size: 11px; }
.karaoke-song small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.karaoke-song > i { flex: 0 0 auto; width: 16px; height: 16px; border: 1.5px solid #d9d1df; border-radius: 50%; }
.karaoke-song.selected > i { border: 5px solid var(--violet); }
.karaoke-singer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.karaoke-singer { position: relative; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.karaoke-singer.selected { border-color: #d8c5f8; background: #faf6ff; box-shadow: inset 0 0 0 1px #eee3fd; }
.karaoke-singer .party-avatar { width: 32px; height: 32px; font-size: 10px; }
.karaoke-singer > span { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.karaoke-singer strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.karaoke-singer small { color: var(--muted); font-size: 7px; }
.karaoke-singer.selected::after { content: "✓"; position: absolute; top: 5px; right: 7px; color: var(--violet); font-size: 9px; font-weight: 800; }
.karaoke-live-stage { padding: 18px 15px 14px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 50% 15%, rgba(151,107,215,.36), transparent 45%), linear-gradient(145deg, #30253e, #17141d); text-align: center; }
.karaoke-live-avatar { position: relative; width: 68px; height: 68px; margin: 0 auto; }
.karaoke-live-avatar .party-avatar { width: 68px; height: 68px; border: 2px solid rgba(255,255,255,.65); box-shadow: 0 0 0 6px rgba(167,139,250,.1); font-size: 22px; }
.karaoke-live-avatar > span { position: absolute; right: -3px; bottom: -3px; width: 25px; height: 25px; display: grid; place-items: center; border: 2px solid #30253e; border-radius: 50%; color: #fff; background: var(--violet); }
.karaoke-live-avatar svg { width: 13px; height: 13px; }
.karaoke-live-stage > small { display: block; margin-top: 13px; color: #c4b5fd; font-size: 8px; letter-spacing: .7px; }
.karaoke-live-stage h3 { margin: 5px 0 0; font-size: 18px; }
.karaoke-live-wave { height: 36px; display: flex; align-items: center; justify-content: center; gap: 3px; margin: 13px 0 10px; }
.karaoke-live-wave i { width: 3px; height: var(--h); border-radius: 3px; background: linear-gradient(#ddd0ff, #8b5cf6); animation: karaokeWave .75s ease-in-out infinite alternate; animation-delay: calc(var(--bar) * -55ms); }
@keyframes karaokeWave { from { transform: scaleY(.3); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
.karaoke-live-timer { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 8px; }
.karaoke-live-timer strong { color: #fff; font-size: 17px; font-variant-numeric: tabular-nums; }
.karaoke-live-progress, .angel-live-progress { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.12); }
.karaoke-live-progress i, .angel-live-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a78bfa, #ddd0ff); transition: width .4s linear; }
.karaoke-score-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.karaoke-score-list > div { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.karaoke-score-list > div.current { border-color: #decef8; background: #faf6ff; }
.karaoke-score-list .party-avatar { width: 30px; height: 30px; font-size: 9px; }
.karaoke-score-list > div > span { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.karaoke-score-list strong { font-size: 10px; }
.karaoke-score-list small { color: var(--muted); font-size: 7px; }
.karaoke-score-list em { color: var(--violet); font-size: 11px; font-style: normal; font-weight: 750; }
.room-game-host-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin-top: 14px; }
.room-game-host-actions button { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10px; }
.room-game-host-actions svg { width: 13px; height: 13px; }
.karaoke-result { padding: 20px 15px 17px; border-radius: 18px; background: radial-gradient(circle at 50% 0, #f0e5ff, transparent 55%), linear-gradient(145deg, #fbf8ff, #fff); text-align: center; }
.karaoke-result-crown { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, #b79a62, #8f6c31); box-shadow: 0 10px 22px rgba(143,108,49,.18); }
.karaoke-result-crown svg { width: 25px; height: 25px; }
.karaoke-result small { color: #a18a55; font-size: 8px; font-weight: 650; letter-spacing: .7px; }
.karaoke-result h3 { margin: 6px 0 4px; font-size: 21px; }
.karaoke-result p { margin: 0; color: var(--muted); font-size: 9px; }
.angel-setup { padding: 5px 2px 2px; text-align: center; }
.angel-setup-mark { position: relative; width: 80px; height: 80px; display: grid; place-items: center; margin: 3px auto 16px; border-radius: 27px; color: #fff; background: linear-gradient(145deg, #a78bfa, #7040bd); box-shadow: 0 15px 35px rgba(124,58,237,.2); }
.angel-setup-mark svg { width: 42px; height: 42px; }
.angel-setup-mark span { position: absolute; inset: -8px; border: 1px solid rgba(167,139,250,.2); border-radius: 33px; }
.angel-setup > small { color: var(--violet); font-size: 8px; font-weight: 650; letter-spacing: .6px; }
.angel-setup h3 { margin: 7px 0 8px; font-size: 20px; }
.angel-setup > p { margin: 0; color: #84788e; font-size: 10px; line-height: 1.8; }
.angel-rules { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.angel-rules span { display: flex; align-items: center; gap: 4px; padding: 7px 8px; border-radius: 8px; color: #755c90; background: #f5effc; font-size: 8px; }
.angel-rules svg { width: 12px; height: 12px; }
.angel-setup-avatars { display: flex; justify-content: center; margin: 17px 0 5px; }
.angel-setup-avatars .party-avatar { width: 43px; height: 43px; margin-left: -7px; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(52,35,71,.1); font-size: 12px; }
.angel-live-card { padding: 18px 15px 14px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 50% 12%, rgba(155,113,214,.4), transparent 43%), linear-gradient(145deg, #33253f, #17141d); text-align: center; }
.angel-live-aura { position: relative; width: 75px; height: 75px; margin: 0 auto 13px; }
.angel-live-aura .party-avatar { width: 75px; height: 75px; border: 2px solid rgba(255,255,255,.65); box-shadow: 0 0 0 7px rgba(167,139,250,.09); font-size: 24px; }
.angel-live-aura > span { position: absolute; right: -5px; bottom: -4px; width: 27px; height: 27px; display: grid; place-items: center; border: 2px solid #33253f; border-radius: 50%; color: #fff; background: var(--violet); }
.angel-live-aura svg { width: 15px; height: 15px; }
.angel-live-card > small { color: #c4b5fd; font-size: 8px; }
.angel-live-card h3 { margin: 5px 0 7px; font-size: 19px; }
.angel-live-card p { min-height: 30px; margin: 0; color: rgba(255,255,255,.58); font-size: 9px; line-height: 1.65; }
.angel-live-timer { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; color: rgba(255,255,255,.5); font-size: 8px; }
.angel-live-timer strong { color: #fff; font-size: 17px; font-variant-numeric: tabular-nums; }
.angel-live-progress { background: rgba(255,255,255,.11); }
.angel-message { margin-top: 10px; padding: 12px; border: 1px solid #eadff8; border-radius: 12px; background: #faf6ff; }
.angel-message small { color: var(--violet); font-size: 8px; }
.angel-message p { margin: 6px 0 0; color: #6e6178; font-size: 10px; line-height: 1.7; }
.angel-secret-card { display: flex; align-items: flex-start; gap: 9px; margin-top: 11px; padding: 11px; border: 1px solid #e9ddf8; border-radius: 12px; background: #f8f3ff; }
.angel-secret-card > span { flex: 0 0 auto; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: #ede2fb; }
.angel-secret-card svg { width: 15px; height: 15px; }
.angel-secret-card > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.angel-secret-card small { color: var(--violet); font-size: 7px; }
.angel-secret-card strong { font-size: 10px; }
.angel-secret-card p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.angel-message-form { display: flex; gap: 7px; margin-top: 10px; }
.angel-message-form input { min-width: 0; height: 39px; flex: 1; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #faf9fb; font-size: 9px; }
.angel-message-form button { flex: 0 0 auto; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--violet); }
.angel-message-form button:disabled { opacity: .4; }
.angel-message-form svg { width: 16px; height: 16px; }
.angel-care-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.angel-care-actions button { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #e7dcf5; border-radius: 11px; color: #75568f; background: #fbf8ff; font-size: 9px; }
.angel-care-actions button:disabled { opacity: .4; }
.angel-care-actions svg { width: 14px; height: 14px; }
.angel-guess-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.angel-guess-list button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 11px; color: #665a70; background: #fff; font-size: 8px; }
.angel-guess-list .party-avatar { width: 34px; height: 34px; font-size: 10px; }
.angel-guess-list button:active { border-color: #cdb4f1; background: #faf6ff; }
.angel-guess-feedback { display: flex; align-items: center; gap: 6px; margin-top: 9px; padding: 9px 10px; border-radius: 10px; color: #8a7b94; background: #f7f4f9; font-size: 8px; }
.angel-guess-feedback.success { color: #6d4b91; background: #f1e9fb; }
.angel-guess-feedback svg { width: 13px; height: 13px; }
.angel-host-secret { display: flex; flex-direction: column; gap: 5px; margin-top: 13px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; color: #7d7187; background: #faf9fb; }
.angel-host-secret span { display: flex; align-items: center; gap: 5px; font-size: 9px; }
.angel-host-secret small { color: #a398aa; font-size: 7px; line-height: 1.5; }
.angel-host-secret svg { width: 13px; height: 13px; }
.angel-result { padding: 19px 14px 16px; border-radius: 18px; background: radial-gradient(circle at 50% 0, #efe3ff, transparent 56%), linear-gradient(145deg, #fbf8ff, #fff); text-align: center; }
.angel-result-mark { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 11px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #a78bfa, #7040bd); box-shadow: 0 12px 26px rgba(124,58,237,.18); }
.angel-result-mark svg { width: 28px; height: 28px; }
.angel-result > small { color: var(--violet); font-size: 8px; }
.angel-result h3 { margin: 7px 0 6px; font-size: 19px; }
.angel-result p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.angel-result-people { display: flex; align-items: center; justify-content: center; margin: 17px 0 15px; }
.angel-result-people .party-avatar { width: 52px; height: 52px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(57,36,79,.13); font-size: 16px; }
.angel-result-people > span { width: 29px; height: 29px; display: grid; place-items: center; margin: 0 8px; border-radius: 50%; color: var(--violet); background: #eee4fb; }
.angel-result-people svg { width: 14px; height: 14px; }
.angel-result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.angel-result-stats span { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 11px; background: rgba(255,255,255,.7); }
.angel-result-stats strong { font-size: 12px; }
.angel-result-stats small { color: var(--muted); font-size: 7px; }

/* Party room sheets */
.party-seat-profile { display: flex; align-items: center; gap: 12px; padding: 3px 0 15px; }
.party-seat-profile .party-avatar { width: 54px; height: 54px; }
.party-seat-profile > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.party-seat-profile strong { font-size: 16px; }
.party-seat-profile p { margin: 0; color: var(--muted); font-size: 11px; }
.party-seat-profile small { color: #6d6677; font-size: 10px; line-height: 1.55; }
.party-seat-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.party-seat-actions button { min-height: 65px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 7px 4px; border: 1px solid var(--line); border-radius: 12px; color: #514958; background: #faf9fb; font-size: 9px; }
.party-seat-actions svg { width: 21px; height: 21px; color: var(--violet); }
.party-seat-actions button.danger { color: #c24b58; background: #fff8f8; }
.party-seat-actions button.danger svg { color: #c24b58; }
.party-profile-card { padding: 2px 2px 4px; text-align: center; }
.party-profile-card > .party-avatar { width: 76px; height: 76px; margin: 0 auto 10px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(45,31,60,.15); font-size: 25px; }
.party-profile-card > small { color: var(--violet); font-size: 9px; font-weight: 650; }
.party-profile-card h3 { margin: 6px 0 2px; font-size: 21px; }
.party-profile-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.party-profile-card blockquote { margin: 16px 4px; padding: 13px 14px; border-radius: 13px; color: #514b57; background: #f5f3f7; font-size: 12px; line-height: 1.7; }
.party-profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.party-profile-tags span { padding: 5px 9px; border-radius: 7px; color: #6d5a82; background: var(--violet-soft); font-size: 9px; }
.party-profile-badges { display: flex; justify-content: center; gap: 15px; margin: 15px 0; color: #88808e; font-size: 9px; }
.party-profile-badges span { display: flex; align-items: center; gap: 4px; }
.party-profile-badges svg { width: 13px; height: 13px; color: var(--violet); }
.sheet-primary { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; color: #fff; background: var(--violet); font-size: 12px; font-weight: 700; }
.sheet-primary svg { width: 16px; height: 16px; }
.sheet-primary.signaled { color: #7c6b8d; background: #efebf3; }
.party-topic-list { display: flex; flex-direction: column; gap: 8px; }
.party-topic-list > button { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; text-align: left; }
.party-topic-list > button.active { border-color: #d8c8fb; background: #f8f5ff; }
.party-topic-list > button > span { flex: 0 0 auto; width: 30px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: #9273c7; background: #f1ecf9; font-size: 11px; font-weight: 800; }
.party-topic-list > button > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.party-topic-list small { color: var(--violet); font-size: 8px; }
.party-topic-list strong { font-size: 11px; line-height: 1.4; }
.party-topic-list em { flex: 0 0 auto; color: var(--muted); font-size: 9px; font-style: normal; }
.party-topic-list > button.active em { color: var(--violet); font-weight: 650; }
.party-mute-all { margin-top: 13px; }
.party-queue-actions { display: flex; flex-direction: column; gap: 5px; }
.party-queue-actions button { min-height: 28px; padding: 0 9px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 9px; white-space: nowrap; }
.party-queue-actions button.quiet { padding: 0; color: var(--muted); background: transparent; }
.party-queue-actions button:disabled { color: #aaa2b0; background: #eeeaf1; }
.party-invite { padding: 2px 2px 4px; text-align: center; }
.party-invite-avatars { display: flex; align-items: center; justify-content: center; margin: 2px 0 16px; }
.party-invite-avatars .party-avatar { width: 64px; height: 64px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(45,31,60,.14); }
.party-invite-avatars .party-avatar:last-child { margin-left: -8px; }
.party-invite-avatars > span { width: 30px; height: 30px; display: grid; place-items: center; margin: 0 -3px; border-radius: 50%; color: #fff; background: var(--violet); z-index: 2; }
.party-invite-avatars > span svg { width: 15px; height: 15px; }
.party-invite > small { color: var(--violet); font-size: 9px; font-weight: 700; letter-spacing: .5px; }
.party-invite h3 { margin: 7px 0; font-size: 20px; }
.party-invite p { margin: 0; color: #736b7c; font-size: 11px; line-height: 1.7; }
.party-invite-meta { display: flex; justify-content: center; gap: 18px; margin: 16px 0 18px; color: #8a818f; font-size: 9px; }
.party-invite-meta span { display: flex; align-items: center; gap: 4px; }
.party-invite-meta svg { width: 13px; height: 13px; color: var(--violet); }

.host-toolbar { position: relative; z-index: 7; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.07); background: rgba(13,11,17,.94); backdrop-filter: blur(18px); }
.host-room-input { height: 38px; padding: 0 6px 0 11px; }
.host-send { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border-radius: 50%; color: #fff; background: rgba(167,139,250,.2); }
.host-send svg { width: 15px; height: 15px; }
.date-host-bottom .host-toolbar { margin-top: 8px; padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.host-manage-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.host-manage-stats button { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px; border: 1px solid #ece5f3; border-radius: 13px; color: var(--ink); background: #fbf9fd; text-align: left; }
.host-manage-stats button > span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.host-manage-stats svg { width: 14px; height: 14px; color: var(--violet); }
.host-manage-stats strong { display: flex; align-items: center; gap: 3px; font-size: 13px; }
.host-manage-stats strong svg { width: 12px; height: 12px; }
.host-manage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.host-manage-grid button { min-width: 0; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 8px 4px; border-radius: 12px; color: #544b5d; background: #f6f2f9; font-size: 9px; line-height: 1.35; text-align: center; }
.host-manage-grid svg { width: 20px; height: 20px; color: var(--violet); }
.host-manage-grid button.off { color: #aaa2b0; }
.host-manage-grid button.active { color: var(--violet); background: #eee5fb; }
.host-end-live { width: 100%; height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; border-radius: 12px; color: #b54755; background: #fff0f2; font-size: 12px; font-weight: 700; }
.host-end-live svg { width: 16px; height: 16px; }
.gift-notice { position: absolute; z-index: 55; top: 36%; left: 50%; max-width: 88%; padding: 9px 15px; transform: translateX(-50%); border: 1px solid rgba(255,231,168,.46); border-radius: 999px; color: #fff2c9; background: linear-gradient(100deg, rgba(108,48,154,.92), rgba(162,85,32,.9)); box-shadow: 0 8px 28px rgba(53,18,72,.36); backdrop-filter: blur(14px); font-size: 10px; font-weight: 700; line-height: 1.4; text-align: center; pointer-events: none; animation: giftNotice 2.8s ease both; }
@keyframes giftNotice { 0% { opacity: 0; transform: translate(-50%, 12px) scale(.86); } 14%, 78% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -10px) scale(.96); } }
.gift-recipient-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: 13px; background: var(--paper); }
.gift-recipient-tabs button { height: 34px; border-radius: 10px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 600; }
.gift-recipient-tabs button.active { color: var(--violet); background: #fff; box-shadow: 0 3px 10px rgba(52,31,71,.07); }
.gift-recipient-list { max-height: min(360px, 48vh); overflow-y: auto; scrollbar-width: none; }
.gift-recipient-list::-webkit-scrollbar { display: none; }
.gift-recipient-row { width: 100%; min-height: 55px; display: flex; align-items: center; gap: 10px; padding: 8px 3px; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.gift-recipient-row:last-child { border-bottom: 0; }
.gift-recipient-row > img, .gift-recipient-all { width: 39px; height: 39px; flex: 0 0 auto; overflow: hidden; border-radius: 13px; object-fit: cover; background: linear-gradient(135deg, #ede5ff, #ddd0ff); }
.gift-recipient-all { display: grid; place-items: center; color: var(--violet); font-size: 14px; font-weight: 800; }
.gift-recipient-all svg { width: 19px; height: 19px; }
.gift-recipient-row > span:not(.gift-recipient-all) { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.gift-recipient-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.gift-recipient-row small { color: var(--muted); font-size: 9px; }
.gift-recipient-row em { flex: 0 0 auto; display: flex; align-items: center; gap: 1px; color: var(--violet); font-size: 9px; font-style: normal; font-weight: 700; }
.gift-recipient-row em svg { width: 12px; height: 12px; }
.gift-recipient-row > button { flex: 0 0 auto; padding: 7px 11px; border-radius: 9px; color: #fff; background: var(--violet); font-size: 9px; font-weight: 700; }
.gift-recipient-empty { padding: 36px 12px; color: var(--muted); font-size: 11px; text-align: center; }

.sheet-secondary { width: 100%; min-height: 40px; margin-top: 12px; border-radius: 12px; color: var(--violet); background: var(--violet-soft); font-size: 11px; font-weight: 700; }
.sheet-secondary:disabled { color: #aaa2b4; background: #f1eef4; }
.sheet-secondary.danger { color: #b54755; background: #fff0f2; }
.info-empty { padding: 30px 12px; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
.notification-entry { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.notification-entry:last-of-type { border-bottom: 0; }
.notification-entry-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: var(--violet); background: var(--violet-soft); }
.notification-entry-icon svg { width: 16px; height: 16px; }
.notification-entry > span:nth-child(2) { min-width: 0; flex: 1; }
.notification-entry strong, .notification-entry small { display: block; }
.notification-entry strong { margin-bottom: 5px; font-size: 11px; line-height: 1.45; }
.notification-entry small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.notification-entry > i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.notification-entry > svg { width: 14px; height: 14px; color: #b5aebd; }
.notification-entry.read { opacity: .62; }
.profile-form-grid { display: grid; grid-template-columns: 1fr 86px; gap: 10px; }
.info-sheet-content > .form-label { display: block; margin-top: 12px; }
.settings-section { margin-bottom: 15px; }
.settings-section h4 { margin: 0 0 5px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .6px; }
.setting-row { width: 100%; min-height: 55px; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.setting-row:last-child { border-bottom: 0; }
.setting-row > span { min-width: 0; flex: 1; }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { margin-bottom: 4px; font-size: 11px; }
.setting-row small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.setting-action b { display: flex; align-items: center; gap: 2px; color: var(--violet); font-size: 9px; font-weight: 600; white-space: nowrap; }
.setting-action b svg { width: 12px; height: 12px; }
.switch { position: relative; flex: 0 0 auto; width: 36px; height: 21px; padding: 2px; border-radius: 20px; background: #d9d3e0; transition: background .2s; }
.switch i { display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(30,20,40,.18); transition: transform .2s; }
.switch.on { background: var(--violet); }
.switch.on i { transform: translateX(15px); }
.wallet-balance-card { padding: 19px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #251936, #6d45a2); }
.wallet-balance-card span, .wallet-balance-card small { display: block; color: rgba(255,255,255,.66); font-size: 9px; }
.wallet-balance-card strong { display: block; margin: 7px 0; font-size: 32px; letter-spacing: -.8px; }
.info-section-title { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; }
.info-section-title strong { font-size: 11px; }
.info-section-title span { color: var(--muted); font-size: 9px; }
.wallet-transaction { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.wallet-transaction span strong, .walallet-transaction span small { display: block; }
.wallet-transaction span strong { margin-bottom: 4px; font-size: 11px; }
.wallet-transaction span small { color: var(--muted); font-size: 9px; }
.wallet-transaction > b { color: #736a80; font-size: 12px; }
.wallet-transaction > b.positive { color: var(--violet); }
.recharge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.recharge-item { position: relative; min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fbf9fd; }
.recharge-item strong { color: var(--violet); font-size: 23px; }
.recharge-item span { color: var(--muted); font-size: 9px; }
.recharge-item small { position: absolute; top: -1px; right: -1px; padding: 4px 7px; border-radius: 0 13px 0 10px; color: #fff; background: var(--violet); font-size: 8px; }
.recharge-item.selected { border-color: var(--violet); background: var(--violet-soft); box-shadow: inset 0 0 0 1px var(--violet); }
.recharge-note { margin-top: 13px; color: var(--muted); font-size: 10px; text-align: center; }
.recharge-note strong { color: var(--violet); }
.prototype-disclaimer { margin: 9px 0 0; color: var(--muted); font-size: 8px; text-align: center; }
.my-live-current { display: flex; align-items: center; gap: 9px; padding: 13px; border-radius: 14px; color: #fff; background: #251936; }
.my-live-current > div { min-width: 0; flex: 1; }
.my-live-current strong, .my-live-current small { display: block; }
.my-live-current strong { margin-bottom: 4px; font-size: 11px; }
.my-live-current small { overflow: hidden; color: rgba(255,255,255,.65); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.my-live-current button { flex: 0 0 auto; padding: 7px 9px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 9px; }
.booking-row, .favorite-row { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.booking-row > img, .favorite-row > img { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px; object-fit: cover; }
.booking-row > span, .favorite-row > span { min-width: 0; flex: 1; }
.booking-row strong, .booking-row small, .favorite-row strong, .favorite-row small { display: block; }
.booking-row strong, .favorite-row strong { margin-bottom: 4px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.booking-row small, .favorite-row small { color: var(--muted); font-size: 9px; }
.booking-row > button, .favorite-row > button { flex: 0 0 auto; padding: 7px 9px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 9px; }
.booking-row > button.quiet, .favorite-row > button.quiet { color: var(--muted); background: #f1eef4; }
.verification-card { display: flex; align-items: center; gap: 11px; padding: 14px; border-radius: 14px; background: #f2ecfb; }
.verification-card > svg { flex: 0 0 auto; width: 25px; height: 25px; color: var(--violet); }
.verification-card > div { min-width: 0; flex: 1; }
.verification-card strong, .verification-card span { display: block; }
.verification-card strong { margin-bottom: 4px; font-size: 12px; }
.verification-card span { color: var(--muted); font-size: 9px; }
.verification-card > b { color: var(--violet); font-size: 9px; }
.interaction-detail { padding: 5px 0 15px; text-align: center; }
.interaction-detail img { width: 70px; height: 70px; border-radius: 22px; object-fit: cover; }
.interaction-detail strong { display: block; margin-top: 9px; font-size: 14px; }
.interaction-detail p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.academy-progress { padding: 14px; border-radius: 14px; background: #f2ecfb; }
.academy-progress strong, .academy-progress span { font-size: 10px; }
.academy-progress span { float: right; color: var(--muted); }
.academy-progress > div { height: 4px; margin-top: 11px; overflow: hidden; border-radius: 4px; background: #ddd3ed; }
.academy-progress i { display: block; height: 100%; border-radius: 4px; background: var(--violet); }
.course-row { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.course-row > span { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-soft); font-size: 9px; font-weight: 700; }
.course-row > div { min-width: 0; flex: 1; }
.course-row strong, .course-row small { display: block; }
.course-row strong { margin-bottom: 5px; font-size: 11px; }
.course-row small { color: var(--muted); font-size: 9px; }
.course-row > svg { width: 14px; height: 14px; color: var(--violet); }
.course-detail { padding: 15px; border-radius: 14px; background: #f7f3fb; text-align: center; }
.course-detail svg { width: 28px; height: 28px; color: var(--violet); }
.course-detail p { margin: 10px 0 0; color: #736a80; font-size: 11px; line-height: 1.8; }
.device-row { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 14px; background: #f7f3fb; }
.device-row > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--violet); background: var(--violet-soft); }
.device-row > span svg { width: 18px; height: 18px; }
.device-row > div { flex: 1; }
.device-row strong, .device-row small { display: block; }
.device-row strong { margin-bottom: 4px; font-size: 11px; }
.device-row small { color: var(--muted); font-size: 9px; }
.device-row > b { color: var(--violet); font-size: 9px; }
.about-app-card { padding: 10px 0 18px; text-align: center; }
.about-app-mark { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #5b21b6); font-size: 23px; font-weight: 800; }
.about-app-card h3 { margin: 0 0 6px; font-size: 18px; }
.about-app-card p { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
.about-app-card > span { color: #aaa2b4; font-size: 9px; }
.profile-short-link.active { color: var(--violet); background: var(--violet-soft); }

@media (max-height: 740px) {
  .party-top { min-height: 94px; padding-top: 46px; }
  .party-viewer-top { min-height: 90px; padding-top: 46px; }
  .party-room-strip { min-height: 43px; padding: 5px 1px; }
  .party-topic-card { min-height: 61px; margin-top: 6px; padding: 7px 8px; }
  .party-topic-number { width: 27px; height: 33px; }
  .party-grid { height: 276px; margin-top: 6px; gap: 4px; }
  .party-grid.nine-grid { height: 238px; }
  .party-seat { border-radius: 8px; }
  .party-person-label strong { font-size: 8px; }
  .party-person-label small { font-size: 6px; }
  .party-queue-preview { min-height: 44px; margin-top: 6px; padding: 5px 8px; }
  .party-chat { min-height: 44px; margin-top: 4px; }
  .party-chat .chat-line:nth-child(3) { display: none; }
  .party-host-controls { height: 65px; padding-bottom: 13px; }
  .party-viewer-bottom { padding-top: 5px; padding-bottom: 13px; }
  .party-apply-card { min-height: 64px; padding: 7px 9px; }
  .party-apply-card.onstage { padding-bottom: 5px; }
  .party-viewer-toolbar { margin-top: 6px; }
  .room-game-dock { min-height: 41px; margin-top: 6px; padding: 5px 8px; }
  .room-game-dock-icon { width: 28px; height: 28px; }
  .room-game-dock-copy > span { display: none; }
  .room-game-dock-copy strong { font-size: 9px; }
  .room-input { height: 34px; }
}

@media (max-width: 780px) {
  .audio-host-summary { margin-top: 8px; }
  .audio-speaker-card { min-height: 76px; margin-top: 8px; padding: 9px 11px; }
  .audio-viewer-page .audio-speaker-card { min-height: 72px; }
  .audio-seat, .audio-viewer-page .audio-seat { height: 75px; }
  .audio-seat .audio-avatar { width: 35px; height: 35px; }
  .audio-section-head { margin-top: 8px; }
  .audio-queue-preview { min-height: 44px; margin-top: 7px; }
  .room-game-dock { border-radius: 12px; }
  .room-game-dock-copy small { font-size: 6px; }
  .audio-chat { margin-top: 5px; }
  .audio-chat .chat-line:nth-child(3) { display: none; }
}

@media (max-width: 980px) {
  .stage { gap: 34px; padding: 18px; }
  .prototype-panel { width: 330px; }
  .panel-copy h1 { font-size: 31px; }
}

@media (max-width: 780px) {
  body { overflow: hidden; }
  .stage { display: block; min-height: 100dvh; padding: 0; }
  .phone { width: 100vw; height: 100dvh; padding: 0; border-radius: 0; box-shadow: none; background: #000; }
  .phone::before { display: none; }
  .phone-screen { border-radius: 0; }
  .home-indicator { bottom: 7px; }
  .prototype-panel { display: none; }
  .status-bar { height: max(42px, env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .bottom-nav { height: calc(72px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .create-topbar { padding-top: max(54px, calc(42px + env(safe-area-inset-top) + 12px)); }
  .create-controls { padding-bottom: calc(25px + env(safe-area-inset-bottom)); }
  .create-live-controls { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .room-toolbar { bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-height: 760px) and (min-width: 781px) {
  .phone { transform: scale(.84); transform-origin: center; }
  .stage { gap: 20px; }
}

@keyframes floatHeart { from { transform: translateY(0) scale(.7); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-110px) scale(1.2); opacity: 0; } }

@media (max-width: 780px) {
}

@media (max-height: 740px) {
}

/* Live discovery */
.live-scroll { padding: 54px 0 96px; }
.live-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 18px 14px; padding: 4px; border-radius: 14px; background: #ece9f0; }
.live-tabs button { position: relative; height: 34px; border-radius: 10px; color: #83798e; background: transparent; font-size: 12px; font-weight: 700; }
.live-tabs button.active { color: var(--violet); background: #fff; box-shadow: 0 4px 12px rgba(61,35,89,.08); }
.live-tabs button i { position: absolute; top: 3px; right: 18px; min-width: 14px; height: 14px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--violet); font-size: 8px; font-style: normal; }
.live-type-row { display: flex; gap: 7px; padding: 0 18px 16px; overflow-x: auto; scrollbar-width: none; }
.live-type-row::-webkit-scrollbar { display: none; }
.live-type-row button { flex: 0 0 auto; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: #7c7388; background: #fff; font-size: 10px; white-space: nowrap; }
.live-type-row button.active { border-color: var(--violet); color: #fff; background: var(--violet); }
.live-featured { padding: 0 18px 20px; }
.live-featured-cover { position: relative; width: 100%; aspect-ratio: 1.42; overflow: hidden; padding: 0; border-radius: 22px; color: #fff; background: #211a29; text-align: left; box-shadow: 0 16px 32px rgba(53,30,80,.18); }
.live-featured-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.live-featured-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,17,.04), rgba(12,8,17,.86)); }
.live-featured-copy { position: absolute; left: 16px; right: 84px; bottom: 16px; display: flex; flex-direction: column; }
.live-featured-copy small { margin-bottom: 6px; color: #ddd6fe; font-size: 9px; font-weight: 700; letter-spacing: .4px; }
.live-featured-copy strong { display: -webkit-box; overflow: hidden; font-size: 18px; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.live-featured-copy > span { margin-top: 7px; color: rgba(255,255,255,.68); font-size: 9px; }
.live-featured-cover > b { position: absolute; right: 14px; bottom: 16px; height: 34px; display: flex; align-items: center; gap: 2px; padding: 0 10px; border-radius: 10px; background: var(--violet); font-size: 10px; }
.live-featured-cover > b svg { width: 12px; height: 12px; }
.live-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px 12px; }
.live-section-head h2 { margin: 0; font-size: 16px; letter-spacing: -.2px; }
.live-section-head > span { color: var(--muted); font-size: 9px; }
.live-section-head > button { display: flex; align-items: center; gap: 2px; color: var(--violet); background: transparent; font-size: 9px; font-weight: 700; }
.live-section-head > button svg { width: 12px; height: 12px; }
.live-hot-section { padding-bottom: 20px; }
.live-hot-list { display: flex; flex-direction: column; gap: 7px; margin: 0 18px; padding: 8px 12px; border: 1px solid #ece5f5; border-radius: 17px; background: #fff; }
.live-hot-list > button { display: flex; align-items: center; gap: 9px; padding: 5px 0; background: transparent; text-align: left; }
.live-hot-list em { width: 18px; color: #a89caf; font-size: 12px; font-style: normal; font-weight: 800; text-align: center; }
.live-hot-list > button:first-child em { color: #c7a86b; }
.live-hot-list img { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.live-hot-list span { min-width: 0; flex: 1; }
.live-hot-list strong, .live-hot-list small { display: block; }
.live-hot-list strong { font-size: 11px; }
.live-hot-list small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.live-hot-list b { color: var(--violet); font-size: 10px; }
.live-list-section { padding-bottom: 20px; }
.live-room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 11px; padding: 0 18px; }
.live-room-card { min-width: 0; overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 8px 20px rgba(48,29,75,.06); }
.live-room-cover { position: relative; width: 100%; aspect-ratio: .92; overflow: hidden; padding: 0; background: #dcd4e5; }
.live-room-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.live-room-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(12,8,17,.58)); pointer-events: none; }
.live-room-badge { position: absolute; z-index: 2; top: 8px; left: 8px; display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 6px; color: #fff; background: rgba(109,40,217,.9); font-size: 7px; font-weight: 700; }
.live-room-badge i { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
.live-room-type, .live-room-viewers { position: absolute; z-index: 2; bottom: 8px; color: #fff; font-size: 7px; text-shadow: 0 1px 4px #000; }
.live-room-type { left: 8px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-room-viewers { right: 8px; display: flex; align-items: center; gap: 2px; }
.live-room-viewers svg { width: 10px; height: 10px; }
.live-room-body { padding: 9px; }
.live-room-host { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.live-room-host img { width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.live-room-host span { min-width: 0; }
.live-room-host strong { display: flex; align-items: center; gap: 2px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.live-room-host .verified svg { width: 10px; height: 10px; }
.live-room-host small { display: block; margin-top: 2px; color: var(--muted); font-size: 7px; }
.live-room-body h3 { display: -webkit-box; min-height: 31px; margin: 0 0 5px; overflow: hidden; font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.live-room-body p { display: -webkit-box; min-height: 25px; margin: 0 0 9px; overflow: hidden; color: #7e7588; font-size: 8px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.live-room-enter { width: 100%; height: 30px; display: flex; align-items: center; justify-content: center; gap: 2px; border-radius: 9px; color: #fff; background: var(--violet); font-size: 9px; font-weight: 700; }
.live-room-enter svg { width: 11px; height: 11px; }
.live-scheduled-preview { padding-bottom: 12px; }
.live-next-card { width: calc(100% - 36px); display: flex; align-items: center; gap: 11px; margin: 0 18px; padding: 11px; border-radius: 16px; background: #fff; text-align: left; }
.live-next-card > img { width: 52px; height: 62px; flex: 0 0 auto; border-radius: 11px; object-fit: cover; }
.live-next-card > span { min-width: 0; flex: 1; }
.live-next-card small, .live-next-card strong, .live-next-card em { display: block; }
.live-next-card small { color: var(--violet); font-size: 8px; font-weight: 700; }
.live-next-card strong { margin: 4px 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.live-next-card em { color: var(--muted); font-size: 8px; font-style: normal; }
.live-next-card > b { padding: 6px 9px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); font-size: 9px; }
.booking-section { padding-bottom: 16px; }
.booking-card { display: flex; gap: 12px; margin: 0 18px 10px; padding: 12px; border-radius: 17px; background: #fff; }
.booking-card > img { width: 76px; height: 94px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; }
.booking-card > div { min-width: 0; flex: 1; }
.booking-card span { color: var(--violet); font-size: 9px; font-weight: 700; }
.booking-card h3 { margin: 5px 0; font-size: 13px; line-height: 1.4; }
.booking-card p { margin: 0 0 9px; color: var(--muted); font-size: 9px; }
.booking-card button { height: 28px; display: inline-flex; align-items: center; gap: 4px; padding: 0 9px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); font-size: 9px; font-weight: 700; }
.booking-card button.active { color: #fff; background: var(--violet); }
.booking-card button svg { width: 12px; height: 12px; }
.live-empty { margin: 28px 18px; padding: 34px 20px; border: 1px dashed #ddd4e8; border-radius: 18px; color: var(--muted); background: #fff; font-size: 12px; line-height: 1.7; text-align: center; }

/* Short video upload, trim and management */
.upload-source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upload-source-grid button { min-height: 132px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 15px; border: 1px solid #e9e1f3; border-radius: 16px; background: #fbf9fe; text-align: left; }
.upload-source-grid button > span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 12px; color: var(--violet); background: var(--violet-soft); }
.upload-source-grid strong { font-size: 12px; }
.upload-source-grid small { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.upload-source-note { margin: 14px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; text-align: center; }
.publish-edit-row { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 10px; padding: 10px 12px; border-radius: 13px; background: #f7f3fc; text-align: left; }
.publish-edit-row > span { display: flex; align-items: center; gap: 9px; }
.publish-edit-row > span > svg { width: 18px; height: 18px; color: var(--violet); }
.publish-edit-row strong, .publish-edit-row small { display: block; }
.publish-edit-row strong { font-size: 11px; }
.publish-edit-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.publish-edit-row > b { display: flex; align-items: center; gap: 1px; color: var(--violet); font-size: 9px; }
.publish-edit-row > b svg { width: 12px; height: 12px; }
.trim-preview { position: relative; height: 210px; overflow: hidden; border-radius: 17px; background: #111; }
.trim-preview video { width: 100%; height: 100%; object-fit: cover; }
.trim-preview > span { position: absolute; right: 10px; bottom: 10px; padding: 4px 7px; border-radius: 7px; color: #fff; background: rgba(12,8,17,.58); font-size: 10px; font-weight: 700; }
.trim-controls { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.trim-controls label > span { display: flex; justify-content: space-between; margin-bottom: 7px; color: #766b81; font-size: 10px; }
.trim-controls label b { color: var(--violet); }
.trim-controls input { width: 100%; accent-color: var(--violet); }
.trim-section { margin-bottom: 15px; }
.trim-section > strong { display: block; margin-bottom: 8px; font-size: 11px; }
.trim-options { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.trim-options button { flex: 0 0 auto; height: 31px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; color: #7c7388; background: #fff; font-size: 10px; }
.trim-options button.active { border-color: var(--violet); color: #fff; background: var(--violet); }
.manage-short-preview { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 10px; border-radius: 15px; background: #f7f3fb; }
.manage-short-preview > img { width: 58px; height: 74px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; }
.manage-short-preview > div { min-width: 0; }
.manage-short-preview strong { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.manage-short-preview small { display: flex; align-items: center; gap: 3px; margin-top: 7px; color: var(--muted); font-size: 9px; }
.manage-short-preview small svg { width: 12px; height: 12px; }
.manage-short-actions { display: flex; flex-direction: column; gap: 8px; }
.manage-short-actions button { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; color: var(--violet); background: var(--violet-soft); font-size: 11px; font-weight: 700; }
.manage-short-actions button.danger { color: #b84b62; background: #fff0f3; }
.manage-short-actions svg { width: 15px; height: 15px; }
.visibility-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.visibility-options label { position: relative; display: block; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.visibility-options input { position: absolute; opacity: 0; }
.visibility-options label:has(input:checked) { border-color: var(--violet); background: #f8f4ff; }
.visibility-options strong, .visibility-options small { display: block; }
.visibility-options strong { font-size: 11px; }
.visibility-options small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.me-work-card { padding: 0; }
.me-work-open { position: absolute; z-index: 2; inset: 0; width: 100%; padding: 0; color: #fff; background: transparent; text-align: left; }
.me-work-open > span { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 22px; display: -webkit-box; overflow: hidden; font-size: 9px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.me-work-open small { position: absolute; z-index: 2; left: 8px; bottom: 7px; display: flex; align-items: center; gap: 3px; font-size: 8px; }
.me-work-open small svg { width: 11px; height: 11px; }
.me-work-more { position: absolute; z-index: 4; top: 5px; right: 5px; width: 25px; height: 22px; border-radius: 7px; color: #fff; background: rgba(15,11,20,.48); font-size: 14px; line-height: 1; backdrop-filter: blur(7px); }
.me-work-card > em { position: absolute; z-index: 3; top: 7px; left: 7px; padding: 3px 5px; border-radius: 5px; color: #fff; background: rgba(15,11,20,.48); font-size: 7px; font-style: normal; backdrop-filter: blur(7px); }

/* Message and profile headers */
.messages-page { display: flex; flex-direction: column; }
.message-overview { flex: 0 0 auto; padding: 45px 18px 13px; background: linear-gradient(180deg, #f3edff 0%, #faf8fd 74%, var(--paper) 100%); }
.message-overview .notification-button { width: 40px; height: 40px; flex: 0 0 40px; background: rgba(255,255,255,.82); box-shadow: 0 5px 15px rgba(72,43,102,.06); }
.message-search-row { display: flex; align-items: center; gap: 9px; }
.message-search { min-width: 0; flex: 1; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #ebe4f3; border-radius: 13px; background: #fff; box-shadow: 0 6px 18px rgba(67,42,94,.04); }
.message-search > svg { width: 16px; height: 16px; color: #9b8da9; }
.message-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.message-search input::placeholder { color: #b3a9be; }
.message-search > span { color: #b3a9be; font-size: 8px; }
.message-search button { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #9b8da9; background: #f4f0f8; }
.message-search button svg { width: 13px; height: 13px; }
.message-feature-grid { display: grid; grid-template-columns: 1.48fr 1fr; gap: 9px; margin-top: 12px; }
.message-live-feature, .message-unread-feature { min-width: 0; min-height: 82px; border-radius: 16px; text-align: left; }
.message-live-feature { display: flex; align-items: center; gap: 9px; padding: 12px; color: #fff; background: radial-gradient(circle at 100% 0, rgba(196,181,253,.38), transparent 48%), linear-gradient(135deg, #2d1c45, #513477); box-shadow: 0 9px 20px rgba(75,43,112,.17); }
.feature-live-icon { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #fff; background: rgba(255,255,255,.1); }
.feature-live-icon svg { width: 17px; height: 17px; }
.message-live-feature > span:last-child { min-width: 0; }
.message-live-feature small { display: flex; align-items: center; gap: 5px; color: #d9c9ef; font-size: 8px; }
.message-live-feature small i { width: 5px; height: 5px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 0 3px rgba(196,181,253,.14); }
.message-live-feature strong { display: -webkit-box; overflow: hidden; margin-top: 6px; font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.message-live-feature em { display: flex; align-items: center; gap: 1px; margin-top: 5px; color: #cdbce3; font-size: 8px; font-style: normal; }
.message-live-feature em svg { width: 11px; height: 11px; }
.message-unread-feature { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 12px; border: 1px solid #e9e0f4; background: #fff; box-shadow: 0 7px 17px rgba(61,36,88,.04); }
.message-unread-feature > span { color: var(--violet); font-size: 22px; font-weight: 800; line-height: 1; }
.message-unread-feature strong { margin-top: 7px; font-size: 10px; }
.message-unread-feature small { margin-top: 4px; color: #9e90ac; font-size: 8px; line-height: 1.4; }
.message-search-empty { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #a094ad; text-align: center; }
.message-search-empty svg { width: 30px; height: 30px; margin-bottom: 12px; color: #c3b5d4; }
.message-search-empty strong { color: #71647e; font-size: 12px; }
.message-search-empty span { margin-top: 6px; font-size: 9px; }
.me-page .me-cover { height: 112px; background: radial-gradient(circle at 78% 22%, rgba(167,139,250,.42), transparent 33%), radial-gradient(circle at 14% 92%, rgba(236,72,153,.18), transparent 35%), linear-gradient(135deg, #20142f, #39204f 58%, #1c1527); }
.me-cover::before { width: 4px; background: #a78bfa; }
.me-cover-orbit { position: absolute; border: 1px solid rgba(196,181,253,.14); border-radius: 50%; }
.me-cover-orbit.orbit-one { width: 150px; height: 150px; right: -34px; top: -55px; }
.me-cover-orbit.orbit-two { width: 92px; height: 92px; right: 26px; top: -18px; border-color: rgba(196,181,253,.12); }
.me-top { align-items: flex-start; justify-content: flex-end; padding-top: 43px; }
.me-top .icon-button { width: 30px; height: 30px; border-radius: 9px; }
.me-top .icon-button svg { width: 15px; height: 15px; }
.me-page .me-identity { margin-top: -32px; padding: 16px; border: 1px solid rgba(233,224,244,.8); border-radius: 22px; }
.me-profile-row { gap: 11px; }
.me-page .me-avatar { width: 61px; height: 61px; border-radius: 19px; }
.me-name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.me-name-line h2 { min-width: 0; margin: 0 0 5px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.me-level-badge { flex: 0 0 auto; margin-bottom: 5px; padding: 3px 5px; border-radius: 6px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); font-size: 7px; font-weight: 800; }
.me-profile-tags { display: flex; gap: 6px; margin-top: 10px; }
.me-profile-tags span { padding: 4px 7px; border-radius: 7px; color: #7b688f; background: #f4effa; font-size: 8px; }
.me-page .me-bio { margin-top: 10px; }

/* Growth and wardrobe */
.growth-page { display: flex; flex-direction: column; }
.growth-tabs { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin: 0 18px 12px; padding: 4px; border-radius: 14px; background: #ece8f1; }
.growth-tabs button { position: relative; height: 35px; border-radius: 10px; color: #83778f; background: transparent; font-size: 11px; font-weight: 700; }
.growth-tabs button.active { color: var(--violet); background: #fff; box-shadow: 0 4px 12px rgba(61,35,89,.08); }
.growth-tabs button i { position: absolute; top: 3px; right: 17px; min-width: 15px; height: 15px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--violet); font-size: 8px; font-style: normal; }
.growth-scroll { flex: 1; padding: 0 18px 28px; }
.growth-level-hero { position: relative; overflow: hidden; padding: 18px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 88% 18%, rgba(196,181,253,.32), transparent 34%), linear-gradient(145deg, #28173d, #4b2c70 62%, #302046); box-shadow: 0 13px 28px rgba(47,25,72,.18); }
.level-hero-glow { position: absolute; width: 130px; height: 130px; right: -45px; bottom: -55px; border: 20px solid rgba(196,181,253,.08); border-radius: 50%; }
.level-hero-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.level-hero-top > span { color: #d6c5ed; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.level-hero-top small { color: #bda9d5; font-size: 8px; }
.level-hero-main { position: relative; display: flex; align-items: center; gap: 15px; margin-top: 18px; }
.level-orbit { width: 88px; height: 88px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(221,214,254,.45); border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.28), rgba(255,255,255,.04)); box-shadow: 0 0 0 7px rgba(196,181,253,.06), inset 0 0 25px rgba(196,181,253,.08); }
.level-orbit small { color: #c4b5fd; font-size: 6px; letter-spacing: 1.2px; }
.level-orbit strong { margin: 2px 0; font-size: 32px; line-height: 1; }
.level-orbit span { padding: 3px 6px; border-radius: 6px; color: #ede9fe; background: rgba(255,255,255,.1); font-size: 7px; }
.level-hero-main h2 { margin: 0; font-size: 18px; line-height: 1.45; }
.level-hero-main p { margin: 8px 0 0; color: #cbb9de; font-size: 9px; line-height: 1.65; }
.level-progress-copy { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: #bba5d3; font-size: 8px; }
.level-progress-copy strong { color: #ede9fe; font-size: 9px; }
.level-progress { position: relative; height: 6px; margin-top: 7px; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,.12); }
.level-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #a78bfa, #ede9fe); box-shadow: 0 0 10px rgba(196,181,253,.4); }
.growth-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 14px 0; border: 1px solid #ece5f3; border-radius: 17px; background: #fff; }
.growth-stat-grid > div { text-align: center; border-right: 1px solid var(--line); }
.growth-stat-grid > div:last-child { border-right: 0; }
.growth-stat-grid strong { display: block; color: #4c3764; font-size: 16px; }
.growth-stat-grid span { display: block; margin-top: 4px; color: #a092ac; font-size: 8px; }
.growth-section-title { display: flex; align-items: center; justify-content: space-between; margin: 20px 2px 10px; }
.growth-section-title h3 { margin: 0; font-size: 13px; }
.growth-section-title span { color: #a496af; font-size: 8px; }
.level-benefits { overflow: hidden; border: 1px solid #eee7f5; border-radius: 17px; background: #fff; }
.level-benefit { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.level-benefit:last-child { border-bottom: 0; }
.benefit-level { width: 32px; flex: 0 0 auto; color: #a092ac; font-size: 8px; font-weight: 700; }
.benefit-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #a99ab8; background: #f3f0f6; }
.benefit-icon svg { width: 16px; height: 16px; }
.level-benefit > span:nth-child(3) { min-width: 0; flex: 1; }
.level-benefit strong, .level-benefit small { display: block; }
.level-benefit strong { color: #6f627b; font-size: 10px; }
.level-benefit small { margin-top: 4px; color: #a99eb3; font-size: 8px; }
.level-benefit em { color: #aaa0b4; font-size: 8px; font-style: normal; }
.level-benefit.unlocked .benefit-level, .level-benefit.unlocked .benefit-icon, .level-benefit.unlocked em { color: var(--violet); }
.level-benefit.unlocked .benefit-icon { background: var(--violet-soft); }
.level-benefit.unlocked strong { color: #443052; }
.growth-principle { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 13px; border-radius: 14px; color: #756580; background: #f3eff7; }
.growth-principle > svg { width: 17px; height: 17px; flex: 0 0 auto; color: #8b5cf6; }
.growth-principle strong { display: block; font-size: 9px; }
.growth-principle p { margin: 4px 0 0; color: #a091aa; font-size: 8px; line-height: 1.55; }
.wardrobe-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 1px 13px; }
.wardrobe-head > div { min-width: 0; }
.wardrobe-head small { display: block; color: #9b8aa8; font-size: 8px; }
.wardrobe-head strong { display: block; margin-top: 5px; color: #49335f; font-size: 13px; }
.wardrobe-head button { flex: 0 0 auto; display: flex; align-items: center; gap: 2px; padding: 8px 9px; border-radius: 10px; color: var(--violet); background: var(--violet-soft); font-size: 9px; font-weight: 700; }
.wardrobe-head button svg { width: 11px; height: 11px; }
.wardrobe-categories { display: flex; gap: 7px; margin: 0 -18px; padding: 0 18px 12px; overflow-x: auto; scrollbar-width: none; }
.wardrobe-categories button { flex: 0 0 auto; height: 30px; padding: 0 12px; border: 1px solid #e8e0f0; border-radius: 10px; color: #8c7d99; background: #fff; font-size: 9px; }
.wardrobe-categories button.active { border-color: var(--violet); color: #fff; background: var(--violet); }
.wardrobe-equipped { padding: 12px; border: 1px solid #e9e0f3; border-radius: 15px; background: linear-gradient(120deg, #f4effc, #fff); }
.wardrobe-equipped > span { color: #8f7c9f; font-size: 8px; font-weight: 700; }
.wardrobe-equipped > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.wardrobe-equipped > div > span { display: flex; align-items: center; gap: 3px; padding: 5px 7px; border-radius: 7px; color: #6e5a80; background: #fff; font-size: 7px; box-shadow: 0 3px 9px rgba(58,31,86,.04); }
.wardrobe-equipped svg { width: 10px; height: 10px; color: var(--violet); }
.wardrobe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.wardrobe-card { min-width: 0; padding: 8px 8px 10px; border: 1px solid #ece5f3; border-radius: 17px; background: #fff; box-shadow: 0 6px 16px rgba(50,28,76,.04); }
.wardrobe-card.equipped { border-color: #bda5ef; box-shadow: 0 7px 18px rgba(124,58,237,.1); }
.wardrobe-preview { position: relative; height: 112px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; background: #f3eef9; }
.tone-violet { background: radial-gradient(circle at 75% 20%, #ddd6fe, transparent 42%), linear-gradient(135deg, #ede9fe, #f8f5ff); }
.tone-moon { background: radial-gradient(circle at 75% 20%, #fff, transparent 42%), linear-gradient(135deg, #dbeafe, #eef2ff); }
.tone-gold { background: radial-gradient(circle at 75% 20%, #fff7d6, transparent 42%), linear-gradient(135deg, #f7e7bd, #fff8e7); }
.tone-night { background: radial-gradient(circle at 75% 20%, #6d5a8d, transparent 48%), linear-gradient(135deg, #20182e, #3b2b52); }
.tone-dawn { background: radial-gradient(circle at 75% 20%, #ffe4e6, transparent 42%), linear-gradient(135deg, #fce7f3, #fff7ed); }
.tone-starlight { background: radial-gradient(circle at 70% 20%, #e0e7ff, transparent 38%), linear-gradient(135deg, #20243d, #4c4274); }
.wardrobe-avatar { width: 66px; height: 66px; padding: 4px; border: 2px solid #8b5cf6; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(139,92,246,.14); }
.wardrobe-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tone-moon .wardrobe-avatar { border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(147,197,253,.2); }
.tone-gold .wardrobe-avatar { border-color: #d4a62a; box-shadow: 0 0 0 4px rgba(212,166,42,.17); }
.wardrobe-bubble-sample { max-width: 112px; padding: 10px 12px; border-radius: 14px 14px 4px 14px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); font-size: 9px; box-shadow: 0 7px 14px rgba(109,40,217,.16); }
.tone-night .wardrobe-bubble-sample { border: 1px solid rgba(196,181,253,.25); border-radius: 5px 14px 14px 14px; background: #16101f; }
.tone-dawn .wardrobe-bubble-sample { color: #8a4b62; background: linear-gradient(135deg, #fff1f2, #ffedd5); }
.wardrobe-entrance-sample, .wardrobe-gift-sample { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; font-size: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.wardrobe-entrance-sample svg, .wardrobe-gift-sample svg { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(196,181,253,.55)); }
.tone-violet .wardrobe-gift-sample { color: #6d28d9; text-shadow: none; }
.wardrobe-using, .wardrobe-lock { position: absolute; top: 7px; right: 7px; padding: 4px 6px; border-radius: 7px; color: #fff; background: rgba(109,40,217,.86); font-size: 7px; font-weight: 700; }
.wardrobe-lock { background: rgba(24,18,32,.5); }
.wardrobe-card > strong { display: block; margin: 9px 2px 0; font-size: 11px; }
.wardrobe-card > small { display: block; margin: 4px 2px 9px; color: #a092ac; font-size: 8px; }
.wardrobe-card > button { width: 100%; height: 30px; border-radius: 9px; color: #fff; background: var(--violet); font-size: 9px; font-weight: 700; }
.wardrobe-card.equipped > button { color: var(--violet); background: var(--violet-soft); }
.wardrobe-card.locked { opacity: .68; }
.wardrobe-card.locked > button { color: #a79aaf; background: #f0ecf3; }
.wardrobe-note { margin: 14px 0 0; color: #aa9bb5; font-size: 8px; line-height: 1.6; text-align: center; }
.task-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #2f1d46, #5b3a80); }
.task-summary > div { display: flex; align-items: center; gap: 10px; }
.task-summary-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #ede9fe; background: rgba(255,255,255,.1); }
.task-summary-icon svg { width: 19px; height: 19px; }
.task-summary small { display: block; color: #c8b6dc; font-size: 8px; }
.task-summary strong { display: block; margin-top: 4px; font-size: 14px; }
.task-summary > span { color: #baa6d0; font-size: 7px; }
.growth-tasks { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.growth-task { display: flex; align-items: center; gap: 10px; padding: 13px 11px; border: 1px solid #ece5f3; border-radius: 16px; background: #fff; }
.growth-task-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--violet); background: var(--violet-soft); }
.growth-task-icon svg { width: 17px; height: 17px; }
.growth-task-main { min-width: 0; flex: 1; }
.growth-task-main > div { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.growth-task-main strong { font-size: 10px; }
.growth-task-main small { color: #a293ad; font-size: 7px; white-space: nowrap; }
.growth-task-progress { height: 4px; display: block; margin-top: 9px; overflow: hidden; border-radius: 4px; background: #eee9f3; }
.growth-task-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #c4b5fd); }
.growth-task-main p { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 0; color: #8c7c99; font-size: 8px; }
.growth-task-main p em { color: #a28db4; font-size: 7px; font-style: normal; }
.growth-task > button { width: 48px; height: 29px; flex: 0 0 auto; border-radius: 9px; color: #fff; background: var(--violet); font-size: 8px; font-weight: 700; }
.growth-task > button:disabled { color: #aea1b8; background: #f1edf5; }
.growth-task.claimed { opacity: .7; }
.growth-tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.growth-tip-grid > div { display: flex; flex-direction: column; align-items: center; padding: 14px 7px; border: 1px solid #eee7f5; border-radius: 14px; background: #fff; text-align: center; }
.growth-tip-grid svg { width: 18px; height: 18px; color: var(--violet); }
.growth-tip-grid strong { margin-top: 8px; font-size: 9px; }
.growth-tip-grid span { margin-top: 4px; color: #a597ae; font-size: 7px; line-height: 1.4; }

.growth-wardrobe-link { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 13px 12px; border: 1px solid #e6dcf2; border-radius: 15px; background: #fff; text-align: left; }
.growth-wardrobe-link > span { min-width: 0; display: flex; align-items: center; gap: 9px; }
.growth-wardrobe-link > span > svg { width: 29px; height: 29px; flex: 0 0 auto; padding: 7px; border-radius: 9px; color: var(--violet); background: var(--violet-soft); }
.growth-wardrobe-link strong, .growth-wardrobe-link small { display: block; }
.growth-wardrobe-link strong { color: #4b3461; font-size: 10px; }
.growth-wardrobe-link small { margin-top: 4px; color: #9a8aa7; font-size: 7px; }
.growth-wardrobe-link em { display: flex; align-items: center; gap: 2px; color: var(--violet); font-size: 8px; font-style: normal; white-space: nowrap; }
.growth-wardrobe-link em svg { width: 11px; height: 11px; }

/* Wallet */
.me-wallet-card { width: calc(100% - 36px); display: block; margin: 12px 18px 0; padding: 14px; overflow: hidden; border-radius: 20px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(196,181,253,.23), transparent 37%), linear-gradient(125deg, #251734, #3d255a 62%, #291a3e); box-shadow: 0 13px 26px rgba(49,26,77,.18); text-align: left; }
.me-wallet-heading { display: flex; align-items: center; justify-content: space-between; }
.me-wallet-heading > span, .me-wallet-heading > small { display: flex; align-items: center; gap: 5px; }
.me-wallet-heading > span { font-size: 11px; font-weight: 700; }
.me-wallet-heading svg { width: 14px; height: 14px; }
.me-wallet-heading > small { color: #c6b4dc; font-size: 8px; }
.me-wallet-assets { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 14px; margin-top: 16px; }
.me-wallet-assets > span small, .me-wallet-assets > span strong, .me-wallet-assets > span em { display: block; }
.me-wallet-assets > span small { color: #c8b8d9; font-size: 8px; }
.me-wallet-assets > span strong { margin-top: 5px; font-size: 22px; line-height: 1.15; letter-spacing: -.5px; }
.me-wallet-assets > span strong b { margin-right: 2px; font-size: 12px; font-weight: 500; }
.me-wallet-assets > span em { margin-top: 5px; color: #a993c1; font-size: 7px; font-style: normal; }
.me-wallet-assets > i { height: 38px; align-self: center; background: rgba(255,255,255,.13); }
.me-quick-actions { width: calc(100% - 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 18px 0; }
.me-quick-action { min-width: 0; min-height: 78px; display: flex; align-items: center; gap: 9px; padding: 12px 11px; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: #fff; box-shadow: 0 7px 20px rgba(48,29,75,.04); text-align: left; }
.me-quick-action.approved { border-color: #d9cbf7; background: linear-gradient(135deg, #fff, #faf7ff); }
.me-quick-icon { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #fff; background: #26232c; }
.me-quick-icon.camera { color: var(--violet); background: var(--violet-soft); }
.me-quick-icon svg { width: 18px; height: 18px; }
.me-quick-copy { min-width: 0; }
.me-quick-copy strong, .me-quick-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-quick-copy strong { margin-bottom: 5px; font-size: 11px; }
.me-quick-copy small { color: var(--muted); font-size: 7px; }
.wallet-scroll { flex: 1; padding: 4px 16px 32px; }
.wallet-hero { padding: 17px 15px 13px; border-radius: 23px; color: #fff; background: radial-gradient(circle at 88% 10%, rgba(196,181,253,.3), transparent 38%), linear-gradient(140deg, #251737, #40265f 68%, #2d1c43); box-shadow: 0 14px 30px rgba(48,27,73,.18); }
.wallet-hero-head { display: flex; align-items: center; justify-content: space-between; }
.wallet-hero-head > span { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; }
.wallet-hero-head svg { width: 14px; height: 14px; }
.wallet-hero-head small { color: #bda8d4; font-size: 7px; }
.wallet-asset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.wallet-asset { min-width: 0; display: block; padding: 12px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; color: #fff; background: rgba(255,255,255,.065); text-align: left; backdrop-filter: blur(10px); }
.wallet-asset > span { display: flex; align-items: center; gap: 5px; color: #ddd0ec; font-size: 8px; }
.wallet-asset > span i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; background: rgba(196,181,253,.13); }
.wallet-asset svg { width: 12px; height: 12px; }
.wallet-asset > strong { display: block; margin-top: 9px; font-size: 26px; line-height: 1; letter-spacing: -.7px; }
.wallet-asset > strong em { margin-right: 2px; font-size: 13px; font-style: normal; font-weight: 500; }
.wallet-asset > small { display: flex; align-items: center; justify-content: space-between; gap: 3px; margin-top: 9px; color: #ad96c5; font-size: 6px; }
.wallet-asset > small svg { width: 9px; height: 9px; }
.cash-asset { background: rgba(196,181,253,.12); }
.wallet-month-summary { display: flex; align-items: center; gap: 11px; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.09); color: #ab96c1; font-size: 7px; }
.wallet-month-summary > span:first-child { margin-right: auto; }
.wallet-month-summary strong { color: #e6d9f2; font-size: 8px; font-weight: 600; }
.wallet-quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 13px 5px; border: 1px solid #ede6f4; border-radius: 18px; background: #fff; }
.wallet-quick-actions button { display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--line); background: transparent; }
.wallet-quick-actions button:last-child { border-right: 0; }
.wallet-quick-actions button > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; color: var(--violet); background: var(--violet-soft); }
.wallet-quick-actions svg { width: 16px; height: 16px; }
.wallet-quick-actions strong { margin-top: 7px; font-size: 9px; }
.wallet-quick-actions small { margin-top: 3px; color: #a294ae; font-size: 7px; }
.wallet-notice { display: flex; align-items: flex-start; gap: 7px; margin: 11px 2px 0; padding: 10px 11px; border-radius: 11px; color: #8a769c; background: #f1ecf7; font-size: 7px; line-height: 1.6; }
.wallet-notice svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; color: #8b5cf6; }
.wallet-records-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 20px 2px 11px; }
.wallet-records-head h3 { margin: 0; font-size: 14px; }
.wallet-records-head span { display: block; margin-top: 4px; color: #a393af; font-size: 8px; }
.wallet-records-head > small { color: #a393af; font-size: 8px; }
.wallet-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e8e0ef; }
.wallet-tabs button { position: relative; height: 37px; color: #94849f; background: transparent; font-size: 10px; font-weight: 700; }
.wallet-tabs button.active { color: var(--violet); }
.wallet-tabs button.active::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 23px; height: 3px; border-radius: 3px; background: var(--violet); transform: translateX(-50%); }
.wallet-filters { display: flex; gap: 6px; padding: 11px 0 5px; }
.wallet-filters button { min-width: 48px; height: 26px; padding: 0 10px; border-radius: 8px; color: #8f809b; background: #ede8f2; font-size: 8px; }
.wallet-filters button.active { color: #fff; background: #6e4b91; }
.wallet-filters button i { margin-left: 4px; font-style: normal; }
.wallet-record-list { overflow: hidden; border: 1px solid #eee7f4; border-radius: 17px; background: #fff; }
.wallet-record { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-bottom: 1px solid #f0ebf4; color: var(--ink); background: transparent; text-align: left; }
.wallet-record:last-child { border-bottom: 0; }
.wallet-record-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #7c3aed; background: #f0e9fb; }
.wallet-record-icon.type-income, .wallet-record-icon.type-recharge { color: #278566; background: #e9f7f0; }
.wallet-record-icon.type-withdraw { color: #94642a; background: #fbf2e5; }
.wallet-record-icon.processing { animation: walletPulse 1.3s ease-in-out infinite; }
.wallet-record-icon svg { width: 16px; height: 16px; }
.wallet-record-main { min-width: 0; flex: 1; }
.wallet-record-main strong { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wallet-record-main small { display: block; margin-top: 5px; color: #a394ad; font-size: 7px; }
.wallet-record-amount { min-width: 57px; text-align: right; }
.wallet-record-amount b, .wallet-record-amount small { display: block; }
.wallet-record-amount b { color: #574762; font-size: 11px; }
.wallet-record-amount b.positive { color: #258364; }
.wallet-record-amount b.cancelled { color: #a69bab; font-size: 9px; }
.wallet-record-amount small { margin-top: 4px; color: #b0a2b9; font-size: 6px; }
.wallet-record > svg { width: 10px; height: 10px; flex: 0 0 auto; color: #c3b8cb; }
.wallet-empty { display: flex; flex-direction: column; align-items: center; padding: 32px 12px; }
.wallet-empty svg { width: 30px; height: 30px; color: #b9a9ca; }
.wallet-empty strong { margin-top: 10px; color: #806e91; font-size: 10px; }
.wallet-empty span { margin-top: 5px; color: #ad9db7; font-size: 8px; }
.wallet-footnote { display: flex; align-items: flex-start; gap: 6px; margin: 16px 4px 0; color: #b0a1ba; font-size: 7px; line-height: 1.65; }
.wallet-footnote svg { width: 12px; height: 12px; flex: 0 0 auto; }
.sheet:has(.withdraw-balance) { max-height: 90%; padding-top: 8px; padding-bottom: 16px; }
.sheet:has(.withdraw-balance) .sheet-handle { margin-bottom: 8px; }
.sheet:has(.withdraw-balance) .sheet-title { margin-bottom: 8px; }
.sheet:has(.withdraw-balance) .info-sheet-content > .form-label { margin-top: 6px; margin-bottom: 8px; }
.sheet:has(.withdraw-balance) .withdraw-balance { padding: 9px 13px; }
.sheet:has(.withdraw-balance) .withdraw-account { margin: 7px 0; padding: 9px; }
.sheet:has(.withdraw-balance) .withdraw-input { height: 47px; }
.sheet:has(.withdraw-balance) .withdraw-presets { margin-top: 6px; }
.sheet:has(.withdraw-balance) .withdraw-presets button { height: 26px; }
.sheet:has(.withdraw-balance) .withdraw-quote { margin-top: 7px; padding: 7px 0; }
.sheet:has(.withdraw-balance) .sheet-primary { min-height: 43px; margin-top: 10px; }
.sheet:has(.withdraw-balance) .prototype-disclaimer { margin-top: 6px; font-size: 7px; }
.wallet-detail-hero { padding: 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #342344, #6c4c8b); text-align: center; }
.wallet-detail-hero.income { background: linear-gradient(135deg, #254b40, #397761); }
.wallet-detail-hero span, .wallet-detail-hero strong, .wallet-detail-hero small { display: block; }
.wallet-detail-hero span { color: #d8c9e5; font-size: 8px; }
.wallet-detail-hero strong { margin-top: 8px; font-size: 27px; }
.wallet-detail-hero small { margin-top: 7px; color: #d2c0df; font-size: 9px; }
.wallet-detail-list { margin-top: 12px; }
.wallet-detail-list > div { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.wallet-detail-list span { flex: 0 0 auto; color: #9b8da5; font-size: 9px; }
.wallet-detail-list strong { max-width: 72%; color: #5d4c68; font-size: 9px; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.wallet-processing-tip { display: flex; align-items: flex-start; gap: 7px; margin-top: 13px; padding: 11px; border-radius: 11px; color: #8d759e; background: #f4eef9; font-size: 8px; line-height: 1.6; }
.wallet-processing-tip svg { width: 14px; height: 14px; flex: 0 0 auto; }
.withdraw-balance { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-radius: 14px; background: linear-gradient(120deg, #f0e8fa, #fff); }
.withdraw-balance span { color: #8e7a9f; font-size: 9px; }
.withdraw-balance strong { color: #593a78; font-size: 21px; }
.withdraw-account { display: flex; align-items: center; gap: 9px; margin: 13px 0; padding: 12px; border: 1px solid #ece3f4; border-radius: 13px; }
.withdraw-account > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #278566; background: #e9f7f0; }
.withdraw-account svg { width: 15px; height: 15px; }
.withdraw-account > div { flex: 1; }
.withdraw-account strong, .withdraw-account small { display: block; }
.withdraw-account strong { font-size: 10px; }
.withdraw-account small { margin-top: 4px; color: #a08faa; font-size: 8px; }
.withdraw-account b { color: #7c3aed; font-size: 7px; font-weight: 500; }
.withdraw-input { display: flex; align-items: center; gap: 7px; height: 51px; margin-top: 7px; padding: 0 13px; border: 1px solid #e6dced; border-radius: 13px; background: #fff; }
.withdraw-input > span { color: #5a3a74; font-size: 21px; }
.withdraw-input input { min-width: 0; flex: 1; border: 0; outline: 0; color: #4f3565; background: transparent; font-size: 22px; font-weight: 700; }
.withdraw-input input::placeholder { color: #c5b9ce; font-size: 12px; font-weight: 400; }
.withdraw-presets { display: flex; gap: 7px; margin-top: 9px; }
.withdraw-presets button { flex: 1; height: 29px; border-radius: 8px; color: #7d6391; background: #f0eaf6; font-size: 8px; }
.withdraw-quote { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #9a8ba4; font-size: 9px; }
.withdraw-quote strong { color: #6c4b81; font-size: 10px; }
.withdraw-error { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; color: #bd3d59; background: #fff0f2; font-size: 8px; }
@keyframes walletPulse { 50% { opacity: .45; } }

/* Equipped effects */
.phone[data-avatar-frame="frame-violet"] .me-avatar { box-shadow: 0 0 0 2px #8b5cf6, 0 0 0 5px #ede9fe; }
.phone[data-avatar-frame="frame-moon"] .me-avatar { box-shadow: 0 0 0 2px #93c5fd, 0 0 0 5px #eff6ff; }
.phone[data-avatar-frame="frame-gold"] .me-avatar { box-shadow: 0 0 0 2px #d4a62a, 0 0 0 5px #fff7d6; }
.phone[data-chat-bubble="bubble-night"] .bubble-row.me .bubble { border: 1px solid #55446f; border-radius: 5px 15px 15px 15px; background: #21182e; box-shadow: 0 5px 14px rgba(33,24,46,.16); }
.phone[data-chat-bubble="bubble-dawn"] .bubble-row.me .bubble { border-radius: 16px 5px 16px 16px; color: #87465e; background: linear-gradient(135deg, #fff1f2, #ffedd5); }
.gift-notice.gift-skin-violet { border-color: rgba(196,181,253,.7); background: linear-gradient(100deg, rgba(76,29,149,.94), rgba(139,92,246,.9)); box-shadow: 0 0 24px rgba(139,92,246,.4); }
.gift-notice.gift-skin-bloom { border-color: rgba(251,207,232,.8); color: #7c3f58; background: linear-gradient(100deg, rgba(255,241,242,.96), rgba(255,237,213,.96)); }
.viewer-entrance-effect { position: absolute; z-index: 48; top: 42%; left: 50%; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid rgba(221,214,254,.55); border-radius: 16px; color: #fff; background: linear-gradient(110deg, rgba(45,27,69,.9), rgba(109,40,217,.84)); box-shadow: 0 0 40px rgba(139,92,246,.35); transform: translate(-50%, -50%); animation: entranceReveal 2.4s ease both; backdrop-filter: blur(10px); }
.viewer-entrance-effect > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.viewer-entrance-effect svg { width: 21px; height: 21px; }
.viewer-entrance-effect small, .viewer-entrance-effect strong { display: block; white-space: nowrap; }
.viewer-entrance-effect small { color: #ddd6fe; font-size: 8px; }
.viewer-entrance-effect strong { margin-top: 4px; font-size: 12px; }
@keyframes entranceReveal { 0% { opacity: 0; transform: translate(-50%, -35%) scale(.88); } 18%, 72% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -62%) scale(.96); } }

@media (max-width: 360px) {
  .message-feature-grid { grid-template-columns: 1.35fr 1fr; }
  .message-live-feature { padding: 10px; }
  .feature-live-icon { width: 30px; height: 30px; }
  .wardrobe-head strong { font-size: 11px; }
}

.short-library-entry { width: calc(100% - 36px); min-height: 78px; display: flex; align-items: center; gap: 10px; margin: 12px 18px 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fff; text-align: left; }
.short-library-icon { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--violet); background: var(--violet-soft); }
.short-library-icon svg { width: 19px; height: 19px; }
.short-library-copy { min-width: 0; flex: 1; }
.short-library-copy strong, .short-library-copy small { display: block; }
.short-library-copy strong { margin-bottom: 5px; font-size: 13px; }
.short-library-copy small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.short-library-counts { flex: 0 0 auto; display: flex; gap: 9px; padding-left: 2px; }
.short-library-counts > span { text-align: center; }
.short-library-counts small, .short-library-counts b { display: block; }
.short-library-counts small { color: #a397ab; font-size: 7px; }
.short-library-counts b { margin-top: 4px; font-size: 11px; }
.short-library-entry > svg { width: 13px; height: 13px; flex: 0 0 auto; color: #b4a8bd; }
.sub-header-action { justify-self: end; padding: 7px 11px; border-radius: 9px; color: var(--violet); background: var(--violet-soft); font-size: 10px; font-weight: 700; }

.me-page .host-me-cover { height: 112px; background: radial-gradient(circle at 82% 18%, rgba(196,181,253,.3), transparent 34%), linear-gradient(135deg, #20182a, #342741 62%, #1c1723); }
.me-page .host-me-identity { margin-top: -34px; padding: 15px; border-color: #e4dced; }
.host-me-workbench { width: calc(100% - 36px); min-height: 68px; display: flex; align-items: center; gap: 11px; margin: 12px 18px 0; padding: 13px 14px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 92% 4%, rgba(196,181,253,.28), transparent 38%), linear-gradient(125deg, #2c1b41, #5a387b); box-shadow: 0 12px 24px rgba(55,30,83,.17); text-align: left; }
.host-me-workbench-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.1); }
.host-me-workbench-icon svg { width: 19px; height: 19px; }
.host-me-workbench > span:nth-child(2) { min-width: 0; flex: 1; }
.host-me-workbench strong, .host-me-workbench small { display: block; }
.host-me-workbench strong { font-size: 12px; }
.host-me-workbench small { margin-top: 5px; color: #d1c0e3; font-size: 8px; line-height: 1.4; }
.host-me-workbench > svg { width: 14px; height: 14px; color: #d8c9e9; }
.host-me-overview { margin: 18px 18px 0; padding: 14px; border: 1px solid #ece6f1; border-radius: 18px; background: #fff; }
.host-me-overview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.host-me-overview-head strong, .host-me-overview-head small { display: block; }
.host-me-overview-head strong { font-size: 13px; }
.host-me-overview-head small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.host-me-overview-head > button { padding: 5px 7px; border-radius: 7px; color: var(--violet); background: var(--violet-soft); font-size: 8px; font-weight: 700; }
.host-me-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.host-me-overview-grid > div { position: relative; min-width: 0; padding: 0 8px; border-right: 1px solid #eee8f3; }
.host-me-overview-grid > div:first-child { padding-left: 0; }
.host-me-overview-grid > div:last-child { padding-right: 0; border-right: 0; }
.host-me-overview-grid > div > span { position: absolute; top: 1px; right: 8px; color: #b5a4c6; }
.host-me-overview-grid svg { width: 12px; height: 12px; }
.host-me-overview-grid strong, .host-me-overview-grid small { display: block; }
.host-me-overview-grid strong { color: #35263f; font-size: 19px; line-height: 1.15; letter-spacing: -.4px; }
.host-me-overview-grid strong em { margin-left: 3px; color: #9b8ca6; font-size: 8px; font-style: normal; font-weight: 500; }
.host-me-overview-grid strong b { margin-right: 1px; color: #927ba6; font-size: 10px; font-weight: 500; }
.host-me-overview-grid small { margin-top: 6px; color: #a092aa; font-size: 7px; }
.host-me-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 18px; }
.host-me-tool-grid > button { min-width: 0; min-height: 76px; display: flex; align-items: center; gap: 9px; padding: 12px 10px; border: 1px solid #ece6f1; border-radius: 16px; color: var(--ink); background: #fff; text-align: left; }
.host-me-tool-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; }
.host-me-tool-icon svg { width: 16px; height: 16px; }
.host-me-tool-icon.violet { color: #7c3aed; background: #f1eafa; }
.host-me-tool-icon.amber { color: #b7791f; background: #fbf1df; }
.host-me-tool-icon.blue { color: #3976b9; background: #e9f2fb; }
.host-me-tool-icon.green { color: #278566; background: #e6f3ed; }
.host-me-tool-grid > button > span:nth-child(2) { min-width: 0; flex: 1; }
.host-me-tool-grid strong, .host-me-tool-grid small { display: block; }
.host-me-tool-grid strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.host-me-tool-grid small { margin-top: 5px; overflow: hidden; color: #a092aa; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.host-me-tool-grid > button > svg { width: 10px; height: 10px; flex: 0 0 auto; color: #b8aac3; }
.host-me-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin: 20px 18px 9px; }
.host-me-section-heading > div:first-child { min-width: 0; }
.host-me-section-heading h2 { margin: 0; font-size: 14px; }
.host-me-section-heading > div:first-child > span { display: block; margin-top: 4px; color: var(--muted); font-size: 7px; }
.host-me-section-heading > button { flex: 0 0 auto; padding: 6px 8px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); font-size: 8px; font-weight: 700; }
.host-me-section-heading .creator-range-tabs button { height: 23px; padding: 0 8px; font-size: 8px; }
.host-me-plan { min-height: 61px; display: flex; align-items: center; gap: 10px; margin: 0 18px; padding: 11px 12px; border: 1px solid #ece6f1; border-radius: 16px; background: #fff; }
.host-me-plan > div { min-width: 0; flex: 1; }
.host-me-plan strong, .host-me-plan small { display: block; }
.host-me-plan strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.host-me-plan small { margin-top: 5px; color: #a092aa; font-size: 7px; }
.host-me-plan > button { flex: 0 0 auto; padding: 6px 8px; border-radius: 8px; color: var(--violet); background: var(--violet-soft); font-size: 8px; }
.host-me-page .menu-group { margin-top: 0; }
.host-me-page .creator-menu { margin-top: 0; }

.creator-host-row { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); }
.creator-host-row img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 13px; object-fit: cover; }
.creator-host-row > div { min-width: 0; flex: 1; }
.creator-host-row strong { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.creator-host-row strong svg { width: 13px; height: 13px; color: #c4b5fd; }
.creator-host-row small { display: block; margin-top: 5px; color: #b4aebe; font-size: 9px; }
.creator-host-row > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 8px; color: #e6dcf7; background: rgba(196,181,253,.12); font-size: 9px; font-weight: 700; }
.creator-hero-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 9px; margin-top: 20px; }
.creator-hero-actions > button { margin-top: 0; min-height: 43px; }
.creator-hero-actions > .creator-main-btn:only-child { grid-column: 1 / -1; }
.creator-schedule-btn { color: #f4effb; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.08); }
.creator-data-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 18px 12px; }
.creator-data-heading h2, .creator-section-heading h2 { margin: 0; font-size: 15px; }
.creator-data-heading > div > span, .creator-section-heading > div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.creator-range-tabs { flex: 0 0 auto; display: flex; padding: 3px; border-radius: 9px; background: #eae6ee; }
.creator-range-tabs button { height: 25px; padding: 0 10px; border-radius: 7px; color: #92889b; font-size: 9px; }
.creator-range-tabs button.active { color: #fff; background: #27232d; }
.creator-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 18px; }
.creator-metric-grid > div { min-width: 0; padding: 12px 10px; border: 1px solid #ece7f0; border-radius: 15px; background: #fff; }
.creator-metric-grid > div > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: #7c3aed; background: #f2ecfb; }
.creator-metric-grid svg { width: 13px; height: 13px; }
.creator-metric-grid strong, .creator-metric-grid small { display: block; }
.creator-metric-grid strong { margin-top: 10px; overflow: hidden; color: #2a2530; font-size: 18px; line-height: 1.1; letter-spacing: -.4px; text-overflow: ellipsis; white-space: nowrap; }
.creator-metric-grid strong em { margin-left: 2px; color: #8d8198; font-size: 8px; font-style: normal; font-weight: 500; }
.creator-metric-grid strong b { margin-right: 1px; color: #8a7798; font-size: 10px; font-weight: 500; }
.creator-metric-grid small { margin-top: 6px; color: #9a8ea4; font-size: 8px; }
.creator-trend-card { margin: 10px 18px 22px; padding: 15px 14px 12px; border: 1px solid #ece7f0; border-radius: 17px; background: #fff; }
.creator-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.creator-card-heading strong, .creator-card-heading small { display: block; }
.creator-card-heading strong { font-size: 12px; }
.creator-card-heading small { margin-top: 4px; color: #9c91a6; font-size: 8px; }
.creator-card-heading > span { color: #7b628e; font-size: 9px; }
.creator-trend-chart { height: 126px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.creator-trend-chart > div { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.creator-trend-chart > div > span { height: 77px; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid #eee9f3; background: linear-gradient(180deg, transparent, #faf8fd); }
.creator-trend-chart i { width: min(20px, 75%); min-height: 5px; border-radius: 5px 5px 1px 1px; background: linear-gradient(180deg, #b59ae8, #7c3aed); }
.creator-trend-chart small { margin-top: 6px; color: #a092aa; font-size: 7px; white-space: nowrap; }
.creator-trend-chart b { margin-top: 4px; color: #73627f; font-size: 8px; }
.creator-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 18px 11px; }
.creator-section-heading > button { padding: 5px 0; color: var(--violet); background: transparent; font-size: 9px; font-weight: 700; }
.creator-level-pill { padding: 5px 8px; border-radius: 8px; color: #6e4295; background: #eee5fa; font-size: 9px; font-weight: 700; }
.creator-growth-card { margin: 0 18px 22px; padding: 15px; border: 1px solid #e9e0f2; border-radius: 18px; background: linear-gradient(145deg, #fff 55%, #f8f4fe); }
.creator-growth-top { display: flex; align-items: center; gap: 11px; }
.creator-growth-medal { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #9d73dd, #6d28d9); box-shadow: 0 6px 15px rgba(109,40,217,.17); }
.creator-growth-medal svg { width: 20px; height: 20px; }
.creator-growth-top > div { min-width: 0; flex: 1; }
.creator-growth-top small, .creator-growth-top strong, .creator-growth-top p { display: block; }
.creator-growth-top small { color: #9b8ba8; font-size: 8px; }
.creator-growth-top strong { margin-top: 3px; font-size: 14px; }
.creator-growth-top p { margin: 4px 0 0; color: #9a86ae; font-size: 8px; }
.creator-growth-top > span:last-child { color: #b7a7c5; font-size: 10px; }
.creator-growth-progress { height: 6px; margin-top: 15px; overflow: hidden; border-radius: 6px; background: #e9e1f1; }
.creator-growth-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.creator-growth-summary { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; color: #a091ac; font-size: 8px; }
.creator-growth-summary b { color: #735b86; }
.creator-task-list { margin-top: 14px; border-top: 1px solid #eee7f4; }
.creator-task { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid #f0ebf4; }
.creator-task:last-child { border-bottom: 0; padding-bottom: 1px; }
.creator-task > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #8b5cf6; background: #f1eafa; }
.creator-task svg { width: 14px; height: 14px; }
.creator-task strong, .creator-task small, .creator-task p, .creator-task em { display: block; }
.creator-task strong { font-size: 10px; }
.creator-task small { margin-top: 3px; overflow: hidden; color: #a194aa; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.creator-task p { height: 3px; margin-top: 7px; overflow: hidden; border-radius: 3px; background: #ece5f2; }
.creator-task p i { display: block; height: 100%; border-radius: inherit; background: #9c78d9; }
.creator-task em { margin-top: 4px; color: #a997b8; font-size: 6px; font-style: normal; }
.creator-task > button { min-width: 47px; height: 27px; padding: 0 7px; border-radius: 8px; color: #fff; background: #7c3aed; font-size: 8px; font-weight: 700; }
.creator-task > button:disabled { color: #aa9cb5; background: #eee9f2; }
.creator-task.claimed > span { color: #9c90a7; background: #f1edf5; }
.creator-schedule-list, .creator-recent-records { margin: 0 18px 22px; overflow: hidden; border: 1px solid #ece7f0; border-radius: 17px; background: #fff; }
.creator-schedule-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; min-height: 64px; padding: 10px 11px; border-bottom: 1px solid #f0ebf4; }
.creator-schedule-row:last-child { border-bottom: 0; }
.creator-schedule-icon, .creator-record-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: #7c3aed; background: #f1eafa; }
.creator-schedule-icon svg, .creator-record-icon svg { width: 15px; height: 15px; }
.creator-schedule-row > div { min-width: 0; }
.creator-schedule-row strong, .creator-schedule-row small { display: block; }
.creator-schedule-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.creator-schedule-row small { margin-top: 5px; overflow: hidden; color: #9e92a8; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.creator-schedule-row > button { height: 27px; padding: 0 8px; border-radius: 8px; color: #fff; background: #7c3aed; font-size: 8px; }
.creator-schedule-row > button.quiet { padding: 0 3px; color: #a294ac; background: transparent; }
.creator-inline-empty { padding: 24px 15px; color: #9b8ca6; font-size: 10px; text-align: center; }
.creator-menu { width: auto; margin: 0 18px 22px; }
.creator-recent-records > button { width: 100%; min-height: 63px; display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-bottom: 1px solid #f0ebf4; color: var(--ink); background: transparent; text-align: left; }
.creator-recent-records > button:last-child { border-bottom: 0; }
.creator-recent-records > button > span:nth-child(2) { min-width: 0; flex: 1; }
.creator-recent-records strong, .creator-recent-records small { display: block; }
.creator-recent-records strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.creator-recent-records small { margin-top: 5px; color: #a092aa; font-size: 7px; }
.creator-recent-records > button > span:nth-child(3) { min-width: 37px; text-align: right; }
.creator-recent-records b { font-size: 12px; }
.creator-recent-records > button > svg { width: 11px; height: 11px; color: #b5a7c0; }
.creator-page .creator-notice:last-child { margin-bottom: 0; }
.schedule-sheet-form .form-label { margin-bottom: 13px; }
.schedule-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.schedule-type-grid button { min-height: 55px; display: grid; grid-template-columns: 25px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 7px; padding: 8px 9px; border: 1px solid #e8e1ee; border-radius: 11px; color: #70637d; background: #faf9fb; text-align: left; }
.schedule-type-grid button:last-child { grid-column: 1 / -1; }
.schedule-type-grid button.selected { color: #6f3dac; border-color: #bda0e7; background: #f6f0fd; }
.schedule-type-grid svg { grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; }
.schedule-type-grid strong { align-self: end; font-size: 9px; }
.schedule-type-grid small { align-self: start; margin-top: 3px; color: #a190af; font-size: 7px; }
.schedule-time-control button { flex: 1; padding: 0 5px; font-size: 8px; }
.schedule-sheet-note { margin: 9px 0 0; color: #a293ad; font-size: 8px; text-align: center; }
.creator-record-sheet-list { border: 1px solid #ece5f2; border-radius: 15px; }
.creator-record-sheet-list > button { width: 100%; min-height: 70px; display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-bottom: 1px solid #f0eaf5; color: var(--ink); background: #fff; text-align: left; }
.creator-record-sheet-list > button:first-child { border-radius: 15px 15px 0 0; }
.creator-record-sheet-list > button:last-child { border-bottom: 0; border-radius: 0 0 15px 15px; }
.creator-record-sheet-list > button > span:nth-child(2) { min-width: 0; flex: 1; }
.creator-record-sheet-list strong, .creator-record-sheet-list small, .creator-record-sheet-list em { display: block; }
.creator-record-sheet-list strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.creator-record-sheet-list small { margin-top: 4px; color: #9d8ca9; font-size: 8px; }
.creator-record-sheet-list em { margin-top: 4px; color: #b0a2b9; font-size: 7px; font-style: normal; }
.creator-record-sheet-list b { color: #6c478b; font-size: 11px; }
.creator-record-sheet-list > button > svg { width: 10px; height: 10px; color: #b9a9c5; }
.creator-record-detail-hero { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #f7f3fb; }
.creator-record-detail-hero > span { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #fff; background: #7c3aed; }
.creator-record-detail-hero svg { width: 17px; height: 17px; }
.creator-record-detail-hero > div { min-width: 0; flex: 1; }
.creator-record-detail-hero strong, .creator-record-detail-hero small { display: block; }
.creator-record-detail-hero strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.creator-record-detail-hero small { margin-top: 5px; color: #9f90aa; font-size: 8px; }
.creator-record-detail-hero > b { color: #9c8aa9; font-size: 8px; font-weight: 500; }
.creator-record-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 12px; overflow: hidden; border: 1px solid #eee7f4; border-radius: 14px; background: #eee7f4; }
.creator-record-detail-grid > div { padding: 13px 6px; background: #fff; text-align: center; }
.creator-record-detail-grid strong, .creator-record-detail-grid span { display: block; }
.creator-record-detail-grid strong { color: #574264; font-size: 13px; }
.creator-record-detail-grid span { margin-top: 5px; color: #a291ae; font-size: 7px; }
.creator-income-detail { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 13px; border-radius: 14px; background: #f3f8f5; }
.creator-income-detail > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; color: #278566; background: #e4f2ea; }
.creator-income-detail svg { width: 16px; height: 16px; }
.creator-income-detail > div { flex: 1; }
.creator-income-detail small, .creator-income-detail strong { display: block; }
.creator-income-detail small { color: #8a9d92; font-size: 8px; }
.creator-income-detail strong { margin-top: 4px; color: #286d54; font-size: 19px; }
.creator-income-detail em { color: #719581; font-size: 8px; font-style: normal; }
.summary-stats > div > strong b { margin-right: 1px; font-size: 11px; font-weight: 500; }

@media (max-width: 360px) {
  .short-library-entry { gap: 8px; padding-right: 11px; padding-left: 11px; }
  .short-library-icon { width: 34px; height: 34px; }
  .short-library-counts { gap: 6px; }
  .short-library-copy small { font-size: 7px; }
  .creator-metric-grid { gap: 6px; }
  .creator-metric-grid > div { padding: 11px 8px; }
  .creator-trend-chart { gap: 6px; }
  .creator-schedule-row { grid-template-columns: 29px minmax(0, 1fr) auto auto; gap: 6px; padding-right: 8px; padding-left: 8px; }
  .creator-schedule-icon { width: 29px; height: 29px; }
}

.male-apply-note { display: flex; align-items: flex-start; gap: 8px; margin: -2px 0 16px; padding: 10px 11px; border-radius: 11px; color: #816a93; background: #f5effb; font-size: 9px; line-height: 1.6; }
.male-apply-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: #7c3aed; }
.review-summary > small { display: block; margin-top: 8px; color: #9a82ad; font-size: 8px; line-height: 1.6; }
.male-review-page { background: #f8f6fa; }
.male-review-stepper { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 2px 16px 13px; }
.male-review-stepper > span { color: #aaa0b2; font-size: 8px; white-space: nowrap; }
.male-review-stepper > span.current { color: #6f3eaa; font-weight: 700; }
.male-review-stepper > span.done { color: #7c3aed; }
.male-review-stepper i { width: 18px; height: 1px; background: #ddd4e6; }
.male-review-scroll { padding: 4px 18px 30px; }
.male-review-title { padding: 4px 2px 17px; }
.male-review-title > span { color: #8b5cf6; font-size: 9px; font-weight: 700; }
.male-review-title h2 { margin: 9px 0 8px; color: #2c2532; font-size: 22px; line-height: 1.4; letter-spacing: -.3px; }
.male-review-title p { margin: 0; color: #96899f; font-size: 10px; line-height: 1.65; }
.male-rules-card { overflow: hidden; border: 1px solid #eae3f0; border-radius: 17px; background: #fff; }
.male-rules-card > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; padding: 13px 14px; border-bottom: 1px solid #f0eaf5; }
.male-rules-card > div:last-child { border-bottom: 0; }
.male-rules-card > div > span { grid-row: 1 / 3; align-self: center; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #7c3aed; background: #f1eafa; }
.male-rules-card svg { width: 17px; height: 17px; }
.male-rules-card strong { font-size: 11px; }
.male-rules-card p { margin: 4px 0 0; color: #9c8da7; font-size: 9px; line-height: 1.5; }
.male-review-primary { width: 100%; min-height: 45px; margin-top: 17px; }
.male-review-primary:disabled { color: #fff; background: #c9bdd6; }
.male-review-footnote { margin-top: 10px; color: #ab9db5; font-size: 8px; line-height: 1.55; text-align: center; }
.male-exam-progress { height: 4px; margin: 0 0 18px; overflow: hidden; border-radius: 4px; background: #e9e1f0; }
.male-exam-progress i { display: block; height: 100%; border-radius: inherit; background: #7c3aed; }
.male-exam-options { display: flex; flex-direction: column; gap: 9px; }
.male-exam-options > button { min-height: 59px; display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid #e8e0ef; border-radius: 14px; color: #61546c; background: #fff; text-align: left; }
.male-exam-options > button > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: #a08cae; background: #f3eef7; font-size: 10px; font-weight: 700; }
.male-exam-options > button > strong { flex: 1; font-size: 11px; line-height: 1.5; }
.male-exam-options > button.selected { color: #643b95; border-color: #b79bdd; background: #f8f3fd; }
.male-exam-options > button.selected > span { color: #fff; background: #7c3aed; }
.male-content-form { padding: 16px; border: 1px solid #eae3f0; border-radius: 17px; background: #fff; }
.male-content-form .form-label { margin-bottom: 17px; }
.male-review-textarea { height: 92px; padding: 11px 12px; line-height: 1.65; resize: vertical; }
.male-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.male-topic-grid button { height: 37px; border: 1px solid #e8e0ef; border-radius: 10px; color: #8e7e9b; background: #faf8fc; font-size: 10px; }
.male-topic-grid button.selected { color: #6d3da1; border-color: #bea2e1; background: #f3ebfc; }
.male-selected-count { margin-top: 9px; color: #9b86ac; font-size: 8px; text-align: right; }
.male-review-result { padding: 22px 16px 18px; border: 1px solid #eae3f0; border-radius: 18px; background: #fff; text-align: center; }
.male-review-result > span { width: 45px; height: 45px; display: grid; place-items: center; margin: 0 auto; border-radius: 15px; color: #b15b70; background: #fff0f3; }
.male-review-result > span svg { width: 23px; height: 23px; }
.male-review-result h2 { margin: 13px 0 7px; font-size: 19px; }
.male-review-result > strong { display: block; color: #a04e62; font-size: 32px; }
.male-review-result > p { margin: 9px auto 0; max-width: 275px; color: #9b8ba5; font-size: 9px; line-height: 1.7; }
.male-feedback-list { margin-top: 15px; padding-top: 4px; border-top: 1px solid #eee7f3; text-align: left; }
.male-feedback-list > div { padding: 9px 0; border-bottom: 1px solid #f1ebf5; }
.male-feedback-list > div:last-child { border-bottom: 0; }
.male-feedback-list strong { display: block; color: #65536f; font-size: 9px; line-height: 1.5; }
.male-feedback-list p { margin: 4px 0 0; color: #a38cae; font-size: 8px; line-height: 1.6; }
.male-audition-banner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 10px; padding: 12px 14px; border-radius: 15px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(196,181,253,.26), transparent 40%), #211a2b; }
.male-audition-banner > span { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; }
.male-audition-banner i { width: 6px; height: 6px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 0 4px rgba(196,181,253,.12); }
.male-audition-banner small { color: #ddd2ec; font-size: 10px; }
.male-audition-banner em { grid-column: 1 / -1; color: #a99bb7; font-size: 8px; font-style: normal; }
.male-audition-progress { display: flex; align-items: center; justify-content: space-between; margin: 17px 3px 10px; }
.male-audition-progress span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #b1a3bd; background: #eee8f3; font-size: 8px; font-weight: 700; }
.male-audition-progress span.current { color: #fff; background: #7c3aed; box-shadow: 0 0 0 4px #eee5fa; }
.male-audition-progress span.done { color: #7c3aed; background: #e9ddf8; }
.male-audition-label { margin-bottom: 13px; color: #917da2; font-size: 9px; text-align: center; }
.male-audition-stage { padding: 17px 15px; border: 1px solid #eae3f0; border-radius: 17px; background: #fff; }
.male-audition-stage > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #7c3aed; background: #f1eafa; }
.male-audition-stage > span svg { width: 19px; height: 19px; }
.male-audition-stage h2 { margin: 12px 0 7px; font-size: 17px; }
.male-audition-stage > p { margin: 0 0 14px; color: #9b8ca6; font-size: 9px; line-height: 1.65; }
.male-device-list { border-top: 1px solid #eee7f4; }
.male-device-list > div { display: grid; grid-template-columns: 25px 1fr auto auto; align-items: center; gap: 8px; min-height: 55px; border-bottom: 1px solid #f0eaf5; }
.male-device-list > div:last-child { border-bottom: 0; }
.male-device-list > div > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #b07a41; background: #fff4e7; font-size: 9px; font-weight: 700; }
.male-device-list > div.ready > span { color: #278566; background: #e8f6ee; }
.male-device-list strong { font-size: 10px; }
.male-device-list small { color: #a191ab; font-size: 8px; }
.male-device-list button { min-width: 42px; height: 27px; padding: 0 7px; border-radius: 8px; color: #7c3aed; background: #f2ebfb; font-size: 8px; }
.male-topic-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.male-topic-chips span { padding: 5px 8px; border-radius: 7px; color: #7b5b94; background: #f1eafa; font-size: 8px; }
.male-simulated-message { padding: 12px; border-radius: 12px; color: #5f4b6d; background: #f5f0fa; }
.male-simulated-message small, .male-simulated-message strong { display: block; }
.male-simulated-message small { color: #a08aae; font-size: 8px; }
.male-simulated-message strong { margin-top: 5px; font-size: 10px; line-height: 1.65; }
.male-moderation-options { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.male-moderation-options button { min-height: 48px; padding: 10px 11px; border: 1px solid #e8e0ef; border-radius: 11px; color: #8a7897; background: #fff; font-size: 9px; line-height: 1.55; text-align: left; }
.male-moderation-options button.selected { color: #633b90; border-color: #b99dde; background: #f6effc; }
.male-moderation-correct, .male-moderation-wrong { margin-top: 10px; padding: 9px 10px; border-radius: 9px; font-size: 8px; line-height: 1.6; }
.male-moderation-correct { color: #3d7b60; background: #edf8f1; }
.male-moderation-wrong { color: #a45d6f; background: #fff1f4; }

@media (max-width: 360px) {
  .male-review-scroll { padding-right: 14px; padding-left: 14px; }
  .male-review-title h2 { font-size: 20px; }
  .male-review-stepper { gap: 5px; padding-right: 12px; padding-left: 12px; }
  .male-review-stepper > span { font-size: 7px; }
  .male-device-list > div { grid-template-columns: 23px 1fr auto; }
  .male-device-list small { display: none; }
}

/* Unified adaptive video social room: 2–9 occupied seats. */
.party-main { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.party-main::-webkit-scrollbar { display: none; }
.party-room-badge { overflow: hidden; }
.party-room-badge strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.party-room-badge small { flex: 0 0 auto; }
.party-video-grid.layout-duo { height: clamp(210px, 29vh, 250px); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.party-video-grid.layout-round { height: clamp(220px, 31vh, 270px); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.party-video-grid.layout-grid { height: clamp(225px, 33vh, 285px); grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.party-video-grid.layout-nine-grid { height: clamp(275px, 39vh, 330px); grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 5px; }
.party-video-grid.layout-nine-grid .party-seat { border-radius: 8px; }
.party-video-grid.layout-nine-grid .party-person-label strong { font-size: 8.5px; }
.party-video-grid.layout-nine-grid .party-person-label small { font-size: 6px; }
.party-video-grid.has-expanded { height: clamp(280px, 40vh, 340px); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 4px; }
.party-video-grid.has-expanded .party-seat.expanded { z-index: 2; grid-column: 1 / span 2; grid-row: 1 / span 2; border-color: rgba(210,185,255,.9); box-shadow: 0 0 0 1px rgba(167,139,250,.4); animation: nineSeatExpand .2s ease both; }
.party-video-grid .party-seat.selected { border-color: #d3b8ff; box-shadow: inset 0 0 0 2px #b28af0; }
.party-video-grid .party-seat.private-pair { border-color: #e9b5e7; box-shadow: inset 0 0 0 2px rgba(233,181,231,.75); }
.party-seat.expanded .party-seat-number { display: none; }
.party-seat.expanded .party-person-label { left: 12px; right: 12px; bottom: 56px; }
.party-seat.expanded .party-person-label strong { font-size: 14px; }
.party-seat.expanded .party-person-label small { font-size: 8px; }
.party-roundbar { flex: 0 0 auto; margin-top: 5px; padding: 8px 10px; border: 1px solid rgba(196,181,253,.15); border-radius: 11px; background: rgba(255,255,255,.045); }
.party-roundbar > div { display: flex; align-items: center; gap: 7px; }
.party-roundbar span { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 650; }
.party-roundbar span svg { width: 12px; height: 12px; color: #c4b5fd; }
.party-roundbar small { min-width: 0; flex: 1; overflow: hidden; color: rgba(255,255,255,.45); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.party-roundbar strong { color: #ddd0fa; font-size: 10px; font-variant-numeric: tabular-nums; }
.party-roundbar > i { display: block; height: 2px; margin-top: 6px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.09); }
.party-roundbar > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #d8c8ff); transition: width .3s linear; }
.party-host-strip { flex: 0 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.party-host-strip button { min-width: 0; min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 5px; border: 1px solid rgba(196,181,253,.16); border-radius: 10px; color: #e2d8f4; background: rgba(255,255,255,.06); font-size: 8px; }
.party-host-strip button svg { width: 13px; height: 13px; }
.party-host-strip button.primary { border-color: rgba(196,181,253,.4); color: #fff; background: linear-gradient(115deg, #8d62ce, #64418f); }
.party-host-strip > small { grid-column: 1 / -1; color: rgba(255,255,255,.43); font-size: 7px; line-height: 1.45; text-align: center; }
.party-settings { color: var(--ink); }
.party-settings-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 10px; }
.party-settings-head > span { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.party-settings-head svg { width: 16px; height: 16px; color: var(--violet); }
.party-settings-head small { color: var(--muted); font-size: 9px; }
.party-limit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.party-limit-grid button { min-height: 34px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; color: #786b83; background: #faf8fc; font-size: 9px; }
.party-limit-grid button.active { border-color: #b99dde; color: #fff; background: #8b5cf6; }
.party-angel-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 13px; padding: 11px; border: 1px solid #e5dbee; border-radius: 12px; color: #5e4c6c; background: #faf7fd; text-align: left; }
.party-angel-toggle > span { min-width: 0; display: flex; align-items: center; gap: 9px; }
.party-angel-toggle svg { width: 20px; height: 20px; color: #8b5cf6; }
.party-angel-toggle strong, .party-angel-toggle small { display: block; }
.party-angel-toggle strong { font-size: 11px; }
.party-angel-toggle small { margin-top: 3px; color: #93839f; font-size: 8px; line-height: 1.45; }
.party-angel-toggle em { flex: 0 0 auto; color: #8b5cf6; font-size: 9px; font-style: normal; }
.party-angel-toggle.active { border-color: #b99dde; background: #f3eafd; }
.party-settings-note { margin: 9px 2px 0; color: var(--muted); font-size: 8px; line-height: 1.6; }

@media (max-height: 740px) {
  .party-video-grid.layout-duo, .party-video-grid.layout-round { height: 205px; }
  .party-video-grid.layout-grid { height: 210px; }
  .party-video-grid.layout-nine-grid { height: 252px; }
  .party-video-grid.has-expanded { height: 258px; }
  .party-roundbar { padding: 6px 9px; }
  .party-host-strip { margin-top: 6px; }
  .party-host-strip button { min-height: 34px; }
}
@media (max-width: 400px) {
  .party-host-top { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px; }
  .party-room-badge { gap: 4px; }
  .party-room-badge strong { max-width: 128px; font-size: 11px; }
  .party-room-badge small { padding-left: 4px; font-size: 8px; }
  .party-top-actions { gap: 3px; }
  .party-viewer-button { padding: 6px; font-size: 8px; }
  .party-video-grid { gap: 4px; }
  .party-video-grid.layout-nine-grid { height: clamp(260px, 37vh, 315px); }
  .party-video-grid.has-expanded { height: clamp(265px, 38vh, 320px); gap: 3px; }
  .nine-expanded-controls { left: 6px; right: 6px; bottom: 6px; gap: 3px; padding: 4px; }
  .nine-expanded-controls button { flex-basis: 27px; width: 27px; height: 27px; }
  .nine-expanded-controls small { display: none; }
  .party-person-label { left: 4px; bottom: 4px; }
  .party-roundbar small { font-size: 6.5px; }
}
@media (max-width: 360px) {
  .party-room-badge strong { max-width: 106px; font-size: 10px; }
  .party-room-badge small { display: none; }
  .party-viewer-top { padding-right: 8px; padding-left: 8px; }
  .party-viewer-host { gap: 6px; }
  .party-viewer-host strong { font-size: 11px; }
  .party-host-avatar .party-avatar { width: 37px; height: 37px; }
  .follow-btn { padding: 0 8px; font-size: 9px; }
  .party-main { padding-right: 9px; padding-left: 9px; }
  .party-video-grid.layout-nine-grid { height: 255px; }
  .party-video-grid.has-expanded { height: 262px; }
  .party-seat-top { right: 19px; }
  .party-host-crown, .party-self-tag, .party-speaking-tag { padding: 2px 3px; font-size: 6px; }
  .party-person-label strong, .party-video-grid.layout-nine-grid .party-person-label strong { font-size: 7.5px; }
  .party-person-label small, .party-video-grid.layout-nine-grid .party-person-label small { font-size: 5.5px; }
  .party-roundbar span { font-size: 8px; }
  .party-roundbar strong { font-size: 9px; }
  .party-host-strip button { gap: 3px; font-size: 7px; }
  .party-limit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .party-apply-card { gap: 6px; padding: 7px; }
  .party-apply-card > button { padding: 0 8px; font-size: 8px; }
  .party-viewer-toolbar { gap: 5px; }
  .room-tool { width: 30px; }
}

.pk-bar { position: absolute; z-index: 12; top: 72px; left: 50%; width: min(310px, calc(100% - 32px)); min-height: 54px; display: grid; grid-template-columns: 1fr 82px 1fr; align-items: center; padding: 7px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; color: #fff; background: linear-gradient(110deg, rgba(54,32,79,.94), rgba(19,17,23,.96) 50%, rgba(73,57,31,.94)); box-shadow: 0 10px 28px rgba(0,0,0,.28); backdrop-filter: blur(16px); transform: translateX(-50%); }
.pk-bar:active { transform: translateX(-50%) scale(.98); }
.pk-bar-team { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pk-bar-team.gold { text-align: right; }
.pk-bar-team small { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.pk-bar-team.violet small { color: #d8c8fb; }
.pk-bar-team.gold small { color: #f0d9a8; }
.pk-bar-team strong { font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pk-bar-team.violet strong { color: #c4a5ff; }
.pk-bar-team.gold strong { color: #f3cf85; }
.pk-bar-center { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pk-bar-center em { font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: 1px; }
.pk-bar-center b { color: rgba(255,255,255,.65); font-size: 9px; font-variant-numeric: tabular-nums; font-weight: 500; }
.pk-bar.settled { border-color: rgba(196,181,253,.5); }
.video-date-page .pk-bar { top: 82px; }
.party-page .pk-bar { position: relative; top: auto; left: auto; width: 100%; margin: 8px 0; transform: none; }
.party-page:has(.pk-bar) .party-roundbar { display: none; }
.party-page:has(.pk-bar) .party-video-grid { height: clamp(235px, 33vh, 280px); }
.party-page:has(.pk-bar) .party-video-grid.layout-nine-grid { height: clamp(215px, 27vh, 240px); }
.party-page .pk-bar:active { transform: scale(.99); }
.sheet:has(.pk-scoreboard) { max-height: 88%; }

.pk-scoreboard { margin: 4px 0 12px; padding: 16px 15px 13px; border: 1px solid rgba(196,181,253,.16); border-radius: 18px; background: linear-gradient(130deg, #261a38, #18151d 52%, #2a241c); color: #fff; }
.pk-score-number { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; text-align: center; }
.pk-score-number strong { font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.pk-score-number strong:first-child { color: #c4a5ff; }
.pk-score-number strong:last-child { color: #f3cf85; }
.pk-score-number span { color: rgba(255,255,255,.5); font-size: 10px; font-style: italic; font-weight: 800; }
.pk-progress { height: 5px; display: flex; gap: 3px; margin-top: 14px; overflow: hidden; border-radius: 8px; }
.pk-progress i { display: block; height: 100%; border-radius: inherit; transition: width .3s; }
.pk-progress .violet { background: linear-gradient(90deg, #7c3aed, #b794f4); }
.pk-progress .gold { background: linear-gradient(90deg, #f3cf85, #a97e32); }
.pk-score-labels { display: flex; justify-content: space-between; margin-top: 7px; color: rgba(255,255,255,.58); font-size: 10px; }
.pk-balance { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; color: #6d6478; font-size: 11px; }
.pk-balance svg { width: 15px; height: 15px; color: #8b5cf6; }
.pk-balance strong { color: #33263f; font-variant-numeric: tabular-nums; }
.pk-balance button { margin-left: auto; padding: 5px 12px; border-radius: 12px; color: #7c3aed; background: #f0e9fb; font-size: 10px; font-weight: 700; }
.pk-team-list { display: flex; flex-direction: column; gap: 10px; }
.pk-team-card { padding: 12px; border: 1px solid #ece8f1; border-radius: 17px; background: #fff; }
.pk-team-card.violet { background: linear-gradient(145deg, #fbf9ff, #fff); }
.pk-team-card.gold { background: linear-gradient(145deg, #fffdf8, #fff); }
.pk-team-head { display: flex; align-items: center; gap: 9px; }
.pk-team-emblem { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; }
.violet .pk-team-emblem { color: #7c3aed; background: #eee6fc; }
.gold .pk-team-emblem { color: #a97e32; background: #faf0da; }
.pk-team-emblem svg { width: 19px; height: 19px; }
.pk-team-head > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pk-team-head strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pk-team-head small { overflow: hidden; color: #938a9c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.pk-team-head > b { font-size: 20px; font-variant-numeric: tabular-nums; }
.violet .pk-team-head > b { color: #7c3aed; }
.gold .pk-team-head > b { color: #a97e32; }
.pk-team-gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 11px 0; }
.pk-team-gifts button { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #eee8f3; border-radius: 11px; background: rgba(255,255,255,.8); }
.pk-team-gifts button:active { transform: scale(.96); }
.pk-team-gifts button:disabled { opacity: .38; cursor: default; }
.pk-team-gifts span { font-size: 22px; }
.pk-team-gifts strong { color: #5d4c70; font-size: 11px; }
.pk-supporters { display: flex; flex-direction: column; gap: 7px; padding-top: 9px; border-top: 1px solid #f1edf4; }
.pk-supporters > div { display: flex; align-items: center; gap: 7px; }
.pk-rank { width: 15px; color: #9a90a3; font-size: 10px; font-weight: 800; text-align: center; }
.pk-supporters > div:nth-child(1) .pk-rank { color: #c79b42; }
.pk-supporters img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.pk-supporters strong { flex: 1; font-size: 11px; font-weight: 600; }
.pk-supporters b { color: #6f617b; font-size: 11px; font-variant-numeric: tabular-nums; }
.pk-settle { width: 100%; min-height: 42px; margin-top: 12px; border-radius: 13px; color: #7c3aed; background: #f1ebfa; font-size: 12px; font-weight: 700; }
.pk-empty { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #8a7c97; }
.pk-empty svg { width: 34px; height: 34px; color: #b79bdd; }
.pk-empty strong { font-size: 13px; font-weight: 500; }
.gift-pk-tabs { display: flex; gap: 7px; margin: -2px 0 12px; }
.gift-pk-tabs button { flex: 1; min-width: 0; overflow: hidden; padding: 9px 5px; border: 1px solid #ebe5f1; border-radius: 10px; color: #7b6c88; background: #fff; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.gift-pk-tabs button.active { border-color: #9f75dd; color: #6d28d9; background: #f3edfd; font-weight: 700; }

@media (max-width: 360px) {
  .pk-bar { grid-template-columns: 1fr 72px 1fr; }
  .pk-bar-team small { font-size: 9px; }
  .pk-bar-team strong { font-size: 15px; }
  .pk-score-number strong { font-size: 24px; }
  .pk-team-card { padding: 10px; }
}
