@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,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) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:var(--font-family);font-size:var(--font-body);font-weight:var(--weight-regular);line-height:1.35;-webkit-font-smoothing:antialiased}h1,h2,p{margin:0}button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:left}:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.heading{font-size:var(--font-heading);font-weight:var(--weight-bold)}.title{font-size:var(--font-title);font-weight:var(--weight-bold)}.caption{font-size:var(--font-caption);color:var(--color-text-muted)}.overline{font-size:var(--font-caption);font-weight:var(--weight-regular);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em}.muted{color:var(--color-text-muted)}.app{min-height:100%;display:flex;flex-direction:column}.app__content{flex:1;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.screen{max-width:var(--content-max);margin:0 auto;padding:var(--space-xl) var(--space-lg);display:flex;flex-direction:column;gap:var(--space-md)}.tabbar{position:fixed;left:0;right:0;bottom:0;display:flex;background:var(--color-surface);border-top:1px solid var(--color-border);padding-bottom:env(safe-area-inset-bottom)}.tabbar__item{flex:1;min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-xs);color:var(--color-text-muted);text-decoration:none;font-size:var(--font-caption)}.tabbar__item--active{color:var(--color-accent);font-weight:var(--weight-bold)}@media (min-width: 900px){.app{flex-direction:row-reverse}.app__content{padding-bottom:0}.tabbar{position:sticky;top:0;height:100vh;width:220px;flex-direction:column;gap:var(--space-xs);padding:var(--space-xl) var(--space-md);border-top:0;border-right:1px solid var(--color-border)}.tabbar__item{flex:none;min-height:var(--min-touch);flex-direction:row;justify-content:flex-start;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border-radius:var(--radius-md);font-size:var(--font-body)}.tabbar__item--active{background:var(--color-surface-raised)}}.card{display:flex;background:var(--color-surface);border-radius:var(--radius-lg);padding:var(--space-lg)}.card--button{width:100%;min-height:var(--min-touch)}.card--button:hover:not(:disabled){background:var(--color-surface-raised)}.card--button:disabled{cursor:default}.segmented{display:flex;gap:var(--space-xs);padding:var(--space-xs);background:var(--color-surface);border-radius:var(--radius-lg)}.segmented__item{flex:1;min-height:var(--min-touch);padding:var(--space-sm) var(--space-sm);border-radius:var(--radius-md);text-align:center;font-size:var(--font-caption);color:var(--color-text-muted)}.segmented__item--active{background:var(--color-accent);color:var(--color-on-accent);font-weight:var(--weight-bold)}.avatar{display:grid;place-items:center;border-radius:var(--radius-pill);background:var(--color-surface-raised);color:var(--color-accent);font-weight:var(--weight-bold)}.avatar--md{width:44px;height:44px;font-size:var(--font-title)}.avatar--lg{width:88px;height:88px;font-size:var(--font-display)}.avatar{flex:none;overflow:hidden}.avatar__image{width:100%;height:100%;object-fit:cover}.avatar--md.avatar--emoji{font-size:24px}.avatar--lg.avatar--emoji{font-size:48px}.streak{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--min-touch);padding:0 var(--space-lg);border-radius:var(--radius-pill);background:var(--color-surface);font-size:var(--font-title);font-weight:var(--weight-bold)}.streak svg{color:var(--color-flag)}.study-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-sm)}.study-header__user{display:flex;align-items:center;gap:var(--space-md);min-width:0}.study-header__name{font-size:var(--font-title);font-weight:var(--weight-bold);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deck-picker,.row-card{align-items:center;gap:var(--space-md)}.deck-picker__text,.row-card__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.mode-card__flag{color:var(--color-flag);flex:none}.mode-grid{display:flex;flex-direction:column;gap:var(--space-lg);margin-top:var(--space-sm)}.mode-grid__row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-md);min-width:0}.mode-grid__row>.overline{grid-column:1 / -1;margin-bottom:calc(-1 * var(--space-xs))}.mode-card{flex-direction:column;justify-content:space-between;gap:var(--space-xxl);min-height:112px}.mode-card__top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm)}.mode-card{position:relative}.mode-card__icon{position:absolute;top:var(--space-sm);right:var(--space-sm);display:grid;place-items:center;width:var(--min-touch);height:var(--min-touch);color:var(--color-accent)}.profile-hero{position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--space-md);padding:var(--space-lg) 0}.profile-hero__corner{position:absolute;top:0;right:0}@media (min-width: 900px){.profile-hero__corner{position:fixed;top:var(--space-lg);right:var(--space-lg)}}.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-md)}.stat{flex-direction:column;gap:var(--space-xs)}.stat__value{font-size:var(--font-display);font-weight:var(--weight-bold);line-height:1.1}.stat__value--accent,.accent{color:var(--color-accent)}.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-md)}.empty{padding:var(--space-xxl) var(--space-lg);text-align:center;color:var(--color-text-muted)}.screen-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);margin-bottom:var(--space-sm)}.screen-header--back{justify-content:flex-start;align-items:flex-start}.screen-header--back .heading{line-height:28px}.screen-header--back>.heading,.screen-header--back>.screen-header__text{padding-top:calc((var(--min-touch) - 28px) / 2)}.screen-header__text{min-width:0;display:flex;flex-direction:column;gap:var(--space-xs);padding-top:var(--space-xs)}.button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);min-height:var(--button-height);padding:var(--space-xs) var(--space-lg);border-radius:var(--radius-md);font-size:var(--font-body);font-weight:var(--weight-bold);line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere}.button--compact,.bottom-bar .button,.accordion__body .button{min-height:var(--min-touch)}.button--primary{background:var(--color-accent);color:var(--color-on-accent)}.button--secondary{background:var(--color-surface);border:1px solid var(--color-border)}.button--danger{background:transparent;border:1px solid var(--color-grade-again);color:var(--color-grade-again)}.button:hover{filter:brightness(1.08)}.icon-button{flex:none;display:grid;place-items:center;width:var(--min-touch);height:var(--min-touch);border-radius:var(--radius-pill);background:var(--color-surface);color:var(--color-text);text-align:center}.icon-button:hover{background:var(--color-surface-raised)}.icon-button--on,.icon-button--on:hover{background:var(--color-accent-soft);color:var(--color-accent)}.icon-button--play,.icon-button--play:hover{background:var(--color-accent);color:var(--color-on-accent)}.icon-button--games,.icon-button--games:hover{background:var(--color-games);color:var(--color-on-games)}.screen-header__actions{display:flex;gap:var(--space-sm);margin-left:auto;flex:none}.link{color:var(--color-accent);font-weight:var(--weight-bold)}.link--row{display:inline-flex;align-items:center;gap:var(--space-xs);min-height:var(--min-touch);align-self:flex-start}.toolbar{display:flex;gap:var(--space-md)}.search{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-sm);min-height:48px;padding:0 var(--space-lg);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-muted)}.search input{flex:1;min-width:0;background:none;border:0;outline:none;color:var(--color-text);font:inherit}.search:focus-within{outline:2px solid var(--color-accent);outline-offset:2px}.word-row{flex-direction:column;gap:2px}.word-row__clip{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form{display:flex;flex-direction:column;gap:var(--space-lg)}.form__pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-md)}.form__actions{display:flex;justify-content:flex-end;gap:var(--space-md);margin-top:var(--space-sm)}.form__actions .button--danger{margin-right:auto}.field{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-xs)}.field__label{font-size:var(--font-caption);color:var(--color-text-muted)}.field__input{width:100%;min-height:var(--min-touch);padding:var(--space-md) var(--space-lg);border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;resize:vertical}.field__input:focus{outline:2px solid var(--color-accent);outline-offset:0;border-color:transparent}.field__input--error{border-color:var(--color-grade-again)}.field__error{font-size:var(--font-caption);color:var(--color-grade-again)}.field__notice{font-size:var(--font-caption);color:var(--color-grade-hard)}.field__notice .link{font-size:inherit}.translations{display:flex;flex-direction:column;gap:var(--space-md)}.translations__row{display:flex;align-items:flex-end;gap:var(--space-sm)}.dialog{width:min(480px,calc(100vw - 2 * var(--space-lg)));max-height:calc(100vh - 2 * var(--space-xl));padding:0;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-bg);color:var(--color-text)}.dialog::backdrop{background:#0009}.dialog__body{display:flex;flex-direction:column;gap:var(--space-lg);padding:var(--space-xl)}.dialog__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md)}.dialog__close{margin:calc(var(--space-sm) * -1) calc(var(--space-sm) * -1) calc(var(--space-sm) * -1) 0}.screen--session{min-height:100vh;min-height:100dvh;padding-bottom:calc(var(--space-xl) + env(safe-area-inset-bottom))}.tone--accent{color:var(--color-accent)}.tone--blue{color:var(--color-pause-reaction)}.tone--flag{color:var(--color-flag)}.tone--muted{color:var(--color-text-muted)}.button--wide{width:100%}.button--bottom{margin-top:auto}.button--outline{background:transparent;border:2px solid var(--color-accent);color:var(--color-accent)}.button--ghost{background:transparent;border:0;color:var(--color-text-muted)}.button:disabled{opacity:.4;cursor:default;filter:none}.icon-button--large{width:64px;height:64px}.link--center{align-self:center;min-height:var(--min-touch);color:var(--color-text-muted);font-weight:var(--weight-regular)}.mode-card-wrap{position:relative}.mode-card__settings{position:absolute;top:var(--space-sm);right:var(--space-sm);background:transparent;color:var(--color-accent)}.slider{flex-direction:column;gap:var(--space-sm)}.slider__head{display:grid;grid-template-columns:1fr auto;row-gap:var(--space-md);align-items:center}.slider__input{grid-column:1 / -1;width:100%;height:var(--min-touch);margin:0;background:transparent;-moz-appearance:none;appearance:none;-webkit-appearance:none;cursor:pointer}.slider__input::-webkit-slider-runnable-track{height:8px;border-radius:var(--radius-pill);background:linear-gradient(to right,var(--color-accent) var(--fill),var(--color-surface-raised) var(--fill))}.slider__input::-moz-range-track{height:8px;border-radius:var(--radius-pill);background:linear-gradient(to right,var(--color-accent) var(--fill),var(--color-surface-raised) var(--fill))}.slider__input::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-8px;border-radius:var(--radius-pill);background:var(--color-accent)}.slider__input::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:var(--radius-pill);background:var(--color-accent)}.slider__limits{display:flex;justify-content:space-between;margin-top:calc(-1 * var(--space-sm))}.estimate{display:flex;justify-content:space-between;align-items:center;padding:var(--space-sm) var(--space-xs)}.checkbox{display:flex;align-items:center;gap:var(--space-md);min-height:var(--min-touch);cursor:pointer}.checkbox input{width:24px;height:24px;accent-color:var(--color-accent)}.player{gap:var(--space-lg)}.player__header{display:grid;grid-template-columns:var(--min-touch) 1fr var(--min-touch);align-items:center}.player__counter{display:flex;flex-direction:column;align-items:center;text-align:center}.progress{height:6px;border-radius:var(--radius-pill);background:var(--color-surface-raised);overflow:hidden}.progress__fill{height:100%;background:var(--color-accent);transition:width .3s ease}.player__card{position:relative;flex:1;min-height:360px;display:flex;flex-direction:column;justify-content:space-between;padding:var(--space-xl);border-radius:var(--radius-lg);background:var(--color-surface)}.player__words{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-sm);text-align:center;padding:var(--space-xxl) 0}.player__first{font-size:var(--font-display);font-weight:var(--weight-bold);line-height:1.15;overflow-wrap:anywhere}.player__divider{width:72px;margin:var(--space-md) 0;border:0;border-top:1px solid var(--color-border)}.player__second{font-size:30px;font-weight:var(--weight-bold);color:var(--color-accent);overflow-wrap:anywhere;transition:opacity .2s ease}.player__actions{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-md)}.player__actions .button{padding:var(--space-sm)}.player__footer{display:flex;align-items:center;justify-content:space-between}.flag-button{position:absolute;top:var(--space-lg);right:var(--space-lg);display:grid;place-items:center;width:var(--min-touch);height:var(--min-touch);color:var(--color-text-muted)}.replay-button{position:absolute;top:var(--space-lg);left:var(--space-lg);display:grid;place-items:center;width:var(--min-touch);height:var(--min-touch);color:var(--color-text-muted)}.flag-button--on{color:var(--color-flag);animation:flag-pop .35s ease}.flag-button--inline{position:static;flex:none}@keyframes flag-pop{0%{transform:scale(1)}50%{transform:scale(1.35)}to{transform:scale(1)}}.pause-bar{display:flex;flex-direction:column;gap:var(--space-sm)}.pause-bar--idle{visibility:hidden}.pause-bar__head{display:flex;justify-content:space-between}.pause-bar__track{height:8px;border-radius:var(--radius-pill);background:var(--color-surface-raised);overflow:hidden}.pause-bar__fill{display:block;height:100%;border-radius:var(--radius-pill);background:var(--color-accent)}.pause-bar__fill--reaction{background:var(--color-pause-reaction)}.toast{position:fixed;left:50%;bottom:calc(180px + env(safe-area-inset-bottom));transform:translate(-50%);padding:var(--space-md) var(--space-xl);border-radius:var(--radius-pill);background:var(--color-surface-raised);border:1px solid var(--color-flag);font-weight:var(--weight-bold);white-space:nowrap;animation:toast-in .2s ease}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.dialog__stack{display:flex;flex-direction:column;gap:var(--space-sm)}.stat-row--three{grid-template-columns:repeat(3,1fr)}.stat__value--small{font-size:var(--font-heading)}.summary-row{align-items:center;gap:var(--space-md)}.summary-actions{position:sticky;bottom:0;z-index:10;display:flex;flex-direction:column;gap:var(--space-sm);margin-top:auto;padding:var(--space-md) 0 calc(var(--space-lg) + env(safe-area-inset-bottom));background:var(--color-bg);box-shadow:0 -12px 16px var(--color-bg)}.word-search{display:flex;flex-direction:column;gap:var(--space-sm)}.suggest{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-md);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface)}.suggest__status{display:flex;align-items:center;gap:var(--space-sm)}.suggest__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.suggest__option{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--min-touch);padding:var(--space-sm) var(--space-sm);border-radius:var(--radius-sm);cursor:pointer}.suggest__option--active,.suggest__option:hover{background:var(--color-surface-raised)}.suggest__text{min-width:0;display:flex;flex-direction:column;overflow-wrap:anywhere}.suggest__word{font-weight:var(--weight-bold)}.suggest__own{display:flex;gap:var(--space-sm)}.suggest__own .field__input{flex:1;min-width:0}.toast--low{bottom:calc(96px + env(safe-area-inset-bottom));border-color:var(--color-accent)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.suggest__lang{display:flex;flex-direction:column;gap:var(--space-xs)}.suggest__ask{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--min-touch);padding:var(--space-sm);border-radius:var(--radius-sm);font-weight:var(--weight-bold);overflow-wrap:anywhere}.suggest__ask:hover{background:var(--color-surface-raised)}.suggest__limit{display:flex;flex-direction:column;gap:var(--space-xs);padding:var(--space-md);border-radius:var(--radius-md);border:1px solid var(--color-grade-hard);background:var(--color-surface-raised)}.suggest__limit-title{font-weight:var(--weight-bold);color:var(--color-grade-hard)}.suggest__usage{text-align:right}.deck-row{display:flex;align-items:stretch;gap:var(--space-sm)}.deck-row__main{flex:1;min-width:0}.deck-row__actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--space-xs)}.icon-button--tile{width:64px;height:auto;min-height:var(--min-touch);border-radius:var(--radius-lg);color:var(--color-accent)}.screen-header__end{margin-left:auto}.import-source,.import-preview{display:flex;flex-direction:column;gap:var(--space-md)}.import-drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--space-xs);padding:var(--space-xl) var(--space-lg);border:2px dashed var(--color-accent);border-radius:var(--radius-lg);background:var(--color-selected-row);text-align:center;cursor:pointer;transition:background .15s ease}.import-drop:hover,.import-drop--over{background:var(--color-accent-soft)}.import-drop__icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:var(--space-xs);border-radius:var(--radius-pill);background:var(--color-accent);color:var(--color-on-accent)}.import-drop input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.import-drop:focus-within{outline:2px solid var(--color-accent);outline-offset:2px}.import-paste{font-family:ui-monospace,Menlo,monospace;font-size:var(--font-caption)}.import-problems ul{margin:var(--space-xs) 0 0;padding-left:var(--space-lg)}.import-result{align-items:center;gap:var(--space-md);flex-wrap:wrap;border:1px solid var(--color-accent)}.accordion{border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}.accordion+.accordion{border-top:0}.accordion-group{display:flex;flex-direction:column}.accordion summary.title{font-size:var(--font-body);font-weight:var(--weight-regular);color:var(--color-text-muted)}.accordion[open] summary.title{color:var(--color-text)}.accordion[open]>.accordion__body{padding-bottom:var(--space-lg)}.accordion__body{display:flex;flex-direction:column;gap:var(--space-md);margin-top:var(--space-xs)}.accordion summary{cursor:pointer;min-height:var(--button-height);display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);list-style:none}.accordion summary::-webkit-details-marker{display:none}.accordion__chevron{flex:none;color:var(--color-text-muted);transition:transform .2s ease}.accordion[open] .accordion__chevron{transform:rotate(180deg)}.accordion__tips{margin:0;padding-left:var(--space-xl);display:flex;flex-direction:column;gap:var(--space-sm)}.accordion__prompt{margin:0;max-height:240px;overflow:auto;padding:var(--space-md);border-radius:var(--radius-md);background:var(--color-bg);border:1px solid var(--color-border);font-family:ui-monospace,Menlo,monospace;font-size:var(--font-caption);white-space:pre-wrap;overflow-wrap:anywhere}.accordion .button{align-self:flex-start;text-decoration:none}a.button{color:var(--color-text);text-decoration:none}.login{min-height:100vh;min-height:100dvh;justify-content:center}.login__head{display:flex;flex-direction:column;gap:var(--space-sm);margin-bottom:var(--space-lg)}.login__links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-md)}.login__links .link:disabled{color:var(--color-text-muted);cursor:default}.account{flex-direction:column;gap:var(--space-xs)}.account__actions{display:flex;flex-wrap:wrap;gap:var(--space-sm);margin-top:var(--space-sm)}.auth-notice{padding:var(--space-md);border-radius:var(--radius-md);border:1px solid var(--color-grade-hard);background:var(--color-surface);color:var(--color-grade-hard)}.auth-notice--ok{border-color:var(--color-accent);color:var(--color-text)}.screen-header__actions{display:flex;gap:var(--space-sm);flex-wrap:wrap;justify-content:flex-end}.import-mismatch{display:flex;flex-direction:column;gap:var(--space-md);padding:var(--space-lg);border-radius:var(--radius-lg);border:1px solid var(--color-grade-hard);background:var(--color-surface)}.import-mismatch__text{display:flex;gap:var(--space-sm);align-items:flex-start}.import-mismatch__text svg{flex:none;margin-top:2px;color:var(--color-grade-hard)}.import-mismatch__actions{display:flex;flex-direction:column;gap:var(--space-sm)}.screen-header--stack{flex-direction:column;align-items:stretch}.screen-header--stack .screen-header__actions{flex-wrap:nowrap}.screen-header--stack .screen-header__actions .button{flex:1}.accordion__actions{display:flex;gap:var(--space-sm);flex-wrap:wrap;margin-top:var(--space-xs)}.accordion__copy{margin-top:var(--space-md)}.import-target,.import-new-deck{display:flex;flex-direction:column;gap:var(--space-md)}.import-target{gap:var(--space-lg)}.screen--airy{gap:var(--space-xl)}.select{position:relative}.select__button{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);text-align:left;cursor:pointer}.select__button--open{outline:2px solid var(--color-accent);outline-offset:0;border-color:transparent}.select__value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select__value-hint{color:var(--color-text-muted)}.select__chevron{flex:none;color:var(--color-text-muted);transition:transform .2s ease}.select__button--open .select__chevron{transform:rotate(180deg)}.select__list{position:fixed;z-index:50;margin:0;padding:var(--space-xs);list-style:none;overflow-y:auto;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:0 12px 32px #00000073;animation:select-in .12s ease}.select__list:focus{outline:none}@keyframes select-in{0%{opacity:0;transform:translateY(-4px)}}.select__option{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);min-height:var(--min-touch);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-sm);cursor:pointer}.select__option--active{background:var(--color-surface-raised)}.select__option-text{display:flex;flex-direction:column;min-width:0;overflow-wrap:break-word}.profile-section{flex-direction:column;align-items:stretch;gap:var(--space-md)}.profile-section__actions{display:flex;flex-wrap:wrap;gap:var(--space-sm)}.profile-hero__name{max-width:100%;text-align:center;overflow-wrap:anywhere}.avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-touch),1fr));gap:var(--space-sm)}.avatar-grid__item{aspect-ratio:1;display:grid;place-items:center;border-radius:var(--radius-pill);border:2px solid transparent;background:var(--color-surface-raised);color:var(--color-accent);font-family:inherit;font-size:24px;font-weight:var(--weight-bold);cursor:pointer}.avatar-grid__item--letter{font-size:var(--font-title)}.avatar-grid__item:hover{filter:brightness(1.15)}.avatar-grid__item--active{border-color:var(--color-accent)}.streak-screen{justify-content:space-between;min-height:100dvh}.streak-screen__body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-sm);text-align:center}.streak-screen__icon{color:var(--color-flag)}.streak-screen__count{margin:0;font-size:96px;font-weight:var(--weight-bold);line-height:1}.settings-group{flex-direction:column;align-items:stretch;padding:var(--space-xs) var(--space-lg)}.settings-group--padded{gap:var(--space-sm);padding:var(--space-lg)}.switch-row{display:flex;align-items:center;gap:var(--space-md);min-height:var(--min-touch);padding:var(--space-md) 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.switch-row+.switch-row{border-top:1px solid var(--color-border)}.switch-row__text{flex:1;display:flex;flex-direction:column;gap:var(--space-xs)}.switch{flex:none;position:relative;width:48px;height:28px;border-radius:var(--radius-pill);background:var(--color-surface-raised);border:1px solid var(--color-border);transition:background .15s ease}.switch__thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:var(--radius-pill);background:var(--color-text-muted);transition:transform .15s ease,background .15s ease}.switch--on{background:var(--color-accent);border-color:var(--color-accent)}.switch--on .switch__thumb{transform:translate(20px);background:var(--color-on-accent)}.settings-voices{display:flex;flex-direction:column;gap:var(--space-sm)}.voice-list{margin:var(--space-md) 0 0;padding:0;list-style:none;max-height:360px;overflow:auto}.voice-list__row{display:flex;align-items:center;gap:var(--space-sm)}.voice-list__row+.voice-list__row{border-top:1px solid var(--color-border)}.voice-list__choice{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-sm);min-height:var(--min-touch);padding:var(--space-sm) 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.voice-list__choice .row-card__text{flex:1;min-width:0}.top-progress{position:fixed;top:0;left:0;right:0;z-index:100;height:3px;overflow:hidden;background:color-mix(in srgb,var(--color-accent) 20%,transparent)}.top-progress:after{content:"";position:absolute;inset:0 auto 0 0;width:40%;background:var(--color-accent);border-radius:var(--radius-pill);animation:top-progress 1.2s ease-in-out infinite}@keyframes top-progress{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion: reduce){.top-progress:after{animation-duration:3s}}.load-banner{position:fixed;top:var(--space-md);left:50%;transform:translate(-50%);z-index:100;width:min(calc(100% - var(--space-lg) * 2),var(--content-max));display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border-radius:var(--radius-md);background:var(--color-surface-raised);border:1px solid var(--color-grade-again);font-size:var(--font-caption)}.load-banner span{flex:1 1 240px}.select>.card.select__button{width:100%;min-height:var(--min-touch);border:0;color:inherit;font:inherit}.player__preparing{display:flex;align-items:center;justify-content:center;gap:var(--space-sm);margin:auto 0}.review-card{position:relative;display:flex;flex-direction:column;gap:var(--space-md);min-height:260px;padding:var(--space-xl) var(--space-lg) var(--space-lg);border-radius:var(--radius-lg);border:2px solid var(--color-border);background:var(--color-surface);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.review-card:active{cursor:grabbing}.review-card--accept{border-color:var(--color-accent)}.review-card--back{border-color:var(--color-pause-reaction)}.review-card--stop{border-color:var(--color-flag)}.review-card__intent{position:absolute;top:var(--space-md);left:50%;transform:translate(-50%);font-weight:var(--weight-bold)}.review-card--accept .review-card__intent{color:var(--color-accent)}.review-card--back .review-card__intent{color:var(--color-pause-reaction)}.review-card--stop .review-card__intent{color:var(--color-flag)}.review-card__face{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-sm);text-align:center;overflow-wrap:anywhere}.review-card__face p{margin:0}.review-card__word{font-size:var(--font-heading);font-weight:var(--weight-bold)}.review-card__example{margin-top:var(--space-sm)!important}.gap-sound-field{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-md) 0}.review-card__hint{display:flex;align-items:center;justify-content:center;gap:var(--space-xs)}.review-card__badge{align-self:center;padding:var(--space-xs) var(--space-md);border-radius:var(--radius-pill);font-size:var(--font-caption);background:var(--color-surface-raised)}.review-card__badge--accepted{color:var(--color-accent)}.review-card__badge--rejected{color:var(--color-grade-again)}.review-actions{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-sm)}.review-actions__wide{grid-column:1 / -1}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.list--tight{gap:var(--space-sm)}.field-hint{margin-top:calc(var(--space-md) * -1 + var(--space-xs))}.square-button{flex:none;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:var(--radius-md);background:var(--color-accent);color:var(--color-on-accent);cursor:pointer}.list-tools{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md)}.select-mode-button{display:flex;align-items:center;gap:6px;min-height:var(--min-touch);padding:0 2px;border:0;background:none;color:var(--color-text);font:inherit;font-weight:var(--weight-bold);cursor:pointer}.select-mode-button:disabled{opacity:.5;cursor:default}.sort-button{display:flex;align-items:center;gap:var(--space-sm);height:36px;padding:0 14px;border:0;border-radius:var(--radius-pill);background:var(--color-surface);color:var(--color-text);font:inherit;font-size:var(--font-caption);font-weight:var(--weight-bold);white-space:nowrap;cursor:pointer}.sort-button svg{color:var(--color-text-muted)}.no-example{display:flex;align-items:center;gap:6px;margin:0;padding:0 2px;font-size:var(--font-caption);color:var(--color-text-muted)}.check{flex:none;position:relative;width:20px;height:20px;border-radius:6px;border:2px solid var(--color-text-muted);box-sizing:border-box}.check--on{border-color:var(--color-accent);background:var(--color-accent)}.check--on:after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid var(--color-on-accent);border-width:0 2px 2px 0;transform:rotate(45deg)}.word-line{display:flex;align-items:center;gap:10px;width:100%;padding:7px 6px 7px 12px;border-radius:var(--radius-md);background:var(--color-surface);border:1.5px solid transparent;box-sizing:border-box;color:var(--color-text);font:inherit;text-align:left}.word-line--select{padding:10px 12px;min-height:var(--min-touch);cursor:pointer}.word-line--selected{border-color:var(--color-accent);background:var(--color-selected-row)}.word-line__play{flex:none;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:var(--radius-pill);background:var(--color-accent-soft);color:var(--color-accent);cursor:pointer}.word-line__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.word-line__open{min-height:var(--min-touch);justify-content:center;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.word-line__main,.word-line__meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.word-line__main{font-size:16px}.word-line__main b{font-weight:800}.word-line__meta{font-size:var(--font-caption);color:var(--color-text-muted)}.word-line__folder{display:inline-flex;align-items:center;gap:3px;color:var(--color-accent);vertical-align:bottom}.word-line__learned{color:var(--color-text-muted)}.word-line__icon{flex:none;display:grid;place-items:center;width:32px;height:var(--min-touch);padding:0;border:0;background:none;color:var(--color-text-muted);cursor:pointer}.word-line__icon--hard{color:var(--color-flag)}.folder-line{display:flex;align-items:center;gap:14px;width:100%;min-height:60px;padding:12px 16px 12px 18px;border:1.5px solid transparent;border-radius:18px;background:var(--color-surface);box-sizing:border-box;color:var(--color-text);font:inherit;text-align:left;cursor:pointer}.folder-line--selected{border-color:var(--color-accent);background:var(--color-selected-row)}.folder-line svg{flex:none}.folder-line__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.folder-line__text .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folders-hint{display:flex;align-items:flex-start;gap:10px;margin:0;padding:6px 6px 0;font-size:14px;line-height:1.45;color:var(--color-text-muted)}.folders-hint svg{flex:none}.selection{display:flex;flex-direction:column;gap:var(--space-md)}.selection__head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:var(--min-touch)}.selection__head .link{justify-self:start;min-height:var(--min-touch)}.selection__cancel{justify-self:end;min-height:var(--min-touch);border:0;background:none;color:var(--color-text);font:inherit;font-weight:var(--weight-bold);cursor:pointer}.selection__actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-xs);padding:var(--space-sm) var(--space-xs);border-radius:var(--radius-lg);background:var(--color-surface)}.selection__action{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:64px;padding:var(--space-sm) 2px;border:0;border-radius:var(--radius-sm);background:none;color:var(--color-text);font:inherit;font-size:var(--font-caption);font-weight:var(--weight-bold);line-height:1.2;text-align:center;cursor:pointer}.selection__action--accent{color:var(--color-accent)}.selection__action--danger{color:var(--color-danger)}.selection__action:disabled{opacity:.4;cursor:default}.dialog.dialog--sheet{margin:auto auto 0;width:min(560px,100vw);max-width:100vw;border-radius:26px 26px 0 0;border-bottom:0;background:var(--color-surface)}.option-list{display:flex;flex-direction:column}.option-list__item{display:flex;align-items:center;justify-content:space-between;min-height:54px;border:0;border-bottom:1px solid var(--color-border);background:none;color:var(--color-text);font:inherit;font-size:16px;font-weight:var(--weight-bold);text-align:left;cursor:pointer}.option-list__item:last-child{border-bottom:0}.danger-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-danger) 18%,var(--color-surface));color:var(--color-danger)}.danger-list{margin:0;font-weight:var(--weight-bold);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.button--danger-fill{background:var(--color-danger);border:0;color:var(--color-on-danger)}.radio-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0}.radio-list label{display:flex;align-items:flex-start;gap:12px;min-height:var(--min-touch);line-height:1.4}.radio-list input{width:20px;height:20px;margin:1px 0 0;flex:none;accent-color:var(--color-accent)}.header-actions{display:flex;gap:var(--space-sm)}.scope-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px 10px 16px;border:1.5px solid transparent;border-radius:var(--radius-lg);background:var(--color-surface);box-sizing:border-box;color:var(--color-text);font:inherit;text-align:left;cursor:pointer}.scope-row--active{border-color:var(--color-accent);cursor:default}.scope-row svg{flex:none}.scope-row__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.scope-row__text .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-row__open{align-self:stretch;justify-content:center;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.scope-row__clear{flex:none;width:40px;height:40px;margin:-10px -10px -10px 0;background:none;color:var(--color-text-muted)}.sort-button--start{align-self:flex-start}.screen--with-bar{box-sizing:border-box;min-height:calc(100dvh - 76px - env(safe-area-inset-bottom));padding-bottom:var(--space-lg)}@media (min-width: 900px){.screen--with-bar{min-height:100dvh}}.bottom-bar{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));z-index:20;display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);margin-top:auto;padding:var(--space-md) var(--space-lg);border-radius:var(--radius-lg);background:var(--color-surface-raised);border:1px solid var(--color-border)}@media (min-width: 900px){.bottom-bar{bottom:var(--space-lg)}}.import-folders{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--min-touch);color:var(--color-text-muted);font-size:var(--font-caption);cursor:pointer}.import-folders input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--color-accent)}.review-card{padding:0}.review-card__body{flex:1;display:flex;flex-direction:column;justify-content:space-between;width:100%;padding:var(--space-xl);border:0;border-radius:inherit;background:none;color:inherit;font:inherit;text-align:center;cursor:pointer}.review-card__body--revealed{cursor:default}.review-context{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-xs)}.review-context__text--hidden{filter:blur(6px);-webkit-user-select:none;user-select:none}.review-context__toggle{flex:none;display:grid;place-items:center;width:var(--min-touch);height:var(--min-touch);margin:calc((var(--min-touch) - 24px) / -2) 0;padding:0;border:0;border-radius:var(--radius-pill);background:none;color:var(--color-text-muted);cursor:pointer}.review-context__toggle:hover{color:var(--color-text)}.review-card__prompt{align-self:center}.review-card--preparing{justify-content:center;align-items:center}.review-card__hint{display:block;text-align:center;white-space:pre-line}.target-word{background:none;color:var(--color-target-word)}.grade-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-sm)}.grade-button{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:64px;padding:var(--space-sm) 2px;border:2px solid currentColor;border-radius:var(--radius-md);background:none;font:inherit;cursor:pointer}.grade-button__label{font-weight:var(--weight-bold)}.grade-button .caption{color:var(--color-text-muted)}.grade-button--again,.grade-tone--again{color:var(--color-grade-again)}.grade-button--hard,.grade-tone--hard{color:var(--color-grade-hard)}.grade-button--ok,.grade-tone--ok{color:var(--color-grade-ok)}.grade-button--good,.grade-tone--good{color:var(--color-grade-good)}.answer-options{display:flex;flex-direction:column;gap:var(--space-sm);margin:0;padding:0;list-style:none}.answer-option{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);width:100%;min-height:var(--min-touch);padding:var(--space-sm) var(--space-lg);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);font-size:var(--font-body);font-weight:var(--weight-bold);text-align:left;overflow-wrap:anywhere}.answer-option:disabled{cursor:default}.answer-option--correct{border-color:var(--color-grade-good);color:var(--color-grade-good)}.answer-option--wrong{border-color:var(--color-grade-again);color:var(--color-grade-again)}.answer-type{display:flex;flex-direction:column;gap:var(--space-sm)}.answer-result{display:flex;flex-direction:column;gap:var(--space-xs);text-align:center}.answer-result .button{margin-top:var(--space-sm)}.answer-result__verdict--correct{color:var(--color-grade-good)}.answer-result__verdict--almost{color:var(--color-grade-hard)}.answer-result__verdict--wrong{color:var(--color-grade-again)}.review-undo{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-xs)}.review-undo:disabled{opacity:.4;cursor:default}.review-timer{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-md) 0}.review-timer__head{display:flex;justify-content:space-between;align-items:center}.grade-stats{grid-template-columns:repeat(4,1fr)}.player__card-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm)}.player__card-actions{display:flex;align-items:center;gap:var(--space-xs)}.player__pause--paused{box-shadow:inset 0 0 0 2px var(--color-accent)}.player__first--long{font-size:var(--font-heading);line-height:1.25}.check--partial{border-color:var(--color-accent)}.check--partial:after{content:"";position:absolute;left:3px;right:3px;top:7px;height:2px;background:var(--color-accent)}.export-deck{display:flex;flex-direction:column;gap:var(--space-xs)}.export-deck__row{display:flex;align-items:center;gap:var(--space-xs)}.export-deck__parts{display:flex;flex-direction:column;gap:var(--space-xs);padding-left:var(--space-xl)}.avatar-wrap{position:relative;flex:none;display:inline-flex}.avatar-badge{position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:18px;height:18px;border-radius:var(--radius-pill);border:2px solid var(--color-bg);background:var(--color-accent);color:var(--color-on-accent);font-size:10px;font-weight:var(--weight-bold);line-height:1}.avatar-wrap--lg .avatar-badge{width:26px;height:26px;font-size:13px;right:0;bottom:0}.empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--space-sm);padding:var(--space-xxl) var(--space-lg);text-align:center}.empty-state__icon{display:grid;place-items:center;width:64px;height:64px;margin-bottom:var(--space-sm);border-radius:var(--radius-pill);background:var(--color-surface);color:var(--color-accent)}.empty-state .caption{max-width:320px}.catalog-loading{display:flex;align-items:center;justify-content:center;gap:var(--space-sm)}.catalog-admin{flex-direction:column;align-items:stretch;gap:var(--space-md)}.catalog-folders{display:flex;flex-wrap:wrap;gap:var(--space-xs);margin:0;padding:0;list-style:none}.catalog-folder{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--radius-pill);background:var(--color-surface);font-size:var(--font-caption)}.catalog-word{flex-direction:column;align-items:flex-start;gap:2px}.radio-cards{display:flex;flex-direction:column;gap:var(--space-sm)}.radio-card{display:flex;align-items:flex-start;gap:var(--space-md);padding:var(--space-md);border:1.5px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer}.radio-card input{margin-top:3px;accent-color:var(--color-accent)}.radio-card--on{border-color:var(--color-accent);background:var(--color-selected-row)}.radio-card--disabled{opacity:.45;cursor:default}.option-list__label{display:inline-flex;align-items:center;gap:var(--space-md)}html,body{overflow-x:clip}.cards-preview{position:relative;border-radius:var(--radius-lg);background:var(--color-surface);overflow:hidden}.cards-preview__list{max-height:150px;margin:0;padding:var(--space-xs) var(--space-lg);list-style:none;overflow:hidden}.cards-preview--open .cards-preview__list{max-height:50vh;overflow-y:auto;overscroll-behavior:contain}.cards-preview--short .cards-preview__list{max-height:none}.import-card{display:flex;flex-direction:column;gap:2px;padding:var(--space-sm) 0;border-bottom:1px solid var(--color-border)}.import-card:last-child{border-bottom:0}.cards-preview:not(.cards-preview--open):not(.cards-preview--short):after{content:"";position:absolute;left:0;right:0;bottom:var(--min-touch);height:72px;background:linear-gradient(to bottom,transparent,var(--color-surface));pointer-events:none}.cards-preview__toggle{display:flex;align-items:center;justify-content:center;gap:var(--space-xs);width:100%;min-height:var(--min-touch);border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:var(--font-caption);font-weight:var(--weight-bold);text-transform:uppercase;letter-spacing:.04em;text-align:center}.cards-preview--open .cards-preview__toggle .accordion__chevron{transform:rotate(180deg)}.dropdown-anchor{position:relative;display:inline-flex}.dropdown{position:absolute;top:calc(100% + var(--space-xs));right:0;z-index:30;min-width:260px;padding:var(--space-xs) var(--space-md);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-raised);box-shadow:0 12px 32px #00000059}.dropdown .option-list__item{width:100%;min-height:var(--min-touch);font-size:var(--font-body);white-space:nowrap}.toast--notice{border-color:var(--color-accent);white-space:normal;max-width:calc(100vw - 2 * var(--space-lg));text-align:center}.draft-label{color:var(--color-flag);font-weight:var(--weight-bold)}.draft-panel{flex-direction:column;align-items:stretch;gap:var(--space-md);border:1.5px solid var(--color-flag)}.draft-panel__actions{display:flex;flex-direction:column;gap:var(--space-sm)}.option-list__item--danger{color:var(--color-danger)}.player__example{white-space:pre-line}.catalog-word-button{width:100%;text-align:left}.viewer-card{min-height:260px;display:flex;flex-direction:column;justify-content:center;gap:var(--space-sm);padding:var(--space-xl) var(--space-lg);border-radius:var(--radius-lg);background:var(--color-surface-raised);touch-action:pan-y;-webkit-user-select:none;user-select:none;transition:transform .15s ease-out}.viewer-card__folder{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-xs)}.viewer-nav{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md)}.games-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;flex-direction:column;gap:var(--space-md);padding:var(--space-xl) var(--space-lg) calc(var(--space-lg) + env(safe-area-inset-bottom));background:var(--color-bg);overflow-y:auto}.games-overlay>*{width:100%;max-width:var(--content-max);margin-inline:auto}.games-overlay__title{text-align:center}.games-overlay__strip{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--min-touch);padding:var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg);border-radius:var(--radius-pill);background:var(--color-surface)}.games-overlay__strip .title{flex:1}.games-overlay__strip .accent{flex:1;text-align:right}.games-overlay__list{gap:var(--space-xl);padding-bottom:var(--space-xl)}.game-card__icon{display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:var(--radius-md);background:var(--color-accent-soft);font-size:28px}.game-card__record{display:inline-flex;align-items:center;gap:var(--space-xs);color:var(--color-flag)}.tower{position:relative;flex:1;display:flex;flex-direction:column;gap:var(--space-sm);min-height:420px}.tower__scores{display:flex;justify-content:space-between}.tower__scores>span{display:flex;flex-direction:column}.tower__scores>span:last-child{align-items:flex-end}.tower__score{font-size:var(--font-heading);font-weight:var(--weight-bold)}.tower__canvas{flex:1;width:100%;min-height:360px;border-radius:var(--radius-lg);touch-action:none;cursor:pointer}.tower__message{position:absolute;left:var(--space-lg);right:var(--space-lg);bottom:var(--space-xl);display:flex;flex-direction:column;align-items:center;gap:var(--space-sm);padding:var(--space-lg);border-radius:var(--radius-lg);background:#101416d9;text-align:center}.tower__perfect{position:absolute;top:72px;left:50%;transform:translate(-50%);color:var(--color-accent);font-weight:var(--weight-bold);animation:perfect-fade .9s ease forwards;pointer-events:none}@keyframes perfect-fade{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-24px)}}.tower__scores>.skyscraper__middle{align-items:center;gap:var(--space-xs)}.skyscraper__lives{display:flex;gap:2px;color:var(--color-danger)}.skyscraper__lives--lost{animation:lives-shake .45s ease}@keyframes lives-shake{0%,to{transform:translate(0) scale(1)}20%{transform:translate(-6px) scale(1.15)}40%{transform:translate(6px) scale(1.15)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.skyscraper__combo{padding:2px var(--space-sm);border-radius:var(--radius-pill);background:var(--color-surface-raised);color:var(--color-grade-hard);font-size:var(--font-caption);font-weight:var(--weight-bold);animation:combo-pop .35s ease}@keyframes combo-pop{0%{transform:scale(.6)}60%{transform:scale(1.2)}to{transform:scale(1)}}.mahjong{--mj-felt: #2f5a49;--mj-face: #f4ecd8;--mj-edge: #e2d5b6;--mj-back: #1f6b4f;--mj-line: rgb(0 0 0 / .15);--mj-select: #d49a4e;--mj-blocked: brightness(.78) saturate(.85);--mj-art: none}.mahjong--night{--mj-felt: #131a22;--mj-face: #b3ab96;--mj-edge: #8f8873;--mj-back: #1a4234;--mj-line: rgb(0 0 0 / .3);--mj-select: #b8915e;--mj-blocked: brightness(.6);--mj-art: brightness(.82) saturate(.75)}.mahjong__board{display:flex;justify-content:center;-webkit-user-select:none;user-select:none;padding:var(--space-md) var(--space-sm);border-radius:var(--radius-lg);background:var(--mj-felt)}.mahjong__tiles{position:relative;max-width:100%}.mahjong__tile{position:absolute;display:grid;place-items:center;padding:0;border:1px solid var(--mj-line);border-radius:14%/10%;background:var(--mj-face);box-shadow:1px 1px 0 var(--mj-edge),2px 2px 0 var(--mj-edge),3px 3px 0 var(--mj-back),4px 4px 0 var(--mj-back),5px 6px 6px #0000004d;line-height:1;cursor:pointer;transition:opacity .26s ease,transform .26s ease,filter .2s ease}.mahjong__art{width:100%;height:100%;padding:6%;filter:var(--mj-art)}.mahjong__tile--blocked{filter:var(--mj-blocked);cursor:default}.mahjong__tile--selected{outline:3px solid var(--mj-select);outline-offset:-1px;transform:translate(-1px,-3px)}.mahjong__tile--hint{animation:mahjong-hint 1.6s ease-in-out infinite}@keyframes mahjong-hint{0%,to{outline:2px solid transparent}50%{outline:2px solid var(--mj-select)}}.mahjong__tile--gone{opacity:0;transform:scale(.85);pointer-events:none}.mahjong__tile--nudge{animation:mahjong-nudge .3s ease}@keyframes mahjong-nudge{25%{translate:-2px 0}75%{translate:2px 0}}.mahjong__tools{display:flex;gap:var(--space-sm)}.mahjong__scores .tower__score{position:relative}.mahjong__pop{position:absolute;left:100%;top:0;margin-left:var(--space-xs);color:var(--color-grade-hard);font-size:var(--font-caption);white-space:nowrap;animation:perfect-fade-up .9s ease forwards;pointer-events:none}@keyframes perfect-fade-up{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-14px)}}.mahjong__counters{margin:0}.mahjong__result{display:grid;grid-template-columns:1fr auto;gap:var(--space-xs) var(--space-lg);width:100%;margin:0;text-align:left}.mahjong__result dt{color:var(--color-text-muted)}.mahjong__result dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.mahjong__result .mahjong__result-total{color:var(--color-text);font-weight:var(--weight-bold)}.mahjong__record{margin:0;color:var(--color-grade-hard);font-weight:var(--weight-bold)}.mahjong__stats li{display:flex;flex-direction:column;gap:var(--space-xs)}.mahjong__tools .button.mahjong__stats-button{flex:none}.mahjong__tools .button{flex:1;gap:var(--space-xs)}::placeholder{color:var(--color-text-muted);opacity:1}.card--button:disabled .title,.card--button:disabled svg{color:var(--color-text-muted)}.estimate__note{flex-basis:100%}.estimate--sticky{flex-wrap:wrap;position:sticky;top:0;z-index:5;padding:var(--space-sm) var(--space-lg);border-radius:var(--radius-md);background:var(--color-surface-raised)}
