


:root {
  --v7-primary: #FFD21F; --v7-on-primary: #141414; --v7-ink: #141414;
  --v7-r1: 8px; --v7-r2: 12px; --v7-pill: 999px;
  --v7-e1: 0 1px 2px rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15);
  --v7-dur1: 150ms; --v7-dur2: 250ms; --v7-ease: cubic-bezier(.2, 0, 0, 1);
  --v7-status-h: 28px;
  --v7-font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --v7-mono: "Cascadia Mono", "JetBrains Mono", "Consolas", ui-monospace, monospace;
  --font: var(--v7-font); --font-display: var(--v7-font); --mono: var(--v7-mono);
  --radius: 12px; --radius-sm: 8px;
  --grad: var(--v7-primary); --pill: var(--v7-primary); --pill-shadow: none;
  --lift: none; --pop: none; --glow: none;
}
html[data-theme="light"] {
  --bg: #FFFFFF; --bg-2: #F8F9FA;
  --panel: #FFFFFF; --panel-solid: #FFFFFF; --panel-2: #F8F9FA;
  --line: #DADCE0; --line-2: #C4C7C5; --edge: #DADCE0; --edge-2: #BDC1C6; --outline: #202124;
  --text: #1F1F1F; --text-2: #474B50; --text-3: #5F6368; 
  --hover: rgba(60, 64, 67, .06); --active: rgba(60, 64, 67, .1);
  --accent: #1A73E8; --accent-2: #1967D2;
  --v7-sel: #E8F0FE; --v7-sel-t: #1967D2; --v7-ok: #188038; --v7-warn: #B06000; --v7-err: #C5221F;
  --v7-add: #E6F4EA; --v7-add-t: #0D652D; --v7-del: #FCE8E6; --v7-del-t: #A50E0E;
  --v7-surface-2: #F8F9FA; --v7-surface-3: #F1F3F4; --v7-scrim: rgba(32, 33, 36, .32);
  --grad-soft: #F8F9FA;
  --shadow: var(--v7-e1);
  --ok: #188038; --warn: #B06000; --bad: #C5221F;
}
html[data-theme="dark"] {
  --bg: #1F1F1F; --bg-2: #28292A;
  --panel: #1F1F1F; --panel-solid: #1F1F1F; --panel-2: #28292A;
  --line: #3C4043; --line-2: #5F6368; --edge: #3C4043; --edge-2: #5F6368; --outline: #E8EAED;
  --text: #ECEDEF; --text-2: #C4C7CA; --text-3: #A3A8AE; 
  --hover: rgba(232, 234, 237, .07); --active: rgba(232, 234, 237, .12);
  --accent: #8AB4F8; --accent-2: #8AB4F8;
  --v7-sel: rgba(138, 180, 248, .16); --v7-sel-t: #8AB4F8; --v7-ok: #81C995; --v7-warn: #FDD663; --v7-err: #F28B82;
  --v7-add: rgba(129, 201, 149, .14); --v7-add-t: #81C995; --v7-del: rgba(242, 139, 130, .14); --v7-del-t: #F28B82;
  --v7-surface-2: #28292A; --v7-surface-3: #303134; --v7-scrim: rgba(0, 0, 0, .5);
  --grad-soft: #28292A;
  --v7-e1: 0 1px 3px rgba(0, 0, 0, .5), 0 4px 8px 3px rgba(0, 0, 0, .3);
  --shadow: var(--v7-e1);
  --ok: #81C995; --warn: #FDD663; --bad: #F28B82;
}


html body { background: var(--bg); font: 400 14px/22px var(--v7-font); letter-spacing: 0; padding-bottom: var(--v7-status-h); box-sizing: border-box; }
html body b, html body strong, html body h1, html body h2, html body h3, html body h4 { font-weight: 600; font-family: var(--v7-font); }
html body h1, html body h2, html body h3, html .sentence-big, html .pop-word { font-family: var(--v7-font); letter-spacing: -.01em; }
html ::selection { background: rgba(26, 115, 232, .22); }
html :focus-visible { outline: 2px solid var(--v7-primary); outline-offset: 2px; box-shadow: 0 0 0 4px var(--v7-ink); border-radius: var(--v7-r1); }
html[data-theme="dark"] :focus-visible { box-shadow: none; }
html kbd { font: 500 12px/17px var(--v7-mono); padding: 1px 6px; border-radius: 4px ; border: 1px solid var(--line); border-bottom-width: 1px; background: transparent; color: var(--text-2); }
html .muted { color: var(--text-2); }
html ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px ; border: 3px solid transparent; background-clip: padding-box; }
@media (prefers-reduced-motion: reduce) { html * { animation-duration: 0ms !important; transition-duration: 0ms !important; } }
html.lite * { backdrop-filter: none !important; }


html body .btn-grad, html body .rec-btn, html body .icon-btn.big {
  background: var(--v7-primary); color: var(--v7-on-primary) !important; border: 1px solid var(--v7-ink); box-shadow: none; font-weight: 600; letter-spacing: 0;
  transition: filter var(--v7-dur1) var(--v7-ease), transform var(--v7-dur1) var(--v7-ease); filter: none;
}
html body .btn-grad:hover, html body .rec-btn:hover { filter: brightness(.97); }
html body .btn-grad:active, html body .rec-btn:active { transform: scale(.98); box-shadow: none; }
html body .btn-grad { border-radius: var(--v7-pill); }
html body .btn-grad.sm { border-radius: var(--v7-r1); }
html body .btn { border: 1px solid var(--line); border-radius: var(--v7-r1); background: transparent; color: var(--text); font-weight: 500; box-shadow: none; }
html body .btn:hover { border-color: var(--line); background: var(--hover); }
html body .btn.danger { color: var(--v7-err); }
html body .round-btn { background: transparent; border: 1px solid var(--line); color: var(--text); box-shadow: none; filter: none; }
html body .round-btn:hover { background: var(--hover); filter: none; }
html body .round-btn:active { transform: scale(.96); }
html body .icon-btn { border-radius: var(--v7-r1); }
html body .icon-btn.on { background: var(--v7-sel); color: var(--v7-sel-t); }
html body .chip { border: 1px solid var(--line); border-radius: var(--v7-r1); background: transparent; color: var(--text); font-weight: 500; box-shadow: none; }
html body .chip:hover { background: var(--hover); border-color: var(--line); color: var(--text); }
html body .chip.on, html body .chip.sm.on, html body .chip.active { background: var(--v7-sel); color: var(--v7-sel-t); border-color: transparent; box-shadow: none; }
html body .pill { background: var(--v7-surface-3); color: var(--text-2); font-weight: 500; }
html body .pill.ghost { background: transparent; }


html body .seg { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 ; padding: 0; gap: 18px; box-shadow: none; }
html body .seg button { padding: 8px 2px 9px; border-radius: 0 ; background: transparent; color: var(--text-2); font-weight: 500; box-shadow: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
html body .seg button:hover { color: var(--text); background: transparent; }
html body .seg button.on { background: transparent; color: var(--v7-sel-t); border-bottom-color: var(--accent); box-shadow: none; }
html body .seg.small button { padding: 6px 2px 7px; }
html body .tabs { gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--line); background: transparent; }
html body .tabs button { flex: none; padding: 13px 2px 11px; border-radius: 0 ; color: var(--text-2); background: transparent; font-weight: 500; border-bottom: 2px solid transparent; box-shadow: none; }
html body .tabs button:hover { background: transparent; color: var(--text); }
html body .tabs button.on { background: transparent; color: var(--text); border-bottom-color: var(--accent); box-shadow: none; }
html body .mode-tabs { background: transparent; border: 0; box-shadow: none; padding: 0; gap: 18px; }
html body .mode-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0 ; padding: 6px 2px 8px; color: var(--text-2); font-weight: 500; box-shadow: none; }
html body .mode-tabs button:hover { background: transparent; color: var(--text); }
html body .mode-tabs button.on { background: transparent; color: var(--text); border-bottom-color: var(--text); box-shadow: none; }
html body .mode-tabs button i { display: none; }


html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), html body select, html body textarea { border-radius: var(--v7-r1); }
html body .switch span { box-shadow: none; }


