#toast-pop {--ink:#563b47;--plum:#663950;--mint:#add3c0;scroll-margin-top:70px}
#tp-tip,#tp-rules,#tp-note {line-height:1.45;font-size:.93rem;margin:.5rem 0;color:var(--ink)}
#tp-note {min-height:1.45em}
.tp-counter,.tp-kitchen {max-width:460px;margin:auto}
.tp-counter {display:flex;align-items:baseline;justify-content:space-between;padding:5px 3px 9px;font-variant-numeric:tabular-nums;color:var(--ink)}
.tp-counter strong {font-size:1.04rem}.tp-counter span{font-size:.82rem}
.tp-kitchen {padding:12px 13px 15px;border:1px solid #d1bda9;border-radius:22px;background:repeating-linear-gradient(90deg,#fff5e6 0 21px,#f8e7d6 22px 23px,#fff5e6 24px 45px);box-shadow:inset 0 -6px #ead4c0}
#tp-rack {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 11px;touch-action:manipulation}
#toast-pop .tp-slot {position:relative;isolation:isolate;width:100%;height:clamp(100px,22vw,145px);min-width:48px;min-height:48px;overflow:hidden;padding:0;background:transparent;color:var(--ink);border:0;border-radius:10px;box-shadow:none;user-select:none;-webkit-user-select:none;touch-action:manipulation}
#toast-pop .tp-slot:focus-visible{outline:3px solid var(--plum);outline-offset:1px}
.tp-mouth,.tp-slice,.tp-body,.tp-steam{position:absolute;pointer-events:none}
.tp-mouth {z-index:0;left:4%;right:4%;height:10%;bottom:33%;border-radius:50%;background:#6f605e;border:4px solid #a6ada4}
.tp-slice{z-index:1;bottom:27%;left:13%;width:74%;height:67%;transform:translateY(95%);opacity:0}
.tp-slice svg{width:100%;height:100%;display:block}.tp-crust{fill:#d79353;stroke:#a36c45;stroke-width:2.5}.tp-crumb{fill:#f8c680}
.tp-slot:is([data-kind=gold],[data-kind=pale],[data-kind=burnt],[data-kind=served]) .tp-slice{transform:translateY(0);opacity:1}
.tp-slot:is([data-kind=idle],[data-kind=wrong],[data-kind=served]) .tp-mouth{background:#7f6e68}
.tp-slot[data-kind=pale] .tp-crumb{fill:#fff0ce}.tp-slot[data-kind=pale] .tp-crust{fill:#ddc0a0}
.tp-slot[data-kind=burnt] .tp-crumb{fill:#885e50}.tp-slot[data-kind=burnt] .tp-crust{fill:#684a44}
.tp-slot .tp-star,.tp-slot .tp-cross,.tp-slot .tp-dash{display:none}
.tp-slot:is([data-kind=gold],[data-kind=served]) .tp-star,.tp-slot[data-kind=burnt] .tp-cross,.tp-slot[data-kind=pale] .tp-dash{display:block}
.tp-slot[data-kind=served] .tp-slice{opacity:.48;transform:translateY(10%)}
.tp-body{z-index:2;inset:auto 1% 3%;height:34%;box-sizing:border-box;background:#b9dacb;border:2px solid #889e93;border-radius:11px 11px 16px 16px;box-shadow:inset 0 -5px #9ec6b4,0 3px 0 #9a786d30;display:flex;align-items:center;justify-content:center;gap:7px}
.tp-slot:nth-child(2n) .tp-body{background:#f2c9c2;border-color:#ba9690;box-shadow:inset 0 -5px #dfb1a8,0 3px 0 #9a786d30}
.tp-id {font-size:.72rem;font-weight:750;display:grid;place-items:center;width:1.3rem;height:1.3rem;border:1px solid #a68e79;border-radius:50%;background:#fffae8;color:#57483e}
.tp-caption{font-size:.86rem;font-weight:750;white-space:nowrap}
.tp-slot[data-kind=gold] .tp-body{background:#fff1ac;border-color:#9c743b;box-shadow:inset 0 -5px #edcf79}
.tp-steam {z-index:1;bottom:40%;left:0;right:0;opacity:0;font-size:1.7rem;line-height:1.3;color:#895749;font-weight:800}
.tp-slot[data-kind=steam] .tp-steam{opacity:1}
#tp-result{border-top:1px solid #d7c6b6;padding-top:10px;margin-top:8px}
#tp-result h2{margin:0;color:var(--ink)}#tp-result p{margin:6px 0 10px}
#toast-pop [hidden]{display:none!important}
@media(max-width:360px){.tp-kitchen{padding:7px 8px 11px}#tp-rack{gap:4px 6px}.tp-caption{font-size:.8rem}}
