:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;--indigo: #4f46e5;--indigo-deep: #4338ca;--bg: #f5f5f7;--card: #ffffff;--text: #1f2937;--muted: #6b7280;--line: #e5e7eb;--green: #16a34a;--amber: #d97706;--red: #dc2626}*{box-sizing:border-box}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}body{margin:0;background:#fcfdf9;color:var(--text);touch-action:manipulation}.app{min-height:100dvh;display:flex;flex-direction:column}.page{flex:1;width:min(720px,100%);margin:0 auto;padding:28px 22px calc(76px + env(safe-area-inset-bottom))}.stack{display:flex;flex-direction:column;gap:16px}.page-title{font-size:26px;margin:4px 0}.card{background:var(--card);border-radius:16px;padding:22px;box-shadow:0 1px 3px #0000000f}.card-label{display:block;font-size:13px;color:var(--muted);letter-spacing:.08em;margin-bottom:6px}.muted{color:var(--muted)}.small{font-size:14px;line-height:1.6}.error{color:var(--red)}.tabbar{position:fixed;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,1fr);background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.tab{height:58px;border:none;background:none;font-size:16px;color:var(--muted);cursor:pointer}.tab-active{color:var(--indigo);font-weight:700}.appbar{display:none}.btn{border:none;border-radius:14px;font-size:17px;font-weight:600;padding:14px 20px;cursor:pointer;font-family:inherit}.btn-primary{background:var(--indigo);color:#fff}.btn-primary:active{background:var(--indigo-deep)}.btn-primary:disabled{background:#c7d2fe;cursor:default}.btn-secondary{background:#eef2ff;color:var(--indigo-deep)}.btn-secondary:disabled{color:#a5b4fc;cursor:default}.btn-big{width:100%;font-size:19px;padding:16px}.btn-grow{flex:1}.btn-row{display:flex;gap:12px;margin-top:14px}.btn-link{border:none;background:none;color:var(--indigo);font-size:15px;cursor:pointer;padding:4px 0;align-self:flex-start}.today-card{display:flex;flex-direction:column;gap:18px}.today-counts{display:flex;gap:40px}.today-counts>div{display:flex;flex-direction:column}.num{font-size:40px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}.num-label{color:var(--muted);font-size:14px}.today-meta{text-align:center;color:var(--muted);font-size:15px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.session{min-height:100dvh;width:min(760px,100%);margin:0 auto;padding:18px 22px calc(80px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px}.session:not(.session-centered){padding-bottom:calc(180px + env(safe-area-inset-bottom))}.session-centered{justify-content:center}.session-top{flex:none;display:flex;justify-content:space-between;align-items:center}.session-progress{color:var(--muted);font-size:15px;font-variant-numeric:tabular-nums}.prompt-card{padding:26px}.prompt-text{font-size:28px;line-height:1.55;margin:0;font-weight:700;text-align:center}.study-stage{position:relative;flex:none;display:flex;flex-direction:column;min-width:0;gap:inherit;margin-top:clamp(20px,9svh,92px);padding-bottom:28px}@media (max-height: 700px){.study-stage{margin-top:16px}}.word-slots-wrap{margin-top:8px;--slot-size: 20px;--slot-line: #cbd5e1;--slot-line-focus: #8b95a5}.word-slots{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;column-gap:.5em;row-gap:1em;font-size:var(--slot-size)}.slot-cell{position:relative;display:inline-grid;align-items:stretch;border-bottom:2px solid var(--slot-line);font-size:var(--slot-size)}.slot-cell:focus-within{border-bottom-color:var(--slot-line-focus)}.slot-equal{min-width:2.5em}.slot-length{min-width:clamp(1.25em,calc(var(--chars) * .5em),6.5em)}.slot-mirror,.word-slot{grid-area:1 / 1}.slot-mirror{visibility:hidden;white-space:pre;padding:1px 3px 5px;font-size:var(--slot-size);line-height:1.4;text-align:center}.word-slot{width:100%;min-width:0;border:none;background:transparent;border-radius:0;padding:1px 3px 5px;font-family:inherit;font-size:var(--slot-size);line-height:1.4;color:var(--text);text-align:center}.word-slot:focus,.word-slot:focus-visible{outline:none;box-shadow:none}.word-slot::placeholder{color:#c3c9d4}.slot-slash{color:var(--muted);padding:0 .1em}.segment-head{display:inline-flex;align-items:flex-end;flex:0 0 auto;gap:.15em}.slot-note{position:absolute;left:0;right:0;top:100%;margin:10px 0 0;text-align:center;font-size:15px;color:var(--muted);pointer-events:none;animation:slot-note-fade 2.6s ease-out forwards}@keyframes slot-note-fade{0%,78%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion: reduce){.slot-note{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.review-panel{display:flex;flex-direction:column;gap:14px}.verdict{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:700;border-radius:12px;padding:12px 16px}.verdict-symbol{font-size:22px}.verdict-correct{color:var(--green);background:#f0fdf4}.verdict-partial{color:var(--amber);background:#fffbeb}.verdict-incorrect{color:var(--red);background:#fef2f2}.diff-card{padding:16px 18px}.diff-row{display:flex;gap:12px;align-items:baseline}.diff-row+.diff-row{margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}.diff-label{flex:none;width:64px;font-size:13px;color:var(--muted)}.diff-tokens{margin:0;font-size:19px;line-height:1.9}.tok{display:inline-block;margin:2px 0;padding:0 4px;border-radius:6px}.tok+.tok{margin-left:4px}.tok+.tok-glue{margin-left:0;padding-left:0}.tok-neutral{color:var(--text)}.tok-missing{background:#fee2e2;color:#b91c1c;font-weight:700}.tok-extra{background:#fef3c7;color:#b45309;text-decoration:line-through}.tok-empty{color:#9ca3af}.explain-box{background:#fffbeb;border-radius:12px;padding:14px 16px;font-size:16px;line-height:1.7}.explain-box p{margin:0}.review-speak-row{display:flex;justify-content:center;margin-top:2px}.btn-speak{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 22px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--indigo);font-size:15px;font-family:inherit;cursor:pointer}.btn-speak:hover{border-color:var(--indigo)}.btn-speak kbd{font-family:inherit;font-size:12px;padding:1px 7px;border-radius:999px;background:var(--bg);color:var(--muted)}.btn-rate-row{margin-top:4px}.btn-rate{flex:1;border:none;border-radius:14px;height:62px;font-size:18px;font-weight:700;cursor:pointer;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px}.btn-rate kbd{font-family:inherit;font-size:12px;font-weight:600;padding:1px 6px;border-radius:5px;opacity:.75}.rate-again{background:#fef2f2;color:var(--red)}.rate-again kbd{border:1.5px solid #fecaca}.rate-hard{background:#fffbeb;color:var(--amber)}.rate-hard kbd{border:1.5px solid #fde68a}.rate-good{background:#f0fdf4;color:var(--green)}.rate-good kbd{border:1.5px solid #bbf7d0}.done-card{display:flex;flex-direction:column;gap:14px;text-align:center;align-items:center}.done-card h2{margin:0;font-size:24px}.done-total{font-size:17px;margin:0}.done-breakdown{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.chip{border-radius:999px;padding:6px 14px;font-size:15px;font-weight:600}.chip-again{background:#fef2f2;color:var(--red)}.chip-hard{background:#fffbeb;color:var(--amber)}.chip-good{background:#f0fdf4;color:var(--green)}.deck-list{display:flex;flex-direction:column;gap:12px}.deck-row{display:flex;justify-content:space-between;align-items:center;cursor:pointer;border:none;font-family:inherit;text-align:left}.deck-row-title{font-size:18px;font-weight:700}.deck-row-meta{color:var(--muted);font-size:15px}.deck-title{margin:0;font-size:22px;overflow-wrap:anywhere;text-wrap:balance}.card-list{display:flex;flex-direction:column;gap:10px}.card-row{background:var(--card);border-radius:14px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:14px}.card-row-main{min-width:0}.card-row-zh{margin:0 0 4px;font-size:16px;font-weight:600}.card-row-en{margin:0;font-size:14px;color:var(--muted);overflow-wrap:break-word}.status-chip{flex:none;background:#f3f4f6;color:var(--muted);font-size:12.5px;border-radius:999px;padding:4px 10px;white-space:nowrap}.status-unseen{background:#f3f4f6;color:#6b7280}.status-learning{background:#fffbeb;color:#b45309}.status-mastered{background:#f0fdf4;color:#15803d}.chip-unseen{background:#f3f4f6;color:#6b7280}.deck-mastery{justify-content:flex-start}.lapse-note{margin:2px 0 0;font-size:12.5px;color:var(--red)}.mastery-grid{margin-top:6px}.mastery-grid .stat-cell{padding:10px 6px;align-items:center}.mastery-grid .num{font-size:30px}.mode-block{display:flex;flex-direction:column;gap:8px;align-items:center}.segmented{display:inline-flex;gap:4px;background:#eceef2;border-radius:12px;padding:4px}.seg{border:none;background:none;font-family:inherit;font-size:15px;color:var(--muted);padding:8px 18px;border-radius:9px;cursor:pointer}.seg-active{background:#fff;color:var(--indigo);font-weight:700;box-shadow:0 1px 2px #00000014}.btn-rate:disabled{opacity:.5;cursor:default}.banner{border-radius:12px;padding:12px 16px;font-size:15px;line-height:1.6}.banner-ok{background:#f0fdf4;color:var(--green)}.banner-err{background:#fef2f2;color:var(--red)}.banner-warn{background:#fffbeb;color:var(--amber)}.progress-big{font-size:22px;font-weight:700;margin:4px 0 12px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-cell{display:flex;flex-direction:column;gap:2px;padding:18px}.learner-switcher{position:relative}.learner-trigger{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--card);color:var(--text);font-size:14px;font-weight:600;padding:7px 12px;border-radius:999px;cursor:pointer;font-family:inherit}.learner-trigger:disabled{color:var(--muted);cursor:default}.learner-caret{color:var(--muted);font-size:12px}.learner-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:190px;padding:6px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px #1118271f;display:flex;flex-direction:column}.learner-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:none;background:none;text-align:left;font-size:15px;color:var(--text);padding:10px 12px;border-radius:10px;cursor:pointer;font-family:inherit}.learner-item:hover:not(:disabled){background:#f3f4f6}.learner-item-current{color:var(--indigo);font-weight:700;background:#eef2ff;cursor:default}.learner-item-name{overflow-wrap:anywhere}.learner-check{color:var(--indigo);font-weight:800}.learner-menu-sep{height:1px;background:var(--line);margin:6px 4px}.learner-row-mobile{width:min(720px,100%);margin:0 auto;padding:12px 16px 0}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#11182759;display:flex;align-items:center;justify-content:center;padding:20px}.sheet{width:min(480px,100%);max-height:min(80dvh,640px);overflow-y:auto;background:var(--card);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px}.sheet-head{display:flex;align-items:center;justify-content:space-between}.sheet-title{font-size:18px;font-weight:800;margin:0}.learner-manage-list{display:flex;flex-direction:column;gap:10px}.learner-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.learner-row-name{flex:1;min-width:0;font-weight:600;overflow-wrap:anywhere}.learner-row-text{flex:1;min-width:0;font-size:14px;color:var(--muted)}.learner-row-btn{padding:8px 14px;font-size:14px;border-radius:10px}.learner-name-input{flex:1;min-width:0;font-size:16px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;font-family:inherit}.learner-add-btn{align-self:flex-start}.btn-danger{background:#fef2f2;color:var(--red)}.btn-danger:hover:not(:disabled){background:#fee2e2}.btn-danger:disabled{color:var(--muted);cursor:default}@media (max-width: 420px){.prompt-text{font-size:24px}.diff-tokens{font-size:17px}}@media (min-width: 960px){.appbar{display:block;position:sticky;top:0;z-index:10;background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.appbar-inner{width:min(900px,100%);margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:28px}.appbar-brand{font-size:18px;font-weight:800;color:var(--indigo)}.appbar-tabs{display:flex;gap:6px}.appbar-tab{border:none;background:none;font-size:15px;color:var(--muted);cursor:pointer;padding:8px 16px;border-radius:10px;font-family:inherit}.appbar-tab:hover{color:var(--text);background:#f3f4f6}.appbar-tab-active{color:var(--indigo);font-weight:700;background:#eef2ff}.tabbar,.learner-row-mobile{display:none}.appbar-inner .learner-switcher{margin-left:auto}.appbar-inner .learner-menu{left:auto;right:0}.page{width:min(900px,100%);padding:40px 24px 48px}.session{width:min(1080px,calc(100% - 64px));justify-content:flex-start;padding-top:32px;gap:20px}.session-centered{justify-content:center}.prompt-text{font-size:36px}.word-slots-wrap{--slot-size: 26px}.diff-tokens{font-size:24px}.verdict{font-size:22px;padding:14px 20px}.verdict-symbol{font-size:26px}.diff-label{font-size:15px;width:76px}.session-progress,.btn-link{font-size:17px}.card-label{font-size:15px}.btn-rate{height:72px;font-size:21px}.btn-rate kbd{font-size:14px}.btn-speak{min-height:46px;padding:8px 26px;font-size:17px}.btn-speak kbd{font-size:13px}.prompt-card{padding:30px 32px}.diff-card{padding:20px 24px}.review-panel{gap:18px}.btn-row{gap:16px}.btn-primary:hover:not(:disabled){background:var(--indigo-deep)}.btn-secondary:hover:not(:disabled){background:#e0e7ff}.deck-row:hover{box-shadow:0 4px 14px #00000014}.card-row:hover{background:#fafafa}.chapter-cards .card-row:hover{background:#fff}.rate-again:hover{background:#fee2e2}.rate-hard:hover{background:#fef3c7}.rate-good:hover{background:#dcfce7}.btn-link:hover{text-decoration:underline}.num{font-size:44px}}.book-head{display:flex;flex-direction:column;gap:10px}.book-head-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.book-sub{margin:0;color:var(--muted);font-size:14px}.book-rename{display:flex;align-items:center;gap:10px;width:100%}.book-rename-input{font:inherit;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);min-width:0;flex:1}.book-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}.io-note{margin:-2px 0 0;font-size:12.5px}.today-empty-cta{margin:10px 0 0;text-align:center}.chapter-list{display:flex;flex-direction:column;gap:12px}.chapter-block{background:var(--card);border-radius:14px;overflow:hidden}.chapter-row{display:grid;grid-template-columns:1fr auto;grid-template-areas:"main count" "meta actions";row-gap:8px;column-gap:12px;align-items:center;padding:14px 16px}.chapter-select{grid-area:main;display:flex;align-items:center;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0}.chapter-select input[type=checkbox]{width:20px;height:20px;accent-color:var(--indigo);flex:none}.chapter-title{font-size:16.5px;font-weight:600;overflow-wrap:anywhere}.chapter-count{grid-area:count;color:var(--muted);font-size:13px;font-weight:500;white-space:nowrap}.chapter-meta{grid-area:meta;display:flex;gap:6px;flex-wrap:wrap}.chapter-actions{grid-area:actions;display:flex;gap:8px;justify-content:flex-end}.chev{display:inline-block;margin-left:4px;font-size:11px;transition:transform .18s ease}.chapter-block.open .chev{transform:rotate(180deg)}.chapter-cards{display:flex;flex-direction:column;background:var(--bg);border-top:1px solid var(--line);padding:2px 14px 8px}.chapter-cards .card-row{background:none;border-radius:0;padding:11px 2px;border-bottom:1px solid #dcdfe3}.chapter-cards .card-row:last-child{border-bottom:none}.chapter-cards .card-row-zh{font-size:15px;margin-bottom:5px}.chapter-cards .card-row-en{font-size:13.5px}.chapter-cards .status-chip{background:none;padding:0;font-weight:600}.chip-sm{border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:600}.chapter-meta .chip-unseen{color:#4b5563}.btn-mini{border:none;border-radius:999px;font-family:inherit;font-size:13.5px;font-weight:600;padding:7px 14px;cursor:pointer;background:#eef2ff;color:var(--indigo-deep);white-space:nowrap}.btn-mini:active{background:#e0e7ff}.btn-mini-plain{background:#f3f4f6;color:#4b5563}.btn-mini-plain:active{background:#e5e7eb}.account-card{display:flex;flex-direction:column;gap:10px}.account-card p{margin:0}.account-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.account-email{overflow-wrap:anywhere;flex:1;min-width:0}.account-form{display:flex;flex-direction:column;gap:10px}.account-input{min-width:0;flex:1 1 190px;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit}.account-code{flex-basis:120px;letter-spacing:.13em}.account-card .btn{font-size:14px;padding:12px 14px}.account-note{border-top:1px solid var(--line);padding-top:10px}.app-shell{--indigo: #286a51;--indigo-deep: #18533f;--bg: #f6f7f4;--card: #ffffff;--text: #1e2923;--muted: #68766e;--line: #e5eae5;--shell-ink: #1e2923;--shell-green: #286a51;background:var(--bg);color:var(--text)}.app-shell .shell-page{width:min(760px,100%);padding-top:34px}.app-shell .stack{gap:22px}.app-shell .page-title{font-size:clamp(28px,5vw,34px);font-weight:760;letter-spacing:-.045em;line-height:1.17;margin:0}.app-shell .card{border:1px solid #e9eeea;box-shadow:0 6px 24px #13231c09}.app-shell .appbar{display:block;position:sticky;top:0;z-index:30;padding-top:env(safe-area-inset-top,0px);background:#fcfdf9f5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid #e8ece7}.app-shell .appbar-inner{display:flex;align-items:center;width:min(940px,100%);margin:0 auto;padding:14px 24px;min-height:66px;gap:28px}.app-shell .appbar-brand{font-family:inherit;font-size:18px;font-weight:760;letter-spacing:-.045em;color:#1c3026;padding:0;background:transparent;border:0;cursor:pointer;white-space:nowrap}.brand-dot{color:#368e6b}.app-shell .appbar-tabs{display:flex;align-items:center;gap:5px}.app-shell .appbar-tab{padding:10px 18px;font-family:inherit;font-size:14px;font-weight:550;background:transparent;color:#748177;border:0;border-radius:10px;cursor:pointer}.app-shell .appbar-tab:hover{background:#edf3ee;color:#234e3a}.app-shell .appbar-tab-active{background:#e7f1e9;color:#226047;font-weight:700}.account-entry{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-family:inherit;font-size:13px;font-weight:660;color:#2c5744;border:1px solid #dbe7dd;background:#fff;border-radius:999px;padding:7px 12px 7px 8px;cursor:pointer;white-space:nowrap}.account-entry:hover{border-color:#a7c8b4;background:#f4faf5}.account-entry-icon{display:grid;place-items:center;width:26px;height:26px;background:#edf4ed;border-radius:50%}.notice-overlay{position:fixed;left:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:30;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:min(400px,calc(100vw - 32px));pointer-events:none}.notice-chip{pointer-events:none;display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;padding:8px 14px;border-radius:10px;border:1px solid #eaddc5;background:#f6eddd;font-size:12px;line-height:1.55;color:#796247;overflow-wrap:anywhere;box-shadow:0 6px 18px #0f191214}.notice-chip .btn-link{pointer-events:auto}.notice-chip-error{background:#fef2f2;border-color:#f3c9c9;color:var(--red)}.notice-chip-warn{background:#fffbeb;border-color:#f2e2b0;color:var(--amber)}@media (max-width: 959px){.app-shell .notice-overlay{bottom:calc(70px + env(safe-area-inset-bottom))}}.app-shell .tabbar{z-index:20;background:#fbfcfaf5;border-top:1px solid #e5ebe5;box-shadow:0 -8px 20px #0f191206}.app-shell .tab{font-family:inherit;font-size:14px;font-weight:590}.app-shell .tab-active{color:var(--indigo);font-weight:760}.overline{font-size:11px;font-weight:770;color:#6b8373;letter-spacing:.14em;margin:0 0 10px}.section-intro{display:flex;flex-direction:column;gap:10px}.section-intro .overline{margin-bottom:0}.section-intro>.muted{margin:0;font-size:14px;line-height:1.6}.section-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}.section-line h2{font-size:17px;font-weight:740;margin:0;letter-spacing:-.025em}.section-line>span{font-size:12px;color:#839087}.text-action,.back-link{background:none;border:0;padding:0;color:#416e53;cursor:pointer;font:inherit;font-size:13px;font-weight:650}.back-link{align-self:flex-start;padding:4px 0}.home-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.home-heading{margin:0;font-size:clamp(25px,5vw,32px);line-height:1.28;font-weight:770;letter-spacing:-.045em}.home-page .learner-trigger{border:1px solid #e1e9e1;border-radius:999px;background:#fff;padding:7px 13px 7px 7px;gap:8px;font-size:13px;box-shadow:0 4px 14px #12281c09}.home-page .learner-trigger-name{max-width:124px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.learner-avatar{flex:none;width:36px;height:36px;border-radius:12px;display:inline-grid;place-items:center;font-size:15px;font-weight:790;background:#deeee1;color:#22614c}.home-page .learner-avatar{width:28px;height:28px;border-radius:50%;font-size:12px}.home-focus{color:#f7faf6;background:#203f35;border-radius:22px;padding:clamp(24px,5vw,36px);box-shadow:0 18px 40px #1535271f}.home-focus-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-focus-eyebrow{color:#dcf1e2;font-size:14px;font-weight:650}.home-focus-context{color:#a7c7b6;font-size:12px}.home-focus-numbers{display:flex;align-items:center;gap:clamp(22px,7vw,52px);padding:30px 0 32px}.home-focus-primary,.home-focus-secondary{display:flex;flex-direction:column;gap:7px}.home-focus-primary strong{font-size:clamp(64px,13vw,92px);font-weight:700;line-height:1;letter-spacing:-.085em;font-variant-numeric:tabular-nums}.home-focus-primary span,.home-focus-secondary span{color:#bad4c5;font-size:13px}.home-focus-secondary strong{font-size:38px;font-weight:660;line-height:1.05;letter-spacing:-.055em;font-variant-numeric:tabular-nums}.home-focus-divider{width:1px;height:52px;background:#f0fff433}.home-start-button{width:100%;border:0;display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-radius:12px;background:#ecf5ec;color:#1e513a;font:inherit;font-size:15px;font-weight:770;cursor:pointer}.home-start-button:hover:not(:disabled){background:#dff1df}.home-start-button:disabled{opacity:.68;cursor:default}.home-start-button span:last-child{font-size:19px;font-weight:500}.home-focus-empty{font-size:13px;margin:12px 0 0;color:#c3dbcb}.home-focus-empty .btn-link{color:#e6f5e6;font-size:13px;font-weight:650}.home-quick-stats{background:#fff;border:1px solid #e7ece6;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:16px;padding:17px 4px}.home-quick-stats>div{display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;padding:2px 5px;min-width:0}.home-quick-stats>div+div{border-left:1px solid #eef1ed}.home-quick-stats strong{font-size:24px;font-weight:740;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.home-quick-stats span{color:#7b877d;font-size:11px}.field-label{display:block;font-weight:710;font-size:13px;color:#54665a}.app-shell .segmented{background:#f1f4ef;border-radius:10px}.app-shell .seg-active{color:#245f47;background:#fff}.my-identity{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #e1e8df;background:#edf3ed;border-radius:16px;padding:19px 21px}.my-identity-person{display:flex;align-items:center;gap:12px;min-width:0}.my-identity-person .learner-avatar{width:50px;height:50px;border-radius:15px;font-size:19px}.my-identity-person>div{display:flex;flex-direction:column;gap:5px;min-width:0}.my-identity-person strong{font-size:17px;overflow-wrap:anywhere}.my-identity-person small{color:#758677;font-size:12px}.my-identity .learner-trigger{font-size:13px;white-space:nowrap;padding:9px 13px}.my-stat-hero{border:1px solid #e6ebe4;border-radius:16px;background:#fff;display:grid;grid-template-columns:1fr 1fr;padding:21px 0}.my-stat-hero>div{display:flex;flex-direction:column;padding:8px 24px;gap:12px}.my-stat-hero>div+div{border-left:1px solid #e9eeea}.my-stat-label{font-size:13px;color:#7a897d}.my-stat-hero strong{font-size:clamp(38px,7vw,48px);font-weight:720;line-height:1;letter-spacing:-.07em;font-variant-numeric:tabular-nums}.my-stat-hero strong small{font-size:14px;font-weight:600;letter-spacing:0;color:#718174;margin-left:6px}.my-rating-line{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.my-chart-card,.my-mastery-grid{border:1px solid #e7ece6;background:#fff;border-radius:16px}.my-chart-card{padding:21px 24px 16px}.my-chart{height:160px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px;align-items:end}.my-chart-column{height:100%;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0}.my-chart-track{flex:1;width:min(100%,34px);display:flex;align-items:end;background:#f3f6f2;border-radius:5px 5px 0 0;overflow:hidden}.my-chart-bar{display:block;width:100%;background:#c7ddd0;border-radius:5px 5px 0 0}.my-chart-bar.is-today{background:#327957}.my-chart-day{color:#839087;font-size:11px;white-space:nowrap}.my-mastery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:21px 0}.my-mastery-grid>div{padding:5px 14px;display:flex;flex-direction:column;align-items:center;gap:7px}.my-mastery-grid>div+div{border-left:1px solid #edf1ed}.my-mastery-grid strong{font-size:29px;font-weight:710;letter-spacing:-.055em}.my-mastery-grid small{font-size:12px;color:#819085}.my-small-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.my-small-stats>div{display:flex;flex-direction:column;gap:7px;background:#edf3ed;border-radius:12px;padding:17px 15px}.my-small-stats strong{font-size:24px;font-weight:710;font-variant-numeric:tabular-nums}.my-small-stats small{font-size:11px;color:#77887b}.my-menu{border:1px solid #e6ebe5;border-radius:15px;background:#fff;overflow:hidden}.my-menu>button{width:100%;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:none;text-align:left;color:#43664f;cursor:pointer;font:inherit;font-size:17px}.my-menu>button+button{border-top:1px solid #edf0eb}.my-menu>button:hover{background:#f7faf7}.menu-label{display:flex;flex-direction:column;gap:6px;min-width:0}.menu-label strong{font-size:14px;color:#26392d;font-weight:680}.menu-label small{font-size:12px;color:#829083}.progress-explainer{margin:0 0 12px;line-height:1.75;font-size:12px}.learner-caret{font-size:16px;line-height:1;font-weight:500}.learner-picker-backdrop,.edit-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0a170f5c;display:flex;align-items:center;justify-content:center;padding:18px}.learner-picker,.edit-dialog{width:min(440px,100%);max-height:min(86dvh,710px);overflow:auto;border-radius:20px;background:#fff;color:#1e2923;padding:24px;box-shadow:0 24px 64px #132d1c29}.learner-picker-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.learner-picker-heading h2{margin:0;font-size:21px;font-weight:750;letter-spacing:-.045em}.learner-picker-heading .overline{margin-bottom:5px}.icon-close{background:#f1f4f1;border:0;border-radius:50%;color:#617365;width:32px;height:32px;font-size:23px;font-weight:400;cursor:pointer}.learner-picker-list{display:flex;flex-direction:column;gap:4px}.learner-picker-row{display:flex;align-items:center;gap:12px;width:100%;border:none;background:transparent;padding:12px;border-radius:12px;color:#24372a;text-align:left;cursor:pointer;font:inherit}.learner-picker-row:hover,.learner-picker-row.is-current{background:#f0f6f0}.learner-picker-name{flex:1;min-width:0;font-size:15px;font-weight:670;overflow-wrap:anywhere}.learner-picker-status{font-size:12px;color:#63856e;white-space:nowrap}.learner-manage-link{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:14px;border:0;border-top:1px solid #e9eeea;background:transparent;padding:20px 12px 4px;font:inherit;font-weight:680;font-size:14px;color:#316b50;cursor:pointer}.learner-management-list{display:flex;flex-direction:column;border:1px solid #e5ebe5;border-radius:16px;overflow:hidden;background:#fff}.learner-management-row{display:flex;gap:12px;align-items:center;padding:9px 16px}.learner-management-row+.learner-management-row{border-top:1px solid #edf0eb}.learner-management-choose{flex:1;display:flex;align-items:center;gap:13px;min-width:0;background:none;border:0;padding:7px 0;text-align:left;color:#21352a;font:inherit;cursor:pointer}.learner-management-identity{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.learner-management-identity strong{overflow-wrap:anywhere;font-size:14px;font-weight:690}.learner-management-identity small{font-size:11px;color:#819184}.learner-management-check{color:#2d7756;font-size:16px}.learner-edit-trigger{border:1px solid #e2eae2;border-radius:9px;background:#fff;padding:9px 13px;font:inherit;font-size:13px;color:#416b52;cursor:pointer}.learner-create{align-self:stretch;font-size:14px;padding:15px}.learner-management>.small{margin:-7px 0 0;font-size:12px}.edit-dialog{display:flex;flex-direction:column;gap:16px}.edit-dialog .learner-picker-heading{margin-bottom:0}.edit-dialog .learner-name-input{width:100%;flex:none;font-size:16px;padding:12px 13px}.edit-dialog p{margin:0;line-height:1.6}.dialog-actions{display:flex;gap:12px;justify-content:flex-end}.dialog-actions .btn{font-size:14px;padding:11px 20px}.delete-text-button{align-self:flex-start;padding:4px 0;color:#b2544c;background:none;border:none;cursor:pointer;font:inherit;font-size:13px}.delete-text-button:disabled{opacity:.4;cursor:default}.app-shell .btn-primary{background:#2a7053}.app-shell .btn-primary:hover:not(:disabled){background:#205b43}.app-shell .btn-secondary{background:#ebf2eb;color:#2b694c}.app-shell .btn-danger{background:#fbece9;color:#a73932}.app-shell .account-card{box-shadow:none}.app-shell .account-input{font-size:16px}.app-shell .account-page>.account-card{border-radius:16px}.app-shell .account-note{line-height:1.65}@media (max-width: 959px){.app-shell .appbar-inner{padding:12px 20px;min-height:61px}.app-shell .appbar-tabs{display:none}.app-shell .shell-page{padding:24px 18px calc(90px + env(safe-area-inset-bottom))}.app-shell .tab{height:56px}.home-intro{align-items:flex-start;flex-direction:column;gap:18px}.home-focus{border-radius:18px}.learner-picker-backdrop{align-items:flex-end;padding:0}.learner-picker{width:100%;max-width:none;max-height:78dvh;border-radius:22px 22px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom))}.edit-backdrop{align-items:flex-end;padding:0}.edit-dialog{width:100%;max-width:none;max-height:82dvh;border-radius:22px 22px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom))}}@media (min-width: 960px){.app-shell .shell-page{width:min(900px,100%);padding:44px 24px 56px}.app-shell .tabbar{display:none}}@media (max-width: 390px){.home-focus{padding:22px}.home-focus-numbers{gap:18px}.home-focus-context{font-size:11px}.home-quick-stats strong{font-size:21px}.home-quick-stats span{font-size:10px}.my-identity{padding:14px;gap:10px}.my-identity-person .learner-avatar{width:40px;height:40px}.my-identity-person strong{font-size:14px}.my-chart-card{padding:18px 15px 14px}.my-chart{gap:5px}.my-chart-day{font-size:10px}.my-small-stats{gap:7px}.my-small-stats>div{padding:13px 10px}.my-small-stats small{font-size:10px}}.battle-banner{position:relative;isolation:isolate;flex:none;width:100%;height:164px;overflow:hidden;border:1px solid #d5e4ef;border-radius:13px;background:linear-gradient(180deg,#e0f2ff,#f0f7f6 66%,#e5f1dc 67%,#c5dfb4)}.battle-landscape{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.62;background:linear-gradient(145deg,transparent 65%,#a3c7e0 66% 71%,transparent 72%) 12% 47% / 60px 75px no-repeat,linear-gradient(34deg,transparent 59%,#acc9e0 60% 73%,transparent 74%) 82% 43% / 90px 88px no-repeat,radial-gradient(ellipse at 16% 95%,#89b794 0 25%,transparent 26%),radial-gradient(ellipse at 84% 95%,#7ca98c 0 25%,transparent 26%)}.battle-floor{position:absolute;bottom:20px;left:0;right:0;height:6px;opacity:.8;border-top:2px solid #9fb69a;background:repeating-linear-gradient(90deg,#b1bdac 0,#b1bdac 20px,#d5d8c6 20px,#d5d8c6 25px,#adbaaa 25px,#adbaaa 44px)}.battle-arena{position:relative;width:min(100%,760px);height:100%;margin:0 auto;pointer-events:none}.battle-fighter{position:absolute;bottom:4px;width:34%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.battle-fighter-hero{left:4%}.battle-fighter-boss{right:4%}.battle-home{width:126px;height:126px;flex:none;position:relative}.battle-approach{width:100%;height:100%;transition:transform .18s cubic-bezier(.22,.65,.25,1);will-change:transform}.battle-approach-hero{transform:translate(var(--battle-hero-approach,0px))}.battle-approach-boss{transform:translate(calc(-1 * var(--battle-boss-approach,0px)))}.battle-position{width:100%;height:100%;position:relative}.battle-position:before{content:"";position:absolute;bottom:5px;left:31%;width:38%;height:7px;border-radius:50%;background:#30433726;animation:battle-idle-shadow 1.52s ease-in-out infinite}.battle-fighter-boss .battle-position:before{animation-delay:-.52s}.battle-running:before,.battle-damaged:before{animation:none;opacity:.25}@keyframes battle-idle-shadow{0%,to{transform:scaleX(1.04);opacity:.32}50%{transform:scaleX(.72);opacity:.16}}.battle-motion{width:100%;height:100%;transform-origin:50% 90%}.battle-sprite{width:100%;height:100%;background:url(/battle/battle-atlas.png) no-repeat;background-size:500% 200%;image-rendering:pixelated;filter:drop-shadow(0 3px 1px rgb(55 70 65 / .16))}.battle-sprite-hero-idle{background-position:0 0}.battle-sprite-hero-windup{background-position:25% 0}.battle-sprite-hero-attack{background-position:50% 0}.battle-sprite-hero-recover{background-position:75% 0}.battle-sprite-hero-hit{background-position:100% 0}.battle-sprite-boss-idle{background-position:0 100%}.battle-sprite-boss-windup{background-position:25% 100%}.battle-sprite-boss-attack{background-position:50% 100%}.battle-sprite-boss-recover{background-position:75% 100%}.battle-sprite-boss-hit{background-position:100% 100%}.battle-sprite-shadow{position:relative;background-image:none;filter:none}.battle-sprite-shadow:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/battle/shadow-knight.webp) no-repeat;background-size:500% 100%;background-position:inherit;image-rendering:pixelated;transform:scaleX(-1);filter:drop-shadow(0 3px 2px rgb(36 16 70 / .35))}.battle-position:not(.battle-running):not(.battle-damaged) .battle-motion{animation:battle-idle-hero 1.52s ease-in-out infinite}.battle-fighter-boss .battle-position:not(.battle-running):not(.battle-damaged) .battle-motion{animation:battle-idle-boss 1.81s ease-in-out infinite;animation-delay:-.53s}@keyframes battle-idle-hero{0%,to{transform:translateY(1px) scaleX(1.045) scaleY(.94)}45%{transform:translateY(-6px) rotate(-2deg) scaleX(.97) scaleY(1.055)}70%{transform:translateY(-4px) rotate(0) scaleX(.995) scaleY(1.02)}}@keyframes battle-idle-boss{0%,to{transform:translateY(0) scaleX(1.075) scaleY(.93)}43%{transform:translateY(-5px) rotate(2deg) scaleX(.95) scaleY(1.065)}70%{transform:translateY(-2px) rotate(-1deg) scaleX(1.025) scaleY(.99)}}.battle-position.battle-preparing:not(.battle-running):not(.battle-damaged) .battle-motion{animation:battle-anticipate-ready 1.1s ease-in-out infinite}@keyframes battle-anticipate-ready{0%,to{transform:translate(-2px) translateY(3px) rotate(-3deg) scaleX(.96) scaleY(.92)}50%{transform:translate(-4px) translateY(5px) rotate(-5deg) scaleX(.92) scaleY(.88)}}.battle-run-hero .battle-motion{animation:battle-hero-dash var(--battle-motion-ms,1.03s) linear both}.battle-run-boss .battle-motion{animation:battle-boss-dash var(--battle-motion-ms,1.03s) linear both}.battle-hit-stop .battle-running .battle-motion{animation-play-state:paused}@keyframes battle-hero-dash{0%{transform:translate(0) translateY(0) scale(1)}15%{transform:translate(-10px) translateY(4px) rotate(-7deg) scaleX(.87) scaleY(.9);animation-timing-function:cubic-bezier(.62,0,.91,.24)}21%{transform:translate(-9px) translateY(3px) rotate(-6deg) scaleX(.91) scaleY(.93);animation-timing-function:cubic-bezier(.18,.8,.24,1)}44%{transform:translate(var(--battle-distance,0px)) translateY(-5px) rotate(-5deg) scaleX(1.14) scaleY(.94)}60%{transform:translate(var(--battle-distance,0px)) translateY(-5px) rotate(-5deg) scaleX(1.14) scaleY(.94);animation-timing-function:cubic-bezier(.28,.7,.38,1)}80%{transform:translate(-8px) translateY(2px) rotate(3deg) scaleX(.94) scaleY(1.05)}92%{transform:translate(2px) translateY(-1px) rotate(-1deg) scale(1.01)}to{transform:translate(0) translateY(0) scale(1)}}@keyframes battle-boss-dash{0%{transform:translate(0) translateY(0) scale(1)}15%{transform:translate(8px) translateY(4px) rotate(6deg) scaleX(.91) scaleY(.9);animation-timing-function:cubic-bezier(.62,0,.91,.24)}21%{transform:translate(7px) translateY(3px) rotate(6deg) scaleX(.94) scaleY(.93);animation-timing-function:cubic-bezier(.18,.8,.24,1)}44%{transform:translate(calc(-1 * var(--battle-distance,0px))) translateY(-4px) rotate(5deg) scaleX(1.11) scaleY(.94)}60%{transform:translate(calc(-1 * var(--battle-distance,0px))) translateY(-4px) rotate(5deg) scaleX(1.11) scaleY(.94);animation-timing-function:cubic-bezier(.28,.7,.38,1)}80%{transform:translate(6px) translateY(2px) rotate(-3deg) scaleX(.96) scaleY(1.04)}92%{transform:translate(-2px) translateY(-1px) rotate(1deg) scale(1.01)}to{transform:translate(0) translateY(0) scale(1)}}.battle-running:after{content:"";position:absolute;left:36%;bottom:12px;width:8px;height:7px;z-index:2;background:#eff9e6;box-shadow:-11px 2px #a6c5a5,10px 3px #b5d1aa;animation:battle-takeoff-dust .47s steps(6,end) both;pointer-events:none}@keyframes battle-takeoff-dust{0%,30%{opacity:0;transform:translate(0) scale(.5)}52%{opacity:.85;transform:translate(-10px,-9px) scale(1)}to{opacity:0;transform:translate(-21px,-19px) scale(1.6)}}.battle-recoil-hero{animation:battle-hit-left 295ms steps(5,end) both}.battle-recoil-boss{animation:battle-hit-right 295ms steps(5,end) both}@keyframes battle-hit-left{0%{transform:translate(0);filter:brightness(2.5) saturate(.2) drop-shadow(0 0 5px #fff)}20%,42%{transform:translate(-13px) translateY(-3px) rotate(-8deg) scale(1.06);filter:brightness(2.5) saturate(.2) drop-shadow(0 0 5px #fff)}70%{transform:translate(-9px) rotate(-4deg);filter:brightness(1.65)}to{transform:translate(0);filter:brightness(1)}}@keyframes battle-hit-right{0%{transform:translate(0);filter:brightness(2.5) saturate(.2) drop-shadow(0 0 5px #fff)}20%,42%{transform:translate(13px) translateY(-3px) rotate(8deg) scale(1.06);filter:brightness(2.5) saturate(.2) drop-shadow(0 0 5px #fff)}70%{transform:translate(9px) rotate(4deg);filter:brightness(1.65)}to{transform:translate(0);filter:brightness(1)}}.battle-slash,.battle-impact{position:absolute;z-index:2;left:var(--battle-hit-x,50%);top:var(--battle-hit-y,35%);pointer-events:none;image-rendering:pixelated;transform-origin:50% 50%}.battle-slash{width:88px;height:88px;margin:-44px;animation:battle-slash-sweep .29s steps(5,end) both}.battle-slash-boss{transform:scaleX(-1)}@keyframes battle-slash-sweep{0%{opacity:1;scale:1.12}36%{opacity:1;scale:1.43}75%{opacity:.9;scale:1.55}to{opacity:0;scale:1.62}}.battle-impact{width:82px;height:82px;margin:-41px;animation:battle-impact-pop .27s steps(5,end) both}@keyframes battle-impact-pop{0%{opacity:1;scale:.83}40%{opacity:1;scale:1.25}to{opacity:0;scale:1.58}}.battle-shockwave{position:absolute;z-index:3;left:var(--battle-hit-x,50%);top:var(--battle-hit-y,35%);width:38px;height:38px;margin:-19px;border:4px solid #fff7cd;box-shadow:0 0 0 3px #feac4db3;border-radius:4px;transform:rotate(45deg);animation:battle-impact-ring .34s steps(6,end) both}@keyframes battle-impact-ring{0%{opacity:1;scale:.4}55%{opacity:.85;scale:1.18}to{opacity:0;scale:1.95}}.battle-damage{position:absolute;z-index:5;left:var(--battle-hit-x,50%);top:var(--battle-hit-y,35%);margin-top:-30px;translate:-50% 0;color:#fff6d3;font:900 30px/1 ui-monospace,Consolas,monospace;letter-spacing:-1.5px;text-shadow:3px 3px 0 #b85043,-2px -2px 0 #b85043,2px -2px 0 #b85043;white-space:nowrap;animation:battle-damage-pop var(--battle-damage-ms,1s) steps(12,end) both;pointer-events:none}@keyframes battle-damage-pop{0%{opacity:0;transform:translateY(9px) scale(1.4)}9%,24%{opacity:1;transform:translateY(-4px) scale(1.22)}75%{opacity:1;transform:translateY(-24px) scale(1)}to{opacity:0;transform:translateY(-40px) scale(.95)}}.battle-sparks{position:absolute;z-index:4;left:var(--battle-hit-x,50%);top:var(--battle-hit-y,35%);width:0;height:0;pointer-events:none}.battle-spark{position:absolute;left:-3px;top:-3px;width:7px;height:7px;background:#fff2a5;box-shadow:2px 2px #f4a85a;animation:battle-spark-burst .49s steps(7,end) both}.battle-spark:nth-child(1){--spark-x: -49px;--spark-y: -20px}.battle-spark:nth-child(2){--spark-x: -30px;--spark-y: -43px;animation-delay:22ms}.battle-spark:nth-child(3){--spark-x: 10px;--spark-y: -48px}.battle-spark:nth-child(4){--spark-x: 42px;--spark-y: -31px;animation-delay:24ms}.battle-spark:nth-child(5){--spark-x: 48px;--spark-y: 14px}.battle-spark:nth-child(6){--spark-x: -23px;--spark-y: 39px;animation-delay:17ms}.battle-spark:nth-child(7){--spark-x: 24px;--spark-y: 40px}.battle-spark:nth-child(8){--spark-x: -43px;--spark-y: 19px;animation-delay:29ms}.battle-spark:nth-child(9){--spark-x: 0px;--spark-y: 53px}.battle-spark:nth-child(10){--spark-x: 38px;--spark-y: -3px;animation-delay:11ms}.battle-spark:nth-child(2n){width:4px;height:4px;background:#fff}@keyframes battle-spark-burst{0%{opacity:1;transform:translate(0) scale(1.3)}68%{opacity:1;transform:translate(var(--spark-x),var(--spark-y)) scale(1)}to{opacity:0;transform:translate(var(--spark-x),var(--spark-y)) scale(.4)}}.battle-struck-hero .battle-arena{animation:battle-impact-jolt .13s steps(4,end) both}.battle-struck-boss .battle-arena{animation:battle-impact-jolt-boss .13s steps(4,end) both}@keyframes battle-impact-jolt{0%,to{transform:translate(0)}25%{transform:translate(-3px,-2px)}50%{transform:translate(3px,1px)}75%{transform:translate(-1px)}}@keyframes battle-impact-jolt-boss{0%,to{transform:translate(0)}25%{transform:translate(2px,-1px)}50%{transform:translate(-2px,1px)}75%{transform:translate(1px)}}.battle-audio-toggle{position:absolute;z-index:5;right:9px;top:47px;width:29px;height:28px;display:grid;place-items:center;padding:0;border:1px solid rgb(72 103 109 / .3);border-radius:5px;background:#ffffffc7;color:#336376;font:700 20px/1 monospace;cursor:pointer}.battle-audio-toggle.is-muted{color:#8a9aa1}.battle-audio-toggle.is-muted:after{content:"";position:absolute;width:19px;height:2px;background:currentColor;transform:rotate(-42deg)}.battle-audio-toggle:focus-visible{outline:2px solid #356dba;outline-offset:2px}.battle-audio-toggle:active{transform:translateY(1px)}.battle-hp{position:absolute;top:9px;z-index:5;display:flex;flex-direction:column;gap:4px;width:clamp(128px,35%,252px);pointer-events:none}.battle-hp-hero{left:11px;align-items:flex-start}.battle-hp-boss{right:11px;align-items:flex-end}.battle-hp-label{display:block;max-width:100%;color:#273d52;font:800 11px/1.1 ui-monospace,Consolas,monospace;letter-spacing:.06em;text-shadow:1px 1px 0 #fff;white-space:nowrap}.battle-hp-track{width:100%;height:12px;overflow:hidden;border:2px solid #4c626a;border-radius:3px;background:#ebede9;box-shadow:2px 2px #2b463c2e}.battle-hp-track>span{display:block;height:100%;transition:width .19s steps(10,end)}.battle-hp-hero .battle-hp-track>span{background:linear-gradient(90deg,#70c8a4,#37b882)}.battle-hp-boss .battle-hp-track>span{background:linear-gradient(90deg,#f29c9f,#eb6076)}.battle-stage-caption{position:absolute;top:10px;left:50%;transform:translate(-50%);color:#4c6870;font:800 10px/1 ui-monospace,Consolas,monospace;white-space:nowrap}.battle-combo{position:absolute;top:31px;left:50%;z-index:5;transform:translate(-50%);padding:2px 7px;color:#673e20;background:#ffe6a0;border:1px solid #c4934c;box-shadow:2px 2px #916840;font:900 12px/1.2 ui-monospace,Consolas,monospace;white-space:nowrap;pointer-events:none}.battle-stage-2{background:linear-gradient(180deg,#d9d4ed,#e9e5f4 65%,#b7bdcb 66%,#9095af)}.battle-stage-2 .battle-floor{filter:hue-rotate(155deg)}.battle-stage-2 .battle-hp-boss .battle-hp-track>span{background:linear-gradient(90deg,#ad8ce2,#7751ba)}.battle-stage-2 .battle-hp-label{color:#42385f}.battle-finisher .battle-impact-finisher{filter:drop-shadow(0 0 12px #ffe28e);scale:1.5}.battle-finisher .battle-shockwave{border-color:#ffda70;box-shadow:0 0 0 5px #fbae42a6}.battle-victory-card{display:flex;align-items:center;flex-direction:column;gap:13px;text-align:center}.battle-victory-emblem{color:#cf983d;font:900 46px/1 ui-monospace,monospace}.battle-victory-label{margin:0;color:#376b89;font:900 13px/1 ui-monospace,monospace;letter-spacing:.09em}.battle-victory-card .btn-big{width:min(100%,320px)}.battle-victory-duel{position:relative;width:min(100%,300px);height:92px;overflow:hidden;border:2px solid #c5d6df;border-radius:7px;background:linear-gradient(#dfeeff 0,#dfeeff 73%,#c3dabb 73%,#c3dabb)}.battle-victory-hero,.battle-victory-boss{position:absolute;bottom:3px;width:80px;height:80px;image-rendering:pixelated;background-repeat:no-repeat}.battle-victory-hero{left:17px;background-image:url(/battle/battle-atlas.png);background-size:500% 200%;background-position:50% 0;animation:battle-victory-strike .95s steps(7,end) both}.battle-victory-boss{right:20px;background-image:url(/battle/battle-atlas.png);background-size:500% 200%;background-position:100% 100%;animation:battle-victory-knockout 1.1s steps(8,end) both}.battle-victory-shadow{background-image:none}.battle-victory-shadow:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/battle/shadow-knight.webp) 100% 100% / 500% 100% no-repeat;image-rendering:pixelated;transform:scaleX(-1)}.battle-victory-spark{position:absolute;z-index:2;top:14px;left:60%;color:#f6a83d;font:900 35px/1 ui-monospace,monospace;animation:battle-victory-flash .8s steps(6,end) both}@keyframes battle-victory-strike{0%{transform:translate(0)}45%{transform:translate(54px)}75%,to{transform:translate(38px)}}@keyframes battle-victory-knockout{0%,30%{opacity:1;transform:translate(0) rotate(0) scale(1)}55%{opacity:1;transform:translate(14px,-8px) rotate(14deg) scale(1.1)}to{opacity:0;transform:translate(32px,35px) rotate(55deg) scale(.25)}}@keyframes battle-victory-flash{0%,25%{opacity:0;transform:scale(.5)}45%{opacity:1;transform:scale(1.5)}to{opacity:0;transform:scale(2.3)}}@media (prefers-reduced-motion:reduce){.battle-victory-hero,.battle-victory-boss,.battle-victory-spark{animation:none!important}}@media (max-width:540px){.battle-banner{height:138px}.battle-home{width:103px;height:103px}.battle-fighter{bottom:5px}.battle-hp{width:min(165px,calc((100% - 56px)/2))}.battle-endless .battle-stage-caption{top:42px}.battle-endless .battle-combo{top:64px}.battle-hp-label{font-size:10px}.battle-slash{width:70px;height:70px;margin:-35px}.battle-impact{width:68px;height:68px;margin:-34px}.battle-damage{font-size:26px}}@media (max-width:370px){.battle-banner{height:120px}.battle-home{width:88px;height:88px}.battle-audio-toggle{width:25px;height:24px;right:5px;top:45px}.battle-hp{width:min(124px,calc((100% - 46px)/2))}.battle-stage-caption{top:37px;font-size:9px}.battle-damage{font-size:24px}}@media (prefers-reduced-motion:reduce){.battle-banner,.battle-banner *,.battle-banner *:before,.battle-banner *:after{animation:none!important;transition:none!important}}.sync-control{margin-top:16px;border:1px solid var(--line);box-shadow:none}.sync-control-title{font-size:19px;margin:6px 0 10px;letter-spacing:-.02em}.sync-control-actions{display:flex;align-items:flex-start;flex-direction:column;gap:10px}.sync-control-actions p{margin:0}.account-sync-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:16px}.account-sync-status>div{flex:1 1 220px}.account-sync-status strong{display:block;font-size:15px;color:#326a51}.account-sync-status p{margin:4px 0 0}.account-sync-status>.error,.account-sync-status>[role=status]{flex-basis:100%}.account-page>.section-intro{margin-bottom:12px}.home-study-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-recite-button{background:#f0e8d6;color:#5f4e2f}.home-recite-button:hover:not(:disabled){background:#e8ddc6}@media (max-width: 600px){.home-study-actions{grid-template-columns:1fr}}.home-review-button{background:#dcebe5;color:#214a3b}.home-review-button:hover:not(:disabled){background:#cce4d9}.correction-form{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #d4dfd9;border-radius:14px;background:#f8fbf9}.correction-form label{font-weight:700;line-height:1.5}.correction-answer{display:block;font-size:20px;font-weight:750;overflow-wrap:anywhere}.correction-input{width:100%;min-height:48px;padding:10px 13px;border:1.5px solid #a9bdb4;border-radius:9px;background:#fff;font:inherit;font-size:18px}.correction-input:focus-visible{outline:3px solid #91b9a4;outline-offset:2px}.correction-input[aria-invalid=true]{border-color:#c33b39}.correction-success{color:#236746;font-weight:700}.new-next-button{width:100%;margin-top:4px}@media (max-width: 390px){.home-study-actions{gap:8px}.home-study-actions .home-start-button{padding-inline:12px;font-size:14px}.correction-form{padding:12px}}.review-auto-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.review-auto-note{margin:0;font-size:14px;color:var(--muted);line-height:1.5;text-align:center}.review-struggled-button{align-self:center;min-height:44px;padding:9px 16px;font-size:14px;color:var(--muted)}.review-struggled-button:disabled{opacity:.5;cursor:default}.battle-banner.battle-v2{background:linear-gradient(180deg,#8fc1e8,#d8ebef 68%,#86b2a4)}.battle-v2 .battle-arena{isolation:isolate;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:auto}.battle-v2 .battle-v2-scene-layer{position:absolute;top:0;right:0;bottom:0;left:0;background-position:center center;background-size:contain;background-repeat:no-repeat;pointer-events:none;-webkit-user-select:none;user-select:none}.battle-v2 .battle-v2-scene-back{z-index:0;background-image:url(/battle/v2/temple-banner-back.webp)}.battle-v2 .battle-v2-scene-mid{z-index:1;background-image:url(/battle/v2/temple-banner-mid.webp)}.battle-v2 .battle-v2-scene-front{z-index:3;background-image:url(/battle/v2/temple-banner-front.webp)}.battle-v2 .battle-fighter{z-index:2;bottom:24%}.battle-v2 .battle-home{width:96px;height:96px}.battle-v2 .battle-position:before{bottom:1px;background:#1d251f3b}.battle-v2 .battle-position:not(.battle-running):not(.battle-damaged) .battle-motion,.battle-v2 .battle-fighter-boss .battle-position:not(.battle-running):not(.battle-damaged) .battle-motion{animation:battle-v2-idle 2.4s ease-in-out infinite}@keyframes battle-v2-idle{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}.battle-v2 .battle-position.battle-preparing:not(.battle-running):not(.battle-damaged) .battle-motion{animation:battle-v2-ready 1s ease-in-out infinite}@keyframes battle-v2-ready{0%,to{transform:translate(-1px,1px) rotate(-1deg)}50%{transform:translate(-3px,2px) rotate(-2deg)}}.battle-v2 .battle-sprite-hero-v2{position:relative;background:none;image-rendering:auto;overflow:visible;filter:none;isolation:isolate}.battle-v2 .battle-hero-artwork{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;transform-origin:50% 90%;pointer-events:none}.battle-v2 .battle-hero-charging{animation:battle-hero-charge .36s ease-in-out infinite}@keyframes battle-hero-charge{0%,to{transform:scale(1);filter:brightness(1.04)}50%{transform:scale(1.035);filter:brightness(1.4) drop-shadow(0 0 6px rgb(106 192 255 / .8))}}.battle-v2 .battle-hero-awakening{animation:battle-hero-power-pulse .25s ease-out both}@keyframes battle-hero-power-pulse{0%{transform:scale(1);filter:brightness(1.4)}24%{transform:scale(1.055);filter:brightness(2.2) saturate(.8) drop-shadow(0 0 8px rgb(147 213 255 / .95))}65%{transform:scale(1.035);filter:brightness(1.55) drop-shadow(0 0 5px rgb(147 213 255 / .65))}to{transform:scale(1);filter:brightness(1)}}.battle-v2 .battle-v2-hero-image{position:absolute;z-index:1;bottom:0;left:50%;height:100%;width:auto;max-width:none;object-fit:contain;transform:translate(-50%);pointer-events:none;-webkit-user-select:none;user-select:none;image-rendering:auto;filter:drop-shadow(0 3px 2px rgb(27 43 55 / .44))}.battle-v2 .battle-aura,.battle-v2 .battle-aura-burst{position:absolute;z-index:0;left:50%;bottom:-7%;width:132%;aspect-ratio:1;transform:translate(-50%);pointer-events:none}.battle-v2 .battle-aura{opacity:0;transition:opacity .36s ease-out}.battle-v2 .battle-aura-active{opacity:.62}.battle-v2 .battle-aura-deferred{animation:battle-aura-enter .3s .35s ease-out both}@keyframes battle-aura-enter{0%{opacity:0}to{opacity:.62}}.battle-v2 .battle-aura-loop,.battle-v2 .battle-aura-awaken{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.battle-v2 .battle-aura-loop{animation:battle-aura-drift 7.6s ease-in-out infinite}@keyframes battle-aura-drift{0%,to{transform:rotate(-5deg) scale(.97)}50%{transform:rotate(5deg) scale(1.025)}}.battle-v2 .battle-aura-burst{bottom:-12%;width:149%}.battle-v2 .battle-aura-awaken{animation:battle-aura-flash .6s ease-out both}@keyframes battle-aura-flash{0%{opacity:.2;transform:scale(.8)}10%,25%{opacity:1;transform:scale(1.05)}55%{opacity:.7;transform:scale(1.13)}to{opacity:0;transform:scale(1.2)}}.battle-v2 .battle-aura-glints{position:absolute;z-index:2;left:73%;bottom:23%;width:3px;height:3px;border-radius:50%;background:#effaff;box-shadow:0 0 5px 2px #4bb5ff8c,-27px 32px 4px 1px #ffde81a6;opacity:0;pointer-events:none;transition:opacity .26s ease-out}.battle-v2 .battle-aura-glints-active{opacity:.72;animation:battle-aura-twinkle 2.4s ease-in-out infinite}@keyframes battle-aura-twinkle{0%,to{opacity:.35}50%{opacity:.8}}@media (prefers-reduced-motion: reduce){.battle-v2 .battle-aura,.battle-v2 .battle-aura-glints{transition:none}.battle-v2 .battle-aura-loop,.battle-v2 .battle-aura-glints-active,.battle-v2 .battle-hero-charging,.battle-v2 .battle-hero-awakening,.battle-v2 .battle-aura-deferred{animation:none}.battle-v2 .battle-aura-burst{display:none}}.battle-v2 .battle-recoil-hero{animation:battle-v2-hero-hurt .65s cubic-bezier(.2,.7,.24,1) both}@keyframes battle-v2-hero-hurt{0%{transform:translate(0) rotate(0) scale(1);filter:brightness(1)}12%{transform:translate(-10px) translateY(-3px) rotate(-7deg) scale(1.04);filter:brightness(2.15) saturate(.5) drop-shadow(0 0 5px #fff)}33%{transform:translate(-19px) translateY(-6px) rotate(-10deg) scale(1.08);filter:brightness(1.65) saturate(.75)}65%{transform:translate(-13px) translateY(-3px) rotate(-6deg) scale(1.03);filter:brightness(1.08)}to{transform:translate(-7px) translateY(-1px) rotate(-3deg) scale(1);filter:brightness(1)}}.battle-v2 .battle-v2-hero-attackNormal{transform:translate(-38%)}.battle-v2 .battle-slash,.battle-v2 .battle-impact,.battle-v2 .battle-shockwave,.battle-v2 .battle-sparks{z-index:4}.battle-v2 .battle-damage,.battle-v2 .battle-hp,.battle-v2 .battle-stage-caption,.battle-v2 .battle-combo{z-index:5}.battle-v2 .battle-hp-label{color:#163746;text-shadow:0 1px 2px rgb(246 251 255 / .9)}.battle-v2 .battle-stage-caption{color:#193f55;text-shadow:0 1px 2px #fff}.battle-v2 .battle-hp{top:10px;width:76px;gap:5px;align-items:center;pointer-events:none}.battle-v2 .battle-hp-hero{left:2px}.battle-v2 .battle-hp-boss{right:2px}.battle-v2 .battle-hp-label{box-sizing:border-box;width:auto;max-width:100%;min-width:56px;padding:4px 7px;overflow:visible;border:1px solid rgb(221 232 226 / .65);border-radius:3px;background:#112835d6;box-shadow:0 2px 8px #0b192380,inset 0 1px #ffffff24;color:#f7fbff;text-shadow:0 1px 2px #101b28;font-size:11px;font-weight:850;line-height:14px;letter-spacing:.02em;text-align:center;text-overflow:clip;white-space:nowrap}.battle-v2 .battle-hp-track{position:relative;flex:none;width:16px;height:112px;border:2px solid #34515b;border-radius:4px;background:#142b398f;box-shadow:0 1px 4px #0e1f295c,inset 0 0 0 1px #ffffff2e}.battle-v2 .battle-hp-track>span{position:absolute;bottom:0;left:0;width:100%;transition:height .19s steps(10,end)}.battle-v2 .battle-hp-track:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.32;background:repeating-linear-gradient(to bottom,transparent 0 18px,rgb(12 36 46 / .65) 18px 19px)}.battle-v2 .battle-hp-hero .battle-hp-track>span{background:linear-gradient(0deg,#238b67,#67d4a6)}.battle-v2 .battle-hp-boss .battle-hp-track>span{background:linear-gradient(0deg,#b9415c,#f48591)}.battle-v2.battle-stage-2 .battle-hp-boss .battle-hp-track>span{background:linear-gradient(0deg,#593da4,#ba95f5)}@media (min-width: 960px){.battle-v2 .battle-hp-track{height:clamp(125px,14vw,160px);width:16px}}@media (max-width: 540px){.battle-v2 .battle-hp{top:8px;width:64px;gap:3px}.battle-v2 .battle-hp-hero{left:0}.battle-v2 .battle-hp-boss{right:0}.battle-v2 .battle-hp-label{min-width:48px;padding:3px 4px;font-size:10px;line-height:13px}.battle-v2 .battle-hp-track{width:12px;height:80px}}@media (max-width: 370px){.battle-v2 .battle-hp{top:6px}.battle-v2 .battle-hp-track{width:11px;height:66px}}.battle-v2.battle-stage-2{background:linear-gradient(180deg,#9fb6d8,#d3d6ec 70%,#819fa6)}.battle-v2.battle-stage-2 .battle-v2-scene-back{filter:saturate(.76) brightness(.89)}.battle-v2.battle-stage-2 .battle-v2-scene-mid,.battle-v2.battle-stage-2 .battle-v2-scene-front{filter:saturate(.85) brightness(.96)}@media (min-width: 960px){.session-pixel .battle-banner.battle-v2{height:auto;aspect-ratio:2172 / 500}.battle-v2 .battle-home{width:clamp(98px,11vw,132px);height:clamp(98px,11vw,132px)}}.battle-victory-hero{background-image:url(/battle/v2/hero-assets-final/06-victory.webp);background-size:contain;background-position:center bottom;image-rendering:auto}@media (max-width: 540px){.battle-v2 .battle-v2-scene-back{background-image:url(/battle/v2/temple-wide-back.webp)}.battle-v2 .battle-v2-scene-mid{background-image:url(/battle/v2/temple-wide-mid.webp)}.battle-v2 .battle-v2-scene-front{background-image:url(/battle/v2/temple-wide-front.webp)}.battle-v2 .battle-fighter{bottom:22%}.battle-v2 .battle-home{width:80px;height:80px}}@media (max-width: 370px){.battle-v2 .battle-home{width:70px;height:70px}}.battle-finisher-cutin{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none;background:#03091ead;animation:battle-finisher-screen 1.75s ease-out both}@keyframes battle-finisher-screen{0%{opacity:0}11%,88%{opacity:1}to{opacity:0}}.battle-finisher-cutin-band{position:absolute;inset-inline:-3%;top:50%;height:clamp(235px,44vh,395px);overflow:hidden;transform:translateY(-50%);clip-path:polygon(0 13%,100% 0,100% 87%,0 100%);border-top:2px solid rgb(164 211 255 / .75);background:repeating-linear-gradient(166deg,transparent 0 12px,rgb(94 170 252 / .1) 13px 15px,transparent 17px 29px),radial-gradient(ellipse at 75% 65%,#3262c2,#14285a 52%,#070e29);box-shadow:0 0 40px #54abffa3;animation:battle-finisher-band-in 1.75s cubic-bezier(.19,.65,.3,1) both}@keyframes battle-finisher-band-in{0%{opacity:0;translate:-13vw 8px}11%,86%{opacity:1;translate:0 0}to{opacity:0;translate:9vw 0}}.battle-finisher-cutin-ready,.battle-finisher-cutin-strike{position:absolute;height:185%;width:auto;max-width:none;right:max(0px,calc(50% - 315px));bottom:-57%;filter:drop-shadow(-20px 8px 20px rgb(17 33 72 / .7))}.battle-finisher-cutin-ready{animation:battle-finisher-ready 1.75s ease-out both}@keyframes battle-finisher-ready{0%{opacity:0;transform:translate(60px) scale(1.14)}12%{opacity:1;transform:translate(0) scale(1)}39%{opacity:1;transform:translate(-8px) scale(1.04)}49%,to{opacity:0;transform:translate(-30px) scale(1.08)}}.battle-finisher-cutin-strike{animation:battle-finisher-strike 1.75s ease-out both}@keyframes battle-finisher-strike{0%,42%{opacity:0;transform:translate(90px) scale(1.16)}53%,88%{opacity:1;transform:translate(-10px) scale(1.05)}to{opacity:0;transform:translate(-45px) scale(1.12)}}.battle-finisher-cutin-streak{position:absolute;inset:46% -30% auto;height:6px;background:#fff;box-shadow:0 0 8px 3px #b2efff,0 0 30px 9px #398dfc;transform:rotate(-10deg);animation:battle-finisher-streak 1.75s ease-out both}@keyframes battle-finisher-streak{0%,81%{opacity:0;scale:.1 1}88%{opacity:1;scale:1 1}to{opacity:0;scale:1.2 1}}.battle-v2 .battle-v2-hero-finisher{height:135%;transform:translate(-40%);filter:drop-shadow(0 0 10px rgb(64 170 255 / .75))}.battle-v2 .battle-v2-boss-executed .battle-position{animation:battle-finisher-boss-vanish 1.5s ease-in both}@keyframes battle-finisher-boss-vanish{0%,38%{opacity:1;filter:brightness(1)}46%{opacity:1;filter:brightness(2.8) saturate(.25)}72%{opacity:.85;filter:brightness(1.6) saturate(.6)}to{opacity:0;filter:brightness(2)}}.battle-v2 .battle-finisher-vfx{position:absolute;z-index:4;width:0;height:0;pointer-events:none}.battle-v2 .battle-finisher-vfx-slash,.battle-v2 .battle-finisher-vfx-burst{position:absolute;left:0;top:0;max-width:none;object-fit:contain;transform:translate(-50%,-50%);transform-origin:center}.battle-v2 .battle-finisher-vfx-slash{width:clamp(280px,63vw,740px);height:auto;animation:battle-finisher-slash-cut .8s ease-out both}@keyframes battle-finisher-slash-cut{0%{opacity:0;scale:.48}16%,58%{opacity:1;scale:1.05}to{opacity:0;scale:1.18}}.battle-v2 .battle-finisher-vfx-burst{width:clamp(138px,23vw,300px);height:auto;animation:battle-finisher-boss-burst 1.2s .25s ease-out both}@keyframes battle-finisher-boss-burst{0%,18%{opacity:0;scale:.4}41%{opacity:1;scale:.85}62%{opacity:.9;scale:1.15}to{opacity:0;scale:1.6}}@media (max-width: 540px){.battle-finisher-cutin-band{height:270px}.battle-finisher-cutin-ready,.battle-finisher-cutin-strike{height:152%;right:-17%;bottom:-36%}.battle-v2 .battle-v2-hero-finisher{height:140%}.battle-v2 .battle-finisher-vfx-slash{width:290px}.battle-v2 .battle-finisher-vfx-burst{width:160px}}@media (prefers-reduced-motion: reduce){.battle-finisher-cutin{display:none}.battle-v2 .battle-v2-boss-executed .battle-position,.battle-v2 .battle-finisher-vfx-slash,.battle-v2 .battle-finisher-vfx-burst{animation:none}}.battle-finisher-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8500;display:flex;align-items:center;justify-content:center;background:#050e20e3;padding:max(14px,env(safe-area-inset-top)) 12px max(14px,env(safe-area-inset-bottom));overflow-y:auto}.battle-finisher-preview-panel{width:min(960px,100%);max-height:95dvh;overflow-y:auto;padding:clamp(14px,3vw,26px);border:1px solid #6f8fba;border-radius:14px;box-shadow:0 22px 70px #00000073;background:#f1f5fb;color:#263b52}.battle-finisher-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.battle-finisher-preview-heading strong{display:block;font-size:clamp(18px,2.2vw,24px)}.battle-finisher-preview-heading span{display:block;margin-top:4px;font-size:12px;color:#5f748a}.battle-finisher-preview-close,.battle-finisher-preview-actions button{flex:none;border:1px solid #a2b8d5;border-radius:8px;background:#fff;color:#254968;padding:9px 12px;font:700 13px/1.35 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;cursor:pointer}.battle-finisher-preview-close:focus-visible,.battle-finisher-preview-actions button:focus-visible{outline:3px solid #599df3;outline-offset:2px}.battle-finisher-preview-stage .battle-banner.battle-v2{height:auto;aspect-ratio:2172/500;width:100%;border-radius:6px;border:2px solid #7e9ec4;box-shadow:0 5px 16px #2546652e}.battle-finisher-preview-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.battle-finisher-preview-actions button[aria-pressed=true]{background:#d8eafe;border-color:#6094d6}.battle-finisher-preview-actions .battle-finisher-preview-replay{margin-left:auto;background:#285d92;color:#fff;border-color:#285d92}.battle-finisher-preview-panel>p{margin:14px 0 0;font-size:12px;color:#6b7d8f}@media (max-width: 540px){.battle-finisher-preview-panel{padding:12px}.battle-finisher-preview-stage .battle-banner.battle-v2{height:138px;aspect-ratio:auto}.battle-finisher-preview-heading{margin-bottom:10px}}@media (max-width: 370px){.battle-finisher-preview-stage .battle-banner.battle-v2{height:120px}.battle-finisher-preview-actions .battle-finisher-preview-replay{margin-left:0}}.account-system-settings{border:1px solid #d4dfeb;border-radius:12px;background:#fff;box-shadow:0 1px 3px #0000000a}.account-system-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:14px 18px;list-style:none;cursor:pointer;font-size:15px;font-weight:700;color:#365168}.account-system-settings>summary::-webkit-details-marker{display:none}.account-system-settings>summary:focus-visible{outline:3px solid #599df3;outline-offset:2px}.account-system-chevron{width:9px;height:9px;border-right:2px solid #70889e;border-bottom:2px solid #70889e;transform:rotate(45deg);transition:transform .16s ease-out}.account-system-settings[open] .account-system-chevron{transform:rotate(225deg)}.account-system-settings-content{border-top:1px solid #e5ebf1;padding:16px 18px}.account-system-settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.account-system-settings-row strong{display:block;font-size:14px;color:#283f55}.account-system-settings-row p{margin:5px 0 0;max-width:42em;color:#698095;font-size:12px;line-height:1.55}.account-system-settings-row .btn{flex:none;font-size:13px;padding:10px 14px;border:1px solid #d3dff1}@media (max-width: 370px){.account-system-settings-row{align-items:flex-start;flex-direction:column}}@media (prefers-reduced-motion: reduce){.account-system-chevron{transition:none}}.card-row-controls{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.chapter-meta .chip-familiar{color:#206f64;background:#e2f4eb}.chapter-cards .status-familiar{color:#206f64}.chapter-cards .btn-familiar-active{color:#206f64;border-color:#a5d2bd;background:#ebf8f1}@media (max-width: 540px){.chapter-cards .card-row{gap:8px}.card-row-controls{gap:6px}}.my-character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.my-character-card{min-width:0;min-height:112px;display:flex;align-items:center;gap:13px;padding:10px 14px 10px 7px;border:1px solid #dfe7df;border-radius:15px;background:#fff;color:#293b31;text-align:left;cursor:pointer;font:inherit;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.my-character-card:hover{border-color:#92bba0}.my-character-card.is-selected{border-color:#3c8061;box-shadow:0 0 0 1px #3c8061;background:#f3faf5}.my-character-card:focus-visible{outline:3px solid #70a989;outline-offset:3px}.my-character-portrait{display:grid;place-items:end center;align-self:stretch;width:76px;min-width:76px;overflow:hidden;border-radius:10px;background:linear-gradient(160deg,#e6edf3,#d8e6dd)}.my-character-card:nth-child(2) .my-character-portrait{background:linear-gradient(160deg,#e6e5f6,#dcecf8)}.my-character-portrait img{display:block;height:100%;width:100%;object-fit:contain;object-position:center bottom}.my-character-description{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px}.my-character-description strong{font-size:15px;font-weight:750;line-height:1.3}.my-character-description small{font-size:12px;color:#7b8a80}.my-character-check{align-self:center;font-size:20px;color:#37785a}@media (max-width:540px){.my-character-grid{gap:8px}.my-character-card{flex-direction:column;justify-content:center;gap:8px;min-height:155px;padding:9px;position:relative;text-align:center}.my-character-portrait{align-self:center;height:90px;width:100%;min-width:0}.my-character-description{flex:none;gap:3px}.my-character-description strong{font-size:13px}.my-character-check{position:absolute;right:9px;top:8px;font-size:17px}}.battle-v2.battle-mage .battle-v2-hero-attackNormal,.battle-v2.battle-mage .battle-v2-hero-attackUp,.battle-v2.battle-mage .battle-v2-hero-finisher{height:100%;transform:translate(-50%)}.battle-v2.battle-mage .battle-aura-active{opacity:.4}.battle-v2.battle-mage .battle-aura-deferred{animation:battle-mage-aura-enter .3s .35s ease-out both}@keyframes battle-mage-aura-enter{0%{opacity:0}to{opacity:.4}}.battle-v2.battle-mage .battle-aura-loop{animation-duration:10s}.battle-v2.battle-mage .battle-aura-glints{box-shadow:0 0 6px 2px #878fff99}.battle-v2 .battle-mage-floor-circle{position:absolute;z-index:0;width:135%;height:auto;max-width:none;left:50%;bottom:-15%;opacity:.84;pointer-events:none;transform:translate(-50%) scaleY(.32);transform-origin:bottom center;animation:battle-mage-circle-in 455ms ease-out both}@keyframes battle-mage-circle-in{0%{opacity:0;filter:brightness(1)}30%{opacity:.8;filter:brightness(1.4)}to{opacity:.6;filter:brightness(1.05)}}.battle-v2 .battle-mage-staff-charge,.battle-v2 .battle-mage-projectile,.battle-v2 .battle-mage-impact{position:absolute;z-index:4;max-width:none;width:clamp(62px,9vw,108px);height:auto;left:var(--battle-magic-x);top:var(--battle-magic-y);pointer-events:none;-webkit-user-select:none;user-select:none;transform-origin:50% 50%}.battle-v2 .battle-mage-staff-charge{width:clamp(65px,9vw,105px);animation:battle-mage-charge .21s ease-in both}@keyframes battle-mage-charge{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}to{opacity:1;transform:translate(-50%,-50%) scale(1);filter:drop-shadow(0 0 10px #aaafff)}}.battle-v2 .battle-mage-projectile{width:clamp(80px,12vw,148px);animation:battle-mage-flight 245ms linear both}@keyframes battle-mage-flight{0%{opacity:.92;transform:translate(-50%,-50%) scale(.72)}90%{opacity:1;transform:translate(-50%,-50%) translate(var(--battle-magic-dx),var(--battle-magic-dy)) scale(1)}to{opacity:0;transform:translate(-50%,-50%) translate(var(--battle-magic-dx),var(--battle-magic-dy)) scale(1.07)}}.battle-v2 .battle-mage-impact{left:var(--battle-hit-x);top:var(--battle-hit-y);width:clamp(92px,16vw,195px);animation:battle-mage-impact-pop .36s ease-out both}@keyframes battle-mage-impact-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.52)}16%{opacity:1;transform:translate(-50%,-50%) scale(.98)}to{opacity:0;transform:translate(-50%,-50%) scale(1.24)}}.battle-victory-hero.battle-victory-mage{background-image:url(/battle/v2/girl-mage/victory.webp);animation:none}.battle-mage-cutin .battle-finisher-cutin-band{background:radial-gradient(ellipse at 60% 55%,#4654a5,#202455 58%,#090c2c);border-top-color:#b9b8ff}.battle-mage-cutin .battle-mage-cutin-art{right:max(0px,calc(50% - 210px));bottom:-46%;height:175%;animation:battle-mage-cutin-ready 1.75s ease-out both}@keyframes battle-mage-cutin-ready{0%{opacity:0;transform:translate(50px) scale(1.08)}12%,75%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(-24px) scale(1.05)}}.battle-v2 .battle-mage-finisher-sigil{position:absolute;left:0;top:0;width:clamp(136px,21vw,265px);aspect-ratio:1;border:3px solid rgb(176 199 255 / .89);border-radius:50%;box-shadow:inset 0 0 0 8px #6477e62e,0 0 30px 4px #8296ff73;transform:translate(-50%,-50%);animation:battle-mage-sigil-open 1.3s ease-out both}.battle-v2 .battle-mage-finisher-sigil:before{content:"";position:absolute;top:16%;right:16%;bottom:16%;left:16%;border:2px solid rgb(202 218 255 / .73);border-radius:50%;box-shadow:0 0 18px #6e93ffa6}@keyframes battle-mage-sigil-open{0%{opacity:0;scale:.3;rotate:-20deg}24%,65%{opacity:.9;scale:1;rotate:0deg}to{opacity:0;scale:1.25;rotate:18deg}}.battle-v2 .battle-mage-finisher-meteor{position:absolute;left:0;top:0;z-index:2;max-width:none;width:clamp(96px,15vw,190px);height:auto;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;transform-origin:center;filter:drop-shadow(0 0 14px rgb(150 170 255 / .8));animation:battle-mage-meteor 1.3s cubic-bezier(.55,.06,.68,.19) both}@keyframes battle-mage-meteor{0%{opacity:0;transform:translate(calc(-50% - 144px),calc(-50% - 250px)) scale(.45)}8%{opacity:1}88%{opacity:1;transform:translate(-50%,-50%) scale(1.85)}to{opacity:0;transform:translate(-50%,-50%) scale(2)}}.battle-v2.battle-mage .battle-finisher-vfx-burst{width:clamp(220px,38vw,470px);animation:battle-finisher-boss-burst .7s 1.3s ease-out both}.battle-finisher-preview-characters{display:flex;gap:8px;margin:0 0 10px}.battle-finisher-preview-characters button{border:1px solid #a2b8d5;border-radius:7px;background:#fff;padding:8px 12px;font:700 13px/1.4 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;cursor:pointer}.battle-finisher-preview-characters button[aria-pressed=true]{border-color:#776bb8;color:#4b4084;background:#e8e4fa}@media (max-width:540px){.battle-mage-cutin .battle-mage-cutin-art{right:-8%;bottom:-36%;height:145%}.battle-v2 .battle-mage-staff-charge{width:62px}.battle-v2 .battle-mage-projectile{width:80px}.battle-v2 .battle-mage-impact{width:108px}.battle-v2 .battle-mage-finisher-meteor{width:96px}.battle-v2.battle-mage .battle-finisher-vfx-burst{width:230px}}@media (prefers-reduced-motion:reduce){.battle-v2 .battle-mage-floor-circle,.battle-v2 .battle-mage-staff-charge,.battle-v2 .battle-mage-projectile,.battle-v2 .battle-mage-impact,.battle-v2 .battle-mage-finisher-sigil,.battle-v2 .battle-mage-finisher-meteor,.battle-v2.battle-mage .battle-finisher-vfx-burst{animation:none}}