html body .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--v7-r2); box-shadow: none; backdrop-filter: none; }
html body .toasts { bottom: calc(var(--v7-status-h) + 16px); }
html body .toast { background: #303134; color: #E8EAED; border: 0; border-radius: var(--v7-r1); box-shadow: var(--v7-e1); font-weight: 400; padding: 10px 16px; }
html body .toast b { color: #fff; }
html body .toast a, html body .toast button { color: #8AB4F8; }
html body .toast.err { border: 0; } html body .toast.ok { border: 0; }


html body .modal-back { background: var(--v7-scrim); backdrop-filter: none; }
html body .modal { border: 1px solid var(--line); border-radius: var(--v7-r2); box-shadow: var(--v7-e1); background: var(--panel-solid); }
html body .modal-h { padding: 14px 16px 12px 20px; border-bottom: 1px solid var(--line); }
html body .modal-h h2 { font: 600 16px/21px var(--v7-font); }
html body .modal-f { border-top: 1px solid var(--line); }
html body #settingsModal, html body #statsModal, html body #teamModal, html body #vocabModal {
  top: 0; bottom: var(--v7-status-h); right: 0; left: auto; transform: none; height: auto; max-height: none;
  width: min(560px, 100vw); border-radius: 0 ; border: 0; border-left: 1px solid var(--line); animation: v7-sheet var(--v7-dur2) var(--v7-ease);
}
html body #vocabModal { width: min(860px, 100vw); }
html body #teamModal { width: min(720px, 100vw); }
html body #settingsModal.leaving, html body #statsModal.leaving, html body #teamModal.leaving, html body #vocabModal.leaving { animation: v7-sheet-out 160ms var(--v7-ease) forwards; }
@keyframes v7-sheet { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes v7-sheet-out { to { transform: translateX(32px); opacity: 0; } }


html body .titlebar { background: var(--bg); border-bottom: 1px solid var(--line); backdrop-filter: none; gap: 12px; }
html body .cmdk-btn { height: 40px; min-width: min(460px, 36vw); border-radius: var(--v7-r1); border: 1px solid var(--line); background: var(--v7-surface-2); color: var(--text-2); font-weight: 400; box-shadow: none; justify-content: flex-start; padding: 0 10px; gap: 10px; }
html body .cmdk-btn:hover { background: var(--v7-surface-3); border-color: var(--line); }
html body .cmdk-btn kbd { margin-left: auto; }
html body .hud, html body .quickprefs { border: 1px solid var(--line); border-radius: var(--v7-r1); background: transparent; box-shadow: none; }
html body .qp-btn, html body .nav-btn { border-radius: var(--v7-r1); }
html body .nav-btn .badge { background: var(--v7-sel-t); color: #fff; box-shadow: none; font-weight: 600; }
body.v7-in-study .titlebar .hud, body.v7-in-study .titlebar .brand-text { display: none; }
.titlebar .lesson-bar { flex: 0 1 auto; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
body:not(.v7-in-study) .titlebar .lesson-bar { display: none; }
body.v7-in-study #study { padding-top: 12px; }
body.v7-in-study .titlebar .lesson-xp, body.v7-in-study .titlebar .combo { display: none; }
html body .unit-progress { background: transparent; border: 1px solid var(--line); height: 32px; }
html body .unit-progress .ub-count { background: transparent; }
html body .ub-seg { border-radius: 2px ; }


.v7-status { position: fixed; left: 0; right: 0; bottom: 0; height: var(--v7-status-h); z-index: 60; display: flex; align-items: center; gap: 14px; padding: 0 14px;
  border-top: 1px solid var(--line); background: var(--v7-surface-2); color: var(--text-2); font: 400 12px/12px var(--v7-mono); white-space: nowrap; overflow: hidden; user-select: none; }
.v7-status > * { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.v7-status .st-sp { flex: 1; }
.v7-status .st-main { color: var(--text); }
.v7-status i { font-style: normal; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); display: inline-block; }
.v7-status i.ok { background: var(--v7-ok); } .v7-status i.warn { background: var(--v7-warn); } .v7-status i.err { background: var(--v7-err); } .v7-status i.live { background: var(--v7-err); animation: v7-blink 1s steps(2) infinite; }
@keyframes v7-blink { 50% { opacity: .25; } }
.v7-status button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 0 2px; border-radius: 4px ; }
.v7-status button:hover { color: var(--text); }
.v7-status button:focus-visible { outline: 2px solid var(--v7-primary); }
.v7-status .st-msg { color: var(--text); max-width: 40vw; overflow: hidden; text-overflow: ellipsis; transition: opacity var(--v7-dur2); }
.v7-status .st-msg:empty { display: none; }
.v7-status .st-bar { letter-spacing: -1px; color: var(--text); }
body.cinema-on .v7-status, body.focus-mode .v7-status, html.v7-cine .v7-status { display: none; }
@media (max-width: 900px) { .v7-status .st-wide { display: none; } }


html body #practice { border-radius: var(--v7-r2); }
html body .sentence-big { font-weight: 500; }
html body .sentence-big .w.now { color: inherit; }
html body .kara-pill { background: transparent; box-shadow: inset 0 -3px 0 var(--v7-primary) !important; border-radius: 0 ; }
html body .sentence-tr { color: var(--text-2); font-weight: 400; }
html body .turn { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0 ; box-shadow: none; }
html body .turn .turn-fill { background: var(--v7-surface-3); }
html body .coach-steps li { background: transparent; box-shadow: none; }
html body .rec-btn .dot { box-shadow: none; }
html body .rec-btn.recording { background: var(--v7-del); color: var(--v7-err) !important; border-color: var(--v7-err); }
html body .tools-row .tool { border: 0; background: transparent; color: var(--text-2); border-radius: var(--v7-r1); box-shadow: none; font-weight: 500; }
html body .tools-row .tool:hover { background: var(--hover); color: var(--text); }
html body .tools-row .tool.on, html body .tool.on { background: var(--v7-sel); color: var(--v7-sel-t); }
html body .tools-more { border: 1px solid var(--line); border-radius: var(--v7-r2); box-shadow: var(--v7-e1); background: var(--panel-solid); }
html body .score { background: var(--v7-surface-2); border: 0; border-radius: var(--v7-r1); box-shadow: none; }
html body .golden { background: var(--v7-surface-3); color: var(--text); box-shadow: none; }
html body .right.card { border-radius: var(--v7-r2); }
html body #transcript .line { border-radius: 0 ; border: 0; border-left: 2px solid transparent; }
html body #transcript .line.cur { background: var(--v7-sel); border-color: transparent; border-left-color: var(--accent); box-shadow: none; color: var(--text); }
html[data-theme="dark"] body #transcript .line.cur { color: var(--text); }
html body .player-wrap { border-radius: var(--v7-r2); box-shadow: none; }
html body .tr-speak { border-color: var(--line); }
html body .tr-speak.dub { background: var(--v7-sel); color: var(--v7-sel-t); border-color: transparent; }
html body .tr-speak.dub::after { background: var(--v7-sel-t); }


html body .tu-trace > summary .tu-think-t { font: 500 12px var(--v7-mono); color: var(--text-2); background: none; animation: none; -webkit-text-fill-color: currentColor; }
html body .tu-trace ol { border-left: 0; margin: 6px 0 8px 2px; padding-left: 0; }
html body .tu-trace li { font: 400 12px/21px var(--v7-mono); color: var(--text-2); padding-left: 18px; }
html body .tu-trace li::before { content: "⏺"; left: 0; top: 0; width: auto; height: auto; border: 0; border-radius: 0 ; background: none; color: var(--text-3); font-size: 12px; line-height: inherit; }
html body .tu-trace.done li::before { color: var(--v7-ok); background: none; }
html body .tu-trace li.warn::before { color: var(--v7-warn); background: none; }
html body .tu-trace li b { min-width: 0; margin-right: 8px; color: var(--text); font-weight: 500; }
html body .tu-trace li b::after { content: ""; }
.v7-diff { margin: 8px 0 12px; border: 1px solid var(--line); border-radius: var(--v7-r1); overflow: hidden; font: 400 12px/19px var(--v7-mono); }
.v7-diff div { padding: 3px 10px; white-space: pre-wrap; word-break: break-word; }
.v7-diff .del { background: var(--v7-del); color: var(--v7-del-t); }
.v7-diff .add { background: var(--v7-add); color: var(--v7-add-t); }
.v7-diff .why { color: var(--text-2); border-bottom: 1px solid var(--line); }
.v7-diff .why:last-child { border-bottom: 0; }
html body .tu-verity { font: 400 12px var(--v7-mono); color: var(--v7-warn); background: none; border: 0; padding: 4px 0; }
html body .tu-verity::before { content: "⏺ "; }
html body .tu-follow .chip { color: var(--v7-sel-t); }
html body .tu-follow .chip.v7-cmd { font-family: var(--v7-mono); font-size: 12px; }
html body #chat .msg.user { background: var(--v7-surface-3); color: var(--text); border: 0; border-radius: var(--v7-r2); box-shadow: none; }
html body #chat .msg.ai { background: transparent; border: 0; box-shadow: none; }
html body .ai-pick, html body #providerChips .prov { border-radius: var(--v7-r1); box-shadow: none; }
html body #chatForm textarea, html body #chatText { border-radius: var(--v7-r2); }

html body.v7 .ag-bar { display: none; }
.v7-agsel { position: relative; display: inline-flex; align-items: center; }
.v7-agsel > button { height: 32px; padding: 0 10px; border-radius: var(--v7-r1); border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 12px var(--v7-font); display: inline-flex; align-items: center; gap: 6px; }
.v7-agsel > button:hover { background: var(--hover); }
.v7-agsel > button .ag-logo, .v7-agsel > button .logo-dot { width: 18px !important; height: 18px !important; }
.v7-agmenu { position: fixed; z-index: 1000; width: 320px; max-height: 70vh; overflow: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line); border-radius: var(--v7-r2); background: var(--panel-solid); box-shadow: var(--v7-e1); }
.v7-agmenu h5 { margin: 10px 10px 4px; font: 600 12px var(--v7-font); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.v7-agmenu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border-radius: var(--v7-r1); text-align: left; color: var(--text); }
.v7-agmenu button:hover, .v7-agmenu button.on { background: var(--v7-sel); }
.v7-agmenu button small { display: block; color: var(--text-2); font-size: 12px; }
.v7-agmenu button .ag-logo { width: 32px !important; height: 32px !important; }

.v7-slash { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 90; padding: 6px; border: 1px solid var(--line); border-radius: var(--v7-r2); background: var(--panel-solid); box-shadow: var(--v7-e1); font-size: 14px; }
.v7-slash button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 7px 10px; border-radius: var(--v7-r1); color: var(--text); text-align: left; }
.v7-slash button b { font: 500 12px var(--v7-mono); color: var(--v7-sel-t); }
.v7-slash button span { color: var(--text-2); }
.v7-slash button.on, .v7-slash button:hover { background: var(--v7-sel); }


html body #home { background: var(--bg); }
html body .hero-logo { display: none; }
html body .hero h1 { font: 600 28px/35px var(--v7-font); letter-spacing: -.02em; }
html body .hero h1 em { background: none; color: inherit; font-style: normal; }
html body .hero h1 em::after, html body .hero h1 em::before { display: none; }
html body #greetSub { display: none; }
html body .omni, html body .hero-url { border-radius: 10px ; border: 1px solid var(--line); box-shadow: 0 1px 6px rgba(32, 33, 36, .18); background: var(--panel-solid); }
html[data-theme="dark"] body .omni, html[data-theme="dark"] body .hero-url { box-shadow: none; background: var(--v7-surface-3); border-color: var(--v7-surface-3); }
html body .omni:focus-within, html body .hero-url:focus-within { box-shadow: 0 1px 6px rgba(32, 33, 36, .28); border-color: transparent; }
html body .hm-sugg .hm-chip, html body .hm-chip { border: 1px solid var(--line); border-radius: var(--v7-r1); background: transparent; box-shadow: none; font-weight: 500; }
html body .hm-chip:hover { background: var(--hover); }
html body .tu-hub, html body .hm-side .tu-hub { border: 1px solid var(--line); border-radius: var(--v7-r2); box-shadow: none; background: var(--panel-solid); }
html body .vcard, html body .recent .rcard { border-radius: var(--v7-r2); box-shadow: none; }
html body .cefr button.on, html body .discover-chips .chip.on { background: var(--v7-sel); color: var(--v7-sel-t); border-color: transparent; }


body.v7-in-study .confetti, body.v7-in-study .badge-pop, body.v7-in-study .xp-float { display: none !important; }
html body .combo { background: transparent; border: 1px solid var(--line); color: var(--text-2); box-shadow: none; }


html body .ag-logo.sm { width: 22px; height: 22px; } html body .ag-logo.xs { width: 20px; height: 20px; }


html body .mode-tabs.has-ind > .tab-ind, html body .tabs.has-ind > .tab-ind, html body .seg.has-ind > .tab-ind { background: transparent; border: 0; border-bottom: 2px solid var(--text); border-radius: 0 ; box-shadow: none; }
html body #rightTabs.has-ind > .tab-ind { border-bottom-color: var(--v7-sel-t, var(--text)); }

.titlebar .lesson-bar, .titlebar .lesson-bar * { white-space: nowrap; }
.titlebar .lesson-bar button { height: 32px; }
html body.v7-in-study .titlebar .lesson-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
html body.v7-in-study .titlebar .lesson-bar .lb-sp { display: none; }
html body.v7-in-study .titlebar .cmdk-btn { flex: 0 1 300px; width: auto; min-width: 34px; margin-left: auto; }
@media (max-width: 1280px) { html body.v7-in-study .titlebar .cmdk-btn .cmdk-t, html body.v7-in-study .titlebar .cmdk-btn kbd { display: none; } html body.v7-in-study .titlebar .cmdk-btn { flex: 0 0 34px; padding: 0; justify-content: center; } }
@media (max-width: 1100px) { html body.v7-in-study .titlebar .lesson-bar #panelBtn span, html body.v7-in-study .titlebar .lesson-bar .chip > span[data-i18n] { display: none; } }

html body .has-ind > button.on, html body .has-ind > button.on:hover { color: var(--text) !important; }
html body #rightTabs.has-ind > button.on { color: var(--v7-sel-t, var(--text)) !important; }
html body .seg.has-ind > button.on { color: var(--text) !important; }

html body .turn { background: var(--v7-surface-2, var(--panel-2)) !important; border: 0 !important; border-radius: 6px ; color: var(--text-2); }
html body .turn #turnText { color: var(--text); font-weight: 500; }
html body .turn .turn-fill { background: var(--v7-sel, rgba(26,115,232,.12)); }
html body .turn #turnText, html body .turn .coach-steps li { color: var(--text) !important; }
html body .turn .coach-steps li:not(.on):not(.done) { color: var(--text-2) !important; }



@font-face { font-family: "Nunito"; font-style: normal; font-weight: 100 1000; font-display: block; src: url("/src/fonts/InterVariable.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 100 1000; font-display: block; src: url("/src/fonts/InterVariable-Italic.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 100 1000; font-display: block; src: url("/src/fonts/InterVariable.woff2") format("woff2"); }
:root { --v7-font: "Google Sans Flex", "Google Sans Text", "Google Sans", "Inter", "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Microsoft YaHei UI", system-ui, sans-serif; font-feature-settings: "cv11", "ss01", "cv05"; font-optical-sizing: auto; } 
html body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html body { --t-xs: 11.5px; --t-sm: 12.5px; --t-md: 14px; --t-lg: 16px; --t-xl: 20px; --t-2xl: 28px; --t-3xl: 36px; }
html body small, html body .small { font-size: var(--t-sm); }
html body h1 { font-size: var(--t-2xl); line-height: 1.25; } html body h2 { font-size: var(--t-xl); line-height: 1.3; } html body h3 { font-size: var(--t-lg); line-height: 1.35; }
html body .sentence-big, html body #bigSentence { font-weight: 500; letter-spacing: -.012em; }
html body #bigTranslation { font-weight: 400; color: var(--text-2); }
html body .tabular, html body .v7-status, html body .hud, html body .lesson-xp, html body .unit-progress { font-variant-numeric: tabular-nums; }


html body svg.ic { stroke-width: 1.75; }
html body svg.ic.emo { width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .38em; stroke-width: 1.85; display: inline-block; }
html body button > svg.ic.emo:only-child, html body .chip > svg.ic.emo:only-child { margin-right: 0; }
html body :is(button, .chip, .tool, [role="tab"], [role="menuitem"]) > svg.ic.emo { width: 20px; height: 20px; vertical-align: -4px; }
html body .t-ok { color: var(--v7-ok); } html body .t-warn { color: var(--v7-warn); } html body .t-err { color: var(--v7-err); }
html body .t-gold { color: #E3A008; } html body .t-hot { color: #E8710A; }
html[data-theme="dark"] body .t-gold { color: #FDD663; } html[data-theme="dark"] body .t-hot { color: #FCAD70; }
html body .toast svg.ic.emo { width: 20px; height: 20px; vertical-align: -4px; }

html body .v7-rows { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
html body .v7-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 36px; }
html body .v7-row > span:first-child { width: 112px; flex: none; color: var(--text-2); font-size: var(--t-sm); }
html body .v7-row input[type="range"] { width: 160px; accent-color: var(--accent); }
html body .v7-row .btn { display: inline-flex; align-items: center; gap: 6px; }

html body #helpModal.g7-modal { width: min(900px, 95vw); }
html body .g7 { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 460px; max-height: min(70vh, 620px); }
html body .g7-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line); overflow: auto; }
html body .g7-nav button { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border: 0; border-radius: var(--v7-pill); background: transparent; color: var(--text); font: 500 var(--t-md) var(--v7-font); text-align: left; cursor: pointer; }
html body .g7-nav button:hover { background: var(--hover); }
html body .g7-nav button.on { background: var(--v7-sel); color: var(--v7-sel-t); }
html body .g7-nav button .ic { width: 20px; height: 20px; flex: none; }
html body .g7-main { padding: 20px 28px 28px; overflow: auto; }
html body .g7-title { margin: 0 0 14px; font: 600 var(--t-xl) var(--v7-font); }
html body .g7-h { margin: 22px 0 8px; font: 600 var(--t-sm) var(--v7-font); color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
html body .g7-list { border: 1px solid var(--line); border-radius: var(--v7-r2); overflow: hidden; }
html body .g7-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
html body .g7-row + .g7-row { border-top: 1px solid var(--line); }
html body .g7-i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--v7-surface-3); color: var(--text-2); }
html body .g7-i .ic { width: 20px; height: 20px; }
html body .g7-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body .g7-t b { font-weight: 500; font-size: var(--t-md); }
html body .g7-t small { color: var(--text-2); font-size: var(--t-sm); line-height: 1.5; }
html body .g7-row kbd { flex: none; }
html body .g7-steps { list-style: none; margin: 0; padding: 0; counter-reset: g7; display: flex; flex-direction: column; gap: 4px; }
html body .g7-steps li { counter-increment: g7; display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 10px 0; }
html body .g7-steps li::before { content: counter(g7); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--v7-primary); color: var(--v7-on-primary); font: 600 14px var(--v7-font); }
html body .g7-steps li b { font-weight: 600; }
html body .g7-steps li span { color: var(--text-2); font-size: var(--t-sm); }
html body .g7-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
html body .g7-keys > div { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
@media (max-width: 760px) { html body .g7 { grid-template-columns: 1fr; } html body .g7-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } html body .g7-nav button span { white-space: nowrap; } }
html body .field.v7-wide { grid-template-columns: 1fr; }
html body .field.v7-wide > label { font-weight: 500; }
html body .g7-modal .modal-b { padding: 0; }
html body svg.ic.emo.mid { margin: 0 .2em; }

html body #layoutBtn.on, html body .lesson-bar .chip.on, html body .vs-len button.on, html body [role="radio"].on:not(.btn-grad), html body [aria-pressed="true"].chip { background: var(--v7-sel) !important; color: var(--v7-sel-t) !important; border-color: transparent !important; }


:root { --gm-1: #4285F4; --gm-2: #9B72CB; --gm-3: #D96570; --gm-grad: linear-gradient(90deg, var(--gm-1), var(--gm-2) 55%, var(--gm-3)); }

html body #practice .turn { display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; height: auto !important; min-height: 0; width: min(560px, 100%); margin: 6px auto 0 !important; padding: 8px 0 10px !important; background: transparent !important; border: 0 !important; border-radius: 0 ; overflow: visible; position: relative; }
html body #practice .turn > .turn-fill { position: absolute; left: 0; right: 0; top: auto !important; bottom: 0; height: 2px; width: 100% !important; border-radius: 2px ; background: var(--gm-grad) !important; opacity: .9; transform-origin: 0 50%; grid-row: auto; grid-column: auto; }
html body #practice .turn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px ; background: var(--line); z-index: -1; }
html body #practice .coach-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
html body #practice .coach-steps li { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; border: 0 !important; background: transparent !important; color: var(--text-3) !important; font: 500 12px var(--v7-font); transform: none !important; box-shadow: none; }
html body #practice .coach-steps li + li::before { content: ''; width: 36px; height: 1px; margin: 0 10px; background: var(--line); }
html body #practice .coach-steps li b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line) !important; background: transparent !important; color: var(--text-2) !important; font: 600 12px var(--v7-font); transition: background-color var(--v7-dur2) var(--v7-ease), color var(--v7-dur2) var(--v7-ease); }
html body #practice .coach-steps li.on { color: var(--text) !important; font-weight: 600; }
html body #practice .coach-steps li.on b { border-color: transparent !important; background: var(--gm-grad) !important; color: #fff !important; }
html body #practice .coach-steps li.done b { border-color: transparent !important; background: var(--v7-add) !important; color: var(--v7-add-t) !important; }
html body #practice .coach-steps li.done + li::before { background: var(--v7-add-t); opacity: .5; }
html body #practice .turn #turnText { font: 500 14px/20px var(--v7-font); color: var(--text-2) !important; text-align: center; }
html body #practice .turn .coach-speed { position: absolute; right: 0; top: 6px; height: 26px; padding: 0 10px; border-radius: var(--v7-pill); border: 1px solid var(--line); background: transparent; color: var(--text-2); font: 500 12px var(--v7-mono); }
html body #practice .turn .coach-speed:empty { display: none; }


html body #practice .main-row { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 0 30px; margin: 0; }
html body #practice .main-row .round-btn { position: relative; width: 48px; height: 48px; padding: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel); color: var(--text); box-shadow: none; transition: background-color var(--v7-dur1) var(--v7-ease), border-color var(--v7-dur1) var(--v7-ease); }
html body #practice .main-row .round-btn:hover { background: var(--hover); border-color: var(--line-2); }
html body #practice .main-row .round-btn .ic { width: 20px; height: 20px; fill: currentColor; stroke: none; }
html body #practice .main-row .round-btn .rb-lbl { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 12px var(--v7-font); color: var(--text-2); pointer-events: none; }
html body #practice .main-row .round-btn[hidden] { display: none; }


html body #practice .main-row .rec-btn { position: relative; isolation: isolate; overflow: hidden; height: 56px; min-width: 196px; padding: 0 28px; border: 0 !important; border-radius: var(--v7-pill); background: transparent !important; color: var(--v7-on-primary) !important; font: 600 16px var(--v7-font); letter-spacing: .01em; justify-content: center; gap: 10px; box-shadow: none; --rb-fill: var(--v7-primary); }
html body #practice .main-row .rec-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--rb-fill); z-index: -1; transition: inset var(--v7-dur2) var(--v7-ease), background-color var(--v7-dur2) var(--v7-ease); }
html body #practice .main-row .rec-btn::before { content: ''; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; background: conic-gradient(from 0deg, var(--gm-1), var(--gm-2), var(--gm-3), #F4B400, var(--gm-1)); z-index: -2; opacity: 0; transition: opacity var(--v7-dur2) var(--v7-ease); }
html body #practice .main-row .rec-btn :is(.dot, span) { position: relative; }
html body #practice .main-row .rec-btn .dot { width: 12px; height: 12px; border: 0; background: #EA4335; box-shadow: none; }

html body #practice .main-row .rec-btn:is(.listening, .recording)::before { opacity: 1; animation: gm-spin 2.6s linear infinite; }
html body #practice .main-row .rec-btn:is(.listening, .recording)::after { inset: 2.5px; }
html body #practice .main-row .rec-btn.listening { --rb-fill: var(--panel); color: var(--text) !important; }
html body #practice .main-row .rec-btn.listening .dot { background: var(--gm-1); animation: gm-breathe 1.2s ease-in-out infinite; }
html body #practice .main-row .rec-btn.recording { --rb-fill: var(--panel); color: var(--v7-err) !important; }
html body #practice .main-row .rec-btn.recording .dot { background: #EA4335; animation: gm-breathe .9s ease-in-out infinite; }
html body #practice .main-row .rec-btn:hover { filter: none; }
html body #practice .main-row .rec-btn:hover::after { background: color-mix(in srgb, var(--rb-fill) 92%, #000); }

html body #practice .main-row .rec-btn.recording { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gm-2) 14%, transparent), 0 6px 22px -6px color-mix(in srgb, var(--gm-1) 55%, transparent); transition: box-shadow var(--v7-dur2) var(--v7-ease); }
@keyframes gm-spin { to { transform: rotate(1turn); } }
@keyframes gm-breathe { 50% { transform: scale(.7); opacity: .6; } }
html.lite body #practice .main-row .rec-btn::before { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html body #practice .main-row .rec-btn::before, html body #practice .main-row .rec-btn .dot { animation: none !important; } }


html body #chatForm { position: relative; isolation: isolate; }
html body #chatForm.v7-thinking::before { content: none; }
@keyframes gm-slide { to { background-position: -200% 0; } }
html.lite body #chatForm.v7-thinking::before { animation: none; }
html body #practice .coach-steps li span { display: inline !important; position: static; opacity: 1; font: inherit; }
html body #practice .main-row .round-btn .ic { fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }


html body #practice .main-row .round-btn { color: var(--text) !important; }
html body #practice .main-row .round-btn:disabled { color: var(--text-3) !important; }
html body .mode-tabs button small, html body .mode-tabs button.on small { color: var(--text-2) !important; }
html body .mode-tabs button.on b, html body .mode-tabs button.on { color: var(--text) !important; }
html body .pill, html body #sentIdx { color: var(--text-2) !important; background: var(--v7-surface-3) !important; border-color: transparent !important; }
html[data-theme="dark"] body .badge, html[data-theme="dark"] body #dueBadge { background: #8AB4F8; color: #062E6F !important; }
html body kbd { color: var(--text-2); }

html body #practice .turn { width: 100%; max-width: none; }
html body #practice .turn > .turn-fill, html body #practice .turn::after { left: calc(50% - min(280px, 50%)); right: calc(50% - min(280px, 50%)); }
html body #practice .turn .coach-speed { right: 0; top: 4px; }

html body #practice .dictation { width: min(760px, 100%); margin-inline: auto; }
html body #practice .dict-slots, html body #practice .dict-tools { justify-content: center; }
html body #practice .dict-field { align-items: center; }
html body #practice #dictInput { border-width: 1px !important; border-color: var(--line-2) !important; border-radius: var(--v7-r2) !important; box-shadow: none !important; }
html body #practice #dictInput:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent) !important; outline: 0; }
html body #practice .dict-play { border-radius: 50% !important; }

html body .yt-sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; padding: 8px 0; border-radius: var(--v7-r2); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--v7-e1); }
html body .yt-sug button { display: flex; align-items: center; gap: 14px; width: 100%; height: 40px; padding: 0 20px; border: 0; background: transparent; color: var(--text); font: 500 14px var(--v7-font); text-align: left; cursor: pointer; }
html body .yt-sug button .ic { width: 20px; height: 20px; color: var(--text-3); flex: none; }
html body .yt-sug button:hover, html body .yt-sug button.on { background: var(--hover); }
html body .vthumb .vcc { position: absolute; left: 8px; bottom: 8px; padding: 1px 5px; border-radius: 4px ; background: rgba(0, 0, 0, .78); color: #fff; font: 600 12px var(--v7-font); letter-spacing: .04em; }
html body #heroInput:focus, html body #heroInput:focus-visible { outline: none !important; box-shadow: none !important; border-color: transparent !important; }


html body .gem { --gs: 36px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--gs); height: var(--gs); border-radius: 30%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--g1) 13%, var(--panel)), color-mix(in srgb, var(--g2) 17%, var(--panel)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g2) 18%, transparent); }
html body .gem > i { width: 56%; height: 56%; background: linear-gradient(135deg, var(--g1), var(--g2)); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
html[data-theme="dark"] body .gem { background: linear-gradient(135deg, color-mix(in srgb, var(--g1) 20%, #1F1F1F), color-mix(in srgb, var(--g2) 26%, #1F1F1F)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g2) 30%, transparent); }
html[data-theme="dark"] body .gem > i { background: linear-gradient(135deg, color-mix(in srgb, var(--g1) 70%, #fff), color-mix(in srgb, var(--g2) 70%, #fff)); }
html body .gem.sm { --gs: 28px; } html body .gem.lg { --gs: 44px; }

html body #dataCentre .dc-row.gemrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--v7-r2); border: 1px solid var(--line); background: var(--panel); transition: border-color var(--v7-dur1) var(--v7-ease), background-color var(--v7-dur1) var(--v7-ease); }
html body #dataCentre .dc-row:hover { border-color: var(--line-2); background: var(--v7-surface-2); }
html body #dataCentre .dc-row .dc-ic { width: 40px; height: 40px; display: grid; place-items: center; background: none !important; border: 0 !important; font-size: 0; }
html body #dataCentre .dc-row .dc-ic .gem { --gs: 38px; }
html body #dataCentre .dc-row > .btn, html body #dataCentre .dc-row .dc-acts .btn { min-width: 96px; justify-content: center; }
html body #dataCentre .dc-row.danger { border-color: color-mix(in srgb, var(--v7-err) 35%, var(--line)); }


:root { --tu-mark-bg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22tuG%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23FFC53D%22%2F%3E%3Cstop%20offset%3D%22.52%22%20stop-color%3D%22%23FF7A3D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23B44CF0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%2248%22%20height%3D%2248%22%20rx%3D%2213.4%22%20fill%3D%22url%28%23tuG%29%22%2F%3E%3Cg%20class%3D%22tu-orb%22%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2224.5%22%20rx%3D%2215.5%22%20ry%3D%227.2%22%20transform%3D%22rotate%28-24%2024%2024.5%29%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.6%22%20stroke-width%3D%221.9%22%2F%3E%3Ccircle%20class%3D%22tu-spark%22%20cx%3D%2234.8%22%20cy%3D%2215.75%22%20r%3D%222.7%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3Cpath%20class%3D%22tu-t%22%20d%3D%22M15.6%2016.4h16.8M24%2016.4v16.2%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%224.6%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E"); }
html body .logo-dot.tu-logo { background: transparent !important; border-radius: 28%; overflow: visible; }
html body .logo-dot.tu-logo .tu-mark, html body .tu-mini .tu-mark, html body .tu-mark.tu-v2 { width: 100%; height: 100%; display: block; filter: none !important; }
html body .tu-mark .tu-orb { transform-box: view-box; transform-origin: 24px 24.5px; }
html body .tu-busy .tu-orb, html body .tu-busy.tu-mark .tu-orb { animation: tu-orbit 2.2s linear infinite; }
html body .tu-busy .tu-spark { animation: none !important; }
@keyframes tu-orbit { to { transform: rotate(1turn); } }
html.lite body .tu-busy .tu-orb { animation: none; }
@media (prefers-reduced-motion: reduce) { html body .tu-busy .tu-orb { animation: none; } }
html body #chat .msg.ai.tu-ans::before { background: var(--tu-mark-bg) center / contain no-repeat !important; border-radius: 28% !important; filter: none !important; }

html body .tu-hero { display: flex; flex-direction: column; gap: 14px; padding: 18px 4px 8px; }
html body .tu-hi { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
html body .tu-hi-g { font: 600 28px/32px var(--v7-font); letter-spacing: -.02em; background: linear-gradient(90deg, #4285F4, #9B72CB 45%, #D96570 80%); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
html body .tu-hi-s { font: 500 20px/26px var(--v7-font); color: var(--text-3); letter-spacing: -.01em; }
html body .tu-sugs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html body .tu-sug { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; border-radius: 10px ; border: 1px solid var(--line); background: var(--v7-surface-2); color: var(--text); text-align: left; cursor: pointer; transition: background-color var(--v7-dur1) var(--v7-ease), border-color var(--v7-dur1) var(--v7-ease), transform var(--v7-dur1) var(--v7-ease); }
html body .tu-sug:hover { background: var(--v7-surface-3); border-color: var(--line-2); transform: translateY(-1px); }
html body .tu-sug > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .tu-sug b { font: 500 14px/18px var(--v7-font); }
html body .tu-sug small { font: 500 12px var(--v7-mono); color: var(--text-3); }
html body .tu-sug .gem { --gs: 34px; }
html body .tu-hero .ag-mission { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 10px ; border: 1px solid color-mix(in srgb, #F9AB00 35%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, #F9AB00 7%, var(--panel)), color-mix(in srgb, #E8710A 9%, var(--panel))); text-align: left; color: var(--text); }
html body .tu-hero .ag-mission > span:not(.gem) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .tu-hero .ag-mission b { font: 600 14px var(--v7-font); } html body .tu-hero .ag-mission small { color: var(--text-2); font-size: var(--t-sm); line-height: 1.45; }
html body .tu-hero .ag-sec { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; font: 600 var(--t-xs) var(--v7-font); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
html body .tu-hero .ag-more { display: inline-flex; align-items: center; gap: 2px; border: 0; background: transparent; color: var(--accent); font: 500 12px var(--v7-font); text-transform: none; letter-spacing: 0; cursor: pointer; }
html body .tu-hero .ag-more .ic { width: 16px; height: 16px; }
html body .ag-row { display: flex; flex-wrap: wrap; gap: 6px; }
html body .ag-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 4px; border-radius: var(--v7-pill); border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 500 14px var(--v7-font); cursor: pointer; transition: background-color var(--v7-dur1) var(--v7-ease), border-color var(--v7-dur1) var(--v7-ease); }
html body .ag-pill:hover { background: var(--v7-surface-2); border-color: var(--line-2); }
html body .ag-pill .ag-logo { width: 32px !important; height: 32px !important; }
html body .tu-hero .ag-flow { justify-content: center; margin-top: 4px; }


html body #chatForm.chat-input { margin: 8px 10px 4px; padding: 6px 6px 6px 6px; gap: 4px; align-items: flex-end; border: 1px solid var(--line); border-radius: 10px ; background: var(--v7-surface-2); border-top: 1px solid var(--line); transition: border-color var(--v7-dur1) var(--v7-ease); }
html body #chatForm.chat-input:focus-within { border-color: transparent; }
html body #chatForm.chat-input:focus-within::before { content: ''; position: absolute; inset: -1.5px; border-radius: 10px ; background: linear-gradient(90deg, #4285F4, #9B72CB, #D96570); z-index: -1; }
html body #chatForm.chat-input:focus-within::after { content: ''; position: absolute; inset: 0; border-radius: 10px ; background: var(--v7-surface-2); z-index: -1; }
html body #chatForm #chatText { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; padding: 9px 6px; min-height: 40px; font: 400 14px/20px var(--v7-font); color: var(--text); }
html body #chatForm #chatText:focus-visible { outline: 0 !important; box-shadow: none !important; }
html body #chatForm #chatMic { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--text-2); }
html body #chatForm #chatMic:hover { background: var(--hover); color: var(--text); }
html body #chatForm button[type="submit"] { width: 40px; height: 40px; min-width: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
html body #chatForm button[type="submit"] .ic { width: 20px; height: 20px; }
html body #chatForm.v7-thinking::before { border-radius: 10px ; inset: -1.5px; }

html body .dub-wrap { position: relative; z-index: 30; display: inline-flex; align-items: stretch; height: 34px; margin-right: 6px; border-radius: var(--v7-pill); border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
html body .dub-wrap.on { border-color: transparent; }
html body .dub-wrap.on::before { content: ''; position: absolute; inset: -1.5px; border-radius: var(--v7-pill); background: linear-gradient(90deg, #4285F4, #9B72CB, #D96570); z-index: -2; }
html body .dub-wrap.on::after { content: ''; position: absolute; inset: 0; border-radius: var(--v7-pill); background: linear-gradient(90deg, color-mix(in srgb, #4285F4 9%, var(--panel)), color-mix(in srgb, #D96570 9%, var(--panel))); z-index: -1; }
html body .dub-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0 8px 0 12px; border: 0; background: transparent; color: var(--text-2); font: 500 14px var(--v7-font); cursor: pointer; border-radius: var(--v7-pill) 0 0 var(--v7-pill); }
html body .dub-btn .ic { width: 16px; height: 16px; }
html body .dub-btn .db-l { padding: 1px 6px; border-radius: 6px ; background: var(--v7-surface-3); color: var(--text-2); font: 600 12px var(--v7-mono); letter-spacing: .04em; }
html body .dub-btn.on { color: var(--text); }
html body .dub-btn.on .ic { color: #9B72CB; }
html body .dub-btn.on .db-l { background: linear-gradient(90deg, #4285F4, #9B72CB); color: #fff; }
html body .dub-btn .db-eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
html body .dub-btn.on.talking .db-eq { display: inline-flex; }
html body .dub-btn .db-eq i { width: 2.5px; height: 100%; border-radius: 2px ; background: linear-gradient(#9B72CB, #4285F4); transform-origin: bottom; animation: db-eq 0.9s ease-in-out infinite; }
html body .dub-btn .db-eq i:nth-child(2) { animation-delay: -.3s; } html body .dub-btn .db-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes db-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
html.lite body .dub-btn .db-eq i { animation: none; transform: scaleY(.7); }
html body .dub-more { width: 30px; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--text-2); cursor: pointer; border-radius: 0 var(--v7-pill) var(--v7-pill) 0; }
html body .dub-more .ic { width: 16px; height: 16px; }
html body .dub-btn:hover, html body .dub-more:hover { background: var(--hover); }
html body .dub-menu { position: fixed; z-index: 1000; width: 270px; padding: 8px; border-radius: 10px ; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--v7-e1); }
html body .dub-menu h6 { margin: 8px 8px 4px; font: 600 12px var(--v7-font); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
html body .dub-menu > button { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 10px ; background: transparent; color: var(--text); text-align: left; font: 500 14px var(--v7-font); cursor: pointer; }
html body .dub-menu > button:hover { background: var(--hover); }
html body .dub-menu > button .ic, html body .dub-menu .dm-sp { width: 20px; height: 20px; flex: none; color: var(--accent); display: inline-block; }
html body .dub-menu > button span { display: flex; flex-direction: column; gap: 1px; }
html body .dub-menu > button small { color: var(--text-3); font-size: 12px; font-weight: 400; }
html body .dub-menu .dm-langs { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 8px 6px; }
html body .dub-menu .dm-langs button { height: 32px; padding: 0 12px; border-radius: var(--v7-pill); border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 12px var(--v7-font); cursor: pointer; }
html body .dub-menu .dm-langs button.on { background: var(--v7-sel); color: var(--v7-sel-t); border-color: transparent; }

html body #practice .main-row #replayBtn .ic { fill: none !important; stroke: currentColor; stroke-width: 2; }

html body #practice .mode-guide { justify-content: center; align-items: center; gap: 6px 18px; margin: -14px auto 8px; padding: 0; color: var(--text-2); font: 500 12px var(--v7-font); }
html body #practice .mode-guide b { width: 20px; height: 20px; border: 1px solid var(--line) !important; background: transparent !important; color: var(--text-2) !important; font: 600 12px var(--v7-font); }
html body #practice .mode-guide button, html body #practice .mode-guide .chip { height: 32px; padding: 0 10px; border-radius: var(--v7-pill); font: 500 12px var(--v7-font); }



:root { --i-play: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23000%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%204.5v15l12.5-7.5z%22%2F%3E%3C%2Fsvg%3E"); --i-mic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%229%22%20y%3D%222.5%22%20width%3D%226%22%20height%3D%2211.5%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M19%2011a7%207%200%200%201-14%200%22%2F%3E%3Cpath%20d%3D%22M12%2018v3.5M8.5%2021.5h7%22%2F%3E%3C%2Fsvg%3E"); --i-head: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%2017v-5a8.5%208.5%200%200%201%2017%200v5%22%2F%3E%3Cpath%20d%3D%22M20.5%2018a2.5%202.5%200%200%201-2.5%202.5h-1v-6h3.5zM3.5%2018A2.5%202.5%200%200%200%206%2020.5h1v-6H3.5z%22%2F%3E%3C%2Fsvg%3E"); --i-ear: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6.5%208.5a5.5%205.5%200%200%201%2011%200c0%203.5-3.5%204.5-3.5%207.5a3.5%203.5%200%200%201-6.3%202.1%22%2F%3E%3Cpath%20d%3D%22M9.5%209a2.5%202.5%200%200%201%205%200c0%201.3-1.3%201.7-1.3%203%22%2F%3E%3C%2Fsvg%3E"); }
html body #practice .main-row { gap: 26px; padding: 18px 0 34px; }
html body #practice .main-row .round-btn { width: 56px; height: 56px; border: 0 !important; background: var(--v7-surface-3) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent); }
html body #practice .main-row .round-btn:hover { background: color-mix(in srgb, var(--accent) 12%, var(--v7-surface-3)) !important; color: var(--accent) !important; }
html body #practice .main-row .round-btn:active { transform: scale(.94); }
html body #practice .main-row .round-btn .ic { width: 24px; height: 24px; shape-rendering: geometricPrecision; }
html body #practice .main-row .round-btn .rb-lbl { top: calc(100% + 8px); font: 500 12px var(--v7-font); letter-spacing: .01em; }
html body #practice .main-row .rec-btn { height: 56px; min-width: 210px; padding: 0 30px; gap: 12px; font: 600 16px var(--v7-font); letter-spacing: .04em; }
html body #practice .main-row .rec-btn .dot { width: 22px !important; height: 22px !important; border-radius: 0 !important; background: currentColor !important; -webkit-mask: var(--i-mic) center / contain no-repeat; mask: var(--i-mic) center / contain no-repeat; animation: none; }
html body[data-mode="free"] #practice .main-row .rec-btn .dot { -webkit-mask-image: var(--i-play); mask-image: var(--i-play); width: 20px !important; height: 20px !important; }
html body[data-mode="shadow"] #practice .main-row .rec-btn .dot { -webkit-mask-image: var(--i-head); mask-image: var(--i-head); }
html body[data-mode="dictation"] #practice .main-row .rec-btn .dot { -webkit-mask-image: var(--i-ear); mask-image: var(--i-ear); }
html body #practice .main-row .rec-btn.recording .dot { background: #EA4335 !important; -webkit-mask-image: var(--i-mic); mask-image: var(--i-mic); animation: gm-breathe .9s ease-in-out infinite; }
html body #practice .main-row .rec-btn.listening .dot { background: linear-gradient(135deg, #4285F4, #9B72CB) !important; -webkit-mask-image: var(--i-head); mask-image: var(--i-head); animation: gm-breathe 1.2s ease-in-out infinite; }
html body[data-mode="free"] #practice .main-row .rec-btn.playing .dot { -webkit-mask-image: none; mask-image: none; width: 16px !important; height: 18px !important; background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66%) !important; }

html body .v7-agmenu button { padding: 6px 8px; gap: 12px; }
html body .v7-agmenu button > span { min-width: 0; flex: 1; }
html body .v7-agmenu button b { display: block; font: 600 14px var(--v7-font); }
html body .v7-agmenu button small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .v7-agmenu button .ag-logo, html body .v7-agmenu button .logo-dot { width: 32px !important; height: 32px !important; flex: none; }
html body #practice .turn[hidden] { display: none !important; } 
html body #practice .mode-guide { margin: 2px auto 10px; }


html body .ag-logo.ag-v3 { position: relative; display: inline-grid !important; place-items: center; flex: none; border-radius: 28% !important; background: none !important; box-shadow: none !important; overflow: visible; color: #fff !important; }
html body .ag-logo.ag-v3::before { content: none !important; }
html body .ag-logo.ag-v3 > svg { width: 100% !important; height: 100% !important; display: block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); shape-rendering: geometricPrecision; }
html body .ag-logo.ag-v3 .ag-orb { opacity: 0; transform-origin: 24px 24px; transform-box: view-box; transition: opacity .25s ease; }
html body .ag-logo.ag-v3 .ag-gl [fill="currentColor"] { fill: #fff; }
html body .ag-pill:hover .ag-orb, html body .v7-agmenu button:hover .ag-orb, html body .ag-card:hover .ag-orb, html body .ag-logo.ag-v3:hover .ag-orb { opacity: .85; animation: ag-orbit 1.6s linear infinite; }
html body .ag-live .ag-orb, html body #chat .tu-trace:not(.done) ~ * .ag-orb, html body .ag-busy .ag-orb { opacity: .9; animation: ag-orbit 1.4s linear infinite; }
@keyframes ag-orbit { to { transform: rotate(1turn); } }
html.lite body .ag-logo.ag-v3 .ag-orb { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html body .ag-logo.ag-v3 .ag-orb { animation: none !important; } }

html body .ag-logo.ag-v4 .ag-orbit { transform-box: view-box; transform-origin: 24px 24px; transition: opacity .2s ease; }
html body .ag-logo.ag-v4.xs .ag-orbit { opacity: 0; }
html body .ag-pill:hover .ag-v4 .ag-orbit, html body .v7-agmenu button:hover .ag-v4 .ag-orbit, html body .ag-card:hover .ag-v4 .ag-orbit, html body .ag-logo.ag-v4:hover .ag-orbit, html body .ag-chip:hover .ag-v4 .ag-orbit { opacity: 1; animation: ag-orbit 2.2s linear infinite; }
html body .ag-live .ag-v4 .ag-orbit, html body .ag-live.ag-v4 .ag-orbit, html body #chat .tu-trace:not(.done) ~ * .ag-v4 .ag-orbit, html body .ag-busy .ag-v4 .ag-orbit, html body .ag-busy.ag-v4 .ag-orbit { opacity: 1; animation: ag-orbit 1.6s linear infinite; }
html.lite body .ag-logo.ag-v4 .ag-orbit { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html body .ag-logo.ag-v4 .ag-orbit { animation: none !important; } }


html body #chatForm.chat-input:focus-within::before, html body #chatForm.chat-input:focus-within::after { content: none !important; }
html body #chatForm.chat-input:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)) !important; box-shadow: 0 1px 6px rgba(32, 33, 36, .12); }
html[data-theme="dark"] body #chatForm.chat-input:focus-within { box-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
html body #chatForm.v7-thinking { border-color: var(--line) !important; }
html body #chat .msg.ai { position: relative; isolation: isolate; }
html body #chat .msg.ai.v7-live::after { content: ''; position: absolute; inset: -14px -10px; z-index: -1; border-radius: 10px ; pointer-events: none;
  background: radial-gradient(60% 70% at 15% 20%, rgba(66, 133, 244, .3), transparent 70%), radial-gradient(55% 65% at 85% 30%, rgba(155, 114, 203, .26), transparent 70%), radial-gradient(60% 70% at 50% 100%, rgba(217, 101, 112, .2), transparent 70%);
  filter: blur(14px); animation: gm-aurora 4.5s ease-in-out infinite alternate; }
html[data-theme="dark"] body #chat .msg.ai.v7-live::after { background: radial-gradient(60% 70% at 15% 20%, rgba(66, 133, 244, .3), transparent 70%), radial-gradient(55% 65% at 85% 30%, rgba(155, 114, 203, .28), transparent 70%), radial-gradient(60% 70% at 50% 100%, rgba(217, 101, 112, .2), transparent 70%); }
@keyframes gm-aurora { 0% { opacity: .55; transform: translate3d(-2%, 0, 0) scale(1); } 100% { opacity: 1; transform: translate3d(2%, -1%, 0) scale(1.03); } }
html.lite body #chat .msg.ai.v7-live::after { animation: none; filter: none; opacity: .6; }
@media (prefers-reduced-motion: reduce) { html body #chat .msg.ai.v7-live::after { animation: none; } }

html body .ag-hover { position: fixed; z-index: 1100; width: 280px; padding: 14px; border-radius: 10px ; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--v7-e1); color: var(--text); pointer-events: none; animation: agh-in .14s ease-out; }
@keyframes agh-in { from { opacity: 0; transform: translateY(4px); } }
html body .ag-hover .agh-top { display: flex; align-items: center; gap: 12px; }
html body .ag-hover .agh-top .ag-logo { width: 40px !important; height: 40px !important; }
html body .ag-hover .agh-top b { display: block; font: 600 14px var(--v7-font); } html body .ag-hover .agh-top b small { font: 500 12px var(--v7-mono); color: var(--text-3); }
html body .ag-hover .agh-top span { font-size: 12px; color: var(--text-2); }
html body .ag-hover p { margin: 10px 0 8px; font-size: 14px; line-height: 21px; color: var(--text); }
html body .ag-hover .agh-ex { padding: 8px 10px; border-radius: 10px ; background: var(--v7-surface-2); font-size: 12px; color: var(--text-2); line-height: 17px; }
html body .ag-hover .agh-ex span { display: block; margin-bottom: 2px; font: 600 12px var(--v7-font); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }

html body #bigTranslation.tr-dub { color: var(--text); }

html body .modal .seg:not(.has-ind), html body #settingsModal .seg, html body .v7-row .seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px ; border: 0 !important; background: var(--v7-surface-3) !important; box-shadow: none !important; max-width: 100%; }
html body #settingsModal .seg button, html body .v7-row .seg button, html body .modal .seg:not(.has-ind) button { height: 32px; padding: 0 14px; border-radius: var(--v7-pill) !important; border: 0 !important; border-bottom: 0 !important; background: transparent !important; color: var(--text-2) !important; font: 500 14px var(--v7-font) !important; white-space: nowrap; box-shadow: none !important; display: inline-flex; align-items: center; gap: 6px; }
html body #settingsModal .seg button:hover, html body .v7-row .seg button:hover { color: var(--text) !important; background: var(--hover) !important; }
html body #settingsModal .seg button.on, html body .v7-row .seg button.on, html body .modal .seg:not(.has-ind) button.on { background: var(--panel) !important; color: var(--v7-sel-t) !important; box-shadow: 0 1px 2px rgba(60, 64, 67, .25), 0 0 0 1px color-mix(in srgb, var(--v7-sel-t) 25%, transparent) !important; }
html[data-theme="dark"] body #settingsModal .seg button.on, html[data-theme="dark"] body .v7-row .seg button.on, html[data-theme="dark"] body .modal .seg:not(.has-ind) button.on { background: color-mix(in srgb, var(--v7-sel-t) 18%, #2D2E30) !important; color: #D2E3FC !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--v7-sel-t) 40%, transparent) !important; }
html body #settingsModal .seg button .ic { width: 16px; height: 16px; }
html body #settingsModal .seg + .tab-ind, html body #settingsModal .seg > .tab-ind { display: none !important; }
html body #settingsModal .field { grid-template-columns: 180px minmax(0, 1fr); }
html body #settingsModal .field > div, html body #settingsModal .field > .seg { min-width: 0; }


html body #settingsModal #setNav { display: flex !important; flex-wrap: wrap; gap: 4px 20px; padding: 0 !important; border-radius: 0 !important; background: transparent !important; border-bottom: 1px solid var(--line) !important; }
html body #settingsModal #setNav button { height: 40px; padding: 0 2px !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--text-2) !important; border-bottom: 2px solid transparent !important; }
html body #settingsModal #setNav button.on { color: var(--v7-sel-t) !important; border-bottom-color: var(--v7-sel-t) !important; background: transparent !important; box-shadow: none !important; }
html body #settingsModal .field.v7-wide { grid-template-columns: 1fr !important; }

html body .chat-foot .dict-lang { display: inline-flex; gap: 2px; padding: 2px !important; border: 0 !important; border-radius: 10px !important; background: var(--v7-surface-3) !important; box-shadow: none !important; }
html body .chat-foot .dict-lang button { height: 22px; padding: 0 9px !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; color: var(--text-2) !important; box-shadow: none !important; font: 600 12px var(--v7-font) !important; }
html body .chat-foot .dict-lang button.on { background: var(--panel) !important; color: var(--v7-sel-t) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--v7-sel-t) 30%, transparent) !important; }
html[data-theme="dark"] body .chat-foot .dict-lang button.on { background: color-mix(in srgb, var(--v7-sel-t) 18%, #2D2E30) !important; color: #D2E3FC !important; }
html body .chat-foot .dict-lang + .tab-ind, html body .chat-foot .dict-lang > .tab-ind { display: none !important; }


:root { --gp-tonal: #E9EEF6; --gp-tonal-h: #DDE3EA; --gp-surface: #F0F4F9; --gp-blue: #0B57D0; --gp-blue-t: #fff; --gp-hi: #146C2E; --gp-mid: #8C4A00; --gp-lo: #B3261E; --gp-hi-bg: #C4EED0; --gp-trk: #DDE3EA; --gp-out: #C4C7C5; }
html[data-theme="dark"] { --gp-tonal: #333537; --gp-tonal-h: #3C3E41; --gp-surface: #2A2B2E; --gp-blue: #A8C7FA; --gp-blue-t: #062E6F; --gp-hi: #6DD58C; --gp-mid: #FFB869; --gp-lo: #F2B8B5; --gp-hi-bg: #0F5223; --gp-trk: #37393B; --gp-out: #444746; }

html body #practice .main-row .round-btn { border: 0 !important; background: var(--gp-tonal) !important; color: var(--text) !important; }
html body #practice .main-row .round-btn:hover { background: var(--gp-tonal-h) !important; }
html body #practice .main-row .round-btn .rb-lbl { color: var(--text-2); font-weight: 500; }

html body #practice .main-row .rec-btn:not(.listening):not(.recording) { --rb-fill: linear-gradient(135deg, #0B57D0, #6A42C9); background: #0B57D0 linear-gradient(135deg, #0B57D0, #6A42C9) !important; color: #fff !important; box-shadow: 0 1px 2px rgba(11, 87, 208, .25), 0 6px 18px -8px rgba(106, 66, 201, .55); }
html[data-theme="dark"] body #practice .main-row .rec-btn:not(.listening):not(.recording) { --rb-fill: linear-gradient(135deg, #A8C7FA, #D3BBFF); background: #A8C7FA linear-gradient(135deg, #A8C7FA, #D3BBFF) !important; color: #062E6F !important; box-shadow: 0 6px 18px -10px rgba(168, 199, 250, .5); }
html body #practice .main-row .rec-btn:not(.listening):not(.recording):hover { filter: brightness(1.06); }
html body #practice .main-row .rec-btn:not(.listening):not(.recording):hover::after { background: var(--rb-fill); }

html body #practice .coach-steps li.on b { background: var(--gp-blue) !important; color: var(--gp-blue-t) !important; }
html body #practice .coach-steps li.done b { background: var(--gp-hi-bg) !important; color: var(--gp-hi) !important; }
html body #practice .coach-steps li.done + li::before { background: var(--gp-hi); opacity: .45; }

html body #practice .wave-row { gap: 10px; align-items: center; }
html body #practice .wave-row #wave { background: var(--gp-surface); border-radius: 10px ; border: 0; }
html body #practice .wave-row .chip { height: 40px; padding: 0 14px; border-radius: 10px !important; border: 1px solid var(--gp-out) !important; background: transparent !important; color: var(--text) !important; font: 500 14px var(--v7-font) !important; gap: 8px; }
html body #practice .wave-row .chip .ic { color: var(--gp-blue); }
html body #practice .wave-row .chip:hover:not(:disabled) { background: var(--gp-tonal) !important; }
html body #practice .wave-row .chip:disabled { opacity: .5; }

html body #bigSentence .w.hit { color: var(--gp-hi) !important; }
html body #bigSentence .w.near { color: var(--gp-mid) !important; text-decoration-color: color-mix(in srgb, var(--gp-mid) 60%, transparent); }
html body #bigSentence .w.miss { color: var(--gp-lo) !important; text-decoration: underline wavy color-mix(in srgb, var(--gp-lo) 55%, transparent); text-underline-offset: 5px; }

html body #scoreBox.score.sc-g { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 18px; padding: 14px 52px 14px 16px; margin-top: 14px; border: 0 !important; border-radius: 10px !important; background: var(--gp-surface) !important; color: var(--text) !important; box-shadow: none !important; }
html body #scoreBox.sc-g .sc-ring { position: relative; width: 56px; height: 56px; grid-row: span 2; display: grid; place-items: center; }
html body #scoreBox.sc-g .sc-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
html body #scoreBox.sc-g .sc-ring circle { fill: none; stroke-width: 4.5; stroke-linecap: round; }
html body #scoreBox.sc-g .sc-ring .trk { stroke: var(--gp-trk); }
html body #scoreBox.sc-g .sc-ring .val { stroke: var(--gp-lo); animation: sc-fill .7s cubic-bezier(.2, .7, .2, 1) both; }
html body #scoreBox.sc-g .sc-ring.mid .val { stroke: var(--gp-mid); }
html body #scoreBox.sc-g .sc-ring.hi .val { stroke: var(--gp-hi); }
html body #scoreBox.sc-g .sc-ring .num { position: relative; font: 600 20px/20px var(--v7-font) !important; color: var(--text) !important; grid-row: auto; }
@keyframes sc-fill { from { stroke-dasharray: 0 100; } }
html body #scoreBox.sc-g .msg b { font: 600 16px/21px var(--v7-font) !important; color: var(--text); margin-bottom: 2px; }
html body #scoreBox.sc-g .heard { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; font: 400 14px/20px var(--v7-font); color: var(--text-2) !important; opacity: 1; }
html body #scoreBox.sc-g .heard span { font-size: 12px; font-weight: 500; letter-spacing: .02em; }
html body #scoreBox.sc-g .heard q { color: var(--text); quotes: '“' '”'; }
html body #scoreBox.sc-g .chips { grid-column: 3; grid-row: 1 / span 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
html body #scoreBox.sc-g .chips .chip.sc-c { height: 40px; padding: 0 14px; gap: 6px; border-radius: 10px !important; border: 1px solid var(--gp-out) !important; background: transparent !important; color: var(--text) !important; font: 500 14px var(--v7-font) !important; box-shadow: none !important; }
html body #scoreBox.sc-g .chips .chip.sc-c:hover { background: var(--gp-tonal) !important; }
html body #scoreBox.sc-g .chips .chip.sc-c .ic { width: 16px; height: 16px; color: var(--gp-blue); }
html body #scoreBox.sc-g .chips .chip.sc-ai .ic { color: #9B72CB; }
html body #scoreBox.sc-g .chips .chip.sc-next { border-color: transparent !important; background: var(--gp-tonal) !important; }
html body #scoreBox.sc-g .chips .chip.sc-next.go { background: var(--gp-blue) !important; color: var(--gp-blue-t) !important; }
html body #scoreBox.sc-g .chips .chip.sc-next.go .ic { color: currentColor; }
html body #scoreBox.sc-g .sc-x { top: 50%; right: 12px; transform: translateY(-50%); width: 32px; height: 32px; color: var(--text-2); opacity: 1; }
html body #scoreBox.sc-g .sc-x .ic { width: 16px; height: 16px; }
html body #scoreBox.sc-g .sc-x:hover { background: var(--gp-tonal); }
html body #scoreBox.sc-g .ph-box, html body #scoreBox.sc-g .ph-wait { grid-column: 1 / -1; }
@media (max-width: 860px) { html body #scoreBox.score.sc-g { grid-template-columns: auto 1fr; } html body #scoreBox.sc-g .chips { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; } }
html.lite body #scoreBox.sc-g .sc-ring .val { animation: none; }

html body #scoreBox.score.note { border: 0 !important; border-radius: 10px !important; background: var(--gp-surface) !important; color: var(--text) !important; }


html body .dub-btn .db-m { display: none; align-items: center; color: var(--text-3); }
html body .dub-btn .db-m .ic { width: 16px; height: 16px; color: currentColor; }
html body .dub-btn.on.muted .db-m { display: inline-flex; }


:root { --fg-gold: #FFD21F; --fg-gold-2: #FFB627; --fg-ink: #141414; --fg-tonal: #F3EEE1; --fg-tonal-h: #EAE1C8; --fg-icon: #7A5300; --fg-ring: conic-gradient(from 0deg, #FFD21F, #FF9F1C, #F0645A, #FFB627, #FFD21F); }
html[data-theme="dark"] { --fg-tonal: #2E2C26; --fg-tonal-h: #3A372D; --fg-icon: #FFD21F; }
html body #practice .main-row { position: relative; isolation: isolate; }
html body #practice .main-row .round-btn { background: var(--fg-tonal) !important; color: var(--text) !important; box-shadow: none !important; transition: background-color .15s ease, transform .12s ease; }
html body #practice .main-row .round-btn:hover { background: var(--fg-tonal-h) !important; color: var(--text) !important; }
html body #practice .main-row .round-btn:active { transform: scale(.94); }

html body #practice .main-row .rec-btn:not(.listening):not(.recording),
html[data-theme="dark"] body #practice .main-row .rec-btn:not(.listening):not(.recording) {
  --rb-fill: linear-gradient(135deg, var(--fg-gold), var(--fg-gold-2));
  background: var(--fg-gold) linear-gradient(135deg, var(--fg-gold), var(--fg-gold-2)) !important; color: var(--fg-ink) !important;
  box-shadow: 0 1px 2px rgba(20, 20, 20, .14), 0 8px 22px -10px rgba(255, 166, 0, .75) !important;
}
html body #practice .main-row .rec-btn:not(.listening):not(.recording):hover { filter: brightness(1.04) saturate(1.05); }
html body #practice .main-row .rec-btn:active { transform: scale(.97); }

html body #practice .main-row .rec-btn::before { background: var(--fg-ring); }
html body #practice .main-row .rec-btn.recording::before { background: conic-gradient(from 0deg, #FF4D4D, #FF9F1C, #FFD21F, #3DDC84, #3AA0FF, #8E6BFF, #FF4D4D); }
html body #practice .main-row .rec-btn.listening .dot { background: linear-gradient(135deg, #FFB627, #F0645A) !important; }
html body #practice .main-row .rec-btn.recording { box-shadow: 0 0 0 6px color-mix(in srgb, #FFB627 18%, transparent), 0 8px 26px -8px rgba(255, 120, 60, .55) !important; }

html body #practice .coach-steps li.on b { background: var(--fg-gold) !important; color: var(--fg-ink) !important; }

html body #practice .wave-row .chip .ic, html body #scoreBox.sc-g .chips .chip.sc-c .ic { color: var(--fg-icon); }
html body #practice .wave-row .chip:hover:not(:disabled), html body #scoreBox.sc-g .chips .chip.sc-c:hover { background: var(--fg-tonal) !important; }
html body #scoreBox.sc-g .chips .chip.sc-next { background: var(--fg-tonal) !important; }
html body #scoreBox.sc-g .chips .chip.sc-next.go { background: var(--fg-gold) !important; color: var(--fg-ink) !important; }
html body #practice .wave-row #wave, html body #scoreBox.score.sc-g, html body #scoreBox.score.note { background: color-mix(in srgb, var(--fg-tonal) 70%, var(--panel)) !important; }


html body #practice .rec-aura { position: absolute; left: -48px; right: -48px; top: -26px; bottom: -34px; z-index: -1; pointer-events: none; overflow: hidden; border-radius: 10px ;
  opacity: 0; transform: scaleY(calc(.55 + var(--lvl, 0) * .9)); transform-origin: 50% 100%; transition: opacity .35s ease, transform .14s ease-out; contain: strict; }
html body #practice.rec-live .rec-aura { opacity: 1; }
html body #practice .rec-aura i { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; display: block;
  background: linear-gradient(90deg, #FF4D4D, #FF9F1C 16%, #FFD21F 33%, #3DDC84 50%, #3AA0FF 66%, #8E6BFF 83%, #FF4D4D) 0 0 / 50% 100% repeat-x;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23f)' d='M0 46 C25 26 75 26 100 46 S175 66 200 46 V100 H0Z'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23f)' d='M0 46 C25 26 75 26 100 46 S175 66 200 46 V100 H0Z'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
  filter: blur(14px); opacity: .42; will-change: transform; }
html body #practice .rec-aura i + i { height: 78%; opacity: .32; filter: blur(20px); background-position: 25% 0; }
html body #practice.rec-live .rec-aura i { animation: fg-wave 5.5s linear infinite; }
html body #practice.rec-live .rec-aura i + i { animation: fg-wave 8.5s linear infinite reverse; }
html[data-theme="dark"] body #practice .rec-aura i { opacity: .5; } html[data-theme="dark"] body #practice .rec-aura i + i { opacity: .38; }
@keyframes fg-wave { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
html body #practice:not(.rec-live) .rec-aura i { will-change: auto; }
html.lite body #practice .rec-aura i { animation: none !important; filter: blur(10px); }
html.lite body #practice .rec-aura { transition: opacity .2s; transform: none; }
@media (prefers-reduced-motion: reduce) { html body #practice .rec-aura i { animation: none !important; } html body #practice .rec-aura { transform: none; } }


html body .player-wrap .cine-btn { top: auto !important; bottom: 7px; right: 10px; width: 32px; height: 32px; border-radius: 6px ; }
html body .player-wrap.floating .cine-btn { top: auto !important; }


html body #bigSentence, html body #bigTranslation, html body #transcript .line .tx, html body #transcript .line .tr {
  font-family: var(--v7-font); font-synthesis: none; font-kerning: normal; font-optical-sizing: auto; text-rendering: optimizeLegibility;
  font-variant-ligatures: common-ligatures contextual; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html body #practice #bigSentence { font-weight: 500; letter-spacing: -.016em; line-height: 1.42; color: var(--text); }
html body #practice #bigTranslation { font-size: 16px; font-weight: 400; letter-spacing: -.003em; line-height: 24px; color: var(--text-2); }
html body #transcript .line .tx { font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: -.004em; }
html body #transcript .line.cur .tx, html body #transcript .line.on .tx { font-weight: 500; }
html body #transcript .line .tr { font-size: 14px; line-height: 21px; letter-spacing: 0; }
html body #bigSentence.swap, html body #bigTranslation.swap { animation-fill-mode: backwards !important; will-change: auto !important; }


html body .chat-foot .think-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px ; background: var(--v7-surface-3); margin-right: 8px; }
html body .chat-foot .think-seg button { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border: 0; border-radius: 6px ; background: transparent; color: var(--text-2); font: 500 12px var(--v7-font); cursor: pointer; }
html body .chat-foot .think-seg button .ic { width: 16px; height: 16px; }
html body .chat-foot .think-seg button:hover { color: var(--text); }
html body .chat-foot .think-seg button.on { background: var(--panel); color: var(--text); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 12%, transparent); }
html body .chat-foot .think-seg button[data-th="deep"].on { background: color-mix(in srgb, #FFD21F 26%, var(--panel)); color: var(--fg-ink, #141414); box-shadow: 0 0 0 1px color-mix(in srgb, #E0A800 55%, transparent); }
html[data-theme="dark"] body .chat-foot .think-seg button[data-th="deep"].on { background: color-mix(in srgb, #FFD21F 22%, #2D2E30); color: #FFE27A; }
html body .chat-foot .think-seg button[data-th="deep"].on .ic { color: #B07800; } html[data-theme="dark"] body .chat-foot .think-seg button[data-th="deep"].on .ic { color: #FFD21F; }
html body .tu-thought { margin: 4px 0 10px; }
html body .tu-thought > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 4px 10px; border-radius: 6px ; background: var(--v7-surface-3); color: var(--text-2); font: 500 12px var(--v7-font); }
html body .tu-thought > summary::-webkit-details-marker { display: none; }
html body .tu-thought > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
html body .tu-thought[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
html body .tu-thought .tt-s { font: 500 12px var(--v7-mono); opacity: .8; }
html body .tu-thought .tt-body { margin: 8px 0 0 4px; padding: 2px 0 2px 12px; border-left: 2px solid var(--line); color: var(--text-3); font: 400 14px/22px var(--v7-font); white-space: pre-wrap; max-height: 260px; overflow: auto; overscroll-behavior: contain; }
html body .tu-thought.skip > summary { opacity: .7; }
html body .chat-foot { flex-wrap: wrap; row-gap: 6px; }
html body .chat-foot .think-seg button, html body .chat-foot .tts-toggle { white-space: nowrap; }
html body .chat-foot .think-seg { flex: none; }


html body .side-grip { left: -6px; top: 0; bottom: 0; width: 12px; z-index: 8; outline: none; }
html body.lay-side-left .side-grip { left: auto; right: -6px; }
html body .side-grip::after { content: none !important; }
html body .side-grip .sg-line { position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px ; background: color-mix(in srgb, #FFD21F 85%, #E0A800); opacity: 0; transform: scaleY(.6); transition: opacity .16s ease, transform .22s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
html body .side-grip .sg-pill { position: absolute; left: 1px; top: 50%; width: 10px; height: 40px; margin-top: -18px; border-radius: 6px ; background: var(--panel); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 14%, transparent), 0 2px 8px rgba(0, 0, 0, .14); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; opacity: 0; transform: scale(.85); transition: opacity .16s ease, transform .2s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
html body .side-grip .sg-pill b { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
html body .side-grip .sg-tip { position: absolute; left: 18px; top: 50%; transform: translate(0, -50%) scale(.96); transform-origin: 0 50%; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 6px ; background: #202124; color: #fff; font: 500 12px var(--v7-font); white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); opacity: 0; pointer-events: none; transition: opacity .12s ease .3s, transform .12s ease .3s; }
html body.lay-side-left .side-grip .sg-tip { left: auto; right: 18px; transform-origin: 100% 50%; }
html body .side-grip .sg-w { font: 600 12px var(--v7-mono); padding: 1px 6px; border-radius: 6px ; background: rgba(255, 255, 255, .16); }
html[data-theme="dark"] body .side-grip .sg-tip { background: #E8EAED; color: #1F1F1F; } html[data-theme="dark"] body .side-grip .sg-w { background: rgba(0, 0, 0, .08); }
html body .side-grip.hot .sg-line, html body .side-grip:focus-visible .sg-line { opacity: 1; transform: none; }
html body .side-grip.hot .sg-pill, html body .side-grip:focus-visible .sg-pill { opacity: 1; transform: none; }
html body .side-grip.hot .sg-tip, html body .side-grip:focus-visible .sg-tip { opacity: 1; transform: translate(0, -50%); }
html body .side-grip.drag .sg-tip { transition-delay: 0s; } html body .side-grip.drag .sg-h { display: none; }
html body .side-grip.drag .sg-pill { background: #FFD21F; box-shadow: 0 0 0 1px #E0A800, 0 4px 14px rgba(224, 168, 0, .35); } html body .side-grip.drag .sg-pill b { background: #141414; }
html body .side-grip.snap .sg-line { background: var(--v7-sel-t, #1A73E8); }
html body #study .right:hover > .side-grip:not(.hot) .sg-line { opacity: .35; transform: scaleY(.25); } 
html.lite body .side-grip *, html.lite body .side-grip { transition: none !important; }


html body #practice .turn > .turn-fill, html body #practice .turn::after { left: 50% !important; right: auto !important; width: min(560px, 100%) !important; margin-left: calc(min(560px, 100%) / -2) !important; border-radius: 2px ; }
html body #practice .turn::after { content: ''; position: absolute; bottom: 0; height: 2px; background: color-mix(in srgb, var(--text) 8%, transparent); z-index: 0; }
html body #practice .turn > .turn-fill { z-index: 1; }


html body [data-body="ai"] { position: relative; isolation: isolate; }
html body [data-body="ai"] > .ai-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 320px; z-index: -1; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .6s ease;
  -webkit-mask-image: linear-gradient(to top, #000 18%, rgba(0, 0, 0, .55) 55%, transparent); mask-image: linear-gradient(to top, #000 18%, rgba(0, 0, 0, .55) 55%, transparent); contain: strict; }
html body [data-body="ai"].ai-live > .ai-glow { opacity: 1; }
html body [data-body="ai"] > .ai-glow i { position: absolute; bottom: -40px; width: 80%; height: 210px; border-radius: 50%; filter: blur(34px); opacity: .78; will-change: transform; }
html body [data-body="ai"] > .ai-glow i:nth-child(1) { left: -15%; background: radial-gradient(closest-side, #4285F4, rgba(66, 133, 244, 0) 72%), radial-gradient(closest-side at 80% 40%, #A142F4, transparent 70%); }
html body [data-body="ai"] > .ai-glow i:nth-child(2) { left: 25%; background: radial-gradient(closest-side, #EA4335, rgba(234, 67, 53, 0) 72%), radial-gradient(closest-side at 25% 60%, #FBBC04, transparent 70%); opacity: .66; }
html body [data-body="ai"] > .ai-glow i:nth-child(3) { left: 55%; background: radial-gradient(closest-side, #34A853, rgba(52, 168, 83, 0) 72%), radial-gradient(closest-side at 30% 35%, #4285F4, transparent 70%); opacity: .7; }
html body [data-body="ai"].ai-live > .ai-glow i:nth-child(1) { animation: ai-drift-a 6s ease-in-out infinite alternate; }
html body [data-body="ai"].ai-live > .ai-glow i:nth-child(2) { animation: ai-drift-b 7.5s ease-in-out infinite alternate; }
html body [data-body="ai"].ai-live > .ai-glow i:nth-child(3) { animation: ai-drift-c 5.2s ease-in-out infinite alternate; }
@keyframes ai-drift-a { from { transform: translate3d(-6%, 12px, 0) scale(1); } to { transform: translate3d(14%, -18px, 0) scale(1.12); } }
@keyframes ai-drift-b { from { transform: translate3d(10%, -8px, 0) scale(1.08); } to { transform: translate3d(-12%, 16px, 0) scale(.94); } }
@keyframes ai-drift-c { from { transform: translate3d(8%, 10px, 0) scale(.96); } to { transform: translate3d(-14%, -14px, 0) scale(1.1); } }
html[data-theme="dark"] body [data-body="ai"] > .ai-glow i { opacity: .6; } html[data-theme="dark"] body [data-body="ai"] > .ai-glow i:nth-child(2) { opacity: .5; }
html body [data-body="ai"]:not(.ai-live) > .ai-glow i { will-change: auto; }
html.lite body [data-body="ai"] > .ai-glow i { animation: none !important; filter: blur(30px); }
@media (prefers-reduced-motion: reduce) { html body [data-body="ai"] > .ai-glow i { animation: none !important; } }

html body [data-body="ai"] #chatForm { position: relative; z-index: 1; }


html body .cap-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 8px 10px 8px 12px; border-radius: 10px ; background: var(--v7-surface-3); color: var(--text-2); font: 500 12px/17px var(--v7-font); }
html body .cap-bar[hidden] { display: none; }
html body .cap-bar > span { flex: 1; min-width: 0; }
html body .cap-bar .chip.sm { flex: none; height: 32px; padding: 0 12px; }
html body .cap-bar .cap-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
html body .cap-bar .cap-dot.live { background: #EA4335; box-shadow: 0 0 0 0 rgba(234, 67, 53, .5); animation: cap-pulse 1.6s ease-out infinite; }
html body .cap-bar .cap-dot.ok { background: #34A853; } html body .cap-bar .cap-dot.warn { background: #F9AB00; }
@keyframes cap-pulse { 0% { box-shadow: 0 0 0 0 rgba(234, 67, 53, .45); } 100% { box-shadow: 0 0 0 8px rgba(234, 67, 53, 0); } }
html.lite body .cap-bar .cap-dot.live { animation: none; }
html body .loading-box .chip.cap-go { background: #FFD21F; color: #141414; border-color: #E0A800; font-weight: 600; }
html body .loading-box .cap-why { max-width: 420px; margin: 8px auto 0; line-height: 1.5; }


@property --gm-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes gm-turn { to { --gm-a: 360deg; } }
:root { --gm-ring: conic-gradient(from var(--gm-a), #4285F4, #EA4335 22%, #FBBC04 45%, #34A853 68%, #4285F4); }
html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill) { position: relative; } 

html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill)::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--gm-ring); pointer-events: none; z-index: 2;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .22s ease; }
html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill)::before {
  content: ''; position: absolute; inset: 3px 8px -2px; border-radius: inherit; background: var(--gm-ring); filter: blur(7px); pointer-events: none; z-index: -1; opacity: 0; transition: opacity .22s ease; }
html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill):is(:hover, :focus-visible)::after { opacity: 1; animation: gm-turn 2.6s linear infinite; }
html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill):is(:hover, :focus-visible)::before { opacity: .38; animation: gm-turn 2.6s linear infinite; }
html[data-theme="dark"] body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill):is(:hover, :focus-visible)::before { opacity: .5; }
html body #modeSeg button { border-radius: 10px ; }
html body :is(.tu-sug, #cmdkBtn, .ag-pill):is(:hover, :focus-visible) { border-color: transparent !important; }
html.lite body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill)::after { animation: none !important; }
html.lite body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill)::before { display: none; }
@media (prefers-reduced-motion: reduce) { html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill)::after { animation: none !important; } }

html body .tu-bar .tu-logo { position: relative; isolation: isolate; border-radius: 30%; }
html body .tu-bar .tu-logo::after { content: ''; position: absolute; inset: -3px; border-radius: 34%; padding: 1.5px; background: var(--gm-ring); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .22s; pointer-events: none; }
html body .tu-bar:hover .tu-logo::after { opacity: 1; animation: gm-turn 2.2s linear infinite; }
html body .tu-bar:hover .tu-logo .tu-orb { animation: tu-spin 2.2s linear infinite; transform-origin: 24px 24.5px; }
@keyframes tu-spin { to { transform: rotate(360deg); } }
html.lite body .tu-bar:hover .tu-logo :is(.tu-orb), html.lite body .tu-bar .tu-logo::after { animation: none !important; }


html body .gem, html body .tu-sug > span.gem { display: inline-grid !important; place-items: center !important; flex-direction: row !important; gap: 0 !important; padding: 0 !important; line-height: 0 !important; }
html body .gem > i { display: block; margin: 0 !important; grid-area: 1 / 1; }


html body select { appearance: none; -webkit-appearance: none; min-height: 34px; padding: 0 34px 0 12px !important; border: 1px solid var(--line-2, var(--line)) !important; border-radius: 6px !important; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px !important; color: var(--text) !important; font: 500 14px var(--v7-font) !important; box-shadow: none !important; outline: none !important; transition: border-color .15s, box-shadow .15s, background-color .15s; cursor: pointer; }
html[data-theme="dark"] body select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4C7C5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; }
html body select:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent) !important; background-color: color-mix(in srgb, var(--text) 3%, var(--panel)) !important; }
html body select:focus, html body select:focus-visible { border-color: #1A73E8 !important; box-shadow: 0 0 0 3px color-mix(in srgb, #1A73E8 22%, transparent) !important; }
html body select:open { border-color: #1A73E8 !important; box-shadow: 0 0 0 3px color-mix(in srgb, #1A73E8 22%, transparent) !important; } 
html body :is(.repeat-box, .tx-meta) select { min-height: 26px; padding: 0 26px 0 8px !important; background-position: right 6px center !important; background-size: 13px !important; font-size: 12px !important; border-radius: 6px !important; }
html body .field select, html body .v7-row select { min-height: 40px; min-width: 220px; }
@supports (appearance: base-select) {
  html body select, html[data-theme] body select { appearance: base-select; background-image: none !important; padding-right: 10px !important; display: inline-flex; align-items: center; gap: 8px; line-height: 1.25; } 
  html body select::picker-icon { margin-left: auto; flex: none; align-self: center; }
  html body select > button { display: contents; }
  html body select selectedcontent { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html body select::picker-icon { content: ''; width: 16px; height: 16px; background: currentColor; color: var(--text-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: rotate .2s; }
  html body select:open::picker-icon { rotate: 180deg; }
  html body select::picker(select) { appearance: base-select; margin-top: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 10px ; background: var(--panel); box-shadow: 0 12px 32px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .08); }
  html body select option { min-height: 36px; padding: 0 12px; border-radius: 10px ; display: flex; align-items: center; gap: 10px; font: 500 14px var(--v7-font); color: var(--text); }
  html body select option:hover, html body select option:focus-visible { background: color-mix(in srgb, var(--text) 7%, transparent); outline: none; }
  html body select option:checked { background: color-mix(in srgb, #1A73E8 12%, var(--panel)); color: #0B57D0; font-weight: 600; }
  html[data-theme="dark"] body select option:checked { background: color-mix(in srgb, #8AB4F8 18%, var(--panel)); color: #D2E3FC; }
  html body select option::checkmark { order: 1; margin-left: auto; content: '✓'; font-weight: 700; }
}


html body :is(#modeSeg, #aiModeSeg, .tu-hero, .tu-sugs, .ag-row, .titlebar, #providerChips) :is(#modeSeg > button, .tu-sug, #cmdkBtn, .ag-pill)::before { inset: auto 10% -4px; height: 9px; border-radius: 50%; filter: blur(6px); }
html body #modeSeg > button { --ring-x: 8px; }
html body #modeSeg #modeSeg > button::after, html body #modeSeg > button.on::after, html body div#modeSeg > button::after { inset: -3px -8px; border-radius: 10px ; }
html body #modeSeg[id] > button[data-mode]::after { inset: -3px -9px !important; border-radius: 10px !important; }
html body #modeSeg[id] > button[data-mode]::before { inset: auto 0 -5px !important; }


html body #practice .dub-dock { margin: 6px 0 10px; padding: 12px 14px 14px; border-radius: 10px ; background: color-mix(in srgb, var(--fg-tonal, #F3EEE1) 55%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 7%, transparent); animation: dd-in .22s cubic-bezier(.2, .8, .2, 1); }
html body #practice .dub-dock[hidden] { display: none; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } }
html.lite body #practice .dub-dock { animation: none; }
html body .dub-dock .dd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
html body .dub-dock .dd-title { display: inline-flex; align-items: center; gap: 7px; font: 600 14px var(--v7-font); color: var(--text); }
html body .dub-dock .dd-title .ic { width: 16px; height: 16px; color: #B07800; }
html[data-theme="dark"] body .dub-dock .dd-title .ic { color: #FFD21F; }
html body .dub-dock .dd-status { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 7px; font: 500 12px var(--v7-font); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .dub-dock .dd-led { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
html body .dub-dock .dd-status.ok .dd-led { background: #34A853; } html body .dub-dock .dd-status.warn .dd-led { background: #F9AB00; } html body .dub-dock .dd-status.warn { color: #8C4A00; }
html[data-theme="dark"] body .dub-dock .dd-status.warn { color: #FFB869; }
html body .dub-dock .dd-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
html body .dub-dock .dd-eq i { width: 2.5px; height: 100%; border-radius: 2px ; background: linear-gradient(#FFB627, #F0645A); transform-origin: bottom; animation: db-eq .9s ease-in-out infinite; }
html body .dub-dock .dd-eq i:nth-child(2) { animation-delay: -.3s; } html body .dub-dock .dd-eq i:nth-child(3) { animation-delay: -.6s; }
html.lite body .dub-dock .dd-eq i { animation: none; transform: scaleY(.7); }
html body .dub-dock .dd-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
html body .dub-dock .dd-x:hover { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }
html body .dub-dock .dd-x .ic { width: 20px; height: 20px; }
html body .dub-dock .dd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 18px; }
html body .dub-dock .dd-g { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html body .dub-dock .dd-g > b { font: 600 12px var(--v7-font); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
html body .dub-dock .dd-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
html body .dub-dock .dd-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px ; background: color-mix(in srgb, var(--text) 6%, transparent); max-width: 100%; }
html body .dub-dock .dd-seg button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 11px; border: 0; border-radius: 6px ; background: transparent; color: var(--text-2); font: 500 12px var(--v7-font); cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s; }
html body .dub-dock .dd-seg button small { margin-left: 4px; font-size: 12px; font-weight: 500; opacity: .7; }
html body .dub-dock .dd-seg button:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
html body .dub-dock .dd-seg button.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); }
html body .dub-dock #ddMode button.on[data-v="dub"], html body .dub-dock #ddVoice button.on { background: #FFD21F; color: #141414; box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 0 0 1px #E0A800; }
html body .dub-dock #ddLang button { min-width: 40px; font: 600 12px var(--v7-mono); letter-spacing: .03em; }
html body .dub-dock .dd-try { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 6px ; background: var(--panel); color: var(--text); font: 500 12px var(--v7-font); cursor: pointer; }
html body .dub-dock .dd-try:hover { border-color: color-mix(in srgb, var(--text) 30%, transparent); }
html body .dub-dock .dd-try .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
html body .dub-dock .dd-orig input[type="range"] { flex: 1; min-width: 80px; accent-color: #E0A800; }
html body .dub-dock .dd-orig input[type="range"]:disabled { opacity: .4; }
html body .dub-dock .dd-orig output { flex: none; min-width: 34px; font: 600 12px var(--v7-mono); color: var(--text-2); text-align: right; }
html body .dub-dock .dd-mute { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px ; background: var(--panel); color: var(--text-2); font: 500 12px var(--v7-font); cursor: pointer; }
html body .dub-dock .dd-mute .ic { width: 16px; height: 16px; }
html body .dub-dock .dd-mute.on { background: #202124; border-color: #202124; color: #fff; }
html[data-theme="dark"] body .dub-dock .dd-mute.on { background: #E8EAED; border-color: #E8EAED; color: #202124; }
html body .dub-dock .dd-sws { gap: 8px; }
html body .dub-dock .dd-sw { display: inline-flex; align-items: center; gap: 9px; font: 500 12px var(--v7-font); color: var(--text); cursor: pointer; }
html body .dub-dock .dd-sw input { position: absolute; opacity: 0; pointer-events: none; }
html body .dub-dock .dd-sw i { flex: none; position: relative; width: 30px; height: 18px; border-radius: 999px; background: color-mix(in srgb, var(--text) 22%, transparent); transition: background-color .15s; }
html body .dub-dock .dd-sw i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .18s cubic-bezier(.2, .8, .2, 1); }
html body .dub-dock .dd-sw input:checked + i { background: #E0A800; } html body .dub-dock .dd-sw input:checked + i::after { transform: translateX(12px); }
html body .dub-dock .dd-sw input:focus-visible + i { outline: 2px solid #1A73E8; outline-offset: 2px; }
html body .dub-dock .dd-sw input:disabled + i, html body .dub-dock .dd-sw input:disabled ~ span { opacity: .45; }
html body .dub-dock.is-off .dd-grid > .dd-g:not(:first-child) { opacity: .55; }
html body .dub-wrap.dock-open .dub-more .ic { transform: rotate(180deg); }
html body .dub-wrap .dub-more .ic { transition: transform .2s ease; }
html body .dub-dock .dd-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
html body .dub-dock .dd-line { flex-wrap: wrap; row-gap: 6px; }
html body .dub-dock .dd-seg { flex-wrap: nowrap; }
html body .dub-dock .dd-seg button, html body .dub-dock .dd-seg button:hover { border: 0 !important; box-shadow: none !important; }
html body .dub-dock .dd-seg button.on { background: var(--panel) !important; color: var(--text) !important; font-weight: 600 !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 1px color-mix(in srgb, var(--text) 9%, transparent) !important; }
html[data-theme="dark"] body .dub-dock .dd-seg button.on { background: #3C4043 !important; color: #E8EAED !important; }
html body .dub-dock :is(#ddMode button.on[data-v="dub"], #ddMode button.on[data-v="after"], #ddVoice button.on) { background: #FFD21F !important; color: #141414 !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 0 0 1px #E0A800 !important; }
html body .dub-dock :is(#ddMode button.on, #ddVoice button.on) small { opacity: .75; }


html body .v7-agsel > button { border-color: transparent !important; background: transparent; box-shadow: none !important; }
html body .v7-agsel > button:hover, html body .v7-agsel > button[aria-expanded="true"] { background: var(--hover); }
html body .v7-agsel > button:focus-visible { outline: 2px solid color-mix(in srgb, #4285F4 55%, transparent); outline-offset: 1px; }
html body #aiModeSeg [data-mode="termis"] { box-shadow: none !important; outline: none; }
html body #aiModeSeg [data-mode="termis"]:focus-visible { outline: 2px solid color-mix(in srgb, #4285F4 55%, transparent); outline-offset: 2px; }


html body .kp-card { margin: 10px 0 4px; padding: 10px 12px 12px; border-radius: 10px ; background: color-mix(in srgb, #26A69A 6%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #00796B 16%, transparent); animation: kp-in .26s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes kp-in { from { opacity: 0; transform: translateY(4px); } }
html.lite body .kp-card { animation: none; }
html body .kp-card .kp-head { display: flex; align-items: center; gap: 8px; min-height: 26px; margin-bottom: 8px; font: 500 12px var(--v7-font); color: var(--text-2); }
html body .kp-card .kp-head > b { font-weight: 600; color: var(--text); }
html body .kp-card .kp-head > .ag-logo { flex: none; }
html body .kp-card .kp-sp { flex: 1; }
html body .kp-card :is(.kp-all, .kp-open) { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 6px ; border: 0; background: transparent; color: #00796B; font: 600 12px var(--v7-font); cursor: pointer; }
html body .kp-card .kp-all { background: #00796B; color: #fff; }
html body .kp-card .kp-all:hover { background: #00695C; } html body .kp-card .kp-open:hover { background: color-mix(in srgb, #00796B 10%, transparent); }
html body .kp-card :is(.kp-all, .kp-done) .ic { width: 16px; height: 16px; }
html body .kp-card .kp-done { display: inline-flex; align-items: center; gap: 4px; color: #188038; font: 600 12px var(--v7-font); }
html body .kp-card .kp-list { display: flex; flex-wrap: wrap; gap: 6px; }
html body .kp-card .kp-w { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; padding: 4px 12px 4px 8px; border-radius: 6px ; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 400 12px var(--v7-font); cursor: pointer; text-align: left; transition: background .15s, border-color .15s, transform .12s; }
html body .kp-card .kp-w:hover { background: var(--hover); border-color: color-mix(in srgb, #00796B 35%, var(--line)); }
html body .kp-card .kp-w:active { transform: scale(.97); }
html body .kp-card .kp-w:focus-visible { outline: 2px solid #4285F4; outline-offset: 1px; }
html body .kp-card .kp-w b { font-weight: 600; white-space: nowrap; }
html body .kp-card .kp-w i { font-style: normal; color: var(--text-3); font-size: 12px; white-space: nowrap; }
html body .kp-card .kp-w em { font-style: normal; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
html body .kp-card .kp-w .kp-ic { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; }
html body .kp-card .kp-w .kp-ic .ic { width: 16px; height: 16px; fill: none; stroke: var(--text-3); transition: fill .15s, stroke .15s, transform .2s; }
html body .kp-card .kp-w.on { background: color-mix(in srgb, #FBBC04 14%, var(--panel)); border-color: color-mix(in srgb, #F9AB00 50%, transparent); }
html body .kp-card .kp-w.on .kp-ic .ic { fill: #F9AB00; stroke: #E37400; transform: scale(1.08); }
html[data-theme="dark"] body .kp-card { background: color-mix(in srgb, #4DB6AC 8%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #4DB6AC 22%, transparent); }
html[data-theme="dark"] body .kp-card :is(.kp-open) { color: #80CBC4; } html[data-theme="dark"] body .kp-card .kp-all { background: #4DB6AC; color: #0B1F1D; }
html[data-theme="dark"] body .kp-card .kp-done { color: #81C995; }
html body .kp-card .kp-head > b, html body .kp-card :is(.kp-all, .kp-open, .kp-done) { white-space: nowrap; flex: none; }
html body .kp-card .kp-head > span:not(.kp-sp):not(.kp-done) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .kp-card .kp-sp { display: none; }
html body .kp-card { container-type: inline-size; }
@container (max-width: 360px) { html body .kp-card .kp-head > span:not(.kp-done) { display: none; } html body .kp-card .kp-head > b { margin-right: auto; } html body .kp-card .kp-w em { max-width: 130px; } }


html body [data-body="ai"] .ai-top:has(> #aiModeSeg) { border-bottom: 1px solid var(--gm-line, var(--line)); }
html body [data-body="ai"] .ai-top > #aiModeSeg { border-bottom: 0 !important; margin-bottom: -1px; }
html body [data-body="ai"] #providerChips:has(> .tu-bar) { border-bottom: 1px solid var(--gm-line, var(--line)); padding-bottom: 2px; }
html body [data-body="ai"] #providerChips > .tu-bar { border-bottom: 0 !important; }
html body .v7-agmenu [data-ag]:focus-visible { outline: 2px solid #4285F4; outline-offset: -2px; }

html body .dp-voice { border-style: solid !important; }
html body .dp-voice .ic { color: #1A73E8; }


html body #scoreBox[hidden], html body #scoreBox.score[hidden], html body #scoreBox.sc-g[hidden], html body .score.sh-box[hidden] { display: none !important; }
html body [hidden]:not(dialog) { display: none !important; } 


html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill)::before { display: none !important; }
html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill)::after { padding: 1px !important; inset: -1px; transition: opacity .18s ease; }
html body :is(#modeSeg button, .tu-sug, #cmdkBtn, .ag-pill):is(:hover, :focus-visible)::after { animation-duration: 5s !important; }
html body #modeSeg[id] > button[data-mode]::after { inset: -2px -6px !important; border-radius: 10px !important; }
html body #modeSeg[id] > button[data-mode] { transition: background-color .18s ease; }
html body #modeSeg[id] > button[data-mode]::before { display: block !important; content: ''; position: absolute; inset: -2px -6px !important; height: auto !important; border-radius: 10px !important; background: color-mix(in srgb, var(--text) 4.5%, transparent) !important; filter: none !important; opacity: 0; z-index: -1; transition: opacity .18s ease; animation: none !important; }
html body #modeSeg[id] > button[data-mode]:is(:hover, :focus-visible)::before { opacity: 1 !important; }
html body :is(.tu-sug, #cmdkBtn, .ag-pill):hover { background-color: color-mix(in srgb, var(--text) 3%, var(--panel)) !important; }
:root { --gm-ring: conic-gradient(from var(--gm-a), #4285F4 0deg, #9B72CB 70deg, #D96570 140deg, #F9AB00 200deg, #34A853 270deg, #4285F4 360deg); }
html[data-theme="dark"] { --gm-ring: conic-gradient(from var(--gm-a), #8AB4F8 0deg, #C58AF9 70deg, #F28B82 140deg, #FDD663 200deg, #81C995 270deg, #8AB4F8 360deg); }

html body .kp-card .kp-w.kp-s { width: 100%; align-items: flex-start; padding: 8px 10px 8px 8px; gap: 8px; }
html body .kp-card .kp-w.kp-s .kp-ic { margin-top: 1px; }
html body .kp-card .kp-w.kp-s .kp-st { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
html body .kp-card .kp-w.kp-s b { white-space: normal; font-weight: 500; line-height: 1.4; }
html body .kp-card .kp-w.kp-s em { white-space: normal; max-width: none; font-size: 12px; line-height: 17px; }
html body .kp-card .kp-w .kp-tag { flex: none; align-self: center; padding: 1px 7px; border-radius: 10px ; font: 600 12px var(--v7-font); color: #00796B; background: color-mix(in srgb, #00796B 10%, transparent); }
html[data-theme="dark"] body .kp-card .kp-w .kp-tag { color: #80CBC4; background: color-mix(in srgb, #4DB6AC 16%, transparent); }
html body .kp-card .kp-list { max-height: 320px; overflow: auto; }
html body select { white-space: nowrap; } 
@supports (appearance: base-select) {
  html body select, html[data-theme] body select { position: relative; padding-right: 34px !important; }
  html body select::picker-icon { position: absolute; right: 10px; top: 50%; margin-top: -8px; margin-left: 0; }
  html body :is(.repeat-box, .tx-meta) select { padding-right: 28px !important; }
  html body :is(.repeat-box, .tx-meta) select::picker-icon { right: 7px; }
}
@supports (appearance: base-select) {
  
  html body select, html[data-theme] body select { box-sizing: content-box; min-height: 32px; }
  html body .field select, html body .v7-row select { min-height: 38px; }
  html body :is(.repeat-box, .tx-meta) select { min-height: 24px; }
}


html body .dub-dock .dd-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
html body .dub-dock .dd-q { flex: 1 1 200px; min-width: 0; font: 500 12px var(--v7-font); color: var(--text-2); }
html body .dub-dock .dd-hint { font: 400 12px var(--v7-font); color: var(--text-3); white-space: nowrap; }
html body .dub-dock .dd-hint kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px ; border: 1px solid var(--line); background: var(--panel); font: 600 12px var(--v7-font); color: var(--text); }
html body .dub-dock .dd-pro .dd-sw span { white-space: normal; }
html body #bigTranslation .dw { transition: color .16s ease, opacity .16s ease; opacity: .55; }
html body #bigTranslation .dw.on { opacity: 1; color: var(--text); }
html[data-theme="dark"] body #bigTranslation .dw.on { color: #FDE293; }
html.lite body #bigTranslation .dw { transition: none; }


html body #chat .tu-steer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px 34px; animation: kp-in .2s ease both; }
html body #chat .tu-steer > span { font: 500 12px var(--v7-font); color: var(--text-3); margin-right: 2px; }
html body #chat .tu-steer .chip { height: 32px; padding: 0 10px; font-size: 12px; }
html body .meta .tu-fb { display: inline-flex; gap: 2px; margin-right: 4px; }
html body .meta .tu-fb button { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 6px ; background: transparent; color: var(--text-3); cursor: pointer; padding: 0; }
html body .meta .tu-fb button .ic { width: 16px; height: 16px; }
html body .meta .tu-fb button:hover { background: var(--hover); color: var(--text); }
html body .meta .tu-fb button.on[data-fb="1"] { color: #188038; } html body .meta .tu-fb button.on[data-fb="0"] { color: #D93025; }
html body #chat .tu-alt .tu-alt-l { font: 500 12px var(--v7-font); color: var(--text-2); align-self: center; margin-right: 2px; }
html body #chat .tu-alt .chip .ag-logo { margin-right: 4px; }
html body .tu-trace li.arb { color: var(--text-2); }
html body .tu-trace li.arb.ok::before { color: #188038; }
html body .tu-thought.council .tt-body { white-space: pre-wrap; }


html body :is(#settingsModal, #statsModal, #teamModal, #vocabModal) > .modal-h { padding-right: 150px !important; min-height: 52px; box-sizing: border-box; }
html body #vocabModal.vs-modal .modal-h h2 { min-width: 0; }
html body #vocabModal .vs-crew { flex: none; }
@media (max-width: 720px) { html body #vocabModal .vs-crew span { display: none; } }

html body #practice { --dub-g1: #4285F4; --dub-g2: #9B72CB; --dub-g3: #D96570;
  --gm-ring: conic-gradient(from var(--gm-a), var(--dub-g1), var(--dub-g2) 33%, var(--dub-g3) 66%, var(--dub-g1)); }
html body #practice #modeSeg[id] > button[data-mode]::before { background: linear-gradient(90deg, color-mix(in srgb, var(--dub-g1) 9%, transparent), color-mix(in srgb, var(--dub-g3) 9%, transparent)) !important; }
html body #practice .practice-top > button:not(.dub-wrap button), html body #practice .practice-top .icon-btn { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
html body #practice .practice-top > button:not(.dub-wrap button):is(:hover, :focus-visible), html body #practice .practice-top .icon-btn:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--dub-g2) 55%, transparent) !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--dub-g1) 9%, var(--panel)), color-mix(in srgb, var(--dub-g3) 9%, var(--panel))) !important;
  color: var(--text) !important; }
html body #practice .dub-wrap:not(.on):hover { border-color: color-mix(in srgb, var(--dub-g2) 55%, transparent); }
html body #practice .practice-top .pz-btn { transition: background-color .18s ease, color .18s ease; border-radius: 10px ; }
html body #practice .practice-top .pz-btn:is(:hover, :focus-visible) { background: linear-gradient(90deg, color-mix(in srgb, var(--dub-g1) 10%, transparent), color-mix(in srgb, var(--dub-g3) 10%, transparent)) !important; color: var(--text) !important; }
html body #practice .practice-top #guideBtn:is(:hover, :focus-visible) { color: var(--dub-g2) !important; }


html[data-font="giggle"] { --v7-font: "Fias Nunito", "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Microsoft YaHei UI", system-ui, sans-serif;
  --font: var(--v7-font); --font-display: var(--v7-font); --fias-en: "Fias Rubik", "Fias Nunito", "Segoe UI", system-ui, sans-serif; }
html[data-font="giggle"] body { font-family: var(--v7-font); font-weight: 500; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-optical-sizing: auto; }
html[data-font="giggle"] body :is(h1, h2, .home-hero h1, .hero-title, .v7-hero h1) { font-weight: 800; letter-spacing: -0.3px; }
html[data-font="giggle"] body :is(h3, h4, .modal-h h2) { font-weight: 800; letter-spacing: -0.2px; }
html[data-font="giggle"] body :is(b, strong) { font-weight: 800; }
html[data-font="giggle"] body :is(button, .chip, .seg button, input, textarea, select) { font-family: var(--v7-font); }

html[data-font="giggle"] body :is(#bigSentence, .sentence-big, #transcript .line .tx, .pop-word, .vs-word, .kp-w b) { font-family: var(--fias-en) !important; letter-spacing: 0; }
html[data-font="giggle"] body #practice #bigSentence { font-weight: 500; letter-spacing: -0.1px; }
html[data-font="giggle"] body #transcript .line .tx { font-weight: 400; }
html[data-font="giggle"] body :is(#bigTranslation, #transcript .line .tr) { font-family: var(--v7-font) !important; font-weight: 500; }
html[data-font="giggle"] body :is(kbd, code, pre, .v7-mono) { font-family: var(--v7-mono); }

html[data-font="giggle"] body :is(#recBtn, .rec-btn, .btn-grad, .g-main, #playBtn, .cc-go) { font-weight: 800 !important; letter-spacing: 0.2px; }
html[data-font="giggle"] body #modeSeg button { font-weight: 700; }
html[data-font="giggle"] body :is(.chip, .seg button, .tab, .tabs button, #rightTabs button) { font-weight: 600; }
html[data-font="giggle"] body #transcript .line .tr, html[data-font="giggle"] body #bigTranslation { font-weight: 500; }


html body .v7-slash.v7-at { max-height: min(360px, 60vh); overflow: auto; }
html body .v7-slash.v7-at h6 { margin: 2px 6px 6px; font: 600 12px var(--v7-font); color: var(--text-3); letter-spacing: .02em; }
html body .v7-slash.v7-at button { justify-content: flex-start; align-items: center; gap: 10px; min-height: 40px; }
html body .v7-slash.v7-at button .ag-logo { flex: none; width: 24px !important; height: 24px !important; }
html body .v7-slash.v7-at button b { min-width: 72px; font: 600 12px var(--v7-mono); color: var(--v7-sel-t); }
html body .v7-slash.v7-at button em { font-style: normal; font-weight: 600; color: var(--text); }
html body .v7-slash.v7-at button span { margin-left: auto; color: var(--text-2); font-size: 12px; }


html[data-font="giggle"] { font-size-adjust: 0.52; --v7-mono: var(--v7-font); }
html[data-font="giggle"] body *:not(svg):not(svg *):not(pre):not(pre *):not(code):not(.brand-name):not(.brand-name *):not(.ipa):not(.ipa *):not(.ipa-btn):not(.ph-chip b):not(.sm-snd b):not(kbd) { font-family: var(--v7-font) !important; } 
html[data-font="giggle"] body :is(#bigSentence, .sentence-big, #transcript .line .tx, .pop-word, .vs-word, .kp-w b, .sb-en, .cine-en, .vs-card .front, .tw-w) { font-family: var(--fias-en) !important; }
html[data-font="giggle"] body :is(pre, pre *, code) { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace !important; font-size-adjust: none; }
html[data-font="giggle"] body :is(h1, h2, h3, .modal-h h2, .home-hero h1, .tp-head, .v7-hero h1, .sec-title, .vs-sec h3) { font-weight: 800 !important; letter-spacing: -0.3px; }
html[data-font="giggle"] body .tu-trace :is(li, summary .tu-think-t), html[data-font="giggle"] body .statusbar, html[data-font="giggle"] body #statusBar { letter-spacing: 0; }
html[data-font="giggle"] body input::placeholder, html[data-font="giggle"] body textarea::placeholder { font-family: var(--v7-font); }
html body #sFont .fs-opt { display: inline-flex; flex-direction: column; align-items: center; gap: 0; line-height: 1.15; padding-top: 6px; padding-bottom: 6px; min-width: 120px; }
html body #sFont .fs-opt b { font-weight: 700; font-size: 14px; }
html body #sFont .fs-opt small { font-size: 12px; color: var(--text-3); font-weight: 500; }
html body #sFont .fs-opt.on small { color: inherit; opacity: 1; }
html body .v7-slash.v7-at button { display: grid !important; grid-template-columns: 24px 82px minmax(0, 1fr) auto; justify-content: stretch !important; text-align: left; }
html body .v7-slash.v7-at button span { margin-left: 0; text-align: right; white-space: nowrap; }
html body .v7-slash.v7-at button em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body #sFont { height: auto !important; min-height: 46px; align-items: stretch; }
html body #sFont .fs-opt { height: auto !important; min-height: 40px; }


:root {
  --fx-r: #EA4335; --fx-o: #FF8A00; --fx-y: #FBBC04; --fx-g: #34A853; --fx-b: #4285F4; --fx-i: #5B5FEF; --fx-v: #A142F4;
  --fx-fill: #FFF6D8; --fx-fill-line: #F3DE9C; --fx-navy: #1B3A8C;
  --fx-rainbow: var(--fx-r), var(--fx-o), var(--fx-y), var(--fx-g), var(--fx-b), var(--fx-i), var(--fx-v), var(--fx-r);
  --fx-arc: transparent 0deg, transparent 190deg, var(--fx-r) 215deg, var(--fx-o) 235deg, var(--fx-y) 255deg, var(--fx-g) 275deg, var(--fx-b) 295deg, var(--fx-i) 315deg, var(--fx-v) 335deg, transparent 360deg;
}
html[data-theme="dark"] {
  --fx-r: #F28B82; --fx-o: #FCAD70; --fx-y: #FDD663; --fx-g: #81C995; --fx-b: #8AB4F8; --fx-i: #A1A9F5; --fx-v: #C58AF9;
  --fx-fill: #3A3322; --fx-fill-line: #5A4D2A; --fx-navy: #9DB8FF;
}
html body #practice { --dub-g1: var(--fx-y); --dub-g2: var(--fx-o); --dub-g3: var(--fx-r); }


html body #cmdkBtn { position: relative; border-color: transparent !important; }
html body #cmdkBtn::after { content: '' !important; display: block !important; position: absolute; inset: -1px !important; border-radius: inherit; padding: 1px !important; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--gm-a), var(--fx-rainbow)) !important; opacity: 1 !important; animation: gm-turn 8s linear infinite !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
html body #cmdkBtn::before { content: '' !important; display: block !important; position: absolute; inset: -6px !important; border-radius: 10px ; padding: 6px; z-index: 1; pointer-events: none; filter: blur(5px) !important;
  background: conic-gradient(from var(--gm-a), var(--fx-rainbow)) !important; opacity: .28 !important; animation: gm-turn 8s linear infinite !important; transition: opacity .2s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
html body #cmdkBtn:is(:hover, :focus-visible)::before { opacity: .55 !important; }
html body #cmdkBtn:hover { background-color: var(--panel) !important; }


html body :is(#modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool) { position: relative; transition: background-color .18s ease, border-color .18s ease; }
html body :is(#modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool)::after { content: '' !important; display: block !important; position: absolute; inset: -1px !important; border-radius: inherit; padding: 1.5px !important; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--gm-a), var(--fx-arc)) !important; opacity: 0 !important; transition: opacity .2s ease !important; animation: none !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
html body :is(#modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool)::before { content: '' !important; display: block !important; position: absolute; inset: -5px !important; height: auto !important; border-radius: 10px !important; padding: 4px; z-index: 1; pointer-events: none; filter: blur(4px) !important;
  background: conic-gradient(from var(--gm-a), var(--fx-arc)) !important; opacity: 0 !important; transition: opacity .2s ease !important; animation: none !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
html body :is(#modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool):is(:hover, :focus-visible)::after { opacity: 1 !important; animation: gm-turn 2.4s linear infinite !important; }
html body :is(#modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool):is(:hover, :focus-visible)::before { opacity: .5 !important; animation: gm-turn 2.4s linear infinite !important; }
html body :is(#modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool):is(:hover, :focus-visible) { background: var(--fx-fill) !important; border-color: transparent !important; }
html body #modeSeg[id] > button[data-mode] { border-radius: 10px ; }
html body #modeSeg[id] > button[data-mode]::after { inset: -2px -6px !important; border-radius: 10px !important; }
html body #practice #modeSeg[id] > button[data-mode]::before, html body #modeSeg[id] > button[data-mode]::before { inset: -7px -11px !important; padding: 5px !important; border-radius: 10px !important; background: conic-gradient(from var(--gm-a), var(--fx-arc)) !important; }
html body #modeSeg[id] > button[data-mode]::before { filter: blur(4px) !important; opacity: 0 !important; height: auto !important; }
html body #modeSeg[id] > button[data-mode]:is(:hover, :focus-visible)::before { opacity: .5 !important; animation: gm-turn 2.4s linear infinite !important; }
html body #modeSeg[id] > button[data-mode]:is(:hover, :focus-visible)::after { opacity: 1 !important; animation: gm-turn 2.4s linear infinite !important; }
html body #modeSeg[id] > button[data-mode]:is(:hover, :focus-visible) { background: var(--fx-fill) !important; box-shadow: 0 0 0 2px var(--fx-fill), -4px 0 0 2px var(--fx-fill), 4px 0 0 2px var(--fx-fill) !important; }
html body #modeSeg[id] > button[data-mode] > * { position: relative; z-index: 3; }
html body #modeSeg[id] { overflow: visible; }
html.lite body :is(#cmdkBtn, #modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool)::after, html.lite body :is(#cmdkBtn, #modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool)::before { animation: none !important; }
html.lite body :is(#cmdkBtn, #modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool)::before { display: none !important; }
@media (prefers-reduced-motion: reduce) { html body :is(#cmdkBtn, #modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool)::after, html body :is(#cmdkBtn, #modeSeg > button, .tu-sug, .ag-pill, #toolsRow > button.tool)::before { animation: none !important; } }

html body #practice .practice-top > button:not(.dub-wrap button):is(:hover, :focus-visible), html body #practice .practice-top .icon-btn:is(:hover, :focus-visible) {
  border-color: var(--fx-fill-line) !important; background: var(--fx-fill) !important; }
html body #practice .practice-top #guideBtn:is(:hover, :focus-visible) { color: inherit !important; }
html body #practice .dub-wrap:not(.on):hover { border-color: var(--fx-fill-line); background: var(--fx-fill); }
html body .dub-wrap.on::before { inset: -1px !important; background: linear-gradient(90deg, var(--fx-rainbow)) !important; }
html body .dub-wrap.on::after { background: var(--fx-fill) !important; }

html body .tu-bar .tu-logo::after { display: none !important; animation: none !important; }

html body #chatForm.chat-input:focus-within { border-color: color-mix(in srgb, var(--text) 28%, var(--line)) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 6%, transparent) !important; }


html body #chatForm .v7-mx { position: relative; flex: 1; min-width: 0; display: flex; }
html body #chatForm .v7-mx > textarea { flex: 1; width: 100%; min-width: 0; }
html body #chatForm .v7-mir { position: absolute; z-index: 2; pointer-events: none; overflow: hidden; margin: 0; color: var(--text); background: transparent !important; white-space: pre-wrap; overflow-wrap: break-word; visibility: hidden; }
html body #chatForm .v7-mx.has-tag > .v7-mir { visibility: visible; }
html body #chatForm .v7-mx.has-tag > textarea { color: transparent !important; -webkit-text-fill-color: transparent; caret-color: var(--text); }
html body #chatForm .v7-mx.has-tag > textarea::selection { color: transparent; background: color-mix(in srgb, var(--accent, #1a73e8) 26%, transparent); }
html body .v7-tag { font: inherit; color: var(--fx-navy); -webkit-text-stroke: .5px currentColor; background: none; padding: 0; border-radius: 0 ; box-shadow: none; text-shadow: none; }
html body .v7-slash.v7-at button b { font-weight: 700; color: var(--fx-navy); }
html body .v7-slash.v7-at button.on, html body .v7-slash.v7-at button:hover { background: var(--fx-fill) !important; box-shadow: none; }


html body section.left > .vbar { position: relative; z-index: 200; align-self: center; display: flex; align-items: stretch; width: min(560px, 100%); height: 38px; margin-top: auto; flex: none; }
html body section.left > .vbar + .player-wrap:not(.floating):not(.novideo) { margin-top: 0 !important; }
html body .vbar .vb-box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px ; background: var(--panel); transition: border-color .15s ease, box-shadow .15s ease; }
html body .vbar .vb-box:focus-within { border-color: var(--fx-b); box-shadow: inset 0 0 0 1px var(--fx-b); }
html body .vbar .vb-ic { display: none; color: var(--muted); }
html body .vbar .vb-box:focus-within .vb-ic { display: inline-flex; }
html body .vbar .vb-ic .ic, html body .vbar .vb-go .ic, html body .vbar .vb-paste .ic { width: 20px; height: 20px; }
html body .vbar input { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font-size: 14px; color: var(--text); }
html body .vbar input::placeholder { color: var(--muted); }
html body .vbar .vb-paste { flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
html body .vbar .vb-paste:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
html body .vbar .vb-go { flex: none; width: 60px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 0 10px 10px 0 ; background: color-mix(in srgb, var(--text) 4%, var(--panel)); color: var(--text); cursor: pointer; }
html body .vbar .vb-go:hover { background: color-mix(in srgb, var(--text) 9%, var(--panel)); }
html body .vbar .vb-list { position: absolute; top: calc(100% + 6px); left: 0; right: 60px; max-height: min(420px, 60vh); overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 10px ; background: var(--panel); box-shadow: 0 12px 32px rgba(0,0,0,.16); }
html body .vbar .vb-it { display: flex; gap: 10px; width: 100%; padding: 6px; border: 0; border-radius: 10px ; background: transparent; text-align: left; cursor: pointer; color: var(--text); }
html body .vbar .vb-it:is(:hover, .on) { background: color-mix(in srgb, var(--text) 6%, transparent); }
html body .vbar .vb-th { position: relative; flex: none; width: 120px; aspect-ratio: 16/9; border-radius: 6px ; overflow: hidden; background: color-mix(in srgb, var(--text) 8%, transparent); }
html body .vbar .vb-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .vbar .vb-th i { position: absolute; right: 4px; bottom: 4px; padding: 1px 4px; border-radius: 4px ; background: rgba(0,0,0,.78); color: #fff; font-style: normal; font-size: 12px; font-weight: 600; }
html body .vbar .vb-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html body .vbar .vb-tx b { font-size: 14px; font-weight: 600; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html body .vbar .vb-tx small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .vbar .vb-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 14px; }
body:is(.video-float, .lay-no-video) section.left > .vbar, #study.novideo section.left > .vbar { display: none; }


html body #toolsMore > button.tool { position: relative; border-color: transparent !important; transition: background-color .18s ease; }
html body #toolsMore > button.tool::after { content: '' !important; display: block !important; position: absolute; inset: -1px !important; border-radius: inherit; padding: 1px !important; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--fx-rainbow)) !important; opacity: .55 !important; transition: opacity .2s ease !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
html body #toolsMore > button.tool::before { content: '' !important; display: block !important; position: absolute; inset: -5px !important; border-radius: 10px !important; padding: 4px; z-index: 1; pointer-events: none; filter: blur(4px) !important;
  background: conic-gradient(from var(--gm-a), var(--fx-arc)) !important; opacity: 0 !important; transition: opacity .2s ease !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
html body #toolsMore > button.tool:is(:hover, :focus-visible)::after { padding: 1.5px !important; background: conic-gradient(from var(--gm-a), var(--fx-arc)) !important; opacity: 1 !important; animation: gm-turn 2.4s linear infinite !important; }
html body #toolsMore > button.tool:is(:hover, :focus-visible)::before { opacity: .5 !important; animation: gm-turn 2.4s linear infinite !important; }
html body #toolsMore > button.tool:is(:hover, :focus-visible) { background: var(--fx-fill) !important; }
html body #toolsMore > button.tool:is(.on, [aria-pressed="true"])::after { opacity: 1 !important; padding: 1.5px !important; }
html body #toolsMore > button.tool > * { position: relative; z-index: 3; }
html body #toolsMore { overflow: visible; }
html.lite body #toolsMore > button.tool::before { display: none !important; }
html.lite body #toolsMore > button.tool::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html body #toolsMore > button.tool::after, html body #toolsMore > button.tool::before { animation: none !important; } }

html body .gate-internal .gate-steps { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-weight: 600; font-size: 14px; color: var(--text); }
html body .gate-internal .gate-steps b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fx-fill); border: 1px solid var(--fx-fill-line); font-size: 12px; }
html body .gate-internal .mid-row { display: flex; align-items: center; gap: 8px; }
html body .gate-internal .mid-row code { flex: 1; }
html body .gate-internal #gateGo { margin-top: 14px; }


html body .vs-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); cursor: pointer; transition: background-color .15s ease; }
html body .vs-btn:hover { background: color-mix(in srgb, var(--text) 11%, transparent); }
html body .vs-btn:active { background: color-mix(in srgb, var(--text) 16%, transparent); }
html body .vs-btn:focus-visible { outline: 2px solid var(--fx-b); outline-offset: 2px; }
html body .vs-btn .ic { width: 24px; height: 24px; }
html body section.left > .vbar { width: min(620px, 100%); }
html body .vbar .vs-btn { width: 40px; height: 40px; margin-left: 12px; align-self: center; }
html body #omniWrap.vs-has { display: flex; align-items: center; justify-content: center; gap: 12px; }
html body #omniWrap.vs-has > .hero-url.omni { flex: 1; min-width: 0; margin: 0; }
html body #home #omniWrap.vs-has { max-width: 820px; }
html body #omniWrap .vs-btn { width: 48px; height: 48px; }

html body .vs-ov { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; background: rgba(0,0,0,.45); }
html body .vs-ov[hidden] { display: none; }
html body .vs-ov .vs-card { position: relative; width: min(600px, calc(100vw - 32px)); min-height: 300px; padding: 28px 32px 22px; border-radius: 10px ; background: var(--card, var(--panel)); color: var(--text); box-shadow: 0 16px 48px rgba(0,0,0,.35); display: flex; flex-direction: column; animation: vs-in .16s ease-out; }
@keyframes vs-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } }
html body .vs-ov .vs-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
html body .vs-ov .vs-x:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
html body .vs-ov .vs-x .ic { width: 24px; height: 24px; }
html body .vs-ov .vs-msg { font-size: 28px; line-height: 36px; font-weight: 500; min-height: 32px; padding-right: 44px; word-break: break-word; }
html body .vs-ov[data-st="done"] .vs-msg { font-weight: 600; }
html body .vs-ov .vs-sub { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 18px; }
html body .vs-ov .vs-mic-wrap { position: relative; margin: auto auto 0; padding-top: 40px; width: 64px; height: 64px; box-sizing: content-box; display: flex; align-items: flex-end; justify-content: center; }
html body .vs-ov .vs-ring { position: absolute; left: 50%; bottom: 0; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; background: color-mix(in srgb, var(--text) 12%, transparent); transform: scale(calc(1 + var(--lvl, 0) * .9)); transition: transform .08s linear; opacity: 0; }
html body .vs-ov[data-st="listening"] .vs-ring { opacity: 1; }
html body .vs-ov .vs-mic { position: relative; width: 64px; height: 64px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); transition: background-color .15s ease, transform .1s ease; }
html body .vs-ov .vs-mic .ic { width: 28px; height: 28px; }
html body .vs-ov[data-st="listening"] .vs-mic, html body .vs-ov[data-st="busy"] .vs-mic { background: #f00; color: #fff; }
html body .vs-ov[data-st="busy"] .vs-mic { animation: vs-busy 1s ease-in-out infinite; }
@keyframes vs-busy { 50% { transform: scale(.92); } }
html body .vs-ov .vs-mic:active { transform: scale(.95); }
html body .vs-ov .vs-langs { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
html.lite body .vs-ov .vs-ring { transition: none; }
@media (prefers-reduced-motion: reduce) { html body .vs-ov .vs-card, html body .vs-ov[data-st="busy"] .vs-mic { animation: none; } }


html body #toolsRow > button.tool[class], html body #modeSeg[id] > button[data-mode] { border-color: transparent !important; }
html body #toolsRow > button.tool[class]::after, html body #modeSeg[id] > button[data-mode]::after { background: linear-gradient(90deg, var(--fx-rainbow)) !important; opacity: .55 !important; padding: 1px !important; animation: none !important; }
html body #toolsRow > button.tool[class]:is(:hover, :focus-visible)::after, html body #modeSeg[id] > button[data-mode]:is(:hover, :focus-visible)::after { background: conic-gradient(from var(--gm-a), var(--fx-arc)) !important; opacity: 1 !important; padding: 1.5px !important; animation: gm-turn 2.4s linear infinite !important; }
html body #toolsRow > button.tool[class]:is(.on, [aria-pressed="true"])::after, html body #modeSeg[id] > button[data-mode].on::after { opacity: 1 !important; padding: 1.5px !important; }
html body #modeSeg[id] > button[data-mode] { padding: 5px 10px 6px !important; border-bottom: 0 !important; }
html body #modeSeg[id] > button[data-mode]::after { inset: -1px !important; border-radius: 10px !important; }
html body #modeSeg[id] > button[data-mode].on { background: var(--fx-fill) !important; }
html body #modeSeg.has-ind > .tab-ind { opacity: 0 !important; }
html body #modeSeg { gap: 10px !important; }
html.lite body #toolsRow > button.tool[class]::after, html.lite body #modeSeg[id] > button[data-mode]::after { animation: none !important; }

html body .vs-ov .vs-msg.interim { color: var(--muted); font-weight: 400; }
html body .vs-ov .vs-guess { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
html body .vs-ov .vs-guess[hidden] { display: none; }
html body .vs-ov .vs-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 6px ; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 14px; cursor: pointer; }
html body .vs-ov .vs-chip .ic { width: 16px; height: 16px; color: var(--muted); }
html body .vs-ov .vs-chip.on, html body .vs-ov .vs-chip:hover { background: var(--fx-fill); border-color: var(--fx-fill-line); }
html body .vs-ov[data-st="guess"] .vs-mic { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }

html body #transcript .line { content-visibility: auto; contain-intrinsic-size: auto 52px; }
html body #transcript .line.cur { content-visibility: visible; }


html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__) { position: relative; border-color: transparent !important; }
html body #modeSeg > button[data-mode]:not(#_):not(#__) { border-radius: 10px !important; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__)::after {
  content: '' !important; display: block !important; position: absolute; inset: 0 !important; border-radius: inherit !important; padding: 1px !important; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--fx-rainbow)) !important; opacity: .5 !important; animation: none !important; filter: none !important; transition: opacity .2s ease, padding .2s ease !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important; -webkit-mask-composite: xor !important; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0) !important; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__)::before {
  content: '' !important; display: block !important; position: absolute; inset: 0 !important; height: auto !important; border-radius: inherit !important; padding: 2px !important; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--fx-rainbow)) !important; filter: blur(5px) !important; opacity: 0 !important; animation: none !important; transition: opacity .25s ease !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important; -webkit-mask-composite: xor !important; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0) !important; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__):is(:hover, :focus-visible)::after { opacity: 1 !important; padding: 1.5px !important; animation: none !important; background: linear-gradient(90deg, var(--fx-rainbow)) !important; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__):is(:hover, :focus-visible)::before { opacity: .6 !important; animation: none !important; }
html[data-theme="dark"] body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__):is(:hover, :focus-visible)::before { opacity: .75 !important; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__):is(:hover, :focus-visible) { background: var(--fx-fill) !important; }
html body :is(#modeSeg > button[data-mode].on, #toolsRow > button.tool:is(.on, [aria-pressed="true"]), #toolsMore > button.tool:is(.on, [aria-pressed="true"])):not(#_):not(#__)::after { opacity: 1 !important; padding: 1.5px !important; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__) > * { position: relative; z-index: 3; }
html.lite body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill):not(#_):not(#__)::before { display: none !important; }


html body #thinkSeg > button[data-th]:not(#_):not(#__) { position: relative; isolation: isolate; }
html body #thinkSeg > button[data-th]:not(#_):not(#__)::after {
  content: '' !important; display: block !important; position: absolute; inset: 0 !important; border-radius: inherit !important; padding: 1px !important; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--fx-rainbow)) !important; opacity: 0 !important; transition: opacity .2s ease, padding .2s ease !important; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important; -webkit-mask-composite: xor !important; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0) !important; }
html body #thinkSeg > button[data-th]:not(#_):not(#__)::before {
  content: '' !important; display: block !important; position: absolute; inset: 0 !important; border-radius: inherit !important; padding: 2px !important; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--fx-rainbow)) !important; filter: blur(5px) !important; opacity: 0 !important; transition: opacity .25s ease !important; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important; -webkit-mask-composite: xor !important; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0) !important; }
html body #thinkSeg > button[data-th].on:not(#_):not(#__)::after { opacity: .55 !important; }
html body #thinkSeg > button[data-th]:not(#_):not(#__) > * { position: relative; z-index: 3; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill, #thinkSeg > button[data-th]):not(#_):not(#__):is(:hover, :focus-visible)::after {
  opacity: 1 !important; padding: 1.5px !important; background: conic-gradient(from var(--gm-a), var(--fx-rainbow)) !important; animation: gm-turn 2.4s linear infinite !important; }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill, #thinkSeg > button[data-th]):not(#_):not(#__):is(:hover, :focus-visible)::before {
  opacity: .6 !important; background: conic-gradient(from var(--gm-a), var(--fx-rainbow)) !important; animation: gm-turn 2.4s linear infinite !important; }
html[data-theme="dark"] body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill, #thinkSeg > button[data-th]):not(#_):not(#__):is(:hover, :focus-visible)::before { opacity: .8 !important; }
html body #thinkSeg > button[data-th]:not(#_):not(#__):is(:hover, :focus-visible) { background: var(--fx-fill) !important; color: var(--fg-ink, #141414) !important; }
html[data-theme="dark"] body #thinkSeg > button[data-th]:not(#_):not(#__):is(:hover, :focus-visible) { color: #FFE27A !important; }
html.lite body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill, #thinkSeg > button[data-th]):not(#_):not(#__):is(:hover, :focus-visible)::after { animation-duration: 3.2s !important; } 
html.lite body #thinkSeg > button[data-th]:not(#_):not(#__)::before { display: none !important; }
@media (prefers-reduced-motion: reduce) { html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill, #thinkSeg > button[data-th]):not(#_):not(#__):is(:hover, :focus-visible)::after, html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill, #thinkSeg > button[data-th]):not(#_):not(#__):is(:hover, :focus-visible)::before { animation: none !important; background: linear-gradient(90deg, var(--fx-rainbow)) !important; } }
html body :is(#modeSeg > button[data-mode], #toolsRow > button.tool, #toolsMore > button.tool, .tu-sug, .ag-pill, #thinkSeg > button[data-th]):not(#_):not(#__):is(:hover, :focus-visible) { box-shadow: none !important; outline: none !important; } 


:root, html[data-font="app"] {
  --v7-font: "Fias Sans UI", "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Microsoft YaHei UI", system-ui, sans-serif;
  --font: var(--v7-font); --font-display: var(--v7-font);
  --ipa: "Segoe UI", "Lucida Sans Unicode", "Arial Unicode MS", "Fias Sans UI", sans-serif;
}
html[data-font="giggle"] {
  --v7-font: "Fias Round UI", "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Microsoft YaHei UI", system-ui, sans-serif;
  --font: var(--v7-font); --font-display: var(--v7-font); --fias-en: var(--v7-font);
  --ipa: "Segoe UI", "Lucida Sans Unicode", "Arial Unicode MS", "Fias Round UI", sans-serif;
}
html[data-font="app"] body *:not(svg):not(svg *):not(pre):not(pre *):not(code):not(kbd):not(.brand-name):not(.brand-name *):not(.ipa):not(.ipa *):not(.ipa-btn):not(.ph-chip b) { font-family: var(--v7-font) !important; }
html[data-font] body :is(.ipa, .ipa *, .ipa-btn, .ph-chip b, .sm-snd b) { font-family: var(--ipa) !important; }
html[data-font] body :is(pre, pre *, code, kbd) { font-family: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, monospace !important; font-size-adjust: none; }
html[data-font="app"] body { font-feature-settings: "cv05", "cv11", "ss01", "calt", "kern"; font-optical-sizing: auto; text-rendering: optimizeLegibility; letter-spacing: -0.003em; }
html[data-font="app"] body :is(h1, h2) { letter-spacing: -0.018em; } html[data-font="app"] body :is(h3, h4) { letter-spacing: -0.01em; }
html[data-font] body :is(.tu-el, .tu-tok, .tu-speed, .cine-time, .ts, .tl-time, .dur, [data-num]) { font-variant-numeric: tabular-nums; } 

html body #sFont .fs-opt b { font-size: 14px; } html body #sFont .fs-opt small { font-weight: 500; }
html body #sFontW { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body #sFontW { height: auto !important; } html body #sFontW button { height: auto !important; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 4px 8px; font-size: 12px; white-space: nowrap; min-width: 0; }
html body #sFontW .fw-aa { font-size: 16px; line-height: 18px; }
html[data-font] body #sFont .fs-opt[data-fs="app"], html[data-font] body #sFont .fs-opt[data-fs="app"] * { font-family: "Fias Sans UI", "Segoe UI", sans-serif !important; }
html[data-font] body #sFont .fs-opt[data-fs="giggle"], html[data-font] body #sFont .fs-opt[data-fs="giggle"] * { font-family: "Fias Round UI", "Segoe UI", sans-serif !important; }


html body .chat-foot { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
html body .chat-foot > .sp { display: none; }
html body .chat-foot #thinkSeg { order: 0; }
html body .chat-foot .dict-lang { order: 1; margin-left: auto; }
html body .chat-foot .tts-toggle { order: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; white-space: nowrap; min-width: 0; }
html body .chat-foot #dictAutoRow { margin-left: auto; }
html body .chat-foot .tt-ic { display: none; } html body .chat-foot .tt-ic .ic { width: 16px; height: 16px; }
html body .chat-foot .tt-short { display: none; }
html body #chatText::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body #chat .md { overflow-wrap: anywhere; }
html body #chat .md table { display: block; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
html body #chat .md pre { max-width: 100%; overflow-x: auto; }
html body #chat .md img { max-width: 100%; height: auto; }
@media (max-height: 860px) {
  html body aside.right #rightTabs { padding-top: 24px !important; min-height: 0 !important; }
  html body aside.right > .pz { top: 1px !important; transform: scale(.82); transform-origin: top right; }
  html body aside.right > .fp-bar { top: 0 !important; }
  html body aside.right #rightTabs > button { height: 40px !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  html body aside.right #rightTabs > .tab-ind { height: 40px !important; }
  html body aside.right #aiSub { margin-top: 4px !important; margin-bottom: 4px !important; }
  html body aside.right #aiSub > button { padding-top: 4px !important; padding-bottom: 4px !important; }
  html body aside.right .ai-head { padding-top: 6px !important; padding-bottom: 2px !important; gap: 4px !important; }
  html body aside.right .ai-head .ai-top { min-height: 0 !important; }
  html body aside.right #providerChips { min-height: 0 !important; margin: 0 !important; }
  html body aside.right #providerChips .tu-bar { padding-top: 2px !important; padding-bottom: 2px !important; min-height: 32px !important; }
  html body aside.right #quickPrompts { padding-top: 2px !important; padding-bottom: 2px !important; margin: 0 !important; }
  html body aside.right #chatForm { margin-top: 6px !important; margin-bottom: 4px !important; }
  html body aside.right .chat-foot { padding-top: 2px !important; padding-bottom: 6px !important; gap: 4px 8px; }
  html body aside.right .chat-foot .tt-long { display: none; } html body aside.right .chat-foot .tt-short { display: inline; }
}
@media (max-height: 700px) {
  html body aside.right #rightTabs { padding-top: 22px !important; }
  html body aside.right #rightTabs > button { height: 40px !important; }
  html body aside.right #rightTabs > .tab-ind { height: 40px !important; }
  html body aside.right .chat-foot { flex-wrap: nowrap; }
  html body aside.right .chat-foot .tts-toggle { order: 1; } html body aside.right .chat-foot #dictAutoRow { margin-left: 0; }
  html body aside.right .chat-foot .dict-lang { order: 2; margin-left: auto; }
  html body aside.right .chat-foot .tt-short { display: none; } html body aside.right .chat-foot .tt-ic { display: inline-flex; }
  html body aside.right .chat-foot .tts-toggle input { margin: 0; }
}

html body aside.right [data-body="ai"] { container-type: inline-size; }
@container (max-width: 380px) { html body .chat-foot .dict-lang { order: 3; margin-left: 0; } }

@media (max-height: 820px) { html body #practice .dub-dock { max-height: max(220px, calc(100vh - 380px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } }

@media (max-height: 640px) { html body .vs-ov { padding-top: 4vh; } html body .vs-ov .vs-card { min-height: 0; padding: 20px 24px 16px; } html body .vs-ov .vs-mic-wrap { padding-top: 18px; } }
@container (max-width: 430px) { html body aside.right .chat-foot { flex-wrap: wrap !important; } html body aside.right .chat-foot .dict-lang { order: 3 !important; margin-left: 0 !important; } }
@container (max-width: 400px) { html body aside.right #aiModeSeg button[data-mode="web"] > span { display: none; } html body aside.right .ai-top { gap: 4px !important; } }
html body aside.right .ai-top { min-width: 0; } html body aside.right #aiModeSeg { min-width: 0; flex-shrink: 1; }
html body aside.right #providerChips .tu-live { white-space: nowrap; } html body aside.right #providerChips .tu-bar { min-width: 0; }


html body .vx-sec { display: flex; flex-direction: column; gap: 14px; }
html body .vx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
html body .vx-head h4 { margin: 0 0 4px; font: 600 14px/18px var(--v7-font); color: var(--text); }
html body .vx-head p { margin: 0; font-size: 12px; line-height: 17px; color: var(--text-3); max-width: 46ch; }
html body .vx-count { flex: none; padding: 3px 10px; border-radius: 10px ; font: 600 12px var(--v7-font); color: var(--text-2); background: var(--v7-surface-3); }
html body .vx-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px ; overflow: hidden; background: var(--panel); }
html body .vx-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px 8px 14px; cursor: pointer; outline: none; transition: background-color .12s ease; }
html body .vx-row + .vx-row { border-top: 1px solid var(--line); }
html body .vx-row:hover { background: var(--hover); }
html body .vx-row:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
html body .vx-row.on { background: color-mix(in srgb, var(--v7-primary) 14%, var(--panel)); }
html body .vx-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); box-sizing: border-box; transition: border-color .12s ease, box-shadow .12s ease; }
html body .vx-row.on .vx-dot { border-color: var(--v7-ink); box-shadow: inset 0 0 0 3px var(--panel), inset 0 0 0 9px var(--v7-ink); }
html[data-theme="dark"] body .vx-row.on .vx-dot { border-color: var(--v7-primary); box-shadow: inset 0 0 0 3px var(--panel), inset 0 0 0 9px var(--v7-primary); }
html body .vx-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 700 14px var(--v7-font); color: #fff; background: #5F6368; }
html body .vx-av.f { background: #C2185B; } html body .vx-av.m { background: #1967D2; }
html body .vx-av.auto { background: var(--v7-primary); color: var(--v7-ink); }
html body .vx-av.auto::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m11 3 1.9 5.1L18 10l-5.1 1.9L11 17l-1.9-5.1L4 10l5.1-1.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .vx-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body .vx-t b { font: 600 14px/18px var(--v7-font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .vx-t small { font-size: 12px; line-height: 16px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .vx-tag { flex: none; padding: 2px 8px; border-radius: 10px ; font: 600 12px var(--v7-font); color: var(--v7-ok); background: var(--v7-add); }
html body .vx-play { flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--panel); color: var(--text); cursor: pointer; transition: background-color .12s ease, border-color .12s ease; }
html body .vx-play .ic { width: 16px; height: 16px; }
html body .vx-play:hover { background: var(--v7-primary); border-color: var(--v7-primary); color: var(--v7-ink); }
html body .vx-play.playing { background: var(--v7-primary); border-color: var(--v7-primary); color: var(--v7-ink); animation: vxPulse 1s ease-in-out infinite; }
@keyframes vxPulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--v7-primary) 35%, transparent); } }
html body .vx-empty { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px ; font-size: 12px; color: var(--text-2); background: var(--v7-surface-2); }
html body .vx-empty .ic { flex: none; width: 16px; height: 16px; color: var(--v7-warn); }
html body .vx-rate { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
html body .vx-rate label { font: 600 14px var(--v7-font); color: var(--text); }
html body .vx-rate .row { display: flex; align-items: center; gap: 10px; }
html body .vx-rate input[type=range] { flex: 1; min-width: 0; }
html body .vx-rate .vx-r-l { font-size: 12px; color: var(--text-3); }
html body .vx-rate b { min-width: 46px; text-align: right; font-variant-numeric: tabular-nums; }
html body .vx-more { border: 1px solid var(--line); border-radius: 10px ; padding: 0 12px; }
html body .vx-more summary { display: flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; font: 600 14px var(--v7-font); color: var(--text-2); list-style: none; }
html body .vx-more summary::-webkit-details-marker { display: none; }
html body .vx-more summary .ic { width: 16px; height: 16px; transition: rotate .15s ease; }
html body .vx-more[open] summary .ic { rotate: 45deg; }
html body .vx-more ol { margin: 0 0 12px; padding-left: 20px; font-size: 12px; line-height: 19px; color: var(--text-2); }
html.lite body .vx-play.playing { animation: none; }


html body .msg.ai.tu-instant .tu-body > p:first-child { font-size: 14px; }
html body .tu-inst-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
html body .tu-inst-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-3); }
html body .tu-inst-tag .ic { width: 16px; height: 16px; color: var(--v7-warn); }
html body .tu-inst-tag b { color: var(--text-2); font-weight: 600; }
html body .tu-inst-acts { display: inline-flex; flex-wrap: wrap; gap: 6px; }
html body .tu-inst-acts .ic { width: 16px; height: 16px; }


html body .vbar .vb-list { left: 0; right: auto; width: auto; padding: 0; border-radius: 10px ; overscroll-behavior: contain; scrollbar-gutter: stable; box-shadow: 0 16px 40px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .08); }
html[data-theme="dark"] body .vbar .vb-list { background: #242526; border-color: #3C4043; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
html body .vbar .vb-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 8px 6px 16px; background: inherit; border-bottom: 1px solid var(--line); }
html body .vbar .vb-list > .vb-head { background: var(--panel); }
html[data-theme="dark"] body .vbar .vb-list > .vb-head { background: #242526; }
html body .vbar .vb-q { min-width: 0; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .vbar .vb-q b { color: var(--text); font-weight: 600; }
html body .vbar .vb-views { flex: none; display: inline-flex; padding: 2px; border-radius: 10px ; background: var(--v7-surface-3); }
html body .vbar .vb-views button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px ; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text-3); cursor: pointer; }
html body .vbar .vb-views button .ic { width: 16px; height: 16px; }
html body .vbar .vb-views button:hover { color: var(--text); }
html body .vbar .vb-views button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
html body .vbar .vb-rows { display: flex; flex-direction: column; padding: 6px; }
html body .vbar .vb-rows .vb-it { gap: 14px; padding: 7px 8px; align-items: flex-start; }
html body .vbar .vb-rows .vb-th { width: 148px; border-radius: 10px ; }
html body .vbar .vb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 6px 4px; padding: 8px; }
html body .vbar .vb-grid .vb-it { flex-direction: column; gap: 8px; padding: 6px 6px 10px; }
html body .vbar .vb-grid .vb-th { width: 100%; border-radius: 10px ; }
html body .vbar .vb-it { position: relative; transition: background-color .12s ease; }
html body .vbar .vb-it.on { background: color-mix(in srgb, var(--v7-primary) 16%, transparent) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--v7-primary) 80%, var(--text)); }
html body .vbar .vb-th img { transition: transform .25s var(--v7-ease); }
html body .vbar .vb-it:hover .vb-th img { transform: scale(1.04); }
html body .vbar .vb-tx { gap: 4px; padding-top: 1px; }
html body .vbar .vb-tx b { font-size: 14px; line-height: 19px; }
html body .vbar .vb-tx small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; color: var(--text-3); }
html body .vbar .vb-bs { display: flex; gap: 4px; margin-top: 2px; }
html body .vbar .vb-b { padding: 1px 5px; border-radius: 4px ; font: 700 12px/17px var(--v7-font); font-style: normal; color: var(--text-2); background: var(--v7-surface-3); }
html body .vbar .vb-b.live { color: #fff; background: #CC0000; }
html body .vbar .vb-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; }
html body .vbar .vb-empty .ic { width: 24px; height: 24px; opacity: .6; }
html body .vbar .vb-end { padding: 4px 0 14px; text-align: center; font-size: 12px; color: var(--text-3); }
html body .vbar .vb-sk { pointer-events: none; }
html body .vbar .vb-sk .vb-th, html body .vbar .vb-sk .vb-tx b, html body .vbar .vb-sk .vb-tx small { background: linear-gradient(90deg, var(--v7-surface-3) 25%, color-mix(in srgb, var(--v7-surface-3) 40%, var(--panel)) 50%, var(--v7-surface-3) 75%); background-size: 200% 100%; animation: vbSk 1.2s linear infinite; border-radius: 6px ; }
html body .vbar .vb-sk .vb-tx { flex: 1; } html body .vbar .vb-sk .vb-tx b { display: block; height: 13px; width: 92%; } html body .vbar .vb-sk .vb-tx b.s { width: 64%; } html body .vbar .vb-sk .vb-tx small { display: block; height: 11px; width: 40%; }
@keyframes vbSk { to { background-position: -200% 0; } }
html.lite body .vbar .vb-sk * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html body .vbar .vb-sk * { animation: none !important; } html body .vbar .vb-it:hover .vb-th img { transform: none; } }


html body #phoneModal { width: min(700px, 94vw); }
html body #phoneModal .modal-h h2 { display: inline-flex; align-items: center; gap: 10px; }
html body #phoneModal .modal-h h2 .ic { width: 24px; height: 24px; }
html body .pl { display: flex; flex-direction: column; gap: 18px; }
html body .pl-main { display: grid; grid-template-columns: 252px 1fr; gap: 26px; align-items: start; }
html body .pl-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 300px; }
html body .pl-qr-sk { width: 236px; height: 236px; border-radius: 10px ; background: linear-gradient(90deg, var(--v7-surface-3) 25%, color-mix(in srgb, var(--v7-surface-3) 40%, var(--panel)) 50%, var(--v7-surface-3) 75%); background-size: 200% 100%; animation: vbSk 1.2s linear infinite; }
html body .pl-qr-img { position: relative; padding: 10px; border-radius: 10px ; background: #fff; border: 1px solid #E3E3E3; box-shadow: 0 6px 22px rgba(0, 0, 0, .10); line-height: 0; }
html body .pl-qr-img svg { display: block; border-radius: 6px ; }
html body .pl-qr-logo { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 6px ; display: flex; align-items: center; justify-content: center; font: 900 16px/16px "Fias Nunito", "Nunito", var(--v7-font); color: #141414; background: #FFD21F; box-shadow: 0 0 0 4px #fff; }
html body .pl-qr-over { position: absolute; inset: 0; border-radius: 10px ; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(255, 255, 255, .93); line-height: 1.4; backdrop-filter: blur(2px); }
html body .pl-qr-over p { margin: 0; font: 600 14px var(--v7-font); color: #1F1F1F; }
html body .pl-code { display: flex; align-items: center; gap: 4px; }
html body .pl-code code { font: 700 20px/20px var(--v7-mono); letter-spacing: .08em; color: var(--text); background: none; padding: 4px 6px; user-select: all; }
html body .pl-code .icon-btn .ic { width: 16px; height: 16px; }
html body .pl-timer { width: 236px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
html body .pl-bar { flex: 1; height: 4px; border-radius: 4px; overflow: hidden; background: var(--v7-surface-3); }
html body .pl-bar i { display: block; height: 100%; background: var(--v7-primary); transform-origin: left; transition: transform 1s linear; }
html body .pl-link { border: 0; padding: 0; background: none; font: 600 12px var(--v7-font); color: var(--accent); cursor: pointer; }
html body .pl-link:hover { text-decoration: underline; }
html body .pl-qr-err { width: 236px; min-height: 236px; padding: 18px; box-sizing: border-box; border: 1px dashed var(--line-2); border-radius: 10px ; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
html body .pl-qr-err > .ic { width: 24px; height: 24px; color: var(--v7-warn); }
html body .pl-qr-err p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
html body .pl-done { width: 236px; min-height: 236px; padding: 18px; box-sizing: border-box; border-radius: 10px ; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: color-mix(in srgb, var(--v7-ok) 9%, var(--panel)); border: 1px solid color-mix(in srgb, var(--v7-ok) 30%, transparent); }
html body .pl-done-ic { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--v7-ok); color: #fff; margin-bottom: 6px; animation: plPop .35s var(--v7-ease); }
html body .pl-done-ic .ic { width: 28px; height: 28px; stroke-width: 2.5; }
html body .pl-done b { font: 700 16px var(--v7-font); color: var(--text); }
html body .pl-done > span:not(.pl-done-ic) { font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
@keyframes plPop { from { transform: scale(.4); opacity: 0; } }
html body .pl-side { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
html body .pl-steps { list-style: none; margin: 0; padding: 0; counter-reset: pl; display: flex; flex-direction: column; gap: 16px; }
html body .pl-steps li { counter-increment: pl; position: relative; padding-left: 40px; display: flex; flex-direction: column; gap: 3px; }
html body .pl-steps li::before { content: counter(pl); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 14px var(--v7-font); color: var(--v7-ink); background: var(--v7-primary); }
html body .pl-steps b { font: 600 14px/19px var(--v7-font); color: var(--text); }
html body .pl-steps small { font-size: 12px; line-height: 17px; color: var(--text-3); }
html body .pl-state { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px ; font-size: 14px; font-weight: 500; color: var(--text-2); background: var(--v7-surface-2); border: 1px solid var(--line); }
html body .pl-state .ic { flex: none; width: 20px; height: 20px; }
html body .pl-state.ok { color: var(--v7-add-t); background: var(--v7-add); border-color: transparent; }
html body .pl-state.err { color: var(--v7-warn); }
html body .pl-spin { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--text) 18%, transparent); border-top-color: var(--accent); animation: plSpin .8s linear infinite; }
@keyframes plSpin { to { transform: rotate(360deg); } }
html body .pl-devs h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 600 14px var(--v7-font); color: var(--text); }
html body .pl-seats { padding: 1px 8px; border-radius: 10px ; font: 600 12px var(--v7-font); color: var(--text-2); background: var(--v7-surface-3); }
html body .pl-devs ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px ; overflow: hidden; }
html body .pl-devs li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; }
html body .pl-devs li + li { border-top: 1px solid var(--line); }
html body .pl-dev-ic { flex: none; width: 34px; height: 34px; border-radius: 6px ; display: flex; align-items: center; justify-content: center; background: var(--v7-surface-3); color: var(--text-2); }
html body .pl-dev-ic .ic { width: 20px; height: 20px; }
html body .pl-dev-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body .pl-dev-t b { font: 600 14px var(--v7-font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .pl-dev-t small { font-size: 12px; color: var(--text-3); }
html body .pl-ask { display: inline-flex; gap: 6px; }
html body .pl-ask .danger { color: #fff !important; background: var(--v7-err) !important; border-color: var(--v7-err) !important; }
html body .pl-empty { margin: 0; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 10px ; font-size: 14px; color: var(--text-3); }
html body .pl-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 12px; line-height: 18px; color: var(--text-3); }
html body .pl-note .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--v7-ok); }
html body .pl-entry .btn-grad { display: inline-flex; align-items: center; gap: 6px; } html body .pl-entry .btn-grad .ic { width: 16px; height: 16px; }
@media (max-width: 640px) { html body .pl-main { grid-template-columns: 1fr; justify-items: center; } }
html.lite body .pl-qr-sk, html.lite body .pl-spin { animation-duration: 2.4s; }
@media (prefers-reduced-motion: reduce) { html body .pl-done-ic { animation: none; } html body .pl-bar i { transition: none; } }


html body section.left > .vbar { width: min(700px, 100%); }
html body .vbar .vb-nav { flex: none; display: inline-flex; align-items: center; gap: 2px; margin-right: 10px; }
html body .vbar .vb-nb { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text); cursor: pointer; transition: background-color .12s ease; }
html body .vbar .vb-nb .ic { width: 20px; height: 20px; }
html body .vbar .vb-nb:hover:not(:disabled) { background: color-mix(in srgb, var(--text) 8%, transparent); }
html body .vbar .vb-nb:disabled { color: var(--muted); opacity: .45; cursor: default; }
html body .vbar .vb-ch { flex: none; display: inline-flex; align-items: center; gap: 5px; max-width: 168px; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 13px; background: transparent; color: var(--text-2); font: 500 12px var(--v7-font); cursor: pointer; white-space: nowrap; }
html body .vbar .vb-ch span { overflow: hidden; text-overflow: ellipsis; }
html body .vbar .vb-ch .ic { flex: none; width: 16px; height: 16px; }
html body .vbar .vb-ch:hover { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
html body .vbar .vb-ch.on { border-color: transparent; background: var(--v7-ink); color: #fff; }
html[data-theme="dark"] body .vbar .vb-ch.on { background: #E8EAED; color: #141414; }
html body .vbar .vb-ch.on i { display: inline-flex; margin-left: 1px; opacity: .75; } html body .vbar .vb-ch.on i .ic { width: 12px; height: 12px; }
html body .vbar .vb-ch:not(.on) i { display: none; }
html body .vbar .vb-box:not(:focus-within) .vb-ch:not(.on) { opacity: .85; }

html body .vbar .vb-list.v-sug { padding: 8px 0; }
html body .vbar .vb-sh { padding: 2px 16px 6px; font: 600 12px var(--v7-font); letter-spacing: .03em; text-transform: uppercase; color: var(--text-3); }
html body .vbar .vb-sg { display: flex; align-items: center; gap: 14px; min-height: 34px; padding: 0 8px 0 16px; cursor: pointer; color: var(--text); font-size: 14px; }
html body .vbar .vb-sg > .ic { flex: none; width: 16px; height: 16px; color: var(--text-3); }
html body .vbar .vb-sg > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
html body .vbar .vb-sg > span b { font-weight: 650; }
html body .vbar .vb-sg:is(:hover, .on) { background: color-mix(in srgb, var(--text) 6%, transparent); }
html body .vbar .vb-sx { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text-3); cursor: pointer; opacity: 0; }
html body .vbar .vb-sx .ic { width: 16px; height: 16px; }
html body .vbar .vb-sg:is(:hover, .on) .vb-sx { opacity: 1; }
html body .vbar .vb-sx:hover { background: color-mix(in srgb, var(--text) 9%, transparent); color: var(--text); }

html body .vbar .vb-th .vb-lv { position: absolute; left: 5px; top: 5px; z-index: 1; }
html body .vbar .vb-lv { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 19px; padding: 0 5px; border-radius: 6px ; font: 800 12px/12px var(--v7-font); font-style: normal; letter-spacing: .02em; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
html body .vbar .vb-lv.lv-a { background: #188038; } html body .vbar .vb-lv.lv-b { background: #1967D2; } html body .vbar .vb-lv.lv-c { background: #8430CE; }
html body .vbar .vb-lv.lv-lang { background: rgba(0,0,0,.72); }
html body .vbar .vb-lv.est { opacity: .78; }
html body .vbar .vb-lv.lv-wait { min-width: 26px; background: rgba(0,0,0,.28); box-shadow: none; }
html body .vbar .vb-lv.lv-wait::after { content: ''; width: 10px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.75); animation: vbLv 1s ease-in-out infinite; }
@keyframes vbLv { 50% { opacity: .25; } }
html body .vbar .vb-lvkey { display: inline-flex; gap: 3px; margin-left: auto; margin-right: 10px; cursor: help; }
html body .vbar .vb-lvkey .vb-lv { min-width: 19px; height: 17px; font-size: 12px; box-shadow: none; }
@media (max-width: 760px) { html body .vbar .vb-lvkey { display: none; } }
html.lite body .vbar .vb-lv.lv-wait::after { animation: none; }


html body :is(.ag-pill, .ag-chip, .ag-card, .v7-agmenu button):not(#_):not(#__):not(#___)::after,
html body :is(.ag-pill, .ag-chip, .ag-card, .v7-agmenu button):not(#_):not(#__):not(#___)::before { content: none !important; display: none !important; animation: none !important; }
html body .ag-pill:not(#_):not(#__):not(#___) { border: 1px solid var(--line) !important; background: var(--panel) !important; box-shadow: none !important; }
html body .ag-pill:not(#_):not(#__):not(#___):is(:hover, :focus-visible) { border-color: var(--line-2) !important; background: var(--v7-surface-2) !important; }
html body :is(.ag-orb, .ag-orbit):not(#_) { display: none !important; }


html body .smap.gp { gap: 14px; }
html body .gp-goal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html body .gp-goal > b { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; margin-right: 2px; }
html body .gp-goal > b .ic { width: 20px; height: 20px; color: var(--v7-primary); }
html body .gp-goal select, html body .gp-goal input[type="date"] { height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px ; background: var(--panel); color: var(--text); font: 500 14px/14px var(--v7-font); }
html body .gp-dl { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; }
html body .gp-dl .ic { width: 16px; height: 16px; }
html body .gp-hero { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px ; background: var(--panel); }
html body .gp-hero.ok { border-color: color-mix(in srgb, var(--v7-ok) 40%, var(--line)); }
html body .gp-hero.warn { border-color: color-mix(in srgb, var(--v7-warn) 45%, var(--line)); }
html body .gp-hero.bad { border-color: color-mix(in srgb, var(--v7-err) 45%, var(--line)); }
html body .gp-bands { display: flex; align-items: flex-end; gap: 10px; }
html body .gp-bands span { display: flex; flex-direction: column; gap: 2px; }
html body .gp-bands small { color: var(--text-3); font-size: 12px; }
html body .gp-bands b { font: 600 28px/28px var(--v7-font); letter-spacing: -.5px; }
html body .gp-bands .tg b { color: var(--v7-primary); }
html body .gp-bands em { font-style: normal; font-size: 12px; color: var(--v7-warn); }
html body .gp-bands > i { color: var(--text-3); padding-bottom: 6px; } html body .gp-bands > i .ic { width: 20px; height: 20px; }
html body .gp-track { position: relative; height: 8px; margin: 16px 0 18px; border-radius: 4px; background: color-mix(in srgb, var(--text) 9%, transparent); }
html body .gp-track .fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px ; background: var(--v7-primary); }
html body .gp-track s { position: absolute; top: -4px; width: 3px; height: 16px; margin-left: -1px; border-radius: 2px ; background: var(--text); text-decoration: none; }
html body .gp-track u { position: absolute; top: 12px; transform: translateX(-50%); text-decoration: none; }
html body .gp-track u small { font-size: 12px; color: var(--text-3); }
html body .gp-ver p { margin: 0 0 10px; font-size: 14px; line-height: 21px; color: var(--text); }
html body .gp-kpis { display: flex; flex-wrap: wrap; gap: 8px; }
html body .gp-kpi { display: flex; flex-direction: column; min-width: 92px; padding: 8px 12px; border-radius: 10px ; background: color-mix(in srgb, var(--text) 4%, transparent); }
html body .gp-kpi b { font: 600 20px/22px var(--v7-font); }
html body .gp-kpi small { font-size: 12px; color: var(--text-2); }
html body .gp-kpi.main b { color: var(--v7-primary); }
html body .gp-kpi.ok b { color: var(--v7-ok); } html body .gp-kpi.warn b { color: var(--v7-warn); }
html body .gp-planb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html body .gp-planb .btn .ic, html body .gp-planb .btn-grad .ic { width: 16px; height: 16px; }

html body .gp-mission ol { list-style: none; margin: 10px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body .gp-prog { display: block; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
html body .gp-prog u { display: block; height: 100%; background: var(--v7-ok); transition: width .3s var(--v7-ease); }
html body .gp-step { display: grid; grid-template-columns: 26px 30px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px ; border: 1px solid var(--line); }
html body .gp-step.done { background: color-mix(in srgb, var(--v7-ok) 6%, transparent); }
html body .gp-step.done .gp-st b { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text) 35%, transparent); color: var(--text-2); }
html body .gp-tick { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid var(--text-3); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; }
html body .gp-tick[aria-pressed="true"] { border-color: var(--v7-ok); background: var(--v7-ok); }
html body .gp-tick .ic { width: 16px; height: 16px; }
html body .gp-st { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .gp-st b { font-size: 14px; font-weight: 600; }
html body .gp-st small { font-size: 12px; color: var(--text-2); line-height: 16px; }
html body .gp-step .btn.primary { background: var(--v7-primary); color: #fff; border-color: transparent; }
html body .gp-step .btn .ic { width: 16px; height: 16px; }

html body .gp-pbar { position: relative; display: flex; gap: 3px; margin: 12px 0 8px; }
html body .gp-ph { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 6px ; background: color-mix(in srgb, var(--text) 5%, transparent); }
html body .gp-ph b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .gp-ph small { font-size: 12px; color: var(--text-3); }
html body .gp-ph.past { opacity: .55; }
html body .gp-ph.cur { background: var(--v7-sel); } html body .gp-ph.cur b { color: var(--v7-sel-t); }
html body .gp-here { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--v7-err); border-radius: 1px ; }
html body .gp-pnow { margin: 4px 0 0; font-size: 14px; color: var(--text-2); line-height: 21px; }
html body .gp-pnow b { color: var(--text); }
html body .gp-ags { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 8px; vertical-align: middle; }
html body .gp-ag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); }
html body .gp-ag b { font-weight: 500; }

html body .gp-row { display: grid; grid-template-columns: 170px 1fr 70px 60px; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
html body .gp-row:first-of-type { border-top: 0; }
html body .gp-rn { display: flex; align-items: center; gap: 7px; min-width: 0; }
html body .gp-rn b { font-size: 14px; font-weight: 600; } html body .gp-rn small { font-size: 12px; color: var(--text-3); }
html body .gp-rb { position: relative; height: 6px; border-radius: 3px ; background: color-mix(in srgb, var(--text) 9%, transparent); }
html body .gp-rb i { position: absolute; inset: 0 auto 0 0; border-radius: 3px ; background: var(--v7-primary); }
html body .gp-rb s { position: absolute; top: -4px; width: 2px; height: 14px; margin-left: -1px; background: var(--text); border-radius: 1px ; text-decoration: none; }
html body .gp-row.miss .gp-rb i { display: none; }
html body .gp-rv { display: flex; align-items: baseline; gap: 4px; justify-content: flex-end; } html body .gp-rv b { font-size: 14px; }
html body .gp-rv small { font-size: 12px; color: var(--v7-warn); }
html body .gp-rv em { font-style: normal; font-size: 12px; } html body .gp-rv em.up { color: var(--v7-ok); } html body .gp-rv em.down { color: var(--v7-err); }
html body .gp-rm { text-align: right; } html body .gp-rm b { font-size: 14px; } html body .gp-rm small { font-size: 12px; color: var(--text-3); margin-left: 2px; }

html body .gp-loop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 14px; border-radius: 10px ; background: color-mix(in srgb, var(--text) 4%, transparent); font-size: 12px; }
html body .gp-loop span { display: inline-flex; align-items: center; gap: 5px; } html body .gp-loop span b { font-weight: 500; }
html body .gp-loop > .ic { width: 16px; height: 16px; color: var(--text-3); }
html body .gp-loop small { flex-basis: 100%; color: var(--text-2); font-size: 12px; }
html body .gp-empty { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 10px ; }
html body .gp-empty h3 { margin: 0 0 6px; font-size: 16px; } html body .gp-empty p { margin: 0 0 12px; color: var(--text-2); font-size: 14px; line-height: 21px; }
html body .gp-det { border: 1px solid var(--line); border-radius: 10px ; padding: 0 14px; }
html body .gp-det > summary { display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; }
html body .gp-det > summary::-webkit-details-marker { display: none; }
html body .gp-det > summary .ic { width: 16px; height: 16px; color: var(--text-2); }
html body .gp-det[open] { padding-bottom: 14px; } html body .gp-det[open] > .sm-cols, html body .gp-det[open] > .sm-card { margin-top: 10px; }
@media (max-width: 760px) { html body .gp-hero { grid-template-columns: 1fr; } html body .gp-row { grid-template-columns: 120px 1fr 54px 50px; } html body .gp-step { grid-template-columns: 24px 26px 1fr; } html body .gp-step > .btn { grid-column: 3; justify-self: start; } }

html body .hb-pilot { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px ; background: var(--panel); text-align: left; color: var(--text); font: inherit; cursor: pointer; }
html body .hb-pilot:hover { background: color-mix(in srgb, var(--text) 3%, var(--panel)); }
html body .hb-pilot.add { flex-direction: row; align-items: center; gap: 10px; }
html body .hb-pilot.add > span { display: flex; flex-direction: column; gap: 2px; flex: 1; } html body .hb-pilot.add small { color: var(--text-2); font-size: 12px; }
html body .hb-pilot .hp-top { display: flex; align-items: center; gap: 8px; }
html body .hb-pilot .hp-top > .ic { width: 16px; height: 16px; color: var(--v7-primary); }
html body .hb-pilot .hp-top b { font-size: 14px; } html body .hb-pilot .hp-top span { color: var(--text-2); font-size: 12px; }
html body .hb-pilot .hp-v { margin-left: auto; padding: 2px 8px; border-radius: 10px ; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text-2); white-space: nowrap; }
html body .hb-pilot .hp-v.ok { background: color-mix(in srgb, var(--v7-ok) 14%, transparent); color: var(--v7-ok); }
html body .hb-pilot .hp-v.warn { background: color-mix(in srgb, var(--v7-warn) 16%, transparent); color: var(--v7-warn); }
html body .hb-pilot .hp-v.bad { background: color-mix(in srgb, var(--v7-err) 14%, transparent); color: var(--v7-err); }
html body .hb-pilot .hp-bar { position: relative; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--text) 9%, transparent); }
html body .hb-pilot .hp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px ; background: var(--v7-ok); }
html body .hb-pilot .hp-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-2); }
html body .hb-pilot .hp-next { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 10px ; background: color-mix(in srgb, var(--text) 4%, transparent); }
html body .hb-pilot .hp-next > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
html body .hb-pilot .hp-next b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .hb-pilot .hp-next small { font-size: 12px; color: var(--text-2); }
html body .hb-pilot .hp-go { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 10px ; background: var(--v7-primary); color: #fff; font-size: 12px; font-weight: 600; }
html body .hb-pilot .hp-go .ic { width: 12px; height: 12px; }
html body #tuHub .hb-pw { padding: 0 16px; margin: 4px 0 8px; }
html body #tuHub.pilot-on #coachCard { display: none !important; }
html body .hb-pilot .hp-top b { white-space: nowrap; }
html body .hb-pilot .hp-meta span:last-child { text-align: right; }
html body .hb-pilot .hp-meta span { white-space: nowrap; }


html body #tuHub .hb-mo:empty { display: none; }
html body #tuHub .hb-mo { margin-top: 8px; }
html body .mo-next { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px ; border: 1px solid var(--line); background: var(--panel); }
html body .mo-next.ready { border-color: color-mix(in srgb, var(--v7-warn) 45%, var(--line)); background: color-mix(in srgb, #FBBC04 8%, var(--panel)); }
html body .mo-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, #FBBC04 18%, transparent); color: #B06000; }
html[data-theme="dark"] body .mo-ic { color: #FDD663; }
html body .mo-ic .ic { width: 16px; height: 16px; }
html body .mo-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
html body .mo-t b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .mo-t i { display: block; height: 4px; border-radius: 2px ; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
html body .mo-t i u { display: block; height: 100%; background: #FBBC04; border-radius: 2px ; }
html body .mo-go { flex: none; padding: 5px 11px; border: 0; border-radius: 10px ; background: var(--v7-primary); color: #fff; font: 600 12px/12px var(--v7-font); cursor: pointer; }
html body .mo-nudge { position: fixed; right: 18px; bottom: 34px; z-index: 900; width: min(380px, calc(100vw - 32px)); display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px;
  border-radius: 10px ; background: var(--panel); color: var(--text); border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(0, 0, 0, .16); opacity: 0; transform: translateY(10px); transition: opacity .2s var(--v7-ease), transform .2s var(--v7-ease); }
html body .mo-nudge.on { opacity: 1; transform: none; }
html body .mo-nic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, #FBBC04 18%, transparent); color: #B06000; }
html[data-theme="dark"] body .mo-nic { color: #FDD663; }
html body .mo-nic .ic { width: 20px; height: 20px; }
html body .mo-nt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body .mo-nt b { font-size: 14px; font-weight: 600; line-height: 19px; } html body .mo-nt small { font-size: 12px; color: var(--text-2); line-height: 16px; }
html body .mo-nb { flex: none; padding: 7px 12px; border: 0; border-radius: 10px ; background: var(--v7-primary); color: #fff; font: 600 12px/12px var(--v7-font); cursor: pointer; }
html body .mo-nx { flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
html body .mo-nx:hover { background: color-mix(in srgb, var(--text) 8%, transparent); } html body .mo-nx .ic { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { html body .mo-nudge { transition: none; } }


html body section.left > .vbar { z-index: 5; }
html body section.left > .vbar.open, html body section.left > .vbar:focus-within { z-index: 70; }
html body:has(.drawer:not([hidden]):not(.hidden)) section.left > .vbar:not(:focus-within) { z-index: 5; }
html body .unit-progress .um-pop { z-index: 320; }


html body .rc-lead { margin: 0 0 12px; color: var(--text-2); font-size: 14px; }
html body .rc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body .rc-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px ; }
html body .rc-st { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: color-mix(in srgb, var(--text) 10%, transparent); }
html body .rc-st .ic { width: 16px; height: 16px; }
html body .rc-row.ok .rc-st { background: var(--v7-ok); } html body .rc-row.warn .rc-st { background: var(--v7-warn); } html body .rc-row.bad .rc-st { background: var(--v7-err); }
html body .rc-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } html body .rc-t b { font-size: 14px; font-weight: 600; }
html body .rc-t small { font-size: 12px; color: var(--text-2); line-height: 17px; } html body .rc-row.bad .rc-t small { color: var(--v7-err); }
html body .rc-ms { font: 500 12px var(--v7-mono, monospace); color: var(--text-3); }
html body .rc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 14px; }


html body .g-ed { position: relative; }
html body .g-ed .g-sentence { outline: none; border-radius: 10px ; padding-right: 40px; cursor: text; transition: box-shadow .15s var(--v7-ease); }
html body .g-ed .g-sentence:hover { box-shadow: inset 0 0 0 1px var(--line); }
html body .g-ed .g-sentence:focus { box-shadow: inset 0 0 0 2px var(--v7-primary); }
html body .g-pen { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; }
html body .g-pen .ic { width: 16px; height: 16px; }
html body #gStudio:empty { display: none; }
html body #gStudio { margin: 8px 0 4px; display: flex; flex-direction: column; gap: 6px; }
html body .gs-row { display: flex; flex-wrap: wrap; gap: 6px; }
html body .gs-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 5px 10px; border-radius: 10px ; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 500 12px/16px var(--v7-font); cursor: pointer; text-align: left; }
html body .gs-chip:hover { background: color-mix(in srgb, var(--text) 5%, var(--panel)); }
html body .gs-chip .ic { flex: none; width: 16px; height: 16px; color: var(--v7-primary); }
html body .gs-chip.ai .ic { color: #A142F4; }
html body .gs-chip.ghost { border-style: dashed; color: var(--text-2); }
html body .gs-chip[disabled] { opacity: .7; cursor: default; }
html body .gs-note { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 12px; line-height: 17px; color: var(--text-2); }
html body .gs-note .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--text-3); }
html body .gs-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px ; background: color-mix(in srgb, #FBBC04 10%, var(--panel)); border: 1px solid color-mix(in srgb, #FBBC04 35%, var(--line)); }
html body .gs-apply[hidden] { display: none; }
html body .gs-apply > span { flex: 1 1 100%; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
html body .gs-apply > span .ic { width: 16px; height: 16px; }
html body .gs-apply .btn.primary { background: var(--v7-primary); color: #fff; border-color: transparent; }
html body .gs-prev p { margin: 0 0 10px; font-size: 14px; color: var(--text-2); line-height: 21px; }
html body .gs-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 17px; }
html body .gs-diff span { display: block; padding: 2px 0; }
html body .gs-diff .old { color: var(--text-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--v7-err) 50%, transparent); }
html body .gs-diff .new span { color: var(--text); }
html body .gs-prev-b { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
html body #transcript .line.edited .tx-src::after, html body #transcript .line[data-edited] .tx::after { content: ' ✎'; color: var(--text-3); font-size: .85em; }
