/* Keep the editorial spacing; the scroll surface belongs to the snow scene. */
.about-card{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#617e7133 transparent;scroll-padding-block:20px;-webkit-overflow-scrolling:touch}
.about-card:hover,.about-card:focus-within{scrollbar-color:#617e7173 transparent}
.about-card::-webkit-scrollbar{width:4px;height:4px}
.about-card::-webkit-scrollbar-track{background:transparent}
.about-card::-webkit-scrollbar-thumb{border:0;border-radius:4px;background:#617e714d}
.about-card::-webkit-scrollbar-button{display:none;width:0;height:0}
.about-card::-webkit-scrollbar-corner{background:transparent}
@supports selector(::-webkit-scrollbar){.about-card,.about-card:hover,.about-card:focus-within{scrollbar-width:auto;scrollbar-color:auto}}
.about-card[data-scroll-more="true"]{mask-image:linear-gradient(#000 calc(100% - 20px),transparent)}
#about-explore{position:fixed;z-index:6;right:var(--pad);bottom:30px;display:flex;align-items:center;gap:18px;min-height:44px;padding:9px 16px;border:1px solid #ffffffa6;border-radius:24px;background:#f3f7f0c7;backdrop-filter:blur(8px);font-size:12px;color:#405c53}
#about-explore:hover{background:#f6faf4f2}
.about-reading #snowman-controls{display:none!important}
.about-reading footer>#replay,.about-reading footer>#motion-toggle,.about-reading footer>.progress{visibility:hidden}
.about-reading #about-me{visibility:visible;opacity:var(--about-reveal,1);pointer-events:auto}
.about-exploring #about-me{visibility:hidden;opacity:0;pointer-events:none}
.about-exploring #room-wash{opacity:.06}
.snow-fighting #about-me{visibility:hidden;opacity:0;pointer-events:none}
.snow-fighting #room-wash{opacity:.06}
@media(max-width:600px){
 nav{gap:12px}
 .about-card{scrollbar-color:#617e7140 transparent;padding-right:8px;padding-bottom:30px}
 .about-reading #about-me{top:110px;bottom:106px;max-height:none;transform:none}
 .about-reading #room-wash{background:linear-gradient(90deg,#f1f5efed,#f1f5efcf 75%,#f1f5ef9c)}
 #about-explore{left:50%;right:auto;bottom:36px;transform:translateX(-50%);white-space:nowrap}
}
@media(max-height:520px) and (pointer:coarse){
 .about-reading #about-me{top:90px;bottom:82px;width:calc(100vw - 72px);left:36px;right:36px;max-height:none;grid-template-columns:minmax(0,1fr) 108px;transform:none}
 #about-explore{left:auto;right:26px;bottom:22px;transform:none}
}
@media(prefers-reduced-motion:reduce){.about-card{scroll-behavior:auto}}

/* Project navigation stays in the header; the companion has one quiet control. */
#snowman-controls>div{width:fit-content;margin-left:auto;padding:3px;border-radius:24px}
#snowman-controls .snowman-rest{min-width:88px;min-height:40px;padding:9px 16px;border:0;border-radius:20px}
#snowman-controls .snowman-hint{margin:0 0 10px;white-space:nowrap}
@media(max-width:600px), (max-height:520px) and (pointer:coarse){#snowman-controls>div{margin-inline:auto}}

/* A single quiet invitation; choices only appear when asked for. */
#snowman-controls{display:flex;flex-direction:column;align-items:flex-end;gap:9px}
#snowman-controls[hidden]{display:none}
#snowman-controls .snowman-hint{margin:0;color:#617a71;font-size:11px}
#snowman-controls .snowman-hint[hidden]{display:none}
#snowman-controls .snowman-hint.is-used{display:none}
#snowman-controls .snowman-menu-toggle{display:flex;align-items:center;gap:18px;min-height:44px;padding:8px 15px;border:1px solid #ffffff96;border-radius:22px;background:#f4f8f06b;backdrop-filter:blur(8px);color:#48655c;box-shadow:0 2px 12px #29493d05}
#snowman-controls .snowman-menu-toggle>span{font-size:17px;font-weight:300;transition:transform .2s}
#snowman-controls .snowman-menu-toggle[aria-expanded="true"]>span{transform:rotate(45deg)}
#snowman-controls #snowman-menu{position:absolute;bottom:54px;right:0;display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:152px;padding:7px;border:1px solid #fff9;border-radius:16px;background:#f3f7f0ee;box-shadow:0 8px 28px #3b584d12;backdrop-filter:blur(12px)}
#snowman-controls #snowman-menu[hidden]{display:none}
#snowman-menu button{display:flex;justify-content:space-between;align-items:center;text-align:left;min-height:44px;padding:10px 12px!important;border-radius:10px!important}
#snowman-menu button:disabled{opacity:.4}
#snowman-controls:has(.snowman-menu-toggle[aria-expanded="true"]) .snowman-hint{visibility:hidden}
#snowman-controls .snowman-fight-prompt{order:-1;max-width:250px;min-height:30px;padding:2px 4px;font-size:11px;color:#48655c;white-space:normal;line-height:1.5;background:none;border:0}
#snowman-controls .snowman-fight-prompt:empty{display:none}
#snowman-controls .snowman-fight-prompt:disabled{cursor:default;opacity:.7}
.snow-fighting #world{cursor:crosshair!important;touch-action:pan-y}
.snow-fighting #snowman-touch{cursor:crosshair;touch-action:pan-y}
.about-reading #snowman-touch:not([data-chimney="true"]){pointer-events:none}
#snow-fight-splash{position:fixed;z-index:7;pointer-events:none;width:0;height:0;display:none}
#snow-fight-splash.is-hit{display:block}
#snow-fight-splash i{position:absolute;left:0;top:0;width:var(--s);height:var(--s);border-radius:42% 58% 68% 32% / 53% 43% 57% 47%;background:radial-gradient(at 35% 25%,#fff,#f4f9f5df 58%,#dce9e580);box-shadow:inset -1px -2px 3px #94b4ac35;animation:snow-fight-melt 1.1s ease-out both}
@keyframes snow-fight-melt{0%{transform:translate(-50%,-50%) scale(.1);opacity:0}12%{opacity:.94}45%{transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1);opacity:.9}100%{transform:translate(var(--x),calc(var(--y) + 42px)) rotate(var(--r)) scale(.4);opacity:0}}
@media(max-width:600px), (max-height:520px) and (pointer:coarse){
 #snowman-controls{align-items:center;gap:5px}
 #snowman-controls #snowman-menu{right:50%;transform:translateX(50%)}
 #snowman-controls .snowman-hint{font-size:10px}
}
@media(prefers-reduced-motion:reduce){#snow-fight-splash{display:none!important}}
