/* =====================================================================
   PawStrike lobby (main menu) — ui/lobby/*.js
   Fluid stage: designed at 1080 px height, always fills the full window width
   (LobbyScreen.fit sets zoom + width). No letterbox, no blurred side bars.
   Art (public/assets/ui/lobby): arena_bg.webp (full-screen background),
     hero_art.webp (2D dog vs cat promotional art), sol_coin.png, UI pieces.
   Fonts: Anton (display / PLAY / cards), Rajdhani (nav, titles, statuses),
          Inter (secondary text), Orbitron (Solana / crypto numbers).
   Stacking: background → hero art → Solana coin + FX → UI panels.
   Spacing system: 8 / 12 / 16 / 24.
   ===================================================================== */
.menu-backdrop.lb-backdrop { padding: 0; display: block; background: #120d2a; overflow: hidden; }
.lb-root { position: fixed; inset: 0; overflow: hidden; display: flex; align-items: flex-start; justify-content: flex-start;
  background: #1b1440 url('../assets/ui/lobby/arena_bg.webp') center top / cover repeat-x;
  --f-display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --f-ui: 'Rajdhani', 'Bahnschrift', 'Segoe UI', sans-serif;
  --f-crypto: 'Orbitron', 'Bahnschrift', 'Segoe UI', sans-serif;
  --f-text: 'Inter', 'Segoe UI', Arial, sans-serif;
  --panel-bg: rgba(15, 20, 45, 0.88); --panel-border: rgba(130, 140, 255, 0.24);
  --lb-text: #f6f4ff; --lb-muted: #aeb0d6;
  --sol1: #9945ff; --sol2: #19fb9b; --sol3: #14f1ff;
  color: var(--lb-text); font-family: var(--f-ui); }
/* slight darkening under the UI (the arena stays bright in the middle) */
.lb-root::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 8, 30, 0.55) 0%, rgba(10, 8, 30, 0.15) 24%, rgba(10, 8, 30, 0) 40%, rgba(10, 8, 30, 0) 58%, rgba(10, 8, 30, 0.2) 74%, rgba(10, 8, 30, 0.55) 100%),
    linear-gradient(0deg, rgba(10, 8, 30, 0.6) 0%, rgba(10, 8, 30, 0) 30%); }
.lb-root:not(.is-home)::before { background: rgba(10, 8, 30, 0.55); }

/* ---------- stage & grid ---------- */
.lb-stage { position: relative; display: grid; box-sizing: border-box; width: 1920px; height: 1080px; padding: 16px 20px 20px;
  grid-template-columns: 440px minmax(600px, 1fr) 390px 320px; grid-template-rows: 76px 1fr 270px; gap: 16px; }
.lb-nav { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 4; }
.lb-home { grid-column: 1 / -1; grid-row: 2 / 4; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid;
  grid-template-areas: "modes hero maps right" "profile play missions right"; position: relative; }
.lb-modes { grid-area: modes; } .lb-hero { grid-area: hero; } .lb-maps { grid-area: maps; } .lb-right-col { grid-area: right; }
.lb-profile { grid-area: profile; } .lb-play-wrap { grid-area: play; } .lb-missions { grid-area: missions; }
.lb-page { grid-column: 1 / -1; grid-row: 2 / 4; display: flex; justify-content: center; align-items: flex-start; overflow: auto; padding-top: 8px; position: relative; z-index: 3; }

/* ---------- panels (one style everywhere) ---------- */
.lb-panel { position: relative; z-index: 3; background: var(--panel-bg); border: 1.5px solid var(--panel-border); border-radius: 20px; padding: 16px;
  box-shadow: 0 10px 26px rgba(4, 2, 20, 0.45), inset 0 1px 0 rgba(255,255,255,0.08); display: flex; flex-direction: column; min-height: 0; box-sizing: border-box; }
