:root {
    --ttl-bg: #101015;
    --ttl-panel: rgba(18, 16, 24, .82);
    --ttl-panel-solid: #17151d;
    --ttl-panel-soft: rgba(255, 255, 255, .075);
    --ttl-line: rgba(255, 255, 255, .12);
    --ttl-line-strong: rgba(255, 255, 255, .18);
    --ttl-text: #fff;
    --ttl-muted: rgba(255, 255, 255, .64);
    --ttl-gold: #e2bf78;
    --ttl-gold-2: #f7dda5;
    --ttl-accent: #fe2c55;
    --ttl-accent-2: var(--ttl-gold);
    --ttl-good: #55d6a0;
    --ttl-violet: #7aa7ff;
    --ttl-danger: #f05b70;
    --ttl-radius: 22px;
    --ttl-radius-sm: 14px;
    --ttl-shadow: 0 22px 70px rgba(0, 0, 0, .46);
    --ttl-blur: blur(22px) saturate(135%);
    --ttl-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
}

.ttl-standalone-root, .ttl-native-root {
    color-scheme: dark;
    color: var(--ttl-text);
    font-family: var(--font, inherit);
}
.ttl-standalone-root *, .ttl-native-root * { box-sizing: border-box; }
.ttl-standalone-root {
    background:
        radial-gradient(circle at 15% -10%, color-mix(in srgb, var(--ttl-accent) 14%, transparent), transparent 35%),
        radial-gradient(circle at 95% 10%, rgba(226, 191, 120, .12), transparent 32%),
        var(--ttl-bg);
}
.ttl-standalone-root button, .ttl-native-root button,
.ttl-standalone-root input, .ttl-native-root input,
.ttl-standalone-root textarea, .ttl-native-root textarea,
.ttl-standalone-root select, .ttl-native-root select { font: inherit; }
.ttl-standalone-root button, .ttl-native-root button { color: inherit; }
.ttl-standalone-root button, .ttl-native-root button,
.ttl-standalone-root select, .ttl-native-root select { -webkit-tap-highlight-color: transparent; }
.ttl-standalone-root button:focus-visible, .ttl-native-root button:focus-visible,
.ttl-standalone-root input:focus-visible, .ttl-native-root input:focus-visible,
.ttl-standalone-root textarea:focus-visible, .ttl-native-root textarea:focus-visible,
.ttl-standalone-root select:focus-visible, .ttl-native-root select:focus-visible,
.ttl-standalone-root [tabindex]:focus-visible, .ttl-native-root [tabindex]:focus-visible {
    outline: 2px solid var(--ttl-gold-2);
    outline-offset: 3px;
}
.ttl-standalone-root button:disabled, .ttl-native-root button:disabled { cursor: not-allowed; opacity: .42; }
.ttl-standalone-root [hidden], .ttl-native-root [hidden] { display: none !important; }

.ttl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ttl-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ttl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ttl-standalone-root { min-height: 100dvh; }
.ttl-native-root {
    --ttl-line: var(--line, rgba(255, 255, 255, .12));
    --ttl-panel: rgba(18, 16, 24, .82);
    --ttl-accent: var(--hot, #fe2c55);
    --ttl-accent-2: var(--ttl-gold);
    position: fixed;
    z-index: 90;
    inset-inline: clamp(10px, 2.2vw, 28px);
    bottom: var(--ttl-bottom);
    height: min(76dvh, 780px, calc(100dvh - var(--ttl-bottom) - 12px));
    color: var(--ttl-text);
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .45));
}

.ttl-landing {
    position: relative;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(22px, 4vw, 56px) 18px;
    overflow: auto;
    isolation: isolate;
}
.ttl-landing::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: .32;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.ttl-landing-glow {
    position: fixed;
    z-index: -1;
    width: min(76vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 191, 120, .12), rgba(254, 44, 85, .045) 42%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}
