.game-clue[hidden], .cabinet-link[hidden], .dental-game-dialog [hidden] {display:none}
.game-clue, .cabinet-link {color:inherit; background:none; border:0; cursor:pointer; font:inherit}
.game-clue {display:inline-grid; place-items:center; width:44px; height:44px; padding:7px; vertical-align:middle; color:#315368}
.game-clue:hover, .game-clue:focus-visible {background:#def1fc; border-radius:5px; color:#173341}
.game-clue svg {height:30px; width:30px; display:block}
.game-clue--smile {width:104px; padding:0 3px}
.game-clue--smile svg {width:100%; height:auto; overflow:visible}
.game-clue--smile path {fill:none; stroke:#4785a6; stroke-width:2.4; stroke-linecap:round; stroke-dasharray:1; animation:floss-smile 1.25s ease-out both}
@keyframes floss-smile {from{stroke-dashoffset:1} to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.game-clue--smile path {animation:none}}
.cabinet-link {min-height:44px; text-decoration:underline; text-underline-offset:4px}
.dental-game-dialog {position:fixed; inset:0; margin:auto; padding:0; width:min(420px,calc(100% - 24px)); height:fit-content; max-height:calc(100dvh - 24px); overflow:auto; overscroll-behavior:contain; color:#26322e; background:#faf5e9; border:1px solid #a7a497; border-radius:10px; box-shadow:0 20px 65px #152b3540; text-align:left; font:400 1rem/1.45 var(--sans,'Source Sans 3',sans-serif)}
.dental-game-dialog::backdrop {background:#15231fc2}
.dental-game-paper {position:relative; padding:clamp(17px,5vw,30px)}
.dental-game-paper h2 {font:400 clamp(26px,6vw,36px)/1.06 var(--serif,'DM Serif Text',Georgia,serif); letter-spacing:-.035em; margin:3px 38px 12px 0; color:inherit}
.dental-game-paper button {cursor:pointer; font-family:inherit}
.dental-game-close {position:absolute; top:10px; right:10px; width:44px; height:44px; border:0; color:#26322e; background:none; font-size:20px}
.play-prompt, .play-status {margin:0 0 14px; color:#46524b}
.play-status {margin:12px 0; min-height:1.45em}
.dental-game-dialog :focus-visible,.cabinet-link:focus-visible,.game-clue:focus-visible {outline:3px solid #215c80; outline-offset:2px}
.play-button {min-height:44px; padding:7px 17px; border:1px solid #58829b; background:#90d5ff; color:#142e3e; border-radius:4px; font-weight:650}
.play-controls {display:flex; flex-wrap:wrap; gap:8px}
.play-controls button + button {background:transparent; border-color:#9da69e}
.play-arch {display:grid; grid-template-columns:repeat(4,minmax(44px,1fr)); grid-auto-rows:44px; width:min(100%,240px); margin:20px auto; background:radial-gradient(ellipse at 50% 110%,transparent 49%,#efcdbb 50%,#efcdbb 65%,transparent 66%)}
.play-tooth {height:44px; width:44px; border:0; border-radius:7px; background:transparent; display:grid; place-items:center; padding:3px; justify-self:center}
.tooth-left {grid-column:1} .tooth-right {grid-column:4}
.tooth-incisor.tooth-left {grid-column:2} .tooth-incisor.tooth-right {grid-column:3}
.tooth-canine.tooth-left {justify-self:end} .tooth-canine.tooth-right {justify-self:start}
.play-crown {display:block; width:31px; height:31px; border:1.8px solid #49574a; background:#fffcf3; box-shadow:inset 2px -3px 0 #dedecb; border-radius:36%}
.tooth-incisor .play-crown {height:21px; border-radius:45% 45% 25% 25%}
.tooth-canine .play-crown {width:25px; height:25px; transform:rotate(45deg); border-radius:35% 40% 15% 40%}
.tooth-premolar .play-crown {height:28px; width:24px; border-radius:48%}
.tooth-molar .play-crown {position:relative}
.tooth-molar .play-crown::after {content:'⌁'; position:absolute; inset:0; font-size:23px; color:#677363; text-align:center}
.play-tooth:hover .play-crown,.play-tooth.is-found .play-crown {background:#90d5ff}
.play-cards {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.play-card {height:76px; display:grid; place-items:center; padding:2px; border:1px solid #969e90; border-radius:5px; background:#fffbf1; color:#26322e}
.play-card[data-matched] {background:#cceaff; color:#163241}
.card-number {font:italic 25px Georgia,serif; color:#59675d}
.card-face {display:grid; place-items:center; font-size:13px}
.card-face svg {height:32px; width:32px}
.brush-guide {display:grid; grid-template:repeat(2,48px) / repeat(2,53px); gap:5px; justify-content:center; margin:18px 0}
.brush-quarter {display:block; border:9px solid #d7d8cb; background:transparent}
.brush-quarter.q0 {grid-area:1/2; border-radius:0 95% 0 0; border-bottom:0; border-left:0}
.brush-quarter.q1 {grid-area:1/1; border-radius:95% 0 0 0; border-bottom:0; border-right:0}
.brush-quarter.q2 {grid-area:2/1; border-radius:0 0 0 95%; border-top:0; border-right:0}
.brush-quarter.q3 {grid-area:2/2; border-radius:0 0 95% 0; border-top:0; border-left:0}
.brush-quarter.active {border-color:#28799e}
.brush-time {margin:0; font:400 2.6rem/1 var(--serif,Georgia,serif); font-variant-numeric:tabular-nums; text-align:center}
.play-shelf {list-style:none; padding:0; margin:0}
.play-shelf li {padding:10px 0; border-top:1px solid #c8cbbd}
.play-shelf button {width:100%; text-align:left}
.service-title {display:flex; justify-content:space-between; align-items:center; gap:12px}
.service-treatments {margin:.7rem 0 1rem; padding-left:1.25em; list-style:disc}
.service-treatments li {margin:.35em 0}
