/* Lychee Games hub. PC first: compact header with filter pills, a ~170px hero strip with the Game Room beside it,
   then the game grid so two full rows of cards show on a 1366x800 laptop. Phones get a 2-column grid. */
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;padding:10px 16px;border-radius:12px;background:var(--lg-rose);color:var(--lg-on-rose);font-weight:800;text-decoration:none}.skip-link:focus{top:8px}
body{background:radial-gradient(ellipse at 92% 8%,var(--hub-glow) 0,transparent 38%),var(--lg-cream);min-height:100vh}
.hub-header,main,footer{width:min(1280px,calc(100% - 64px));margin:auto}
.hub-header{display:flex;align-items:center;gap:20px;padding:12px 0;min-height:64px;border-bottom:1px solid var(--lg-line)}
.wordmark{display:flex;align-items:center;gap:8px;font-family:'Fredoka',sans-serif;font-size:1.6rem;text-decoration:none;flex:none}.wordmark>span:first-child{position:relative;font-size:2rem;color:var(--hub-fruit);line-height:1}.wordmark i{position:absolute;right:-2px;top:6px;font-size:.85rem;color:var(--lg-cream);font-style:normal}.wordmark-small{font-family:'Nunito',sans-serif;font-size:.62rem;text-transform:uppercase;letter-spacing:.15em;margin:9px 0 0 3px}
.hub-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex:none}
.hub-search{position:relative;display:flex;align-items:center}.hub-search input{width:200px;min-height:40px;padding:6px 34px 6px 34px;border:1px solid var(--lg-line);border-radius:99px;background:var(--lg-white);color:var(--lg-ink);transition:width .2s,border-color .2s}.hub-search input:focus{width:250px;border-color:var(--lg-rose)}.hub-search input::placeholder{color:var(--lg-muted);opacity:1}
.hub-search-icon{position:absolute;left:13px;font-size:1.15rem;color:var(--lg-muted);pointer-events:none;transform:translateY(-1px)}
.hub-search kbd{position:absolute;right:10px;min-width:20px;padding:1px 6px;border:1px solid var(--lg-line);border-bottom-width:2px;border-radius:6px;background:var(--lg-cream);font:800 .7rem/1.4 'Nunito',sans-serif;color:var(--lg-muted);pointer-events:none;text-align:center}.hub-search input:focus~kbd,.hub-search input:not(:placeholder-shown)~kbd{display:none}
.filters{display:flex;gap:6px;min-width:0;flex:1 1 auto;justify-content:center}
.filter{min-height:38px;padding:5px 15px;border-radius:99px;border:1px solid var(--lg-line);background:var(--lg-white);color:var(--lg-ink);font-weight:800;font-size:.85rem;white-space:nowrap;transition:transform .15s,background .15s,border-color .15s}.filter:hover{border-color:var(--lg-rose);transform:translateY(-1px)}
.filter[aria-pressed=true]{background:var(--lg-rose);border-color:var(--lg-rose);color:var(--lg-on-rose)}
.filter-empty{margin:0;color:var(--lg-muted)}

