@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--green:#153e36;--gold:#b7955d;--cream:#f7f6ef;--muted:#78837a}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--green);font:15px 'DM Sans',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}header{max-width:1400px;margin:auto;height:102px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid #dfe3d8}.brand{display:flex;gap:12px;text-decoration:none;color:var(--green);font-size:13px;font-weight:700;letter-spacing:2px}.brand small{display:block;font-size:9px;letter-spacing:4px;margin-top:6px}.mark{font-size:38px;font-weight:400;color:var(--gold)}.pill{font-size:10px;letter-spacing:1.6px;border:1px solid #d9dfd4;padding:11px 17px;border-radius:30px}.plain{border:0;background:none;color:#758075;font-size:12px}main{max-width:1280px;margin:auto;padding:34px 36px 18px}.intro{display:flex;align-items:end;justify-content:space-between;padding:0 4px 28px}.eyebrow{font-size:10px;letter-spacing:2.4px;color:var(--gold);font-weight:700}h1{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:48px;letter-spacing:-1.5px;line-height:1.06;margin:14px 0 0}h1 em{font-weight:500;color:#67816c}.lead{font-size:14px;line-height:1.8;color:#768174;margin:0 0 4px;max-width:290px}.game{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px}.scene{border:1px solid #e2e6da;background:#eaf0e8;border-radius:24px;overflow:hidden;box-shadow:0 14px 40px #27433708}.scene-top{display:flex;justify-content:space-between;align-items:center;padding:23px 27px;color:#68806e;font-size:11px}.status{font-size:9px;letter-spacing:1.7px;display:flex;gap:8px;align-items:center}.status i{width:6px;height:6px;background:#719a7b;border-radius:50%}#mouthWrap{position:relative;background:radial-gradient(ellipse,#f7f9f2 20%,#eaf0e8 70%)}#mouth{width:100%;display:block;touch-action:none;user-select:none;overflow:visible}.tooth{outline:none;cursor:pointer}.tooth:focus-visible .crown,.tooth.selected .crown{stroke:#9dbf8c;stroke-width:4}.tooth.done .crown{fill:url(#enamel)}.targetRing{fill:none;stroke:#d6ad65;stroke-width:2;stroke-dasharray:4 4;transform-box:fill-box;transform-origin:center}.tooth.selected .targetRing{stroke:#72a68a;stroke-width:3}.hint{position:absolute;bottom:8px;width:100%;text-align:center;font-size:12px;color:#758a79;pointer-events:none}.tools{display:flex;justify-content:center;gap:10px;padding:20px;border-top:1px solid #dce4d7;background:#f7f9f2}.tool{display:flex;align-items:center;gap:10px;border:1px solid #d9e1d5;padding:10px 14px;border-radius:14px;background:#fffef8;color:#789083;min-width:145px;transition:.2s}.tool svg{width:40px;height:35px}.tool span{font-size:10px;line-height:1.7;text-align:left}.tool b{display:block;font-size:13px;letter-spacing:.2px}.tool.active{background:var(--green);border-color:var(--green);color:#f4f5e9;box-shadow:0 5px 14px #183d3620}.tool.needed:not(.active){border-color:var(--gold);box-shadow:0 0 0 2px #b7955d20}aside{padding:28px 26px;background:#fffef9;border:1px solid #e2e6da;border-radius:24px}.step-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.6px;color:#8c998b}h2{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:29px;line-height:1.15;margin:25px 0 14px}aside>p{line-height:1.75;font-size:13px;color:#7a8578;min-height:66px}.progress{height:5px;border-radius:10px;background:#e6ebdf;margin-top:24px;overflow:hidden}.progress>div{height:100%;width:0;background:#91b199;transition:width .1s}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:#82917e;margin-top:9px}.checklist{margin:28px 0;display:grid;gap:14px;font-size:12px;color:#8a9586}.checklist>div{display:flex;gap:12px;align-items:center}.checklist span{display:grid;place-items:center;border:1px solid #dce3d5;width:24px;height:24px;border-radius:50%;font-size:10px}.checklist .complete{color:#3b6d53}.checklist .complete span{background:#e7efe0;border-color:#e7efe0}.tip{border-top:1px solid #e8eadf;padding-top:18px}.tip>span{font-size:9px;letter-spacing:1.6px;color:#b09a70}.tip p{font-size:12px;line-height:1.7;color:#7d8c79}.tip small{font-size:10px;line-height:1.5;display:block;color:#95a08e}.disclaimer{font-size:10px!important;line-height:1.6!important;margin:23px 0 0;min-height:0!important;color:#a0a89a!important}footer{display:flex;justify-content:space-between;padding:24px 4px 0;font-size:11px;color:#8d9988}footer a{color:#5c7963;text-decoration:none}dialog{border:1px solid #e2e5d8;border-radius:28px;max-width:440px;width:calc(100% - 32px);padding:40px;text-align:center;background:#fbfaf3;color:var(--green);box-shadow:0 30px 100px #10282044}dialog::backdrop{background:#173b3466;backdrop-filter:blur(6px)}dialog h2{font-size:44px;margin:14px 0}dialog p{line-height:1.8;color:#7c8877;font-size:13px}.finish-icon{font-size:60px;color:var(--gold)}.cta{display:block;background:var(--green);color:white;text-decoration:none;padding:17px;border-radius:13px;font-size:13px;margin-top:26px}.again{background:none;border:0;color:#7e8d76;padding:18px;font-size:12px}.close{position:absolute;top:15px;right:20px;background:none;border:0;font-size:24px;color:#85917e}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}@keyframes rotate{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1300px){#mouthWrap{margin:-10px 0}}@media(max-width:850px){header{height:80px;padding:0 22px}.pill{display:none}main{padding:24px 16px}.intro{padding-bottom:24px}h1{font-size:38px}.lead{font-size:12px;max-width:190px}.game{grid-template-columns:1fr}aside{padding:20px 24px}aside h2{margin:12px 0;font-size:26px}aside>p{min-height:0;margin:0}.checklist{display:flex;justify-content:space-between;gap:8px;margin:18px 0}.checklist>div{font-size:10px;gap:6px}.tip,.disclaimer{display:none}.scene-top{padding:18px}.tools{padding:15px 10px}.tool{min-width:0;flex:1;justify-content:center;padding:9px 8px}.tool svg{width:30px}.hint{font-size:10px;bottom:0}.progress{margin-top:17px}.scene{border-radius:20px}footer{font-size:10px}}@media(max-width:460px){.lead{display:none}h1{font-size:36px}.intro{padding-bottom:18px}.scene-top{font-size:9px}.status{font-size:8px;letter-spacing:1px}.brand{font-size:10px}.brand small{font-size:8px}.plain{font-size:10px}.tool{gap:6px}.tool b{font-size:11px}main{padding-top:18px}.game{gap:12px}}
@media(min-width:851px){#mouthWrap{max-width:650px;margin:auto;width:100%}.intro{margin-bottom:22px}main{padding-top:24px}}

#mouthWrap{padding:38px 0 52px}.tools{flex-wrap:wrap;gap:8px}.tool{min-width:112px;padding:10px}.tool svg{width:30px}.tooth.selected .crown{stroke:#a8aa93;stroke-width:1.5}@media(max-width:600px){#mouthWrap{padding:24px 0 38px}.tool{flex:0 1 calc(33.33% - 8px);min-width:90px}.tools{padding:12px 8px}.tool b{font-size:11px}.checklist{flex-wrap:wrap}}

@media(min-width:851px){#mouthWrap{max-width:470px;padding:6px 0 29px}.intro{padding-bottom:12px;margin-bottom:12px}header{height:85px}h1{font-size:40px}.scene-top{padding:16px 24px}}@media(max-width:850px){#mouthWrap{max-width:440px;margin:auto;padding:6px 0 30px}}

#mouthWrap{background:#eaf0e8}#mouth{overflow:hidden;border-radius:16px}.tooth:focus-visible .targetRing{stroke:#153e36;stroke-width:4}.implant-crown{filter:drop-shadow(0 2px 2px #3c1d2166)}@media(min-width:851px){#mouthWrap{max-width:465px;padding:0 0 28px}}

.tool:disabled{opacity:.4;cursor:not-allowed}.tool[data-tool="5"]{border-color:#8ebec0}.tool[data-tool="5"].needed{box-shadow:0 0 0 3px #9ed5da55}
