/* ═══════════════════════════════════════════════════════════════
   LBTC Arcade · 2.19 unified look (matches LBTC Farm): one type scale,
   warm glass panels, gold actions, clear focus states.
   ═══════════════════════════════════════════════════════════════ */
:root { --ap-gold: #f2b33d; --ap-gold2: #ffd77a; --ap-bg: #0c0804; --ap-panel: rgba(22,15,9,.92); --ap-line: rgba(242,179,61,.22); --ap-text: #f1e6d2; --ap-muted: #a8997f; --ap-ok: #7dff9a; }
body { font-family: Inter, 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif; letter-spacing: .1px; }
.hub { max-width: 1240px; }
.tabs { gap: 4px; border-bottom-color: var(--ap-line); }
.tab { border-radius: 10px 10px 0 0; font-weight: 800; }
.tab:focus-visible, .btn:focus-visible, .game-card:focus-visible { outline: 2px solid var(--ap-gold2); outline-offset: 2px; }
.game-card { border-radius: 18px; border-color: var(--ap-line); background: linear-gradient(180deg, rgba(34,22,12,.95), rgba(14,9,4,.98)); }
.game-thumb { font-size: 72px; }
.game-name { font-size: 17px; color: var(--ap-gold2); }
.game-play { border-radius: 10px; background: linear-gradient(180deg, #ffd06a, #e0951a) !important; color: #2a1606 !important; box-shadow: 0 6px 18px rgba(242,179,61,.3); }
.btn.primary { background: linear-gradient(180deg, #ffd06a, #e0951a); color: #2a1606; border: 0; }
.section-title { color: var(--ap-gold2); }
.profile-card, .lb-list { border-radius: 16px; }
/* the shared-economy banner and the monthly board */
.ap-econ { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin: 0 0 20px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(120deg, rgba(132,204,22,.14), rgba(242,179,61,.10)); border: 1px solid rgba(190,242,100,.35); }
.ap-econ .ap-ico { font-size: 34px; }
.ap-econ > div > b { display: block; font-size: 15px; color: #ecfccb; } .ap-econ small { display: block; font-size: 12.5px; color: #c5d3b5; line-height: 1.5; } .ap-econ small b { color: #ecfccb; }
.ap-econ a { padding: 10px 18px; border-radius: 10px; font-weight: 900; font-size: 13px; color: #132005; background: linear-gradient(180deg, #d9f99d, #84cc16); text-decoration: none; white-space: nowrap; }
.ap-weekly { padding: 14px 16px; border-radius: 16px; background: var(--ap-panel); border: 1px solid var(--ap-line); margin-bottom: 18px; }
.ap-weekly table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ap-weekly th { text-align: left; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ap-muted); padding: 6px 8px; border-bottom: 1px solid var(--ap-line); }
.ap-weekly td { padding: 9px 8px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--ap-text); }
.ap-weekly tr.me td { background: rgba(242,179,61,.10); }
.ap-weekly .ap-prize { color: var(--ap-gold2); font-weight: 800; }
.ap-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ap-head b { font-size: 16px; color: var(--ap-gold2); }
.ap-dim { color: var(--ap-muted); font-size: 12.5px; }
.ap-prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 12px; }
.ap-prizes div { padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--ap-line); font-size: 12px; color: var(--ap-muted); }
.ap-prizes b { display: block; font-size: 14px; color: var(--ap-text); }
.ap-rank { display: inline-flex; align-items: center; gap: 8px; }
.ap-rank i { display: inline-block; width: 120px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; vertical-align: middle; }
.ap-rank i em { display: block; height: 100%; background: linear-gradient(90deg, #e0951a, #ffd34d); }
/* the small bar on the game pages */
.ap-bar { position: fixed; top: 10px; left: 10px; z-index: 99999; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(12,8,4,.82); border: 1px solid var(--ap-line); color: var(--ap-text); font: 700 12px Inter, 'Segoe UI', sans-serif; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.ap-bar a { color: var(--ap-gold2); text-decoration: none; }
.ap-bar .ap-x { background: none; border: 0; color: var(--ap-muted); cursor: pointer; font: 800 13px inherit; padding: 0 2px; }
.ap-bar.min .ap-more { display: none; }
@media (max-width: 720px) { .ap-econ { grid-template-columns: 1fr; text-align: center; } .ap-prizes { grid-template-columns: 1fr; } }

/* 2.19.1: the big LBTC Farm banner under the games, and the shard ledger lined up with them */
.ap-farm { display: flex; align-items: center; gap: 28px; margin: 18px 0 18px; padding: 28px 32px; border-radius: 18px; text-decoration: none; color: inherit;
  background: radial-gradient(ellipse at 25% 50%, rgba(132,204,22,.18), transparent 60%), radial-gradient(ellipse at 80% 50%, rgba(247,147,26,.14), transparent 60%), linear-gradient(120deg, #0f1a08, #1a1206 60%, #0a0500);
  border: 2px solid rgba(190,242,100,.5); box-shadow: 0 12px 50px rgba(132,204,22,.18); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ap-farm:hover { transform: translateY(-4px); border-color: rgba(217,249,157,.85); box-shadow: 0 20px 60px rgba(132,204,22,.32); }
.ap-farm-ico { font-size: 72px; line-height: 1; filter: drop-shadow(0 0 20px rgba(190,242,100,.55)); }
.ap-farm-txt { flex: 1; min-width: 0; }
.ap-farm-tag { display: inline-block; background: linear-gradient(135deg, #d9f99d, #84cc16); color: #132005; font-size: 10px; font-weight: 900; letter-spacing: 2px; padding: 5px 12px; border-radius: 20px; margin-bottom: 10px; }
.ap-farm-txt > b { display: block; font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 8px; background: linear-gradient(135deg, #ecfccb, #84cc16, #f7931a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-farm-txt p { margin: 0 0 12px; color: #c9bfae; font-size: 14.5px; line-height: 1.55; } .ap-farm-txt p b { color: #ecfccb; }
.ap-farm-chips { display: flex; flex-wrap: wrap; gap: 8px; } .ap-farm-chips span { background: rgba(190,242,100,.1); border: 1px solid rgba(190,242,100,.35); color: #d9f99d; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 16px; }
.ap-farm-go { text-align: center; flex-shrink: 0; } .ap-farm-go span { display: block; background: linear-gradient(180deg, #a3e635, #65a30d); color: #0a1402; font-weight: 900; font-size: 16px; padding: 18px 28px; border-radius: 14px; box-shadow: 0 10px 30px rgba(132,204,22,.4); white-space: nowrap; }
.ap-farm-go small { display: block; color: #8b949e; font-size: 11px; margin-top: 8px; font-weight: 600; }
@media (max-width: 700px) { .ap-farm { flex-direction: column; text-align: center; gap: 16px; padding: 22px 20px; } .ap-farm-ico { font-size: 56px; } .ap-farm-chips { justify-content: center; } .ap-farm-go { width: 100%; } }
#view-play #shard-history-panel { max-width: none !important; margin: 0 0 28px !important; padding: 0 !important; }
#shard-games-grid:empty { display: none !important; }
/* 2.19.1: the game cards share the full width, like the banners (two side by side, one per row on phones) */
#view-play #game-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; gap: 18px !important; }
#view-play #game-grid .game-card { display: flex; align-items: stretch; min-height: 160px; }
#view-play #game-grid .game-thumb { aspect-ratio: auto; width: 38%; min-width: 150px; flex: none; font-size: 72px; }
#view-play #game-grid .game-info { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; }
#view-play #game-grid .game-name { font-size: 22px; }
#view-play #game-grid .game-desc { font-size: 14px; margin-bottom: 14px; }
@media (max-width: 520px) { #view-play #game-grid .game-card { flex-direction: column; } #view-play #game-grid .game-thumb { width: 100%; height: 130px; } }

/* ═══ 2.20 the LBTC game hub: menu, windows, relics (same style as LBTC Farm) ═══ */
.gh-bar { position: fixed; top: 10px; left: 10px; z-index: 99990; display: flex; align-items: center; gap: 6px; font: 800 12px Inter, 'Segoe UI', sans-serif; }
.gh-menu, .gh-chip { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 11px; background: linear-gradient(180deg, rgba(40,30,20,.92), rgba(22,16,10,.92)); border: 1px solid rgba(242,179,61,.38); color: #ffe6b0; box-shadow: 0 6px 18px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(6px); cursor: pointer; font: inherit; }
.gh-menu:hover, .gh-chip:hover { border-color: #ffd77a; }
.gh-burger { font-size: 15px; } .gh-lbl { letter-spacing: 2px; font-size: 11px; color: #ffd77a; }
.gh-chip i { font-style: normal; } .gh-chip b { color: #fff3d6; font-variant-numeric: tabular-nums; }
.gh-relic b { color: #d9c6ff; }
.gh-dock { position: fixed; top: 52px; left: 10px; z-index: 99991; width: 272px; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(36,27,18,.96), rgba(18,13,8,.96)); border: 1px solid rgba(242,179,61,.38); box-shadow: 0 18px 50px rgba(0,0,0,.6); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .16s; font-family: Inter, sans-serif; }
.gh-dock.on { transform: none; opacity: 1; pointer-events: auto; }
.gh-dock-h { font: 900 10.5px Inter, sans-serif; letter-spacing: 2.5px; color: #f2b33d; margin: 2px 4px 8px; }
.gh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gh-grid button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 6px; border-radius: 11px; border: 1px solid transparent; background: rgba(255,255,255,.035); color: #f1e6d2; cursor: pointer; font-family: inherit; }
.gh-grid button span { font-size: 21px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.gh-grid button small { font-size: 10px; font-weight: 700; color: #cbbd9f; }
.gh-grid button:hover { border-color: rgba(242,179,61,.5); background: rgba(242,179,61,.1); }
.gh-wrap { position: fixed; inset: 0; z-index: 99995; display: grid; place-items: center; background: rgba(6,4,2,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .18s; padding: 12px; font-family: Inter, 'Segoe UI', sans-serif; }
.gh-wrap.in { opacity: 1; }
.gh-win { width: min(580px, 96vw); max-height: 88vh; display: flex; flex-direction: column; border-radius: 18px; background: linear-gradient(180deg, rgba(34,27,20,.97), rgba(20,16,12,.97)); border: 1px solid rgba(242,179,61,.32); box-shadow: 0 30px 80px rgba(0,0,0,.65); transform: translateY(10px) scale(.98); transition: transform .2s; color: #f1e6d2; }
.gh-wrap.wide .gh-win { width: min(940px, 96vw); }
.gh-wrap.in .gh-win { transform: none; }
.gh-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px 20px; border-bottom: 1px solid rgba(242,179,61,.2); background: linear-gradient(180deg, rgba(242,179,61,.08), transparent); border-radius: 18px 18px 0 0; }
.gh-head b { flex: 1; font: 800 18px Georgia, 'Times New Roman', serif; letter-spacing: .8px; color: #fff3d6; }
.gh-ico { font-size: 22px; }
.gh-x { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(242,179,61,.25); background: rgba(255,255,255,.04); color: #a8997f; cursor: pointer; }
.gh-x:hover { color: #fff; border-color: #ffd77a; }
.gh-body { padding: 16px 20px 20px; overflow-y: auto; }
.gh-fine { font-size: 13px; line-height: 1.6; color: #cbbd9f; margin: 0 0 12px; } .gh-fine b { color: #fff3d6; }
.gh-warn { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(255,90,79,.1); border: 1px solid rgba(255,90,79,.35); color: #ffcfc8; }
.gh-warn a, .gh-fine a { color: #ffd77a; }
.gh-games { display: grid; gap: 8px; margin-bottom: 10px; }
.gh-game { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(242,179,61,.2); color: inherit; text-decoration: none; }
.gh-game:hover { border-color: #ffd77a; background: rgba(242,179,61,.08); }
.gh-game > span { font-size: 30px; } .gh-game div { flex: 1; } .gh-game b { display: block; color: #ffd77a; font-size: 15px; } .gh-game small { color: #a8997f; font-size: 12px; } .gh-game em { font-style: normal; color: #ffd77a; }
.gh-relic-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.gh-relic-hero div { text-align: center; padding: 12px 8px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid rgba(242,179,61,.18); }
.gh-relic-hero b { display: block; font-size: 20px; color: #ffd77a; } .gh-relic-hero small { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: #a8997f; }
.gh-relics { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.gh-relic-card { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--rc) 16%, transparent), rgba(255,255,255,.02) 60%); border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent); position: relative; }
.gh-relic-card.own { box-shadow: 0 0 0 2px var(--rc), 0 0 26px color-mix(in srgb, var(--rc) 35%, transparent); }
.gh-rimg { width: 54px; height: 54px; flex: none; display: grid; place-items: center; font-size: 30px; border-radius: 14px; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 40%, #1a1208), #120c06); border: 1px solid var(--rc); box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 40%, transparent); }
.gh-rtxt b { display: block; font-size: 14px; color: #fff3d6; } .gh-rar { font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.gh-rtxt small { display: block; font-size: 11.5px; color: #a8997f; margin: 4px 0 6px; line-height: 1.45; }
.gh-sup { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin: 4px 0; } .gh-sup i { display: block; height: 100%; background: linear-gradient(90deg, #e0951a, #ffd34d); }
.gh-supt { font-size: 10.5px; color: #a8997f; } .gh-own { position: absolute; top: 8px; right: 10px; font-size: 10.5px; font-weight: 900; color: #7dff9a; }
.gh-h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #f2b33d; margin: 16px 0 8px; }
.gh-recent { display: flex; flex-wrap: wrap; gap: 6px; } .gh-recent span { font-size: 12px; padding: 5px 10px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(242,179,61,.18); }
.gh-table { width: 100%; border-collapse: collapse; font-size: 13px; } .gh-table th { text-align: left; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #a8997f; padding: 6px; border-bottom: 1px solid rgba(242,179,61,.2); } .gh-table td { padding: 8px 6px; border-bottom: 1px solid rgba(255,255,255,.05); } .gh-table tr.me td { background: rgba(242,179,61,.1); }
.gh-econ { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .gh-econ div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(242,179,61,.18); }
.gh-econ span { font-size: 24px; } .gh-econ b { display: block; color: #ffd77a; margin: 4px 0; } .gh-econ small { font-size: 12px; color: #cbbd9f; line-height: 1.5; }
.gh-found { text-align: center; position: relative; padding: 10px 0 4px; }
.gh-burst { position: absolute; left: 50%; top: 60px; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 55%, transparent), transparent 65%); animation: ghPulse 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes ghPulse { 50% { transform: scale(1.15); opacity: .7; } }
.gh-big { position: relative; font-size: 74px; filter: drop-shadow(0 0 24px var(--rc)); animation: ghPop .7s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes ghPop { from { transform: scale(.2) rotate(-20deg); opacity: 0; } }
.gh-found b { position: relative; display: block; font: 900 26px Georgia, serif; color: #fff3d6; margin-top: 6px; } .gh-found span { position: relative; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--rc); font-weight: 900; }
.gh-found p { position: relative; font-size: 13px; color: #cbbd9f; line-height: 1.6; margin: 12px 0 0; }
.gh-showcase { margin: 0 0 22px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(120deg, rgba(120,80,200,.14), rgba(242,179,61,.08)); border: 1px solid rgba(180,140,255,.35); }
.gh-sc-head { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.gh-sc-head b { display: block; font: 900 20px Georgia, serif; color: #f1e6ff; letter-spacing: 1px; margin: 4px 0; } .gh-sc-head small { color: #c9bfe0; font-size: 12.5px; }
.gh-sc-go { padding: 11px 18px; border-radius: 11px; border: 0; cursor: pointer; font: 900 13px Inter, sans-serif; color: #1a0f2e; background: linear-gradient(180deg, #e3d4ff, #9b6dff); }
.gh-sc-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.gh-sc-it { text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.gh-sc-it span { display: block; font-size: 26px; filter: drop-shadow(0 0 10px var(--rc)); } .gh-sc-it b { display: block; font-size: 11.5px; color: #fff3d6; margin-top: 4px; } .gh-sc-it small { font-size: 10px; color: #a8997f; }
@media (max-width: 640px) { .gh-econ { grid-template-columns: 1fr; } .gh-relic-hero b { font-size: 16px; } .gh-lbl { display: none; } .gh-dock { width: calc(100vw - 20px); } }
.gh-found p b { display: inline; font: inherit; font-weight: 800; color: #fff3d6; margin: 0; }
