@font-face{font-family:Rubik Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(./rubik-latin-wght-normal-CnQIisVs.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Rubik Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(./rubik-latin-ext-wght-normal-OacczzuJ.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Rubik Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(./rubik-arabic-wght-normal-CGnJ-sf6.woff2) format("woff2-variations");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Noto Kufi Arabic Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./noto-kufi-arabic-arabic-wght-normal-DGgC7XND.woff2) format("woff2-variations");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:"Press Start 2P";font-style:normal;font-display:swap;font-weight:400;src:url(./press-start-2p-latin-400-normal-_wFEWmAB.woff2) format("woff2")}:root{--po-bg: #0c0f24;--po-bg-glow: #1c2266;--po-surface: #171c44;--po-surface-2: #1d2353;--po-border: #2b3270;--po-border-control: #6b75c9;--po-shadow: #05071a;--po-text: #eef0ff;--po-text-muted: #a6aedb;--po-primary: #ffcf6e;--po-on-primary: #0c0f24;--po-accent: #3fe0c5;--po-on-accent: #0c0f24;--po-success: #5ee07a;--po-on-success: #0c0f24;--po-danger: #ff8a8a;--po-danger-strong: #b3261e;--po-on-danger-strong: #ffffff;--po-warning: #ffcf6e;--po-focus: var(--po-accent);--po-overlay: rgb(12 15 36 / .82);--po-subject-arcade: #ff7ab6;--po-subject-math: #ffcf6e;--po-subject-science: #7cc4ff;--po-subject-language: #8ce27a;--po-font-text: "Rubik Variable", "Rubik", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;--po-font-pixel: "Press Start 2P", "Courier New", monospace;--po-font-kufi: "Noto Kufi Arabic Variable", "Noto Kufi Arabic", "Rubik Variable", Tahoma, sans-serif;--po-font-display: var(--po-font-pixel);--po-text-sm: 14px;--po-text-md: 16px;--po-text-lg: 18px;--po-text-xl: 20px;--po-text-h2: clamp(22px, 2vw + 14px, 24px);--po-text-h1: clamp(26px, 2.4vw + 16px, 32px);--po-text-play: clamp(22px, 2.5vw + 12px, 28px);--po-text-display: clamp(16px, 2.6vw, 26px);--po-leading-tight: 1.3;--po-leading: 1.55;--po-leading-display: 1.6;--po-space-1: 4px;--po-space-2: 8px;--po-space-3: 12px;--po-space-4: 16px;--po-space-5: 24px;--po-space-6: 32px;--po-space-7: 48px;--po-space-8: 64px;--po-tap: 48px;--po-tap-lg: 64px;--po-radius-sm: 4px;--po-radius-md: 8px;--po-radius-lg: 12px;--po-radius-pill: 999px;--po-shadow-x: 1;--po-shadow-1: calc(var(--po-shadow-x) * 2px) 2px 0 var(--po-shadow);--po-shadow-2: calc(var(--po-shadow-x) * 4px) 4px 0 var(--po-shadow);--po-shadow-3: calc(var(--po-shadow-x) * 6px) 6px 0 var(--po-shadow);--po-duration-fast: .12s;--po-duration: .2s;--po-duration-slow: .32s;--po-content-max: 1120px;--po-gutter-left: max(16px, env(safe-area-inset-left, 0px));--po-gutter-right: max(16px, env(safe-area-inset-right, 0px));color-scheme:dark}:root:lang(ar){--po-font-display: var(--po-font-kufi);--po-text-display: clamp(26px, 4.4vw, 42px);--po-leading: 1.75;--po-leading-tight: 1.5;--po-leading-display: 1.5}[dir=rtl]{--po-shadow-x: -1;--po-shadow-1: calc(var(--po-shadow-x) * 2px) 2px 0 var(--po-shadow);--po-shadow-2: calc(var(--po-shadow-x) * 4px) 4px 0 var(--po-shadow);--po-shadow-3: calc(var(--po-shadow-x) * 6px) 6px 0 var(--po-shadow)}@media(prefers-reduced-motion:reduce){:root{--po-duration-fast: 0ms;--po-duration: 0ms;--po-duration-slow: 0ms}}[data-theme=calm]{--po-bg: #f6f5fb;--po-bg-glow: #f6f5fb;--po-surface: #ffffff;--po-surface-2: #f0f0f8;--po-border: #d9dbea;--po-border-control: #7a80aa;--po-shadow: rgb(20 24 58 / .12);--po-text: #14183a;--po-text-muted: #4b5180;--po-primary: #0f766e;--po-on-primary: #ffffff;--po-accent: #0f766e;--po-on-accent: #ffffff;--po-success: #15803d;--po-on-success: #ffffff;--po-danger: #b91c1c;--po-danger-strong: #b91c1c;--po-warning: #b45309;--po-overlay: rgb(20 24 58 / .5);--po-shadow-1: 0 1px 2px var(--po-shadow);--po-shadow-2: 0 2px 8px var(--po-shadow);--po-shadow-3: 0 8px 24px var(--po-shadow);color-scheme:light}[data-theme=calm-dark]{--po-primary: #3fe0c5;--po-on-primary: #0c0f24;--po-shadow-1: 0 1px 2px var(--po-shadow);--po-shadow-2: 0 2px 8px var(--po-shadow);--po-shadow-3: 0 8px 24px var(--po-shadow)}*,*:before,*:after{box-sizing:border-box}[hidden]{display:none!important}html{-webkit-text-size-adjust:100%}body{margin:0;color:var(--po-text);font-family:var(--po-font-text);font-size:var(--po-text-md);line-height:var(--po-leading);background:radial-gradient(ellipse 80% 50% at 50% 0%,var(--po-bg-glow) 0%,transparent 70%),var(--po-bg);-webkit-tap-highlight-color:transparent}h1,h2,h3{text-wrap:balance}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--po-focus);outline-offset:3px}.po-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.po-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--po-space-2);min-height:var(--po-tap);padding:var(--po-space-2) var(--po-space-4);border:2px solid var(--po-border-control);border-radius:var(--po-radius-sm);background:var(--po-surface-2);color:var(--po-text);font:inherit;font-size:var(--po-text-md);font-weight:600;line-height:var(--po-leading-tight);text-align:center;text-decoration:none;cursor:pointer;transition:border-color var(--po-duration-fast),transform var(--po-duration-fast),box-shadow var(--po-duration-fast)}.po-button:hover{border-color:var(--po-accent)}.po-button:active:not(:disabled){transform:translateY(2px)}.po-button:disabled,.po-button[aria-disabled=true]{opacity:.5;cursor:default}.po-button--primary{border-color:var(--po-primary);background:var(--po-primary);color:var(--po-on-primary);font-weight:700;box-shadow:var(--po-shadow-1)}.po-button--primary:hover{border-color:var(--po-primary);filter:brightness(1.08)}.po-button--quiet{background:transparent}.po-button--danger{border-color:var(--po-danger-strong);background:var(--po-danger-strong);color:var(--po-on-danger-strong)}.po-button--danger:hover{border-color:var(--po-danger-strong);filter:brightness(1.1)}.po-button--lg{min-height:var(--po-tap-lg);min-width:10rem;padding-inline:var(--po-space-5);font-size:var(--po-text-xl);box-shadow:var(--po-shadow-2)}.po-icon-button{display:inline-grid;place-items:center;min-width:var(--po-tap);min-height:var(--po-tap);padding:var(--po-space-2);border:2px solid var(--po-border-control);border-radius:var(--po-radius-sm);background:transparent;color:var(--po-text);font-size:var(--po-text-lg);line-height:1;cursor:pointer}.po-icon-button:hover{border-color:var(--po-accent)}.po-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--po-space-2)}.po-panel{display:flex;flex-direction:column;gap:var(--po-space-4);padding:var(--po-space-5);background:var(--po-surface);border:2px solid var(--po-border);border-radius:var(--po-radius-md);box-shadow:var(--po-shadow-2)}.po-panel>h2{margin:0;font-size:var(--po-text-xl);line-height:var(--po-leading-tight)}.po-chip{--po-chip-color: var(--po-text-muted);display:inline-flex;align-items:center;padding:2px var(--po-space-2);border:1px solid var(--po-chip-color);border-radius:var(--po-radius-sm);color:var(--po-chip-color);font-size:var(--po-text-sm);line-height:var(--po-leading-tight)}.po-choice{border:0;margin:0;padding:0;min-inline-size:0}.po-choice>legend{padding:0;margin-block-end:var(--po-space-2);font-size:var(--po-text-md);font-weight:600}.po-choice-options{display:flex;flex-wrap:wrap;gap:var(--po-space-2)}.po-choice-option{position:relative}.po-choice-option input{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;opacity:0;cursor:pointer}.po-choice-option span{display:flex;align-items:center;min-height:var(--po-tap);padding:var(--po-space-2) var(--po-space-4);border:2px solid var(--po-border-control);border-radius:var(--po-radius-sm);background:var(--po-surface-2);font-size:var(--po-text-md)}.po-choice-option input:checked+span{border-color:var(--po-primary);background:var(--po-primary);color:var(--po-on-primary);font-weight:700}.po-choice-option input:focus-visible+span{outline:3px solid var(--po-focus);outline-offset:2px}.po-settings{border-top:2px dashed var(--po-border);padding-top:var(--po-space-3)}.po-settings>summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--po-space-1) var(--po-space-3);min-height:var(--po-tap);padding-block:var(--po-space-3);cursor:pointer;font-weight:600}.po-settings>summary::marker{color:var(--po-primary)}.po-settings-summary{color:var(--po-text-muted);font-weight:400;font-size:var(--po-text-sm)}.po-settings-body{display:flex;flex-direction:column;gap:var(--po-space-4);padding-top:var(--po-space-2)}.po-effects-note{margin:var(--po-space-2) 0 0;color:var(--po-text-muted);font-size:var(--po-text-sm)}.po-field{display:flex;flex-direction:column;gap:var(--po-space-2);font-weight:600}.po-field input,.po-field select,.po-field textarea{min-height:var(--po-tap);padding:var(--po-space-2) var(--po-space-3);border:2px solid var(--po-border-control);border-radius:var(--po-radius-sm);background:var(--po-bg);color:var(--po-text);font-size:var(--po-text-md);font-weight:400}.po-field input:focus-visible,.po-field select:focus-visible,.po-field textarea:focus-visible{outline:none;border-color:var(--po-focus)}.po-field-hint{color:var(--po-text-muted);font-size:var(--po-text-sm);font-weight:400}.po-table{width:100%;border-collapse:collapse;font-size:var(--po-text-md)}.po-table th,.po-table td{padding:var(--po-space-2);text-align:start;border-bottom:1px solid var(--po-border)}.po-table th{color:var(--po-text-muted);font-weight:600}.po-table td{font-variant-numeric:tabular-nums}:root{--po-bg: #140f24;--po-bg-glow: #2a1c4a;--po-surface: #1e1636;--po-surface-2: #2a2048;--po-border: #3d3166;--po-border-control: #8a7cc8;--po-primary: #7ef0c8;--po-on-primary: #140f24;--po-focus: #ffd166;--matter: #7cc4ff;--atoms: #ff9ec0;--table: #ffd166;--bonding: #c9a6ff;--reactions: #ffa36b;--acids: #8ef08a;--moles: #6ee7e7;--rates: #ff8f8f;--sc-bench: #1a1230;--sc-grid: #261c42;--sc-ink: #efe9ff;--sc-muted: #a99cd4;--sc-accent: #ffd166;--sc-glass: #bfe6ff;--sc-water: #3a7bd5;--sc-hot: #ff6a3d;--sc-cold: #6fb7ff;--sc-metal: #c3cad8;--el-H: #f4f4f4;--el-C: #4a4a55;--el-C-ink: #ffffff;--el-N: #4f7dff;--el-N-ink: #ffffff;--el-O: #ff4f4f;--el-F: #9be37a;--el-Cl: #3fd16a;--el-Br: #b5532d;--el-Br-ink: #ffffff;--el-I: #8d3fd1;--el-I-ink: #ffffff;--el-S: #ffd84a;--el-P: #ff9a3c;--el-B: #ffb7a3;--el-Na: #a87bff;--el-K: #8f5bff;--el-K-ink: #ffffff;--el-Li: #c58bff;--el-Mg: #5ad18a;--el-Ca: #a8b0bc;--el-Al: #c9c4bd;--el-Be: #c2ff6b;--el-Fe: #d97b45;--el-Cu: #e08a50;--el-Zn: #9aa3c4;--el-Ag: #dde3ea;--el-Si: #e5c9a3;--el-Pb: #6d6f80;--el-Pb-ink: #ffffff;--el-other: #d1a3ff}html,body{height:100%}.flip:dir(rtl){transform:scaleX(-1)}.app{min-height:100svh;max-width:1040px;margin-inline:auto;display:flex;flex-direction:column;gap:var(--po-space-4);padding-block:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.top{display:flex;align-items:center;justify-content:space-between;gap:12px}.top h1{margin:0;font-family:var(--po-font-display);font-size:var(--po-text-display);font-weight:400;line-height:var(--po-leading-display);color:var(--po-primary);text-shadow:var(--po-shadow-1)}:lang(ar) .top h1{font-weight:800}.tools{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}[data-world=matter]{--world: var(--matter)}[data-world=atoms]{--world: var(--atoms)}[data-world=table]{--world: var(--table)}[data-world=bonding]{--world: var(--bonding)}[data-world=reactions]{--world: var(--reactions)}[data-world=acids]{--world: var(--acids)}[data-world=moles]{--world: var(--moles)}[data-world=rates]{--world: var(--rates)}.loading,.note{margin:0;color:var(--po-text-muted)}.note{padding:10px 14px;border:2px solid var(--po-border);border-radius:var(--po-radius-md);background:var(--po-surface)}.map{display:flex;flex-direction:column;gap:var(--po-space-5)}.map-top{display:flex;align-items:center;gap:var(--po-space-4);flex-wrap:wrap}.play{flex:1 1 260px;flex-direction:column;align-items:flex-start;gap:2px;text-align:start}.play>span:first-child{font-size:var(--po-text-xl)}.play-next{font-size:var(--po-text-sm);font-weight:500;opacity:.85}.total{margin:0;font-size:var(--po-text-lg);font-weight:700;color:var(--po-accent, var(--sc-accent));white-space:nowrap}.world{display:flex;flex-direction:column;gap:var(--po-space-3);padding:var(--po-space-4);border:2px solid var(--po-border);border-inline-start:6px solid var(--world);border-radius:var(--po-radius-lg);background:var(--po-surface)}.world-head{display:flex;align-items:center;gap:var(--po-space-3)}.world-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:var(--po-radius-md);background:var(--po-surface-2);color:var(--world)}.world-name{display:flex;flex-direction:column;flex:1;min-width:0}.world-name h3{margin:0;font-size:var(--po-text-lg);color:var(--world)}.world-skills{font-size:var(--po-text-sm);color:var(--po-text-muted)}.world-progress{font-size:var(--po-text-sm);font-weight:700;white-space:nowrap}.levels{display:grid;grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:var(--po-space-3);margin:0;padding:0;list-style:none}.levels li{display:flex;flex-direction:column;align-items:center;gap:4px}.level{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:56px;height:56px;border:2px solid var(--world);border-radius:var(--po-radius-md);background:var(--po-surface-2);color:var(--po-text);font-size:var(--po-text-lg);font-weight:700;transition:transform var(--po-duration-fast)}.level:hover{transform:translateY(-2px)}.level[aria-current=step]{box-shadow:0 0 0 3px color-mix(in srgb,var(--world) 40%,transparent)}.level[data-state=done]{background:var(--world);color:var(--po-on-primary)}.level-n{line-height:1}.pips{display:inline-flex;gap:3px}.pip{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.25}.pip.on{opacity:1}.stars{display:inline-flex;gap:2px;font-size:1.6rem;line-height:1}.stars--small{font-size:var(--po-text-sm)}.star{color:var(--po-border-control)}.star.on{color:var(--sc-accent)}.level-screen{display:flex;flex-direction:column;gap:var(--po-space-3)}.level-head{display:flex;align-items:center;gap:var(--po-space-3)}.level-name{display:flex;flex-direction:column;flex:1;min-width:0}.level-where{font-size:var(--po-text-sm);font-weight:700;color:var(--world);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.level-name h2{margin:0;font-size:var(--po-text-lg);line-height:var(--po-leading-tight)}.hint-button{gap:6px}.hint-count{display:grid;place-items:center;min-width:24px;height:24px;padding-inline:6px;border-radius:var(--po-radius-pill);background:var(--po-primary);color:var(--po-on-primary);font-size:var(--po-text-sm);font-weight:700}.progress-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--po-space-2);margin:0;padding:0;list-style:none;font-size:var(--po-text-sm);color:var(--po-text-muted)}.progress-steps li{display:flex;flex-direction:column;gap:4px}.progress-steps .bar{height:6px;border-radius:var(--po-radius-pill);background:var(--po-surface-2)}.progress-steps [data-state=done] .bar{background:var(--world)}.progress-steps [data-state=now] .bar{background:linear-gradient(90deg,var(--world) 50%,var(--po-surface-2) 50%)}.progress-steps [data-state=now]:dir(rtl) .bar{background:linear-gradient(270deg,var(--world) 50%,var(--po-surface-2) 50%)}.progress-steps [data-state=now]{color:var(--po-text);font-weight:700}.level-body{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--po-space-4);align-items:start}@media(min-width:760px){.level-body{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.lab{position:sticky;top:16px}}.lab{margin:0;padding:var(--po-space-2);border:2px solid var(--po-border);border-radius:var(--po-radius-lg);background-color:var(--sc-bench);background-image:linear-gradient(var(--sc-grid) 1px,transparent 1px),linear-gradient(90deg,var(--sc-grid) 1px,transparent 1px);background-size:20px 20px;box-shadow:var(--po-shadow-3)}.scene{display:block;width:100%;height:auto;max-height:48svh}.level-side{display:flex;flex-direction:column;gap:var(--po-space-3)}.level-side h3{margin:0;font-size:var(--po-text-md)}.question{margin:0;font-size:var(--po-text-lg);line-height:var(--po-leading)}.ladder{display:flex;flex-direction:column;gap:var(--po-space-2)}.ladder>ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:var(--po-space-2)}.ladder-n{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--po-surface-2);font-size:var(--po-text-sm);font-weight:700}.ladder-open,.ladder-take{display:flex;gap:var(--po-space-2);align-items:flex-start}.ladder-open p{margin:0;unicode-bidi:plaintext}.ladder-open .ladder-n{background:var(--po-primary);color:var(--po-on-primary)}.ladder-take{width:100%;min-height:var(--po-tap);align-items:center;padding:8px 10px;border:2px dashed var(--po-border-control);border-radius:var(--po-radius-md);background:transparent;color:var(--po-text);text-align:start}.ladder-take:disabled{color:var(--po-text-muted);cursor:default}.ladder-take:not(:disabled):hover{border-color:var(--po-primary)}.choices{display:flex;flex-direction:column;gap:var(--po-space-2)}.choice{min-height:var(--po-tap);padding:10px 14px;border:2px solid var(--po-border-control);border-radius:var(--po-radius-md);background:var(--po-surface);color:var(--po-text);font-size:var(--po-text-lg);font-weight:600;text-align:start;transition:border-color var(--po-duration-fast),transform var(--po-duration-fast)}.choice:hover{border-color:var(--world);transform:translateY(-1px)}.answer{display:flex;flex-direction:column;gap:var(--po-space-2)}.answer-field{display:flex;align-items:center;gap:var(--po-space-2);padding:4px 12px;border:2px solid var(--po-border-control);border-radius:var(--po-radius-md);background:var(--po-surface-2)}.answer-field:focus-within{outline:3px solid var(--po-focus);outline-offset:2px}.answer-field input{flex:1;min-width:0;min-height:var(--po-tap);border:0;background:transparent;color:inherit;font:inherit;font-size:var(--po-text-xl);font-weight:700;outline:none}.answer-unit{font-size:var(--po-text-lg);font-weight:700;color:var(--world);white-space:nowrap}.check,.run{width:100%}.feedback{margin:0;min-height:1.5em;font-weight:600;color:var(--po-warning)}.tune{display:flex;flex-direction:column;gap:var(--po-space-3)}.goal{margin:0;padding:8px 12px;border-inline-start:4px solid var(--world);border-radius:var(--po-radius-sm);background:var(--po-surface)}.slider{display:flex;flex-direction:column;gap:4px}.slider label{display:flex;justify-content:space-between;gap:var(--po-space-2);font-weight:600}.slider output{color:var(--world);font-weight:700}.slider-row{display:flex;align-items:center;gap:var(--po-space-2)}.slider-row input{flex:1;min-width:0;height:var(--po-tap);accent-color:var(--world)}.slider-row input:dir(rtl){direction:ltr}.step{min-width:var(--po-tap);padding-inline:0;font-size:var(--po-text-xl)}.watching{display:flex;align-items:center;justify-content:space-between;gap:var(--po-space-3)}.watching p{margin:0;font-weight:700;color:var(--world)}.done{display:flex;flex-direction:column;gap:var(--po-space-2)}.done .stars{align-self:center;font-size:2.4rem}.done h3{text-align:center;font-size:var(--po-text-xl);color:var(--po-primary)}.done h4{margin:var(--po-space-2) 0 0;font-size:var(--po-text-md);color:var(--world)}.done-answer{margin:0;text-align:center;font-size:var(--po-text-xl);font-weight:700;color:var(--world)}.done-note{margin:0;text-align:center;color:var(--po-text-muted)}.explain{margin:0;line-height:var(--po-leading)}.idea{margin:0;padding:8px 12px;border-radius:var(--po-radius-md);background:var(--po-surface-2)}.formula{unicode-bidi:plaintext}.done-actions{flex-wrap:wrap}.done-actions .po-button{flex:1 1 auto}@media(prefers-reduced-motion:no-preference){.done .stars .on{animation:pop var(--po-duration-slow) ease-out both}.done .stars .on:nth-child(2){animation-delay:.12s}.done .stars .on:nth-child(3){animation-delay:.24s}}@keyframes pop{0%{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}.lab[data-table]{padding:var(--po-space-3);background-image:none}.choice[data-state=wrong]{border-style:dashed;border-color:var(--po-border);color:var(--po-text-muted);text-decoration:line-through;cursor:default}.choice:disabled:hover{transform:none}.stepper{display:grid;grid-template-columns:minmax(0,1fr) var(--po-tap) 3.5rem var(--po-tap);align-items:center;gap:var(--po-space-2)}.stepper-label{font-weight:600;unicode-bidi:plaintext}.stepper-value{text-align:center;font-size:var(--po-text-xl);font-weight:700;color:var(--world)}.step:disabled{opacity:.4}.ptable-wrap{display:flex;flex-direction:column;gap:var(--po-space-2);overflow-x:auto}.ptable{display:grid;grid-template-columns:1.4rem repeat(8,minmax(var(--po-tap),1fr));grid-auto-rows:auto;gap:4px;min-width:calc(1.4rem + 8 * var(--po-tap) + 8 * 4px)}.ptable-group,.ptable-period{display:grid;place-items:center;font-size:var(--po-text-sm);font-weight:700;color:var(--po-text-muted)}.ptable-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;padding:2px;border:2px solid var(--po-border-control);border-radius:var(--po-radius-sm);background:var(--po-surface-2);color:var(--po-text);line-height:1.1;transition:transform var(--po-duration-fast),border-color var(--po-duration-fast)}.ptable-cell:not(:disabled):hover{border-color:var(--world);transform:translateY(-2px)}.ptable-cell:disabled{cursor:default}.ptable-z{font-size:var(--po-text-sm);color:var(--po-text-muted)}.ptable-symbol{font-size:var(--po-text-lg);font-weight:800}.ptable-cell[data-kind=metal]{background:#2d3f66}.ptable-cell[data-kind=metalloid]{background:#4d3f1e}.ptable-cell[data-kind=nonmetal]{background:#1f4a3a}.ptable-cell[data-state=tried]{border-style:dashed;border-color:var(--po-border);opacity:.55}.ptable-cell[data-state=found]{background:var(--world);border-color:var(--world);color:var(--po-on-primary)}.ptable-cell[data-state=found] .ptable-z{color:var(--po-on-primary)}@media(prefers-reduced-motion:no-preference){.ptable-cell[data-state=found]{animation:pop var(--po-duration-slow) ease-out both}}.ptable-note{margin:0;font-size:var(--po-text-sm);color:var(--po-text-muted)}.scene{font-family:var(--po-font-text)}.scene text{font-size:13px;fill:var(--sc-ink)}.scene line,.scene path{stroke-linecap:round;stroke-linejoin:round}.sc-label{fill:var(--sc-ink)}.scene .sc-label-strong{font-size:16px;font-weight:700}.scene .sc-small{font-size:11.5px}.scene .sc-big{font-size:64px;font-weight:800;fill:var(--sc-muted)}.scene .sc-muted{fill:var(--sc-muted)}.scene .sc-accent{fill:var(--sc-accent);font-weight:700}.sc-faint{opacity:.35}.sc-help{opacity:1}.sc-tag rect{fill:var(--po-surface-2);stroke:var(--po-border-control);stroke-width:1.5}.scene .sc-tag text{font-weight:700}.sc-tag--result rect{fill:var(--world, var(--sc-accent));stroke:none}.scene .sc-tag--result text{fill:#140f24}.sc-tag--bad rect{fill:#5a2335;stroke:#ff8f8f}.scene .sc-tag--small text{font-size:11.5px}.sc-arrow line,.sc-arrow path{stroke:var(--sc-ink);stroke-width:3;fill:none}.sc-arrow-help line,.sc-arrow-help path{stroke:var(--sc-accent)}.sc-arrow-hot line,.sc-arrow-hot path{stroke:var(--sc-hot)}.sc-arrow-cold line,.sc-arrow-cold path{stroke:var(--sc-cold)}.sc-axis line{stroke:var(--sc-ink);stroke-width:2}.sc-axis-line{stroke:var(--sc-muted);stroke-width:2}.sc-grid-line{stroke:var(--sc-grid);stroke-width:1}.sc-tick{stroke:var(--sc-ink);stroke-width:1.5}.sc-guide{stroke:var(--sc-muted);stroke-width:1.5;stroke-dasharray:4 4;fill:none}.sc-mark{stroke:var(--sc-accent);stroke-width:2.5;stroke-dasharray:6 4}.sc-plot{stroke:var(--sc-accent);stroke-width:3;fill:none}.sc-plot-faint{opacity:.6}.sc-dot{fill:var(--sc-accent);stroke:#140f24;stroke-width:2}.sc-bar{fill:var(--world, var(--sc-accent))}.sc-bar-back{fill:var(--po-surface-2)}.sc-box{fill:color-mix(in srgb,var(--po-surface) 70%,transparent);stroke:var(--po-border-control);stroke-width:2}.sc-win{filter:drop-shadow(0 0 6px var(--sc-accent))}.scene .sc-scale-n{font-size:11px;fill:var(--sc-muted)}.sc-glass{fill:none;stroke:var(--sc-glass);stroke-width:3}.sc-glass-fill{fill:color-mix(in srgb,var(--sc-glass) 10%,transparent);stroke:var(--sc-glass);stroke-width:2}.sc-liquid{stroke:none}.liq-water{fill:color-mix(in srgb,var(--sc-water) 55%,transparent)}.liq-warm{fill:color-mix(in srgb,#ff8a5c 55%,transparent)}.liq-cold{fill:color-mix(in srgb,#9fdcff 60%,transparent)}.liq-oil{fill:#e3b84a;opacity:.85}.liq-yellow{fill:color-mix(in srgb,#ffe066 70%,transparent)}.liq-product{fill:color-mix(in srgb,#d9e66b 60%,transparent)}.liq-ink{fill:#3f3a9a}.liq-copper{fill:#2f8bff}.liq-iron{fill:color-mix(in srgb,#8fd18a 65%,transparent)}.liq-indicator{fill:#6bd36b}.liq-chlorine{fill:#d7f27a}.liq-chlorine-pale{fill:color-mix(in srgb,#d7f27a 45%,transparent)}.liq-bromine{fill:#e4782c}.liq-bromine-pale{fill:color-mix(in srgb,#e4782c 45%,transparent)}.liq-iodine{fill:#7a3b1d}.liq-iodine-pale{fill:color-mix(in srgb,#a0522d 55%,transparent)}.liq-ui-red{fill:#e5383b}.liq-ui-orange{fill:#f4842b}.liq-ui-yellow{fill:#f2d230}.liq-ui-green{fill:#3fbf4a}.liq-ui-blue{fill:#2f6fe0}.liq-ui-purple{fill:#7d3ac1}.sc-flame-outer{fill:#4f8dff;opacity:.85}.sc-flame-inner{fill:#bfe1ff}.sc-bubbles circle{fill:none;stroke:#e8f6ff;stroke-width:1.5}.sc-drop{fill:#9fdcff}.sc-thermo-glass{fill:#f4f1ff;opacity:.25;stroke:var(--sc-glass);stroke-width:1.5}.sc-thermo-red{fill:#ff4f4f}.sc-balance-pan{fill:var(--sc-metal)}.sc-balance-body{fill:#3d3166}.sc-balance-screen,.sc-meter-screen{fill:#0c0818}.scene .sc-screen-text{fill:#6ee7a0;font-weight:700;font-family:var(--po-font-display)}.scene .sc-screen-big{font-size:22px}.sc-meter-box{fill:#3d3166;stroke:var(--sc-metal);stroke-width:2}.sc-probe{stroke:var(--sc-metal);stroke-width:6}.sc-cable-line{stroke:#8a7cc8;stroke-width:2.5;fill:none}.sc-tube-long{fill:color-mix(in srgb,var(--sc-glass) 8%,transparent);stroke:var(--sc-glass);stroke-width:2.5}.sc-cotton{fill:#f4f1ff}.sc-gas{opacity:.45}.sc-gas-hcl{fill:#ffd166}.sc-gas-nh3{fill:#7cc4ff}.sc-white-ring{fill:#fff;filter:drop-shadow(0 0 6px #ffffff)}.sc-paper{fill:#f4f1e8;stroke:#c9c1a8;stroke-width:1.5}.sc-dish{fill:#d9d4ea;stroke:#8a7cc8;stroke-width:2}.sc-crystal{fill:#fff;stroke:#c9e8ff;stroke-width:1}.sc-condenser{stroke:color-mix(in srgb,var(--sc-water) 50%,transparent);stroke-width:14}.sc-magnet{fill:#e5383b;stroke:#140f24;stroke-width:2}.sc-tap{fill:var(--sc-metal)}.sc-sand{fill:#d8b06a}.sc-chalk{fill:#f1eee6;stroke:#b9b3a3;stroke-width:1}.sc-iron{fill:#6d6f80}.sc-sulfur{fill:#ffd84a}.sc-sugar{fill:#fff;stroke:#d8d2f0;stroke-width:1}.sc-swirl{fill:none;stroke:#fff;stroke-width:1.5;stroke-dasharray:3 6;opacity:.6}.sc-rod{stroke:var(--sc-glass);stroke-width:4}.sc-dye-a{fill:#ff4f8b}.sc-dye-b{fill:#ffd84a}.sc-dye-c{fill:#4f7dff}.sc-particle{fill:#7cc4ff;stroke:#140f24;stroke-width:1.5}.sc-particle-b{fill:#ff9ec0}.sc-flash{fill:none;stroke:var(--sc-accent);stroke-width:3;opacity:.8}.sc-mol-a{fill:#4f7dff;stroke:#140f24;stroke-width:1.5}.sc-mol-b{fill:#ff4f4f;stroke:#140f24;stroke-width:1.5}.sc-new{fill:none;stroke:var(--sc-accent);stroke-width:2;stroke-dasharray:3 4}.sc-litmus-red{fill:#e5383b}.sc-litmus-blue{fill:#2f6fe0}.sc-dropper .sc-bulb{fill:#ff8f8f}.sc-fleck{fill:#fff;opacity:.4}.sc-pointer{fill:var(--sc-accent);stroke:#140f24;stroke-width:1.5}.sc-burette{fill:color-mix(in srgb,var(--sc-glass) 10%,transparent);stroke:var(--sc-glass);stroke-width:2}.sc-bottle{fill:color-mix(in srgb,var(--sc-glass) 12%,transparent);stroke:var(--sc-glass);stroke-width:2.5}.sc-bottle-label{fill:#f4f1e8}.sc-powder{fill:#e8e2d4}.sc-pour{fill:none;stroke:color-mix(in srgb,var(--sc-water) 70%,transparent);stroke-width:6}.sc-stopper{fill:#b5532d}.sc-gas-cloud{fill:#f4f1ff;opacity:.3}.sc-hotplate{fill:#3d3166;stroke:var(--sc-metal);stroke-width:2}.sc-coil{fill:#5a4d80}.sc-coil-on{fill:var(--sc-hot)}.sc-sub-salt,.sc-sub-sand{fill:#f4f1e8}.sc-sub-magnesiumOxide{fill:#fff}.sc-sub-diamond{fill:#c9f0ff}.sc-sub-wax{fill:#fff2c2}.sc-sub-ice{fill:#bfe6ff}.sc-sub-iodine{fill:#5a2d6e}.sc-sub-sulfur{fill:#ffd84a}.sc-solute-copperSulfate{fill:#2f6fe0}.sc-solute-permanganate{fill:#a3218c}.sc-metal-piece{fill:var(--sc-metal);stroke:#140f24;stroke-width:1.5}.sc-lilac{fill:#c58bff;opacity:.85}.sc-metal-mg,.sc-metal-zn,.sc-metal-ag{fill:#c3cad8}.sc-metal-zn{fill:#9aa3c4}.sc-metal-ag{fill:#e8edf2}.sc-metal-fe{fill:#6d6f80}.sc-metal-cu{fill:#d9773f}.sc-metal-ca{fill:#e8e2d4}.sc-catalyst{fill:#2a2a2a}.sc-pipe{fill:none;stroke:var(--sc-glass);stroke-width:3}.sc-syringe{fill:color-mix(in srgb,var(--sc-glass) 10%,transparent);stroke:var(--sc-glass);stroke-width:2}.sc-gas-fill{fill:color-mix(in srgb,#f4f1ff 35%,transparent)}.sc-plunger{fill:var(--sc-metal)}.sc-gauge circle{fill:#0c0818;stroke:var(--sc-metal);stroke-width:3}.sc-gauge line{stroke:#ff4f4f;stroke-width:3}.sc-bath{stroke:var(--sc-glass);stroke-width:2}.sc-balloon{fill:#ff6b9a;stroke:#140f24;stroke-width:1.5}.sc-plank{fill:#c98b4f}.sc-pan{fill:#3d3166;stroke:var(--sc-metal);stroke-width:2}.scene .sc-pan-text{font-size:11px;font-weight:700}.sc-pivot{fill:var(--sc-metal)}.sc-brown-gas{fill:sienna;stroke:var(--sc-glass);stroke-width:2}.sc-level{stroke:var(--sc-ink);stroke-width:3}.sc-atom circle{stroke:#140f24;stroke-width:1.5}.scene .sc-atom-text{font-weight:800}.sc-proton{fill:#ff4f4f;stroke:#140f24;stroke-width:1}.sc-neutron{fill:#c3cad8;stroke:#140f24;stroke-width:1}.sc-ring{fill:none;stroke:var(--sc-muted);stroke-width:1.5}.sc-ring-empty{opacity:.25;stroke-dasharray:3 5}.sc-electron{fill:#7cc4ff;stroke:#140f24;stroke-width:1.5}.sc-electron-outer{fill:var(--sc-accent)}.sc-cloud{fill:color-mix(in srgb,#7cc4ff 12%,transparent);stroke:color-mix(in srgb,#7cc4ff 40%,transparent);stroke-width:1.5}.sc-shared{fill:color-mix(in srgb,var(--sc-accent) 22%,transparent);stroke:var(--sc-accent);stroke-width:1.5}.sc-lone{fill:color-mix(in srgb,#ff9ec0 30%,transparent);stroke:#ff9ec0;stroke-width:1.5}.sc-bond{stroke:var(--sc-ink);stroke-width:4}.sc-nuclide rect,.sc-readout rect{fill:var(--po-surface-2);stroke:var(--world, var(--sc-accent));stroke-width:2}.scene .sc-nuclide-small{font-size:18px;font-weight:700;fill:var(--sc-muted)}.scene .sc-nuclide-symbol{font-size:46px;font-weight:800;fill:var(--sc-ink)}.scene .sc-readout-symbol{font-size:42px;font-weight:800;fill:var(--world, var(--sc-accent))}.sc-hot-atom{fill:#8ef08a;stroke:#140f24;stroke-width:1}.sc-cold-atom{fill:#3d3166}.sc-cell{fill:var(--po-surface-2);stroke:var(--po-border-control);stroke-width:1}.sc-cell-on{fill:var(--world, var(--sc-accent))}.scene .sc-cell-text{font-size:10px;font-weight:700}.sc-cation{fill:#4f7dff;stroke:#140f24;stroke-width:1.5}.sc-anion{fill:#3fd16a;stroke:#140f24;stroke-width:1.5}.scene .sc-ion-text{font-size:12px;font-weight:800;fill:#140f24}.sc-needle{fill:#ff8f8f}.sc-needle-zero{fill:#8ef08a}.sc-chip{fill:var(--po-surface-2);stroke:var(--sc-muted);stroke-width:1}.scene .sc-chip-text{font-size:10px;font-weight:700}.scene .sc-coef{font-size:15px;font-weight:700}.scene .sc-coef-n{fill:var(--world, var(--sc-accent));font-size:18px}.sc-bar-left{fill:#7cc4ff}.sc-bar-right{fill:#ffa36b}.scene .sc-tally-n{font-size:10px;font-weight:700}.scene .sc-tally-el{font-size:12px;font-weight:800}.sc-off .sc-tally-el{fill:#ff8f8f}.sc-even .sc-tally-el{fill:#8ef08a}.scene .sc-ar{font-size:11px;fill:var(--sc-muted)}.sc-bag{fill:#c98b4f;stroke:#6b4320;stroke-width:2}.sc-step{fill:var(--po-surface-2);stroke:var(--po-border-control);stroke-width:2}.sc-step-done{stroke:var(--world, var(--sc-accent));stroke-width:3}@media(prefers-reduced-motion:no-preference){[data-effects=rich] .level[aria-current=step]{animation:next-pulse 1.6s ease-in-out infinite}[data-effects=rich] .levels li{animation:level-in .35s cubic-bezier(.3,1.5,.5,1) backwards}[data-effects=rich] .levels li:nth-child(2){animation-delay:.04s}[data-effects=rich] .levels li:nth-child(3){animation-delay:.08s}[data-effects=rich] .levels li:nth-child(4){animation-delay:.12s}[data-effects=rich] .levels li:nth-child(5){animation-delay:.16s}[data-effects=rich] .levels li:nth-child(n+6){animation-delay:.2s}[data-effects=rich] .done{animation:done-in .4s ease-out}[data-effects=rich] .done .stars .on{animation:star-in .55s cubic-bezier(.3,1.8,.5,1) both;text-shadow:0 0 12px var(--sc-accent)}[data-effects=rich] .done .stars .on:nth-child(2){animation-delay:.18s}[data-effects=rich] .done .stars .on:nth-child(3){animation-delay:.36s}[data-effects=rich] .done-answer{animation:star-in .5s .3s cubic-bezier(.3,1.6,.5,1) both}[data-effects=rich] .feedback:not(:empty){animation:nudge .3s ease-out}[data-effects=rich] .ladder-open{animation:done-in .3s ease-out}[data-effects=rich] .scene .sc-tag--result{animation:tag-in .4s cubic-bezier(.3,1.7,.5,1) both;transform-box:fill-box;transform-origin:center}}[data-effects=rich] .level[data-state=done]{box-shadow:0 0 10px color-mix(in srgb,var(--world) 55%,transparent)}[data-effects=rich] .scene .sc-win{filter:drop-shadow(0 0 6px var(--sc-accent))}@keyframes next-pulse{50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--world) 22%,transparent),0 0 16px var(--world);transform:translateY(-2px)}}@keyframes level-in{0%{transform:scale(.6);opacity:0}}@keyframes done-in{0%{transform:translateY(10px);opacity:0}}@keyframes star-in{0%{transform:scale(0) rotate(-40deg);opacity:0}}@keyframes nudge{30%{transform:translate(-5px)}65%{transform:translate(4px)}}@keyframes tag-in{0%{transform:scale(.4);opacity:0}}.sc-flame-glow{fill:#4f8dff;opacity:.22;filter:blur(6px)}.sc-bubbles .sc-fizz{fill:#e8f6ff;stroke:none}[data-effects=rich] .scene .sc-bubbles circle:not(.sc-fizz){fill:#e8f6ff29;filter:drop-shadow(0 0 2px #e8f6ff)}[data-effects=rich] .scene .sc-liquid,[data-effects=rich] .scene .sc-glass-fill{transition:fill .5s ease,fill-opacity .5s ease}[data-effects=rich] .scene .sc-glass{filter:drop-shadow(0 0 3px color-mix(in srgb,var(--sc-glass) 55%,transparent))}[data-effects=rich] .scene .sc-flame{filter:drop-shadow(0 0 8px #4f8dff)}[data-effects=rich] .scene .sc-electron{filter:drop-shadow(0 0 4px #7cc4ff)}[data-effects=rich] .scene .sc-electron-outer{filter:drop-shadow(0 0 5px var(--sc-accent))}[data-effects=rich] .scene .sc-bond{filter:drop-shadow(0 0 5px var(--sc-accent));stroke:var(--sc-accent)}[data-effects=rich] .scene .sc-shells{filter:drop-shadow(0 0 2px color-mix(in srgb,var(--sc-ink) 50%,transparent))}[data-effects=rich] .scene .sc-drop{filter:drop-shadow(0 0 3px #9fdcff)}[data-effects=rich] .scene .sc-flash{filter:drop-shadow(0 0 8px var(--sc-accent))}@media(prefers-reduced-motion:no-preference){[data-effects=rich] .scene .sc-shared{animation:bond-glow 1.2s ease-in-out infinite alternate}[data-effects=rich] .scene .sc-nucleus{animation:bond-glow 1.8s ease-in-out infinite alternate}}@keyframes bond-glow{0%{filter:drop-shadow(0 0 2px var(--sc-accent))}to{filter:drop-shadow(0 0 10px var(--sc-accent))}}
