:root{--bg-top: #1a4b8c;--bg-mid: #1d708f;--bg-bot: #1e9682;--card-bg: rgba(255, 255, 255, .96);--ink: #192438;--muted: #52627a;--gold: #ffbe2e;--gold-deep: #d98200;--mint: #2bc48a;--shadow: 0 14px 32px rgba(9, 25, 48, .28)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0;width:100%;height:100%;overflow-x:hidden;background:linear-gradient(170deg,var(--bg-top) 0%,var(--bg-mid) 52%,var(--bg-bot) 100%);color:#fff;font-family:Nunito,Avenir Next,system-ui,-apple-system,sans-serif;user-select:none;-webkit-user-select:none}#app{width:100%;min-height:100dvh}.hub-shell{max-width:520px;margin:0 auto;padding:calc(env(safe-area-inset-top,12px) + 12px) 16px calc(env(safe-area-inset-bottom,18px) + 24px);display:flex;flex-direction:column;gap:14px}.hub-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.hub-brand{display:flex;align-items:center;gap:10px}.hub-brand img{width:44px;height:44px;border-radius:12px;box-shadow:0 4px 12px #0000003d}.hub-brand h1{margin:0;font-size:22px;font-weight:900;letter-spacing:-.02em;line-height:1.05}.hub-brand p{margin:2px 0 0;font-size:12px;color:#ffffffdb;font-weight:700}.hub-controls{display:flex;align-items:center;gap:6px}.pill-btn{border:1px solid rgba(255,255,255,.28);background:#ffffff29;color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.pill-btn.ready{background:#2bc48a40;border-color:#a7f3d08c;color:#ecfdf5}.install-banner{background:#ffffff24;border:1px solid rgba(255,255,255,.24);border-radius:16px;padding:10px 14px;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;line-height:1.35}.install-banner.hidden{display:none}.hub-shelf{display:flex;flex-direction:column;gap:14px}.game-card{background:var(--card-bg);color:var(--ink);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);border:3px solid rgba(255,255,255,.7)}.game-card.workshop{opacity:.9}.game-art{width:100%;height:124px;display:block}.game-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px}.game-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.game-title{margin:0;font-size:21px;font-weight:900;letter-spacing:-.02em}.game-tag{border-radius:999px;padding:4px 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}.game-tag.live{background:#dcfce7;color:#166534}.game-tag.soon{background:#fef3c7;color:#92400e}.game-desc{margin:0;font-size:14px;line-height:1.4;color:var(--muted);font-weight:600}.game-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px}.game-progress{font-size:13px;font-weight:800;color:#334155}.play-btn{min-width:128px;min-height:48px;border:none;border-radius:16px;background:linear-gradient(180deg,#ffd447,#f59e0b);color:#1f2937;font-size:17px;font-weight:900;letter-spacing:.02em;box-shadow:0 4px #c27803,0 8px 16px #f59e0b59;cursor:pointer;padding:0 20px}.play-btn:active{transform:translateY(2px);box-shadow:0 2px #c27803}.play-btn:disabled{background:#e2e8f0;color:#64748b;box-shadow:none;cursor:default}.hub-footer{text-align:center;font-size:12px;color:#ffffffc7;font-weight:700;padding-top:4px}.play-stage{position:relative;width:100%;height:100dvh;overflow:hidden;background:#0f172a;display:flex;align-items:center;justify-content:center;touch-action:none}.play-stage canvas{display:block;touch-action:none;box-shadow:0 18px 46px #00000073}.home-fab{position:absolute;top:calc(env(safe-area-inset-top,8px) + 10px);left:10px;z-index:30;width:44px;height:44px;border-radius:14px;border:2px solid rgba(255,255,255,.5);background:#0f172a8c;color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
