@font-face {
  font-family: "Nunito Sans";
  src: url("/glosor/fonts/nunito-sans.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: "Nunito Sans", ui-rounded, system-ui, sans-serif;
  font-synthesis: none;
  color: #11234b;
  background: #edf7fc;
  --ink: #11234b;
  --muted: #526c94;
  --blue: #0875f9;
  --green: #15b979;
  --line: #d3e4f1;
  --pink: #b52c51;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-width: 320px; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; color: var(--ink); background: #ffffffd9; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 17px; font-weight: 800; transition: background .16s, box-shadow .16s, transform .16s; }
button:hover:not(:disabled) { background: #e5f2ff; box-shadow: 0 4px 12px #305d9212; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: .55; }
button img { width: 22px; height: 22px; flex-shrink: 0; }
a { color: var(--blue); text-underline-offset: 4px; }
button:focus-visible, a:focus-visible { outline: 3px solid #0875f9; outline-offset: 4px; }
input, textarea { width: 100%; min-width: 0; border: 2px solid #a5c4e3; border-radius: 8px; padding: 14px 18px; background: #ffffffbf; color: var(--ink); font-size: 21px; line-height: 1.45; }
input { min-height: 56px; }
textarea { resize: vertical; min-height: 94px; }
input:focus, textarea:focus { border-color: var(--blue); outline: 3px solid #c6e1ff; outline-offset: 2px; }
textarea::placeholder { color: #8798b3; opacity: 1; }
label { display: block; font-weight: 700; font-size: 17px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: #0c1940; font-weight: 900; line-height: 1.13; overflow-wrap: anywhere; }
.app { width: min(100% - 64px, 1540px); margin: 0 auto; min-height: 100svh; }
.top { min-height: 100px; display: flex; align-items: center; gap: 26px; border-bottom: 1px solid #d4e6f2; }
.brand { display: flex; align-items: center; gap: 12px; color: #0c1940; text-decoration: none; font-size: 34px; font-weight: 900; white-space: nowrap; }
.brand > img { width: 65px; height: 58px; }
.desktop-nav { display: flex; gap: 8px; margin: 0 auto; }
.desktop-nav button { border: 0; background: transparent; color: #526c94; padding-inline: 18px; }
.desktop-nav button[aria-pressed="true"] { color: var(--blue); background: #dfedff; }
.desktop-nav button[aria-pressed="true"] img, .mobile-nav button[aria-pressed="true"] img { filter: invert(35%) sepia(91%) saturate(2676%) hue-rotate(201deg) brightness(99%) contrast(106%); }
.account { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; color: #176d7d; background: #d3f1ed; border: 2px solid #fff; font-weight: 900; font-size: 19px; }
.nickname { font-size: 17px; font-weight: 800; max-width: 13ch; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.icon-button { width: 46px; height: 46px; min-height: 46px; padding: 0; flex: 0 0 auto; border-radius: 50%; }
.glass { background: #f8fcfff0; border: 1px solid #fff; border-radius: 8px; box-shadow: 0 18px 48px #194e7a20, inset 0 1px 0 #fff; }
@supports (backdrop-filter: blur(20px)) {
  .glass { background: linear-gradient(135deg, #ffffffed, #f7fbffd4 55%, #e9f7ffb8); backdrop-filter: blur(20px) saturate(135%); -webkit-backdrop-filter: blur(20px) saturate(135%); }
}
.primary { color: #fff; border: 1px solid #006af2; background: linear-gradient(110deg, #1785ff, #086bf3); box-shadow: 0 8px 18px #1478f52e, inset 0 1px 0 #ffffff35; font-size: 21px; min-height: 58px; }
.primary:hover:not(:disabled) { background: #0768e7; box-shadow: 0 10px 22px #1478f544; }
.primary img { filter: brightness(0) invert(1); }
.wide { width: 100%; }
.text-button { border: 0; background: transparent; box-shadow: none; color: var(--blue); font-weight: 750; }
.form-message { color: #aa2448; font-size: 17px; line-height: 1.45; padding-block: 8px; }
.form-message:empty, .sidebar-message:empty { display: none; }
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.muted { color: var(--muted); line-height: 1.5; font-size: 17px; }

.practice-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; padding-top: 26px; align-items: start; }
.practice-main { position: relative; isolation: isolate; min-width: 0; min-height: 780px; padding-bottom: 36px; background: #dff1fa; }
.world-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right top; pointer-events: none; }
.journey-hero { position: relative; min-height: 238px; padding: 34px 38px 16px; }
.journey-copy { max-width: 72%; }
.journey-copy h1 { font-size: 46px; margin-bottom: 24px; }
.journey-meter { display: flex; align-items: center; gap: 16px; }
.journey-meter progress { flex: 1; min-width: 70px; }
.journey-meter strong { font-size: 17px; white-space: nowrap; }
progress { appearance: none; display: block; width: 100%; height: 15px; overflow: hidden; border: 0; border-radius: 99px; background: #c9dce8; }
progress::-webkit-progress-bar { background: #c9dce8; border-radius: 99px; }
progress::-webkit-progress-value { background: #19bd79; border-radius: 99px; }
progress::-moz-progress-bar { background: #19bd79; border-radius: 99px; }
.points-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px; margin-top: 18px; border-radius: 99px; background: #ffffffda; box-shadow: 0 4px 14px #205a8f13; color: #14234a; font-weight: 800; font-size: 18px; }
.points-chip img { width: 23px; height: 23px; filter: invert(72%) sepia(92%) saturate(2150%) hue-rotate(358deg) brightness(105%); }
.question { width: calc(100% - 72px); max-width: 830px; margin: 22px auto 0; padding: 26px 40px 24px; text-align: center; }
.question-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: #586f92; }
.question-meta #direction { color: #246bb4; }
#word { font-size: 56px; line-height: 1.17; overflow-wrap: anywhere; margin: 30px 0 22px; }
.answer-form { display: grid; gap: 14px; width: min(100%, 640px); margin: 0 auto; text-align: left; }
.answer-form label { text-align: center; font-size: 22px; color: #435f87; font-weight: 650; }
.answer-form textarea { font-size: 25px; }
#unknownButton { margin-top: 12px; font-size: 18px; }
.status-screen { min-height: 330px; padding: 65px 30px; text-align: center; background: #ffffffc7; margin: 24px 36px; }
.status-screen h2 { font-size: 30px; }
.status-screen p { margin-block: 18px; color: var(--muted); line-height: 1.5; font-size: 18px; }

.question:has(#correction:not([hidden])) #word { font-size: 36px; margin: 22px 0; }
.correction { border-top: 1px solid #b9d8e9; padding-top: 24px; text-align: left; }
.feedback-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.feedback-heading h3 { flex: 1 1 200px; }
#correctionSummary { font-size: 32px; }
#correctionScore { flex-shrink: 0; font-size: 30px; color: #086cbb; padding: 9px 15px; border-radius: 8px; background: #e0f0ff; }
.question[data-state="correct"] #correctionSummary { color: #087650; }
.question[data-state="correct"] #correctionScore { color: #087650; background: #c9f5e5; }
.question[data-state="partial"] #correctionScore { color: #875312; background: #fff0bd; }
.question[data-state="wrong"] #correctionScore { color: #a82949; background: #ffdde6; }
.answer-comparison { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; }
.typed-label { font-size: 17px; color: #52698c; font-weight: 700; margin-bottom: 8px; }
.annotated, .expected { min-height: 50px; padding: 7px 0 12px; border-bottom: 2px solid #d0deec; font-size: 32px; font-weight: 800; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.expected { color: #087452; border-bottom-color: #a6d9c5; }
.annotated .error, .annotated .error-case { color: #a41940; background: #ffc4d4; text-decoration: underline 3px #b02047; text-underline-offset: 4px; border-radius: 3px; }
.annotated .case { color: #144eac; background: #cde3ff; text-decoration: underline 3px #206bc9; text-underline-offset: 4px; border-radius: 3px; }
.annotated .error-case { text-decoration-color: #206bc9; }
.annotated .missing { display: inline-block; color: #77510b; background: #ffe49b; padding: 0 4px; margin-inline: 2px; border-radius: 3px; font-size: 25px; border-bottom: 3px solid #c78811; }
.deductions { list-style: none; display: grid; gap: 12px; padding: 0; margin: 22px 0 26px; }
.deduction { color: #30486d; font-size: 20px; font-weight: 700; line-height: 1.5; padding-left: 18px; border-left: 4px solid #e6b845; overflow-wrap: anywhere; }
.deduction.case { border-left-color: #4b91e9; }
.deduction.wrong, .deduction.skip { border-left-color: #df7490; }
.deduction strong, .deduction .penalty { color: #a02c48; }
.round-message { text-align: left; }

.dashboard-sidebar { display: grid; gap: 22px; min-width: 0; }
.sidebar-section { background: #ffffffb8; padding: 22px 22px 24px; border-bottom: 1px solid #d4e5ef; min-width: 0; }
.sidebar-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.sidebar-heading > img { width: 28px; height: 28px; }
.sidebar-heading > img[src*="trophy"] { filter: invert(69%) sepia(95%) saturate(1828%) hue-rotate(358deg) brightness(102%); }
.sidebar-heading > img[src*="gift"] { filter: invert(44%) sepia(71%) saturate(1850%) hue-rotate(237deg); }
.sidebar-heading h2 { font-size: 24px; white-space: nowrap; }
.sidebar-link { padding: 0; min-height: 40px; font-size: 14px; font-weight: 700; color: var(--blue); border: 0; background: none; gap: 5px; margin-left: auto; white-space: nowrap; }
.sidebar-link img { width: 16px; height: 16px; }
.sidebar-message { font-size: 15px; line-height: 1.5; color: var(--muted); margin-block: 12px; }
.goal-section { display: flex; align-items: center; gap: 18px; padding: 22px; background: #e5f6f1; border-bottom: 2px solid #b5e3d3; }
.goal-ring { position: relative; flex: 0 0 82px; width: 82px; height: 82px; }
.goal-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.goal-ring circle { fill: none; stroke-width: 6; }
.ring-track { stroke: #c4e5da; }
.ring-value { stroke: #10ad75; stroke-linecap: round; transition: stroke-dashoffset .5s; }
.goal-ring img { position: absolute; width: 34px; height: 34px; inset: 24px; filter: invert(44%) sepia(79%) saturate(729%) hue-rotate(113deg) brightness(84%); }
.goal-copy { flex: 1; min-width: 0; }
.goal-copy h2 { font-size: 20px; }
.goal-copy strong { display: block; font-size: 26px; margin-block: 4px; }
.goal-copy p { color: #42685f; font-size: 15px; line-height: 1.4; margin-bottom: 10px; }
.goal-copy progress { height: 7px; }
.sidebar-rank-list, .rank-list { list-style: none; padding: 0; margin: 0; }
.sidebar-rank-list li, .rank-list li { display: grid; grid-template-columns: 30px 38px minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 11px 0; border-bottom: 1px solid #dce8f1; font-size: 16px; }
.sidebar-rank-list li > span:first-child, .place { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; background: #e5edf6; color: #375171; font-weight: 800; }
.sidebar-rank-list li:first-child > span:first-child, .rank-list li:first-child .place { background: #ffdc79; color: #644609; }
.sidebar-rank-list .avatar, .rank-list .avatar { width: 36px; height: 36px; font-size: 17px; }
.sidebar-rank-list strong, .rank-list strong { min-width: 0; overflow-wrap: anywhere; }
.player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sidebar-rank-list li > span:last-child, .points { font-size: 15px; font-weight: 750; color: #4c668b; white-space: nowrap; }
.sidebar-rank-list li.is-self, .rank-list li.is-self { background: #dcefff; border-radius: 8px; padding-inline: 8px; }
.sidebar-badges, .badges { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.badge-tile { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; gap: 8px; padding: 4px 0; }
.badge-tile img { width: 82px; height: 82px; object-fit: contain; }
.badge-tile strong { color: #192b50; font-size: 14px; font-weight: 850; line-height: 1.25; overflow-wrap: anywhere; }
.badge-tile small { color: #477d68; font-size: 12px; line-height: 1.3; }
.badge-tile.is-locked img { filter: grayscale(.75); opacity: .42; }
.badge-tile.is-locked small { color: #64758c; }
.sidebar-goals { display: grid; gap: 12px; }
.sidebar-goals .reward-tile { grid-template-columns: 52px minmax(0,1fr); gap: 10px; padding: 8px 0; border: 0; border-bottom: 1px solid #dce8f1; border-radius: 0; background: transparent; }
.sidebar-goals .reward-emblem { width: 52px; height: 52px; }
.sidebar-goals .reward-tile strong { font-size: 15px; }
.sidebar-goals .reward-tile p { font-size: 13px; }
.sidebar-goals .reward-tier { font-size: 12px; }
.sidebar-goals progress { height: 6px; margin-top: 5px; }

.result { width: calc(100% - 72px); max-width: 780px; margin: 18px auto 0; padding: 28px 40px 34px; text-align: center; }
.medal-art { display: block; width: 140px; height: 140px; object-fit: contain; margin: 0 auto 16px; }
.result h2 { font-size: 44px; }
.result > p:not(.eyebrow) { font-size: 21px; color: var(--muted); margin-top: 12px; }
.result-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin: 24px 0; padding: 24px 0; border-block: 1px solid #c7dfed; }
.result-stats strong { display: block; font-size: 29px; margin-bottom: 6px; }
.result-stats span { color: var(--muted); font-size: 15px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.reward-unlock { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 10px; max-width: 560px; margin: 20px auto 0; padding: 14px 0; border-block: 1px solid #b9d8e9; text-align: left; }
.reward-unlock > p { grid-column: 1 / -1; margin: 0; color: #087650; font-size: 14px; font-weight: 800; }
.reward-unlock .reward-tile { grid-template-columns: 58px minmax(0,1fr); gap: 9px; padding: 8px; }
.reward-unlock .reward-emblem { width: 58px; height: 58px; }
.reward-unlock .reward-tile strong { font-size: 15px; }
.reward-unlock .reward-tile p, .reward-unlock .reward-tier, .reward-unlock progress { display: none; }
.secondary-view { max-width: 1080px; margin: 38px auto; padding: 30px 42px 38px; }
body:has(.secondary-view:not([hidden])) { background: #dceefa url("/glosor/assets/alpine-world.png") center / cover fixed; }
.section-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.section-top > img { width: 78px; height: 78px; object-fit: contain; }
.ranking-heading, .progress-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ranking-heading h2, .progress-heading h2 { font-size: 38px; }
.ranking-actions { display: flex; gap: 10px; }
.rank-list { margin: 26px 0; }
.rank-list li { min-height: 72px; grid-template-columns: 40px 46px minmax(0,1fr) auto; gap: 16px; padding: 12px; font-size: 22px; }
.rank-list .avatar { width: 44px; height: 44px; font-size: 20px; }
.rank-list .points { font-size: 20px; }
.total-points { color: #096dce; font-size: 27px; white-space: nowrap; }
.badges { margin: 32px 0; gap: 24px; }
.badges .badge-tile { padding-block: 20px; background: #ffffff6e; border-bottom: 3px solid #dce9ed; }
.badges .badge-tile:not(.is-locked) { border-bottom-color: #72caaa; }
.badges .badge-tile img { width: 125px; height: 125px; }
.badges .badge-tile strong { font-size: 20px; }
.badges .badge-tile small { font-size: 15px; }
.rewards-section { margin-top: 34px; padding-top: 26px; border-top: 1px solid #c9dfea; }
.rewards-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rewards-section-heading h3 { font-size: 27px; }
.rewards-section-heading + .reward-grid { margin-top: 16px; }
.reward-meta, .reward-count { color: #506d91; font-size: 15px; font-weight: 700; line-height: 1.4; }
.reward-meta { text-align: right; }
.reward-count { margin: 9px 0 16px; }
.reward-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.reward-tile { display: grid; grid-template-columns: 82px minmax(0,1fr); align-items: start; gap: 12px; min-width: 0; padding: 14px; border: 1px solid #c9dfea; border-radius: 8px; background: #ffffff87; }
.reward-grid > .reward-tile { grid-template-columns: 1fr; text-align: center; }.reward-grid > .reward-tile > div { justify-items: center; }.reward-grid > .reward-tile .reward-emblem, .reward-grid > .legacy-reward img { width: 96px; height: 96px; margin-inline: auto; }.reward-grid > .reward-tile p, .reward-grid > .reward-tile progress { width: 100%; }
.reward-tile[data-tier="1"] { border-color: #c9dfea; }.reward-tile[data-tier="2"] { border-color: #9aaab7; }.reward-tile[data-tier="3"] { border-color: #d39b31; }.reward-tile[data-tier="4"] { border-color: #9c6cad; }
.reward-tile.is-earned { border-color: #8bcfb6; background: #effaf5b8; }
.reward-emblem { display: block; width: 82px; height: 82px; flex: 0 0 auto; background-image: url("/glosor/assets/reward-emblems.png"); background-repeat: no-repeat; background-size: 400% 200%; background-position: 0 0; }
.reward-emblem--weekly-start { background-position: 0 0; }.reward-emblem--weekly-days { background-position: 33.333% 0; }.reward-emblem--weekly-comeback { background-position: 66.667% 0; }.reward-emblem--weekly-perfect { background-position: 100% 0; }
.reward-emblem--collector { background-position: 0 100%; }.reward-emblem--explorer { background-position: 33.333% 100%; }.reward-emblem--heart { background-position: 66.667% 100%; }.reward-emblem--comeback { background-position: 100% 100%; }
.reward-tile[data-tier="2"] .reward-emblem--collector, .reward-tile[data-tier="2"] .reward-emblem--explorer, .reward-tile[data-tier="2"] .reward-emblem--heart, .reward-tile[data-tier="2"] .reward-emblem--comeback { background-image: url("/glosor/assets/reward-emblems-tiers.png"); background-size: 400% 339.375%; background-position-y: 0; }
.reward-tile[data-tier="3"] .reward-emblem--collector, .reward-tile[data-tier="3"] .reward-emblem--explorer, .reward-tile[data-tier="3"] .reward-emblem--heart, .reward-tile[data-tier="3"] .reward-emblem--comeback { background-image: url("/glosor/assets/reward-emblems-tiers.png"); background-size: 400% 319.4118%; background-position-y: 42.8954%; }
.reward-tile[data-tier="4"] .reward-emblem--collector, .reward-tile[data-tier="4"] .reward-emblem--explorer, .reward-tile[data-tier="4"] .reward-emblem--heart, .reward-tile[data-tier="4"] .reward-emblem--comeback { background-image: url("/glosor/assets/reward-emblems-tiers.png"); background-size: 400% 254.9296%; background-position-y: 100%; }
.reward-tile > div { min-width: 0; display: grid; align-content: start; gap: 5px; }
.reward-tile strong { color: #192b50; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.reward-tile p { color: #536d8e; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.reward-tier { color: #9a6814; font-size: 14px; letter-spacing: 0; line-height: 1; }
.reward-series-weekly-start .reward-tier, .reward-series-weekly-days .reward-tier, .reward-series-weekly-comeback .reward-tier, .reward-series-weekly-perfect .reward-tier { color: #526c8c; font-size: 12px; font-weight: 750; }
.reward-tile[data-tier="2"] .reward-tier { color: #657787; }.reward-tile[data-tier="3"] .reward-tier { color: #a66a10; }.reward-tile[data-tier="4"] .reward-tier { color: #875692; }
.reward-status { color: #40715f; font-size: 13px; font-weight: 750; }
.reward-tile:not(.is-earned) .reward-status { color: #526c8c; }
.reward-archive { color: #637993; font-size: 12px; line-height: 1.3; }
.reward-tile progress { width: 100%; height: 7px; margin-top: 3px; }
.reward-empty { grid-column: 1 / -1; color: #536d8e; font-size: 15px; line-height: 1.45; padding: 8px 0; }
.legacy-reward { grid-template-columns: 82px minmax(0,1fr); }
.legacy-reward img { width: 82px; height: 82px; object-fit: contain; }
.collection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.history { list-style: none; margin: 22px 0; padding: 0; }
.history li { display: flex; justify-content: space-between; gap: 22px; padding: 20px 0; border-top: 1px solid #d1e1ec; font-size: 19px; }
.history strong { overflow-wrap: anywhere; }
.history span { text-align: right; color: var(--muted); }
footer { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; color: #5c7493; font-size: 14px; }
footer a { color: #5c7493; }
.mobile-nav { display: none; }

.auth-view { min-height: 100svh; display: grid; place-content: center; padding: 115px 24px 40px; background: #dcedf7 url("/glosor/assets/alpine-world.png") center / cover no-repeat; position: relative; }
.app:has(#authView:not([hidden])) { width: 100%; }
.auth-intro { position: absolute; top: 28px; left: 36px; display: flex; gap: 12px; align-items: center; }
.auth-intro img { width: 68px; height: 58px; }
.auth-intro h1 { font-size: 34px; }
.auth-box { width: min(430px, 100%); padding: 28px; }
.segment { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 24px; gap: 5px; background: #d8eaf680; border-radius: 8px; }
.segment button { border: 0; background: transparent; padding-inline: 12px; color: #4c658a; }
.segment button[aria-selected="true"] { color: #0a6fe8; background: #fff; box-shadow: 0 2px 7px #244a7020; }
.form-stack { display: grid; gap: 12px; }
.form-stack label:not(:first-child) { margin-top: 5px; }
.form-stack .primary { margin-top: 8px; }
#confetti { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 50; }
#confetti i { position: absolute; left: 50%; top: 60%; width: 9px; height: 15px; background: var(--color); border-radius: 2px; animation: burst .85s ease-out forwards; }
@keyframes burst { from { transform: translate(0,0) rotate(0); opacity: 1; } to { transform: translate(var(--x),var(--y)) rotate(240deg); opacity: 0; } }
@media (min-width: 1700px) { .practice-grid { grid-template-columns: minmax(0,1fr) 410px; gap: 30px; }.practice-main { min-height: 850px; }.journey-copy h1 { font-size: 50px; }.journey-hero { min-height: 260px; }.sidebar-heading h2 { font-size: 27px; }.sidebar-section { padding: 26px; } }
@media (max-width: 1150px) {
  .app { width: calc(100% - 40px); }.brand { font-size: 28px; }.brand > img { width: 52px; }.top { gap: 16px; }.desktop-nav { gap: 0; }.desktop-nav button { padding-inline: 12px; font-size: 16px; }.nickname { max-width: 9ch; }.account > .avatar { display: none; }
  .practice-grid { grid-template-columns: minmax(0,1fr) 320px; gap: 18px; }.journey-hero { padding: 28px 26px 12px; }.journey-copy { max-width: 85%; }.journey-copy h1 { font-size: 38px; }.question, .result { width: calc(100% - 40px); padding-inline: 26px; }#word { font-size: 46px; }
  .sidebar-section { padding: 20px 16px; }.sidebar-heading { gap: 8px; }.sidebar-heading h2 { font-size: 22px; }.sidebar-link { font-size: 13px; }.sidebar-link img { display: none; }.sidebar-rank-list li { grid-template-columns: 26px 32px minmax(0,1fr) auto; gap: 6px; font-size: 15px; }.sidebar-rank-list .avatar { width: 30px; height: 30px; }.sidebar-rank-list li > span:last-child { font-size: 13px; }.badge-tile img { width: 74px; height: 74px; }
  .feedback-heading { gap: 12px; }#correctionSummary { font-size: 28px; }#correctionScore { font-size: 26px; }.answer-comparison { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }.account { margin-left: auto; }.nickname { max-width: 18ch; }.top { min-height: 82px; }.practice-grid { grid-template-columns: 1fr; }.practice-main { min-height: 0; }.journey-copy { max-width: 76%; }.dashboard-sidebar { grid-template-columns: 1fr 1fr; gap: 16px; }.goal-section { grid-column: 1 / -1; }.goal-copy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; }.goal-copy h2 { font-size: 22px; }.goal-copy strong { margin: 0; }.goal-copy p { margin: 0; }.goal-copy progress { grid-column: 1 / -1; }
  body:has(#mobileNav:not([hidden])) { padding-bottom: 92px; }.mobile-nav { position: fixed; z-index: 20; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(480px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 7px; background: #f9fcfff0; border: 1px solid white; border-radius: 8px; box-shadow: 0 7px 28px #123d6730; backdrop-filter: blur(24px); }.mobile-nav button { display: flex; flex-direction: column; gap: 4px; font-size: 13px; min-height: 58px; border: 0; background: transparent; padding: 6px; color: #527097; }.mobile-nav button[aria-pressed="true"] { color: #066ddd; background: #e0efff; }.mobile-nav img { width: 25px; height: 25px; }
}
@media (max-width: 600px) {
  .app { width: 100%; }.top { padding: 12px 17px; gap: 10px; min-height: 76px; flex-wrap: wrap; }.brand { font-size: 25px; gap: 7px; }.brand > img { width: 44px; height: 42px; }.account { gap: 6px; }.nickname { max-width: 11ch; font-size: 15px; }.icon-button { width: 40px; height: 40px; min-height: 40px; }.account .icon-button { width: 35px; min-height: 35px; height: 35px; }.account .icon-button img { width: 19px; height: 19px; }
  .practice-grid { padding: 0; gap: 20px; }.practice-main { padding-bottom: 26px; }.world-art { object-position: 65% top; }.journey-hero { min-height: 218px; padding: 24px 20px 14px; }.journey-copy { max-width: 90%; }.journey-copy h1 { font-size: 34px; margin-bottom: 18px; max-width: 14ch; }.eyebrow { font-size: 12px; margin-bottom: 8px; }.journey-meter { gap: 12px; }.journey-meter strong { font-size: 14px; }.journey-meter progress { height: 12px; }.points-chip { font-size: 16px; margin-top: 14px; padding: 7px 12px; }.points-chip img { width: 20px; height: 20px; }
  .question { width: calc(100% - 28px); margin-top: 8px; padding: 20px 20px 18px; }.question-meta { font-size: 12px; gap: 8px; }#word { font-size: 38px; margin: 26px 0 20px; }.answer-form label { font-size: 19px; }.answer-form textarea { font-size: 23px; padding: 13px 14px; }.primary { font-size: 20px; min-height: 55px; }.text-button { font-size: 17px; }#unknownButton { margin-top: 8px; } .status-screen { margin: 14px; padding: 35px 20px; min-height: 230px; }
  .question:has(#correction:not([hidden])) #word { font-size: 30px; margin: 20px 0; }.correction { padding-top: 20px; }.feedback-heading { align-items: flex-start; margin-bottom: 20px; }#correctionSummary { font-size: 27px; }#correctionScore { font-size: 25px; padding: 7px 10px; }.typed-label { font-size: 16px; }.annotated, .expected { font-size: 28px; min-height: 44px; }.annotated .missing { font-size: 24px; }.deductions { margin: 20px 0; gap: 14px; }.deduction { font-size: 19px; padding-left: 12px; }.answer-comparison { gap: 16px; }
  .dashboard-sidebar { display: flex; flex-direction: column; gap: 0; padding: 0 16px; }.goal-section { padding: 19px 16px; margin-bottom: 14px; }.goal-ring { flex-basis: 74px; width: 74px; height: 74px; }.goal-ring img { width: 30px; height: 30px; inset: 22px; }.goal-copy { gap: 4px 10px; }.goal-copy h2 { font-size: 20px; }.goal-copy strong { font-size: 22px; }.goal-copy p { font-size: 14px; grid-column: 1 / -1; }.sidebar-section { padding: 22px 16px; }.sidebar-heading h2 { font-size: 24px; }.sidebar-link { font-size: 14px; }.sidebar-rank-list li { grid-template-columns: 28px 36px minmax(0,1fr) auto; gap: 9px; font-size: 17px; min-height: 58px; }.sidebar-rank-list .avatar { width: 36px; height: 36px; }.sidebar-rank-list li > span:last-child { font-size: 15px; }.badge-tile img { width: 82px; height: 82px; }.badge-tile strong { font-size: 14px; }
  .result { width: calc(100% - 28px); padding: 24px 20px; }.result h2 { font-size: 34px; }.result > p:not(.eyebrow) { font-size: 18px; }.medal-art { width: 116px; height: 116px; }.result-stats { gap: 8px; margin-block: 20px; padding-block: 20px; }.result-stats strong { font-size: 23px; }.result-stats span { font-size: 13px; }.result-actions { flex-direction: column; }.result-actions button { width: 100%; }
  .secondary-view { margin: 16px 12px; padding: 20px 18px 26px; }.section-top > img { width: 60px; height: 60px; }.ranking-heading, .progress-heading { flex-wrap: wrap; gap: 16px; }.ranking-heading h2, .progress-heading h2 { font-size: 31px; }.ranking-actions { margin-left: auto; }.muted { font-size: 16px; }.rank-list li { grid-template-columns: 28px 34px minmax(0,1fr) auto; gap: 8px; padding: 12px 0; font-size: 17px; }.rank-list .avatar { width: 33px; height: 33px; font-size: 16px; }.rank-list .points { font-size: 13px; white-space: normal; max-width: 9ch; text-align: right; }.badges { gap: 10px; margin-block: 24px; }.badges .badge-tile img { width: 82px; height: 82px; }.badges .badge-tile strong { font-size: 15px; }.badges .badge-tile small { font-size: 12px; }.badges .badge-tile { padding-block: 12px; }.history li { font-size: 16px; gap: 12px; }.history span { min-width: 8ch; }.total-points { font-size: 23px; }
  footer { margin: 0 20px; font-size: 13px; }.mobile-nav { bottom: max(8px, env(safe-area-inset-bottom)); }.auth-view { padding: 106px 18px 35px; background-position: 66% center; }.auth-intro { top: 24px; left: 20px; gap: 7px; }.auth-intro img { width: 46px; height: 42px; }.auth-intro h1 { font-size: 26px; }.auth-box { padding: 23px; }.segment button { font-size: 16px; padding-inline: 8px; }
}
@media (max-width: 360px) { .top { align-content: center; gap: 3px; }.account { margin-left: auto; }.journey-copy h1 { font-size: 31px; }.question { padding-inline: 16px; }#word { font-size: 34px; }#correctionSummary { font-size: 25px; }#correctionScore { font-size: 24px; }.sidebar-heading h2 { font-size: 22px; }.sidebar-rank-list li { gap: 6px; }.goal-section { gap: 12px; }.goal-copy strong { font-size: 19px; }.badge-tile img { width: 72px; height: 72px; } }
.deduction .penalty { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 6px; background: #fff0d2; color: #734d08; font-size: 16px; white-space: nowrap; }
.sidebar-rank-list li { grid-template-columns: 28px minmax(0,1fr) auto; }
.rank-list li { grid-template-columns: 40px minmax(0,1fr) auto; }
@media (max-width: 600px) {
  .goal-copy { display: block; }
  .goal-copy h2 { overflow-wrap: normal; }
  .goal-copy strong { margin-block: 3px; }
  .goal-copy p { margin-bottom: 8px; }
  .rank-list li { grid-template-columns: 28px minmax(0,1fr) auto; }
  .player { gap: 8px; }
  .feedback-heading h3 { flex-basis: 100%; }
}
@media (max-width: 360px) { .sidebar-badges { gap: 6px; }.sidebar-badges .badge-tile strong { font-size: 12px; } }
@media (max-width: 600px) {
  .rewards-section { margin-top: 26px; padding-top: 20px; }.rewards-section-heading { flex-direction: column; gap: 5px; }.rewards-section-heading h3 { font-size: 24px; }.reward-meta, .reward-count { font-size: 13px; }.reward-meta { text-align: left; }.rewards-section-heading .reward-count { margin: 0; }.reward-grid, .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.reward-tile { grid-template-columns: 58px minmax(0,1fr); gap: 9px; padding: 10px; }.reward-emblem, .legacy-reward img { width: 58px; height: 58px; }.reward-tile strong { font-size: 14px; }.reward-tile p { font-size: 12px; }.reward-tier, .reward-status { font-size: 12px; }.legacy-reward { grid-template-columns: 58px minmax(0,1fr); }
  .reward-grid > .reward-tile .reward-emblem, .reward-grid > .legacy-reward img { width: 72px; height: 72px; }
  .reward-unlock { grid-template-columns: 1fr; }.reward-unlock .reward-emblem { width: 58px; height: 58px; }.reward-unlock .reward-tile strong { font-size: 15px; }
}
@media (max-width: 360px) { .reward-grid, .collection-grid { grid-template-columns: 1fr; gap: 7px; }.reward-tile { grid-template-columns: 48px minmax(0,1fr); gap: 7px; padding: 8px; }.reward-emblem, .legacy-reward img { width: 48px; height: 48px; }.legacy-reward { grid-template-columns: 48px minmax(0,1fr); }.reward-grid > .reward-tile .reward-emblem, .reward-grid > .legacy-reward img { width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } #confetti { display: none; } }