.eyebrow{font-size:.64rem;letter-spacing:.15em;font-weight:800;color:var(--lg-muted)}
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,520px) 150px;align-items:center;gap:24px;padding:18px 4px 14px}
.hero-copy h1{font-size:clamp(1.7rem,2.6vw,2.3rem);line-height:1.12;letter-spacing:-.03em;margin:6px 0 6px}.hero-copy h1 span{color:var(--lg-rose)}
.hero-copy>p{line-height:1.5;color:var(--lg-muted);margin:0 0 12px;font-size:.9rem;max-width:46ch}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero .hero-actions .lg-button{min-height:44px;padding:9px 18px;box-shadow:0 6px 16px #a82d5514;transition:transform .2s cubic-bezier(.34,1.56,.64,1)}.hero .lg-button:hover{transform:translateY(-2px)}
.fruit-scene{position:relative;height:130px;background:radial-gradient(ellipse at center,var(--hub-scene) 0,transparent 67%)}
.fruit{position:absolute;width:78px;height:84px;border-radius:48% 50% 45% 50%;transform:rotate(-16deg);box-shadow:inset -8px -7px 14px #ac315544,6px 10px 14px #9c3e5114;background:radial-gradient(circle,#ed8da3 1.5px,transparent 2.5px) 0 0/9px 8px,linear-gradient(120deg,#e9809a,#c64064)}
.fruit-back{left:46%;top:12px;transform:rotate(17deg)}.leaf{position:absolute;top:-17px;left:28px;width:42px;height:19px;border-radius:100% 0 100% 0;background:linear-gradient(15deg,#3c7050,#84ac70);transform:rotate(-15deg)}
.fruit-front{left:14%;top:46px;width:84px;height:80px}.fruit-flesh{position:absolute;inset:6px;background:radial-gradient(ellipse at 35% 25%,white,#fff5e9 70%,#ecd7cc);border-radius:50%;display:grid;place-items:center;box-shadow:inset -3px -3px 6px #a86b4f18}.fruit-flesh span{font-size:24px;color:#6e363a;transform:rotate(16deg)}
.orbit{position:absolute;color:var(--hub-orbit);font-size:18px}.orbit-one{left:6%;top:10px}.orbit-two{right:6%;bottom:18px;transform:rotate(14deg)}

/* ---- Game Room, compact (ids and behaviour live in hub/room-panel.js) ---- */
.room-panel{padding:14px 18px;border:1px solid var(--lg-line);border-radius:20px;background:var(--lg-white);box-shadow:var(--lg-shadow);min-width:0}
.room-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.room-head h2{margin:0;font-size:1.15rem}.room-head .lg-chip{font-size:.7rem;padding:4px 10px;white-space:nowrap}
.room-lead{margin:0 0 10px;font-size:.82rem;line-height:1.45}
.room-idle-grid{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.room-idle-grid>.lg-button{min-height:44px;white-space:nowrap}
.room-join{flex:1 1 200px;min-width:0}.room-join-row{display:flex;gap:8px}.room-join input{flex:1 1 90px;min-width:0;min-height:44px;width:7em;border:1px solid var(--lg-line);border-radius:12px;background:var(--lg-cream);padding:8px 10px;color:var(--lg-ink);letter-spacing:.16em;font-weight:800;text-transform:uppercase;text-align:center}.room-join input::placeholder{letter-spacing:.1em;color:var(--lg-muted);opacity:1}.room-join .lg-button{min-height:44px;white-space:nowrap}
.room-error{margin:8px 0 0;color:var(--lg-bad);font-weight:800;font-size:.85rem}
#room-live:not([hidden]){display:flex;gap:18px 24px;align-items:flex-start;flex-wrap:wrap}.room-live-l{flex:0 1 auto}.room-live-r{flex:1 1 220px;min-width:0}
.room-code-wrap{display:flex;flex-direction:column;gap:0}.room-code-label{font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.room-code{display:block;font:600 2.2rem/1.1 'Fredoka',system-ui,sans-serif;letter-spacing:.2em;color:var(--lg-rose)}
.room-actions{margin:8px 0 0}.room-actions .lg-button{min-height:40px;padding:7px 14px;font-size:.85rem}
.room-people{list-style:none;display:flex;gap:8px;flex-wrap:wrap;padding:0;margin:0}
.room-person{display:flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border:1px solid var(--lg-line);border-radius:99px;background:var(--lg-cream);font-weight:800;min-width:0;font-size:.85rem}
.room-person .room-av{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--lg-pink);font-size:1rem}.room-person small{display:block;font-weight:700;color:var(--lg-muted);line-height:1.1;font-size:.7rem}
.room-person .room-tick{color:var(--lg-good)}.room-person.away .room-tick{color:var(--lg-muted)}
.room-hint{margin:8px 0 0;line-height:1.4;font-size:.8rem}
.room-note{margin:8px 0 0;font-size:.78rem;font-weight:800;color:var(--lg-muted)}

@media(min-width:861px){.hero:has(#room-live:not([hidden])){grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr)}.hero:has(#room-live:not([hidden])) .fruit-scene{display:none}}
/* ---- Game grid ---- */
.collection{padding:4px 0 24px}.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.collection-heading h2{margin:0;font-size:1.2rem;letter-spacing:-.01em}.collection-heading>.lg-chip{white-space:nowrap;background:var(--lg-chip2-bg);color:var(--lg-chip2-fg);font-size:.72rem;padding:4px 11px}
.game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.game-card{position:relative;display:flex;flex-direction:column;gap:6px;text-decoration:none;min-width:0;padding:10px 10px 12px;border-radius:20px;transition:transform .22s cubic-bezier(.34,1.56,.64,1),box-shadow .22s,border-color .2s;cursor:pointer}
.game-card[href]:hover,.game-card[href]:focus-visible{transform:translateY(-4px);box-shadow:0 14px 28px -6px #9b2c4e26,0 4px 10px -2px #0000000a;border-color:var(--lg-rose)}
.game-card:focus-visible{outline:3px solid var(--lg-leaf);outline-offset:3px}
.game-card:active{transform:translateY(-1px) scale(.99)}
.game-card.live{border-color:var(--hub-live-line);background:linear-gradient(140deg,var(--lg-white),var(--hub-live-end))}
.game-preview{position:relative;height:88px;border-radius:14px;background:var(--lg-tint-1);display:grid;place-items:center;overflow:hidden}
.game-card:nth-child(3n+2) .game-preview{background:var(--lg-tint-2)}.game-card:nth-child(3n) .game-preview{background:var(--lg-tint-3)}
.game-preview .pv{width:100%;height:100%;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.game-card:hover .pv,.game-card:focus-visible .pv{transform:scale(1.07) rotate(-1.5deg)}
.game-preview .game-emoji{width:auto;height:auto;font-size:2.4rem;background:none;margin:0}
.game-genre{margin:2px 4px -2px;font-size:.58rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--lg-muted);line-height:1}
.game-badge{position:absolute;right:8px;top:8px;opacity:0;transition:opacity .2s;color:var(--hub-badge-fg);background:var(--hub-badge-bg);font-size:.6rem;padding:3px 8px;border-radius:99px;font-weight:800}.live .game-badge{background:var(--hub-badge-live-bg);color:var(--hub-badge-live-fg)}
.game-card h3{display:flex;align-items:center;gap:7px;font-size:1.08rem;margin:2px 4px 0;line-height:1.2}.game-card h3 .game-emoji{width:auto;height:auto;background:none;margin:0;font-size:1.05rem;border-radius:0}
.game-card p{font-size:.8rem;color:var(--lg-muted);line-height:1.4;margin:0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.game-tags{display:flex;gap:5px;flex-wrap:wrap;margin:auto 4px 0;padding-top:4px}.game-tags .lg-chip{font-size:.62rem;background:var(--hub-tag-bg);color:var(--hub-tag-fg);padding:3px 8px}
.game-card:hover .game-badge,.game-card:focus-visible .game-badge,.in-room .game-badge{opacity:1}
.card-arrow{float:right;color:var(--lg-rose)}
.game-emoji{display:grid;place-items:center;width:55px;height:55px;border-radius:18px;background:var(--lg-tint-1);font-size:1.8rem;margin-bottom:16px}
/* mini-board art (hub/previews.js): classes map onto the theme variables */
.pv .fa{fill:var(--lg-p1)}.pv .fb{fill:var(--lg-p2)}.pv .fw{fill:var(--lg-white)}.pv .ft{fill:var(--lg-cream)}.pv .fk{fill:var(--lg-ink)}.pv .fg{fill:var(--hub-gold)}.pv .fl{fill:var(--lg-line)}.pv .fgood{fill:var(--lg-good)}.pv .ftint3{fill:var(--lg-tint-3)}.pv .soft{opacity:.28}.pv .soft2{opacity:.5}
.pv .sl{stroke:var(--lg-line);stroke-width:1.2;fill:none}.pv rect.sl,.pv rect.fw.sl{fill:var(--lg-white)}.pv rect.ftint3.sl{fill:var(--lg-tint-3)}.pv .sl2{stroke:var(--lg-line);stroke-width:1.2}
.pv .sk{stroke:var(--lg-ink);stroke-width:1.6;fill:none;stroke-linecap:round}.pv .sa{stroke:var(--lg-p1);stroke-width:2.4;fill:none;stroke-linecap:round}.pv .sb{stroke:var(--lg-p2);stroke-width:2;fill:none}.pv .sa.m,.pv .sb.m{stroke-width:2}.pv .nofill{fill:none}.pv .w3{stroke-width:3}
.pv .sw{stroke:#fff;stroke-width:1.4;stroke-linecap:round}.pv .sk2{stroke:var(--lg-muted);stroke-width:1}.pv .ship{opacity:.82}
.pv .ed{stroke-width:3.2;stroke-linecap:round}.pv .ed.a{stroke:var(--lg-p1)}.pv .ed.b{stroke:var(--lg-p2)}
.pv .tx{font:600 9.5px 'Fredoka','Nunito',system-ui,sans-serif;text-anchor:middle;fill:var(--lg-ink)}.pv .tx.hit{fill:var(--lg-p1);font-weight:700}.pv .tx.on{fill:#fff}.pv .tx.dim{opacity:.3}.pv .tx.big{font-size:20px}.pv .tx.s9{font-size:8.5px}.pv .tx.s7{font-size:7px}.pv .tx.n6{font-size:4.5px;text-anchor:start;fill:var(--lg-muted)}
.pv .glyph{font:700 15px system-ui,sans-serif;text-anchor:middle}.pv .glyph.rose{fill:var(--lg-p1)}.pv .glyph.gold{fill:var(--hub-gold)}
.pv .stk{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.pv .stk.a{stroke:var(--lg-p1)}.pv .stk.g{stroke:var(--lg-good)}
.pv .board{fill:#2f6b45}.pv .sg{stroke:#ffffff55;stroke-width:1}.pv .dw{fill:#fffefd}.pv .db{fill:#1d1a1c}.pv .hint{fill:#ffffff88}

/* ---- Shelves, compact, below the games ---- */
.shelf{padding:0 0 26px}.shelf-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 16px;flex-wrap:wrap;margin-bottom:12px}.shelf-head h2{margin:6px 0 0;font-size:1.3rem;letter-spacing:-.02em}.shelf-head .lg-chip{white-space:nowrap}
.shelf-empty{margin:0;padding:14px 18px;border:1px dashed var(--lg-line);border-radius:18px;line-height:1.5}
.continue-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.continue-card{display:flex;gap:12px;align-items:center;min-width:0;padding:12px 14px;border-radius:20px;text-decoration:none;transition:transform .2s}.continue-card:hover{transform:translateY(-3px)}
.continue-card .game-emoji,.daily-card .game-emoji{flex:none;margin:0;width:44px;height:44px;font-size:1.4rem;border-radius:14px}
.continue-card b{display:block;font-family:'Fredoka',system-ui,sans-serif;font-weight:500;font-size:1.05rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.continue-card small{display:block;color:var(--lg-muted);font-size:.76rem;line-height:1.4}
.continue-card>span:last-child{min-width:0}
.daily-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.daily-card{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px;border-radius:20px;text-decoration:none;transition:transform .2s}.daily-card:hover{transform:translateY(-3px)}
.daily-card .game-emoji{margin:0 0 4px}.daily-card h3{margin:0;font-size:1.05rem}
.daily-state{font-size:.8rem;font-weight:800;color:var(--lg-muted)}.daily-card.done{border-color:var(--lg-good)}.daily-card.done .daily-state{color:var(--lg-good)}
.daily-streak{margin-top:auto;padding-top:4px;font-size:.78rem;font-weight:800;color:var(--lg-ink)}.daily-streak.risk{color:var(--lg-warn)}
.daily-note{margin:10px 2px 0;font-size:.78rem}

/* ---- Profile & stats ---- */
.profile{padding:4px 0 26px}.profile .collection-heading{margin-bottom:12px}.profile .collection-heading h2{margin:6px 0 0}.profile-top{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px;padding:16px 20px}
.profile-avatar{display:grid;place-items:center;flex:none;width:64px;height:64px;border-radius:50%;font-size:2rem;background:var(--lg-cream);border:4px solid var(--profile-colour,var(--lg-rose))}
.profile-top h3{margin:0;font-size:1.3rem}.profile-top p{margin:2px 0 0;font-size:.85rem}.profile-top .lg-button{margin-left:auto}
.stat-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:26px}
.stat-tile{padding:16px 18px;border-radius:20px}.stat-tile b{display:block;font-family:'Fredoka',system-ui,sans-serif;font-weight:500;font-size:1.8rem;line-height:1.1}.stat-tile span{font-size:.78rem;color:var(--lg-muted);font-weight:700}
.profile h3.sub{margin:6px 0 12px;font-size:1.15rem}
.pgame-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-bottom:26px}
.pgame{padding:16px 18px;border-radius:20px}.pgame header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pgame header span{font-size:1.4rem}.pgame h4{margin:0;font-family:'Fredoka',system-ui,sans-serif;font-weight:500;font-size:1.05rem}
.pgame dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:0}.pgame dt{font-size:.7rem;color:var(--lg-muted);font-weight:800}.pgame dd{margin:0;font-weight:800}
.ach-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.ach{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:18px}.ach-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--lg-tint-1);font-size:1.4rem}
.ach b{display:block;font-size:.95rem}.ach small{display:block;color:var(--lg-muted);line-height:1.4}.ach .ach-when{margin-top:4px;font-weight:800;font-size:.72rem;color:var(--lg-good)}
.ach.locked{background:transparent;box-shadow:none;border-style:dashed}.ach.locked .ach-icon{filter:grayscale(1);opacity:.6}.ach.locked .ach-when{color:var(--lg-muted)}
.profile-note{margin:14px 2px 0;font-size:.78rem}

/* ---- Install: a slim bar ---- */
.install{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;margin:0 0 32px;padding:14px 20px;border:1px solid var(--lg-line);border-radius:var(--lg-radius);background:var(--lg-white);box-shadow:var(--lg-shadow)}.install h2{margin:0;font-size:1.1rem}.install p{margin:2px 0 0;color:var(--lg-muted);font-size:.85rem}.install-actions{display:flex;flex-wrap:wrap;gap:10px}.install .install-note{flex-basis:100%;font-size:.75rem;margin:0}
footer{border-top:1px solid var(--lg-line);text-align:center;padding:20px 0 24px;font-size:.8rem;color:var(--lg-muted)}footer>span{color:var(--lg-rose);padding-left:5px}footer small{display:block;margin-top:6px;font-size:.68rem}footer a{color:var(--lg-rose)}
.game-card.room-wait{opacity:.85}.game-card.room-look{outline:3px solid var(--lg-rose);outline-offset:3px}

@media(min-width:1700px){.hub-header,main,footer{width:min(1480px,calc(100% - 96px))}.game-grid{gap:18px}.game-preview{height:110px}}
@media(max-width:1180px){.hero{grid-template-columns:minmax(0,1fr) minmax(360px,480px)}.fruit-scene{display:none}.hub-search input{width:150px}.hub-search input:focus{width:190px}.filter{padding:5px 11px}}
@media(max-width:1000px){.daily-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.continue-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.hub-header{flex-wrap:wrap;gap:8px 12px}.hub-actions{order:2}.filters{order:3;flex:1 1 100%;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px;margin:0 -2px}.filters::-webkit-scrollbar{display:none}.hero{grid-template-columns:1fr;gap:12px;padding:14px 2px 10px}}
@media(max-width:760px){
  .hub-header,main,footer{width:calc(100% - 32px)}.hub-header{padding:10px 0 4px;min-height:0}.wordmark{font-size:1.4rem}.wordmark-small{display:none}
  .hub-search{display:none}.hub-actions{margin-left:auto}
  .filter{min-height:40px;padding:5px 14px}
  .hero-copy h1{font-size:1.55rem;margin:2px 0 4px}.hero-copy .eyebrow{display:none}.hero-copy>p{display:none}.hero-actions{flex-wrap:nowrap}.hero .hero-actions .lg-button{flex:1 1 0;min-width:0;padding:9px 10px;font-size:.9rem}
  .room-panel{padding:10px 12px;border-radius:18px}.room-head{margin-bottom:0}.room-head h2{font-size:1rem}.room-lead{display:none}.room-idle-grid{margin-top:8px;gap:8px;flex-wrap:nowrap}.room-idle-grid>.lg-button{flex:0 0 auto;padding:9px 12px;font-size:.88rem}.room-join{flex:1 1 0}.room-join-row{gap:6px}.room-join .lg-button{padding:9px 12px;font-size:.88rem}.room-join input{width:0;flex:1 1 0;padding:8px 4px}
  .collection{padding-top:0}.collection-heading{margin-bottom:8px}.collection-heading h2{font-size:1rem}.collection-heading>.lg-chip{font-size:.62rem;padding:3px 8px}
  .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .game-card{padding:6px 6px 9px;border-radius:16px;gap:4px}.game-preview{height:66px;border-radius:11px}.game-genre{display:none}.game-badge{top:5px;right:5px;font-size:.52rem;padding:2px 6px}
  .game-card h3{font-size:.95rem;margin:2px 3px 0}.game-card h3 .game-emoji{font-size:.95rem}.game-card p{font-size:.7rem;margin:0 3px;-webkit-line-clamp:2}.game-tags{margin:auto 3px 0;gap:3px}.game-tags .lg-chip{font-size:.54rem;padding:2px 6px}.game-tags .lg-chip:nth-child(n+3){display:none}
  .install{padding:12px 14px}
}
@media(max-width:560px){
  .continue-row{grid-template-columns:1fr}
  .daily-grid{grid-template-columns:1fr;gap:10px}
  .daily-card{flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:12px 14px}
  .daily-card .game-emoji{margin:0;width:42px;height:42px;font-size:1.35rem;flex:none}
  .daily-card h3{flex:1 1 0;min-width:0;font-size:1.05rem}
  .daily-state{flex-basis:100%;padding-left:54px;margin-top:-8px}
  .daily-streak{margin:0;padding:0;flex-basis:100%;padding-left:54px}
  .profile-top .lg-button{margin-left:0}
  .shelf-head h2{font-size:1.2rem}
  .room-code{font-size:1.9rem}
}
@media(max-width:350px){.game-grid{grid-template-columns:1fr}}

/* ---- Theme tokens for the hub (the shared palette lives in /shared/ui.css) ---- */
:root{--hub-gold:#e9a825;--hub-glow:#f9e5e4;--hub-fruit:#cb4267;--hub-scene:#f7d5d6;--hub-orbit:#b15871;--hub-live-line:#d893a6;--hub-live-end:#fff1f0;--hub-tag-bg:#f8eeed;--hub-tag-fg:#795460;--hub-badge-bg:#f4eeea;--hub-badge-fg:#79616a;--hub-badge-live-bg:#ecf2e9;--hub-badge-live-fg:#436246}
:root[data-theme=dark]{--hub-glow:#3a1f2b;--hub-fruit:#e06a8c;--hub-scene:#4a2433;--hub-orbit:#d98aa5;--hub-live-line:#7a3d54;--hub-live-end:#33222a;--hub-tag-bg:#3a2a31;--hub-tag-fg:#dcc3cd;--hub-badge-bg:#3a2d33;--hub-badge-fg:#d6bfc9;--hub-badge-live-bg:#26382c;--hub-badge-live-fg:#a9d9b4}
:root[data-theme=lychee]{--hub-glow:#fbd3dd;--hub-fruit:#cb4267;--hub-scene:#f9c6d2;--hub-orbit:#b0214f;--hub-live-line:#e58aa4;--hub-live-end:#ffe1e8;--hub-tag-bg:#fbe0e6;--hub-tag-fg:#7d4458;--hub-badge-bg:#fbe0e6;--hub-badge-fg:#7d4458;--hub-badge-live-bg:#e4f1e6;--hub-badge-live-fg:#2f6b45}
:root[data-theme=midnight]{--hub-glow:#1b2150;--hub-fruit:#9fabff;--hub-scene:#262c58;--hub-orbit:#9fabff;--hub-live-line:#4a54a8;--hub-live-end:#1f2547;--hub-tag-bg:#232a54;--hub-tag-fg:#c4caf2;--hub-badge-bg:#232a54;--hub-badge-fg:#c4caf2;--hub-badge-live-bg:#1b3a38;--hub-badge-live-fg:#8fe5c8}
:root[data-theme=matcha]{--hub-glow:#e1ecc9;--hub-fruit:#5a8a3e;--hub-scene:#d3e3b0;--hub-orbit:#4f7d36;--hub-live-line:#9cba7e;--hub-live-end:#eef5dc;--hub-tag-bg:#e8efd8;--hub-tag-fg:#55684a;--hub-badge-bg:#e8efd8;--hub-badge-fg:#55684a;--hub-badge-live-bg:#d8ebd4;--hub-badge-live-fg:#2f6b3a}
