:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff7ea;--surface:#fffaf2;--surface-2:#f7ead7;--ink:#2b1b12;--muted:#786858;--line:#eed9bd;--accent:#ff7a1a;--accent-ink:#4a2308;--orange:#ff7a1a;--orange-2:#ffb23f;--coral:#ff5f45;--green:#2ca765;--amber:#c87913;--red:#be123c;--slate:#202124;--sidebar:#f7f1e8;--sidebar-hover:#efe6d9;--radius:8px;--shadow:0 8px 18px #5b371214;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,Noto Sans JP,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;color:var(--ink);margin:0;overflow-x:hidden}html,body,#root{min-height:100%}button,input,select{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.52}h1,h2,p{margin:0}h1{letter-spacing:0;font-size:clamp(30px,5vw,52px);line-height:1.02}h2{font-size:18px}.eyebrow,.small-label{color:var(--muted);text-transform:uppercase;letter-spacing:0;margin:0;font-size:12px;font-weight:650}label{gap:6px;display:grid}label span{color:var(--muted);font-size:12px;font-weight:600}input,select{border:1px solid var(--line);background:var(--surface);width:100%;height:40px;color:var(--ink);border-radius:var(--radius);padding:0 10px}input:focus,select:focus,button:focus-visible{outline:2px solid color-mix(in oklab, var(--accent) 80%, #fff 20%);outline-offset:2px}.login-screen,.launcher-screen,.console-screen,.conversation-screen{min-height:100vh;padding:20px}.login-screen{background:linear-gradient(135deg, #ffb23f42 0%, #ff7a1a33 44%, #fffaf2f5 100%), repeating-linear-gradient(135deg, #ff7a1a14 0 1px, transparent 1px 18px), var(--bg);place-items:center;display:grid;position:relative;overflow:hidden}.login-screen:before{content:"";clip-path:polygon(0 0,76% 0,54% 100%,0 100%);pointer-events:none;background:linear-gradient(#ff7a1a3d,#ffb23f1f);width:min(58vw,520px);height:100%;position:absolute;inset:0 auto auto 0}.login-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fffaf2f5;width:min(420px,100%);padding:24px;position:relative;box-shadow:0 18px 44px #813f0e24}.login-panel:before{content:"";background:linear-gradient(90deg, var(--orange), var(--orange-2), var(--coral));border-radius:8px 8px 0 0;height:6px;margin:-24px -24px 20px;display:block}.login-brand{align-items:center;gap:10px;display:flex}.login-mark{border-radius:var(--radius);color:#fff;background:radial-gradient(circle at 72% 24%,#ffffffbd 0 7%,#0000 8%),linear-gradient(135deg,#ff8f28,#ff5f45);justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 10px 22px #ff7a1a47}.logo-bubble{background:#fffffff2;border-radius:999px;position:absolute}.logo-bubble:after{content:"";background:inherit;border-radius:0 0 8px;width:8px;height:8px;position:absolute}.logo-bubble-primary{width:24px;height:17px;top:13px;left:10px}.logo-bubble-primary:after{bottom:-3px;left:4px;transform:rotate(30deg)}.logo-bubble-secondary{opacity:.72;width:20px;height:15px;bottom:12px;right:9px}.logo-bubble-secondary:after{bottom:-3px;right:3px;transform:rotate(62deg)}.logo-wave{position:absolute;inset:0}.logo-wave:before,.logo-wave:after{content:"";background:#ff7a1a;border-radius:999px;width:2px;position:absolute;top:18px}.logo-wave:before{height:6px;left:18px}.logo-wave:after{height:10px;top:16px;left:23px}.login-brand strong,.login-brand span,.login-copy h1,.login-copy p{display:block}.login-brand strong{font-size:15px;font-weight:650}.login-brand span{color:var(--muted);margin-top:2px;font-size:12px}.login-copy{text-align:center}.login-copy h1{color:var(--accent-ink);margin-top:20px;font-size:clamp(32px,8vw,46px);font-weight:720}.login-intro{color:var(--muted);margin-top:10px;font-size:14px;line-height:1.55}.login-form{gap:14px;margin-top:22px;display:grid}.form-error{color:var(--red);background:#fff1f2;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;font-size:13px}.simple-header,.conversation-header{justify-content:space-between;align-items:center;gap:14px;width:min(1120px,100%);margin:0 auto 18px;display:flex}.launcher-screen{background:linear-gradient(160deg, #ffb23f3d, #fffaf2f0 42%, #ff7a1a1f), repeating-linear-gradient(135deg, #ff7a1a0f 0 1px, transparent 1px 20px), var(--bg);flex-direction:column;justify-content:flex-start;gap:20px;display:flex;position:relative}.launcher-header{text-align:left;width:min(720px,100%);margin:clamp(20px,4vh,32px) auto 0}.launcher-subtitle{color:var(--muted);margin-top:10px;font-size:14px}.launcher-header h1{color:var(--accent-ink);margin-top:4px;font-size:clamp(34px,8vw,56px);font-weight:720;line-height:1.02}.launcher-logout{border:1px solid var(--line);width:40px;height:40px;color:var(--accent-ink);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffaf2d1;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:14px;right:14px}.header-actions{align-items:center;gap:8px;display:flex}.launcher-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(160px,1fr);align-content:stretch;gap:16px;width:min(900px,100%);margin:0 auto;display:grid}.launcher-card{border-radius:var(--radius);color:#fff;text-align:left;min-height:200px;box-shadow:var(--shadow);flex-direction:column;justify-content:space-between;align-items:flex-start;gap:14px;padding:24px;display:flex}.launcher-card-body{gap:6px;display:grid}.launcher-card strong{font-size:clamp(26px,4vw,42px);font-weight:720;line-height:1}.launcher-card-desc{color:#ffffffd1;max-width:24rem;font-size:15px;line-height:1.45}.launcher-card.talk{background:linear-gradient(135deg,#ff7a1a,#ff5f45 58%,#f1a51f);box-shadow:0 18px 34px #ff7a1a38}.launcher-card.console{color:var(--accent-ink);border:1px solid var(--line);background:#fffaf2db}.launcher-card.lecture{color:var(--accent-ink);background:linear-gradient(135deg,#ffb23f,#ff8a2a 56%,#ffcf72)}.launcher-card.console .launcher-card-desc{color:var(--muted)}.launcher-card.lecture .launcher-card-desc{color:#4a2308c2}.mode-screen{background:linear-gradient(160deg, #ffb23f3d, #fffaf2f0 42%, #ff7a1a1f), repeating-linear-gradient(135deg, #ff7a1a0f 0 1px, transparent 1px 20px), var(--bg);flex-direction:column;gap:18px;min-height:100vh;padding:18px;display:flex;position:relative}.mode-back{border:1px solid var(--line);border-radius:var(--radius);width:42px;height:42px;color:var(--accent-ink);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffaf2cc;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:18px;left:18px}.mode-header{text-align:center;width:min(560px,100%);margin:clamp(42px,8vh,76px) auto 0}.mode-header h1{color:var(--accent-ink);margin-top:4px;font-size:clamp(32px,7.2vw,48px);font-weight:700;line-height:1.04}.mode-header span{color:var(--muted);margin-top:8px;font-size:14px;display:block}.mode-grid{gap:12px;width:min(560px,100%);margin:4px auto 0;display:grid}.mode-card{border-radius:var(--radius);border:1px solid var(--line);text-align:left;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:14px;min-height:106px;padding:16px;display:grid;box-shadow:0 10px 26px #813f0e14}.mode-card.primary{color:#fff;background:linear-gradient(135deg,#ff7a1a,#ff5f45 62%,#f1a51f)}.mode-card.secondary{color:var(--accent-ink);background:#fffaf2e6}.mode-icon{border-radius:var(--radius);background:#ffffff2e;justify-content:center;align-items:center;width:52px;height:52px;display:inline-flex}.mode-card.secondary .mode-icon{background:#fff1dc}.mode-card strong,.mode-card em{display:block}.mode-card strong{font-size:24px;font-weight:680;line-height:1.08}.mode-card em{color:inherit;opacity:.8;margin-top:6px;font-size:13px;font-style:normal;line-height:1.4}.primary-action,.secondary-action,.primary-small,.ghost-button,.icon-text-button,.icon-button{border-radius:var(--radius);justify-content:center;align-items:center;gap:8px;font-weight:620;display:inline-flex}.primary-action,.secondary-action{min-height:44px;padding:0 14px}.primary-action{background:linear-gradient(135deg, var(--orange), var(--coral));color:#fff;box-shadow:0 8px 18px #ff7a1a38}.secondary-action,.ghost-button,.icon-text-button,.icon-button{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.primary-small{background:linear-gradient(135deg, var(--orange), var(--coral));color:#fff;height:36px;padding:0 12px;font-size:13px;box-shadow:0 6px 14px #ff7a1a33}.ghost-button,.icon-text-button{min-height:38px;padding:0 12px}.icon-button{width:36px;height:36px}.conversation-screen{background:linear-gradient(180deg, #ffb23f29, #fffaf2f5), var(--bg);flex-direction:column;gap:10px;max-width:760px;margin:0 auto;display:flex}.conversation-header{width:100%;margin-bottom:0}.status{border:1px solid var(--line);background:var(--surface);min-width:112px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:620;display:inline-flex}.status-ready{color:var(--green);border-color:#17803b40}.status-error{color:var(--red);border-color:#b4231840}.notice{color:#8a4b0f;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;align-items:center;gap:10px;padding:12px 14px;font-size:14px;display:flex}.notice.error{color:var(--red);background:#fff1f2;border-color:#fecaca}.language-strip{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fffaf2e6;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:center;gap:8px;padding:10px;display:grid}.language-strip>svg{color:var(--orange);justify-self:center}.language-strip select{background:#fffefa}.mobile-language-trigger{border:1px solid var(--line);border-radius:var(--radius);width:100%;min-height:38px;color:var(--accent-ink);box-shadow:var(--shadow);background:#fffaf2f0;justify-content:center;align-items:center;gap:8px;font-weight:620;display:none}.drawer-backdrop{z-index:40;background:#2b1b1247;align-items:flex-end;padding:12px;display:flex;position:fixed;inset:0}.language-drawer{border:1px solid var(--line);background:var(--surface);border-radius:14px 14px 8px 8px;width:100%;padding:10px;box-shadow:0 20px 54px #45200942}.drawer-grip{background:#d9b992;border-radius:999px;width:38px;height:4px;margin:0 auto 10px}.drawer-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.drawer-header strong{font-size:15px;font-weight:650}.drawer-grid{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);align-items:end;gap:8px;display:grid}.drawer-swap{background:#fff3df;margin-bottom:0}.start-band{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fffaf2f0;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.start-band.active{border-color:color-mix(in oklab, var(--orange) 45%, var(--line) 55%)}.start-band strong,.start-band span{display:block}.start-band span{color:var(--muted);margin-top:4px;font-size:13px}.conversation-panels{flex:1;grid-template-rows:minmax(240px,1fr) minmax(240px,1fr);gap:10px;min-height:calc(100vh - 210px);display:grid}.talk-half,.subtitle-panel,.lecture-stage{color:#fff;text-align:center;touch-action:none;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;padding:18px;display:flex;box-shadow:inset 0 -8px #0000001f}.talk-half.other,.subtitle-panel.guest-panel{background:linear-gradient(#ff8a2a,#f97316 48%,#bf4a12)}.talk-half.me,.subtitle-panel.my-panel{background:linear-gradient(#ffb23f,#ff7a1a 52%,#b84a16)}.talk-half.active{box-shadow:none;transform:translateY(2px)}.half-label{color:#ffffffc7;font-size:13px;font-weight:620}.talk-half strong{font-size:clamp(26px,7vw,48px);line-height:1}.talk-half p{color:#ffffffdb;max-width:44rem;font-size:clamp(17px,4.2vw,28px);line-height:1.35}.talk-half em{color:#fff;max-width:44rem;font-size:clamp(18px,4.5vw,30px);font-style:normal;font-weight:700;line-height:1.35}.subtitle-panel{border:0;min-height:240px;box-shadow:0 12px 28px #813f0e24}.subtitle-inner{text-align:center;gap:12px;width:min(760px,100%);display:grid}.rotated-subtitle{transform:rotate(180deg)}.subtitle-original{color:#ffffffb8;font-size:clamp(16px,3.8vw,26px);line-height:1.28}.subtitle-translation{color:#fffef8;text-shadow:0 2px 10px #4b1d0752;font-size:clamp(24px,5.8vw,44px);font-weight:760;line-height:1.1}.lecture-stage{color:#fff;min-height:calc(100vh - 230px);box-shadow:var(--shadow);background:linear-gradient(#ff8a2a,#f97316 54%,#b84a16);border-radius:8px;justify-content:center;align-items:stretch;gap:24px;padding:24px}.lecture-stage .subtitle-inner{margin:0 auto}.lecture-feed{gap:8px;width:min(820px,100%);margin:0 auto;display:grid}.lecture-feed div{background:#ffffff14;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.lecture-feed span{color:#ffffffa3;font-size:13px}.lecture-feed strong{color:#fff;font-size:15px}.console-shell{background:var(--bg);min-height:100vh;color:var(--ink);display:flex}.console-sidebar{border-right:1px solid var(--line);background:var(--sidebar);flex-direction:column;flex:0 0 260px;width:260px;height:100vh;display:flex;position:sticky;top:0}.console-brand{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:64px;padding:12px 14px;display:flex}.brand-mark{border-radius:var(--radius);color:#fff;background:#202124;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.console-brand strong,.console-brand span,.console-account strong,.console-account span{display:block}.console-brand strong{font-size:15px;font-weight:600;line-height:1.1}.console-brand span,.console-account span{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.2}.console-nav{flex:1;align-content:start;gap:4px;padding:12px;display:grid}.console-nav button,.mobile-console-nav button{border-radius:var(--radius);color:var(--muted);background:0 0;justify-content:flex-start;align-items:center;gap:10px;font-weight:560;display:inline-flex}.console-nav button{width:100%;min-height:40px;padding:0 12px}.console-nav button:hover,.mobile-console-nav button:hover{background:var(--sidebar-hover);color:var(--ink)}.console-nav button.active,.mobile-console-nav button.active{color:var(--bg);background:#202124;font-weight:560}.console-account{border-top:1px solid var(--line);align-items:center;gap:10px;padding:12px;display:flex}.console-sidebar-bottom{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding:8px;display:flex}.console-admin-entry{border-radius:var(--radius);width:100%;min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:none;justify-content:flex-start;align-items:center;gap:10px;padding:0 12px;font-weight:560;display:inline-flex}.console-admin-entry:hover{background:var(--sidebar-hover);color:var(--ink)}.console-admin-entry.active{color:var(--bg);background:#202124}.console-sidebar-bottom .console-account{border-top:none;padding:6px 6px 2px}.account-balance{flex-wrap:wrap;gap:10px;margin-bottom:12px;display:flex}.account-balance>div{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;flex:1;gap:4px;min-width:130px;padding:10px 12px;display:flex}.account-balance span{color:var(--muted);font-size:11px}.account-balance strong{font-size:16px}.link-button{color:var(--accent-ink);cursor:pointer;background:0 0;border:none;align-self:center;padding:6px;font-size:13px;text-decoration:underline}.link-button:hover{color:var(--accent)}.settings-tabbed{flex-direction:column;display:flex}.settings-tabs{background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:4px;margin-bottom:16px;padding:5px;display:flex;overflow-x:auto}.settings-tab{color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 16px;font-size:14px;font-weight:560;display:inline-flex}.settings-tab:hover{color:var(--ink)}.settings-tab.active{color:#fff;background:#202124}.primary-small:disabled{opacity:.5;box-shadow:none;cursor:not-allowed}.password-field{display:flex;position:relative}.password-field input{width:100%;padding-right:40px}.eye-toggle{color:var(--muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;display:inline-flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.eye-toggle:hover{color:var(--ink)}.title-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.panel-title .title-actions .icon-button,.panel-title .title-actions .primary-small{margin-left:0}.model-field{margin-bottom:14px;display:block}.brand-logo{flex:0 0 36px;width:36px;height:36px}.chip-button{border:1px solid var(--line);background:var(--surface-2);color:var(--accent-ink);white-space:nowrap;cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;display:inline-flex}.chip-button:hover{background:var(--sidebar-hover)}.chip-button.danger{color:var(--red)}.row-actions{flex-direction:column;gap:4px;display:flex}.modal-backdrop{z-index:60;background:#1e140c6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-card{background:var(--surface);border:1px solid var(--line);width:100%;max-width:380px;box-shadow:var(--shadow);border-radius:14px;flex-direction:column;gap:12px;padding:20px;display:flex}.modal-card h3{margin:0;font-size:16px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.quick-presets{flex-wrap:wrap;gap:6px;display:flex}.quick-presets button{border:1px solid var(--line);background:var(--surface-2);color:var(--accent-ink);cursor:pointer;border-radius:6px;padding:4px 12px}.quick-presets button:hover{background:var(--sidebar-hover)}.version-tag{color:var(--muted);margin-left:2px;font-size:11px;font-weight:500}.row-menu{position:relative}.row-menu-pop{z-index:45;background:var(--surface);border:1px solid var(--line);min-width:136px;box-shadow:var(--shadow);border-radius:8px;flex-direction:column;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);right:0}.row-menu-pop button{color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:inline-flex}.row-menu-pop button:hover{background:var(--sidebar-hover)}.row-menu-pop button.danger{color:var(--red)}.menu-backdrop{z-index:40;position:fixed;inset:0}.avatar{color:#fff;background:#34c759;border-radius:50%;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;font-size:13px;font-weight:650;display:inline-flex}.console-main{flex-direction:column;flex:1;min-width:0;min-height:100vh;display:flex}.console-topbar{border-bottom:1px solid var(--line);background:color-mix(in oklab, var(--surface) 88%, transparent 12%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 20px;display:flex}.console-topbar h1{margin-top:2px;font-size:22px;font-weight:600;line-height:1.1}.mobile-console-nav{gap:8px;padding:10px 12px 0;display:none}.mobile-console-nav button{border:1px solid var(--line);background:var(--surface);justify-content:center;width:42px;height:38px}.console-layout{grid-template-columns:minmax(0,1fr);gap:16px;width:100%;max-width:1120px;margin:0 auto;padding:20px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;min-width:0;padding:16px;box-shadow:0 6px 16px #3425130d}.panel-title{align-items:center;gap:8px;margin-bottom:14px;font-weight:580;display:flex}.panel-title .primary-small,.panel-title .icon-button,.panel-title .small-label{margin-left:auto}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.toggle{grid-template-columns:18px 1fr;align-items:center;gap:10px;padding:8px 0}.toggle input{width:18px;height:18px}.toggle span{color:var(--ink);font-size:13px}.admin-message{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:8px;margin-top:12px;padding:10px 12px;font-size:13px}.new-user-row{grid-template-columns:minmax(180px,1.4fr) minmax(140px,1fr) 130px auto;align-items:center;gap:10px;margin-bottom:12px;display:grid}.user-table{gap:8px;display:grid}.user-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(160px,1.3fr) 84px 120px 110px 96px;align-items:center;gap:10px;padding:10px;display:grid}.minutes-cell{flex-direction:column;gap:4px;display:flex}.minute-grants{gap:4px;display:flex}.minute-grants button{border:1px solid var(--line);background:var(--surface-2);color:var(--accent-ink);cursor:pointer;border-radius:6px;padding:2px 8px;font-size:12px}.minute-grants button:hover{background:var(--sidebar-hover)}.user-head{background:var(--surface-2);color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:560}.user-row strong,.history-item strong,.usage-summary strong{font-weight:620}.user-row strong,.user-row span{display:block}.user-row span{color:var(--muted);margin-top:2px;font-size:12px}.usage-summary{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.usage-summary div{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:12px}.usage-summary span,.usage-summary strong{display:block}.usage-summary span{color:var(--muted);font-size:12px}.usage-summary strong{margin-top:4px;font-size:18px;font-weight:600}.quota-bar{background:var(--surface-2);border-radius:999px;height:10px;margin:14px 0;overflow:hidden}.quota-bar span{background:linear-gradient(90deg, var(--green), var(--amber), var(--red));height:100%;display:block}.history-list{gap:8px;display:grid}.history-item{border:1px solid var(--line);border-radius:8px;padding:10px}.history-item strong,.history-item span{display:block}.history-item span{color:var(--muted);margin-top:4px;font-size:12px}.empty-state,.empty-small{color:var(--muted);padding:20px 0}.empty-small{padding:8px 0;font-size:14px}.gate-list{color:var(--muted);margin:0;padding-left:18px;font-size:14px;line-height:1.8}@media (width<=980px){.launcher-grid{grid-template-columns:1fr;width:min(620px,100%)}.mode-grid{width:min(560px,100%)}.launcher-header{text-align:center;margin-top:54px}.launcher-logout{top:14px;right:14px}.console-sidebar{display:none}.console-main{min-height:100vh}.console-topbar{align-items:center;padding:12px}.mobile-console-nav{display:flex}.console-layout{padding:12px}.header-actions .ghost-button span{display:none}.header-actions .ghost-button{min-height:38px;padding:0 14px}.console-topbar h1{font-size:19px}.panel{padding:13px}.settings-tabs{margin-bottom:12px}.user-row{grid-template-columns:1fr;gap:8px}.user-head{display:none}.simple-header{flex-direction:column;align-items:flex-start}.conversation-header{grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px;display:grid}.conversation-header .icon-text-button{width:42px;min-height:40px;padding:0}.conversation-header .icon-text-button span{display:none}.status{width:42px;min-width:0;min-height:40px;padding:0 10px}.status span,.language-strip{display:none}.mobile-language-trigger{min-height:40px;box-shadow:none;display:inline-flex}.start-band{grid-template-columns:minmax(0,1fr) 42px;align-items:center;padding:7px 8px;display:grid}.start-band button{white-space:nowrap;width:42px;min-height:40px;padding:0}.start-band span{display:none}.conversation-panels{grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px;min-height:calc(100svh - 124px)}.subtitle-original{font-size:clamp(13px,3vw,18px)}.subtitle-translation{font-size:clamp(22px,4.2vw,32px);line-height:1.12}.header-actions{width:100%}.header-actions .ghost-button{flex:1}}@media (width<=640px){.login-screen,.launcher-screen,.console-screen,.conversation-screen{padding:10px}.launcher-screen{justify-content:flex-start;gap:14px}.login-panel{padding:20px}.login-panel:before{margin:-20px -20px 18px}.login-panel h1{margin-top:16px;font-size:34px}.login-form{gap:12px;margin-top:18px}.simple-header{margin-bottom:12px}.conversation-header{grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px;display:grid}.status,.icon-text-button{min-width:0}.conversation-header .icon-text-button{width:42px;min-height:40px;padding:0}.conversation-header .icon-text-button span{display:none}.status{width:42px;min-width:0;min-height:40px;padding:0 10px}.status span,.language-strip{display:none}.mobile-language-trigger{min-height:40px;box-shadow:none;display:inline-flex}.start-band{grid-template-columns:minmax(0,1fr) 42px;align-items:center;padding:7px 8px;display:grid}.start-band button{white-space:nowrap;width:42px;min-height:40px;padding:0}.start-band span{display:none}.conversation-panels{grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px;min-height:calc(100svh - 124px)}.subtitle-panel{padding:12px}.subtitle-inner{gap:9px}.subtitle-original{font-size:clamp(13px,3.6vw,18px);line-height:1.32}.subtitle-translation{font-size:clamp(22px,5.8vw,30px);line-height:1.12}.mode-screen{gap:14px;padding:12px}.mode-back{width:40px;height:40px;top:12px;left:12px}.mode-header{margin-top:52px}.mode-header h1{font-size:34px}.mode-header span{font-size:13px}.mode-card{grid-template-columns:44px minmax(0,1fr);gap:12px;min-height:92px;padding:14px}.mode-icon{width:44px;height:44px}.mode-card strong{font-size:22px}.launcher-card{gap:10px;min-height:136px;padding:18px}.launcher-card svg{width:28px;height:28px}.launcher-card strong{font-size:30px}.launcher-card span{font-size:13px;line-height:1.38}.settings-grid,.new-user-row,.user-row,.usage-summary{grid-template-columns:1fr}}.record-toggle{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.record-toggle input{width:16px;height:16px}.subtitle-screen .subtitle-stage{text-align:center;flex-direction:column;flex:1;justify-content:center;gap:14px;padding:24px 20px;display:flex}.subtitle-jumbo{color:var(--ink);margin:0;font-size:clamp(28px,7vw,56px);font-weight:680;line-height:1.2}.byok-block{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);gap:12px;margin-top:16px;padding:16px;display:grid}.byok-status{gap:4px;display:grid}.byok-status strong{color:var(--ink);font-size:14px}.byok-status span{color:var(--muted);font-size:13px}.byok-keystatus{border-radius:var(--radius);border:1px solid var(--line);align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.byok-keystatus.ready{border-color:var(--green);background:#2e7d3214}.byok-keystatus>svg{color:var(--green);flex:none;margin-top:1px}.byok-keystatus.missing>svg{color:var(--muted)}.byok-keystatus-text{gap:3px;min-width:0;display:grid}.byok-keystatus-text strong{color:var(--ink);font-size:14px}.byok-keystatus-text span{color:var(--muted);font-size:13px;line-height:1.4}.settings-stack{gap:18px;display:grid}.settings-grid.single-column{grid-template-columns:1fr}.field-heading{color:var(--ink);justify-content:space-between;align-items:center;gap:8px;font-size:13px;font-weight:560;display:flex}.text-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:var(--radius);padding:4px 10px;font-size:12px;font-weight:560}.text-button:disabled{color:var(--muted);cursor:not-allowed}.inline-actions{flex-wrap:wrap;gap:8px;display:flex}.field-hint{color:var(--muted);margin:0;font-size:12px}.strip-field{gap:4px;min-width:0;display:grid}.strip-field>span{color:var(--muted);padding-left:2px;font-size:11px}.strip-field select{width:100%}.strip-arrow{color:var(--muted);place-self:center;font-size:18px;font-weight:700}.language-strip>.icon-button{align-self:center}.demo-banner{border-color:var(--amber);background:#ffa72624}.subtitle-direction{color:var(--muted);margin-bottom:10px;font-size:13px;font-weight:560;display:inline-block}.rotor{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;container-type:size}.rotor-content{text-align:center;align-content:center;justify-items:center;gap:12px;width:min(820px,100%);display:grid}@keyframes rec-pulse{0%{box-shadow:0 0 #ff5f458c}70%{box-shadow:0 0 0 7px #ff5f4500}to{box-shadow:0 0 #ff5f4500}}@media (prefers-reduced-motion:reduce){.rec-dot{animation:none}}.live-bar{border:1px solid var(--line);border-radius:var(--radius);width:100%;min-height:48px;box-shadow:var(--shadow);background:#fffaf2f0;align-items:center;gap:8px;padding:6px 8px;display:flex}.live-back{flex:none;width:40px;height:40px}.live-langpill{border:1px solid var(--line);border-radius:var(--radius);min-width:0;min-height:40px;color:var(--accent-ink);white-space:nowrap;background:#fffefa;flex:auto;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-weight:620;display:inline-flex;overflow:hidden}.live-langtext{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.live-arrow{color:var(--orange);font-weight:700}.live-meter{border-radius:var(--radius);border:1px solid color-mix(in oklab, var(--coral) 40%, var(--line) 60%);background:#ff5f4514;flex:none;align-items:center;gap:7px;min-height:40px;padding:0 12px;display:inline-flex}.rec-dot{background:var(--coral);border-radius:50%;width:10px;height:10px;animation:1.4s ease-out infinite rec-pulse;box-shadow:0 0 #ff5f458c}.live-clock{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;letter-spacing:.5px;color:var(--accent-ink);text-align:center;min-width:52px;font-size:17px;font-weight:720}.live-meter.warn{border-color:var(--red);background:#be123c1a}.live-meter.warn .live-clock{color:var(--red)}.live-meter.warn .rec-dot{background:var(--red)}.live-demo-tag{color:var(--amber);border:1px solid var(--amber);background:#ffa72624;border-radius:6px;padding:2px 6px;font-size:11px;font-weight:650}.live-cta{flex:none}.live-bar .live-cta{min-height:40px;padding:0 14px}.conversation-screen:not(.subtitle-screen):not(.lecture-screen) .conversation-panels{min-height:calc(100svh - 72px)}.lecture-headline{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.lecture-headline .mobile-language-trigger{width:auto;min-width:0;box-shadow:none;flex:1;display:inline-flex}.session-timer{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:38px;color:var(--accent-ink);font-variant-numeric:tabular-nums;flex:none;align-items:center;gap:5px;padding:0 10px;font-size:14px;font-weight:680;display:inline-flex}.session-timer svg{color:var(--orange)}.session-timer.warn{color:var(--red);background:#fff1f2;border-color:#be123c66}.session-timer.warn svg{color:var(--red)}.lecture-stage{flex-direction:column;flex:1;gap:12px;min-height:calc(100svh - 150px);padding:14px;display:flex;position:relative;overflow:hidden}.stage-toolbar{flex:none;justify-content:space-between;align-items:center;gap:8px;display:flex}.stage-toggle{border-radius:var(--radius);color:#fff;background:#ffffff29;border:1px solid #ffffff47;align-items:center;gap:6px;min-height:38px;padding:0 12px;font-size:13px;font-weight:620;display:inline-flex}.stage-toggle[aria-pressed=true]{color:var(--accent-ink);background:#fff}.stage-stop{min-height:38px}.lecture-caption{color:#fffef8;text-shadow:0 2px 12px #4b1d0752;overflow-wrap:anywhere;font-size:clamp(30px,7.4vw,64px);font-weight:780;line-height:1.1}.lecture-caption-source{color:#ffffffb8;font-size:clamp(15px,3.6vw,26px);line-height:1.28}.lecture-stage:not(.rotated) .lecture-feed{flex:none;max-height:30vh;overflow:hidden}.lecture-stage.rotated .lecture-feed{display:none}.lecture-stage.rotated .rotor-content{transform-origin:50%;flex-direction:column;justify-content:center;align-items:center;gap:14px;width:100cqh;height:100cqw;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}.lecture-stage.rotated .lecture-caption{font-size:clamp(40px,11cqh,110px);line-height:1.08}.lecture-stage.rotated .lecture-caption-source{font-size:clamp(18px,4.4cqh,40px)}@supports not (width:1cqw){.lecture-stage.rotated .rotor-content{width:calc(100svh - 200px);height:calc(100vw - 28px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}.lecture-stage.rotated .lecture-caption{font-size:clamp(40px,8vh,110px)}.lecture-stage.rotated .lecture-caption-source{font-size:clamp(18px,3.4vh,40px)}}.subtitle-screen .subtitle-stage{color:#fff;min-height:calc(100svh - 150px);box-shadow:var(--shadow);background:linear-gradient(#ff8a2a,#f97316 54%,#b84a16);border-radius:8px;flex:1;justify-content:center;align-items:center;padding:12px;display:flex;position:relative;overflow:hidden}.subtitle-rotor-content{transform-origin:50%;gap:10px;transform:rotate(-90deg)}@media (orientation:portrait){.subtitle-rotor .subtitle-rotor-content{width:calc(100svh - 174px);max-width:92vh}}.subtitle-jumbo{color:#fffef8;text-shadow:0 2px 12px #4b1d0757;margin:0;font-size:clamp(34px,9vh,88px);font-weight:760;line-height:1.12}.subtitle-jumbo-source{color:#ffffffbd;margin:0;font-size:clamp(16px,3.4vh,30px)}.subtitle-stage .subtitle-direction{color:#fffc;margin:0}.subtitle-history{opacity:.62;gap:4px;margin-top:10px;display:grid}.subtitle-history p{color:#ffffffc7;margin:0;font-size:clamp(13px,2.2vh,20px)}.subtitle-stage-controls{z-index:5;align-items:center;gap:8px;display:flex;position:absolute;top:8px;right:8px}.subtitle-timer{color:#ffffffeb;font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#2b1b1252;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:13px;font-weight:620;display:inline-flex}.subtitle-fs-toggle{border-radius:var(--radius);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#2b1b1252;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.subtitle-fs-toggle:hover{background:#2b1b1275}:is(.subtitle-stage:fullscreen,.subtitle-stage.is-fullscreen){border-radius:0;width:100vw;height:100vh;min-height:0;padding:0}:is(.subtitle-stage:fullscreen .subtitle-rotor-content,.subtitle-stage.is-fullscreen .subtitle-rotor-content){width:100vh;max-width:none}:is(.subtitle-stage:fullscreen .subtitle-jumbo,.subtitle-stage.is-fullscreen .subtitle-jumbo){font-size:clamp(40px,11vh,130px)}:is(.subtitle-stage:fullscreen .subtitle-timer,.subtitle-stage.is-fullscreen .subtitle-timer){opacity:.18;transition:opacity .25s}:is(.subtitle-stage:fullscreen:hover .subtitle-timer,.subtitle-stage.is-fullscreen:hover .subtitle-timer){opacity:.9}:is(.subtitle-stage:fullscreen .subtitle-fs-toggle,.subtitle-stage.is-fullscreen .subtitle-fs-toggle){opacity:.32;transition:opacity .25s}:is(.subtitle-stage:fullscreen:hover .subtitle-fs-toggle,.subtitle-stage.is-fullscreen:hover .subtitle-fs-toggle){opacity:1}.subtitle-fs-active .conversation-header,.subtitle-fs-active .start-band,.subtitle-fs-active .notice,.subtitle-fs-active .demo-banner{display:none}.subtitle-fs-active.conversation-screen{gap:0;max-width:none;padding:0}@media (orientation:landscape){.subtitle-rotor .subtitle-rotor-content{width:min(960px,96%);transform:none}.subtitle-jumbo{font-size:clamp(40px,12vh,120px)}.lecture-stage.rotated .rotor-content{width:min(960px,96%);height:auto;position:static;top:auto;left:auto;transform:none}.lecture-stage.rotated .lecture-caption{font-size:clamp(40px,12vh,120px)}.lecture-stage.rotated .lecture-feed{display:none}}@media (width<=980px){.live-bar{gap:6px;min-height:44px;padding:5px 7px}.live-back{width:38px;height:38px}.live-langpill{gap:6px;min-height:38px;padding:0 10px}.live-meter{gap:6px;padding:0 10px}.live-clock{min-width:48px;font-size:16px}.live-bar .live-cta{min-height:38px;padding:0 12px}.live-bar:has(.live-meter) .live-langpill{flex:0 auto;max-width:42vw}.conversation-screen:not(.subtitle-screen):not(.lecture-screen) .conversation-panels{min-height:calc(100svh - 68px)}.lecture-stage{min-height:calc(100svh - 116px);padding:10px}.lecture-stage.rotated{min-height:calc(100svh - 104px);padding:6px}}@media (width<=420px){.live-bar:has(.live-meter) .live-cta span{display:none}.live-bar:has(.live-meter) .live-cta{width:40px;padding:0}.live-bar:has(.live-meter) .live-langtext{display:none}.live-bar:has(.live-meter) .live-langpill{flex:none;max-width:none}}@media (width>=981px){.live-bar{gap:10px;min-height:50px;padding:7px 10px}.live-clock{font-size:18px}}@supports not selector(:has(*)){.live-langpill{flex:0 auto}.live-meter{flex:1 0 auto;justify-content:center}}
