:root{--navy-1000:#030914;--navy-950:#050d1d;--navy-900:#071226;--navy-850:#0a1830;--navy-800:#0e1f3c;--navy-700:#16294b;--navy-600:#213760;--line:#94b2de24;--line-strong:#94b2de3d;--teal-300:#5eead4;--teal-400:#2dd4bf;--teal-500:#14b8a6;--teal-600:#0d9488;--turquoise:#22d3ee;--accent-gradient:linear-gradient(135deg, #2dd4bf 0%, #22d3ee 100%);--text:#e8eef8;--text-muted:#9fb0c8;--text-subtle:#6f84a3;--live:#ff4d6a;--warn:#f5b74a;--danger:#f2617a;--chat-bg:#fff;--chat-surface:#f4f7fb;--chat-border:#e3e9f2;--chat-text:#13213a;--chat-muted:#6a7a93;--seller-bg:#e6fbf8;--seller-border:#9de8dd;--seller-text:#0b6d64;--radius-sm:10px;--radius:14px;--radius-lg:20px;--radius-xl:28px;--shadow-sm:0 1px 2px #00000040;--shadow:0 10px 30px #01061273;--shadow-lg:0 24px 60px #0106128c;--focus:0 0 0 3px #2dd4bf73;--header-h:64px;--gap:20px;--font:"Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--font);color:var(--text);background:radial-gradient(1200px 600px at 85% -10%, #22d3ee14, transparent 60%), radial-gradient(900px 500px at -10% 110%, #2dd4bf12, transparent 60%), var(--navy-950);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;background-attachment:fixed;font-size:16px;line-height:1.5}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}:focus-visible{box-shadow:var(--focus);outline:none}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.page-loading{min-height:100dvh}.brand{letter-spacing:-.01em;color:var(--text);align-items:center;gap:10px;font-weight:700;display:inline-flex}.brand__mark{width:34px;height:34px;color:var(--navy-950);background:var(--accent-gradient);border-radius:10px;place-items:center;padding:6px;display:grid;box-shadow:0 6px 18px #2dd4bf4d}.brand__name{font-size:1.15rem}.brand--lg .brand__mark{border-radius:14px;width:46px;height:46px;padding:8px}.brand--lg .brand__name{font-size:1.5rem}.button{white-space:nowrap;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 18px;font-weight:600;text-decoration:none;transition:background-color .15s,border-color .15s,transform 50ms,box-shadow .15s;display:inline-flex}.button:active:not(:disabled){transform:translateY(1px)}.button--primary{color:#032326;background:var(--accent-gradient);box-shadow:0 10px 24px #22d3ee38}.button--primary:hover{filter:brightness(1.04);box-shadow:0 12px 30px #22d3ee52}.button--ghost{color:var(--text);border-color:var(--line-strong);background:#ffffff0a}.button--ghost:hover{background:#ffffff14;border-color:#94b2de61}.button--block{width:100%;min-height:52px;font-size:1.02rem}.icon-button{border:1px solid var(--line-strong);width:44px;height:44px;color:var(--text);background:#ffffff0a;border-radius:12px;place-items:center;display:inline-grid}.icon-button:hover{background:#ffffff14}.icon-button--sm{border-radius:8px;width:32px;height:32px}.field-label{color:var(--text);margin-bottom:8px;font-size:.92rem;font-weight:600;display:block}.text-input{width:100%;min-height:52px;color:var(--text);background:var(--navy-900);border:1px solid var(--line-strong);border-radius:12px;padding:12px 16px;font-size:1.05rem;transition:border-color .15s,box-shadow .15s;display:block}.text-input::placeholder{color:var(--text-subtle)}.text-input:hover{border-color:#94b2de61}.text-input:focus{border-color:var(--teal-400);box-shadow:var(--focus);outline:none}.text-input--invalid,.text-input--invalid:focus{border-color:var(--danger);box-shadow:0 0 0 3px #f2617a40}.field-hint,.field-error{min-height:1.4em;margin:8px 0 18px;font-size:.86rem}.field-hint{color:var(--text-muted)}.field-error{color:#ff97a8;font-weight:500}.demo-tag{letter-spacing:.04em;text-transform:uppercase;color:var(--warn);vertical-align:middle;background:#f5b74a1f;border:1px solid #f5b74a59;border-radius:999px;align-items:center;padding:1px 7px;font-size:.68rem;font-weight:700;display:inline-flex}.demo-tag--light{color:#8a5a00;text-transform:none;letter-spacing:0;background:#fff4dc;border-color:#f5d690;font-size:.74rem}.dev-badge{color:var(--warn);vertical-align:middle;background:#f5b74a1f;border:1px solid #f5b74a59;border-radius:999px;margin-left:8px;padding:2px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.status-badge{border:1px solid var(--line-strong);color:var(--text-muted);white-space:nowrap;background:#ffffff0d;border-radius:999px;align-items:center;gap:8px;padding:6px 12px;font-size:.82rem;font-weight:700;display:inline-flex}.status-badge__dot{background:var(--text-subtle);border-radius:50%;width:8px;height:8px}.status-badge--live{color:#fff;background:var(--live);text-transform:uppercase;letter-spacing:.05em;border-color:#0000;box-shadow:0 6px 18px #ff4d6a59}.status-badge--live .status-badge__dot{background:#fff;animation:1.6s ease-in-out infinite pulse}.status-badge--interrupted{color:var(--warn);background:#f5b74a1a;border-color:#f5b74a66}.status-badge--interrupted .status-badge__dot{background:var(--warn)}.status-badge--compact{padding:4px 10px;font-size:.75rem}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}.viewer-count{color:var(--text);white-space:nowrap;align-items:center;gap:6px;font-size:.86rem;display:inline-flex}.viewer-count strong{font-variant-numeric:tabular-nums}.connection{color:var(--text-muted);align-items:center;gap:8px;font-size:.84rem;display:inline-flex}.connection__bars{align-items:flex-end;gap:2px;height:12px;display:inline-flex}.connection__bars i{background:var(--text-subtle);border-radius:1px;width:3px;display:block}.connection__bars i:first-child{height:5px}.connection__bars i:nth-child(2){height:8px}.connection__bars i:nth-child(3){height:12px}.connection--ok .connection__bars i{background:var(--teal-400)}.connection--warn .connection__bars i:first-child{background:var(--warn)}.connection--warn{color:var(--warn)}.app-header{z-index:20;height:var(--header-h);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line);background:#050d1dd1;justify-content:space-between;align-items:center;gap:16px;padding:0 24px;display:flex;position:sticky;top:0}.app-header__brand{align-items:center;gap:16px;min-width:0;display:flex}.app-header__center{align-items:center;min-width:0;display:flex}.app-header__actions{align-items:center;gap:12px;display:flex}.app-header__mobile{display:none;position:relative}.user-chip{max-width:280px;color:var(--text-muted);border:1px solid var(--line);background:#ffffff0a;border-radius:999px;align-items:center;gap:8px;padding:8px 14px;font-size:.88rem;display:inline-flex}.user-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-chip strong{color:var(--text)}.mobile-menu{background:var(--navy-800);border:1px solid var(--line-strong);border-radius:var(--radius);width:min(280px,100vw - 24px);box-shadow:var(--shadow-lg);padding:8px;position:absolute;top:calc(100% + 10px);right:0}.mobile-menu__user{border-bottom:1px solid var(--line);overflow-wrap:anywhere;flex-direction:column;margin-bottom:6px;padding:10px 12px 12px;display:flex}.mobile-menu__label{color:var(--text-muted);font-size:.78rem}.mobile-menu__item{text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 12px;font-weight:600;display:flex}.mobile-menu__item:hover{background:#ffffff0f}.mobile-menu__item--danger{color:#ff9fb0}.entry{place-items:center;min-height:100dvh;padding:32px 20px;display:grid;position:relative;overflow:hidden}.entry__glow{pointer-events:none;background:radial-gradient(600px 360px at 50% 18%,#22d3ee24,#0000 70%),radial-gradient(500px 300px at 50% 90%,#2dd4bf14,#0000 70%);position:absolute;inset:0}.entry__card{border:1px solid var(--line-strong);border-radius:var(--radius-xl);width:100%;max-width:480px;box-shadow:var(--shadow-lg), inset 0 1px 0 #ffffff0f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#16294bd1,#0a1830e6);padding:40px 40px 32px;position:relative}.entry__card--center{text-align:center;flex-direction:column;align-items:center;gap:16px;display:flex}.entry__brand{justify-content:center;margin-bottom:22px;display:flex}.entry__status{justify-content:center;margin-bottom:18px;display:flex}.entry__title{letter-spacing:-.02em;text-align:center;text-wrap:balance;font-size:clamp(1.55rem,1.2rem + 1.4vw,2rem);font-weight:750;line-height:1.2}.entry__lead{color:var(--text-muted);text-align:center;text-wrap:pretty;margin-top:12px}.entry__offline{text-align:center;color:var(--text-muted);border-radius:var(--radius);background:#22d3ee0f;border:1px solid #22d3ee33;flex-direction:column;gap:2px;margin-top:22px;padding:14px 16px;font-size:.9rem;display:flex}.entry__offline strong{color:var(--text)}.entry__notice{color:var(--teal-300);border-radius:var(--radius-sm);background:#2dd4bf14;border:1px solid #2dd4bf40;align-items:flex-start;gap:8px;margin-top:18px;padding:12px 14px;font-size:.88rem;display:flex}.entry__notice svg{flex:none;margin-top:2px}.entry__form{margin-top:26px}.entry__form .text-input+.field-label{margin-top:16px}.entry__form .text-input+.button{margin-top:22px}.entry__footnote{color:var(--text-subtle);text-align:center;margin-top:18px;font-size:.82rem}.viewer{flex-direction:column;height:100dvh;display:flex}.viewer__main{gap:var(--gap);min-height:0;padding:var(--gap);flex:1;grid-template-columns:minmax(0,1fr) clamp(330px,28vw,420px);display:grid}.viewer__video{flex-direction:column;gap:14px;min-width:0;min-height:0;display:flex}.viewer__chat{min-height:0;display:flex}.status-strip{border:1px solid var(--line);border-radius:var(--radius);background:#0e1f3c99;flex-wrap:wrap;align-items:center;gap:12px 20px;padding:12px 16px;display:flex}.video-stage{aspect-ratio:16/9;width:100%;max-height:calc(100dvh - var(--header-h) - 2 * var(--gap) - 70px);background:var(--navy-1000);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);position:relative;overflow:hidden}.video-stage__placeholder{background:radial-gradient(circle at 30% 30%,#22d3ee1f,#0000 50%),radial-gradient(circle at 70% 70%,#2dd4bf1a,#0000 55%),linear-gradient(135deg,#0a1730,#050c1b);place-items:center;display:grid;position:absolute;inset:0}.video-stage__placeholder-inner{text-align:center;max-width:420px;color:var(--text-muted);flex-direction:column;align-items:center;gap:6px;padding:20px;font-size:.92rem;display:flex}.video-stage__placeholder-inner strong{color:var(--text);font-size:1.02rem}.video-stage__placeholder-icon{width:68px;height:68px;color:var(--teal-300);background:#2dd4bf1a;border:1px solid #2dd4bf4d;border-radius:50%;place-items:center;margin-bottom:8px;display:grid}.video-stage__paused{background:#ffffff14;border-radius:999px;margin-top:6px;padding:3px 10px;font-size:.78rem;font-weight:600}.video-stage__overlay{pointer-events:none;align-items:center;gap:10px;display:flex;position:absolute;left:16px;right:16px}.video-stage__overlay--top{top:16px}.video-stage__overlay .viewer-count{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#030914a6;border-radius:999px;padding:5px 12px}.video-stage__controls{background:linear-gradient(#0000,#030914d9);align-items:center;gap:6px;padding:28px 14px 12px;display:flex;position:absolute;bottom:0;left:0;right:0}.video-stage__controls-spacer{flex:1}.video-control{color:#fff;background:#ffffff14;border:0;border-radius:12px;place-items:center;width:44px;height:44px;transition:background-color .15s;display:grid}.video-control:hover{background:#ffffff2e}.stage-message{text-align:center;background:radial-gradient(circle at 50% 35%,#22d3ee1a,#0000 55%),linear-gradient(160deg,#0c1c38,#050c1b);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;display:flex;position:absolute;inset:0}.stage-message__icon{width:72px;height:72px;color:var(--teal-300);background:#2dd4bf1a;border:1px solid #2dd4bf47;border-radius:50%;place-items:center;margin-bottom:6px;display:grid}.stage-message__icon--interrupted{color:var(--warn);background:#f5b74a1a;border-color:#f5b74a59}.stage-message__title{letter-spacing:-.01em;font-size:clamp(1.2rem,1rem + 1vw,1.7rem);font-weight:700}.stage-message__text{max-width:440px;color:var(--text-muted)}.spinner{border:3px solid #f5b74a40;border-top-color:var(--warn);border-radius:50%;width:26px;height:26px;margin-top:6px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.chat-panel{width:100%;min-height:0;color:var(--chat-text);background:var(--chat-bg);border:1px solid var(--chat-border);border-radius:var(--radius-lg);box-shadow:var(--shadow);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;flex-direction:column;flex:1;display:flex;overflow:hidden}.chat-panel__header{border-bottom:1px solid var(--chat-border);justify-content:space-between;align-items:center;gap:10px;padding:16px 18px 12px;display:flex}.chat-panel__title{font-size:1.02rem;font-weight:700}.chat-panel__notice{color:#6b4f00;border-radius:var(--radius-sm);background:#fff8e6;border:1px solid #f5e1aa;align-items:flex-start;gap:8px;margin:10px 14px 0;padding:8px 12px;font-size:.8rem;line-height:1.4;display:flex}.chat-panel__notice svg{flex:none;margin-top:1px}.chat-panel__notice--warn{color:#8a2433;background:#fff0f2;border-color:#f6c4cc}.chat-panel__messages{overscroll-behavior:contain;flex-direction:column;flex:1;gap:8px;min-height:0;margin:0;padding:12px 14px;list-style:none;display:flex;overflow-y:auto}.chat-msg{background:var(--chat-surface);border:1px solid #0000;border-radius:14px;padding:9px 12px}.chat-msg__head{align-items:center;gap:6px;margin-bottom:2px;font-size:.82rem;display:flex}.chat-msg__name{color:#1f3a66;overflow-wrap:anywhere;font-weight:700}.chat-msg__you{color:var(--chat-muted);font-size:.76rem}.chat-msg__time{color:var(--chat-muted);font-variant-numeric:tabular-nums;flex:none;margin-left:auto;font-size:.74rem}.chat-msg__text{overflow-wrap:anywhere;white-space:pre-wrap;font-size:.97rem;line-height:1.45}.chat-msg--seller{background:var(--seller-bg);border-color:var(--seller-border);border-left:4px solid var(--teal-500)}.chat-msg--seller .chat-msg__name{color:var(--seller-text)}.chat-msg__badge{color:#fff;background:var(--teal-500);border-radius:50%;place-items:center;width:18px;height:18px;display:inline-grid}.chat-msg--own:not(.chat-msg--seller){background:#eef5ff;border-color:#d6e5fb}.chat-msg--system{text-align:center;max-width:92%;color:var(--chat-muted);border:1px dashed var(--chat-border);background:0 0;align-self:center;padding:6px 12px;font-size:.78rem}.chat-panel__form{border-top:1px solid var(--chat-border);background:#fbfcfe;padding:12px 14px 14px}.chat-panel__disabled{color:var(--chat-muted);margin-bottom:8px;font-size:.82rem}.chat-panel__input-row{gap:8px;display:flex}.chat-panel__input{min-width:0;min-height:48px;color:var(--chat-text);background:#fff;border:1px solid #cfd9e7;border-radius:12px;flex:1;padding:10px 14px;font-size:1rem;transition:border-color .15s,box-shadow .15s}.chat-panel__input::placeholder{color:#8a99b0}.chat-panel__input:focus{border-color:var(--teal-500);outline:none;box-shadow:0 0 0 3px #14b8a633}.chat-panel__input:disabled{background:var(--chat-surface)}.chat-panel__send{color:#fff;background:linear-gradient(135deg, var(--teal-500), #0891b2);border:0;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-width:48px;min-height:48px;padding:0 16px;font-weight:700;transition:filter .15s,opacity .15s;display:inline-flex}.chat-panel__send:hover:not(:disabled){filter:brightness(1.07)}.chat-panel__send:disabled{opacity:.45}.chat-panel__meta{color:var(--chat-muted);justify-content:space-between;gap:8px;margin-top:6px;font-size:.75rem;display:flex}.chat-panel__meta:empty{display:none}.chat-panel__counter{font-variant-numeric:tabular-nums;margin-left:auto}.dev-panel-toggle{z-index:50;color:#1c1300;background:var(--warn);box-shadow:var(--shadow);opacity:.85;border:0;border-radius:0 10px 10px 0;align-items:center;gap:6px;padding:8px 10px 8px 8px;font-size:.75rem;font-weight:700;display:inline-flex;position:fixed;top:50%;left:0;transform:translateY(-50%)}.dev-panel-toggle:hover{opacity:1}.dev-panel{z-index:50;width:min(280px,100vw - 24px);color:var(--text);background:var(--navy-800);border-radius:var(--radius);box-shadow:var(--shadow-lg);border:1px solid #f5b74a80;padding:14px;font-size:.86rem;position:fixed;top:50%;left:12px;transform:translateY(-50%)}.dev-panel__head{color:var(--warn);justify-content:space-between;align-items:center;display:flex}.dev-panel__note{color:var(--text-muted);margin:4px 0 10px;font-size:.76rem}.dev-panel__group{border:0;margin:0;padding:0}.dev-panel__group legend{margin-bottom:6px;font-weight:600}.dev-panel__option{cursor:pointer;align-items:center;gap:8px;min-height:34px;display:flex}.dev-panel__option input{accent-color:var(--teal-400)}.dev-panel__links{grid-template-columns:1fr 1fr;gap:6px;margin-top:10px;display:grid}.dev-panel__link{border:1px solid var(--line-strong);background:#ffffff0a;border-radius:8px;min-height:34px;padding:6px 8px;font-size:.78rem;font-weight:600}.dev-panel__link:disabled{opacity:.45}@media (width<=900px){:root{--gap:14px}.app-header{padding:0 16px}.app-header__actions{display:none}.app-header__mobile{display:block}.viewer__main{flex-direction:column;gap:0;padding:0;display:flex;overflow-y:auto}.viewer__video{flex:none;gap:0}.video-stage{max-height:56dvh;box-shadow:none;border-top:0;border-left:0;border-right:0;border-radius:0}.status-strip{background:var(--navy-900);border-top:0;border-left:0;border-right:0;border-radius:0;gap:8px 16px;padding:10px 16px}.viewer__chat{flex:1;min-height:300px;padding:12px}}@media (width<=560px){.entry{align-items:start;padding:20px 14px}.entry__card{border-radius:22px;margin-top:4vh;padding:28px 20px 24px}.entry__brand{margin-bottom:16px}.app-header__center .status-badge{display:none}.video-stage__overlay{top:10px;left:10px;right:10px}.video-stage__overlay .viewer-count{display:none}.video-stage__controls{padding:20px 8px 6px}.video-control{width:40px;height:40px}.stage-message__icon{width:52px;height:52px}.stage-message__icon svg{width:26px;height:26px}.stage-message__text{font-size:.9rem}.viewer__chat{padding:8px}.chat-panel{border-radius:var(--radius)}.chat-panel__send-label{display:none}.chat-panel__send{padding:0 14px}}@media (height<=520px) and (width<=900px){.viewer{height:auto;min-height:100dvh}.viewer__main{overflow:visible}.viewer__chat{flex:none;height:85dvh}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.howto{color:var(--text-muted);border-radius:var(--radius);background:linear-gradient(135deg,#2dd4bf12,#22d3ee08);border:1px solid #2dd4bf33;padding:16px 18px;font-size:.92rem}.howto__title{color:var(--text);margin-bottom:4px;font-size:.95rem}.howto strong{color:var(--teal-300)}.chat-panel__notice-short{display:none}@media (width<=900px){.howto{display:none}}@media (width<=560px){.chat-panel__header{padding:10px 14px 8px}.chat-panel__notice{margin:8px 10px 0;padding:6px 10px;font-size:.76rem}.chat-panel__notice-long,.chat-msg--system{display:none}.chat-panel__notice-short{display:inline}.chat-panel__messages{padding:8px 10px}.chat-panel__form{padding:8px 10px 10px}.chat-panel__meta{display:none}.stage-message{gap:4px;padding:12px 16px}.stage-message__title{font-size:1.1rem}.dev-panel-toggle span{display:none}}.chat-panel__title{white-space:nowrap}.app-header__dev{align-items:center;display:flex}.app-header__dev:empty{display:none}.dev-panel-toggle--inline{min-height:32px;box-shadow:none;border-radius:999px;padding:6px 10px;position:static;transform:none}.video-stage__video{object-fit:contain;background:#000;width:100%;height:100%;position:absolute;inset:0}.video-stage__unmute{color:#fff;border:1px solid var(--line-strong);pointer-events:auto;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#030914b3;border-radius:999px;align-items:center;gap:6px;min-height:36px;margin-left:auto;padding:6px 12px;font-size:.82rem;font-weight:700;display:inline-flex}.video-stage__unmute:hover{background:#030914d9}.video-stage__start{color:#fff;border-radius:var(--radius-lg);background:#030914b3;border:1px solid #2dd4bf80;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:200px;height:120px;margin:auto;font-weight:700;display:flex;position:absolute;inset:0}.spinner--info{border-color:#2dd4bf40;border-top-color:var(--teal-400)}.stage-message__action{margin-top:8px}
