/*! tailwindcss v4.3.3 | 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,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--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;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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]){appearance:button}::file-selector-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{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.isolate{isolation:isolate}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-10{height:calc(var(--spacing) * 10)}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-10{width:calc(var(--spacing) * 10)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}.border{border-style:var(--tw-border-style);border-width:1px}.font-sans{font-family:var(--font-sans)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (width>=40rem){.sm\:inline{display:inline}}}:root{--text:#2e3856;--text-h:#182033;--text-muted:#858fa6;--bg:#f6f7fb;--surface:#fff;--surface-alt:#f3f4f6;--border:#edeff4;--code-bg:#edf0ff;--accent:#4255ff;--accent-hover:#3b4ccb;--accent-bg:#4255ff14;--accent-border:#4255ff4d;--social-bg:#f4f7ffd9;--shadow:#0f172a0a 0 4px 16px -4px, #0f172a05 0 4px 8px -4px;--sans:Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--heading:Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--mono:ui-monospace, SFMono-Regular, Consolas, monospace;font:16px/1.5 var(--sans);letter-spacing:0;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dark{--text:#939bb4;--text-h:#fff;--text-muted:#687391;--bg:#0a092d;--surface:#1a1b2d;--surface-alt:#282e3e;--border:#2e3856;--code-bg:#282e3e;--accent:#4255ff;--accent-hover:#5d6eff;--accent-bg:#4255ff26;--accent-border:#4255ff80;--social-bg:#1a1b2dd9;--shadow:#0000004d 0 12px 32px -8px, #0003 0 8px 16px -8px}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}#root{box-sizing:border-box;width:100%;min-height:100vh}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:700}h1{letter-spacing:-.06em;margin:0;font-size:56px;line-height:.98}h2{letter-spacing:-.03em;margin:0;font-size:24px;line-height:1.18}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{--header-height:56px;--sidebar-width-expanded:240px;--sidebar-width-collapsed:68px;background:var(--surface);min-height:100svh;color:var(--text);transition:background-color .3s,color .3s}.app-header{height:var(--header-height);background:var(--surface);box-sizing:border-box;z-index:40;justify-content:space-between;align-items:center;gap:12px;padding:0 8px;transition:background-color .3s,border-color .3s,height .3s;display:flex;position:fixed;inset:0 0 auto}.header-left{align-items:center;gap:10px;display:flex}.header-right{align-items:center;gap:8px;display:flex}.header-icon-button{cursor:pointer;width:36px;height:36px;color:var(--text-h);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:background-color .2s,color .2s;display:inline-flex}.header-icon-button:hover{background:var(--accent-bg);color:var(--accent)}.hamburger{flex-direction:column;justify-content:center;gap:4px;width:18px;height:18px;display:inline-flex}.hamburger span{transform-origin:50%;background:currentColor;border-radius:999px;width:18px;height:2px;transition:transform .25s,opacity .25s,width .25s;display:block}.workspace:not(.workspace--collapsed)~.app-header .hamburger span:first-child,.workspace:not(.workspace--collapsed) .hamburger span:first-child{transform:translateY(6px)rotate(45deg)}.workspace:not(.workspace--collapsed)~.app-header .hamburger span:nth-child(2),.workspace:not(.workspace--collapsed) .hamburger span:nth-child(2){opacity:0}.workspace:not(.workspace--collapsed)~.app-header .hamburger span:nth-child(3),.workspace:not(.workspace--collapsed) .hamburger span:nth-child(3){transform:translateY(-6px)rotate(-45deg)}.brand-mark{cursor:pointer;align-items:center;gap:6px;text-decoration:none;display:flex}.brand-mark__badge{font-family:var(--heading);letter-spacing:-.04em;color:var(--accent);text-shadow:0 2px 4px #4255ff1a;align-items:center;font-size:22px;font-weight:800;display:inline-flex}.brand-mark__title{font-family:var(--heading);color:var(--text-h);letter-spacing:-.01em;font-size:14px;font-weight:700}.search-container{flex:1;max-width:320px;margin:0 8px;display:none;position:relative}.search-input{background:var(--bg);width:100%;height:38px;color:var(--text-h);border:2px solid #0000;border-radius:9999px;outline:none;padding:8px 12px 8px 36px;font-size:13px;transition:border-color .2s,background-color .2s}.search-input::placeholder{color:var(--text);opacity:.7}.search-input:hover{background:var(--border)}.search-input:focus{background:var(--surface);border-color:var(--accent)}.search-icon{width:16px;height:16px;color:var(--text);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search-results-dropdown{background:var(--surface);border:1px solid var(--border);z-index:1000;scrollbar-width:thin;border-radius:12px;width:100%;min-width:320px;max-height:400px;padding:8px 0;position:absolute;top:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.search-results-dropdown.lp-glass{-webkit-backdrop-filter:blur(16px);background:#ffffffd9}.dark .search-results-dropdown.lp-glass{background:#1a1b2de6;border-color:#ffffff14}.search-no-results{text-align:center;color:var(--text-muted);padding:16px;font-size:13.5px}.search-group{margin-bottom:8px}.search-group:last-child{margin-bottom:0}.search-group-header{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);background:#00000005;padding:6px 16px;font-size:11px;font-weight:700}.dark .search-group-header{background:#ffffff05}.search-group-list{margin:0;padding:0;list-style:none}.search-item{color:var(--text-h);align-items:center;gap:12px;padding:8px 16px;text-decoration:none;transition:background .15s;display:flex}.search-item:hover{background:var(--border)}.dark .search-item:hover{background:#ffffff0d}.search-item-icon{width:16px;height:16px;color:var(--accent);opacity:.85;flex-shrink:0}.search-item-info{flex-direction:column;gap:2px;min-width:0;display:flex}.search-item-title{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:600;overflow:hidden}.search-item-desc{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.search-item-author{color:var(--text-muted);opacity:.8;flex-shrink:0;margin-left:auto;padding-left:12px;font-size:11px;font-weight:500}.create-button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:6px 12px;font-size:13px;font-weight:700;transition:background-color .2s,transform .1s;display:inline-flex}.create-button:hover{background:var(--accent-hover)}.create-button:active{transform:scale(.97)}.premium-button{color:#d97706;cursor:pointer;background:0 0;border:1.5px solid #fbbf24;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:700;transition:background-color .2s,color .2s,border-color .2s;display:none}.dark .premium-button{color:#fbbf24;border-color:#fbbf24}.premium-button:hover{color:#1e1b4b;background:#fbbf24}.theme-toggle-button{cursor:pointer;width:36px;height:36px;color:var(--text);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:background-color .2s,color .2s;display:inline-flex}.theme-toggle-button:hover{background:var(--accent-bg);color:var(--accent)}.theme-toggle-button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.avatar-button{cursor:pointer;background:0 0;border:none;border-radius:50%;width:32px;height:32px;padding:0;position:relative}.avatar-button__avatar{background:linear-gradient(135deg, var(--accent), var(--accent-hover));color:#fff;letter-spacing:.04em;border-radius:50%;place-items:center;width:100%;height:100%;font-size:12px;font-weight:700;display:grid}.workspace{--sidebar-width:var(--sidebar-width-expanded);min-height:100svh;padding-top:var(--header-height);display:block;position:relative}.sidebar-overlay{top:var(--header-height);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:25;background:#0006;animation:.2s ease-out forwards sidebarOverlayFadeIn;position:fixed;bottom:0;left:0;right:0}@keyframes sidebarOverlayFadeIn{0%{opacity:0}to{opacity:1}}.sidebar{top:var(--header-height);width:var(--sidebar-width-expanded);height:calc(100svh - var(--header-height));box-sizing:border-box;background:var(--surface);z-index:30;padding:16px 12px;transition:transform .3s cubic-bezier(.4,0,.2,1),width .3s cubic-bezier(.4,0,.2,1),padding .3s cubic-bezier(.4,0,.2,1),background-color .3s,border-color .3s;position:fixed;left:0;overflow-y:auto;transform:translate(-100%)}.workspace:not(.workspace--collapsed) .sidebar{transform:translate(0)}.sidebar__section+.sidebar__section{margin-top:24px}.sidebar__section-title{letter-spacing:.1em;text-transform:uppercase;color:var(--text);opacity:.6;white-space:nowrap;max-height:20px;margin:0 0 10px;padding:0 14px;font-size:11px;font-weight:800;transition:opacity .2s cubic-bezier(.4,0,.2,1),max-height .3s cubic-bezier(.4,0,.2,1),margin .3s cubic-bezier(.4,0,.2,1),padding .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.sidebar__menu{gap:4px;margin:0;padding:0;list-style:none;display:grid}.sidebar__menu-item{text-align:left;cursor:pointer;width:100%;min-height:44px;color:var(--text);font-family:var(--sans);background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;padding:10px;font-size:14px;font-weight:600;transition:background-color .2s,color .2s,transform .1s,padding .3s cubic-bezier(.4,0,.2,1),gap .3s cubic-bezier(.4,0,.2,1);display:flex;position:relative}.sidebar__menu-item:hover,.sidebar__menu-item:focus-visible{background:var(--accent-bg);color:var(--accent);outline:none}.sidebar__menu-item--active{background:var(--accent-bg);color:var(--accent);font-weight:700}.sidebar__menu-item--active:before{content:"";background:var(--accent);border-radius:0 4px 4px 0;width:4px;transition:top .3s cubic-bezier(.4,0,.2,1),bottom .3s cubic-bezier(.4,0,.2,1);position:absolute;top:10px;bottom:10px;left:0}.sidebar__menu-item--action{color:var(--accent);border:1.5px dashed var(--accent-border);background:0 0}.sidebar__menu-item--action:hover{background:var(--accent-bg);border-color:var(--accent)}.sidebar__icon{flex:0 0 18px;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.sidebar__icon svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.sidebar__label{white-space:nowrap;text-overflow:ellipsis;max-width:170px;transition:opacity .2s cubic-bezier(.4,0,.2,1),max-width .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.sidebar__divider{background:var(--border);height:1px;margin:20px 8px;transition:margin .3s cubic-bezier(.4,0,.2,1)}.content{background:var(--surface);margin-left:0;padding:16px 12px 36px;transition:margin-left .3s cubic-bezier(.4,0,.2,1),background-color .3s,padding .3s}.hero-panel,.lesson-list{transition:background-color .3s;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important;padding:8px 0 20px!important}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0 0 10px;font-size:11px;font-weight:800}.hero-panel h1{letter-spacing:-.03em;color:var(--text-h);margin:0;font-size:1.8rem;font-weight:800;line-height:1.15}.hero-panel__copy{max-width:100%;color:var(--text);margin-top:12px;font-size:14px;line-height:1.5}.hero-panel__stats{grid-template-columns:1fr;gap:12px;margin-top:24px;display:grid}.content-grid,.lesson-list__items{grid-template-columns:1fr;gap:16px;margin-top:16px;display:grid}.hero-panel__stats article,.card,.lesson-item{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;transition:background-color .3s,border-color .3s,transform .2s,box-shadow .2s}.hero-panel__stats article{padding:16px}.hero-panel__stats strong{color:var(--text-h);font-size:28px;font-weight:800;line-height:1;display:block}.hero-panel__stats span{color:var(--text);margin-top:4px;font-size:13px;font-weight:600;display:block}.card{min-height:auto;padding:20px}.card h2,.lesson-list h2,.lesson-item h3{color:var(--text-h);margin:0}.card h2,.lesson-list h2{letter-spacing:-.01em;font-size:18px;font-weight:800}.card p,.lesson-list p,.lesson-item p{color:var(--text);margin-top:8px;font-size:13.5px;line-height:1.5}.lesson-list__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.ghost-button{cursor:pointer;color:var(--accent);background:var(--accent-bg);border:1px solid var(--accent-border);border-radius:8px;padding:8px 16px;font-size:13px;font-weight:700;transition:background-color .2s,color .2s,border-color .2s}.ghost-button:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.lesson-item{padding:20px}.lesson-item__tag{background:var(--accent-bg);color:var(--accent);letter-spacing:.05em;text-transform:uppercase;border-radius:6px;padding:3px 8px;font-size:10px;font-weight:800;display:inline-flex}.lesson-item h3{margin-top:10px;font-size:16px;font-weight:700}@media (width>=768px){.search-container,.premium-button{display:block}.content{padding:24px 20px 48px}.hero-panel h1{font-size:2.4rem}.hero-panel__stats{grid-template-columns:repeat(3,1fr);gap:16px}.content-grid{grid-template-columns:1.5fr 1fr 1fr;gap:20px}.lesson-list__items{grid-template-columns:repeat(3,1fr);gap:20px}.card{padding:24px}}@media (width>=1024px){.app-shell{--header-height:64px}.app-header{gap:16px;padding:0 12px}.brand-mark__badge{font-size:26px}.brand-mark__title{font-size:15px}.sidebar-overlay{display:none!important}.sidebar{top:var(--header-height);width:var(--sidebar-width);height:calc(100svh - var(--header-height));position:fixed;left:0;transform:none!important}.workspace--collapsed{--sidebar-width:var(--sidebar-width-collapsed)}.workspace--collapsed .sidebar{padding-left:8px;padding-right:8px}.workspace--collapsed .sidebar__section-title,.workspace--collapsed .sidebar__label{opacity:0;pointer-events:none;max-width:0;max-height:0;margin:0;padding:0}.workspace--collapsed .sidebar__divider{margin:16px 4px}.workspace--collapsed .sidebar__menu-item{gap:0;padding:10px 17px}.workspace--collapsed .sidebar__menu-item--active:before{top:8px;bottom:8px}.workspace--collapsed .sidebar__icon{flex:0 0 18px}.content{margin-left:var(--sidebar-width);padding:32px 48px}.hero-panel h1{font-size:3rem}.card:hover,.lesson-item:hover{border-color:var(--accent);box-shadow:var(--shadow);transform:translateY(-4px)}}.avatar-button--login{width:auto;height:38px;color:var(--accent);background:0 0;border-radius:9999px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:13.5px;font-weight:700;display:inline-flex;border:1.5px solid var(--accent-border)!important;transition:all .2s cubic-bezier(.16,1,.3,1)!important}.avatar-button--login:hover{background:var(--accent-bg);color:var(--accent);transform:scale(1.03);border-color:var(--accent)!important}.avatar-button--login svg{width:16px;height:16px}.profile-container{display:inline-flex;position:relative}.profile-dropdown{background:var(--surface);border:1px solid var(--border);z-index:50;border-radius:12px;flex-direction:column;gap:4px;width:220px;padding:8px;animation:.2s cubic-bezier(.16,1,.3,1) slideDownFade;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.profile-dropdown__header{flex-direction:column;gap:2px;padding:8px 12px;display:flex}.profile-dropdown__name{color:var(--text-h);font-size:13.5px;font-weight:700}.profile-dropdown__email{color:var(--text);opacity:.7;word-break:break-all;font-size:11.5px}.profile-dropdown__divider{background:var(--border);height:1px;margin:4px 0}.profile-dropdown__item{text-align:left;cursor:pointer;width:100%;color:var(--text);background:0 0;border:none;border-radius:6px;padding:8px 12px;font-size:13px;font-weight:600;transition:background-color .15s,color .15s}.profile-dropdown__item:hover{background:var(--bg);color:var(--text-h)}.profile-dropdown__item--danger{color:#ef4444}.profile-dropdown__item--danger:hover{color:#dc2626;background:#fef2f2}.dark .profile-dropdown__item--danger:hover{color:#f87171;background:#ef44441a}.login-dialog{background:var(--surface);color:var(--text);border:none;border-radius:16px;width:calc(100% - 32px);max-width:400px;margin:0;padding:0;position:fixed;top:50%;left:50%;overflow:visible;transform:translate(-50%,-50%);box-shadow:0 25px 50px -12px #00000040}.login-dialog::backdrop{-webkit-backdrop-filter:blur(8px);background:#0f172a66;animation:.25s backdropFadeIn}.login-modal{box-sizing:border-box;flex-direction:column;align-items:center;padding:32px 24px;display:flex;position:relative}.login-modal__close{background:var(--bg);border:1px solid var(--border);width:32px;height:32px;color:var(--text);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;position:absolute;top:16px;right:16px}.login-modal__close:hover{background:var(--border);color:var(--text-h);transform:rotate(90deg)}.login-modal__close svg{width:14px;height:14px}.login-modal__header{text-align:center;width:100%;margin-bottom:28px}.login-modal__brand{font-family:var(--heading);color:var(--accent);letter-spacing:-.04em;margin-bottom:12px;font-size:28px;font-weight:800}.login-modal__title{color:var(--text-h);letter-spacing:-.02em;margin:0 0 8px;font-size:20px;font-weight:750}.login-modal__subtitle{color:var(--text);opacity:.85;margin:0;padding:0 8px;font-size:13px;line-height:1.5}.login-modal__content{width:100%;margin-bottom:20px}.google-login-btn{color:#3c4043;width:100%;height:48px;font-family:var(--sans);cursor:pointer;background:#fff;border:1px solid #dadce0;border-radius:12px;justify-content:center;align-items:center;gap:12px;font-size:14px;font-weight:600;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.google-login-btn:hover{background:#f8f9fa;border-color:#d2e3fc;transform:translateY(-1px);box-shadow:0 1px 3px #3c40434d,0 4px 8px 3px #3c404326}.google-login-btn:active{background:#eee;transform:translateY(0);box-shadow:0 1px 2px #3c40434d}.google-icon{width:20px;height:20px}.login-modal__footer{text-align:center;color:var(--text);opacity:.6;font-size:11px;line-height:1.4}@keyframes slideDownFade{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes backdropFadeIn{0%{opacity:0}to{opacity:1}}.create-folder-dialog{background:var(--surface,#fff);border:none;border-radius:20px;width:min(420px,92vw);margin:120px auto auto;padding:0;animation:.2s cubic-bezier(.34,1.56,.64,1) both dialogSlideIn;box-shadow:0 8px 40px #0000002e,0 2px 8px #00000014}.create-folder-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#00000073;animation:.2s both backdropFadeIn}@keyframes dialogSlideIn{0%{opacity:0;transform:scale(.92)translateY(-16px)}to{opacity:1;transform:scale(1)translateY(0)}}.create-folder-modal{flex-direction:column;align-items:center;gap:20px;padding:36px 32px 28px;display:flex}.create-folder-modal__icon{width:64px;height:64px;color:var(--text-h,#4a5568);opacity:.7}.create-folder-modal__icon svg{width:100%;height:100%}.create-folder-modal__input{box-sizing:border-box;background:var(--surface-alt,#f3f4f6);width:100%;color:var(--text,#1a202c);text-align:center;border:none;border-radius:12px;outline:none;padding:14px 18px;font-size:1rem;font-weight:500;transition:box-shadow .2s,background .2s}.create-folder-modal__input::placeholder{color:var(--text-muted,#9ca3af);font-weight:400}.create-folder-modal__input:focus{box-shadow:0 0 0 2.5px var(--accent,#4f46e5);background:var(--surface,#fff)}.create-folder-modal__input:disabled{opacity:.6;cursor:not-allowed}.create-folder-modal__error{text-align:center;color:#ef4444;width:100%;margin:-8px 0 0;font-size:.8rem}.create-folder-modal__actions{justify-content:flex-end;gap:10px;width:100%;margin-top:4px;display:flex}.create-folder-modal__btn{cursor:pointer;border:none;border-radius:999px;padding:10px 24px;font-size:.9rem;font-weight:600;transition:background .18s,color .18s,transform .12s,opacity .18s}.create-folder-modal__btn:active:not(:disabled){transform:scale(.96)}.create-folder-modal__btn:disabled{opacity:.45;cursor:not-allowed}.create-folder-modal__btn--cancel{background:var(--surface-alt,#f3f4f6);color:var(--text-h,#374151)}.create-folder-modal__btn--cancel:hover:not(:disabled){background:var(--border,#e5e7eb)}.create-folder-modal__btn--submit{background:var(--surface-alt,#f3f4f6);color:var(--text-muted,#9ca3af)}.create-folder-modal__btn--submit:not(:disabled){background:var(--accent,#4f46e5);color:#fff}.create-folder-modal__btn--submit:not(:disabled):hover{background:var(--accent-hover,#4338ca)}.sidebar__loading{pointer-events:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pinyin-container{max-width:100%;color:var(--text);min-height:calc(100vh - var(--header-height));box-sizing:border-box;flex-direction:column;gap:1.5rem;display:flex}.pinyin-header-section{flex-direction:column;gap:.5rem;display:flex}.pinyin-title{color:var(--text-h);letter-spacing:-.04em;margin:0;font-size:2.25rem;font-weight:800;line-height:1.15}.pinyin-subtitle{color:var(--text);opacity:.8;margin:0;font-size:1rem}.pinyin-controls{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;padding:1rem;display:flex}.control-group{flex-direction:column;gap:.5rem;display:flex}.control-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text);opacity:.75;font-size:.75rem;font-weight:700}.tone-selector-buttons{gap:.35rem;display:flex}.tone-btn{border:1.5px solid var(--border);background:var(--surface);min-width:50px;height:40px;color:var(--text-h);cursor:pointer;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;padding:0 .75rem;font-size:1.1rem;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.tone-btn:hover{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}.tone-btn--active{border-color:var(--accent);background:var(--accent);color:#fff}.tone-btn--active:hover{background:var(--accent-hover);color:#fff}.tone-btn__desc{opacity:.8;font-size:.65rem;font-weight:500}.pinyin-search-wrapper{width:100%;max-width:320px;position:relative}.pinyin-search-input{background:var(--bg);width:100%;height:40px;color:var(--text-h);box-sizing:border-box;border:2px solid #0000;border-radius:8px;outline:none;padding:8px 12px 8px 36px;font-size:.9rem;transition:border-color .2s,background-color .2s}.pinyin-search-input::placeholder{color:var(--text);opacity:.7}.pinyin-search-input:hover{background:var(--border)}.pinyin-search-input:focus{background:var(--surface);border-color:var(--accent)}.pinyin-search-icon{width:16px;height:16px;color:var(--text);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.pinyin-table-wrapper{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;max-height:65vh;position:relative;overflow:auto}.pinyin-table-wrapper::-webkit-scrollbar{width:10px;height:10px}.pinyin-table-wrapper::-webkit-scrollbar-track{background:var(--bg);border-radius:12px}.pinyin-table-wrapper::-webkit-scrollbar-thumb{background:var(--border);border:2.5px solid var(--surface);border-radius:12px}.pinyin-table-wrapper::-webkit-scrollbar-thumb:hover{background:var(--text);opacity:.4}.pinyin-table{border-collapse:separate;border-spacing:0;width:max-content;font-size:.85rem}.pinyin-th,.pinyin-td{text-align:center;border-bottom:1px solid var(--border);border-right:1px solid var(--border);box-sizing:border-box;padding:.3rem .4rem}.pinyin-th{background:var(--bg);color:var(--text-h);-webkit-user-select:none;user-select:none;font-weight:700}.pinyin-thead tr:first-child .pinyin-th{z-index:8;box-shadow:inset 0 -1px 0 var(--border);position:sticky;top:0}.initial-header{z-index:6;color:var(--accent);box-shadow:inset -1px 0 0 var(--border);min-width:50px;font-weight:800;position:sticky;left:0;background:var(--bg)!important}.corner-cell-1{z-index:10;box-shadow:inset -1px -1px 0 var(--border);position:sticky;top:0;left:0;background:var(--bg)!important}.final-name-header{min-width:70px;font-size:.95rem;font-weight:700}.group-divider-right{border-right:2px solid var(--text)!important}.dark .group-divider-right{border-right:2px solid var(--text-h)!important}.syllable-cell{background:var(--surface);cursor:pointer;min-width:70px;height:32px;color:var(--text-h);-webkit-user-select:none;user-select:none;font-weight:500;transition:all .15s;position:relative}.syllable-cell.row-highlighted,.syllable-cell.col-highlighted{background:#4255ff08}.syllable-cell:hover:not(.cell-empty){z-index:5;border-radius:4px;font-weight:700;transform:scale(1.05);box-shadow:0 4px 12px #4255ff26;background:var(--accent-bg)!important;color:var(--accent)!important}.syllable-cell:active:not(.cell-empty){transform:scale(.95)}.cell-empty{cursor:default;color:#0000;pointer-events:none}.cell-search-matched{font-weight:700;color:#854d0e!important;background:#fef08a!important}.dark .cell-search-matched{color:#fef08a!important;background:#854d0e!important}.pinyin-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0006;place-items:center;animation:.2s ease-out fadeIn;display:grid;position:fixed;inset:0}.pinyin-modal{background:var(--surface);border:1px solid var(--border);width:90%;max-width:440px;box-shadow:var(--shadow);border-radius:16px;flex-direction:column;animation:.2s cubic-bezier(.34,1.56,.64,1) scaleUp;display:flex;position:relative;overflow:hidden}.pinyin-modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.pinyin-modal-title{color:var(--text-h);margin:0;font-size:1.75rem;font-weight:800}.pinyin-modal-close-btn{background:var(--border);cursor:pointer;width:32px;height:32px;color:var(--text);border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .15s;display:flex}.pinyin-modal-close-btn:hover{background:var(--text);color:var(--surface)}.pinyin-modal-body{flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex}.pinyin-modal-tones{justify-content:center;gap:.75rem;margin-bottom:.5rem;display:flex}.modal-tone-btn{color:var(--accent);border:1.5px solid var(--accent-border);background:var(--accent-bg);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:12px;justify-content:center;align-items:center;min-width:50px;padding:.3rem .7rem;font-size:1.1rem;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.modal-tone-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent);transform:translateY(-2px);box-shadow:0 4px 8px #4255ff33}.modal-tone-btn:active{transform:translateY(0)}.modal-detail-item{flex-direction:column;gap:.25rem;display:flex}.modal-detail-label{color:var(--text-h);font-size:.95rem;font-weight:800}.modal-detail-text{color:var(--text);font-size:.9rem;line-height:1.5}.pinyin-modal-footer{border-top:1px solid var(--border);background:var(--bg);justify-content:flex-end;padding:1rem 1.5rem;display:flex}.modal-close-action-btn{background:var(--border);color:var(--text-h);cursor:pointer;border:none;border-radius:8px;padding:.5rem 1.25rem;font-weight:700;transition:background-color .15s}.modal-close-action-btn:hover{background:var(--text);color:var(--surface)}.pinyin-description-section{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:1rem;padding:1.75rem;line-height:1.6;display:flex}.pinyin-description-section p{color:var(--text);margin:0;font-size:.95rem}.pinyin-description-section p strong{color:var(--text-h)}.tone-instruction-grid{border-top:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1rem;padding-top:1rem;display:grid}.tone-instruction-card{background:var(--bg);border:1px solid var(--border);border-radius:8px;align-items:center;gap:.75rem;padding:.75rem;display:flex}.tone-num-badge{background:var(--accent);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:.85rem;font-weight:700;display:flex}.tone-instruction-info{flex-direction:column;display:flex}.tone-instruction-title{color:var(--text-h);font-size:.9rem;font-weight:700}.tone-instruction-desc{color:var(--text);opacity:.8;font-size:.75rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleUp{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}:root{--gradient-primary:linear-gradient(135deg, #4255ff, #8a2be2);--gradient-success:linear-gradient(135deg, #10b981, #059669);--gradient-dark:linear-gradient(135deg, #0f172a, #1e293b);--glow-shadow:0 0 20px #4255ff26;--glow-shadow-hover:0 0 30px #4255ff4d}.home-page-container{max-width:1200px;min-height:calc(100vh - var(--header-height));flex-direction:column;gap:3.5rem;margin:0 auto;padding:0 16px;display:flex}.lp-glass{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px}.lp-hero-section{flex-direction:column;gap:2.5rem;padding:3rem 0 1rem;display:flex;position:relative}@media (width>=1024px){.lp-hero-section{flex-direction:row;justify-content:space-between;align-items:center;gap:3rem}}.lp-hero-content{text-align:left;flex-direction:column;flex:1;align-items:flex-start;display:flex}.lp-hero-badge{background:var(--accent-bg);border:1px solid var(--accent-border);color:var(--accent);text-transform:uppercase;letter-spacing:.05em;border-radius:9999px;align-items:center;gap:8px;margin-bottom:1.5rem;padding:6px 14px;font-size:12px;font-weight:800;animation:3s infinite alternate pulseBadge;display:inline-flex;box-shadow:0 2px 10px #4255ff1a}@keyframes pulseBadge{0%{transform:scale(1);box-shadow:0 2px 10px #4255ff1a}to{transform:scale(1.03);box-shadow:0 4px 15px #4255ff33}}.lp-hero-content h1{letter-spacing:-.04em;color:var(--text-h);margin-bottom:1.25rem;font-size:2.8rem;font-weight:800;line-height:1.1}@media (width>=768px){.lp-hero-content h1{font-size:3.5rem}}.lp-hero-content h1 span{background:var(--gradient-primary);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;display:inline-block}.lp-hero-desc{color:var(--text);max-width:580px;margin-bottom:2rem;font-size:16px;line-height:1.6}.lp-hero-actions{flex-wrap:wrap;gap:12px;display:flex}.lp-btn{cursor:pointer;border:none;border-radius:9999px;justify-content:center;align-items:center;gap:8px;padding:12px 28px;font-size:14.5px;font-weight:700;text-decoration:none;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex}.lp-btn--primary{background:var(--accent);color:#fff;box-shadow:0 4px 14px #4255ff4d, var(--glow-shadow)}.lp-btn--primary:hover{background:var(--accent-hover);box-shadow:0 6px 20px #4255ff66, var(--glow-shadow-hover);transform:translateY(-2px)}.lp-btn--secondary{background:var(--surface);border:2px solid var(--border);color:var(--text-h)}.lp-btn--secondary:hover{background:var(--accent-bg);border-color:var(--accent);color:var(--accent);transform:translateY(-2px)}.lp-hero-preview{perspective:1000px;flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;max-width:420px;margin:0 auto;display:flex}.lp-card-3d-wrap{cursor:pointer;width:100%;height:250px;position:relative}.lp-card-3d{width:100%;height:100%;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.4,0,.2,1);position:absolute}.lp-card-3d--flipped{transform:rotateX(180deg)}.lp-card-face{backface-visibility:hidden;box-sizing:border-box;border-radius:20px;flex-direction:column;justify-content:space-between;width:100%;height:100%;padding:24px;display:flex;position:absolute}.lp-card-face--front{background:var(--surface);border:2px solid var(--border);box-shadow:var(--shadow)}.lp-card-face--back{background:var(--surface);border:2px solid var(--accent);box-shadow:var(--glow-shadow);transform:rotateX(180deg)}.lp-card-header{justify-content:space-between;align-items:center;width:100%;display:flex}.lp-card-badge{text-transform:uppercase;letter-spacing:.05em;background:var(--accent-bg);color:var(--accent);border-radius:6px;padding:4px 10px;font-size:10px;font-weight:800}.lp-card-audio{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:6px;transition:background-color .2s,color .2s;display:inline-flex}.lp-card-audio:hover{background:var(--accent-bg);color:var(--accent)}.lp-card-body{flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex}.lp-card-hanzi{color:var(--text-h);font-size:48px;font-weight:800;line-height:1.2}.lp-card-pinyin{color:var(--accent);margin-top:8px;font-size:18px;font-weight:600}.lp-card-meaning{color:var(--text-h);text-align:center;font-size:20px;font-weight:700}.lp-card-example{color:var(--text-muted);text-align:center;margin-top:10px;font-size:13px;font-style:italic;line-height:1.4}.lp-card-footer{text-align:center;color:var(--text-muted);width:100%;font-size:11px;font-weight:600}.lp-preview-actions{align-items:center;gap:16px;margin-top:1.5rem;display:flex}.lp-preview-indicator{color:var(--text-muted);font-size:12px;font-weight:700}.lp-section-title{color:var(--text-h);letter-spacing:-.02em;margin-bottom:.5rem;font-size:22px;font-weight:800}.lp-section-subtitle{color:var(--text-muted);margin-bottom:2rem;font-size:14.5px}.lp-features-grid{grid-template-columns:1fr;gap:20px;display:grid}@media (width>=768px){.lp-features-grid{grid-template-columns:repeat(2,1fr)}}@media (width>=1024px){.lp-features-grid{grid-template-columns:repeat(4,1fr)}}.lp-feature-card{flex-direction:column;align-items:flex-start;gap:14px;padding:24px;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex}.lp-feature-card:hover{border-color:var(--accent);transform:translateY(-6px);box-shadow:0 10px 30px #4255ff1a}.lp-feature-icon{background:var(--accent-bg);width:44px;height:44px;color:var(--accent);border-radius:12px;justify-content:center;align-items:center;display:flex}.lp-feature-icon svg{width:24px;height:24px}.lp-feature-card h3{color:var(--text-h);margin:0;font-size:16px;font-weight:800}.lp-feature-card p{color:var(--text);margin:0;font-size:13px;line-height:1.5}.lp-faq-container{flex-direction:column;gap:12px;width:100%;max-width:800px;margin:0 auto;display:flex}.lp-faq-item{border-radius:12px;transition:border-color .2s;overflow:hidden}.lp-faq-header{cursor:pointer;text-align:left;width:100%;color:var(--text-h);background:0 0;border:none;justify-content:space-between;align-items:center;padding:16px 20px;font-size:15px;font-weight:700;transition:background-color .2s;display:flex}.lp-faq-header:hover{background:var(--accent-bg);color:var(--accent)}.lp-faq-icon{width:20px;height:20px;color:var(--text-muted);transition:transform .2s}.lp-faq-item--open{border-color:var(--accent)}.lp-faq-item--open .lp-faq-icon{color:var(--accent);transform:rotate(180deg)}.lp-faq-body{color:var(--text);padding:0 20px 16px;font-size:13.5px;line-height:1.5;animation:.2s cubic-bezier(.16,1,.3,1) slideDownFade}.lp-footer{border-top:1px solid var(--border);text-align:center;flex-direction:column;align-items:center;gap:8px;width:100%;margin-top:-1rem;padding:2.5rem 0 0;display:flex}.lp-footer__brand{color:var(--text-h);opacity:.8;font-size:15px;font-weight:700}.lp-footer__links{color:var(--text-muted);gap:20px;font-size:13px;display:flex}.lp-footer__links a{color:inherit;text-decoration:none}.lp-footer__links a:hover{color:var(--accent)}.lp-footer__copy{color:var(--text-muted);opacity:.8;font-size:12px}.db-welcome-section{flex-direction:column;gap:1.5rem;padding:2.5rem 0 1rem;display:flex}@media (width>=768px){.db-welcome-section{flex-direction:row;justify-content:space-between;align-items:center}}.db-greeting h1{color:var(--text-h);letter-spacing:-.02em;font-size:24px;font-weight:800}.db-greeting p{color:var(--text-muted);margin-top:4px;font-size:13.5px}.db-stats-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}@media (width>=1024px){.db-stats-grid{grid-template-columns:repeat(4,1fr)}}.db-stat-card{align-items:center;gap:16px;padding:20px;display:flex}.db-stat-icon{background:var(--accent-bg);width:44px;height:44px;color:var(--accent);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.db-stat-icon svg{width:22px;height:22px}.db-stat-icon--success{color:#10b981;background:#10b98114}.db-stat-info{flex-direction:column;display:flex}.db-stat-value{color:var(--text-h);font-size:24px;font-weight:800;line-height:1.1}.db-stat-label{color:var(--text-muted);margin-top:2px;font-size:12px;font-weight:600}.db-main-content{grid-template-columns:1fr;gap:2.5rem;display:grid}@media (width>=1024px){.db-main-content{grid-template-columns:1.6fr 1fr}}.db-section{flex-direction:column;display:flex}.db-section-header{justify-content:space-between;align-items:center;margin-bottom:1.25rem;display:flex}.db-section-title{color:var(--text-h);letter-spacing:-.01em;margin:0;font-size:18px;font-weight:800}.db-section-link{color:var(--accent);cursor:pointer;background:0 0;border:none;padding:0;font-size:13px;font-weight:700}.db-section-link:hover{text-decoration:underline}.db-folders-grid{grid-template-columns:1fr;gap:16px;display:grid}@media (width>=640px){.db-folders-grid--cols-2{grid-template-columns:repeat(2,1fr)}}.db-folder-card{cursor:pointer;flex-direction:column;justify-content:space-between;min-height:140px;padding:20px;text-decoration:none;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex}.db-folder-card:hover{border-color:var(--accent);transform:translateY(-4px);box-shadow:0 8px 24px #4255ff14}.db-folder-header{align-items:flex-start;gap:12px;display:flex}.db-folder-icon{color:var(--accent);flex-shrink:0;margin-top:2px}.db-folder-title{color:var(--text-h);margin:0;font-size:15.5px;font-weight:700;line-height:1.3}.db-folder-desc{color:var(--text-muted);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin-top:4px;font-size:12.5px;display:-webkit-box;overflow:clip}.db-folder-meta{color:var(--text-muted);text-transform:uppercase;letter-spacing:.02em;justify-content:space-between;align-items:center;margin-top:16px;font-size:11px;font-weight:700;display:flex}.db-folder-arrow{color:var(--accent);opacity:0;transition:all .2s;transform:translate(-4px)}.db-folder-card:hover .db-folder-arrow{opacity:1;transform:translate(0)}.db-empty-library{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:3rem 2rem;display:flex}.db-empty-icon{width:56px;height:56px;color:var(--text-muted);opacity:.6}.db-empty-title{color:var(--text-h);margin:0;font-size:16px;font-weight:800}.db-empty-desc{color:var(--text-muted);max-width:320px;margin:0;font-size:13px}.db-activity-list{flex-direction:column;gap:12px;display:flex}.db-activity-card{flex-direction:column;gap:10px;padding:16px;display:flex}.db-activity-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.db-activity-info{flex-direction:column;gap:2px;display:flex}.db-activity-title{color:var(--text-h);font-size:14px;font-weight:700;text-decoration:none}.db-activity-title:hover{color:var(--accent);text-decoration:underline}.db-activity-folder{color:var(--text-muted);font-size:11px;font-weight:600}.db-activity-time{color:var(--text-muted);white-space:nowrap;font-size:11px}.db-modes-row{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.db-mode-badge{background:var(--surface-alt);color:var(--text);border:1px solid var(--border);border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:10.5px;font-weight:700;display:inline-flex}.db-mode-badge--completed{color:#10b981;background:#10b98114;border-color:#10b98133}.db-mode-badge--active{background:var(--accent-bg);color:var(--accent);border-color:var(--accent-border)}.db-mode-badge-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.db-streak-card{flex-direction:column;gap:16px;padding:24px;display:flex}.db-streak-header{align-items:center;gap:12px;display:flex}.db-streak-fire{font-size:24px;animation:1.5s infinite alternate fireFlicker}@keyframes fireFlicker{0%{filter:drop-shadow(0 0 2px #ef444433);transform:scale(1)rotate(-3deg)}to{filter:drop-shadow(0 0 8px #ef444466);transform:scale(1.08)rotate(3deg)}}.db-streak-title{color:var(--text-h);margin:0;font-size:15px;font-weight:800}.db-streak-days{justify-content:space-between;width:100%;margin-top:4px;display:flex}.db-streak-day-item{flex-direction:column;align-items:center;gap:8px;display:flex}.db-streak-day-circle{background:var(--surface-alt);border:1px solid var(--border);width:32px;height:32px;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:700;transition:all .3s;display:flex}.db-streak-day-circle--active{background:var(--gradient-primary);color:#fff;border:none;box-shadow:0 4px 10px #4255ff40}.db-streak-day-label{color:var(--text-muted);font-size:11px;font-weight:700}.folder-detail{max-width:1040px;min-height:80vh;margin:0 auto;padding:1rem 1rem 120px;position:relative}.folder-header{justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:2rem;padding-top:1rem;display:flex}.folder-header__left{align-items:center;gap:1.25rem;display:flex}.folder-header__icon{background:var(--bg);border:1px solid var(--border);width:56px;height:56px;color:var(--text-h);box-shadow:var(--shadow);border-radius:12px;justify-content:center;align-items:center;display:flex}.folder-header__icon svg{width:28px;height:28px}.folder-header__title-container{flex-direction:column;display:flex}.folder-header__title{color:var(--text-h);letter-spacing:-.04em;margin:0;font-size:2.25rem;font-weight:800;line-height:1.1}.folder-header__description{color:var(--text-muted);margin-top:.25rem;font-size:.95rem}.dropdown-container{display:inline-block;position:relative}.action-dot-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;width:40px;height:40px;color:var(--text);border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex}.action-dot-btn:hover{background:var(--surface-alt);color:var(--text-h);border-color:var(--text-muted);transform:scale(1.05)}.action-dot-btn svg{width:20px;height:20px}.dropdown-menu{background:var(--surface);border:1px solid var(--border);z-index:50;border-radius:14px;width:220px;margin:0;padding:8px;list-style:none;animation:.15s cubic-bezier(.16,1,.3,1) forwards dropdownFadeIn;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 30px -10px #00000026,0 1px 3px #0000000d}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.dropdown-item{width:100%;color:var(--text);text-align:left;cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;padding:10px 14px;font-size:.9rem;font-weight:500;transition:all .15s;display:flex}.dropdown-item:hover{background:var(--accent-bg);color:var(--accent)}.dropdown-item svg{stroke-width:2px;flex-shrink:0;width:16px;height:16px}.dropdown-item--danger{color:#dc2626!important}.dropdown-item--danger:hover{color:#dc2626!important;background:#dc262614!important}.folder-controls{border-bottom:1px solid var(--border);flex-direction:column;gap:1rem;margin-bottom:2rem;padding-bottom:1.5rem;display:flex}@media (width>=768px){.folder-controls{flex-direction:row;justify-content:space-between;align-items:center}}.folder-controls__left{align-items:center;gap:10px;display:flex}.filter-btn{cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:20px;padding:8px 16px;font-size:.85rem;font-weight:600;transition:all .2s}.filter-btn--active{background:var(--text-h);color:var(--surface);border-color:var(--text-h)}.filter-btn:not(.filter-btn--active):hover{background:var(--surface-alt);color:var(--text-h)}.sort-label{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:.85rem;font-weight:500;transition:background-color .2s;display:inline-flex}.sort-label:hover{background-color:var(--surface-alt);color:var(--text-h)}.sort-label svg{width:14px;height:14px}.folder-search{width:100%;max-width:320px;position:relative}.folder-search__input{background:var(--surface-alt);width:100%;color:var(--text-h);box-sizing:border-box;border:1px solid #0000;border-radius:12px;outline:none;padding:10px 14px 10px 38px;font-size:.9rem;font-weight:500;transition:all .2s}.folder-search__input:focus{background:var(--surface);border-color:var(--accent-border);box-shadow:0 0 0 3px var(--accent-bg)}.folder-search__icon{width:16px;height:16px;color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.lessons-list{flex-direction:column;gap:.75rem;margin-bottom:2rem;display:flex}.lesson-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem;transition:all .2s;display:flex}.lesson-card:hover{border-color:var(--accent-border);box-shadow:var(--shadow);transform:translateY(-2px)}.lesson-card__left{flex-grow:1;align-items:center;gap:1.25rem;display:flex}.lesson-card__icon{background:var(--accent-bg);width:44px;height:44px;color:var(--accent);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.lesson-card__icon svg{width:22px;height:22px}.lesson-card__details{flex-direction:column;display:flex}.lesson-card__title{color:var(--text-h);margin:0;font-size:1.05rem;font-weight:700}.lesson-card__meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:.25rem;font-size:.825rem;display:flex}.lesson-card__dot{opacity:.5}.empty-lessons{text-align:center;background:var(--surface);border:2px dashed var(--border);color:var(--text-muted);border-radius:16px;flex-direction:column;align-items:center;gap:.75rem;padding:3rem 1.5rem;display:flex}.empty-lessons__icon{opacity:.5;width:48px;height:48px;color:var(--text-muted)}.empty-lessons h3{color:var(--text-h);margin:0;font-size:1.15rem}.floating-bar-container{pointer-events:none;z-index:20;justify-content:center;padding:0 16px;display:flex;position:fixed;bottom:24px;left:0;right:0}.floating-bar{pointer-events:auto;-webkit-backdrop-filter:blur(16px);background:#fffc;border:1px solid #fff6;border-radius:30px;align-items:center;gap:8px;padding:6px;display:flex;box-shadow:0 10px 40px -10px #0000001f,0 1px 3px #0000000d}.dark .floating-bar{background:#1a1b2dcc;border-color:#ffffff0d;box-shadow:0 10px 40px -10px #00000080}.floating-bar__btn{cursor:pointer;border:none;border-radius:24px;align-items:center;gap:8px;padding:10px 24px;font-size:.9rem;font-weight:700;transition:all .2s;display:inline-flex}.floating-bar__btn--secondary{background:var(--surface-alt);color:var(--text-h)}.floating-bar__btn--secondary:hover{background:var(--border);transform:translateY(-1px)}.floating-bar__btn--primary{background:var(--accent);color:#fff}.floating-bar__btn--primary:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 12px #4255ff4d}.folder-dialog{width:90%;max-width:480px;box-shadow:var(--shadow);background:0 0;border:none;border-radius:20px;margin:120px auto auto;padding:0}.folder-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a4d}.folder-modal-content{background:var(--surface);border:1px solid var(--border);border-radius:20px;flex-direction:column;gap:1.25rem;padding:1.75rem;display:flex}.folder-modal-content__title{color:var(--text-h);margin:0;font-size:1.35rem;font-weight:700}.folder-modal-content__fields{flex-direction:column;gap:1rem;display:flex}.folder-modal-content__label{color:var(--text-muted);flex-direction:column;gap:6px;font-size:.85rem;font-weight:600;display:flex}.folder-modal-content__input,.folder-modal-content__textarea{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-h);box-sizing:border-box;border-radius:10px;outline:none;padding:10px 12px;font-family:inherit;font-size:.925rem;transition:all .2s}.folder-modal-content__input:focus,.folder-modal-content__textarea:focus{background:var(--surface);border-color:var(--accent-border);box-shadow:0 0 0 3px var(--accent-bg)}.folder-modal-content__textarea{resize:vertical;min-height:80px}.folder-modal-content__error{color:#dc2626;margin:0;font-size:.825rem}.folder-modal-content__actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:.5rem;display:flex}.folder-modal-content__btn{cursor:pointer;border:none;border-radius:10px;padding:10px 18px;font-size:.9rem;font-weight:700;transition:all .15s}.folder-modal-content__btn--cancel{color:var(--text-muted);background:0 0}.folder-modal-content__btn--cancel:hover{background:var(--surface-alt);color:var(--text-h)}.folder-modal-content__btn--submit{background:var(--accent);color:#fff}.folder-modal-content__btn--submit:hover:not(:disabled){background:var(--accent-hover)}.folder-modal-content__btn--submit:disabled{opacity:.5;cursor:not-allowed}.toast-msg{color:#fff;box-shadow:var(--shadow);z-index:200;background:#10b981;border-radius:10px;align-items:center;gap:8px;padding:12px 20px;font-size:.9rem;font-weight:600;animation:.3s cubic-bezier(.16,1,.3,1) forwards toastFadeIn;display:flex;position:fixed;top:72px;right:20px}@keyframes toastFadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.clone-dialog{max-width:460px}.clone-dialog__icon{text-align:center;font-size:2.5rem;line-height:1}.clone-dialog__desc{color:var(--text);margin:0;font-size:.95rem;line-height:1.55}.clone-dialog__note{color:var(--text-muted);background:var(--accent-bg);border:1px solid var(--border);border-radius:10px;margin:0;padding:10px 14px;font-size:.85rem;line-height:1.5}.clone-dialog__note--warn{color:#b45309;background:#eab30814;border-color:#eab30840}.clone-dialog__options{flex-direction:column;gap:10px;display:flex}.clone-dialog__option{border:1.5px solid var(--border);background:var(--bg);cursor:pointer;border-radius:12px;align-items:flex-start;gap:14px;padding:14px 16px;transition:all .18s;display:flex}.clone-dialog__option:hover{border-color:var(--accent-border);background:var(--accent-bg);box-shadow:0 0 0 3px var(--accent-bg)}.clone-dialog__option:active{transform:scale(.98)}.clone-dialog__option-icon{flex-shrink:0;margin-top:2px;font-size:1.5rem;line-height:1}.clone-dialog__option-title{color:var(--text-h);margin-bottom:3px;font-size:.925rem;font-weight:700}.clone-dialog__option-desc{color:var(--text-muted);font-size:.82rem;line-height:1.45}.py-helper{box-sizing:border-box;z-index:50;background:var(--surface,#fff);border:1px solid var(--border,#e0e4f0);border-radius:14px;width:394px;margin:8px 0 0;padding:10px;animation:.15s cubic-bezier(.2,.8,.2,1) both py-helper-in;position:absolute;top:100%;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0000001f}@keyframes py-helper-in{0%{opacity:0;transform:translate(-50%)translateY(-6px)scale(.97)}to{opacity:1;transform:translate(-50%)translateY(0)scale(1)}}@keyframes py-helper-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (width<=768px){.py-helper{background:var(--surface,#1c1c1f);border:1px solid var(--border,#2d3142);z-index:9999;border-radius:12px;width:100vw;max-width:calc(100vw - 32px);margin:8px 0 0;padding:10px;animation:.15s cubic-bezier(.2,.8,.2,1) both py-helper-in;position:absolute;top:100%;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000040}}.py-helper__chars{grid-template-columns:repeat(10,1fr);justify-content:center;gap:6px;display:grid}@media (width<=768px){.py-helper__chars{gap:4px}}.py-helper__char{border:1px solid var(--border,#e0e4f0);width:100%;height:32px;color:var(--text,#2d3a4a);background:var(--surface-alt,#f4f6fb);cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;font-size:.95rem;font-weight:500;transition:background .1s,border-color .1s,transform 80ms;display:inline-flex}.py-helper__char:hover{background:var(--accent-soft,#4255ff1a);border-color:var(--accent,#4255ff);color:var(--accent,#4255ff);transform:translateY(-1px)}.py-helper__char:active{transform:scale(.92)}.py-helper__caps-btn{background:var(--surface-alt,#e8ecf5);border-color:var(--border,#cbd2e3);color:var(--text-muted,#5f6e80)}.py-helper__caps-btn:hover{border-color:var(--accent,#4255ff);color:var(--accent,#4255ff);background:var(--accent-soft,#4255ff0f)}.py-helper__caps-btn--on{border-color:var(--accent,#4255ff);background:var(--accent,#4255ff)!important;color:#fff!important}.py-helper__caps-btn--on:hover{background:#3347e0!important}.py-helper__caps-icon{flex-shrink:0;width:14px;height:14px}.create-set-page{width:100%;max-width:1040px;color:var(--text-main);margin:0 auto;padding:40px 24px 100px;animation:.3s ease-out fadeIn}.create-set-container{flex-direction:column;gap:32px;display:flex}.create-set-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding-bottom:20px;display:flex}.create-set-header__left{flex-direction:column;gap:8px;display:flex}.create-set-header__title{color:var(--text-main);letter-spacing:-.5px;font-size:1.8rem;font-weight:800;line-height:1.35}@media (width<=768px){.create-set-header__title{font-size:1.35rem}}.create-set-header__privacy{background:var(--border);color:var(--text-muted);border-radius:6px;align-items:center;gap:6px;width:fit-content;padding:4px 10px;font-size:.8rem;font-weight:600;display:inline-flex}.create-set-header__actions{align-items:center;gap:16px;display:flex}.create-set-btn{cursor:pointer;border:none;border-radius:8px;padding:10px 20px;font-family:inherit;font-size:.95rem;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1)}.create-set-btn--text{color:var(--text-muted);background:0 0}.create-set-btn--text:hover{color:var(--text-main)}.create-set-btn--primary{background:var(--accent);color:#fff;box-shadow:0 4px 12px #4285f433}.create-set-btn--primary:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 6px 16px #4285f44d}.create-set-btn--large{border-radius:12px;width:100%;max-width:280px;padding:14px 28px;font-size:1.05rem}.create-set-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none!important;transform:none!important}.create-set-error{color:#dc2626;background:#dc26261a;border:1px solid #dc262633;border-radius:8px;padding:12px 16px;font-size:.95rem;font-weight:600}.create-set-fields{flex-direction:column;gap:16px;display:flex}.create-set-field-group{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column-reverse;gap:4px;padding:12px 18px;transition:border-color .2s,box-shadow .2s;display:flex}.create-set-field-group:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #4285f41a}.create-set-input--title{color:var(--text-main);background:0 0;border:none;outline:none;width:100%;font-size:1.05rem;font-weight:700}.create-set-input::placeholder,.create-set-textarea::placeholder{color:#a1a1aa}.create-set-textarea{color:var(--text-main);resize:none;background:0 0;border:none;outline:none;width:100%;font-family:inherit;font-size:.92rem;font-weight:500}.create-set-label{color:var(--text-muted);letter-spacing:.5px;font-size:.68rem;font-weight:800}.create-set-cards-list{flex-direction:column;gap:16px;display:flex}.create-set-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;transition:box-shadow .25s,border-color .25s;display:flex;position:relative;overflow:visible;box-shadow:0 2px 8px #0000000a}.create-set-card:focus-within{z-index:10}.create-set-card:hover{border-color:#4285f440;box-shadow:0 8px 24px #00000017}.create-set-card__header{justify-content:space-between;align-items:center;padding:16px 20px 0;display:flex}.create-set-card__number{color:var(--text-muted);letter-spacing:.3px;font-size:.95rem;font-weight:700}.create-set-card__header-right{align-items:center;gap:4px;display:flex}.create-set-card__action-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:6px 8px;transition:all .18s;display:flex}.create-set-card__action-btn svg{width:16px;height:16px}.create-set-card__action-btn:hover{color:var(--text-main);background:#6464781a}.create-set-card__action-btn--delete:hover{color:#ef4444;background:#ef444414}.create-set-card__body{grid-template-columns:repeat(4,1fr);align-items:start;gap:16px;padding:20px 20px 24px;display:grid;overflow:visible}@media (width<=768px){.create-set-card__body{grid-template-columns:1fr;padding:16px 12px 20px}}.create-set-card__input-wrapper{flex-direction:column;gap:0;display:flex;position:relative}.create-set-card__input-label{color:var(--text-muted);letter-spacing:.2px;margin-bottom:6px;font-size:.72rem;font-weight:600;transition:color .2s;display:block}.create-set-card__input-wrapper:focus-within .create-set-card__input-label{color:var(--accent)}.create-set-card__input{color:var(--text-main);border:1.5px solid var(--border);background:#64648c0d;border-radius:10px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:1rem;font-weight:500;transition:border-color .2s,background .2s,box-shadow .2s}.create-set-card__input::placeholder{color:#aaa;font-weight:400}.create-set-card__input:focus{border-color:var(--accent);background:#4285f40a;box-shadow:0 0 0 3px #4285f41a}.create-set-card__input-wrapper--pinyin{overflow:visible}.create-set-add-row{justify-content:center;margin-top:10px;display:flex}.create-set-add-card-btn{background:var(--surface);border:2px dashed var(--border);color:var(--text-main);cursor:pointer;border-radius:16px;justify-content:center;align-items:center;gap:8px;width:100%;padding:18px 40px;font-family:inherit;font-size:1.05rem;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.create-set-add-card-btn:hover{border-color:var(--accent);color:var(--accent);background:#4285f40a}.create-set-footer{border-top:1px solid var(--border);justify-content:flex-end;margin-top:24px;padding-top:32px;display:flex}.flashcard-page{min-height:100%;color:var(--text,#1a1d2b);flex-direction:column;padding:0 0 3rem;font-family:Inter,Segoe UI,sans-serif;transition:background .3s,color .3s;display:flex;overflow-x:hidden}.fc-breadcrumb{color:var(--text-muted,#7e8299);align-items:center;gap:6px;padding:18px 24px 0;font-size:.82rem;display:flex}.fc-breadcrumb a,.fc-breadcrumb button{cursor:pointer;color:var(--text-muted,#7e8299);background:0 0;border:none;padding:0;font-size:.82rem;text-decoration:none;transition:color .15s}.fc-breadcrumb a:hover,.fc-breadcrumb button:hover{color:var(--accent,#4255ff)}.fc-breadcrumb__sep{opacity:.5;font-size:.75rem}.fc-header{justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 24px 0;display:flex}.fc-header__title{color:var(--text,#1a1d2b);margin:0;font-size:1.45rem;font-weight:700;line-height:1.3}.fc-header__actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.fc-tabs{border-bottom:1px solid var(--border,#e4e6f0);scrollbar-width:none;justify-content:center;align-items:center;gap:8px;padding:18px 24px 0;display:flex;overflow-x:auto}.fc-tabs::-webkit-scrollbar{display:none}.fc-mobile-tabs{display:none}.fc-tab{cursor:pointer;color:var(--text-muted,#7e8299);white-space:nowrap;background:0 0;border:none;border-radius:10px 10px 0 0;align-items:center;gap:7px;padding:8px 16px;font-size:.9rem;font-weight:600;transition:color .15s,background .15s;display:flex;position:relative;bottom:-1px}.fc-tab svg{opacity:.7;width:18px;height:18px}.fc-tab:hover{color:var(--text,#1a1d2b);background:var(--surface,#fff)}.fc-tab--active{color:var(--accent,#4255ff);background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);border-bottom-color:var(--surface,#fff)}.fc-tab--active svg{opacity:1}.fc-tab--locked{position:relative}.fc-tab__lock{color:#fff;background:#ffa800;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:9px;font-weight:700;display:inline-flex}.fc-stage{flex-direction:column;flex:1;align-items:center;gap:20px;width:100%;max-width:900px;margin:0 auto;padding:28px 24px 0;display:flex}.fc-card-wrapper{perspective:1200px;width:100%}.fc-card{cursor:pointer;width:100%;min-height:340px;transform-style:preserve-3d;-webkit-user-select:none;user-select:none;border-radius:20px;transition:transform .38s cubic-bezier(.34,1.05,.64,1);position:relative}.fc-card:focus{outline:none}.fc-card:focus-visible{outline:3px solid var(--accent,#4255ff);outline-offset:4px;border-radius:22px}.fc-card.is-flipped{transform:rotateX(180deg)}.fc-card__face{backface-visibility:hidden;background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;padding:40px;display:flex;position:absolute;inset:0;overflow:hidden;box-shadow:0 4px 24px #00000012}.fc-card__face--back{background:var(--surface,#fff);transform:rotateX(180deg)}.fc-card__front-content{flex-direction:column;justify-content:center;align-items:center;gap:0;width:100%;display:flex}.fc-card__hanzi{color:var(--text,#1a1d2b);text-align:center;letter-spacing:.04em;font-size:clamp(2.8rem,8vw,5rem);font-weight:700;line-height:1.2}.fc-card__hanzi.fc-card__hanzi--pinyin{color:var(--text,#1a1d2b);letter-spacing:.06em;font-size:clamp(2.8rem,8vw,5rem)}.fc-card__back-content{flex-direction:column;justify-content:center;align-items:center;gap:16px;width:100%;display:flex}.fc-card__pinyin{color:var(--accent,#4255ff);text-align:center;letter-spacing:.04em;font-size:clamp(1rem,2.8vw,1.45rem);font-style:italic;font-weight:500;line-height:1.3}.fc-card__pinyin.fc-card__pinyin--hanzi{color:var(--text,#1a1d2b);letter-spacing:normal;font-size:clamp(2rem,6vw,3rem);font-style:normal}.fc-card__meaning{color:var(--text,#1a1d2b);text-align:center;font-size:clamp(1.8rem,5.5vw,2.8rem);font-weight:700;line-height:1.3}.fc-card__notes{color:var(--text-muted,#7e8299);text-align:center;white-space:pre-wrap;word-break:break-word;max-width:85%;margin-top:16px;font-size:clamp(.9rem,2.5vw,1.25rem);font-style:italic;font-weight:400;line-height:1.4}.fc-card__divider{background:var(--border,#e4e6f0);border-radius:2px;width:48px;height:2px}.fc-card__icons{align-items:center;gap:8px;display:flex;position:absolute;top:16px;right:16px}.fc-card__icon-btn{cursor:pointer;width:34px;height:34px;color:var(--text-muted,#7e8299);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;transition:background .15s,color .15s;display:inline-flex}.fc-card__icon-btn:hover{background:var(--bg,#f6f7fb);color:var(--accent,#4255ff)}.fc-card__hint{color:var(--text-muted,#7e8299);opacity:.6;white-space:nowrap;font-size:.72rem;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.fc-nav-group{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex}.fc-nav{grid-template-columns:1fr auto 1fr;align-items:center;width:100%;display:grid}.fc-nav__side{align-items:center;display:flex}.fc-nav__side--left{justify-content:flex-start}.fc-nav__side--right{justify-content:flex-end;align-items:center;gap:8px;display:flex}.fc-nav__center-group{justify-content:center;align-items:center;gap:20px;display:flex}.fc-nav__btn{border:1.5px solid var(--border,#e4e6f0);background:var(--surface,#fff);cursor:pointer;width:64px;height:40px;color:var(--text,#1a1d2b);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;transition:all .18s;display:inline-flex;box-shadow:0 1px 4px #0000000f}.fc-nav__btn:hover:not(:disabled){border-color:var(--accent,#4255ff);color:var(--accent,#4255ff);background:var(--accent-bg,#eef0ff);transform:scale(1.08);box-shadow:0 2px 10px #4255ff26}.fc-nav__btn:disabled{opacity:.28;cursor:not-allowed;box-shadow:none}.fc-nav__btn svg{width:20px;height:20px}.fc-nav__counter{color:var(--text,#1a1d2b);white-space:nowrap;text-align:center;min-width:60px;font-size:1rem;font-weight:700}.fc-nav__divider{background:var(--border,#e4e6f0);flex-shrink:0;width:1px;height:24px;margin:0 4px}.fc-progress-bar{background:#00000012;border-radius:999px;width:100%;height:3px;overflow:hidden}.fc-progress-bar__fill{background:#4255ff59;border-radius:999px;height:100%;transition:width .35s cubic-bezier(.4,0,.2,1)}.fc-toolbar{justify-content:space-between;align-items:center;width:100%;padding-top:4px;display:flex}.fc-toolbar__left{align-items:center;gap:6px;display:flex}.fc-toolbar__right{align-items:center;gap:4px;display:flex}.fc-toolbar__btn{background:var(--bg,#f6f7fb);cursor:pointer;width:40px;height:40px;color:var(--text-muted,#7e8299);border:1.5px solid #0000;border-radius:50%;justify-content:center;align-items:center;transition:all .18s;display:inline-flex}.fc-toolbar__btn:hover,.fc-toolbar__btn--active{background:var(--accent-bg,#eef0ff);border-color:var(--accent,#4255ff);color:var(--accent,#4255ff)}.fc-toolbar__btn svg{width:18px;height:18px}.fc-progress-toggle{color:var(--text-muted,#7e8299);align-items:center;gap:8px;font-size:.82rem;display:flex}.fc-progress-toggle__switch{background:var(--border,#d0d4e8);cursor:pointer;border:none;border-radius:10px;flex-shrink:0;width:36px;height:20px;transition:background .2s;position:relative}.fc-progress-toggle__switch:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .2s;position:absolute;top:3px;left:3px}.fc-progress-toggle__switch--on{background:var(--accent,#4255ff)}.fc-progress-toggle__switch--on:after{transform:translate(16px)}.fc-card-wrapper{animation-duration:.35s;animation-timing-function:ease-out;animation-fill-mode:forwards}.fc-card-wrapper.slide-in-right{animation-name:slideInRight}.fc-card-wrapper.slide-in-left{animation-name:slideInLeft}@keyframes slideInRight{0%{opacity:0;transform:translate(48px)}to{opacity:1;transform:translate(0)}}@keyframes slideInLeft{0%{opacity:0;transform:translate(-48px)}to{opacity:1;transform:translate(0)}}.fc-congrats-card{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);box-sizing:border-box;border-radius:20px;flex-direction:column;gap:28px;width:100%;min-height:340px;padding:32px 40px;display:flex;box-shadow:0 4px 24px #00000012}@media (width>=1024px){.fc-congrats-card{min-height:480px;padding:48px 56px}}.fc-congrats-card__header{justify-content:space-between;align-items:center;gap:16px;display:flex}.fc-congrats-card__title{color:var(--text,#1a1d2b);margin:0;font-size:clamp(1.4rem,4vw,2.1rem);font-weight:800;line-height:1.3}.fc-congrats-card__emoji{font-size:clamp(3rem,6vw,4.5rem);line-height:1}.fc-congrats-card__body{grid-template-columns:1fr;gap:32px;display:grid}@media (width>=640px){.fc-congrats-card__body{grid-template-columns:1fr 1fr;gap:40px}}.fc-congrats-card__section{flex-direction:column;gap:16px;display:flex}.fc-congrats-card__section-title{color:var(--text-muted,#7e8299);text-transform:uppercase;letter-spacing:.05em;margin:0;font-size:.95rem;font-weight:700}.fc-congrats-card__progress-row{flex-direction:column;gap:12px;display:flex}.fc-congrats-card__badge{border-radius:12px;justify-content:space-between;align-items:center;padding:12px 16px;font-size:.9rem;font-weight:600;display:flex}.fc-congrats-card__badge--success{color:#0ca678;background:#e6fcf5}.fc-congrats-card__badge--muted{background:var(--bg,#f6f7fb);color:var(--text-muted,#7e8299)}.fc-congrats-card__record-alert{color:#f59f00;text-transform:uppercase;letter-spacing:.08em;text-shadow:0 1px 1px #ffffff80;background:linear-gradient(135deg,#fff9db 0%,#ffe066 100%);border:1.5px dashed #fab005;border-radius:12px;justify-content:center;align-items:center;gap:8px;margin-top:12px;padding:14px;font-size:1.1rem;font-weight:800;animation:1.8s ease-in-out infinite pulse-record;display:flex;box-shadow:0 4px 15px #fab00526}@keyframes pulse-record{0%{transform:scale(1);box-shadow:0 4px 15px #fab00526}50%{transform:scale(1.02);box-shadow:0 6px 20px #fab0054d}to{transform:scale(1);box-shadow:0 4px 15px #fab00526}}.fc-congrats-card__badge-num{font-size:1rem;font-weight:700}.fc-congrats-card__back-link{color:var(--accent,#4255ff);cursor:pointer;background:0 0;border:none;align-self:flex-start;align-items:center;gap:8px;padding:0;font-size:.9rem;font-weight:700;transition:opacity .15s;display:inline-flex}.fc-congrats-card__back-link:hover{opacity:.85;text-decoration:underline}.fc-congrats-card__actions{flex-direction:column;gap:12px;display:flex}.fc-congrats-card__btn{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:14px 20px;font-size:.95rem;font-weight:700;transition:all .15s;display:flex}.fc-congrats-card__btn--primary{background:var(--accent,#4255ff);color:#fff}.fc-congrats-card__btn--primary:hover{opacity:.9;transform:translateY(-1px)}.fc-congrats-card__btn--secondary{background:var(--bg,#f6f7fb);color:var(--text,#1a1d2b);border:1px solid var(--border,#e4e6f0)}.fc-congrats-card__btn--secondary:hover{background:var(--border,#e4e6f0)}.fc-action-btn{border:1px solid var(--border,#e4e6f0);background:var(--surface,#fff);cursor:pointer;width:38px;height:38px;color:var(--text-muted,#7e8299);border-radius:10px;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.fc-action-btn:hover{border-color:var(--accent,#4255ff);color:var(--accent,#4255ff);background:var(--accent-bg,#eef0ff)}.fc-action-btn--danger:hover{color:#ef4444;background:#fee2e2;border-color:#ef4444}.fc-action-btn svg{width:18px;height:18px}.fc-vocab-list{flex-direction:column;gap:10px;width:100%;max-width:900px;margin:8px auto 0;padding:0 24px;display:flex}.fc-vocab-list__title{color:var(--text,#1a1d2b);margin:12px 0 4px;font-size:1rem;font-weight:700}.fc-vocab-item{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);cursor:pointer;border-radius:14px;align-items:center;gap:16px;padding:14px 18px;transition:border-color .15s,box-shadow .15s;display:flex}.fc-vocab-item:hover{border-color:var(--accent,#4255ff);box-shadow:0 2px 12px #4255ff14}.fc-vocab-item--active{border-color:var(--accent,#4255ff);background:var(--accent-bg,#eef0ff)}.fc-vocab-item__hanzi{color:var(--text,#1a1d2b);min-width:60px;font-size:1.3rem;font-weight:700}.fc-vocab-item__sep{background:var(--border,#e4e6f0);width:1px;height:28px}.fc-vocab-item__right{flex-direction:column;gap:2px;display:flex}.fc-vocab-item__pinyin{color:var(--accent,#4255ff);font-size:.9rem;font-weight:600}.fc-vocab-item__meaning{color:var(--text-muted,#7e8299);font-size:.88rem}.fc-empty{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:64px 24px;display:flex}.fc-empty__icon{width:64px;height:64px;color:var(--border,#cdd0e0)}.fc-empty__title{color:var(--text,#1a1d2b);margin:0;font-size:1.2rem;font-weight:700}.fc-empty__text{color:var(--text-muted,#7e8299);margin:0;font-size:.9rem}@media (width<=640px){.fc-stage,.fc-vocab-list,.fc-breadcrumb,.fc-header,.fc-tabs{padding-left:14px;padding-right:14px}.fc-card__face{padding:28px 20px}.fc-nav__btn{width:52px;height:36px}.fc-nav__center-group{gap:12px}.fc-nav__counter{min-width:48px;font-size:.9rem}.fc-toolbar__btn{width:36px;height:36px}.fc-tabs{display:none!important}.fc-mobile-tabs{z-index:15;margin:12px 16px 4px;display:block;position:relative}.fc-mobile-tabs-btn{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;width:100%;height:48px;padding:0 16px;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 4px 12px -2px #0000000a,0 1px 3px #00000005}.fc-mobile-tabs-btn:active{transform:scale(.985)}.fc-mobile-tabs-btn__left{align-items:center;gap:10px;display:flex}.fc-mobile-tabs-btn__left svg{width:18px;height:18px;color:var(--accent)}.fc-mobile-tabs-btn__label{color:var(--text-h);font-size:.95rem;font-weight:700}.fc-mobile-tabs-btn__chevron{width:18px;height:18px;color:var(--text-muted);transition:transform .25s cubic-bezier(.16,1,.3,1)}.fc-mobile-tabs-btn__chevron--open{transform:rotate(180deg)}.fc-mobile-tabs-menu{background:var(--surface);border:1px solid var(--border);z-index:99;border-radius:12px;flex-direction:column;gap:4px;padding:6px;animation:.2s cubic-bezier(.16,1,.3,1) forwards mobileTabsFadeIn;display:flex;position:absolute;top:calc(100% + 6px);left:0;right:0;box-shadow:0 12px 30px -4px #0000001f,0 4px 12px -2px #0000000d}@keyframes mobileTabsFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.fc-mobile-tabs-item{cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;height:44px;padding:0 12px;transition:color .15s,opacity .15s;display:flex}.fc-mobile-tabs-item svg{width:18px;height:18px;color:var(--text-muted);opacity:.8;transition:color .15s}.fc-mobile-tabs-item span{color:var(--text);font-size:.92rem;font-weight:600;transition:color .15s}.fc-mobile-tabs-item:hover,.fc-mobile-tabs-item:focus-visible{background:var(--surface-alt);transition:background-color .15s}.fc-mobile-tabs-item--active{background:var(--accent-soft)!important}.fc-mobile-tabs-item--active svg{opacity:1;color:var(--accent)!important}.fc-mobile-tabs-item--active span{font-weight:700;color:var(--accent)!important}}@media (width>=1024px){.fc-stage{max-width:1000px;padding-top:40px}.fc-card{min-height:480px}.fc-card__hanzi{font-size:6.2rem}.fc-card__pinyin{font-size:1.45rem}.fc-card__pinyin.fc-card__pinyin--hanzi{font-size:4rem}.fc-card__meaning{font-size:3rem}}.toast-msg{color:#fff;z-index:200;background:#10b981;border-radius:10px;align-items:center;gap:8px;padding:12px 20px;font-size:.9rem;font-weight:600;animation:.3s cubic-bezier(.16,1,.3,1) forwards toastFadeIn;display:flex;position:fixed;top:72px;right:20px;box-shadow:0 4px 12px #0000001a}.fc-dialog{background:0 0;border:none;border-radius:20px;width:90%;max-width:440px;margin:auto;padding:0;box-shadow:0 10px 30px #00000026}.fc-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a66}.fc-modal-content{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);border-radius:20px;flex-direction:column;gap:16px;padding:24px;display:flex}.fc-modal-content__title{color:var(--text,#1a1d2b);margin:0;font-size:1.3rem;font-weight:700}.fc-modal-content__text{color:var(--text-muted,#7e8299);margin:0;font-size:.95rem;line-height:1.5}.fc-modal-content__actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:8px;display:flex}.fc-modal-content__btn{cursor:pointer;background:0 0;border:none;border-radius:12px;padding:10px 20px;font-size:.9rem;font-weight:700;transition:all .15s}.fc-modal-content__btn--cancel{color:var(--text-muted,#7e8299);background:0 0}.fc-modal-content__btn--cancel:hover{background:var(--bg,#f6f7fb);color:var(--text,#1a1d2b)}.fc-modal-content__btn--danger{color:#fff;background:#ef4444}.fc-modal-content__btn--danger:hover{background:#dc2626}.fc-learn-card{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);box-sizing:border-box;border-radius:20px;flex-direction:column;gap:24px;width:100%;min-height:380px;padding:28px;display:flex;box-shadow:0 4px 24px #00000012}@media (width>=1024px){.fc-learn-card{min-height:520px;padding:40px}}.fc-learn-card__question-header{flex-direction:column;gap:8px;width:100%;display:flex}.fc-learn-card__index{color:var(--text-muted,#7e8299);font-size:.9rem;font-weight:700}.fc-learn-card__question-content{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.fc-learn-card__prompt{color:var(--text-muted,#7e8299);font-size:1rem;font-weight:600}.fc-learn-card__prompt-text{color:var(--text,#1a1d2b);text-align:center;font-weight:800;line-height:1.2}.fc-learn-card__prompt-text--hanzi{font-size:clamp(3.5rem,8vw,5.5rem)}.fc-learn-card__prompt-text--pinyin{color:var(--accent,#4255ff);font-size:clamp(2.2rem,5vw,3rem)}.fc-learn-card__prompt-text--meaning{font-size:clamp(1.6rem,4vw,2.2rem);font-weight:700}.fc-learn-card__choices{grid-template-columns:1fr;gap:14px;display:grid}@media (width>=640px){.fc-learn-card__choices{grid-template-columns:1fr 1fr;gap:16px}}.fc-learn-card__choice{text-align:left;border:1.5px solid var(--border,#e4e6f0);background:var(--surface,#fff);cursor:pointer;box-sizing:border-box;border-radius:12px;justify-content:space-between;align-items:center;padding:16px 20px;transition:all .18s;display:flex}.fc-learn-card__choice:hover:not(:disabled){border-color:var(--accent,#4255ff);background:var(--accent-bg,#eef0ff);transform:translateY(-1px);box-shadow:0 4px 12px #4255ff14}.fc-learn-card__choice-left{align-items:center;gap:16px;display:flex}.fc-learn-card__choice-number{background:var(--bg);border:1px solid var(--border);width:28px;height:28px;color:var(--text-muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;transition:all .18s;display:flex}.fc-learn-card__choice:hover:not(:disabled) .fc-learn-card__choice-number{border-color:var(--accent);color:var(--accent);background:var(--surface)}.fc-learn-card__choice--correct .fc-learn-card__choice-number{color:#0ca678!important;background:#d3f9d8!important;border-color:#0ca678!important}.fc-learn-card__choice--incorrect .fc-learn-card__choice-number{color:#fa5252!important;background:#ffe3e3!important;border-color:#fa5252!important}.fc-learn-card__choice--disabled .fc-learn-card__choice-number{opacity:.6}.fc-learn-card__choice-text{flex-direction:column;gap:4px;display:flex}.fc-learn-card__choice-val{color:var(--text,#1a1d2b);font-size:1.05rem;font-weight:600;transition:color .18s}.fc-learn-card__choice-val--hanzi{font-size:1.3rem;font-weight:700}.fc-learn-card__choice--correct{background:#e6fcf5!important;border-color:#0ca678!important}.fc-learn-card__choice--correct .fc-learn-card__choice-val{color:#0ca678}.fc-learn-card__choice-icon--correct{color:#0ca678;flex-shrink:0}.fc-learn-card__choice--incorrect{background:#fff5f5!important;border-color:#fa5252!important}.fc-learn-card__choice--incorrect .fc-learn-card__choice-val{color:#fa5252}.fc-learn-card__choice-icon--incorrect{color:#fa5252;flex-shrink:0}.fc-learn-card__choice--disabled{opacity:.55;cursor:not-allowed}.fc-learn-card__footer{justify-content:flex-end;margin-top:8px;display:flex}.fc-learn-card__next-btn{background:var(--accent,#4255ff);color:#fff;cursor:pointer;border:none;border-radius:12px;align-items:center;gap:8px;padding:12px 24px;font-size:.95rem;font-weight:700;transition:all .15s;display:inline-flex;box-shadow:0 4px 14px #4255ff40}.fc-learn-card__next-btn:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 6px 18px #4255ff59}.fc-write-card{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);box-sizing:border-box;border-radius:20px;flex-direction:column;align-items:center;gap:20px;width:100%;min-height:380px;padding:30px;transition:all .3s;display:flex;position:relative;box-shadow:0 4px 24px #00000012}.fc-write-card__header{flex-direction:column;gap:8px;width:100%;display:flex}.fc-write-card__index{color:var(--text-muted,#7e8299);text-transform:uppercase;letter-spacing:.05em;font-size:.85rem;font-weight:700}.fc-write-card__prompt-section{text-align:center;border-bottom:1px dashed var(--border,#e4e6f0);flex-direction:column;align-items:center;gap:6px;width:100%;padding-bottom:12px;display:flex}.fc-write-card__header-row{justify-content:center;align-items:center;gap:12px;display:flex}.fc-write-card__hanzi-word{color:var(--text,#1a1d2b);letter-spacing:.1em;margin:0;font-size:2.2rem;font-weight:700}.fc-write-card__pinyin{color:var(--accent,#4255ff);margin:0;font-size:1.1rem;font-weight:600}.fc-write-card__meaning{color:var(--text-muted,#7e8299);margin:0;font-size:.95rem}.fc-write-card__empty{color:var(--text-muted,#7e8299);justify-content:center;align-items:center;padding:40px;font-weight:600;display:flex}.fc-write-card__content{flex-direction:column;align-items:center;gap:20px;width:100%;display:flex}.fc-write-card__char-tabs{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.fc-write-card__char-tab{border:1.5px solid var(--border,#e4e6f0);background:var(--bg,#f6f7fb);color:var(--text,#1a1d2b);cursor:pointer;border-radius:12px;align-items:center;gap:6px;padding:8px 16px;font-size:1.1rem;font-weight:700;transition:all .15s;display:inline-flex}.fc-write-card__char-tab:hover{border-color:var(--accent,#4255ff);color:var(--accent,#4255ff)}.fc-write-card__char-tab--active{background:var(--accent-bg,#eef0ff);border-color:var(--accent,#4255ff);color:var(--accent,#4255ff)}.fc-write-card__char-tab--completed{color:#0ca678;background:#e6fcf5;border-color:#0ca678}.fc-write-card__char-tab-icon{stroke:currentColor;stroke-width:3px;width:14px;height:14px}.fc-write-card__canvas-wrapper{justify-content:center;align-items:center;width:100%;display:flex}.fc-write-card__canvas-container{background:var(--surface,#fff);border:2px solid var(--border,#e4e6f0);border-radius:16px;justify-content:center;align-items:center;width:250px;height:250px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 2px 8px #00000008}.fc-write-card__grid-lines{pointer-events:none;stroke:#ef44441f;width:100%;height:100%;position:absolute;top:0;left:0}.fc-write-card__canvas-target{z-index:2;cursor:crosshair;width:250px;height:250px}.fc-write-card__controls{grid-template-columns:repeat(2,1fr);gap:10px;width:100%;max-width:380px;display:grid}@media (width>=480px){.fc-write-card__controls{grid-template-columns:repeat(4,1fr);max-width:500px}}.fc-write-card__btn{cursor:pointer;border:1.5px solid #0000;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:56px;padding:10px 8px;font-size:.78rem;font-weight:700;transition:all .15s;display:flex}.fc-write-card__btn svg{opacity:.85;width:18px;height:18px}.fc-write-card__btn--secondary{background:var(--bg,#f6f7fb);border-color:var(--border,#e4e6f0);color:var(--text-muted,#7e8299)}.fc-write-card__btn--secondary:hover,.fc-write-card__btn--active{background:var(--accent-bg,#eef0ff);border-color:var(--accent,#4255ff);color:var(--accent,#4255ff)}.fc-write-card__btn--primary{background:var(--accent,#4255ff);color:#fff;box-shadow:0 4px 12px #4255ff2e}.fc-write-card__btn--primary:hover{opacity:.95;transform:translateY(-1px);box-shadow:0 6px 16px #4255ff47}.fc-write-card__btn--primary-active{color:#fff;background:#0ca678;box-shadow:0 4px 12px #0ca6782e}.fc-write-card__btn--primary-active:hover{background:#0b9b70;transform:translateY(-1px)}.fc-write-card__success-banner{text-align:center;background:#e6fcf5;border:1.5px solid #0ca678;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;max-width:320px;padding:20px;animation:.3s cubic-bezier(.34,1.56,.64,1) scaleIn;display:flex;box-shadow:0 8px 24px #0ca6781a}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.fc-write-card__success-icon{font-size:2rem;line-height:1}.fc-write-card__success-text{color:#0ca678;font-size:1rem;font-weight:700}.fc-write-card__next-btn{color:#fff;cursor:pointer;background:#0ca678;border:none;border-radius:10px;justify-content:center;align-items:center;padding:10px 20px;font-size:.9rem;font-weight:700;transition:all .15s;display:inline-flex}.fc-write-card__next-btn:hover{background:#0b9b70;transform:translateY(-1px)}.fc-typing-setup{flex-direction:column;align-items:center;width:100%;max-width:680px;margin:0 auto;padding:20px 10px;display:flex}.fc-typing-setup__header{text-align:center;margin-bottom:32px}.fc-typing-setup__title{color:var(--text,#1a1d2b);background:linear-gradient(135deg, var(--accent,#4255ff) 0%, #7000ff 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:10px;font-size:1.8rem;font-weight:800}.fc-typing-setup__desc{color:var(--text-muted,#7e8299);font-size:.95rem}.fc-typing-setup__options{flex-direction:column;gap:16px;width:100%;display:flex}.fc-typing-setup__option-card{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);text-align:left;cursor:pointer;border-radius:16px;align-items:center;gap:20px;width:100%;padding:20px 24px;transition:all .25s cubic-bezier(.2,.8,.2,1);display:flex;box-shadow:0 4px 12px #00000008}.fc-typing-setup__option-card:hover{border-color:var(--accent,#4255ff);background:var(--surface-hover,#f8f9fa);transform:translateY(-3px);box-shadow:0 8px 24px #4255ff1f}.fc-typing-setup__option-icon{width:48px;height:48px;color:var(--accent,#4255ff);background:#4255ff1a;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:1.2rem;font-weight:700;transition:all .2s;display:flex}.fc-typing-setup__option-card:hover .fc-typing-setup__option-icon{background:var(--accent,#4255ff);color:#fff}.fc-typing-setup__option-content h3{color:var(--text,#1a1d2b);margin-bottom:4px;font-size:1.05rem;font-weight:700}.fc-typing-setup__option-content p{color:var(--text-muted,#7e8299);font-size:.88rem;line-height:1.4}.fc-typing-card{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);box-sizing:border-box;border-radius:20px;flex-direction:column;gap:24px;width:100%;min-height:380px;padding:28px;transition:border-color .25s,box-shadow .25s;display:flex;box-shadow:0 4px 24px #00000012}@media (width>=1024px){.fc-typing-card{min-height:480px;padding:40px}}.fc-typing-card--correct{border-color:#2b8a3e;box-shadow:0 4px 24px #2b8a3e26}.fc-typing-card--incorrect{border-color:#c92a2a;box-shadow:0 4px 24px #c92a2a26}.fc-typing-card__header{flex-direction:column;gap:8px;width:100%;display:flex}.fc-typing-card__header-left{justify-content:space-between;align-items:center;display:flex}.fc-typing-card__index{color:var(--text-muted,#7e8299);font-size:.9rem;font-weight:700}.fc-typing-card__score{color:var(--accent,#4255ff);font-size:.9rem;font-weight:700}.fc-typing-card__prompt-area{text-align:center;flex-direction:column;align-items:center;gap:10px;margin:10px 0;display:flex}.fc-typing-card__prompt-label{color:var(--text-muted,#7e8299);text-transform:uppercase;letter-spacing:.5px;font-size:.95rem;font-weight:600}.fc-typing-card__prompt-text{color:var(--text,#1a1d2b);font-size:1.8rem;font-weight:800;line-height:1.2}.fc-typing-card__prompt-text--large-hanzi{font-size:clamp(3rem,7vw,4.5rem)}.fc-typing-card__sub-prompt-text{color:var(--text-muted,#7e8299);font-size:1.1rem}.fc-typing-card__form{flex-direction:column;gap:20px;width:100%;max-width:540px;margin:0 auto;display:flex}.fc-typing-card__input-wrapper{width:100%;position:relative}.fc-typing-card__input{border:2px solid var(--border,#e4e6f0);background:var(--surface-hover,#f8f9fa);width:100%;color:var(--text,#1a1d2b);box-sizing:border-box;text-align:center;border-radius:12px;padding:16px 20px;font-size:1.15rem;transition:all .2s}.fc-typing-card__input:focus{border-color:var(--accent,#4255ff);background:var(--surface,#fff);outline:none;box-shadow:0 0 0 4px #4255ff26}.fc-typing-card__input--correct,.fc-typing-card__input--correct:focus{color:#2b8a3e;box-shadow:none;background:#ebfbee;border-color:#2b8a3e}.fc-typing-card__input--incorrect,.fc-typing-card__input--incorrect:focus{color:#c92a2a;box-shadow:none;background:#fff5f5;border-color:#c92a2a}.fc-typing-card__actions{justify-content:space-between;gap:16px;width:100%;display:flex}.fc-typing-card__btn{cursor:pointer;border:none;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:8px;padding:14px 28px;font-size:.95rem;font-weight:700;transition:all .15s;display:inline-flex}.fc-typing-card__btn--skip{color:var(--text-muted,#7e8299);border:1.5px solid var(--border,#e4e6f0);background:0 0}.fc-typing-card__btn--skip:hover{background:var(--border,#e4e6f0);color:var(--text,#1a1d2b)}.fc-typing-card__btn--submit{background:var(--accent,#4255ff);color:#fff;box-shadow:0 4px 12px #4255ff33}.fc-typing-card__btn--submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #4255ff4d}.fc-typing-card__btn--submit:disabled{opacity:.55;cursor:not-allowed}.fc-typing-card__btn--next{background:var(--accent,#4255ff);color:#fff;width:100%;box-shadow:0 4px 12px #4255ff33}.fc-typing-card__btn--next:hover{transform:translateY(-1px);box-shadow:0 6px 16px #4255ff4d}.fc-typing-card__feedback{border-radius:12px;flex-direction:column;gap:8px;width:100%;max-width:540px;margin:0 auto;padding:16px 20px;animation:.25s cubic-bezier(.2,.8,.2,1) slideDownFade;display:flex}.fc-typing-card__feedback--correct{color:#2b8a3e;background:#ebfbee;border:1px solid #c3e6cb}.fc-typing-card__feedback--incorrect{color:#c92a2a;background:#fff5f5;border:1px solid #f5c6cb}.fc-typing-card__feedback-header{align-items:center;gap:8px;font-size:.95rem;font-weight:700;display:flex}.fc-typing-card__feedback-icon{flex-shrink:0;width:18px;height:18px}.fc-typing-card__feedback-body{align-items:baseline;gap:8px;font-size:.9rem;display:flex}.fc-typing-card__feedback-answer-label{opacity:.85;font-weight:600}.fc-typing-card__feedback-answer-value{font-size:1.05rem;font-weight:700}.dark .fc-typing-setup__option-card{box-shadow:0 4px 12px #0003}.dark .fc-typing-setup__option-card:hover{box-shadow:0 8px 24px #4255ff40}.dark .fc-typing-card{box-shadow:0 4px 24px #0000004d}.dark .fc-typing-card__input{background:var(--bg,#0a092d);color:var(--text-h,#fff);border-color:var(--border,#2e3856)}.dark .fc-typing-card__input:focus{background:var(--surface,#1a1b2d);color:var(--text-h,#fff)}.dark .fc-typing-card__input::placeholder{color:var(--text-muted,#687391)}.dark .fc-typing-card__input--correct{color:#40c057;background:#14321a}.dark .fc-typing-card__input--incorrect{color:#fa5252;background:#3c1414}.dark .fc-typing-card__feedback--correct{background:#14321a;border-color:#235a2f}.dark .fc-typing-card__feedback--incorrect{background:#3c1414;border-color:#612323}.dark .fc-learn-card__timer{background:var(--bg,#0a092d);border-color:var(--border,#2e3856);color:var(--text-muted,#687391)}.dark .fc-learn-card__choice:hover:not(:disabled),.dark .fc-match-card__item:hover:not(:disabled){background:var(--surface-alt,#282e3e)!important}.test-question-card:focus-within{z-index:10!important}.fc-write-card__canvases-scroll-wrapper{scrollbar-width:thin;flex-direction:row;justify-content:safe center;gap:16px;width:100%;max-width:100%;padding:10px 4px;display:flex;overflow-x:auto}.fc-write-card__canvases-scroll-wrapper::-webkit-scrollbar{height:6px}.fc-write-card__canvases-scroll-wrapper::-webkit-scrollbar-track{background:0 0}.fc-write-card__canvases-scroll-wrapper::-webkit-scrollbar-thumb{background-color:var(--border,#e4e6f0);border-radius:3px}.fc-write-card__canvas-container{flex-shrink:0!important;width:220px!important;height:220px!important}.fc-typing-card__speaker-btn{background:var(--accent-bg,#eef0ff);width:44px;height:44px;color:var(--accent,#4255ff);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;margin-top:8px;transition:opacity .2s,transform .1s,background-color .2s;display:inline-flex}.fc-typing-card__speaker-btn:hover{background:var(--accent,#4255ff);color:var(--surface,#fff);transform:scale(1.05)}.fc-typing-card__speaker-btn:active{transform:scale(.95)}.fc-learn-card__header-row{justify-content:space-between;align-items:center;width:100%;display:flex}.fc-learn-card__timer{background:var(--bg-hover,#f1f3f9);color:var(--text-muted,#7e8299);border:1px solid var(--border,#e4e6f0);border-radius:10px;align-items:center;gap:6px;padding:6px 12px;font-size:.85rem;font-weight:700;transition:all .2s ease-in-out;display:flex}.fc-learn-card__timer-icon{width:14px;height:14px}.fc-learn-card__timer-text{font-family:monospace,sans-serif;font-size:.9rem}.fc-learn-card__timer--active{color:var(--accent,#4255ff);background:#4255ff14;border-color:#4255ff26}.fc-learn-card__timer--active .fc-learn-card__timer-icon{animation:2s ease-in-out infinite fc-pulse}@keyframes fc-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.fc-congrats-card__badge--info{color:var(--accent,#4255ff);background:#eef0ff}.fc-match-card{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);box-sizing:border-box;border-radius:20px;flex-direction:column;gap:24px;width:100%;min-height:380px;padding:28px;display:flex;box-shadow:0 4px 24px #00000012}@media (width>=1024px){.fc-match-card{min-height:520px;padding:40px}}.fc-match-card__header{flex-direction:column;gap:8px;width:100%;display:flex}.fc-match-card__header-row{justify-content:space-between;align-items:center;width:100%;display:flex}.fc-match-card__progress-text{color:var(--text-muted,#7e8299);letter-spacing:.05em;font-size:.9rem;font-weight:700}.fc-match-card__header-right{align-items:center;gap:12px;display:flex}.fc-match-card__page-badge{background:var(--bg-hover,#f1f3f9);color:var(--text,#1e1e2d);border:1px solid var(--border,#e4e6f0);border-radius:10px;padding:6px 12px;font-size:.85rem;font-weight:700}.fc-match-card__grid{flex-grow:1;grid-template-columns:1fr 1fr;gap:12px 20px;width:100%;display:grid}.fc-match-card__column{flex-direction:column;gap:12px;display:flex}.fc-match-card__item{background:var(--surface,#fff);border:1px solid var(--border,#e4e6f0);cursor:pointer;box-sizing:border-box;text-align:left;border-radius:16px;align-items:center;width:100%;min-height:64px;padding:16px 20px;transition:all .2s;display:flex}.fc-match-card__item:hover:not(:disabled){border-color:var(--accent,#4255ff);background:var(--bg-hover,#f8f9fd);box-shadow:0 4px 12px #4255ff0d}.fc-match-card__item-bubble{background:var(--bg);border:1px solid var(--border);width:28px;height:28px;color:var(--text-muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;margin-right:16px;font-size:.85rem;font-weight:700;transition:all .18s;display:flex}.fc-match-card__item:hover:not(:disabled) .fc-match-card__item-bubble{border-color:var(--accent,#4255ff);color:var(--accent,#4255ff);background:var(--surface,#fff)}.fc-match-card__item-text{color:var(--text,#1e1e2d);word-break:break-word;font-size:1.05rem;font-weight:500;line-height:1.4}.fc-match-card__item-text--hanzi{font-size:1.35rem;font-weight:600}.fc-match-card__item--selected{box-shadow:0 4px 12px #4255ff1a;border-color:var(--accent,#4255ff)!important;background:#4255ff0a!important}.fc-match-card__item--selected .fc-match-card__item-bubble{background:var(--accent,#4255ff)!important;border-color:var(--accent,#4255ff)!important;color:#fff!important}.fc-match-card__item--matched{cursor:default;opacity:.45;background:#e6fcf5!important;border-color:#0ca67833!important}.fc-match-card__item--matched .fc-match-card__item-text{color:#0ca678!important}@media (width<=1023px){.fc-learn-card__choice-number,.fc-match-card__item-bubble{display:none!important}}