.lb-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lb-panel-head h3 { margin: 0; font: 700 23px/1 var(--f-ui); letter-spacing: 0.5px; text-transform: uppercase; flex: 1; white-space: nowrap; }
.lb-panel-head h3 em { font-style: normal; color: var(--lb-muted); }
.lb-ph-ico { width: 26px; height: 26px; color: #fff; flex: none; } .lb-ph-ico svg { width: 100%; height: 100%; }
.lb-link { display: inline-flex; align-items: center; gap: 4px; background: none; border: none; color: #c3c5ee; font: 700 16px var(--f-ui); text-transform: uppercase; padding: 4px; }
.lb-link i { width: 18px; height: 18px; display: inline-flex; } .lb-link i svg { width: 100%; height: 100%; }
.lb-link:hover { color: #fff; }

/* ---------- top navbar (compact, one line) ---------- */
.lb-nav { display: flex; align-items: stretch; gap: 16px; }
.lb-logo { width: 236px; flex: none; padding: 0; border: none; background: none; display: flex; align-items: center; }
.lb-logo img { width: 100%; height: auto; max-height: 76px; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45)); }
.lb-tabs { flex: 1; display: flex; gap: 4px; background: var(--panel-bg); border: 1.5px solid var(--panel-border); border-radius: 18px; padding: 7px; box-shadow: 0 10px 24px rgba(4, 2, 20, 0.45); }
.lb-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 13px; border: none; background: none;
  color: #eceaff; font: 700 19px/1 var(--f-ui); letter-spacing: 0.8px; text-transform: uppercase; transition: background 0.15s, color 0.15s; }
.lb-tab i { width: 22px; height: 22px; display: inline-flex; } .lb-tab i svg { width: 100%; height: 100%; }
.lb-tab:hover { background: rgba(255, 255, 255, 0.07); }
.lb-tab.on { background: linear-gradient(180deg, #ffd84a, #ffa21c); color: #2a1503; box-shadow: 0 0 18px rgba(255, 176, 40, 0.5), inset 0 -3px 0 rgba(0,0,0,0.12), inset 0 2px 0 rgba(255,255,255,0.45); }
.lb-nav-right { display: flex; align-items: center; gap: 2px; background: var(--panel-bg); border: 1.5px solid var(--panel-border); border-radius: 18px; padding: 7px; box-shadow: 0 10px 24px rgba(4, 2, 20, 0.45); }
.lb-nav-btn { position: relative; display: flex; align-items: center; gap: 8px; height: 100%; min-width: 54px; padding: 0 12px; justify-content: center; border-radius: 13px; border: none;
  background: none; color: #fff; font: 700 20px var(--f-ui); }
.lb-nav-btn svg { width: 26px; height: 26px; }
.lb-nav-btn:hover { background: rgba(255, 255, 255, 0.07); }
.lb-badge { position: absolute; top: 10px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: #ff3d55; box-shadow: 0 0 8px #ff3d55; }
.lb-conn { width: 9px; height: 9px; border-radius: 50%; } .lb-conn.ok { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; } .lb-conn.bad { background: #ff4d5e; animation: lbBlink 1s infinite; }

/* ---------- game modes ---------- */
.lb-mode-list { flex: 1; display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; min-height: 0; }
.lb-mode { position: relative; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-radius: 16px; border: 2.5px solid rgba(255,255,255,0); overflow: hidden; color: #fff; text-align: left;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.28), inset 0 -4px 0 rgba(0,0,0,0.16), 0 6px 14px rgba(0,0,0,0.28); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, filter 0.15s; }
.lb-mode.theme-orange { background: linear-gradient(100deg, #ff7a1a 0%, #f2541c 60%, #e2431f 100%); }
.lb-mode.theme-blue { background: linear-gradient(100deg, #3f9bff 0%, #2a73ea 60%, #1f5fd6 100%); }
.lb-mode.theme-purple { background: linear-gradient(100deg, #9b5cff 0%, #7a3ef0 60%, #6a2fd6 100%); }
.lb-mode.theme-green { background: linear-gradient(100deg, #1fd3a0 0%, #12b885 60%, #0f9f74 100%); }
.lb-mode:hover { transform: scale(1.02); filter: brightness(1.06); }
.lb-mode.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.25), 0 0 22px rgba(255,255,255,0.35), inset 0 2px 0 rgba(255,255,255,0.28); }
.lb-mode-ico { width: 52px; height: 52px; flex: none; z-index: 1; filter: drop-shadow(0 3px 0 rgba(0,0,0,0.2)); }
.lb-mode-ico svg { width: 100%; height: 100%; color: #fff; }
.lb-mode-text { display: flex; flex-direction: column; z-index: 1; max-width: 210px; }
.lb-mode-text b { font: 400 27px/0.98 var(--f-display); text-transform: uppercase; letter-spacing: 0.6px; text-shadow: 0 2px 0 rgba(0,0,0,0.22); }
.lb-mode-text small { font: 700 14px/1.15 var(--f-ui); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 4px; opacity: 0.94; }
/* character art lives in the right part of the card, faded in from the left so it never covers the title */
.lb-mode-art { position: absolute; right: 34px; top: 0; height: 100%; width: auto; max-width: 46%; object-fit: cover; object-position: 60% 50%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); transition: transform 0.2s; }
.lb-mode:hover .lb-mode-art { transform: scale(1.05); }
.lb-mode-chev { position: absolute; right: 10px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); z-index: 1; filter: drop-shadow(0 2px 0 rgba(0,0,0,0.3)); }
.lb-mode-chev svg { width: 100%; height: 100%; }

/* ---------- hero: 2D promotional artwork + Solana core ---------- */
.lb-hero { position: relative; min-width: 0; z-index: 1; pointer-events: none; }
.lb-hero-art { --art-w: 700px; position: absolute; left: 50%; top: -20px; width: var(--art-w); aspect-ratio: 548 / 668; transform: translateX(-50%); }
.lb-hero-img { width: 100%; height: 100%; display: block; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, #000 0, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, #000 0, #000 84%, transparent 100%); mask-composite: intersect; }
/* Solana core: above the characters, a bit larger and higher than in the art, strong cyan/purple glow */
.lb-sol-fx { position: absolute; left: 54.7%; top: 63%; width: 0; height: 0; z-index: 2; }
.lb-sol-fx i { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.lb-sol-fx .core { width: calc(var(--art-w) * 0.6); height: calc(var(--art-w) * 0.6); background: radial-gradient(circle, rgba(170, 110, 255, 0.6) 0%, rgba(20, 241, 255, 0.28) 32%, transparent 68%); mix-blend-mode: screen; animation: lbCore 2.4s ease-in-out infinite; }
.lb-sol-fx .ring { width: calc(var(--art-w) * 0.34); height: calc(var(--art-w) * 0.34); border: 3px solid rgba(20, 241, 255, 0.6); box-shadow: 0 0 24px rgba(153, 69, 255, 0.85), inset 0 0 24px rgba(25, 251, 155, 0.5); animation: lbRing 2.4s ease-out infinite; }
.lb-sol-fx .rays { width: calc(var(--art-w) * 0.9); height: calc(var(--art-w) * 0.9); background: repeating-conic-gradient(from 0deg, rgba(20, 241, 255, 0) 0deg 9deg, rgba(160, 110, 255, 0.24) 10deg 12deg, rgba(20, 241, 255, 0) 13deg 20deg);
  -webkit-mask-image: radial-gradient(circle, #000 16%, transparent 60%); mask-image: radial-gradient(circle, #000 16%, transparent 60%); mix-blend-mode: screen; animation: lbSpin 18s linear infinite; }
.lb-sol-fx .bolts { position: absolute; left: calc(var(--art-w) * -0.5); top: calc(var(--art-w) * -0.19); width: var(--art-w); height: calc(var(--art-w) * 0.38); overflow: visible; mix-blend-mode: screen; }
.lb-sol-fx .bolts path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60 260; filter: drop-shadow(0 0 6px currentColor); }
.lb-sol-fx .b1, .lb-sol-fx .b3 { stroke: #ffb35c; color: #ff8a1f; } .lb-sol-fx .b2, .lb-sol-fx .b4 { stroke: #7cc8ff; color: #3d8bff; }
.lb-sol-fx .b1 { animation: lbBolt 1.6s linear infinite; } .lb-sol-fx .b2 { animation: lbBolt 1.6s 0.8s linear infinite; }
.lb-sol-fx .b3 { animation: lbBolt 2.2s 0.4s linear infinite; } .lb-sol-fx .b4 { animation: lbBolt 2.2s 1.3s linear infinite; }
.lb-sol-coin { position: absolute; left: 0; top: -2%; width: calc(var(--art-w) * 0.29); height: auto; transform: translate(-50%, -54%);
  filter: drop-shadow(0 0 14px rgba(20, 241, 255, 0.85)) drop-shadow(0 0 30px rgba(153, 69, 255, 0.8)); animation: lbCoinFloat 3s ease-in-out infinite; }

/* ---------- featured maps ---------- */
.lb-map-list { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 0; }
.lb-map { position: relative; border-radius: 16px; border: 2.5px solid rgba(255,255,255,0.2); overflow: hidden; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  color: #fff; background: #1a1830; transition: transform 0.15s, box-shadow 0.15s; min-height: 0; }
.lb-map.map-house { border-color: #b7e35a; } .lb-map.map-fishMarket { border-color: #5ac8ff; } .lb-map.map-foodFactory { border-color: #ffb23c; }
.lb-map:hover { transform: translateY(-4px); }
.lb-map.on { box-shadow: 0 0 0 3px #ffd23f, 0 0 22px rgba(255, 210, 63, 0.55); }
.lb-map-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.lb-map:hover .lb-map-art { transform: scale(1.05); }
.lb-map::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, rgba(8, 6, 20, 0.88)); }
.lb-map-name { position: relative; z-index: 1; font: 400 21px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: 0.5px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); margin-bottom: 8px; text-align: center; padding: 0 6px; }
.lb-map-fmt { position: relative; z-index: 1; font: 700 18px var(--f-ui); padding: 2px 16px; border-radius: 9px; background: rgba(0,0,0,0.5); border: 1.5px solid rgba(255,255,255,0.35); margin-bottom: 12px; }

/* ---------- right column: friends, events & news, crypto market ---------- */
.lb-right-col { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.lb-right-col .lb-friends { flex: 1; min-height: 0; }
.lb-friend-list { flex: 1; display: flex; flex-direction: column; gap: 5px; min-height: 0; overflow: hidden; }
.lb-friend { display: flex; align-items: center; gap: 12px; padding: 5px 8px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); transition: background 0.15s; }
.lb-friend:hover { background: rgba(255, 255, 255, 0.08); }
.lb-avatar { position: relative; width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center; }
.lb-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.lb-avatar > svg { width: 84%; height: 84%; }
.lb-avatar.av-dog { background: linear-gradient(180deg, #ffb36b, #e2631c); } .lb-avatar.av-cat { background: linear-gradient(180deg, #8ec2ff, #2f6fd6); }
.lb-avatar.big { width: 112px; height: 112px; border-radius: 18px; box-shadow: 0 6px 14px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.14); }
.lb-dot { position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 50%; border: 3px solid #141933; background: #6b7280; }
.st-online .lb-dot, .st-match .lb-dot { background: #2fe07a; } .st-away .lb-dot { background: #ffb020; }
.st-offline { opacity: 0.62; }
.lb-friend-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.05; }
.lb-friend-text b { font: 700 17px var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-friend-text small { font: 700 13px var(--f-ui); color: #2fe07a; letter-spacing: 0.3px; }
.st-match small { color: #ffc23d; } .st-away small { color: #ffb020; } .st-offline small { color: var(--lb-muted); }
.lb-icon-btn { width: 40px; height: 40px; border-radius: 11px; border: 1.5px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.08); color: #fff; display: grid; place-items: center; padding: 0; flex: none; transition: background 0.15s, transform 0.15s; }
.lb-icon-btn svg { width: 22px; height: 22px; }
.lb-icon-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.08); }
.lb-icon-btn.ghost { background: none; border-color: transparent; color: #8f91bd; }
.lb-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 14px; border: none; color: #fff; font: 700 23px var(--f-ui); letter-spacing: 0.8px; text-transform: uppercase;
  background: linear-gradient(180deg, #3d9bff, #1f66e0); box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -4px 0 rgba(0,0,0,0.18), 0 0 18px rgba(40, 120, 255, 0.4); transition: transform 0.15s, filter 0.15s; }
.lb-btn svg { width: 26px; height: 26px; }
.lb-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.lb-btn:active { transform: translateY(1px); }
.lb-btn.small { height: 44px; font-size: 18px; padding: 0 20px; }
.lb-squad { margin-top: 10px; flex: none; height: 50px; }
.lb-right-col .lb-news, .lb-right-col .lb-market { flex: none; padding: 12px 14px; }
.lb-right-col .lb-news .lb-panel-head, .lb-right-col .lb-market .lb-panel-head { margin-bottom: 8px; }
.lb-event { display: block; padding: 0; border: none; border-radius: 14px; overflow: hidden; background: none; transition: transform 0.15s, filter 0.15s; }
.lb-event img { display: block; width: 100%; height: 112px; object-fit: cover; object-position: 50% 40%; }
.lb-event:hover { transform: scale(1.03); filter: brightness(1.08); }
.lb-ticks { display: flex; flex-direction: column; gap: 6px; }
.lb-tick { display: flex; align-items: center; gap: 10px; padding: 4px 10px; border-radius: 12px; border: 1.5px solid rgba(47, 224, 122, 0.4); background: rgba(0,0,0,0.25); }
.lb-tick[data-sym="SOL"] { border-color: rgba(153, 69, 255, 0.55); }
.lb-tick .coin.sm { width: 36px; height: 36px; }
.lb-tick-sym { display: flex; flex-direction: column; line-height: 1.1; min-width: 82px; }
.lb-tick-sym b { font: 900 15px var(--f-crypto); letter-spacing: 0.6px; } .lb-tick-sym small { font: 700 14px var(--f-crypto); color: #d6d6f5; }
.lb-spark { width: 70px; height: 24px; flex: 1; } .lb-spark polyline { fill: none; stroke-width: 2.4; }
.lb-spark.up polyline { stroke: #2fe07a; } .lb-spark.down polyline { stroke: #ff5d6c; }
.lb-tick-chg { font: 700 13px var(--f-crypto); min-width: 64px; text-align: right; } .lb-tick-chg.up { color: #2fe07a; } .lb-tick-chg.down { color: #ff5d6c; }
.lb-market-note { font: 500 11px var(--f-text); color: var(--lb-muted); text-align: right; margin-top: 4px; }

/* ---------- profile & currencies ---------- */
.lb-profile { padding: 16px; gap: 12px; justify-content: space-between; }
.lb-profile-top { display: flex; gap: 16px; align-items: center; }
.lb-profile-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lb-profile-name { background: none; border: none; color: #fff; font: 700 30px/1.05 var(--f-ui); text-align: left; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lb-profile-name.sm { font-size: 25px; } .lb-profile-name.xs { font-size: 20px; }
.lb-profile-name:hover { color: #ffd23f; }
.lb-level { display: flex; align-items: center; gap: 12px; }
.lb-lvl-badge { width: 50px; height: 56px; flex: none; display: grid; place-items: center; font: 400 25px var(--f-display); color: #ffd23f;
  background: #1e1d3a; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); box-shadow: inset 0 0 0 4px #ffb020; }
.lb-xp { flex: 1; } .lb-xp small { font: 600 14px var(--f-text); color: #d2d3f2; }
.lb-progress { height: 9px; border-radius: 8px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 4px 0; box-shadow: inset 0 1px 2px rgba(0,0,0,0.4); }
.lb-progress i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #2f7dff, #5fc4ff); box-shadow: 0 0 10px rgba(80, 170, 255, 0.6); }
.lb-progress.xp { height: 12px; }
.lb-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lb-currency { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px; padding: 8px 10px; border-radius: 16px; border: 2px solid; }
.lb-currency.cur-doge { border-color: #f5a623; background: linear-gradient(180deg, rgba(80, 45, 10, 0.55), rgba(30, 18, 8, 0.6)); box-shadow: 0 0 16px rgba(255, 160, 30, 0.35), inset 0 0 20px rgba(255, 150, 30, 0.18); }
.lb-currency.cur-cat { border-color: #3d9bff; background: linear-gradient(180deg, rgba(15, 45, 100, 0.55), rgba(8, 18, 45, 0.6)); box-shadow: 0 0 16px rgba(61, 155, 255, 0.35), inset 0 0 20px rgba(61, 155, 255, 0.18); }
.lb-cur-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.lb-cur-text small { font: 700 15px var(--f-ui); text-transform: uppercase; letter-spacing: 0.8px; }
.cur-doge small { color: #ffc44d; } .cur-cat small { color: #7cc8ff; }
.lb-cur-text b { font: 700 25px/1.15 var(--f-crypto); font-variant-numeric: tabular-nums; }
.lb-cur-add { width: 34px; height: 34px; border-radius: 9px; border: none; color: #fff; display: grid; place-items: center; padding: 0; box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 2px 6px rgba(0,0,0,0.3); transition: transform 0.12s, filter 0.12s; }
.lb-cur-add:hover { transform: scale(1.1); filter: brightness(1.12); }
.cur-doge .lb-cur-add { background: linear-gradient(180deg, #ffa53a, #e0700f); } .cur-cat .lb-cur-add { background: linear-gradient(180deg, #4ba3ff, #2457c9); }
.lb-cur-add svg { width: 20px; height: 20px; }

/* ---------- coins (images cut from the UI sheet) ---------- */
.coin { width: 34px; height: 34px; flex: none; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.45)); }
.coin.big { width: 50px; height: 50px; animation: lbCoin 3.6s ease-in-out infinite; }
.cur-doge .coin.big { filter: drop-shadow(0 0 8px rgba(255, 170, 40, 0.7)); }
.cur-cat .coin.big { filter: drop-shadow(0 0 8px rgba(80, 170, 255, 0.7)); animation-delay: 1.8s; }
.coin.sm { width: 32px; height: 32px; }

/* ---------- PLAY ---------- */
.lb-play-wrap { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding-bottom: 8px; }
.lb-play { position: relative; overflow: hidden; width: 440px; height: 128px; border-radius: 26px; border: 3px solid #ff9b1a; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #231200; background: linear-gradient(180deg, #ffe55c 0%, #ffcb2e 50%, #ffaa16 100%);
  box-shadow: 0 7px 0 #c96a08, 0 14px 30px rgba(255, 150, 20, 0.45), inset 0 4px 0 rgba(255,255,255,0.55), inset 0 -6px 0 rgba(220, 120, 0, 0.32);
  animation: lbPlayPulse 2.4s ease-in-out infinite; transition: transform 0.12s, box-shadow 0.12s, filter 0.12s; }
.lb-play:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.06) saturate(1.1); }
.lb-play:active { transform: translateY(5px); box-shadow: 0 2px 0 #c96a08, 0 8px 18px rgba(255, 150, 20, 0.4), inset 0 4px 0 rgba(255,255,255,0.55); }
.lb-play:disabled { filter: grayscale(0.7) brightness(0.8); animation: none; cursor: default; }
.lb-play-main { display: flex; align-items: center; gap: 16px; font: 400 62px/0.95 var(--f-display); letter-spacing: 2px; text-shadow: 0 2px 0 rgba(255,255,255,0.35); }
.lb-play-tri { width: 46px; height: 46px; display: inline-flex; } .lb-play-tri svg { width: 100%; height: 100%; }
.lb-play small { font: 700 23px/1 var(--f-ui); text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; }
.lb-paw { position: absolute; top: 50%; width: 54px; height: 54px; opacity: 0.3; transform: translateY(-50%) rotate(-18deg); color: #e57a00; }
.lb-paw.l { left: 22px; } .lb-paw.r { right: 22px; transform: translateY(-50%) rotate(18deg); }
.lb-paw svg { width: 100%; height: 100%; }
.lb-play-shine { position: absolute; top: -40%; left: -30%; width: 22%; height: 180%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); transform: rotate(18deg); animation: lbShine 3.6s ease-in-out infinite; }
.lb-play-meta { font: 600 14px var(--f-text); color: #fff; padding: 5px 14px; border-radius: 10px; background: rgba(10, 12, 32, 0.6); border: 1px solid rgba(255,255,255,0.12); }

/* ---------- daily missions ---------- */
.lb-mission-list { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: space-around; }

/* ---------- other tabs ---------- */
.lb-panel.lb-wide { width: 1100px; max-height: 100%; }
.lb-play-setup { width: 860px; zoom: 1.1; position: relative; z-index: 3; }
.lb-play-setup .mm-panel { margin: 0 auto; }
.lb-map-gallery { display: flex; flex-direction: column; gap: 16px; }
.lb-map-big { display: flex; gap: 24px; align-items: stretch; padding: 12px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1.5px solid transparent; }
.lb-map-big.on { border-color: rgba(255, 210, 63, 0.6); }
.lb-map-big .lb-map { width: 180px; height: 250px; flex: none; }
.lb-map-info { display: flex; flex-direction: column; gap: 6px; justify-content: center; align-items: flex-start; }
.lb-map-info b { font: 400 36px var(--f-display); text-transform: uppercase; } .lb-map-info small { font: 700 17px var(--f-ui); color: var(--lb-muted); } .lb-map-info p { margin: 4px 0 8px; font: 500 17px var(--f-text); }
.lb-news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lb-news-card { padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1.5px solid var(--panel-border); }
.lb-news-card b { display: block; font: 400 28px var(--f-display); text-transform: uppercase; margin: 8px 0 6px; } .lb-news-card p { margin: 0; font: 500 16px/1.5 var(--f-text); color: #dcdcf4; }
.lb-news-card.controls { grid-column: 1 / -1; }
.lb-tag { display: inline-block; padding: 4px 12px; border-radius: 9px; font: 700 13px var(--f-crypto); text-transform: uppercase; background: linear-gradient(90deg, var(--sol1), #43b4ca); }

/* ---------- toast ---------- */
.lb-toast { position: fixed; left: 50%; bottom: 4vh; transform: translate(-50%, 30px); opacity: 0; padding: 12px 22px; border-radius: 14px; font: 600 15px var(--f-text);
  background: rgba(15, 20, 45, 0.95); border: 1.5px solid rgba(153, 69, 255, 0.7); box-shadow: 0 0 22px rgba(153, 69, 255, 0.4); transition: opacity 0.2s, transform 0.2s; pointer-events: none; z-index: 5; }
.lb-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- animations ---------- */
.lb-intro .lb-panel, .lb-intro .lb-play-wrap, .lb-intro .lb-nav { animation: lbIn 0.5s cubic-bezier(.2,.8,.2,1) both; }
.lb-intro .lb-modes { animation-delay: 0.05s; } .lb-intro .lb-maps { animation-delay: 0.1s; } .lb-intro .lb-right-col .lb-panel { animation-delay: 0.15s; }
.lb-intro .lb-profile { animation-delay: 0.2s; } .lb-intro .lb-play-wrap { animation-delay: 0.25s; } .lb-intro .lb-missions { animation-delay: 0.3s; }
.lb-intro .lb-hero-art { animation: lbFade 0.8s 0.1s both; }
@keyframes lbIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbCore { 0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.8; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } }
@keyframes lbRing { 0% { transform: translate(-50%, -50%) scale(0.75); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
@keyframes lbSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes lbBolt { 0% { stroke-dashoffset: 320; opacity: 0; } 15% { opacity: 1; } 60% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes lbCoinFloat { 0%, 100% { transform: translate(-50%, -54%); } 50% { transform: translate(-50%, -60%); } }
@keyframes lbPlayPulse { 0%, 100% { box-shadow: 0 7px 0 #c96a08, 0 14px 30px rgba(255, 150, 20, 0.45), inset 0 4px 0 rgba(255,255,255,0.55), inset 0 -6px 0 rgba(220, 120, 0, 0.32); }
  50% { box-shadow: 0 7px 0 #c96a08, 0 14px 52px rgba(255, 180, 40, 0.8), inset 0 4px 0 rgba(255,255,255,0.55), inset 0 -6px 0 rgba(220, 120, 0, 0.32); } }
@keyframes lbShine { 0%, 55% { left: -30%; } 85%, 100% { left: 120%; } }
@keyframes lbCoin { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-6deg); } }
@keyframes lbBlink { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .lb-root * { animation: none !important; transition: none !important; } }

/* empty states (new account / nobody online) — real data only, no placeholders */
.lb-empty { margin: auto 0; padding: 14px 10px; text-align: center; color: var(--lb-muted); font: 600 17px var(--f-text); line-height: 1.4; }
.lb-empty small { font-size: 14px; opacity: 0.85; }
.lb-logout { font-size: 22px; }
