@font-face{font-family:Fredoka;src:url(/fonts/fredoka-v17-latin-500.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/fonts/fredoka-v17-latin-600.woff2)format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/fonts/fredoka-v17-latin-700.woff2)format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Work Sans;src:url(/fonts/work-sans-v24-latin-regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Work Sans;src:url(/fonts/work-sans-v24-latin-500.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Work Sans;src:url(/fonts/work-sans-v24-latin-600.woff2)format("woff2");font-weight:600 700;font-style:normal;font-display:swap}:root{color:#22233b;font-synthesis:none;text-rendering:optimizelegibility;--violet:#5f63bb;--violet-dark:#3e407d;--violet-pale:#e9e9fa;--teal:#16bcae;--ink:#22233b;--muted:#6c6d80;--paper:#fff;--beige:#fffaf0;--line:#e5e4ed;background:#f7f6fb;font-family:Work Sans,system-ui,sans-serif}*{box-sizing:border-box}html{background:#f7f6fb;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}a{color:inherit}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline-offset:3px;outline:3px solid #ffbf47}.skip-link{z-index:100;color:var(--violet-dark);background:#fff;border-radius:8px;padding:10px 14px;position:fixed;top:12px;left:12px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.brand{letter-spacing:.01em;align-items:center;gap:11px;font-family:Fredoka,sans-serif;font-size:1.45rem;font-weight:700;text-decoration:none;display:inline-flex}.brand-mark{background:var(--violet);color:#fff;border-radius:12px;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 7px 16px #43438138}.button{cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 22px;font-weight:700;text-decoration:none;display:inline-flex}.button-primary{background:var(--violet);color:#fff;box-shadow:0 10px 24px #4243853d}.button-primary:hover{background:var(--violet-dark);transform:translateY(-1px)}.button-secondary{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff24;border:1px solid #ffffff8c}.landing-shell{color:#fff;background:radial-gradient(circle at 8% 18%,#ffffff29 0 90px,#0000 91px),radial-gradient(circle at 92% 70%,#16d8c538 0 210px,#0000 211px),linear-gradient(138deg,#474a9d 0%,#6669c2 53%,#257f99 100%);min-height:100vh;overflow:hidden}.landing-register{color:#fff;text-underline-offset:4px;font-weight:700}.landing-nav,.landing-hero,.principles{width:min(1180px,100% - 40px);margin-inline:auto}.landing-nav{justify-content:space-between;align-items:center;min-height:90px;display:flex}.landing-nav .brand-mark{color:var(--violet);background:#fff}.landing-hero{grid-template-columns:1.05fr .95fr;align-items:center;gap:70px;min-height:590px;padding:40px 0 80px;display:grid}.landing-copy{max-width:650px}.eyebrow{color:var(--teal);letter-spacing:.16em;text-transform:uppercase;margin:0 0 12px;font-size:.76rem;font-weight:800}.landing-copy .eyebrow{color:#b6fff8}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Fredoka,sans-serif}.landing-copy h1{letter-spacing:-.045em;max-width:720px;margin-bottom:24px;font-size:clamp(3rem,6vw,5.8rem);line-height:.95}.lead{font-size:1.15rem;line-height:1.72}.landing-copy .lead{color:#ffffffdb;max-width:610px}.landing-actions{align-items:center;gap:18px;margin-top:34px;display:flex}.landing-actions .button-primary{color:var(--violet-dark);background:#fff}.auth-mode{color:#ffffffb8;text-transform:capitalize;font-size:.84rem}.learning-orbit{aspect-ratio:1;border:1px solid #ffffff47;border-radius:50%;width:min(430px,82vw);margin-inline:auto;position:relative}.learning-orbit:before,.learning-orbit:after{content:"";border:1px dashed #fff3;border-radius:50%;position:absolute;inset:10%}.learning-orbit:after{border-style:solid;inset:25%}.orbit-center{z-index:2;aspect-ratio:1;width:155px;color:var(--violet-dark);background:#fff;border-radius:46px;place-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-4deg);box-shadow:0 24px 70px #1919464d}.orbit-center span{font-family:Fredoka,sans-serif;font-size:4rem;font-weight:700;line-height:.7}.orbit-center strong{font-family:Fredoka,sans-serif}.orbit-step{z-index:3;color:var(--violet-dark);background:#ffffffeb;border-radius:999px;padding:10px 16px;font-size:.82rem;font-weight:800;position:absolute;box-shadow:0 10px 28px #17194b38}.orbit-step-one{top:5%;left:15%}.orbit-step-two{top:45%;right:-7%}.orbit-step-three{bottom:7%;left:8%}.principles{color:var(--ink);background:#ffffff2e;border-radius:30px 30px 0 0;grid-template-columns:repeat(3,1fr);gap:1px;display:grid;overflow:hidden}.principles article{background:#fffffff0;min-height:220px;padding:38px}.principles article>span{color:var(--teal);font-family:Fredoka,sans-serif;font-size:.84rem;font-weight:700}.principles h2{margin:42px 0 10px;font-size:1.3rem}.principles p{color:var(--muted);margin-bottom:0;line-height:1.55}.centered-state{text-align:center;place-content:center;justify-items:center;min-height:100vh;padding:30px;display:grid}.loader{border:4px solid var(--violet-pale);border-top-color:var(--violet);border-radius:50%;width:42px;height:42px;margin-bottom:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-state{max-width:650px;margin:auto}.error-state .brand{margin-bottom:60px}.error-state h1,.not-found h1{font-size:clamp(2rem,5vw,3.5rem)}.app-shell{background:radial-gradient(circle at 92% 2%,#5f63bb17 0 190px,#0000 191px),#f7f6fb;min-height:100vh}.app-header{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe0;border-bottom:1px solid #e5e4edcc;justify-content:space-between;align-items:center;min-height:78px;padding:12px max(24px,50vw - 590px);display:flex;position:sticky;top:0}.user-actions,.user-actions form{align-items:center;gap:18px;display:flex}.user-actions>a,.user-actions button{color:var(--violet-dark);cursor:pointer;background:0 0;border:0;font-size:.86rem;font-weight:700;text-decoration:none}.user-actions button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:11px 16px}.user-actions .quick-play .button-primary{border-color:var(--violet);background:var(--violet);color:#fff}.user-actions .quick-play .button-primary:hover,.user-actions .quick-play .button-primary:focus-visible{border-color:var(--violet-dark);background:var(--violet-dark);color:#fff}.user-identity{border-right:1px solid var(--line);color:inherit;text-align:right;align-items:center;gap:10px;padding-right:18px;line-height:1.25;text-decoration:none;display:flex}.user-identity-copy{display:grid}.user-identity-copy strong{font-weight:700}.user-identity-copy small{color:var(--muted)}.header-avatar{background:var(--violet-pale);width:38px;height:38px;color:var(--violet-dark);border-radius:50%;place-items:center;font-family:Fredoka,sans-serif;font-weight:700;display:grid;overflow:hidden}.header-avatar img{object-fit:cover;width:100%;height:100%}.profile-page{gap:26px;display:grid}.profile-heading{justify-content:space-between;align-items:center;gap:24px;display:flex}.profile-heading h1{margin:4px 0 8px;font-family:Fredoka,sans-serif;font-size:clamp(2.4rem,6vw,4rem)}.profile-heading p{color:var(--muted);margin:0}.profile-preview{background:var(--violet-pale);border-radius:22px;justify-items:center;gap:8px;min-width:170px;padding:20px;display:grid}.profile-preview img,.profile-preview>span{background:var(--violet);color:#fff;object-fit:cover;border-radius:50%;place-items:center;width:72px;height:72px;font-family:Fredoka,sans-serif;font-size:2rem;display:grid}.profile-layout{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px;display:grid}.profile-card{border:1px solid var(--line);background:var(--paper);border-radius:24px;padding:28px;box-shadow:0 12px 34px #33345b12}.profile-card h2{margin-top:0;font-family:Fredoka,sans-serif}.profile-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.profile-form label,.password-form label{color:var(--ink);gap:7px;font-weight:700;display:grid}.profile-form input,.password-form input{width:100%;min-height:44px;color:var(--ink);background:#fff;border:1px solid #cccad8;border-radius:10px;padding:10px 12px}.profile-form input:disabled{color:var(--muted);background:#f1f0f5}.avatar-picker{border:0;margin:24px 0;padding:0}.avatar-picker legend{margin-bottom:12px;font-weight:700}.avatar-options{flex-wrap:wrap;gap:12px;display:flex}.avatar-options label{cursor:pointer;border:3px solid #0000;border-radius:50%;padding:4px}.avatar-options label.selected{border-color:var(--violet)}.avatar-options input{opacity:0;width:1px;height:1px;position:absolute}.avatar-options img{object-fit:cover;border-radius:50%;width:58px;height:58px;display:block}.profile-actions{gap:12px;display:flex}.profile-cancel{border:1px solid var(--line);color:var(--violet-dark);background:#fff}.profile-school dl{gap:15px;display:grid}.profile-school dl div{border-bottom:1px solid var(--line);padding-bottom:12px}.profile-school dt{color:var(--muted);font-size:.82rem}.profile-school dd{margin:4px 0 0;font-weight:600}.profile-school>p,.profile-managed{color:var(--muted);font-size:.9rem}.profile-managed,.profile-notice{background:var(--violet-pale);border-radius:12px;margin:0;padding:13px 16px}.profile-field-error{color:#a22b38;font-weight:500}.password-form{gap:18px;display:grid}.password-form .button{justify-self:start}.app-main{width:min(1180px,100% - 40px);margin:auto;padding:54px 0 90px}.dashboard-hero{color:#fff;background:radial-gradient(circle at 88% 14%,#ffffff24 0 80px,#0000 81px),linear-gradient(135deg,#42458f,#6266bd 57%,#287f99);border-radius:32px;grid-template-columns:1fr auto;align-items:center;gap:42px;min-height:290px;padding:52px 58px;display:grid;position:relative;overflow:hidden;box-shadow:0 25px 55px #36376c2e}.dashboard-hero .eyebrow{color:#a9fff6}.dashboard-hero h1{letter-spacing:-.035em;margin-bottom:16px;font-size:clamp(2.3rem,5vw,4.3rem);line-height:1}.dashboard-hero p:not(.eyebrow){color:#ffffffc7;max-width:650px;margin-bottom:0;line-height:1.65}.quick-play{align-items:center;gap:12px;margin-top:24px;display:flex}.quick-play small{color:inherit}.dashboard-hero .quick-play .button{color:var(--violet-dark);background:#fff;border-color:#fff}.dashboard-hero .quick-play .button:hover,.dashboard-hero .quick-play .button:focus-visible{color:#18324a;background:#eef8f6}.quick-play.compact{max-width:190px;margin-top:0;display:grid}.quick-play.compact small{color:var(--danger);font-size:.72rem}.score-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff1f;border:1px solid #ffffff40;border-radius:24px;min-width:185px;padding:26px;display:grid}.score-card span,.score-card small{color:#ffffffb8}.score-card strong{margin:4px 0;font-family:Fredoka,sans-serif;font-size:3rem}.daily-goal-card{background:linear-gradient(135deg,#f5fbfa,#f2f1ff);border:1px solid #dce8e6;border-radius:24px;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);align-items:center;gap:32px;padding:30px 34px;display:grid}.daily-goal-card h2,.daily-goal-card p{margin-top:0}.daily-goal-summary>p:not(.eyebrow){color:#324b5d;margin-bottom:12px;font-weight:650}.daily-goal-summary small{color:#4d6474;margin-top:9px;display:block}.daily-goal-progress{background:#dce9e7;border-radius:999px;height:14px;overflow:hidden;box-shadow:inset 0 1px 2px #18324a1a}.daily-goal-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--teal), var(--violet));height:100%;transition:width .22s;display:block}.daily-goal-form{background:#fff;border-radius:18px;gap:13px;padding:20px;display:grid;box-shadow:0 12px 30px #2a435114}.daily-goal-form label{color:#324b5d;gap:6px;font-size:.82rem;font-weight:700;display:grid}.daily-goal-form select,.daily-goal-form input{width:100%;color:var(--ink);background:#fff;border:1px solid #cfdcda;border-radius:10px;padding:10px 12px}@media (prefers-reduced-motion:reduce){.daily-goal-progress span{transition:none}}.dashboard-section{margin-top:54px}.section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px;display:flex}.section-heading.compact{margin-bottom:18px}.section-heading h2{margin-bottom:0;font-size:clamp(1.6rem,3vw,2.15rem)}.section-chip{color:#147c73;letter-spacing:.08em;text-transform:uppercase;background:#e8f8f6;border-radius:999px;padding:7px 11px;font-size:.72rem;font-weight:800}.destination-grid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.destination-card{border:1px solid var(--line);background:#fff;border-radius:22px;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;min-height:128px;padding:24px;text-decoration:none;transition:all .16s;display:grid}.destination-card:hover{border-color:#c8c9eb;transform:translateY(-2px);box-shadow:0 16px 35px #2f30591a}.destination-icon,.feature-icon{background:var(--violet-pale);width:56px;height:56px;color:var(--violet);border-radius:17px;place-items:center;font-family:Fredoka,sans-serif;font-size:1.55rem;font-weight:700;display:grid}.icon-spark,.icon-book{color:#0c8e82;background:#e2faf7}.icon-star,.icon-history{color:#b4730d;background:#fff3d9}.icon-classroom,.icon-duel{color:#b23f69;background:#fde7ef}.destination-copy{gap:6px;display:grid}.destination-copy strong{font-family:Fredoka,sans-serif;font-size:1.08rem}.destination-copy span{color:var(--muted);font-size:.9rem;line-height:1.5}.destination-arrow{color:var(--violet);font-size:1.45rem}.dashboard-columns{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;display:grid}.subjects-section,.news-section{border:1px solid var(--line);background:#fff;border-radius:24px;padding:28px}.subject-list{flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;display:flex}.subject-list li{background:#f7f6fb;border-radius:12px;align-items:center;gap:8px;padding:10px 13px;font-size:.9rem;font-weight:600;display:flex}.subject-color{border-radius:50%;width:10px;height:10px}.empty-state{background:#f7f6fb;border-radius:16px;padding:22px}.empty-state p{color:var(--muted);margin:7px 0 0;font-size:.9rem;line-height:1.5}.empty-state a{color:var(--violet-dark);margin-top:14px;font-weight:700;display:inline-block}.news-list{gap:16px;display:grid}.news-list article{border-bottom:1px solid var(--line);padding-bottom:16px}.news-list article:last-child{border:0;padding-bottom:0}.news-list time{color:var(--teal);text-transform:uppercase;font-size:.75rem;font-weight:800}.news-list h3{margin:5px 0 7px}.news-list p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:0;font-size:.9rem;line-height:1.5;display:-webkit-box;overflow:hidden}.feature-page{max-width:850px;margin:0 auto}.back-button{color:var(--violet-dark);cursor:pointer;background:0 0;border:0;margin-bottom:22px;padding:0;font-weight:700}.feature-panel{border:1px solid var(--line);background:#fff;border-radius:32px;padding:clamp(32px,7vw,72px);box-shadow:0 22px 60px #2f305917}.feature-icon{width:74px;height:74px;margin-bottom:30px;font-size:2rem}.feature-panel h1{letter-spacing:-.04em;margin-bottom:14px;font-size:clamp(2.4rem,6vw,4.5rem)}.feature-panel .lead{color:var(--muted)}.info-notice{border-left:4px solid var(--teal);background:#edf9f7;border-radius:0 16px 16px 0;margin:34px 0;padding:24px}.info-notice p{color:#4f6664;margin:8px 0 0;line-height:1.6}.route-contract{background:var(--line);border-radius:14px;grid-template-columns:.7fr 1.3fr;gap:1px;margin:0;display:grid;overflow:hidden}.route-contract div{background:#f7f6fb;padding:18px}.route-contract dt{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:.74rem;font-weight:800}.route-contract dd{margin:0;font-family:ui-monospace,monospace;font-size:.84rem}.collection-page,.study-page{width:100%}.collection-heading,.study-heading{justify-content:space-between;align-items:end;gap:32px;margin-bottom:34px;display:flex}.collection-heading h1,.study-heading h1{letter-spacing:-.04em;margin-bottom:10px;font-size:clamp(2.4rem,6vw,4.4rem)}.collection-heading p:last-child,.study-heading p:last-child{max-width:720px;color:var(--muted);margin-bottom:0;line-height:1.6}.collection-loading{min-height:230px;color:var(--muted);place-items:center;display:grid}.history-filters{border:1px solid var(--line);background:#fff;border-radius:18px;grid-template-columns:repeat(5,minmax(135px,1fr));gap:14px;margin-bottom:28px;padding:18px;display:grid}.history-filters label{color:var(--muted);text-transform:uppercase;gap:7px;font-size:.76rem;font-weight:800;display:grid}.history-filters select,.history-filters input{border:1px solid var(--line);min-width:0;color:var(--ink);font:inherit;text-transform:none;background:#fafafe;border-radius:10px;padding:11px 12px}.history-list{gap:14px;display:grid}.history-item{border:1px solid var(--line);background:#fff;border-radius:18px;grid-template-columns:minmax(240px,1.5fr) minmax(280px,1fr) auto;align-items:center;gap:24px;padding:20px;display:grid}.history-item h2{margin:8px 0 5px;font-size:1.2rem}.history-item p{color:var(--muted);margin:0;font-size:.88rem}.history-stats{grid-template-columns:repeat(2,minmax(80px,1fr));gap:8px;display:grid}.history-stats>span{color:var(--muted);background:#f7f6fb;border-radius:9px;padding:8px 10px;font-size:.78rem}.history-stats strong{color:var(--ink)}.history-status.active{color:#8b5d00;background:#fff5d6}.history-status.abandoned{color:#6b3340;background:#fbe8ed}.abandon-confirmation{color:#38232a;background:#fff8fa;border:1px solid #c8b7bd;border-radius:.75rem;margin-top:1rem;padding:1rem}.abandon-confirmation>div{flex-wrap:wrap;gap:.75rem;display:flex}.history-status.finished{color:#177568;background:#e5f7f3}.history-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.history-detail{background:#f9f9ff;border:1px solid #c8c9ed;border-radius:20px;margin-top:20px;padding:24px}.history-detail-heading{justify-content:space-between;align-items:start;gap:20px;display:flex}.history-detail-heading h2{margin:5px 0 20px}.history-attempts{gap:8px;margin:0;padding:0;list-style:none;display:grid}.history-attempts li{border-left:4px solid var(--teal);background:#fff;border-radius:10px;grid-template-columns:1fr auto auto;align-items:center;gap:16px;padding:12px 14px;display:grid}.history-attempts li.failed{border-left-color:#d55353}.history-attempts div{gap:3px;display:grid}.history-attempts small{color:var(--muted)}.history-pagination{justify-content:center;align-items:center;gap:16px;margin-top:24px;display:flex}.recommendations-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;margin-bottom:24px;display:grid}.recommendation-card{border:1px solid var(--line);background:#fff;border-radius:22px;flex-direction:column;gap:14px;padding:22px;display:flex;box-shadow:0 14px 32px #2f305912}.recommendation-card h2{margin:0;font-size:1.4rem}.recommendation-card>p{color:var(--muted);flex:1;margin:0;line-height:1.5}.recommendation-reason{color:var(--violet-dark);background:#f0efff;border-radius:12px;align-items:center;gap:9px;padding:10px 12px;font-size:.84rem;display:flex}.recommendation-reason span{font-size:1.15rem}.recommendation-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.recommendation-actions .favorite-button{margin-left:auto}.classrooms-layout{grid-template-columns:minmax(250px,320px) 1fr;gap:22px;display:grid}.classroom-sidebar,.classroom-content{border:1px solid var(--line);background:#fff;border-radius:20px;padding:20px}.classroom-form,.classroom-form label{gap:10px;display:grid}.classroom-form label{color:var(--muted);font-size:.82rem;font-weight:700}.classroom-form input,.classroom-inline-form input,.classroom-inline-form select{border:1px solid var(--line);min-width:0;font:inherit;border-radius:10px;padding:11px 12px}.classroom-list{gap:7px;margin-top:20px;display:grid}.classroom-list button{color:var(--ink);text-align:left;cursor:pointer;background:#f7f6fb;border:0;border-radius:11px;gap:4px;padding:13px;display:grid}.classroom-list button.active{color:var(--violet-dark);background:#ebeaff}.classroom-list small,.classroom-members small{color:var(--muted)}.classroom-content header{border-bottom:1px solid var(--line);padding-bottom:18px}.classroom-content header h2{margin:5px 0;font-size:2rem}.classroom-content section{margin-top:24px}.classroom-inline-form{grid-template-columns:1fr auto;gap:8px;margin:12px 0;display:grid}.classroom-members{gap:7px;margin:0;padding:0;list-style:none;display:grid}.classroom-members li{background:#f7f6fb;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.classroom-members span{gap:2px;display:grid}.classroom-members button{color:#a33;cursor:pointer;background:0 0;border:0}.classroom-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.table-scroll{max-width:100%;overflow-x:auto}.classroom-statistics{border-collapse:collapse;width:100%;min-width:650px}.classroom-statistics th,.classroom-statistics td{border-bottom:1px solid var(--line);text-align:left;padding:10px 12px}.classroom-statistics th{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.danger-button{color:#8c2828;border-color:#dca8a8}@media (width<=760px){.classrooms-layout{grid-template-columns:1fr}}.folder-editor-form{gap:24px;display:grid}.folder-fields{border:1px solid var(--line);background:#fff;border-radius:20px;grid-template-columns:1fr 1fr;gap:16px;padding:22px;display:grid}.folder-fields label{color:var(--muted);grid-template-columns:1fr auto;gap:8px;font-size:.82rem;font-weight:700;display:grid}.folder-fields label.wide{grid-column:1/-1}.folder-fields input,.folder-fields select,.folder-fields textarea{border:1px solid var(--line);font:inherit;resize:vertical;border-radius:10px;grid-column:1/-1;padding:12px}.folder-series-picker{border:1px solid var(--line);background:#fff;border-radius:20px;padding:22px}.folder-series-picker legend{padding:0 8px;font-weight:800}.folder-series-picker legend span{color:var(--muted);font-size:.8rem;font-weight:600}.folder-series-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;display:grid}.folder-series-grid label{border:1px solid var(--line);cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:13px;display:flex}.folder-series-grid label.selected{border-color:var(--violet);background:#f0efff}.folder-series-grid label>span:last-child{gap:3px;display:grid}.folder-series-grid small{color:var(--muted)}.folder-editor-actions{justify-content:flex-end;gap:10px;display:flex}.official-folder-catalog{border-top:1px solid var(--line);gap:18px;margin-top:42px;padding-top:30px;display:grid}.native-card-editor{gap:14px;margin-bottom:14px;display:grid}.native-card-row{border:1px solid var(--line);background:#f9f8fc;border-radius:14px;grid-template-columns:auto 1fr 1fr auto;align-items:start;gap:12px;padding:16px;display:grid}.native-card-row>strong{padding-top:11px}.native-card-row label{color:var(--muted);gap:6px;font-size:.82rem;font-weight:700;display:grid}.native-card-row textarea{border:1px solid var(--line);min-width:0;font:inherit;resize:vertical;background:#fff;border-radius:10px;padding:11px 12px}@media (width<=620px){.folder-fields{grid-template-columns:1fr}.folder-fields label.wide{grid-column:auto}}@media (width<=900px){.native-card-row{grid-template-columns:1fr}.native-card-row>strong{padding-top:0}}@media (width<=920px){.history-filters{grid-template-columns:repeat(2,1fr)}.history-item{grid-template-columns:1fr}.history-actions{justify-content:flex-start}}@media (width<=560px){.history-filters{grid-template-columns:1fr}.history-attempts li{grid-template-columns:1fr;gap:5px}}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.collection-tile{border:1px solid var(--line);background:#fff;border-radius:24px;flex-direction:column;min-height:330px;padding:26px;display:flex;box-shadow:0 14px 34px #2f305912}.collection-tile-top,.collection-meta{color:var(--muted);align-items:center;gap:9px;font-size:.78rem;font-weight:700;display:flex}.collection-tile-top strong{color:#147c73;margin-left:auto}.collection-tile h2{margin:28px 0 10px;font-size:1.45rem}.favorite-action{align-items:center;gap:8px;display:inline-flex}.favorite-button{border:1px solid var(--line);width:42px;height:42px;color:var(--violet);cursor:pointer;background:#fff;border-radius:50%;padding:0;font-size:1.5rem;line-height:1}.favorite-button.active{color:#a46500;background:#fff8df;border-color:#f0b429}.favorite-action small{color:var(--danger)}.collection-tile>p{color:var(--muted);flex:1;line-height:1.55}.collection-meta{justify-content:space-between;margin-bottom:18px}.collection-tile .button{width:100%}.collection-empty{text-align:center;place-content:center;min-height:190px;display:grid}.mode-switch{border:1px solid var(--line);background:#fff;border-radius:999px;flex:none;padding:4px;display:flex}.mode-switch button{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 17px;font-weight:700}.mode-switch button.active{background:var(--violet);color:#fff}.card-list{gap:16px;margin:0;padding:0;list-style:none;display:grid}.card-list article{border:1px solid var(--line);background:#fff;border-radius:22px;grid-template-columns:auto repeat(2,minmax(0,1fr));gap:24px;padding:26px;display:grid}.card-number{background:var(--violet-pale);width:36px;height:36px;color:var(--violet-dark);border-radius:12px;place-items:center;font-family:Fredoka,sans-serif;font-weight:700;display:grid}.card-side-label{color:var(--teal);letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px;font-size:.72rem;font-weight:800}.face-content{gap:12px;display:grid}.face-content+.face-content{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.face-content p{margin-bottom:0}.face-text{font-size:1.04rem;font-weight:650;line-height:1.55}.face-description,.face-audio p,.face-missing{color:var(--muted);font-size:.9rem;line-height:1.55}.face-content img{object-fit:contain;border-radius:14px;width:auto;max-width:100%;max-height:280px}.face-content audio{width:min(100%,360px)}.latex-text{width:fit-content;color:var(--violet-dark);background:#f4f3f9;border-radius:9px;padding:9px 12px}.flip-study{justify-items:center;max-width:760px;margin:0 auto;display:grid}.card-progress{color:var(--muted);font-weight:700}.flip-card{width:100%;min-height:390px;color:var(--ink);cursor:pointer;text-align:center;background:#fff;border:1px solid #d8d8ec;border-radius:32px;align-content:center;justify-items:center;padding:clamp(32px,7vw,70px);display:grid;box-shadow:0 24px 60px #2f305921}.flip-card.is-back{background:#f5fffd;border-color:#bdebe5}.flip-card .face-text{font-family:Fredoka,sans-serif;font-size:clamp(1.55rem,4vw,2.6rem)}.flip-card small{color:var(--muted);align-self:end;margin-top:46px}.study-controls{justify-content:space-between;width:100%;margin-top:22px;display:flex}.study-controls button{border:1px solid var(--line);min-height:44px;color:var(--violet-dark);cursor:pointer;background:#fff;border-radius:999px;padding:0 18px;font-weight:700}.study-controls button:disabled{cursor:not-allowed;opacity:.42}.study-actions{flex:none;align-items:center;gap:14px;display:flex}.memo-page{max-width:980px;margin:0 auto}.memo-panel{border:1px solid var(--line);background:#fff;border-radius:30px;padding:clamp(28px,6vw,56px);box-shadow:0 22px 60px #2f305917}.activity-guide{border:1px solid var(--line);text-align:left;background:#faf9fe;border-radius:16px;gap:14px;margin-bottom:24px;padding:16px 18px;display:grid}.activity-guide>div,.session-progress>div:first-child{justify-content:space-between;gap:12px;display:flex}.activity-guide>div span{color:var(--muted)}.activity-guide ol{grid-template-columns:repeat(5,1fr);gap:6px;margin:0;padding:0;list-style:none;display:grid}.activity-guide li{color:var(--muted);text-align:center;justify-items:center;gap:5px;font-size:.72rem;display:grid}.activity-guide li>span{background:#fff;border:1px solid #cac8da;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.activity-guide li.active,.activity-guide li.completed{color:var(--violet-dark);font-weight:700}.activity-guide li.active>span,.activity-guide li.completed>span{border-color:var(--violet);background:var(--violet);color:#fff}.session-progress{gap:8px;margin-bottom:20px;font-size:.88rem;display:grid}.session-progress-track{background:#e4e2ee;border-radius:999px;height:10px;overflow:hidden}.session-progress-track span{border-radius:inherit;background:linear-gradient(90deg, var(--violet), var(--teal));height:100%;transition:width .24s;display:block}.experience-feedback{background:#fff7e8;border-left:4px solid #d98932;border-radius:10px;gap:4px;margin-top:18px;padding:14px 16px;display:grid}.experience-feedback.success{background:#eaf9f6;border-left-color:#16897f}.reward-summary{background:var(--violet-pale);text-align:left;border-radius:16px;gap:12px;margin:18px 0;padding:18px;display:grid}.reward-summary>div,.reward-summary ul{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.reward-summary span,.reward-summary li{color:var(--violet-dark);background:#fff;border-radius:999px;padding:6px 10px;font-size:.82rem;font-weight:700}.memo-setup{text-align:center;max-width:720px;margin:0 auto}.memo-setup h1,.memo-result h1{letter-spacing:-.05em;margin-bottom:12px;font-size:clamp(3rem,8vw,5.6rem)}.memo-setup fieldset{text-align:left;border:0;gap:10px;margin:32px 0;padding:0;display:grid}.memo-setup legend{margin-bottom:12px;font-family:Fredoka,sans-serif;font-size:1.1rem;font-weight:700}.memo-setup label{border:1px solid var(--line);cursor:pointer;border-radius:14px;align-items:center;gap:12px;padding:15px 17px;font-weight:650;display:flex}.memo-setup label:has(input:checked){border-color:var(--violet);background:var(--violet-pale);color:var(--violet-dark)}.memo-status{justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px;display:flex}.memo-status>div{gap:2px;display:grid}.memo-status span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:700}.memo-status strong{font-family:Fredoka,sans-serif;font-size:1.8rem}.memo-status button{border:1px solid var(--line);min-height:42px;color:var(--violet-dark);cursor:pointer;background:#fff;border-radius:999px;padding:0 17px;font-weight:700}.memo-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.memo-preview-grid article{background:var(--line);border-radius:18px;grid-template-columns:1fr 1fr;gap:1px;display:grid;overflow:hidden}.memo-preview-grid article>div{background:#f9f8fc;min-height:145px;padding:18px}.memo-preview-grid article>div>span{color:var(--teal);text-transform:uppercase;margin-bottom:14px;font-size:.68rem;font-weight:800;display:block}.memo-question{color:#fff;text-align:center;background:linear-gradient(145deg,#454995,#6669c2);border-radius:24px;max-width:620px;min-height:190px;margin:0 auto 28px;padding:34px}.memo-question .card-side-label{color:#a9fff6}.memo-question .face-text{font-family:Fredoka,sans-serif;font-size:clamp(1.4rem,4vw,2.4rem)}.memo-answers{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.memo-answers>button{border:1px solid var(--line);min-height:150px;color:var(--ink);cursor:pointer;text-align:left;background:#f9f8fc;border-radius:18px;padding:20px}.memo-answers>button:hover:not(:disabled){border-color:var(--violet);background:var(--violet-pale);transform:translateY(-2px)}.memo-answers>button:disabled{cursor:default;opacity:.28}.game-feedback,.game-error{color:#a43b5c;text-align:center;min-height:24px;margin:22px 0 0;font-weight:700}.game-feedback.success{color:#147c73}.memo-result{text-align:center;max-width:700px;margin:0 auto}.memo-result.won{background:#f7fffd;border-color:#bdebe5}.memo-result.lost{background:#fff9fb;border-color:#f1cad7}.memo-score{color:var(--violet);margin:24px 0 10px;font-family:Fredoka,sans-serif;font-size:2.4rem;display:block}.memo-result-actions{justify-content:center;gap:12px;margin-top:30px;display:flex}.memo-result-actions .button:not(.button-primary){border:1px solid var(--line);color:var(--violet-dark);background:#fff}.practice-panel{max-width:920px;margin:0 auto}.text-answer{align-items:stretch;gap:12px;max-width:680px;margin:0 auto;display:flex}.text-answer input,.text-answer textarea{border:1px solid var(--line);min-height:54px;color:var(--ink);font:inherit;background:#fff;border-radius:14px;flex:1;padding:14px 16px}.text-answer textarea{resize:vertical;min-height:120px}.text-answer input:focus,.text-answer textarea:focus{border-color:var(--violet);outline:3px solid var(--violet-pale)}.boolean-answers{grid-template-columns:1fr 1fr;gap:16px;max-width:560px;margin:0 auto;display:grid}.boolean-answers button{border:1px solid var(--line);min-height:92px;color:var(--violet-dark);cursor:pointer;background:#fff;border-radius:18px;font:800 1.15rem Nunito,sans-serif}.boolean-answers button:hover:not(:disabled){border-color:var(--teal);background:#f3fffd}.qcm-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:760px;margin:0 auto;display:grid}.qcm-answers label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:16px;align-items:center;gap:12px;min-height:90px;padding:16px;display:flex}.qcm-answers label:has(input:checked){border-color:var(--teal);background:#f3fffd}.qcm-answers input{width:20px;height:20px;accent-color:var(--violet)}.qcm-answers .button{grid-column:1/-1;justify-self:center}.not-found{text-align:center;max-width:700px;margin:80px auto}@media (width<=840px){.landing-hero{text-align:center;grid-template-columns:1fr}.landing-copy{margin:auto}.landing-actions{justify-content:center}.learning-orbit{width:min(390px,78vw)}.principles,.dashboard-columns,.dashboard-hero,.daily-goal-card{grid-template-columns:1fr}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-heading,.study-heading,.study-actions{flex-direction:column;align-items:flex-start}.memo-answers{grid-template-columns:repeat(2,minmax(0,1fr))}.score-card{width:min(100%,260px)}}@media (width<=680px){.landing-nav,.landing-hero,.principles,.app-main{width:min(100% - 28px,1180px)}.profile-heading{flex-direction:column;align-items:stretch}.profile-preview{align-self:stretch}.profile-layout,.profile-form-grid{grid-template-columns:1fr}.activity-guide>div{display:grid}.activity-guide ol{padding-bottom:5px;display:flex;overflow-x:auto}.activity-guide li{min-width:82px}.landing-nav{min-height:76px}.landing-copy h1{font-size:clamp(2.8rem,15vw,4.5rem)}.principles article{min-height:180px;padding:28px}.principles h2{margin-top:26px}.app-header{align-items:flex-start;padding:16px;position:static}.user-actions{gap:8px}.user-identity,.user-actions>a{display:none}.user-actions button{padding:9px 12px;font-size:.78rem}.app-main{padding-top:24px}.dashboard-hero{border-radius:24px;min-height:0;padding:34px 26px}.daily-goal-card{gap:22px;padding:24px 20px}.destination-grid,.collection-grid{grid-template-columns:1fr}.card-list article{grid-template-columns:auto 1fr}.card-list article>div:last-child{grid-column:2}.mode-switch,.study-actions,.study-actions>.button{width:100%}.memo-preview-grid,.memo-answers{grid-template-columns:1fr}.memo-status{flex-wrap:wrap;align-items:flex-start}.memo-result-actions{flex-direction:column;align-items:stretch}.text-answer{flex-direction:column}.boolean-answers,.qcm-answers{grid-template-columns:1fr}.qcm-answers .button{grid-column:auto;width:100%}.mode-switch button{flex:1}.flip-card{min-height:330px;padding:28px}.destination-card{min-height:112px;padding:18px}.destination-icon{width:48px;height:48px}.section-heading{align-items:flex-start}.route-contract{grid-template-columns:1fr}}.duels-page{gap:28px;display:grid}.duels-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.duels-heading h1{margin:4px 0 10px}.notification-chip{color:#634c00;cursor:pointer;background:#fff7d6;border:1px solid #e8c65a;border-radius:999px;padding:10px 16px}.duel-notifications{background:#eef8f6;border:1px solid #b8ddd6;border-radius:18px;gap:0;display:grid;overflow:hidden}.duel-notifications p{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:0;padding:13px 16px;display:grid}.duel-notifications p+p{border-top:1px solid #cfe7e2}.duel-notifications p.read{color:#657785;background:#fff}.duel-notifications time{font-size:.8rem}.duel-create{color:#fff;background:linear-gradient(135deg,#18324a,#1a7468);border-radius:24px;grid-template-columns:minmax(220px,.75fr) minmax(400px,1.25fr);gap:24px;padding:28px;display:grid}.duel-create h2,.duel-create p{color:inherit}.duel-create .eyebrow{color:#99e0d4}.duel-create .empty-state{color:#18324a;background:#eef8f6}.duel-create .empty-state p{color:#4d6474}.duel-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:14px;display:grid}.duel-form label{gap:6px;font-size:.84rem;display:grid}.duel-form select{color:#18324a;background:#fff;border:0;border-radius:10px;min-height:44px;padding:0 11px}.duel-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.duel-card{background:#fff;border:1px solid #d6e1e7;border-radius:20px;gap:18px;padding:22px;display:grid;box-shadow:0 14px 36px #18324a12}.duel-card-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.duel-card-heading h2{margin:8px 0 0;font-size:1.25rem}.duel-status,.duel-game{border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:700;display:inline-block}.duel-status{color:#365467;background:#e9f1f5}.status-completed{color:#116449;background:#d9f4e9}.status-pending{color:#725600;background:#fff1c7}.status-refused,.status-abandoned,.status-expired{color:#844040;background:#f5e5e5}.duel-game{color:#17695f;white-space:nowrap;background:#eef8f6}.duel-players{text-align:center;background:#f6f9fa;border-radius:14px;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:16px;display:grid}.duel-players strong{color:#1a7468;font-size:.78rem}.duel-details{grid-template-columns:repeat(3,1fr);gap:12px;margin:0;display:grid}.duel-details div{gap:3px;display:grid}.duel-details dt{color:#697d8b;font-size:.76rem}.duel-details dd{margin:0;font-weight:700}.duel-result{background:#eef8f6;border-left:4px solid #1a7468;margin:0;padding:10px 12px}.duel-actions{flex-wrap:wrap;gap:10px;display:flex}.button-danger{color:#963838;border-color:#b74848}.collection-heading-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.catalog-import-page{gap:24px;max-width:920px;margin:0 auto;display:grid}.catalog-import-heading h1{margin:5px 0 10px}.catalog-import-heading>p:last-child{color:#5a6f7c;margin:0;font-size:1.05rem}.import-stepper{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.import-stepper span{color:#607583;text-align:center;background:#e7eef2;border-radius:999px;padding:9px 14px;font-size:.85rem;font-weight:700}.import-stepper span.active{color:#146357;background:#d6f0ea}.import-dropzone{text-align:center;background:linear-gradient(135deg,#eef8f6,#f4f7fb);border:2px dashed #75a99f;border-radius:24px;place-items:center;min-height:260px;padding:30px;display:grid}.import-dropzone input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.import-dropzone>span{color:#fff;background:#1a7468;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;font-size:2rem;display:flex}.import-dropzone h2,.import-dropzone p{margin:7px 0}.import-dropzone p{color:#5d7480}.import-main-action{justify-self:center}.import-preview,.import-confirm,.import-success{background:#fff;border:1px solid #d6e1e7;border-radius:20px;padding:24px;box-shadow:0 12px 30px #18324a0f}.import-preview{gap:22px;display:grid}.import-preview h2{margin:4px 0}.import-preview p{color:#617684;margin:0}.import-counts{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.import-count{background:#f3f7f8;border-radius:14px;gap:3px;padding:15px;display:grid}.import-count span{color:#607583;font-size:.8rem}.import-count strong{color:#17354a;font-size:1.6rem}.import-count small{color:#3d8076;min-height:1.1em}.import-collection-list{border-top:1px solid #deeaed;display:grid}.import-collection-list p{justify-content:space-between;align-items:center;gap:14px;padding:14px 0;display:flex}.import-collection-list p+p{border-top:1px solid #deeaed}.import-collection-list span{font-size:.9rem}.import-issues{border-radius:16px;padding:16px 20px}.import-issues.warnings{color:#634c00;background:#fff7d6;border:1px solid #e8c65a}.import-issues.errors{color:#7a3434;background:#fcecec;border:1px solid #e2a0a0}.import-issues ul{margin-bottom:0;padding-left:20px}.import-issues li+li{margin-top:7px}.import-issues code{font-size:.78rem}.import-confirm{background:#e9f7f3;border-color:#b9ded5;justify-content:space-between;align-items:center;gap:20px;display:flex}.import-confirm p{color:#4a706d;margin-bottom:0}.import-success{color:#185e51;background:#e9f7f3;border-color:#b9ded5}@media (width<=900px){.duel-create,.duel-list{grid-template-columns:1fr}.duels-heading{flex-direction:column}}@media (width<=620px){.duel-form,.duel-details{grid-template-columns:1fr}.duel-create{padding:20px}.duel-notifications p{grid-template-columns:auto 1fr}.duel-notifications time{grid-column:2}.collection-heading-actions,.import-confirm,.import-collection-list p{flex-direction:column;align-items:stretch}.import-stepper,.import-counts{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
