/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--spacing:.25rem;--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.table{display:table}.grow{flex-grow:1}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}:root{--background:#f6f4ef;--foreground:#171815;--muted:#62655d;--panel:#fffdf8;--panel-strong:#fff;--line:#ded8ca;--accent:#2f7d55;--accent-strong:#1f6040;--accent-soft:#dbeadd;--ink-soft:#2a302b;--shadow:0 22px 60px #25231c1c}*{box-sizing:border-box}html{background:var(--background);min-height:100%}body{background:radial-gradient(circle at 14% 12%, #2f7d5524, transparent 28rem), linear-gradient(135deg, #fbfaf5 0%, var(--background) 48%, #eef1ea 100%);min-height:100%;color:var(--foreground);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled,input:disabled{cursor:not-allowed;opacity:.55}.app-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 36px}.utility-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:22px 0 42px}.app-nav{justify-content:space-between;align-items:center;gap:16px;min-height:64px;margin-bottom:18px;display:flex}.nav-brand{color:var(--foreground);align-items:center;gap:10px;font-weight:900;text-decoration:none;display:flex}.app-nav nav,.link-row,.context-nav,.entry-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-nav nav a,.context-nav a,.link-row a,.entry-actions a,.primary-link{border:1px solid var(--line);min-height:36px;color:var(--foreground);border-radius:999px;padding:8px 11px;font-weight:800;text-decoration:none}.app-nav nav a:hover,.context-nav a:hover,.link-row a:hover,.entry-actions a:hover,.primary-link:hover{border-color:var(--accent);background:var(--accent-soft)}.nav-lock{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:999px;padding:8px 11px;font-size:.82rem;font-weight:900}.utility-hero,.game-hero,.entry-hero{border:1px solid var(--line);box-shadow:var(--shadow);background:#fffdf8e6;border-radius:8px;gap:14px;padding:clamp(18px,4vw,34px);display:grid}.utility-hero.compact{box-shadow:none}.utility-hero h1,.game-hero h1,.entry-hero h1{max-width:820px;font-size:clamp(2rem,5vw,4.8rem)}.utility-hero p,.game-hero p,.entry-hero p{max-width:760px;color:var(--muted);margin-bottom:0;font-size:1.04rem;line-height:1.58}.game-hero,.entry-hero{grid-template-columns:minmax(0,1fr) auto;align-items:center}.context-nav{margin:14px 0;padding-bottom:4px;overflow-x:auto}.game-grid,.hub-actions,.entry-grid{gap:14px;margin-top:16px;display:grid}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-actions,.entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card,.entry-card,.learning-summary,.entry-detail{border:1px solid var(--line);background:#fffdf8db;border-radius:8px}.game-card{gap:18px;padding:18px;display:grid}.game-card-top{align-items:center;gap:13px;display:flex}.game-card h2,.entry-card h2,.hub-actions strong{margin-bottom:0}.game-card p,.entry-card span,.hub-actions strong,.learning-summary p,.summary-list p{color:var(--muted);line-height:1.5}.game-icon{color:#132017;border-radius:8px;flex:0 0 52px;place-items:center;width:52px;height:52px;font-weight:950;display:grid}.game-icon.large{width:84px;height:84px;font-size:1.2rem}.mini-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.mini-stats.stacked{grid-template-columns:1fr}.mini-stats div{border:1px solid var(--line);border-radius:8px;min-width:0;padding:10px}.mini-stats dd{font-size:.95rem}.hub-actions a,.entry-card{min-height:170px;color:var(--foreground);gap:10px;padding:18px;text-decoration:none;display:grid}.hub-actions span{color:var(--accent-strong);text-transform:uppercase;font-size:.78rem;font-weight:900}.learning-summary{grid-template-columns:minmax(0,1.05fr) minmax(260px,.95fr);gap:18px;margin-top:14px;padding:18px;display:grid}.summary-list{gap:10px;display:grid}.browse-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:16px 0;display:grid}.browse-toolbar input{min-height:48px;font-size:1rem}.browse-toolbar div{flex-wrap:wrap;gap:8px;display:flex}.browse-toolbar button,.entry-actions button{border:1px solid var(--line);min-height:38px;color:var(--foreground);background:#fffefa;border-radius:999px;padding:0 12px;font-weight:800}.entry-card strong{overflow-wrap:anywhere;font-size:1.35rem}.entry-detail{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;padding:14px;display:grid}.entry-language-block{border:1px solid var(--line);border-radius:8px;min-width:0;padding:14px}.entry-language-block.primary h2{font-size:clamp(1.6rem,4vw,3rem)}.entry-actions{margin-top:14px}.study-shell{gap:16px;display:grid}.study-review-panel,.study-create-panel,.study-insight-panel,.study-deck-hero,.study-add-panel,.study-card-list,.study-session-hero,.study-direction-panel,.flashcard-stage{border:1px solid var(--line);background:#fffdf8e0;border-radius:8px}.study-review-panel,.study-create-panel,.study-insight-panel,.study-deck-hero,.study-session-hero{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:clamp(16px,3vw,24px);display:grid}.study-review-panel h2,.study-create-panel h2,.study-insight-panel h2,.study-deck-hero h1,.study-session-hero h1,.study-add-panel h2,.study-card-list h2{margin-bottom:0}.study-review-panel p,.study-create-panel p,.study-insight-panel p,.study-deck-hero p,.study-session-hero p,.study-starter-card p,.deck-card p,.study-stat-card p{color:var(--muted);margin-bottom:0;line-height:1.5}.study-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.study-stat-card{border:1px solid var(--line);background:#fffdf8c7;border-radius:8px;gap:7px;min-height:130px;padding:16px;display:grid}.study-stat-card span,.study-session-meta span,.flashcard-face span,.session-review-buttons small,.study-card-row small,.study-card-row>div:last-of-type span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:900}.study-stat-card strong{font-size:clamp(1.8rem,4vw,3rem);line-height:1}.study-create-controls{grid-template-columns:minmax(220px,1fr) minmax(180px,.55fr) auto;gap:10px;display:grid}.study-create-controls input,.study-add-panel input,.session-test-box input{min-height:48px;font-size:1rem}.study-create-controls select{min-height:48px}.study-create-controls button,.study-starter-card button,.study-search-result button,.study-card-row button,.study-section-heading button,.study-direction-panel button,.session-test-box button,.session-review-buttons button{border:1px solid var(--line);min-height:40px;color:var(--foreground);background:#fffefa;border-radius:8px;padding:0 13px;font-weight:850}.study-create-controls button,.study-starter-card button,.study-search-result button:not(:disabled){border-color:var(--accent);background:var(--accent);color:#fff}.deck-grid,.study-starter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.deck-card,.study-starter-card{border:1px solid var(--line);background:#fffdf8db;border-radius:8px;gap:15px;padding:18px;display:grid}.deck-card h2,.study-starter-card h2{margin-bottom:0}.deck-meter{border:1px solid var(--line);background:#2f7d5514;border-radius:999px;height:9px;overflow:hidden}.deck-meter span{border-radius:inherit;background:var(--accent);height:100%;display:block}.study-deck-actions,.study-section-heading,.study-session-meta,.session-review-buttons{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.study-deck-actions{justify-content:flex-end}.study-deck-actions a{border:1px solid var(--line);min-height:38px;color:var(--foreground);border-radius:999px;padding:8px 12px;font-weight:850;text-decoration:none}.study-deck-actions a:first-child{border-color:var(--accent);background:var(--accent);color:#fff}.study-add-panel,.study-card-list,.flashcard-stage{gap:14px;padding:clamp(16px,3vw,22px);display:grid}.study-search-results{gap:8px;display:grid}.study-search-result,.study-card-row{background:#ffffff80;border:1px solid #ded8cac7;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:70px;padding:10px;display:grid}.study-card-row{grid-template-columns:auto minmax(0,1fr) minmax(96px,auto) auto}.study-search-result strong,.study-search-result span,.study-card-row strong,.study-card-row span,.study-card-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.study-search-result span,.study-card-row span,.study-card-row small{color:var(--muted)}.study-icon-tile{color:#132017;border-radius:8px;place-items:center;width:46px;height:46px;font-size:.78rem;font-weight:950;display:grid;overflow:hidden}.study-icon-tile img{object-fit:contain;width:32px;height:32px;image-rendering:pixelated}.study-section-heading{justify-content:space-between}.study-direction-panel{flex-wrap:wrap;gap:8px;padding:12px;display:flex}.study-direction-panel button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.study-session-meta{justify-content:flex-end}.study-session-meta span{border:1px solid var(--line);border-radius:999px;padding:8px 10px}.flashcard-face{border:1px solid var(--line);background:linear-gradient(180deg, #ffffff9e, transparent), var(--panel-strong);width:100%;min-height:clamp(300px,44vh,480px);color:var(--foreground);text-align:center;border-radius:8px;gap:16px;padding:clamp(20px,5vw,42px);display:grid}.flashcard-face.flipped{border-color:var(--accent);background:linear-gradient(180deg, #2f7d551f, transparent), var(--panel-strong)}.flashcard-face strong{overflow-wrap:anywhere;align-self:center;font-size:clamp(2rem,7vw,5.2rem);line-height:1.05}.flashcard-face small{color:var(--accent-strong);font-size:clamp(1.05rem,3vw,1.5rem);font-weight:850}.flashcard-face em{color:var(--muted);font-style:normal;font-weight:800}.session-test-box{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.session-review-buttons{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.session-review-buttons button{place-items:center;gap:4px;min-height:62px;display:grid}.session-review-buttons button:first-child{border-color:#c96b5b}.session-review-buttons button:nth-child(3),.session-review-buttons button:nth-child(4){border-color:var(--accent)}.study-error{color:#a14d3d;border:1px solid #c96b5b;border-radius:8px;margin:0;padding:12px 14px;font-weight:850}.home-shell{width:min(1120px,100% - 32px);min-height:100vh;margin:0 auto;padding:clamp(22px,5vw,56px) 0 40px}.home-hero{border:1px solid var(--line);background:linear-gradient(135deg, #fffdf8f0, #eef1ead6), var(--panel);min-height:min(760px,100vh - 96px);box-shadow:var(--shadow);border-radius:8px;align-content:space-between;gap:clamp(28px,6vw,64px);padding:clamp(18px,4vw,34px);display:grid}.home-topbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.home-status{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:999px;padding:8px 12px;font-size:.84rem;font-weight:800}.home-copy{max-width:840px}.home-copy h1{max-width:820px;margin-bottom:18px;font-size:clamp(2.45rem,7vw,6.5rem);line-height:.96}.home-copy p:last-child,.access-panel p{color:var(--muted);font-size:clamp(1rem,2vw,1.14rem);line-height:1.6}.access-panel{border:1px solid var(--line);background:#ffffff8a;border-radius:8px;max-width:620px;padding:18px}.access-panel h2{margin-bottom:8px;font-size:clamp(1.25rem,3vw,1.9rem)}.access-panel p{margin-bottom:0}.locked-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.locked-card{border:1px solid var(--line);background:#fffdf8d1;border-radius:8px;gap:18px;min-height:210px;padding:18px;display:grid}.locked-card h2{margin-bottom:0;font-size:1.28rem}.locked-card p{color:var(--muted);margin-bottom:0;line-height:1.5}.locked-card span{border:1px solid var(--line);width:fit-content;color:var(--muted);border-radius:999px;align-self:end;padding:7px 10px;font-size:.78rem;font-weight:900}.search-section{gap:22px;padding-top:clamp(16px,4vw,44px);display:grid}.topbar,.content-shell,.results-toolbar,.result-header,.card-actions,.note-row,.toggle-row,.panel-heading,.tool-heading{align-items:center;display:flex}.topbar{justify-content:space-between;gap:18px}.brand-lockup{align-items:center;gap:14px;display:flex}.brand-mark{color:#f7f1df;width:48px;height:48px;box-shadow:var(--shadow);background:#18362a;border:1px solid #2f7d5557;border-radius:8px;place-items:center;font-size:22px;font-weight:800;display:grid}.eyebrow,.card-kicker{color:var(--accent-strong);letter-spacing:0;text-transform:uppercase;margin:0;font-size:.74rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{letter-spacing:0;margin-bottom:0;font-size:clamp(2rem,5vw,4.4rem);line-height:.95}.version-pill{border:1px solid var(--line);color:var(--muted);white-space:nowrap;background:#ffffffb8;border-radius:999px;margin:0;padding:8px 11px;font-size:.86rem}.search-card{border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf8eb;border-radius:8px;padding:clamp(16px,3vw,28px)}.product-banner{border:1px solid var(--line);background:#fffdf8bd;border-radius:8px;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);align-items:end;gap:18px;padding:clamp(16px,3vw,26px);display:grid}.product-banner h2,.tool-heading h2{margin-bottom:0}.product-banner h2{max-width:720px;font-size:clamp(1.45rem,3vw,2.35rem);line-height:1.08}.product-banner p{color:var(--muted);margin-bottom:0;line-height:1.55}.tool-heading{justify-content:space-between;gap:14px;margin-bottom:18px}.tool-heading>p{color:var(--muted);margin-bottom:0;font-weight:800}.controls-grid{grid-template-columns:minmax(150px,1fr) minmax(130px,.8fr) 42px minmax(130px,.8fr);align-items:end;gap:12px;margin-bottom:16px;display:grid}label{gap:7px;display:grid}label span,.search-label,dt{color:var(--muted);font-size:.78rem;font-weight:800}select,input{width:100%;color:var(--foreground);background:#fffefa;border:1px solid #cfc8b9;border-radius:7px;outline:none;transition:border-color .16s,box-shadow .16s}select{min-height:46px;padding:0 12px}input{min-height:64px;padding:0 18px;font-size:clamp(1.1rem,2.5vw,1.55rem);font-weight:750}select:focus,input:focus{border-color:var(--accent);box-shadow:0 0 0 4px #2f7d552e}.swap-control{border:1px solid var(--line);background:var(--ink-soft);color:#fffdf8;border-radius:7px;place-items:center;min-width:42px;height:46px;font-size:1.25rem;display:grid}.note-row{color:var(--muted);justify-content:space-between;gap:16px;margin-top:14px}.note-row p{max-width:680px;margin-bottom:0;font-size:.92rem}.toggle-row{flex-wrap:wrap;justify-content:flex-end;gap:8px}.toggle{border:1px solid var(--line);white-space:nowrap;background:#fffefa;border-radius:999px;align-items:center;gap:8px;min-height:36px;padding:0 10px;display:flex}.toggle input{width:16px;min-height:16px;accent-color:var(--accent)}.content-shell{align-items:flex-start;gap:20px;margin-top:22px}.side-panel{flex:0 0 270px;gap:14px;width:270px;display:grid;position:sticky;top:18px}.panel-block,.result-card,.no-results{border:1px solid var(--line);background:#fffdf8e6;border-radius:8px}.panel-block{padding:15px}.panel-heading{justify-content:space-between;gap:10px;margin-bottom:12px}.panel-heading h2,.results-toolbar h2{margin-bottom:0;font-size:1.02rem}.result-limit{color:var(--muted);margin:6px 0 0;font-size:.84rem}.panel-heading span{color:var(--muted);font-size:.82rem;font-weight:800}.quick-list,.recent-list,.set-list,.card-preview-list{gap:8px;display:grid}.quick-list button,.recent-list button,.set-list button,.flashcard-row button{width:100%;min-height:42px;color:var(--foreground);text-align:left;background:0 0;border:1px solid #0000;border-radius:7px}.quick-list button{grid-template-columns:34px 1fr;align-items:center;gap:9px;display:grid}.recent-list button,.set-list button,.flashcard-row button:first-child{gap:2px;padding:8px 10px;display:grid}.quick-list button:hover,.recent-list button:hover,.set-list button:hover,.flashcard-row button:hover{border-color:var(--line);background:#2f7d5514}.set-list button.active{border-color:var(--accent);background:var(--accent-soft)}.recent-list small,.set-list small,.flashcard-row small,.empty-text{color:var(--muted)}.empty-text{margin:0;font-size:.9rem}.results-section{flex:1;min-width:0}.set-creator{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.set-creator input{min-height:38px;padding:0 10px;font-size:.9rem;font-weight:700}.set-creator button,.flashcard-picker button{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:7px;min-height:38px;padding:0 11px;font-weight:800}.notice-text{color:var(--accent-strong);margin:8px 0 0;font-size:.84rem;font-weight:800}.set-list{margin-top:10px}.card-preview-list,.study-panel{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.study-stats,.study-tabs,.review-buttons{flex-wrap:wrap;gap:7px;display:flex}.study-stats{color:var(--muted);justify-content:space-between;font-size:.82rem;font-weight:800}.study-tabs{margin-top:10px}.study-tabs button,.review-buttons button,.test-box button{border:1px solid var(--line);min-height:34px;color:var(--foreground);background:#fffefa;border-radius:999px;padding:0 10px;font-weight:800}.study-tabs button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.study-card-wrap{gap:10px;margin-top:12px;display:grid}.study-card{border:1px solid var(--line);background:linear-gradient(180deg, #ffffff85, transparent), var(--panel-strong);min-height:190px;color:var(--foreground);text-align:left;border-radius:8px;gap:9px;padding:18px;display:grid;box-shadow:inset 0 -1px #0000000a}.study-card.flipped{border-color:var(--accent);background:linear-gradient(180deg, #2f7d551f, transparent), var(--panel-strong)}.study-label{color:var(--muted);text-transform:uppercase;font-size:.76rem;font-weight:900}.study-term{overflow-wrap:anywhere;align-self:center;font-size:clamp(1.35rem,4vw,2.1rem);font-weight:900;line-height:1.16}.study-card small{color:var(--muted);font-weight:800}.test-box{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.test-box input{min-height:40px;padding:0 11px;font-size:.95rem}.test-result{grid-column:1/-1;margin:0;font-size:.86rem;font-weight:800}.test-result.correct{color:var(--accent-strong)}.test-result.close{color:#9b6d00}.test-result.miss{color:#a14d3d}.review-buttons button:first-child{border-color:#c96b5b}.review-buttons button:nth-child(3),.review-buttons button:nth-child(4){border-color:var(--accent)}.flashcard-row{grid-template-columns:minmax(0,1fr) 30px;align-items:stretch;gap:6px;display:grid}.flashcard-row span,.flashcard-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.flashcard-row .remove-card{border-color:var(--line);min-width:30px;min-height:30px;color:var(--muted);text-align:center;place-items:center;padding:0;display:grid}.results-toolbar{justify-content:space-between;gap:14px;margin-bottom:14px}.type-tabs{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.type-tabs button{border:1px solid var(--line);min-height:34px;color:var(--muted);text-transform:capitalize;white-space:nowrap;background:#ffffff9e;border-radius:999px;padding:0 10px}.type-tabs button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.results-grid{gap:14px;display:grid}.result-card{padding:clamp(16px,3vw,22px)}.result-header{justify-content:space-between;gap:14px}.result-header>div{flex:1;min-width:0}.result-header h3{margin-bottom:0}.icon-tile{border:1px solid #0000001f;border-radius:8px;flex:0 0 54px;place-items:center;width:54px;height:54px;display:grid;box-shadow:inset 0 0 0 1px #ffffff2e}.icon-tile img{object-fit:contain;width:36px;height:36px;image-rendering:pixelated}.fallback-icon{color:#ffffffdb;font-size:.72rem;font-weight:900}.icon-button{border:1px solid var(--line);color:#8d887d;background:#fffefa;border-radius:999px;width:38px;height:38px}.icon-button.active{color:#9b6d00;background:#fff3c4;border-color:#d3a342}.term-large{max-width:100%;color:var(--foreground);overflow-wrap:anywhere;font-size:clamp(1.7rem,4.4vw,3rem);font-weight:850;line-height:1.18;display:inline-block}.japanese-term{flex-wrap:wrap;align-items:flex-end;gap:.18em .14em;display:inline-flex}.reading-segment{text-underline-offset:.12em;-webkit-text-decoration:underline dotted #1f60408c;text-decoration:underline dotted #1f60408c;position:relative}.reading-segment:not(.show):hover:after{z-index:3;color:#fffaf0;content:attr(data-reading);white-space:nowrap;background:#17241d;border-radius:6px;width:max-content;max-width:180px;padding:5px 8px;font-size:.78rem;font-weight:800;line-height:1.2;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0003}.reading-segment:not(.show):focus-visible:after{z-index:3;color:#fffaf0;content:attr(data-reading);white-space:nowrap;background:#17241d;border-radius:6px;width:max-content;max-width:180px;padding:5px 8px;font-size:.78rem;font-weight:800;line-height:1.2;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0003}rt{color:var(--accent-strong);font-size:.42em;font-weight:800;line-height:1.1}.term-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0;display:grid}.term-details div{background:#ffffff8a;border:1px solid #ded8cac7;border-radius:7px;min-width:0;padding:12px}dt{margin-bottom:5px}dd{overflow-wrap:anywhere;color:var(--foreground);margin:0;font-weight:750}.mono{font-family:var(--font-geist-mono), Consolas, monospace;font-size:.86rem;font-weight:650}.unavailable{color:#a14d3d}.card-actions{flex-wrap:wrap;gap:10px;margin-top:16px}.card-actions button{border:1px solid var(--line);min-height:38px;color:var(--foreground);background:#fffefa;border-radius:7px;padding:0 13px;font-weight:800}.card-actions button:first-child{border-color:var(--accent);background:var(--accent);color:#fff}.flashcard-picker{grid-template-columns:minmax(180px,280px) auto;align-items:end;gap:8px;margin-left:auto;display:grid}.flashcard-picker label{gap:5px}.flashcard-picker select{min-height:38px;padding:0 10px;font-size:.9rem}.no-results{padding:24px}.no-results h3{margin-bottom:8px;font-size:1.2rem}.no-results p{max-width:620px;color:var(--muted);margin-bottom:0}footer{color:var(--muted);text-align:center;margin-top:24px;font-size:.86rem}@media (prefers-color-scheme:dark){:root{--background:#151813;--foreground:#f3f1e9;--muted:#b7b9ae;--panel:#1c211b;--panel-strong:#242a22;--line:#3d4439;--accent:#8bcf9b;--accent-strong:#b8edc1;--accent-soft:#263e2c;--ink-soft:#e8eddf;--shadow:0 22px 64px #00000057}body{background:radial-gradient(circle at 12% 10%, #8bcf9b1f, transparent 28rem), linear-gradient(135deg, #141812 0%, var(--background) 52%, #1c221b 100%)}.brand-mark{color:#132017;background:#d7f5ca}.version-pill,.search-card,.product-banner,.panel-block,.result-card,.no-results,.study-card,.home-hero,.access-panel,.locked-card,.utility-hero,.game-hero,.entry-hero,.game-card,.entry-card,.learning-summary,.entry-detail,.study-review-panel,.study-create-panel,.study-insight-panel,.study-deck-hero,.study-add-panel,.study-card-list,.study-session-hero,.study-direction-panel,.flashcard-stage,.study-stat-card,.deck-card,.study-starter-card{background:#1c211bdb}select,input,.toggle,.icon-button,.card-actions button,.set-creator button,.flashcard-picker button,.study-tabs button,.review-buttons button,.test-box button,.browse-toolbar button,.entry-actions button,.type-tabs button,.term-details div,.mini-stats div,.entry-language-block,.quick-list button,.recent-list button,.set-list button,.flashcard-row button,.study-create-controls button,.study-starter-card button,.study-search-result button,.study-card-row button,.study-section-heading button,.study-direction-panel button,.session-test-box button,.session-review-buttons button,.study-search-result,.study-card-row,.flashcard-face,.study-session-meta span{color:var(--foreground);background:#222820}.card-actions button:first-child,.set-creator button,.flashcard-picker button,.study-create-controls button,.study-starter-card button,.study-search-result button:not(:disabled),.study-deck-actions a:first-child{color:#132017;background:#8bcf9b}.study-card.flipped,.flashcard-face.flipped{background:linear-gradient(#8bcf9b1f,#0000),#222820}.swap-control{color:#132017;background:#d7f5ca}}@media (max-width:900px){.content-shell{display:grid}.side-panel{flex-basis:auto;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;position:static}.locked-grid,.game-grid,.hub-actions,.entry-grid,.learning-summary,.entry-detail,.study-stat-grid,.deck-grid,.study-starter-grid,.study-review-panel,.study-create-panel,.study-insight-panel,.study-deck-hero,.study-session-hero{grid-template-columns:1fr}.study-deck-actions,.study-session-meta{justify-content:flex-start}.study-create-controls{grid-template-columns:1fr}}@media (max-width:720px){.app-shell{width:min(100% - 22px,1180px);padding-top:16px}.topbar,.home-topbar,.app-nav,.game-hero,.entry-hero,.note-row,.results-toolbar,.tool-heading{flex-direction:column;align-items:flex-start}.product-banner{grid-template-columns:1fr}.app-nav nav{flex-wrap:nowrap;width:100%;padding-bottom:4px;overflow-x:auto}.nav-lock{display:none}.browse-toolbar{grid-template-columns:1fr}.controls-grid{grid-template-columns:1fr 1fr}.swap-control{grid-column:1/-1;width:100%}.term-details,.side-panel{grid-template-columns:1fr}.toggle-row{justify-content:flex-start}.flashcard-picker{grid-template-columns:1fr;width:100%;margin-left:0}.test-box,.study-search-result,.study-card-row,.session-test-box,.session-review-buttons{grid-template-columns:1fr}.study-card-row button,.study-search-result button{width:100%}}@media (max-width:470px){.controls-grid{grid-template-columns:1fr}.result-header{align-items:flex-start}.icon-tile{flex-basis:48px;width:48px;height:48px}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
