*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.border{border-width:1px}.uppercase{text-transform:uppercase}.italic{font-style:italic}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:root[data-theme=modern-dark],:root{--theme-bg: #0f0f1a;--theme-bg-elevated: #1a1a2e;--theme-bg-card: #16213e;--theme-bg-overlay: rgba(15, 15, 26, .95);--theme-text: #e8eaf6;--theme-text-secondary: #9e9eb8;--theme-text-muted: #5c5c7a;--theme-primary: #7c4dff;--theme-primary-hover: #651fff;--theme-primary-text: #ffffff;--theme-success: #00e676;--theme-error: #ff5252;--theme-warning: #ffd740;--theme-srs-0: #455a64;--theme-srs-1: #1565c0;--theme-srs-2: #1976d2;--theme-srs-3: #388e3c;--theme-srs-4: #2e7d32;--theme-srs-5: #f57f17;--theme-srs-6: #e65100;--theme-srs-7: #b71c1c;--theme-srs-8: #7b1fa2;--theme-srs-9: #4a148c;--theme-border: #2d2d4e;--theme-border-radius: 12px;--theme-shadow: 0 4px 24px rgba(0, 0, 0, .4);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root[data-theme=default]{--theme-bg: #f5f5f5;--theme-bg-elevated: #ffffff;--theme-bg-card: #ffffff;--theme-bg-overlay: rgba(245, 245, 245, .97);--theme-text: #1a1a2e;--theme-text-secondary: #555577;--theme-text-muted: #9999bb;--theme-primary: #5c35d4;--theme-primary-hover: #4a29b0;--theme-primary-text: #ffffff;--theme-success: #00a854;--theme-error: #e53935;--theme-warning: #f59300;--theme-srs-0: #90a4ae;--theme-srs-1: #1565c0;--theme-srs-2: #1976d2;--theme-srs-3: #388e3c;--theme-srs-4: #2e7d32;--theme-srs-5: #f57f17;--theme-srs-6: #e65100;--theme-srs-7: #c62828;--theme-srs-8: #6a1b9a;--theme-srs-9: #4a148c;--theme-border: #e0e0ee;--theme-border-radius: 12px;--theme-shadow: 0 2px 12px rgba(0, 0, 0, .08);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root[data-theme=blue]{--theme-bg: #0a0f1e;--theme-bg-elevated: #0d1730;--theme-bg-card: #101d38;--theme-bg-overlay: rgba(10, 15, 30, .97);--theme-text: #dce8ff;--theme-text-secondary: #7a9fd4;--theme-text-muted: #3d5a80;--theme-primary: #2979ff;--theme-primary-hover: #1565c0;--theme-primary-text: #ffffff;--theme-success: #00e5ff;--theme-error: #ff4569;--theme-warning: #ffab40;--theme-srs-0: #37474f;--theme-srs-1: #0277bd;--theme-srs-2: #0288d1;--theme-srs-3: #00897b;--theme-srs-4: #00796b;--theme-srs-5: #ffa000;--theme-srs-6: #f57c00;--theme-srs-7: #c62828;--theme-srs-8: #6a1b9a;--theme-srs-9: #1565c0;--theme-border: #1a2d55;--theme-border-radius: 12px;--theme-shadow: 0 4px 24px rgba(0, 0, 0, .5);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root[data-theme=green]{--theme-bg: #071a0f;--theme-bg-elevated: #0c2918;--theme-bg-card: #0e2e1c;--theme-bg-overlay: rgba(7, 26, 15, .97);--theme-text: #ccf0d8;--theme-text-secondary: #68b585;--theme-text-muted: #2e6645;--theme-primary: #00c853;--theme-primary-hover: #00a344;--theme-primary-text: #071a0f;--theme-success: #69f0ae;--theme-error: #ff5252;--theme-warning: #ffd740;--theme-srs-0: #2e4a38;--theme-srs-1: #00695c;--theme-srs-2: #00796b;--theme-srs-3: #1b5e20;--theme-srs-4: #2e7d32;--theme-srs-5: #e65100;--theme-srs-6: #bf360c;--theme-srs-7: #b71c1c;--theme-srs-8: #4a148c;--theme-srs-9: #006064;--theme-border: #1a4028;--theme-border-radius: 12px;--theme-shadow: 0 4px 24px rgba(0, 0, 0, .5);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root[data-theme=twilight]{--theme-bg: #120818;--theme-bg-elevated: #1e0f2a;--theme-bg-card: #1a0d24;--theme-bg-overlay: rgba(18, 8, 24, .97);--theme-text: #f0e6ff;--theme-text-secondary: #b088d4;--theme-text-muted: #5a3a7a;--theme-primary: #ce93d8;--theme-primary-hover: #ba68c8;--theme-primary-text: #120818;--theme-success: #a5d6a7;--theme-error: #ef9a9a;--theme-warning: #ffe082;--theme-srs-0: #4a2060;--theme-srs-1: #4527a0;--theme-srs-2: #512da8;--theme-srs-3: #1a5276;--theme-srs-4: #1b5e20;--theme-srs-5: #e65100;--theme-srs-6: #bf360c;--theme-srs-7: #b71c1c;--theme-srs-8: #6a1b9a;--theme-srs-9: #880e4f;--theme-border: #3a1855;--theme-border-radius: 14px;--theme-shadow: 0 4px 28px rgba(100, 0, 150, .25);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root[data-theme=game]{--theme-bg: #0d0d0d;--theme-bg-elevated: #1a1a1a;--theme-bg-card: #141414;--theme-bg-overlay: rgba(13, 13, 13, .97);--theme-text: #ffffff;--theme-text-secondary: #aaaaaa;--theme-text-muted: #555555;--theme-primary: #ffd700;--theme-primary-hover: #ffb300;--theme-primary-text: #0d0d0d;--theme-success: #7fff00;--theme-error: #ff2244;--theme-warning: #ff8c00;--theme-srs-0: #444444;--theme-srs-1: #0060ff;--theme-srs-2: #0080ff;--theme-srs-3: #00aa44;--theme-srs-4: #00cc55;--theme-srs-5: #ff8800;--theme-srs-6: #ff5500;--theme-srs-7: #dd0022;--theme-srs-8: #9900cc;--theme-srs-9: #ffd700;--theme-border: #2a2a2a;--theme-border-radius: 4px;--theme-shadow: 0 0 12px rgba(255, 215, 0, .15);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root[data-theme=modern-gradient]{--theme-bg: #0f0c29;--theme-bg-elevated: #1e1744;--theme-bg-card: #17143a;--theme-bg-overlay: rgba(15, 12, 41, .97);--theme-text: #f0eeff;--theme-text-secondary: #a090d0;--theme-text-muted: #5040a0;--theme-primary: #ff6ec7;--theme-primary-hover: #f060b0;--theme-primary-text: #ffffff;--theme-success: #56d364;--theme-error: #ff7b7b;--theme-warning: #e3b341;--theme-srs-0: #3d3060;--theme-srs-1: #1565c0;--theme-srs-2: #1976d2;--theme-srs-3: #2e7d32;--theme-srs-4: #388e3c;--theme-srs-5: #f57f17;--theme-srs-6: #e65100;--theme-srs-7: #b71c1c;--theme-srs-8: #7b1fa2;--theme-srs-9: #ff6ec7;--theme-border: #2e2060;--theme-border-radius: 16px;--theme-shadow: 0 4px 30px rgba(100, 50, 200, .3);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root[data-theme=cosmos]{--theme-bg: #020818;--theme-bg-elevated: #060e28;--theme-bg-card: #040c22;--theme-bg-overlay: rgba(2, 8, 24, .97);--theme-text: #e8f4ff;--theme-text-secondary: #6a9fd4;--theme-text-muted: #2a4a6a;--theme-primary: #00d4ff;--theme-primary-hover: #00b8e0;--theme-primary-text: #020818;--theme-success: #00ff87;--theme-error: #ff4466;--theme-warning: #ffcc00;--theme-srs-0: #1a2a4a;--theme-srs-1: #0d47a1;--theme-srs-2: #1565c0;--theme-srs-3: #00695c;--theme-srs-4: #00796b;--theme-srs-5: #f57f17;--theme-srs-6: #e65100;--theme-srs-7: #b71c1c;--theme-srs-8: #4a148c;--theme-srs-9: #00d4ff;--theme-border: #0a1835;--theme-border-radius: 12px;--theme-shadow: 0 4px 24px rgba(0, 100, 200, .3);--bottom-nav-height: 64px;--safe-area-bottom: env(safe-area-inset-bottom, 0px)}:root{--mode-mc: #7c4dff;--mode-input: #00bcd4;--mode-srs: #ff9800;--mode-audition: #4caf50;--mode-dictation: #e91e63}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--theme-bg);color:var(--theme-text);min-height:100dvh;overflow-x:hidden}#root{min-height:100dvh;display:flex;flex-direction:column}.app-content{flex:1;padding-bottom:calc(var(--bottom-nav-height) + var(--safe-area-bottom));overflow-y:auto}button,a,[role=button]{min-height:44px;cursor:pointer}.card{background:var(--theme-bg-card);border:1px solid var(--theme-border);border-radius:var(--theme-border-radius);padding:16px;box-shadow:var(--theme-shadow)}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes slideUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes confetti-rise{0%{transform:translateY(0) rotate(0) scale(1);opacity:1}to{transform:translateY(-70px) rotate(720deg) scale(0);opacity:0}}.input-retry-hint::-moz-placeholder{color:var(--theme-success);opacity:.8}.input-retry-hint::placeholder{color:var(--theme-success);opacity:.8}.srs-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;color:#fff}
