
/* Consistent crafted objects, legible mechanics and restrained material detail. */
.game-stage[data-puzzle]{--brass:#c6a15f;--wood:#61432c;--velvet:#17352b}
.game-stage .range-label{font-family:Georgia;gap:12px;padding:15px 0}
.game-stage input[type=range]{height:28px;background:transparent;cursor:pointer;accent-color:#b88a42}
.game-stage .choice-row button{border-radius:5px;border:1px solid #b49457;background:linear-gradient(125deg,#315140,#173528);box-shadow:inset 0 0 0 3px #132c21,inset 0 0 0 4px #c1a36a55,0 3px 8px #3d2c2029;color:#fae9bd;min-height:48px;font-family:Georgia}
.game-stage .crafted-balance {
 display:block;overflow:hidden;border-radius:10px;border:1px solid #a48762;
 background:#241c17;box-shadow:0 4px 15px #26190940;
}
.crafted-balance svg{display:block;width:100%;height:auto}
.scale-labels{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8px;padding:10px 6px;
 border-top:1px solid #9f7948;color:#f5e1b7;background:linear-gradient(#3d2d20,#211b18);font:1rem/1.4 Georgia,serif}
.scale-labels output{color:inherit;font:inherit!important;letter-spacing:0}
.game-stage[data-puzzle="scale"] .range-label{color:inherit}
.game-stage[data-puzzle=sound] .puzzle-visual{background:repeating-linear-gradient(90deg,#d3b26b0a 0 1px,transparent 1px 30px),repeating-linear-gradient(#d3b26b0a 0 1px,transparent 1px 30px),linear-gradient(125deg,#203f34,#0e211d);border:7px ridge #956f3b;padding:24px 12px;box-shadow:inset 0 0 24px #0008}
.game-stage[data-puzzle=prism] .puzzle-visual{padding:16px 4px;background:radial-gradient(ellipse at 50% 30%,#345148,#102820);border:7px ridge #9f7a44}.game-stage[data-puzzle=prism] svg{max-height:none}
.game-stage .clock-row{background:linear-gradient(#dbc19433,#bf9b6055);border-bottom:7px ridge #79502e;padding:22px 10px 10px}.game-stage .clock-row svg{box-shadow:0 6px 12px #55382155}.game-stage .clock-row p{font-size:14px!important}
.game-stage .token-grid{gap:12px;padding:20px;background:radial-gradient(ellipse at center,#34534b,#0e251f);border:7px ridge #99723e;border-radius:50px 50px 5px 5px}.game-stage .token-grid span{display:grid;place-items:center;min-height:63px;background:radial-gradient(ellipse at 35% 30%,#f8e8b3,#bea063)!important;border:3px double #74552d!important;box-shadow:inset 0 0 0 4px #f7e5b466,0 4px 8px #0005!important;color:#493822;font-size:16px!important}
.game-stage .cipher-alphabet{background:linear-gradient(100deg,#80613d,#d4b780 4%,#e5c995 96%,#80613d);border:7px ridge #80603b;border-radius:5px;box-shadow:0 6px 12px #5e3d232b;letter-spacing:.18em;padding:16px;color:#352b20;font-size:18px}.game-stage .cipher-alphabet p{padding:8px 0;border-bottom:1px solid #9f7d47;line-height:1.8}
.game-stage .mirror-panel{border:14px ridge #c4a05b;border-radius:48%;min-height:210px;background:linear-gradient(120deg,#809b99,#f5f2dd 42%,#9eb9b8 48%,#d6e1d5);box-shadow:0 8px 18px #5b402d3d,inset 0 0 22px #466c6555}.game-stage .mirror-reveal{background:linear-gradient(120deg,#b0c7c1,#f4f2e1,#b6cdc7)}
.game-stage .star-map{border:7px ridge #a07c48;border-radius:48% 48% 5px 5px;background:radial-gradient(circle at 23% 33%,#fff5 0 1px,transparent 2px),radial-gradient(circle at 71% 67%,#fff4 0 1px,transparent 2px),radial-gradient(ellipse at 40% 20%,#294652,#061b25);background-size:43px 47px,67px 53px,auto;box-shadow:inset 0 0 35px #0007}
.game-stage[data-puzzle=zip]>p{padding:15px 20px;border-block:2px solid #ae8a50;background:repeating-linear-gradient(0deg,#99754b12 0 1px,transparent 1px 4px),#e8d5af;letter-spacing:.12em;font:18px/1.5 Georgia}.game-stage[data-puzzle=zip]>output{min-height:70px;padding:18px 8px;border:3px double #b59963;text-align:center;overflow-wrap:anywhere;background:#f7e9c7}
.game-stage[data-puzzle=figure] .puzzle-visual{border:12px ridge #a17e45;border-radius:40% 40% 5px 5px;padding:14px;background:#352c21;overflow:hidden}.game-stage[data-puzzle=figure] svg{display:block;border-radius:38% 38% 3px 3px;max-height:360px}
.game-stage .box-row button{border:5px ridge #a98449;border-radius:4px;box-shadow:inset 0 0 0 4px #e4c78033,inset 0 9px 12px #fff2,0 7px 10px #51351c44;padding:70px 14px 20px!important;min-height:190px;font:16px/1.55 Georgia}.game-stage .box-row button:before{content:'';position:absolute;left:calc(50% - 15px);top:17px;width:30px;height:32px;border:3px double #edce86;border-radius:15px 15px 4px 4px;background:radial-gradient(circle at 50% 40%,#4a3023 0 3px,transparent 4px),linear-gradient(120deg,#a47a3c,#edd18e,#a47a3c);box-shadow:0 2px 5px #0005}
.game-stage .maze{border:9px ridge #8d6d3e;border-radius:4px;background:radial-gradient(#476147,#193627);box-shadow:inset 0 0 0 4px #c4a265,inset 0 0 30px #0007}.game-stage .maze svg line{stroke:#c6ad79;stroke-width:9;stroke-linecap:round}.game-stage .maze button{background:radial-gradient(#354d37,#172f24);border:2px solid #c8a56a;color:#f8e5b9;box-shadow:0 3px 5px #0005;font-family:Georgia}.game-stage .maze button[aria-pressed=true]{background:radial-gradient(#f8e5ae,#bc934c);color:#352b1d}
.game-stage .scarf-row label{position:relative;background:repeating-linear-gradient(90deg,#fff1 0 2px,#0001 2px 4px),linear-gradient(#8d483e 0 42px,#e9d4ad 42px);padding:55px 14px 18px;border:1px solid #ae9162;border-top:0;box-shadow:0 5px 9px #5a3b2529;font-family:Georgia}.game-stage .scarf-row label:nth-child(2){background:repeating-linear-gradient(90deg,#fff1 0 2px,#0001 2px 4px),linear-gradient(#385d70 0 42px,#e9d4ad 42px)}.game-stage .scarf-row label:nth-child(3){background:repeating-linear-gradient(90deg,#fff1 0 2px,#0001 2px 4px),linear-gradient(#3d644c 0 42px,#e9d4ad 42px)}.game-stage .scarf-row label:nth-child(4){background:repeating-linear-gradient(90deg,#fff1 0 2px,#0001 2px 4px),linear-gradient(#bb944a 0 42px,#e9d4ad 42px)}
.game-stage .poem{position:relative;padding:28px 25px;background:repeating-linear-gradient(0deg,#a7854a0a 0 1px,transparent 1px 5px),linear-gradient(110deg,#e1c796,#fff0ca,#e4cda0);border:1px solid #b89b65;border-radius:1px;box-shadow:4px 6px 0 #d2b987,7px 9px 0 #c5aa74;font:18px/1.75 Georgia}.game-stage .poem p:first-letter{font-size:1.25em;color:#7b4035}
.game-stage .shadow-board{border:10px ridge #987344;background:radial-gradient(ellipse,#fff6c5,#ddc48c 60%,#6d583a);box-shadow:inset 0 0 25px #4f321a55}.game-stage .shadow-plate{border:3px double #af925d;background:linear-gradient(130deg,#fff8 0,transparent 35%,#e9f4df22 65%,#fff5);box-shadow:0 4px 12px #382d1d22}
.game-stage[data-puzzle=grid] table{border:4px double #ac8b51;background:linear-gradient(100deg,#e7d1a2,#fff0ca);font-family:Georgia}.game-stage[data-puzzle=grid] th{background:#254534;color:#f8e6b8}.game-stage[data-puzzle=grid] td{border-color:#c0a46c;padding:12px 10px}
.game-stage[data-puzzle=return]>button:first-child{min-height:120px;border-radius:3px;border:2px solid #b3935d;background:linear-gradient(25deg,transparent 49%,#b3935d88 50%,transparent 51%),linear-gradient(-25deg,transparent 49%,#b3935d88 50%,transparent 51%),#ecd6a9;color:#573e27;box-shadow:0 5px 12px #50321e33;font:20px Georgia}
@media(max-width:600px){.game-stage .token-grid{gap:8px;padding:12px}.game-stage .box-row button{min-height:150px}.game-stage .cipher-alphabet{font-size:16px}.game-stage .scale-labels{font-size:14px}.game-stage .poem{font-size:17px;padding:20px 14px}.game-stage .mirror-panel{min-height:170px;border-width:10px}.game-stage .maze{border-width:5px}}

.ice-listening{padding:18px 20px;background:#173d3a;color:#f0dfb5;border:1px solid #b39b65;border-radius:8px}.ice-listening h3,.ice-inscription h3{font:normal 1.4rem Georgia;margin:0 0 12px}.ice-inscription{margin-top:25px}.ice-words{padding:25px;background:linear-gradient(135deg,#f3fbf2e0,#a6c8cce0,#edf9f2db);border:5px ridge #aa945f;border-radius:45% 45% 12px 12px;box-shadow:inset 0 0 24px #fbffff;color:#24464a;text-align:center;font:clamp(22px,5vw,30px)/1.6 Georgia}.ice-ending{color:#75512a}.ice-listening p{color:inherit}

/* Day 5: three accessible singing icicles */
.icicle-row {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(4px,1.5vw,12px);isolation:isolate;
 padding:0 clamp(8px,3%,24px) 18px; margin:22px 0;overflow:hidden;
 background:#102633 url("assets/advent-v80/ice-arch.webp") center / cover;
 border:1px solid #adc6cc88;border-radius:48% 48% 16px 16px / 14px 14px 16px 16px;
 box-shadow:inset 0 6px 20px #10243399;
}
.icicle-row .icicle-key {
 position:relative;min-width:0;min-height:222px;display:flex;flex-direction:column;
 align-items:center;justify-content:space-between;padding:0 2px 6px!important;
 background:transparent!important;border:0!important;box-shadow:none;color:white;
 touch-action:manipulation;opacity:1;
}
.ice-crystal {
 display:block;width:clamp(34px,5vw,58px);height:var(--ice-length);
 background:linear-gradient(96deg,#52768d 1%,#daffff 17%,#75afc6 24%,#214e72 39%,#d9fbff 46%,#6099b5 53%,#c6e8ef 68%,#fff1d2 74%,#4a7c99 88%);
 clip-path:polygon(0 0,100% 0,90% 15%,84% 21%,86% 28%,70% 41%,68% 56%,49% 100%,38% 78%,34% 55%,23% 43%,19% 30%,9% 24%);
 transform-origin:top;transition:filter .12s;
}
.ice-label {
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.1em .35em;
 max-width:100%;min-height:44px;font:600 1rem/1.25 Georgia,serif;white-space:normal;text-align:center;
 background:#091c29df;border:1px solid #b8d4d38c;border-radius:2em;padding:.35em .4em;color:#f1faff;
}
.ice-label>span {max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){.ice-label{flex-direction:column;flex-wrap:nowrap;width:100%;min-height:52px;border-radius:16px;padding:.35em .15em}}
.icicle-key.lit .ice-crystal {filter:brightness(1.85);animation:ice-ring .48s ease-out}
.icicle-row .icicle-key.lit {background:radial-gradient(ellipse at 50% 22%,#c3f9ff9c,transparent 67%)!important}
.icicle-key.lit .ice-label {background:#fff0bd;color:#172835}
.icicle-key:focus-visible {outline:2px solid #ffeab2;outline-offset:-3px}
@keyframes ice-ring {25%{transform:rotate(3deg)}70%{transform:rotate(-2deg)}}
@media(prefers-reduced-motion:reduce){.icicle-key.lit .ice-crystal{animation:none}}
.ice-progress{text-align:center}.ice-shard{padding:24px;text-align:center;font-size:28px;color:#f6df9c;background:linear-gradient(135deg,#23495a,#0d1b27);border:1px solid #b4dbe4;border-radius:12px}.icicle-key:disabled{opacity:1}

.rabbit-postcard-invitation{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #b99b6055}.rabbit-postcard-invitation h3{margin-top:0}.rabbit-postcard-invitation button{max-width:100%;white-space:normal}
