.hub{--pixel-shadow:#080f0d;max-width:1184px;margin:auto;padding:10px 0 42px}
.hub-active{background:var(--bg)}
.hub-active .header-note{display:none}
.hub-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:72px;padding:36px 0 64px}
.hub-copy h1{font-size:clamp(35px,4.6vw,61px);font-weight:900;line-height:1.45;letter-spacing:-1px;margin:0 0 22px;color:var(--text)}
.hub-copy>p{font-size:17px;line-height:1.95;color:var(--muted);max-width:440px;margin:0 0 28px}
.hub-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;background:var(--gold);border:3px solid #203d3a;color:#203d3a;font-size:16px;font-weight:800;padding:15px 24px;text-decoration:none;box-shadow:5px 5px 0 var(--pixel-shadow)}
.hub-cta:hover{background:#ffdb77;transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--pixel-shadow)}
.hub-cta:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--pixel-shadow)}
.hub-pixel-arrow{display:inline-block;width:20px;height:20px;background:currentColor;clip-path:polygon(0 40%,40% 0,40% 25%,100% 25%,100% 75%,40% 75%,40% 100%,0 60%);flex-shrink:0}
.hub-copy .hub-join-note{font-size:12px;max-width:370px;margin-top:22px;line-height:1.8}
.hub-machine{position:relative;background:#355643;border:4px solid #789487;box-shadow:8px 8px 0 var(--pixel-shadow);margin:14px 12px 22px 0;padding:16px 22px 0;color:#f8f1df}
.hub-machine:before,.hub-machine:after{content:'';position:absolute;width:16px;height:16px;background:var(--bg);top:-4px;border-bottom:4px solid #789487}
.hub-machine:before{right:-4px;border-left:4px solid #789487}.hub-machine:after{left:-4px;border-right:4px solid #789487}
.hub-machine-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 3px 20px;font-size:13px;font-weight:bold}
.hub-machine-top>i{width:8px;height:8px;background:#ffc849;box-shadow:0 8px 0 #203d3a}
.hub-machine-screen{background:#f8f1df;border:8px solid #203d3a;outline:2px solid #789487;padding:17px 8px;display:grid;place-items:center;min-height:148px}
.hub-machine-screen img{width:100%;height:auto;max-width:380px;display:block}
.hub-machine-controls{display:flex;align-items:center;justify-content:space-between;padding:22px 12px 20px}
.hub-dpad{width:54px;height:54px;position:relative;filter:drop-shadow(3px 3px 0 #080f0d)}
.hub-dpad:before,.hub-dpad:after{content:'';position:absolute;background:#f8f1df}
.hub-dpad:before{width:18px;height:54px;left:18px;top:0}.hub-dpad:after{width:54px;height:18px;left:0;top:18px}
.hub-dpad i{position:absolute;left:22px;top:22px;width:10px;height:10px;background:#355643;z-index:1}
.hub-control-buttons{display:flex;align-items:center;gap:16px;direction:ltr}
.hub-control-buttons i{width:28px;height:28px;background:#ffc849;border:3px solid #203d3a;box-shadow:3px 4px 0 #080f0d}
.hub-control-buttons i+ i{background:#f8f1df;transform:translateY(-10px)}
.hub-machine-base{height:12px;margin:0 -22px;background:#203d3a;border-top:3px solid #789487}
.hub-section-head{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:3px solid var(--edge);padding:0 0 18px;margin:0 0 26px}
.hub-section-head h2{font-size:27px;line-height:1.5;margin:0}
.hub-title-group{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hub-count-pill{display:inline-block;padding:5px 12px;border:2px solid var(--gold);background:#121d1b;color:var(--gold);font-size:12px;font-weight:800;box-shadow:3px 3px 0 var(--pixel-shadow)}
.hub-wallet-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:18px 22px;margin:0 0 28px;border:3px solid var(--gold);background:var(--panel);box-shadow:5px 5px 0 var(--pixel-shadow)}
.hub-wallet-bar>div{display:grid;gap:4px}
.hub-wallet-label{font-size:12px;color:var(--muted);font-weight:700}
.hub-wallet-bar strong{font-size:22px;color:var(--gold)}
.hub-wallet-bar small{font-size:11px;color:var(--muted)}
.hub-wallet-bar a{text-decoration:none;border:2px solid var(--edge);padding:10px 16px;color:var(--text);font-weight:700;font-size:13px;box-shadow:3px 3px 0 var(--pixel-shadow)}
.hub-wallet-bar a:hover{border-color:var(--gold)}
.hub-welcome{font-size:12px;color:var(--muted)}
.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.hub-game{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:22px;position:relative;min-width:0;min-height:230px;padding:24px 22px 54px;border:2px solid var(--edge);background:var(--panel);box-shadow:5px 5px 0 var(--pixel-shadow);color:var(--text);text-decoration:none}
.hub-game:before{content:'';position:absolute;right:-2px;top:-2px;width:9px;height:9px;background:var(--bg);border-bottom:2px solid var(--edge);border-left:2px solid var(--edge)}
.hub-game:after{content:'';position:absolute;left:-2px;bottom:-2px;width:9px;height:9px;background:var(--bg);border-top:2px solid var(--edge);border-right:2px solid var(--edge)}
.hub-game:hover{border-color:var(--gold);transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--pixel-shadow)}
.hub-game:hover:before,.hub-game:hover:after{border-color:var(--gold)}
.hub-game:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--pixel-shadow)}
.hub-game:focus-visible,.hub-cta:focus-visible{outline:3px solid var(--gold);outline-offset:6px}
.hub-featured{grid-column:1/-1;grid-template-columns:110px minmax(0,1fr);min-height:205px;padding-bottom:30px;border-color:var(--gold)}
.hub-featured:before,.hub-featured:after{border-color:var(--gold)}
.hub-game-art{width:94px;height:102px;background:#203d3a;border:2px solid #789487;box-shadow:inset 4px 4px 0 #121d1b;display:grid;place-items:center}
.hub-game-art img{display:block;width:78px;height:78px;object-fit:contain;image-rendering:pixelated}
.hub-featured .hub-game-art{width:110px;height:114px}.hub-featured .hub-game-art img{width:88px;height:88px}
.hub-game-copy{min-width:0}
.hub-game h3{font-size:22px;font-weight:800;line-height:1.55;margin:0 0 10px;color:var(--text)}
.hub-featured h3{font-size:29px}
.hub-game p{font-size:13px;line-height:1.85;color:var(--muted);max-width:440px;margin:0 0 16px}
.hub-game-details{display:flex;flex-wrap:wrap;gap:6px 15px;color:var(--muted);font-size:10px;line-height:1.8}
.hub-game-details>span+span{padding-inline-start:14px;border-inline-start:2px solid var(--edge)}
.hub-play{position:absolute;bottom:18px;left:22px;display:flex;align-items:center;gap:12px;font-size:12px;font-weight:bold;color:var(--gold)}
.hub-play .hub-pixel-arrow{width:13px;height:13px}
.hub-featured .hub-game-copy{padding-left:120px}
.hub-featured .hub-play{bottom:35px}
.hub-how{margin-top:44px;padding:26px 0 0;border-top:3px solid var(--edge);display:grid;grid-template-columns:1fr auto;gap:10px 28px;align-items:center}
.hub-how h2{font-size:21px;margin:0}.hub-how p{font-size:13px;color:var(--muted);line-height:1.9;margin:0;max-width:700px;grid-row:2}
.hub-how>a{grid-column:2;grid-row:1/3;align-self:center;color:var(--text);border:2px solid var(--edge);padding:12px 18px;box-shadow:3px 3px 0 var(--pixel-shadow);text-decoration:none;font-size:13px;font-weight:bold}
:root[data-theme="light"] .hub{--pixel-shadow:#c2c7ae}:root[data-theme="light"] .hub-play,:root[data-theme="light"] .hub-wallet-bar strong{color:#76500e}:root[data-theme="light"] .hub-count-pill{background:#f8f1df;color:#76500e;border-color:#9b6b16}:root[data-theme="light"] .hub-wallet-bar{border-color:#9b6b16}:root[data-theme="light"] .hub-featured{border-color:#9b6b16}:root[data-theme="light"] .hub-featured:before,:root[data-theme="light"] .hub-featured:after{border-color:#9b6b16}
:root[data-theme="light"] .hub-game:focus-visible,:root[data-theme="light"] .hub-cta:focus-visible{outline-color:#76500e}
@media(prefers-reduced-motion:reduce){.hub-game,.hub-cta{transform:none!important}}
@media(max-width:1000px){.hub-hero{gap:36px}.hub-copy h1{font-size:43px}.hub-game{grid-template-columns:76px minmax(0,1fr);gap:18px;padding:20px 18px 54px}.hub-game-art{width:76px;height:88px}.hub-game-art img{width:62px;height:62px}.hub-featured{grid-template-columns:94px minmax(0,1fr);padding-bottom:28px}.hub-featured .hub-game-art{width:94px;height:100px}.hub-featured .hub-game-art img{width:76px;height:76px}.hub-game h3{font-size:20px}.hub-featured h3{font-size:25px}}
@media(max-width:700px){.hub-hero{grid-template-columns:1fr;gap:30px;padding:18px 0 46px}.hub-copy h1{font-size:clamp(32px,8vw,43px);margin-bottom:15px}.hub-copy>p{font-size:15px;max-width:360px}.hub-cta{font-size:14px;padding:13px 20px}.hub-machine{max-width:390px;width:calc(100% - 8px);justify-self:center;margin:0 8px 0 0;padding:12px 18px 0;box-shadow:6px 6px 0 var(--pixel-shadow)}.hub-machine-screen{min-height:120px;padding:12px 2px}.hub-machine-controls{padding:18px 8px}.hub-machine-top{padding:6px 3px 16px}.hub-machine-base{margin:0 -18px}.hub-dpad{transform:scale(.8);transform-origin:center}.hub-section-head{align-items:flex-start;gap:10px;flex-direction:column;padding-bottom:16px}.hub-section-head h2{font-size:25px}.hub-grid{grid-template-columns:1fr;gap:18px}.hub-game,.hub-featured{grid-column:auto;grid-template-columns:76px minmax(0,1fr);padding:20px 16px 52px;min-height:218px;gap:17px}.hub-featured .hub-game-art{width:76px;height:88px}.hub-featured .hub-game-art img{width:62px;height:62px}.hub-featured .hub-game-copy{padding-left:0}.hub-game h3,.hub-featured h3{font-size:21px}.hub-game p{font-size:12px;line-height:1.85;margin-bottom:13px}.hub-play,.hub-featured .hub-play{left:18px;bottom:17px}.hub-game-details{gap:5px 12px;font-size:10px}.hub-game-details>span+span{border:0;padding:0}.hub-how{grid-template-columns:1fr;gap:12px}.hub-how>a{grid-column:1;grid-row:3;justify-self:start}.hub-how p{grid-row:2}.hub-welcome{font-size:11px}}
@media(max-width:365px){.hub-game,.hub-featured{grid-template-columns:60px minmax(0,1fr);gap:13px}.hub-game-art,.hub-featured .hub-game-art{width:60px;height:74px}.hub-game-art img,.hub-featured .hub-game-art img{width:50px;height:50px}.hub-game h3,.hub-featured h3{font-size:19px}.hub-copy h1{font-size:31px}}
