@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=VT323&display=swap');
:root{color-scheme:dark;--bg:#171913;--cream:#eee9d9;--gold:#edca50;--muted:#a6aa96;--line:#3c4031}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--cream);font:16px/1.5 'Space Grotesk',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}.topbar,main,footer{max-width:1240px;margin:auto}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 28px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:22px;letter-spacing:-1px}.brand img{image-rendering:pixelated}.brand span{font-size:14px;color:var(--gold);font-weight:500;letter-spacing:0;margin-left:8px}.community{font-size:14px;border-bottom:1px solid var(--muted);padding-bottom:4px}.hero{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:90px;padding:88px 28px 82px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--muted);font-weight:600;margin:0 0 24px}h1{font-size:clamp(48px,5.6vw,76px);line-height:1.04;letter-spacing:-4px;margin:0 0 27px;font-weight:600}h1 em{font-style:normal;color:var(--gold)}.intro{font-size:23px;line-height:1.45;margin:0 0 20px;letter-spacing:-.5px}.quip{color:var(--muted);font-size:16px;margin:0 0 32px}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{padding:14px 19px;font-size:14px;font-weight:600;border:1px solid var(--line);transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.primary{background:var(--gold);border-color:var(--gold);color:#252417}.secondary:hover{background:#2b3023}.equipment{background:#3c392e;border:3px solid #827557;box-shadow:0 0 0 4px #10110e,9px 10px 0 #0e100c;padding:6px;transform:rotate(2deg);max-width:435px;width:100%}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:9px 15px;background:#26271f;border-bottom:2px solid #665d44;font:25px 'VT323',monospace;color:#e5d7ac;text-shadow:2px 2px #111}.slot-label{color:var(--gold)}.item-display{text-align:center;padding:26px 20px 32px;background:#424132;box-shadow:inset 0 0 50px #2c2e24}.item-name{font:32px 'VT323',monospace;color:#f8dd54;text-shadow:2px 2px #16160d}.ring-slot{width:220px;height:220px;margin:20px auto 12px;display:grid;place-items:center;background:#333528;border:2px solid #777155;box-shadow:inset 3px 3px #1d2119,inset -3px -3px #55563e}.ring-slot img{width:185px;height:185px;image-rendering:pixelated;filter:drop-shadow(4px 9px 0 #202317)}.item-display p{font:24px 'VT323',monospace;margin:0;color:#fff5bf}.examine{font:20px 'VT323',monospace;color:#c9c5ab}.item-footer{display:flex;justify-content:space-between;padding:12px 13px 5px;font:18px 'VT323',monospace;color:#d2c7a3}.contract{position:relative;display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 28px 60px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0}.contract .eyebrow{font-size:11px}.contract p{margin:5px 0 0;font-weight:600}.contract p span{color:var(--muted);font-size:14px;font-weight:400}.address{display:flex;gap:20px;align-items:center;min-width:0}.address code{font-size:13px;color:#cdd0be;overflow-wrap:anywhere}.address button{background:#2c3124;color:var(--gold);border:1px solid #535b3e;padding:10px 15px;white-space:nowrap;cursor:pointer;font-size:14px}.address button:hover{background:#3b422f}#copy-status{position:absolute;right:0;bottom:3px;color:var(--gold);font-size:12px}.town{margin:0 28px 56px}.town img{width:100%;height:auto;display:block;border:1px solid #454b35}.town-caption{display:flex;justify-content:space-between;margin-top:14px;font-size:14px;color:var(--muted)}footer{padding:28px 28px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid var(--line)}footer p{font-size:12px;color:var(--muted);line-height:1.6}footer>a:last-child{font-size:14px;color:var(--muted)}@media(max-width:900px){.hero{gap:35px;padding-top:60px}h1{letter-spacing:-2px}.contract{align-items:flex-start;flex-direction:column;gap:12px}.address{width:100%;justify-content:space-between}.ring-slot{width:185px;height:185px}.ring-slot img{width:160px;height:160px}}@media(max-width:620px){.topbar{height:80px;padding:0 20px}.brand{font-size:20px}.community{font-size:12px}.hero{grid-template-columns:1fr;padding:45px 20px;gap:45px}h1{font-size:56px}.intro{font-size:21px}.equipment{max-width:360px;justify-self:center;transform:rotate(1deg)}.contract{margin:12px 20px 36px}.address{gap:12px}.address code{font-size:12px}.town{margin:0 20px 32px}.town-caption{font-size:12px;gap:20px}.town-caption span:last-child{text-align:right}footer{padding:25px 20px;flex-wrap:wrap}footer p{margin:0}.ring-slot{width:200px;height:190px}.ring-slot img{width:170px;height:170px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}
/* The existing equipment panel becomes a playable, keyboard-accessible toy. */
.equip-game{margin-top:22px;border-top:1px solid #777155;padding-top:17px}.equip-game[hidden]{display:none}.equip-slots{display:flex;align-items:center;justify-content:center;gap:23px;margin-bottom:17px}.slot-caption{display:block;font:18px 'VT323',monospace;color:#c9c5ab;margin-bottom:6px}.mini-slot{width:64px;height:64px;display:grid;place-items:center;border:2px solid #777155;background:#333528;box-shadow:inset 2px 2px #1d2119}.mini-slot img{image-rendering:pixelated;width:56px;height:56px}.mini-slot.is-equipped{border-color:var(--gold)}.equip-arrow{color:#c9c5ab;margin-top:24px;font-size:24px}.equip-button{cursor:pointer;min-width:180px}.item-display .equip-status{font:21px 'VT323',monospace;color:#fff5bf;margin:13px 0 2px;min-height:25px}.sound-toggle{font-size:12px;color:#d2c7a3;background:none;border:0;padding:8px 14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.bankstanders{margin:0 28px 65px;max-width:630px}.bankstanders h2{font-size:clamp(32px,4vw,44px);letter-spacing:-1.5px;line-height:1.1;margin:0 0 18px;color:var(--gold)}.bankstanders p{color:var(--muted);margin:0 0 26px}.bankstanders .button{display:inline-block}.hero{align-items:center}.equipment .item-display{padding-top:18px;padding-bottom:14px}.equipment .ring-slot{width:150px;height:145px;margin:12px auto}.equipment .ring-slot img{width:125px;height:125px}@media(prefers-reduced-motion:no-preference){.mini-slot img{animation:equip-drop .2s ease-out}@keyframes equip-drop{from{transform:translateY(-8px) scale(.8);opacity:.4}to{transform:translateY(0) scale(1);opacity:1}}}@media(max-width:620px){.bankstanders{margin:0 20px 42px}.bankstanders p br{display:none}}@media(prefers-reduced-motion:reduce){.button:hover{transform:none}}
.studio,.examine-section,.about-ring{margin:0 28px 70px}.studio h2,.examine-section h2,.about-ring h2{font-size:clamp(30px,4vw,44px);letter-spacing:-1.5px;line-height:1.15;margin:0 0 18px;color:var(--gold)}.section-intro,.about-ring p{color:var(--muted);max-width:670px}.studio-layout{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:40px;align-items:start;margin-top:32px}#studio-form{display:grid;gap:10px}#studio-form label{font-size:13px;color:var(--cream);margin-top:7px}#studio-form input,#studio-form select{width:100%;min-width:0;padding:12px;background:#24271e;color:var(--cream);border:1px solid #656b52;border-radius:0;font:inherit}input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}#studio-form input[type=file]{font-size:12px;padding:10px}.field-note{font-size:12px;color:var(--muted);margin:0 0 10px}.text-button{background:none;border:0;color:var(--gold);text-align:left;text-decoration:underline;padding:5px 0;cursor:pointer}.text-button[hidden]{display:none}.studio .actions{margin-top:14px}.studio button,.examine-section button{cursor:pointer}.studio button:disabled{opacity:.6;cursor:wait}.studio .secondary,.examine-section .secondary{background:transparent;color:var(--cream)}#studio-status{color:var(--gold);font-size:13px;min-height:20px;margin:0}.card-preview{position:sticky;top:24px}.card-preview canvas{width:100%;height:auto;display:block;border:1px solid #777155;background:#24271e}.card-preview p{font-size:12px;color:var(--muted);margin-top:14px}.card-preview a{text-decoration:underline}.examine-section{padding:32px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:30px;align-items:center;justify-content:space-between}.examine-section h2{font-size:30px}.examine-section p{font:24px 'VT323',monospace;margin:0;min-height:52px;max-width:660px}.examine-section button{flex-shrink:0}.about-ring{max-width:770px}.about-ring .actions{margin-top:25px}@media(max-width:760px){.studio-layout{grid-template-columns:1fr;gap:25px}.card-preview{position:static;grid-row:1}.studio,.examine-section,.about-ring{margin-left:20px;margin-right:20px}.examine-section{align-items:flex-start;flex-direction:column}.studio h2,.about-ring h2{letter-spacing:-1px}}
.hat-picker{border:0;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hat-picker legend{font-size:13px;margin-bottom:12px}.hat-picker label{position:relative;margin:0!important;cursor:pointer}.hat-picker input{position:absolute;opacity:0;width:1px!important;padding:0!important}.hat-picker span{display:flex;align-items:center;gap:8px;padding:10px 8px;border:1px solid #525944;font-size:12px}.hat-picker span:before{content:'';width:16px;height:16px;background:var(--swatch);clip-path:polygon(0 0,25% 40%,50% 0,75% 40%,100% 0,90% 100%,10% 100%)}.hat-picker input:checked+span{border-color:var(--gold);background:#353924}.hat-picker input:focus-visible+span{outline:2px solid var(--gold);outline-offset:3px}.card-preview canvas{max-height:650px;object-fit:contain;border:0}.card-preview{background:#20241a;padding:20px}.studio-layout{grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:55px}.card-preview p{line-height:1.6}@media(max-width:760px){.studio-layout{grid-template-columns:1fr;gap:25px}.card-preview{padding:12px}}