.ttl-landing-inner { width: min(100%, 940px); text-align: center; }
.ttl-landing-brand, .ttl-brand { display: flex; align-items: center; gap: 12px; }
.ttl-landing-brand { justify-content: center; margin-bottom: 18px; }
.ttl-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: var(--ttl-gold-2);
    background: linear-gradient(145deg, color-mix(in srgb, var(--ttl-accent) 78%, #6b1026), color-mix(in srgb, var(--ttl-gold) 68%, #7b4610));
    box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 6px 18px color-mix(in srgb, var(--ttl-accent) 24%, transparent);
    font-family: Georgia, serif;
}
.ttl-brand-mark .ttl-icon { width: 24px; height: 24px; }
.ttl-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ttl-gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ttl-eyebrow .ttl-icon { width: 14px; height: 14px; }
.ttl-landing h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 850;
    background: linear-gradient(115deg, #fff 15%, #eee7da 52%, var(--ttl-gold-2) 82%, var(--ttl-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ttl-landing-lead { max-width: 620px; margin: 18px auto 22px; color: var(--ttl-muted); font-size: clamp(14px, 2vw, 17px); line-height: 1.65; }
.ttl-language-picker { display: flex; justify-content: center; margin-bottom: 14px; }
.ttl-language-picker select, .ttl-speaker-picker select {
    min-height: 40px;
    border: 1px solid var(--ttl-line);
    border-radius: 12px;
    padding: 0 36px 0 12px;
    color: var(--ttl-text);
    background: var(--ttl-panel-soft);
}
.ttl-entry-card {
    width: min(100%, 510px);
    margin-inline: auto;
    padding: 10px;
    text-align: start;
    border: 1px solid var(--ttl-line);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02)), var(--ttl-panel);
    box-shadow: var(--ttl-shadow), inset 0 1px rgba(255, 255, 255, .06);
    backdrop-filter: blur(24px) saturate(135%);
}
.ttl-entry-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 17px; background: rgba(0, 0, 0, .2); }
.ttl-entry-tabs button { min-height: 46px; border: 0; border-radius: 13px; color: var(--ttl-muted); background: transparent; font-weight: 720; cursor: pointer; transition: .2s ease; }
.ttl-entry-tabs button.is-active { color: var(--ttl-text); background: rgba(255, 255, 255, .09); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ttl-entry-form { display: grid; gap: 12px; padding: 16px 8px 8px; }
.ttl-entry-form label, .ttl-speaker-picker { display: grid; gap: 7px; color: var(--ttl-muted); font-size: 12px; font-weight: 650; }
.ttl-entry-form input, .ttl-author-statement textarea {
    width: 100%;
    border: 1px solid var(--ttl-line);
    border-radius: 14px;
    color: var(--ttl-text);
    background: rgba(0, 0, 0, .2);
    transition: border-color .2s, box-shadow .2s;
}
.ttl-entry-form input { min-height: 50px; padding: 0 15px; font-size: 16px; }
.ttl-entry-form input:focus, .ttl-author-statement textarea:focus { border-color: rgba(226, 191, 120, .6); box-shadow: 0 0 0 4px rgba(226, 191, 120, .08); outline: none; }
#ttl-room-code { text-transform: uppercase; letter-spacing: .22em; font-weight: 800; }
.ttl-entry-status { min-height: 22px; padding: 6px 10px 2px; color: var(--ttl-muted); font-size: 12px; text-align: center; }
.ttl-entry-status.is-error { color: #ffd9de; }
.ttl-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(100%, 680px); margin: 24px auto 0; }
.ttl-how > div { display: grid; gap: 6px; place-items: center; padding: 14px 8px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; background: rgba(255, 255, 255, .025); }
.ttl-how-number { color: var(--ttl-accent); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.ttl-how strong { font-size: 12px; }
.ttl-how small { display: flex; align-items: center; color: var(--ttl-muted); font-size: 11px; }
.ttl-how .ttl-icon { width: 14px; height: 14px; }
.ttl-landing-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; color: var(--ttl-muted); font-size: 12px; }
.ttl-landing-note .ttl-icon { width: 16px; height: 16px; color: var(--ttl-good); }

.ttl-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 13px;
    padding: 0 17px;
    font-weight: 760;
    font-size: 13px;
    cursor: pointer;
    transition: transform .16s ease, background .2s, border-color .2s, box-shadow .2s;
}
.ttl-button:not(:disabled):active { transform: scale(.98); }
.ttl-button-primary { color: white; border-color: rgba(255, 255, 255, .16); background: linear-gradient(135deg, var(--ttl-accent), color-mix(in srgb, var(--ttl-accent) 65%, #8d0e2c)); box-shadow: 0 8px 22px color-mix(in srgb, var(--ttl-accent) 25%, transparent), inset 0 1px rgba(255, 255, 255, .22); }
.ttl-button-primary:not(:disabled):hover { border-color: rgba(255, 255, 255, .35); background: linear-gradient(135deg, color-mix(in srgb, var(--ttl-accent) 90%, white), var(--ttl-accent)); box-shadow: 0 10px 28px color-mix(in srgb, var(--ttl-accent) 34%, transparent); }
.ttl-button-ghost { border-color: var(--ttl-line); color: var(--ttl-text); background: rgba(255, 255, 255, .075); box-shadow: inset 0 1px rgba(255, 255, 255, .05); }
.ttl-button-ghost:not(:disabled):hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
.ttl-button-danger { color: #ffd9de; border-color: rgba(240, 91, 112, .4); background: rgba(240, 91, 112, .14); }
.ttl-button-danger-soft { border-color: rgba(240, 91, 112, .3); color: #ffd9de; background: rgba(240, 91, 112, .1); }
.ttl-button-large { min-height: 52px; padding-inline: 24px; border-radius: 15px; font-size: 14px; }
.ttl-icon-button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--ttl-line);
    border-radius: 12px;
    color: var(--ttl-muted);
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    transition: .2s ease;
}
.ttl-icon-button:hover { color: var(--ttl-text); border-color: var(--ttl-line-strong); background: rgba(255, 255, 255, .07); }
.ttl-mini-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ttl-line); border-radius: 10px; padding: 0 10px; color: var(--ttl-muted); background: rgba(255, 255, 255, .035); font-size: 11px; font-weight: 700; cursor: pointer; }
.ttl-mini-button .ttl-icon { width: 15px; height: 15px; }
.ttl-mini-button.is-on { color: var(--ttl-good); border-color: rgba(85, 214, 160, .3); background: rgba(85, 214, 160, .09); }

.ttl-app {
    position: relative;
    isolation: isolate;
    min-height: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% -5%, color-mix(in srgb, var(--ttl-accent) 18%, transparent), transparent 38%),
        radial-gradient(circle at 100% 10%, rgba(226, 191, 120, .12), transparent 32%),
        var(--ttl-panel);
    box-shadow: var(--ttl-shadow), inset 0 1px rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: var(--ttl-blur);
    backdrop-filter: var(--ttl-blur);
}
.ttl-native-root .ttl-app { height: 100%; border: 1px solid rgba(255, 255, 255, .15); border-radius: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .12); }
.ttl-app::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, .04) 45%, transparent 65%); background-size: 250% 100%; pointer-events: none; animation: ttl-shimmer 9s ease-in-out infinite; }
.ttl-ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ttl-ambient i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .1; animation: ttl-drift 14s ease-in-out infinite alternate; }
.ttl-ambient i:nth-child(1) { width: 260px; height: 260px; inset-inline-start: -80px; top: 12%; background: var(--ttl-accent); }
.ttl-ambient i:nth-child(2) { width: 220px; height: 220px; inset-inline-end: -60px; top: 30%; background: var(--ttl-gold); animation-delay: -5s; }
.ttl-ambient i:nth-child(3) { width: 180px; height: 180px; inset-inline-start: 45%; bottom: -80px; background: var(--ttl-violet); animation-delay: -9s; }
.ttl-topbar { position: relative; z-index: 2; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px clamp(14px, 2.3vw, 26px); border-bottom: 1px solid var(--ttl-line); background: rgba(15, 13, 20, .48); -webkit-backdrop-filter: blur(18px) saturate(135%); backdrop-filter: blur(18px) saturate(135%); }
.ttl-brand { min-width: 0; }
.ttl-brand > div { min-width: 0; display: grid; gap: 3px; }
.ttl-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; letter-spacing: -.015em; }
.ttl-phase { color: var(--ttl-gold); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.ttl-top-actions { display: flex; align-items: center; gap: 7px; }
.ttl-round, .ttl-own { padding: 7px 10px; border: 1px solid var(--ttl-line); border-radius: 10px; color: var(--ttl-muted); background: rgba(255, 255, 255, .055); font-size: 11px; font-weight: 700; white-space: nowrap; }
.ttl-own { color: var(--ttl-text); }
.ttl-roombar { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 7px clamp(14px, 2.3vw, 26px); border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(0, 0, 0, .08); }
.ttl-connection { display: flex; align-items: center; gap: 7px; color: var(--ttl-muted); font-size: 11px; white-space: nowrap; }
.ttl-connection i, .ttl-player-presence, .ttl-live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--ttl-good); box-shadow: 0 0 10px rgba(85, 214, 160, .45); }
.ttl-connection i.is-offline { background: var(--ttl-gold); box-shadow: 0 0 10px rgba(226, 191, 120, .3); }
.ttl-room-info { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ttl-muted); font-size: 11px; }
.ttl-code-button { min-height: 28px; border: 1px solid var(--ttl-line); border-radius: 8px; padding: 0 9px; color: var(--ttl-text); background: rgba(255, 255, 255, .05); font-weight: 800; letter-spacing: .14em; cursor: pointer; }
.ttl-timer { margin-inline-start: auto; display: flex; align-items: center; gap: 9px; color: var(--ttl-accent-2); }
.ttl-timer > .ttl-icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: conic-gradient(var(--ttl-accent-2) var(--ttl-progress, 360deg), rgba(255, 255, 255, .08) 0); }
.ttl-timer > span { display: grid; line-height: 1.05; }
.ttl-timer b { font-variant-numeric: tabular-nums; font-size: 14px; }
.ttl-timer small { margin-top: 3px; color: var(--ttl-muted); font-size: 9px; }
.ttl-workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.ttl-roster { min-height: 0; overflow: auto; padding: 18px 14px; border-inline-end: 1px solid var(--ttl-line); background: rgba(0, 0, 0, .1); scrollbar-width: thin; }
.ttl-roster-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 12px; color: var(--ttl-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ttl-roster-heading b { display: grid; place-items: center; min-width: 25px; height: 23px; border-radius: 8px; color: var(--ttl-text); background: rgba(255, 255, 255, .06); font-size: 11px; }
.ttl-players { display: grid; gap: 7px; }
.ttl-player { position: relative; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--ttl-line); border-radius: 13px; background: rgba(255, 255, 255, .035); transition: .2s ease; }
.ttl-player.is-active { border-color: rgba(226, 191, 120, .5); background: linear-gradient(100deg, rgba(226, 191, 120, .13), rgba(255, 255, 255, .03)); box-shadow: inset 3px 0 var(--ttl-gold); }
.ttl-player.is-winner { border-color: rgba(226, 191, 120, .32); background: rgba(226, 191, 120, .07); }
.ttl-player.is-offline { opacity: .5; }
.ttl-player-card { min-width: 0; flex: 1; font-size: 12px; font-weight: 750; }
.ttl-player-score { display: flex; align-items: center; gap: 4px; color: var(--ttl-muted); font-size: 11px; }
.ttl-player-score .ttl-icon { width: 14px; height: 14px; color: var(--ttl-accent-2); }
.ttl-player-presence { position: absolute; inset-inline-end: -3px; top: -3px; width: 9px; height: 9px; border: 2px solid var(--ttl-panel-solid); }
.ttl-player.is-offline .ttl-player-presence { background: #686a75; box-shadow: none; }
.ttl-main { min-width: 0; min-height: 0; overflow: auto; padding: clamp(20px, 3.2vw, 42px); scrollbar-width: thin; }
.ttl-main > div { width: min(100%, 980px); margin-inline: auto; }
.ttl-enter { animation: ttl-enter .32s cubic-bezier(.2, .9, .3, 1) both; }
.ttl-phase-heading { margin-bottom: 24px; }
.ttl-phase-heading h2 { margin: 8px 0 0; font: 800 clamp(25px, 3.4vw, 40px)/1.12 Georgia, serif; letter-spacing: -.025em; }
.ttl-phase-heading p { max-width: 680px; margin: 10px 0 0; color: var(--ttl-muted); font-size: 14px; line-height: 1.65; }
.ttl-lobby-screen { position: relative; display: grid; justify-items: center; padding-block: clamp(4px, 3vh, 30px); text-align: center; }
.ttl-lobby-screen .ttl-phase-heading { margin-bottom: 18px; }
.ttl-lobby-screen .ttl-phase-heading p { margin-inline: auto; }
.ttl-hero-mark { position: relative; width: 100px; height: 100px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(226, 191, 120, .45); border-radius: 24px; color: var(--ttl-gold-2); background: radial-gradient(circle at 50% 0%, rgba(226, 191, 120, .18), transparent 62%), rgba(23, 21, 28, .9); box-shadow: 0 18px 44px rgba(0, 0, 0, .42), 0 0 30px rgba(226, 191, 120, .08), inset 0 1px rgba(255, 255, 255, .12); }
.ttl-hero-mark::before { content: ""; position: absolute; inset: -10px; border: 1px solid rgba(255, 255, 255, .05); border-radius: 38px; }
.ttl-hero-mark > .ttl-icon { width: 50px; height: 50px; stroke-width: 1.35; }
.ttl-hero-mark i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--ttl-accent-2); box-shadow: 0 0 14px var(--ttl-accent-2); animation: ttl-twinkle 2.4s ease-in-out infinite; }
.ttl-hero-mark i:nth-of-type(1) { top: 8px; inset-inline-end: 10px; }
.ttl-hero-mark i:nth-of-type(2) { bottom: 14px; inset-inline-start: 4px; animation-delay: -.8s; background: var(--ttl-good); }
.ttl-hero-mark i:nth-of-type(3) { bottom: -5px; inset-inline-end: 22px; animation-delay: -1.5s; background: var(--ttl-gold-2); }
.ttl-lobby-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 500px); margin: 4px 0 16px; border: 1px solid var(--ttl-line); border-radius: 18px; background: rgba(255, 255, 255, .025); }
.ttl-lobby-stats > div { display: grid; gap: 5px; padding: 15px 10px; }
.ttl-lobby-stats > div + div { border-inline-start: 1px solid var(--ttl-line); }
.ttl-lobby-stats b { color: var(--ttl-gold-2); font: 700 26px Georgia, serif; letter-spacing: -.03em; }
.ttl-lobby-stats span { color: var(--ttl-muted); font-size: 10px; }
.ttl-lobby-hint { display: flex; align-items: center; gap: 7px; margin: 0 0 18px; color: var(--ttl-muted); font-size: 12px; }
.ttl-lobby-hint .ttl-icon { width: 16px; height: 16px; }
.ttl-lobby-hint.is-ready { color: var(--ttl-good); }
.ttl-lobby-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ttl-waiting-card { width: min(100%, 460px); display: grid; justify-items: center; gap: 8px; padding: 20px; border: 1px solid var(--ttl-line); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.ttl-waiting-card strong { font-size: 15px; }
.ttl-waiting-card > span:last-child { color: var(--ttl-muted); font-size: 12px; }
.ttl-tip { width: min(100%, 650px); display: flex; align-items: flex-start; gap: 9px; margin-top: 24px; padding: 13px 15px; border: 1px solid rgba(226, 191, 120, .18); border-radius: 14px; color: var(--ttl-muted); background: rgba(226, 191, 120, .055); text-align: start; font-size: 11px; line-height: 1.6; }
.ttl-tip .ttl-icon { width: 17px; height: 17px; margin-top: 1px; color: var(--ttl-gold); }
.ttl-private-note, .ttl-privacy-note { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 11px 13px; border: 1px solid rgba(85, 214, 160, .18); border-radius: 13px; color: #b8ecd6; background: rgba(85, 214, 160, .06); font-size: 11px; line-height: 1.5; }
.ttl-private-note .ttl-icon, .ttl-privacy-note .ttl-icon { width: 17px; height: 17px; color: var(--ttl-good); }
.ttl-author-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.ttl-tone-teal { --ttl-tone: var(--ttl-good); --ttl-tone-soft: rgba(85, 214, 160, .09); }
.ttl-tone-amber { --ttl-tone: var(--ttl-gold); --ttl-tone-soft: rgba(226, 191, 120, .1); }
.ttl-tone-violet { --ttl-tone: var(--ttl-violet); --ttl-tone-soft: rgba(122, 167, 255, .1); }
.ttl-author-statement, .ttl-statement { position: relative; overflow: hidden; border: 1px solid var(--ttl-line); border-radius: 18px; background: linear-gradient(145deg, var(--ttl-tone-soft), rgba(255, 255, 255, .025)); }
.ttl-author-statement::before, .ttl-statement::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ttl-tone), transparent); opacity: .65; }
.ttl-author-statement { display: flex; flex-direction: column; padding: 15px; }
.ttl-author-statement-top, .ttl-statement-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ttl-statement-number { color: var(--ttl-tone); font: 800 13px Georgia, serif; letter-spacing: .08em; }
.ttl-author-statement-top label { color: var(--ttl-muted); font-size: 11px; font-weight: 700; }
.ttl-char-count { margin-inline-start: auto; color: var(--ttl-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.ttl-char-count.is-over { color: var(--ttl-danger); }
.ttl-author-statement textarea { min-height: 126px; flex: 1; resize: vertical; padding: 12px; font-size: 14px; line-height: 1.55; }
.ttl-lie-toggle { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; border: 1px solid var(--ttl-line); border-radius: 11px; color: var(--ttl-muted); background: rgba(0, 0, 0, .12); font-size: 11px; font-weight: 750; cursor: pointer; }
.ttl-lie-toggle .ttl-icon { width: 15px; height: 15px; }
.ttl-lie-toggle.is-selected { border-color: rgba(240, 91, 112, .4); color: #ffd9de; background: rgba(240, 91, 112, .12); }
.ttl-statements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 22px 0; }
.ttl-statement { min-height: 180px; display: flex; flex-direction: column; padding: 20px; }
.ttl-statement-label { color: var(--ttl-muted); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.ttl-statement p { flex: 1; margin: 4px 0 14px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.ttl-statement.is-lie { border-color: rgba(240, 91, 112, .48); background: linear-gradient(145deg, rgba(240, 91, 112, .15), rgba(255, 255, 255, .025)); box-shadow: 0 12px 34px rgba(240, 91, 112, .1); }
.ttl-lie-badge { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; padding: 4px 7px; border-radius: 7px; color: #ffd9de; background: rgba(240, 91, 112, .16); font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.ttl-lie-badge .ttl-icon { width: 12px; height: 12px; }
.ttl-statement-votes { display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--ttl-line); color: var(--ttl-muted); font-size: 11px; }
.ttl-statement-votes .ttl-icon { width: 15px; height: 15px; color: var(--ttl-tone); }
.ttl-statement-votes b { margin-inline-start: auto; color: var(--ttl-text); font-size: 18px; }
.ttl-inline-timer { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 10px 12px; border: 1px solid var(--ttl-line); border-radius: 13px; background: rgba(255, 255, 255, .03); }
.ttl-inline-timer > .ttl-icon { color: var(--ttl-accent-2); }
.ttl-inline-timer > b { margin-inline-end: 6px; font-variant-numeric: tabular-nums; }
.ttl-inline-timer > span { color: var(--ttl-muted); font-size: 11px; }
.ttl-waiting-inline { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px dashed var(--ttl-line); border-radius: 13px; color: var(--ttl-muted); font-size: 12px; }
.ttl-wait-screen { display: grid; justify-items: center; min-height: 360px; align-content: center; text-align: center; }
.ttl-thinking-cards { position: relative; width: 120px; height: 80px; margin: 14px 0; }
.ttl-thinking-cards i { position: absolute; inset-inline-start: 30px; top: 6px; width: 62px; height: 76px; border: 1px solid var(--ttl-line-strong); border-radius: 12px; background: var(--ttl-panel-solid); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); animation: ttl-think 2.4s ease-in-out infinite; }
.ttl-thinking-cards i:nth-child(2) { transform: rotate(12deg); animation-delay: -.2s; }
.ttl-thinking-cards i:nth-child(3) { transform: rotate(-12deg); animation-delay: -.4s; }
.ttl-pulse-dots { display: inline-flex; align-items: center; gap: 5px; }
.ttl-pulse-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ttl-accent); animation: ttl-pulse 1.2s ease-in-out infinite; }
.ttl-pulse-dots i:nth-child(2) { animation-delay: .15s; }
.ttl-pulse-dots i:nth-child(3) { animation-delay: .3s; }
.ttl-vote-progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 9px; color: var(--ttl-muted); font-size: 11px; }
.ttl-vote-progress b { color: var(--ttl-text); font-variant-numeric: tabular-nums; }
.ttl-vote-progress > i { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.ttl-vote-progress em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ttl-gold), var(--ttl-gold-2)); transition: width .3s; }
.ttl-statements-compact .ttl-statement { min-height: 130px; padding: 16px; }
.ttl-statements-compact .ttl-statement p { font-size: 14px; }
.ttl-ballot-invite { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid rgba(226, 191, 120, .22); border-radius: 18px; background: rgba(226, 191, 120, .06); }
.ttl-ballot-invite > .ttl-icon { width: 34px; height: 34px; color: var(--ttl-gold); }
.ttl-ballot-invite > div { flex: 1; }
.ttl-ballot-invite h3 { margin: 0 0 5px; font-size: 16px; }
.ttl-ballot-invite p { margin: 0; color: var(--ttl-muted); font-size: 12px; line-height: 1.5; }
.ttl-vote-accepted { display: grid; justify-items: center; gap: 7px; padding: 22px; border: 1px solid rgba(85, 214, 160, .22); border-radius: 18px; background: rgba(85, 214, 160, .06); text-align: center; }
.ttl-vote-accepted > .ttl-icon { width: 36px; height: 36px; color: var(--ttl-good); }
.ttl-vote-accepted h3, .ttl-vote-accepted p { margin: 0; }
.ttl-vote-accepted p { color: var(--ttl-muted); font-size: 12px; }
.ttl-result-stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; margin: 18px 0; }
.ttl-result-stats > div { display: grid; gap: 5px; padding: 17px; border: 1px solid var(--ttl-line); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.ttl-result-stats span { color: var(--ttl-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ttl-result-stats b { font-size: 30px; letter-spacing: -.04em; }
.ttl-result-stats small { color: var(--ttl-muted); font-size: 10px; }
.ttl-result-stats .ttl-result-primary { border-color: rgba(226, 191, 120, .26); background: rgba(226, 191, 120, .065); }
.ttl-result-primary b { color: var(--ttl-gold-2); }
.ttl-gameover-screen { position: relative; text-align: center; }
.ttl-trophy-hero { width: 90px; height: 90px; display: grid; place-items: center; margin: 0 auto 20px; border: 1px solid rgba(226, 191, 120, .3); border-radius: 50%; color: var(--ttl-gold-2); background: radial-gradient(circle, rgba(226, 191, 120, .18), rgba(226, 191, 120, .03)); box-shadow: 0 0 60px rgba(226, 191, 120, .12); animation: ttl-trophy 3s ease-in-out infinite; }
.ttl-trophy-hero .ttl-icon { width: 45px; height: 45px; stroke-width: 1.5; }
.ttl-winner-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 26px; }
.ttl-winner-cards > div { min-width: 170px; display: grid; gap: 5px; padding: 16px 22px; border: 1px solid rgba(226, 191, 120, .3); border-radius: 17px; background: linear-gradient(145deg, rgba(226, 191, 120, .12), rgba(255, 255, 255, .025)); }
.ttl-winner-cards span, .ttl-winner-cards b { color: var(--ttl-muted); font-size: 10px; }
.ttl-winner-cards strong { color: var(--ttl-accent-2); font-size: 20px; }
.ttl-scoreboard-title { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; font-size: 13px; }
.ttl-scoreboard-title .ttl-icon { width: 17px; height: 17px; color: var(--ttl-accent-2); }
.ttl-scoreboard { width: min(100%, 640px); display: grid; gap: 7px; margin: 0 auto 24px; text-align: start; }
.ttl-scoreboard > div { display: grid; grid-template-columns: 28px 110px 1fr 35px; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ttl-line); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.ttl-scoreboard > div.is-winner { border-color: rgba(226, 191, 120, .26); background: rgba(226, 191, 120, .055); }
.ttl-rank { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: var(--ttl-muted); background: rgba(255, 255, 255, .05); font-size: 10px; font-weight: 800; }
.ttl-scoreboard strong { font-size: 12px; }
.ttl-scoreboard i { height: 5px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.ttl-scoreboard em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ttl-gold), var(--ttl-gold-2)); }
.ttl-scoreboard b { text-align: end; font-size: 14px; }
.ttl-confetti { position: absolute; inset: -30px 0 auto; height: 220px; overflow: hidden; pointer-events: none; }
.ttl-confetti i { position: absolute; inset-inline-start: var(--x); top: -15px; width: 7px; height: 12px; border-radius: 2px; background: var(--c); animation: ttl-confetti 3.8s var(--d) ease-in infinite; }

.ttl-devicebar { display: flex; align-items: stretch; gap: 9px; padding: 10px clamp(14px, 2.3vw, 26px); border-top: 1px solid var(--ttl-line); background: rgba(10, 10, 13, .24); }
.ttl-device-button { min-width: 0; flex: 1; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--ttl-line); border-radius: 14px; color: var(--ttl-muted); background: rgba(255, 255, 255, .03); text-align: start; cursor: pointer; transition: .2s; }
.ttl-device-button > .ttl-icon { width: 22px; height: 22px; }
.ttl-device-button > span { min-width: 0; display: grid; gap: 3px; }
.ttl-device-button strong { color: var(--ttl-text); font-size: 11px; }
.ttl-device-button small { overflow: hidden; color: var(--ttl-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ttl-device-button > i { width: 7px; height: 7px; margin-inline-start: auto; flex: 0 0 auto; border-radius: 50%; background: #686a75; }
.ttl-device-button.is-on { border-color: rgba(85, 214, 160, .28); background: rgba(85, 214, 160, .065); }
.ttl-device-button.is-on > .ttl-icon, .ttl-device-button.is-on small { color: var(--ttl-good); }
.ttl-device-button.is-on > i { background: var(--ttl-good); box-shadow: 0 0 10px rgba(85, 214, 160, .45); }
.ttl-device-button.is-blocked { opacity: .48; }
.ttl-self-video { position: fixed; z-index: 120; inset-inline-end: 18px; bottom: calc(var(--ttl-bottom) + 84px); width: 150px; max-height: 110px; border: 2px solid rgba(255, 255, 255, .18); border-radius: 15px; object-fit: cover; background: #09090b; box-shadow: 0 12px 35px rgba(0, 0, 0, .4); }
.ttl-standalone-root .ttl-self-video { bottom: 88px; }
.ttl-privacy { min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 14px calc(6px + env(safe-area-inset-bottom, 0px)); color: rgba(255, 255, 255, .42); background: rgba(0, 0, 0, .13); font-size: 9px; text-align: center; }
.ttl-privacy .ttl-icon { width: 12px; height: 12px; }

.ttl-dialog { width: min(calc(100% - 28px), 620px); max-height: min(82dvh, 760px); overflow: auto; padding: 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; color: var(--ttl-text); background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--ttl-accent) 16%, transparent), transparent 38%), radial-gradient(circle at 100% 10%, rgba(226, 191, 120, .1), transparent 30%), rgba(18, 16, 24, .9); box-shadow: 0 30px 100px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .1); -webkit-backdrop-filter: var(--ttl-blur); backdrop-filter: var(--ttl-blur); scrollbar-width: thin; scrollbar-color: rgba(226, 191, 120, .45) transparent; }
.ttl-dialog[open] { animation: ttl-dialog-in .26s cubic-bezier(.2, .9, .3, 1) both; }
.ttl-dialog::backdrop { background: rgba(5, 5, 9, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ttl-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.ttl-dialog-head h2 { margin: 6px 0 0; font-size: 23px; letter-spacing: -.03em; }
.ttl-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ttl-dialog-lead { margin: 0 0 16px; color: var(--ttl-muted); font-size: 13px; line-height: 1.6; }
.ttl-host-dialog { width: min(calc(100% - 28px), 760px); }
.ttl-host-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ttl-line); }
.ttl-host-section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; }
.ttl-host-section h3 .ttl-icon { width: 18px; height: 18px; color: var(--ttl-muted); }
.ttl-media-bulk { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ttl-speaker-toggle { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--ttl-line); border-radius: 13px; color: var(--ttl-text); background: rgba(255, 255, 255, .035); cursor: pointer; }
.ttl-speaker-toggle > .ttl-icon { color: var(--ttl-accent-2); }
.ttl-speaker-toggle > span { font-size: 12px; font-weight: 750; }
.ttl-speaker-toggle > i { width: 34px; height: 20px; margin-inline-start: auto; padding: 3px; border-radius: 20px; background: rgba(255, 255, 255, .1); transition: .2s; }
.ttl-speaker-toggle > i::after { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: white; transition: .2s; }
.ttl-speaker-toggle.is-active > i { background: var(--ttl-gold); }
.ttl-speaker-toggle.is-active > i::after { background: #17151d; transform: translateX(14px); }
[dir="rtl"] .ttl-speaker-toggle.is-active > i::after { transform: translateX(-14px); }
.ttl-speaker-picker { margin: 13px 0 10px; }
.ttl-speaker-picker select { min-height: 44px; font-size: 14px; }
.ttl-media-players { display: grid; gap: 7px; margin-top: 14px; }
.ttl-media-players > div { display: flex; align-items: center; gap: 7px; min-height: 48px; padding: 7px 9px; border: 1px solid var(--ttl-line); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.ttl-media-players > div.is-offline { opacity: .45; }
.ttl-media-players strong { min-width: 76px; font-size: 11px; }
.ttl-live-dot { width: 6px; height: 6px; background: #686a75; box-shadow: none; }
.ttl-live-dot.is-online { background: var(--ttl-good); }
.ttl-media-players .ttl-mini-button { margin-inline-start: auto; }
.ttl-media-players .ttl-mini-button + .ttl-mini-button { margin-inline-start: 0; }
.ttl-ballot-options { display: grid; gap: 9px; }
.ttl-ballot-option { display: grid; grid-template-columns: 34px 1fr 25px; align-items: center; gap: 11px; min-height: 72px; padding: 12px; border: 1px solid var(--ttl-line); border-radius: 15px; color: var(--ttl-text); background: rgba(255, 255, 255, .025); text-align: start; cursor: pointer; transition: .2s; }
.ttl-ballot-option > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--ttl-muted); background: rgba(255, 255, 255, .05); font-size: 11px; font-weight: 850; }
.ttl-ballot-option p { margin: 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.ttl-ballot-option > i { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--ttl-line); border-radius: 50%; color: transparent; }
.ttl-ballot-option > i .ttl-icon { width: 14px; height: 14px; }
.ttl-ballot-option.is-selected { border-color: rgba(226, 191, 120, .5); background: rgba(226, 191, 120, .1); box-shadow: 0 0 0 1px rgba(226, 191, 120, .16); }
.ttl-ballot-option.is-selected > i { border-color: var(--ttl-gold); color: #17151d; background: var(--ttl-gold); }
.ttl-abstain { width: 100%; min-height: 42px; margin-top: 10px; border: 1px dashed var(--ttl-line); border-radius: 12px; color: var(--ttl-muted); background: transparent; font-size: 12px; cursor: pointer; }
.ttl-abstain.is-selected { border-color: var(--ttl-gold); color: var(--ttl-gold-2); background: rgba(226, 191, 120, .06); }
.ttl-ballot-dialog .ttl-dialog-actions { justify-content: flex-end; margin-top: 18px; }
.ttl-log-list { display: grid; gap: 8px; }
.ttl-log-list > div { display: grid; grid-template-columns: 85px 1fr; gap: 10px; padding: 11px 12px; border: 1px solid var(--ttl-line); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.ttl-log-list span { color: var(--ttl-muted); font-size: 10px; }
.ttl-log-list p { margin: 0; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.ttl-empty-log { color: var(--ttl-muted); text-align: center; }
.ttl-confirm-dialog { width: min(calc(100% - 28px), 430px); text-align: center; }
.ttl-confirm-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 16px; color: var(--ttl-danger); background: rgba(240, 91, 112, .1); }
.ttl-confirm-dialog h2 { margin: 0 0 9px; font-size: 21px; }
.ttl-confirm-dialog p { margin: 0; color: var(--ttl-muted); font-size: 13px; line-height: 1.6; }
.ttl-confirm-dialog .ttl-dialog-actions { justify-content: center; margin-top: 22px; }
.ttl-toast { position: fixed; z-index: 200; inset-inline: 50%; bottom: calc(var(--ttl-bottom) + 18px); width: max-content; max-width: min(calc(100% - 32px), 520px); padding: 12px 17px; border: 1px solid rgba(226, 191, 120, .3); border-radius: 13px; color: var(--ttl-text); background: rgba(23, 21, 29, .96); box-shadow: 0 14px 40px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .08); font-size: 12px; line-height: 1.5; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .22s ease; }
[dir="rtl"] .ttl-toast { transform: translate(50%, 12px); }
.ttl-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .ttl-toast.is-visible { transform: translate(50%, 0); }
.ttl-toast.is-error { border-color: rgba(240, 91, 112, .4); color: #ffd9de; }
.ttl-standalone-root .ttl-toast { bottom: 22px; }

@keyframes ttl-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ttl-shimmer { 0%, 65% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
@keyframes ttl-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes ttl-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes ttl-drift { to { transform: translate(50px, -30px) scale(1.15); } }
@keyframes ttl-twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes ttl-pulse { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes ttl-think { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes ttl-trophy { 0%, 100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(3deg) scale(1.04); } }
@keyframes ttl-confetti { 0% { transform: translateY(-20px) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(240px) rotate(520deg); opacity: 0; } }

@media (max-width: 900px) {
    .ttl-workspace { grid-template-columns: 190px minmax(0, 1fr); }
    .ttl-author-grid, .ttl-statements { gap: 9px; }
    .ttl-author-statement, .ttl-statement { padding: 14px; }
    .ttl-main { padding: 24px 20px; }
    .ttl-round { display: none; }
}

@media (max-width: 700px) {
    .ttl-native-root { inset-inline: 8px; bottom: var(--ttl-bottom); height: min(72dvh, calc(100dvh - var(--ttl-bottom) - 10px)); border-radius: 21px 21px 0 0; }
    .ttl-native-root .ttl-app { border-radius: 21px 21px 0 0; border-bottom: 0; }
    .ttl-topbar { min-height: 60px; padding: 10px 12px; }
    .ttl-brand-mark { width: 36px; height: 36px; border-radius: 12px; }
    .ttl-brand-mark .ttl-icon { width: 21px; height: 21px; }
    .ttl-brand strong { max-width: 145px; font-size: 12px; }
    .ttl-phase { font-size: 8px; }
    .ttl-top-actions { gap: 5px; }
    .ttl-top-actions .ttl-icon-button { width: 35px; height: 35px; border-radius: 10px; }
    .ttl-top-actions .ttl-icon-button .ttl-icon { width: 17px; height: 17px; }
    .ttl-own { display: none; }
    .ttl-standalone-root .ttl-minimize-button { display: none; }
    .ttl-roombar { min-height: 40px; gap: 8px; padding: 6px 12px; }
    .ttl-connection { font-size: 9px; }
    .ttl-room-info { margin-inline-start: auto; font-size: 9px; }
    .ttl-room-info > #ttl-code-label { display: none; }
    .ttl-code-button { min-height: 26px; font-size: 10px; }
    .ttl-timer { margin-inline-start: 0; }
    .ttl-timer small { display: none; }
    .ttl-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .ttl-roster { display: flex; align-items: center; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 9px 12px; border-inline-end: 0; border-bottom: 1px solid var(--ttl-line); scrollbar-width: none; scroll-snap-type: x proximity; }
    .ttl-roster::-webkit-scrollbar { display: none; }
    .ttl-roster-heading { flex: 0 0 auto; display: grid; gap: 4px; margin: 0; font-size: 8px; }
    .ttl-roster-heading b { min-width: 23px; height: 20px; }
    .ttl-players { display: flex; gap: 7px; }
    .ttl-player { min-width: 104px; min-height: 42px; padding: 7px 9px; scroll-snap-align: start; }
    .ttl-player-card { font-size: 10px; }
    .ttl-player-score { font-size: 10px; }
    .ttl-main { padding: 20px 14px; }
    .ttl-phase-heading { margin-bottom: 18px; }
    .ttl-phase-heading h2 { font-size: 27px; }
    .ttl-phase-heading p { font-size: 12px; }
    .ttl-hero-mark { width: 80px; height: 80px; margin-bottom: 16px; border-radius: 25px; }
    .ttl-hero-mark > .ttl-icon { width: 40px; height: 40px; }
    .ttl-lobby-stats b { font-size: 21px; }
    .ttl-author-grid, .ttl-statements { grid-template-columns: minmax(0, 1fr); }
    .ttl-author-statement textarea { min-height: 90px; }
    .ttl-author-statement { padding: 13px; }
    .ttl-statements { margin: 17px 0; }
    .ttl-statement { min-height: 0; }
    .ttl-statement p { margin-bottom: 8px; font-size: 15px; }
    .ttl-inline-timer { gap: 7px; }
    .ttl-inline-timer .ttl-mini-button { min-height: 34px; }
    .ttl-ballot-invite { align-items: flex-start; flex-wrap: wrap; gap: 11px; padding: 14px; }
    .ttl-ballot-invite > div { flex-basis: calc(100% - 50px); }
    .ttl-ballot-invite .ttl-button { width: 100%; }
    .ttl-result-stats { gap: 7px; }
    .ttl-result-stats > div { padding: 12px 10px; }
    .ttl-result-stats b { font-size: 25px; }
    .ttl-result-stats span { font-size: 8px; }
    .ttl-scoreboard > div { grid-template-columns: 25px 95px 1fr 28px; gap: 7px; }
    .ttl-devicebar { gap: 7px; padding: 8px 10px; }
    .ttl-device-button { min-height: 48px; gap: 7px; padding: 7px 9px; }
    .ttl-device-button > .ttl-icon { width: 19px; height: 19px; }
    .ttl-device-button small { max-width: 110px; }
    .ttl-privacy { min-height: 27px; padding-inline: 8px; font-size: 8px; }
    .ttl-self-video { width: 110px; inset-inline-end: 10px; }
    .ttl-dialog { padding: 18px; border-radius: 20px; }
    .ttl-dialog-head h2 { font-size: 21px; }
    .ttl-media-players > div { flex-wrap: wrap; }
    .ttl-media-players strong { min-width: 70px; }
    .ttl-media-players .ttl-mini-button { min-height: 40px; }
    .ttl-log-list > div { grid-template-columns: 1fr; gap: 4px; }
    .ttl-how { gap: 7px; }
    .ttl-how > div { padding: 12px 5px; }
    .ttl-how strong { font-size: 10px; }
    .ttl-landing { padding: 24px 14px; }
    .ttl-landing h1 { font-size: clamp(38px, 12vw, 56px); }
    .ttl-entry-card { border-radius: 22px; }
}

@media (max-width: 390px) {
    .ttl-top-actions .ttl-icon-button[data-ttl-action="sound"] { display: none; }
    .ttl-brand strong { max-width: 120px; }
    .ttl-lobby-actions { width: 100%; }
    .ttl-lobby-actions .ttl-button { width: 100%; }
    .ttl-result-stats { grid-template-columns: 1fr 1fr; }
    .ttl-result-stats .ttl-result-primary { grid-column: 1 / -1; }
    .ttl-scoreboard > div { grid-template-columns: 24px 88px 1fr 25px; padding-inline: 9px; }
}

@media (max-height: 650px) and (min-width: 701px) {
    .ttl-native-root { height: min(68dvh, calc(100dvh - var(--ttl-bottom) - 10px)); }
    .ttl-topbar { min-height: 58px; }
    .ttl-main { padding-block: 20px; }
    .ttl-phase-heading { margin-bottom: 15px; }
    .ttl-phase-heading h2 { font-size: 28px; }
    .ttl-hero-mark { width: 70px; height: 70px; margin-bottom: 12px; }
    .ttl-lobby-stats > div { padding-block: 10px; }
    .ttl-tip { margin-top: 14px; }
}

@media (max-height: 560px) and (max-width: 700px) {
    .ttl-native-root { height: min(68dvh, calc(100dvh - var(--ttl-bottom) - 10px)); }
    .ttl-topbar { min-height: 50px; }
    .ttl-roster { padding-block: 6px; }
    .ttl-player { min-height: 36px; }
    .ttl-main { padding-block: 14px; }
    .ttl-devicebar { padding-block: 6px; }
    .ttl-device-button { min-height: 42px; }
    .ttl-privacy { display: none; }
    .ttl-hero-mark { display: none; }
    .ttl-lobby-screen { padding-block: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
