/* LASTDRIB — lobby (layout de referência). Base 1366×768, escalado via --lobby-zoom em lobby.js */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&family=Rajdhani:wght@600;700&family=Teko:wght@500;600;700&display=swap');

:root {
  --ld-gold: #ffc21a;
  --ld-gold2: #f59e0b;
  --ld-panel: rgba(10, 11, 15, 0.84);
  --ld-panel2: rgba(16, 17, 22, 0.9);
  --ld-line: rgba(255, 255, 255, 0.09);
  --ld-text: #f1f1f4;
  --ld-muted: #8d8f9a;
  --ld-blue: #5cc8ff;
  --ld-head: Teko, Rajdhani, 'Segoe UI', sans-serif;
  --ld-body: Inter, 'Segoe UI', sans-serif;
}

#app { z-index: 1; }
body.in-lobby #app {
  background: #0b0b10 url('/assets/lobby/lobby-scenery.jpg') center 40% / cover no-repeat;
}
body.in-lobby #app canvas {
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}
body.in-lobby #app canvas:active { cursor: grabbing; }

.front-ui { z-index: 40; pointer-events: none; }
.front-ui * { pointer-events: auto; }

.ui-ico { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.ui-coin, .ui-gem { width: 24px; height: 24px; }

/* ================= AUTH ================= */
#authScreen { position: fixed; inset: 0; background: #07080b; overflow: hidden; color: var(--ld-text); font-family: var(--ld-body); }
#authScreen.hidden { display: none; }
#authScreen button { font-family: inherit; }
.au-frame { position: absolute; inset: 0; zoom: var(--auth-zoom, 1); }
.au-art {
  position: absolute; inset: -2%;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.55) 0%, rgba(5, 6, 9, 0) 30%, rgba(5, 6, 9, 0) 55%, rgba(5, 6, 9, 0.75) 78%),
    linear-gradient(0deg, rgba(5, 6, 9, 0.95) 0%, rgba(5, 6, 9, 0) 38%),
    linear-gradient(180deg, rgba(5, 6, 9, 0.6) 0%, rgba(5, 6, 9, 0) 18%),
    url('/assets/lobby/login-hero.jpg') 30% center / cover no-repeat;
  animation: au-drift 30s ease-in-out infinite alternate;
}
@keyframes au-drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.07) translateX(-1%); } }
.au-embers {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(2px 2px at 20% 80%, #ffb347, transparent), radial-gradient(1.5px 1.5px at 60% 70%, #ff8a2a, transparent),
    radial-gradient(2px 2px at 75% 90%, #ffc21a, transparent), radial-gradient(1.5px 1.5px at 40% 95%, #ff9a3a, transparent),
    radial-gradient(2.5px 2.5px at 88% 75%, #ffb347, transparent), radial-gradient(1.5px 1.5px at 10% 60%, #ff8a2a, transparent);
  background-size: 100% 100%; animation: au-rise 9s linear infinite;
}
@keyframes au-rise { from { transform: translateY(0); opacity: 0.6; } to { transform: translateY(-60%); opacity: 0; } }

.au-top { position: absolute; left: 0; right: 0; top: 0; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; }
.au-top-logo { height: 40px; width: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)); }
.au-status {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 16px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: 600; color: #cfd0d6;
}
.au-status i { width: 8px; height: 8px; border-radius: 50%; background: #8d8f9a; }
.au-status.on i { background: #3ee66b; box-shadow: 0 0 8px #3ee66b; }
.au-status.off i { background: #ff5a5a; box-shadow: 0 0 8px #ff5a5a; }

.au-pitch { position: absolute; left: 56px; bottom: 74px; max-width: 560px; }
.au-season {
  display: inline-block; padding: 5px 10px 3px; border-radius: 3px; font: 600 15px/1 var(--ld-head); letter-spacing: 1.6px;
  color: #140b00; background: var(--ld-gold); box-shadow: 0 0 18px rgba(255, 194, 26, 0.45);
}
.au-pitch h1 { font: italic 700 76px/0.86 var(--ld-head); letter-spacing: 1px; margin: 14px 0 12px; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7); }
.au-pitch h1 b { color: var(--ld-gold); }
.au-pitch p { font-size: 15px; line-height: 1.5; color: #d6d7dd; max-width: 470px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); }
.au-feats { list-style: none; display: flex; gap: 10px; margin-top: 20px; }
.au-feats li {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 6px;
  background: rgba(8, 9, 12, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px);
}
.au-feat-ico { width: 22px; height: 22px; color: var(--ld-gold); }
.au-feats b { display: block; font: 600 19px/1 var(--ld-head); letter-spacing: 0.6px; }
.au-feats span { font-size: 11px; color: #9a9ca8; font-weight: 600; }

.au-panel {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%); width: 410px; padding: 26px 30px 20px;
  background: linear-gradient(180deg, rgba(16, 17, 23, 0.9), rgba(8, 9, 12, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px; backdrop-filter: blur(14px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.au-panel::before {
  content: ''; position: absolute; left: 30px; right: 30px; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ld-gold), transparent); box-shadow: 0 0 16px var(--ld-gold);
}
.auth-logo { display: block; width: 210px; height: auto; margin: 0 auto 10px; }
.au-panel h2 { text-align: center; font: 600 34px/1 var(--ld-head); letter-spacing: 1.4px; }
.au-sub { text-align: center; font-size: 13px; color: #9a9ca8; margin: 2px 0 16px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; border-radius: 8px; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 14px; }
.auth-tabs button {
  height: 38px; border: 0; border-radius: 6px; cursor: pointer; background: transparent; padding-top: 3px;
  font: 600 18px/1 var(--ld-head) !important; letter-spacing: 1.2px; color: #8d8f9a; transition: all 0.15s;
}
.auth-tabs button:hover { color: #fff; }
.auth-tabs button.active { color: #140b00; background: linear-gradient(180deg, #ffd84a, #ffb800); box-shadow: 0 4px 16px rgba(255, 180, 20, 0.3); }
.auth-error {
  margin-bottom: 12px; padding: 10px 12px; border-radius: 6px; font-size: 12.5px; font-weight: 600; line-height: 1.4;
  color: #ffb4b4; background: rgba(255, 70, 70, 0.1); border: 1px solid rgba(255, 90, 90, 0.4);
}
.auth-error.hidden { display: none; }
.au-form { display: flex; flex-direction: column; gap: 10px; }
.au-form.hidden { display: none; }
body:has(#authScreen:not(.hidden)) #demoLabel { display: none; }
.au-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-pair .au-field { min-width: 0; }
.au-field {
  position: relative; display: flex; align-items: center; height: 48px; border-radius: 7px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.11); transition: border-color 0.15s, box-shadow 0.15s;
}
.au-field:focus-within { border-color: var(--ld-gold); box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.14); }
.au-field .au-ico { position: absolute; left: 14px; width: 18px; height: 18px; color: #6f717c; pointer-events: none; }
.au-field:focus-within .au-ico { color: var(--ld-gold); }
.au-field input {
  flex: 1; min-width: 0; height: 100%; padding: 0 14px 0 42px; border: 0; outline: 0; background: transparent;
  color: #fff; font: 600 14px var(--ld-body);
}
.au-field input::placeholder { color: #6f717c; font-weight: 500; }
.au-eye { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.au-eye .au-ico { position: static; }
.au-eye:hover .au-ico, .au-eye.on .au-ico { color: var(--ld-gold); }
.au-row { display: flex; justify-content: space-between; align-items: center; }
.au-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #b8b9c2; cursor: pointer; user-select: none; }
.au-check input { display: none; }
.au-check span { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.4); display: grid; place-items: center; }
.au-check input:checked + span { background: var(--ld-gold); border-color: var(--ld-gold); }
.au-check input:checked + span::after { content: ''; width: 5px; height: 9px; border: solid #140b00; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.au-btn {
  height: 54px; margin-top: 4px; border: 0; border-radius: 7px; cursor: pointer; padding-top: 4px;
  font: 700 26px/1 var(--ld-head) !important; letter-spacing: 3px; color: #140b00;
  background: linear-gradient(180deg, #ffd84a, #ffc21a 45%, #f59e0b);
  box-shadow: 0 10px 30px rgba(255, 170, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: filter 0.15s, transform 0.08s;
}
.au-btn:hover:not(:disabled) { filter: brightness(1.08); }
.au-btn:active:not(:disabled) { transform: translateY(1px); }
.au-btn:disabled { filter: grayscale(0.6) brightness(0.7); cursor: wait; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px; color: #6f717c; }
.au-or::before, .au-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.au-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-soc {
  height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 7px; cursor: pointer;
  font: 700 14px var(--ld-body) !important; transition: transform 0.1s, filter 0.15s, border-color 0.15s;
}
.au-soc-ico { width: 20px; height: 20px; }
.au-soc.google { background: #fff; color: #1f1f1f; border: 1px solid #fff; }
.au-soc.apple { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.au-soc:hover:not(:disabled) { filter: brightness(0.94); transform: translateY(-1px); }
.au-soc.apple:hover:not(:disabled) { filter: none; border-color: #fff; }
.au-soc:disabled { opacity: 0.5; cursor: wait; }
.au-wait {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 7px; font-size: 12.5px; color: #cfd0d6;
  background: rgba(255, 194, 26, 0.08); border: 1px solid rgba(255, 194, 26, 0.3);
}
.au-wait.hidden { display: none; }
.au-wait span { flex: 1; }
.au-wait button { border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: #cfd0d6; border-radius: 4px; padding: 6px 10px; font-size: 11px; font-weight: 700; cursor: pointer; }
.au-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 194, 26, 0.25); border-top-color: var(--ld-gold); animation: au-spin 0.8s linear infinite; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-legal { margin-top: 14px; text-align: center; font-size: 10.5px; color: #6a6c78; line-height: 1.5; }
.au-foot { position: absolute; left: 34px; right: 34px; bottom: 16px; display: flex; justify-content: space-between; font-size: 11px; color: #6a6c78; font-weight: 600; }

/* ================= GRID ================= */
#lobbyScreen {
  position: fixed; inset: 0; display: grid;
  zoom: var(--lobby-zoom, 1);
  grid-template-columns: 186px 268px 1fr 292px;
  grid-template-rows: 76px 1fr auto 62px;
  grid-template-areas:
    "top   top   top    top"
    "nav   left  center right"
    "promo promo center right"
    "foot  foot  foot   right";
  column-gap: 12px;
  padding: 0 18px 0 0;
  pointer-events: none;
  color: var(--ld-text);
  font-family: var(--ld-body);
}
#lobbyScreen::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 8, 0.92) 0%, rgba(4, 5, 8, 0.5) 20%, rgba(4, 5, 8, 0.08) 36%, rgba(4, 5, 8, 0) 48%, rgba(4, 5, 8, 0) 64%, rgba(4, 5, 8, 0.45) 78%, rgba(4, 5, 8, 0.85) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 78%, rgba(0, 0, 0, 0.65) 100%);
}
#lobbyScreen button { font-family: inherit; color: inherit; }

.lobby-card {
  background: var(--ld-panel); border: 1px solid var(--ld-line); border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}
.lobby-card h4 {
  display: flex; align-items: center; gap: 6px;
  font: 600 17px/1 var(--ld-head); letter-spacing: 0.8px; color: #fff; text-transform: uppercase;
}
.xp-bar { height: 5px; width: 100%; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.xp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ld-gold2), var(--ld-gold)); transition: width 0.4s; }

/* ================= TOP ================= */
.lobby-top {
  grid-area: top; display: flex; align-items: center; gap: 22px; padding: 0 0 0 26px;
}
.lobby-brand { flex: none; width: 176px; }
.lobby-logo-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7)); }

.lobby-profile {
  position: relative; display: flex; align-items: center; gap: 12px; width: 232px;
  padding: 6px 30px 6px 6px; background: var(--ld-panel);
  border: 1px solid var(--ld-line);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.lobby-avatar {
  width: 48px; height: 48px; flex: none; overflow: hidden; border-radius: 3px;
  border: 2px solid var(--ld-gold); box-shadow: 0 0 12px rgba(255, 194, 26, 0.35);
}
.lobby-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lobby-profile-meta { flex: 1; min-width: 0; }
.lobby-profile-meta .name { font: 600 19px/1 var(--ld-head); letter-spacing: 0.8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lobby-profile-meta .lvl { font-size: 11px; color: var(--ld-muted); margin: 2px 0 5px; font-weight: 600; }

.lobby-currencies { display: flex; gap: 14px; align-items: center; margin-left: 30px; }
.currency-pill {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 4px 0 12px;
  background: var(--ld-panel); border: 1px solid var(--ld-line); border-radius: 4px;
  font: 600 20px/1 var(--ld-head); letter-spacing: 0.5px; color: #fff; min-width: 150px;
}
.currency-pill span { flex: 1; padding-top: 3px; }
.currency-pill .plus {
  width: 30px; height: 30px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06); cursor: pointer; display: grid; place-items: center; padding: 0;
  transition: background 0.15s, border-color 0.15s;
}
.currency-pill .plus:hover { background: rgba(255, 194, 26, 0.2); border-color: var(--ld-gold); }
.currency-pill .plus .ui-ico { width: 14px; height: 14px; }

.lobby-icons { display: flex; gap: 22px; align-items: center; margin-left: auto; padding-right: 8px; }
.lobby-icons button {
  position: relative; width: 34px; height: 34px; border: 0; background: transparent;
  color: #e6e6ea; cursor: pointer; display: grid; place-items: center; padding: 0; transition: color 0.15s, transform 0.15s;
}
.lobby-icons button:hover { color: var(--ld-gold); transform: translateY(-1px); }
.lobby-icons .ui-ico { width: 26px; height: 26px; }
.lobby-icons .wifi-on { color: #3ee66b; }
.badge-dot { position: absolute; top: 3px; right: 1px; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 6px #ff3b3b; }
.badge-dot.hidden { display: none; }

/* ================= NAV ================= */
.lobby-nav {
  grid-area: nav; display: flex; flex-direction: column; padding: 10px 0 10px;
}
.lobby-nav button {
  display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 12px 0 20px;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: transparent;
  color: #d4d4da; font: 600 16px/1 var(--ld-head); letter-spacing: 0.6px; white-space: nowrap;
  cursor: pointer; position: relative; text-align: left; transition: background 0.15s, color 0.15s;
}
.lobby-nav button span.nav-ico { width: 24px; display: grid; place-items: center; color: #fff; }
.lobby-nav .ui-ico { width: 22px; height: 22px; }
.lobby-nav button:hover { background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent); color: #fff; }
.lobby-nav button.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 194, 26, 0.38) 0%, rgba(255, 160, 20, 0.12) 65%, transparent 100%);
}
.lobby-nav button.active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ld-gold);
  box-shadow: 0 0 14px var(--ld-gold);
}
.lobby-nav button.active .nav-ico { color: var(--ld-gold); }
.lobby-nav .dot::after {
  content: ''; position: absolute; right: 10px; top: 14px;
  width: 7px; height: 7px; border-radius: 50%; background: #ff2d2d; box-shadow: 0 0 6px #ff2d2d;
}
.lobby-nav .nav-logout { margin-top: auto; border-bottom: 0; color: var(--ld-muted); height: 40px; font-size: 14px; }

/* ================= LEFT ================= */
.lobby-left {
  grid-area: left; display: flex; flex-direction: column; gap: 10px; padding: 10px 0;
  min-height: 0; overflow-y: auto; scrollbar-width: none;
}
.lobby-left::-webkit-scrollbar { display: none; }

.season-banner {
  position: relative; flex: none; height: 124px; border-radius: 6px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12); padding: 0; text-align: left;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%),
    url('/assets/lobby/season-banner.jpg') 70% 30% / cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s, border-color 0.15s;
}
.season-banner:hover, .bp-card:hover, .lobby-promo:hover { border-color: rgba(255, 194, 26, 0.55); transform: translateY(-1px); }
.season-copy { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; gap: 3px; }
.season-copy strong {
  font: italic 700 32px/0.85 var(--ld-head); letter-spacing: 0.5px; color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.season-copy span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.6px; color: #e8e8ec; }
.season-copy em { display: flex; align-items: center; gap: 5px; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; margin-top: 2px; }
.season-copy em .ui-ico { width: 13px; height: 13px; }

.bp-card {
  flex: none; display: grid; grid-template-columns: 74px 1fr 30px; align-items: center; gap: 10px;
  padding: 10px 8px 10px 10px; cursor: pointer; text-align: left;
  border-color: rgba(255, 194, 26, 0.32);
  background: linear-gradient(110deg, rgba(60, 42, 8, 0.85), var(--ld-panel) 55%);
  transition: transform 0.15s, border-color 0.15s;
}
.bp-art {
  width: 74px; height: 74px; object-fit: cover; border-radius: 4px; display: block;
  transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(255, 180, 20, 0.45));
}
.bp-body { min-width: 0; }
.bp-body h3 { font: 600 18px/1 var(--ld-head); letter-spacing: 0.3px; color: #fff; white-space: nowrap; }
.bp-body h3 b { color: var(--ld-gold); font-weight: 600; }
.bp-body small { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.6px; color: #c9c9cf; margin: 3px 0 8px; }
.bp-meta { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: #ddd; margin-bottom: 4px; }
.bp-meta b { color: #fff; }
.bp-go {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
}
.bp-go .ui-ico, .promo-go .ui-ico { width: 16px; height: 16px; }

.missions-card { flex: none; padding: 12px 10px 4px; }
.missions-card h4 { margin-bottom: 10px; }
.mission-row {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.m-ico {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); color: #e6e6ea;
}
.m-body { min-width: 0; }
.m-label { display: block; font-size: 11px; font-weight: 600; color: #e2e2e6; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-track { display: flex; align-items: center; gap: 8px; }
.m-track .bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.m-track .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ld-gold2), var(--ld-gold)); }
.m-track em { font-style: normal; font-size: 10px; color: var(--ld-muted); font-weight: 700; min-width: 26px; text-align: right; }
.m-xp { font: 600 16px/1 var(--ld-head); color: #ffe7a0; letter-spacing: 0.4px; white-space: nowrap; }
.m-xp.blue { color: var(--ld-blue); }
.mission-row.done .m-ico { border-color: var(--ld-gold); color: var(--ld-gold); }
.mission-row.done .m-label { color: var(--ld-gold); }

/* PROMO */
.lobby-promo {
  grid-area: promo; align-self: end; justify-self: start;
  position: relative; width: 300px; height: 124px; margin: 0 0 10px 18px; padding: 0; cursor: pointer;
  border-radius: 6px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); text-align: left;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 60%),
    url('/assets/lobby/promo-drop.jpg') 60% 40% / cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s, border-color 0.15s;
}
.promo-text {
  position: absolute; left: 14px; top: 12px;
  font: italic 700 31px/0.82 var(--ld-head); color: var(--ld-gold);
  transform: rotate(-6deg); transform-origin: left top;
  text-shadow: 0 3px 0 #000, 0 0 18px rgba(0, 0, 0, 0.8);
}
.promo-go {
  position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 4px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ================= CENTER ================= */
.lobby-center { grid-area: center; position: relative; pointer-events: none; }
.lobby-invite {
  position: absolute; right: 4%; bottom: 23%; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 7px 8px 8px; border-radius: 6px; background: var(--ld-panel); border: 1px solid var(--ld-line);
}
.lobby-invite span { font: 600 13px/1 var(--ld-head); letter-spacing: 0.8px; color: #e8e8ec; }
.lobby-invite button {
  width: 52px; height: 52px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6); cursor: pointer; display: grid; place-items: center; transition: border-color 0.15s;
}
.lobby-invite button:hover { border-color: var(--ld-gold); color: var(--ld-gold); }
.lobby-invite .ui-ico { width: 24px; height: 24px; }

/* ================= RIGHT ================= */
.lobby-right {
  grid-area: right; display: flex; flex-direction: column; gap: 10px; padding: 10px 0 12px;
  min-height: 0;
}
.rank-card { flex: 0 1 auto; min-height: 0; padding: 12px 12px 4px; display: flex; flex-direction: column; overflow: hidden; }
.rank-card.expanded { padding-bottom: 12px; }
.lobby-play { margin-top: auto; }
.rank-card h4 .ui-ico { width: 15px; height: 15px; color: var(--ld-gold); }
.rank-hero {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 8px 0 4px; padding: 2px 0 8px;
  border: 0; background: transparent; cursor: pointer; text-align: left;
}
.rank-chevron { width: 16px; height: 16px; color: var(--ld-muted); transform: rotate(90deg); transition: transform 0.2s, color 0.2s; }
.rank-hero:hover .rank-chevron { color: var(--ld-gold); }
.rank-card.expanded .rank-chevron { transform: rotate(-90deg); color: var(--ld-gold); }
.rank-card.expanded .rank-hero { border-bottom: 1px solid var(--ld-line); margin-bottom: 10px; }

.rank-details { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.rank-next {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 5px;
  background: linear-gradient(90deg, rgba(255, 194, 26, 0.14), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 194, 26, 0.25);
}
.rank-next .rk-shield { width: 40px; height: 46px; flex: none; }
.rank-next small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; color: var(--ld-muted); }
.rank-next b { display: block; font: 600 22px/1 var(--ld-head); letter-spacing: 0.6px; margin: 2px 0; }
.rank-next span { font-size: 11px; color: #c4c4cc; }
.rank-next strong { color: var(--ld-gold); }
.rank-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rank-tips li { display: flex; justify-content: space-between; font-size: 11px; color: #b9bac2; }
.rank-tips b { color: #fff; }
.rank-tiers li em { margin-left: auto; font-style: normal; font: 500 12px/1 var(--ld-body); color: var(--ld-muted); }
.rank-full {
  flex: none; height: 34px; border-radius: 4px; border: 1px solid rgba(255, 194, 26, 0.45); background: rgba(255, 194, 26, 0.1);
  font: 600 14px/1 var(--ld-head) !important; letter-spacing: 1px; color: var(--ld-gold) !important; cursor: pointer;
}
.rank-full:hover { background: rgba(255, 194, 26, 0.22); }
.rank-shield-lg { width: 74px; height: 85px; flex: none; filter: drop-shadow(0 6px 16px rgba(255, 140, 40, 0.35)); transition: transform 0.2s; }
.rank-hero:hover .rank-shield-lg { transform: scale(1.05); }
.rank-info-col { flex: 1; min-width: 0; }
.rank-badge { font: 600 26px/1 var(--ld-head); letter-spacing: 0.8px; color: #fff; }
.rank-sub { font-size: 12px; color: #c4c4cc; margin: 2px 0 8px; font-weight: 600; }
.rank-bar { height: 7px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.35); }

.rank-tiers { list-style: none; margin: 0; padding: 0; overflow-y: auto; scrollbar-width: none; }
.rank-tiers li {
  display: flex; align-items: center; gap: 12px; padding: 2px 8px; border-radius: 4px;
  font: 500 14px/1 var(--ld-head); letter-spacing: 0.8px; color: #b9bac2;
}
.rank-tiers li.current { background: linear-gradient(90deg, rgba(255, 194, 26, 0.18), transparent); color: #fff; }
.rank-tiers li.locked { opacity: 0.85; }
.rank-tiers .rk-shield { width: 22px; height: 25px; flex: none; }

.lobby-play { display: flex; flex-direction: column; gap: 8px; flex: none; }
.modes-title { display: flex; align-items: center; gap: 6px; font: 600 16px/1 var(--ld-head); letter-spacing: 0.8px; color: #fff; }
.mode-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.modes-all {
  margin-left: auto; border: 0; background: none; cursor: pointer; padding: 2px 0;
  font: 600 13px/1 var(--ld-head); letter-spacing: 0.8px; color: var(--ld-gold);
}
.modes-all:hover { color: #fff; }
.mode-btn.locked { opacity: 0.55; }
.mode-btn.locked::before {
  content: '🔒'; position: absolute; top: 4px; right: 5px; font-size: 10px;
}
.mode-btn {
  position: relative; height: 78px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ld-panel); color: #d6d6dc; font: 600 15px/1 var(--ld-head); letter-spacing: 0.8px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: border-color 0.15s, background 0.15s;
}
.mode-btn .ui-ico { width: 24px; height: 24px; }
.mode-btn:hover { border-color: rgba(255, 194, 26, 0.45); }
.mode-btn.selected {
  border: 2px solid var(--ld-gold); color: #fff;
  background: linear-gradient(180deg, rgba(40, 50, 80, 0.55), rgba(10, 12, 20, 0.9));
  box-shadow: 0 0 18px rgba(255, 194, 26, 0.25), inset 0 0 18px rgba(255, 194, 26, 0.08);
}
.mode-btn.selected::after {
  content: ''; position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px;
  border-radius: 3px 0 4px 0; background: var(--ld-gold) center / 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23140c00' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.lobby-play-main {
  position: relative; width: 100%; height: 76px; border: 0; cursor: pointer; margin-top: 4px;
  background: linear-gradient(180deg, #ffd84a 0%, #ffc21a 45%, #f5a000 100%);
  color: #120b00 !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  box-shadow: 0 0 30px rgba(255, 180, 20, 0.35);
  transition: filter 0.15s, transform 0.08s;
}
.lobby-play-main::before {
  content: ''; position: absolute; inset: 3px; pointer-events: none;
  clip-path: inherit; border: 1px solid rgba(255, 255, 255, 0.45);
}
.lobby-play-main:hover:not(:disabled) { filter: brightness(1.08); }
.lobby-play-main:active:not(:disabled) { transform: translateY(2px); }
.lobby-play-main:disabled { filter: grayscale(0.6) brightness(0.75); cursor: wait; }
.play-ico { width: 34px; height: 34px; }
.play-text { display: flex; flex-direction: column; align-items: center; font: 700 42px/0.8 var(--ld-head); letter-spacing: 1px; padding-top: 6px; }
.play-text small { font: 700 10px/1 var(--ld-body); letter-spacing: 1.6px; margin-top: 2px; }
#lobbyLoadStatus { font-size: 10px; color: #8a8f9c; text-align: center; min-height: 12px; }

.quick-toggle {
  flex: none; align-self: flex-end; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px;
  background: var(--ld-panel); border: 1px solid var(--ld-line); border-radius: 5px; cursor: pointer;
  font: 600 14px/1 var(--ld-head); letter-spacing: 0.8px; color: #e6e6ea;
}
.quick-toggle > .ui-ico { width: 14px; height: 14px; color: var(--ld-gold); }
.quick-toggle input { display: none; }
.quick-toggle .switch {
  position: relative; width: 38px; height: 20px; border-radius: 10px; background: #3a3c44; transition: background 0.2s;
}
.quick-toggle .switch::after {
  content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left 0.2s;
}
.quick-toggle input:checked + .switch { background: var(--ld-gold); }
.quick-toggle input:checked + .switch::after { left: 21px; background: #fff; }

/* ================= FOOT ================= */
.lobby-foot {
  grid-area: foot; display: flex; align-items: center; gap: 12px; padding: 0 0 12px 18px;
}
.region-pill {
  display: flex; align-items: center; gap: 10px; height: 40px; width: 286px; padding: 0 12px; cursor: pointer;
  background: var(--ld-panel); border: 1px solid var(--ld-line); border-radius: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: #e6e6ea;
}
.region-pill > .ui-ico { width: 20px; height: 20px; }
.region-pill .live { width: 7px; height: 7px; border-radius: 50%; background: #3ee66b; box-shadow: 0 0 6px #3ee66b; }
.region-pill span { flex: 1; text-align: left; }
.region-pill .chev { width: 14px; height: 14px; }
.region-pill:hover { border-color: rgba(255, 194, 26, 0.45); }

.lobby-chat {
  position: relative; flex: 0 1 470px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 12px;
  background: var(--ld-panel); border: 1px solid var(--ld-line); border-radius: 5px; color: #b8b8c0;
}
.lobby-chat > .ui-ico { width: 20px; height: 20px; }
.lobby-chat input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff;
  font: 500 12px var(--ld-body);
}
.lobby-chat input::placeholder { color: #80828c; }
.chat-send { border: 0; background: transparent; color: #cfd0d6; cursor: pointer; padding: 6px; display: grid; place-items: center; }
.chat-send:hover { color: var(--ld-gold); }
.chat-log {
  position: absolute; left: 0; bottom: 48px; width: 100%; list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px; pointer-events: none;
}
.chat-log li {
  align-self: flex-start; max-width: 100%; padding: 5px 10px; border-radius: 4px; font-size: 12px;
  background: rgba(0, 0, 0, 0.6); color: #eee; animation: chatFade 8s forwards; pointer-events: none;
}
.chat-log li b { color: var(--ld-gold); margin-right: 6px; }
@keyframes chatFade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }

.lobby-toast {
  position: fixed; left: 50%; top: 92px; transform: translateX(-50%); z-index: 5;
  padding: 10px 18px; border-radius: 5px; background: rgba(10, 11, 15, 0.92); border: 1px solid rgba(255, 194, 26, 0.5);
  color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ================= OVERLAYS ================= */
#lobbyOverlay {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(6px); font-family: var(--ld-body); color: var(--ld-text);
}
.overlay-panel {
  width: min(520px, 90vw); padding: 26px 30px; border-radius: 8px;
  background: rgba(10, 11, 15, 0.96); border: 1px solid rgba(255, 194, 26, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.overlay-panel h2 { font: 600 34px/1 var(--ld-head); letter-spacing: 1px; color: #fff; margin-bottom: 12px; }
.overlay-wide { width: min(760px, 94vw); max-height: 88vh; overflow-y: auto; text-align: left; }
.overlay-body { font-size: 14px; color: #c8c8d0; line-height: 1.5; }
.overlay-back, #lobbyOverlayClose {
  margin-top: 18px; padding: 10px 24px; border-radius: 4px; border: 0;
  background: var(--ld-gold); color: #111; font: 600 18px/1 var(--ld-head); letter-spacing: 1px; cursor: pointer;
}
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 8px; }
.ov-tile {
  padding: 12px 10px; border-radius: 6px; text-align: center; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ld-line); font-size: 12px; color: #ccc;
}
.ov-tile b { display: block; font: 600 22px/1 var(--ld-head); color: #fff; margin-bottom: 4px; }
.ov-tile.done { border-color: rgba(62, 230, 107, 0.5); }
.ov-tile.now { border-color: var(--ld-gold); box-shadow: 0 0 14px rgba(255, 194, 26, 0.25); }
.ov-tile.lock { opacity: 0.5; }
.ov-list { list-style: none; padding: 0; margin: 8px 0 0; }
.ov-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--ld-line); }
.ov-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ld-line); }
.ov-row select, .ov-row input[type='range'] { accent-color: var(--ld-gold); }
.ov-row select { background: #14161d; color: #fff; border: 1px solid var(--ld-line); padding: 6px 8px; border-radius: 4px; }

.shop-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.shop-tabs { display: flex; gap: 8px; }
.shop-tabs button {
  padding: 8px 14px; border-radius: 5px; border: 1px solid var(--ld-line);
  background: rgba(0, 0, 0, 0.4); color: #ccc; font-weight: 700; cursor: pointer;
}
.shop-tabs button.active { border-color: var(--ld-gold); color: #fff; background: rgba(255, 194, 26, 0.18); }
.shop-note { font-size: 12px; color: var(--ld-muted); margin: 10px 0 14px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.shop-card { padding: 16px; border-radius: 6px; border: 1px solid var(--ld-line); text-align: center; background: var(--ld-panel); }
.shop-amount { font: 600 26px/1 var(--ld-head); margin-bottom: 6px; }
.shop-tag { font-size: 11px; color: var(--ld-muted); min-height: 16px; margin-bottom: 10px; }
.shop-buy {
  width: 100%; padding: 10px; border: 0; border-radius: 4px; cursor: pointer; font-weight: 800;
  background: linear-gradient(180deg, #ffd84a, #f5a000); color: #1a0800;
}
.shop-msg { margin-top: 10px; font-size: 13px; color: var(--ld-gold); min-height: 18px; }
.leaderboard-list { list-style: none; padding: 0; margin: 12px 0 0; }
.leaderboard-list li {
  display: grid; grid-template-columns: 32px 1fr auto auto; gap: 8px; align-items: center;
  padding: 10px 8px; border-bottom: 1px solid var(--ld-line); font-size: 13px;
}

.rk-bronze { color: #e0965a; }
.rk-silver { color: #d0d4dc; }
.rk-gold { color: #ffd23a; }
.rk-plat { color: #6ad8ee; }
.rk-diamond { color: #b090ff; }
.rk-master { color: #ff5a72; }
.rk-legend { color: #ffb020; }

/* ---- Música do lobby ---- */
#lobbyMusicBtn {
  position: fixed; right: 250px; top: 18px; z-index: 30;
  width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  background: rgba(10, 14, 22, .7); border: 1px solid rgba(255, 196, 64, .35); border-radius: 50%;
  color: #ffc440; cursor: pointer; backdrop-filter: blur(6px);
  transition: border-color .2s, transform .15s, color .2s;
}
#lobbyMusicBtn svg { width: 20px; height: 20px; }
#lobbyMusicBtn:hover { border-color: #ffc440; transform: scale(1.06); }
#lobbyMusicBtn.off { color: #8d8f9a; border-color: rgba(255, 255, 255, .15); }

/* ---- Microfone (chat de voz) ---- */
#voiceMicBtn {
  position: fixed; z-index: 30; display: none;
  width: 40px; height: 40px; padding: 0; place-items: center;
  background: rgba(10, 14, 22, .7); border: 1px solid rgba(255, 196, 64, .35); border-radius: 50%;
  color: #ffc440; cursor: pointer; backdrop-filter: blur(6px);
  transition: border-color .2s, transform .15s, color .2s, box-shadow .2s;
}
body.in-lobby #voiceMicBtn { display: grid; right: 298px; top: 18px; }
body.voice-match #voiceMicBtn { display: grid; left: 244px; top: 16px; right: auto; }
body.is-loading #voiceMicBtn { display: none; }
#voiceMicBtn svg { width: 20px; height: 20px; }
#voiceMicBtn:hover { border-color: #ffc440; transform: scale(1.06); }
#voiceMicBtn.off { color: #8d8f9a; border-color: rgba(255, 255, 255, .15); }
#voiceMicBtn.live { color: #3dff8a; border-color: #3dff8a; box-shadow: 0 0 0 4px rgba(61, 255, 138, .18), 0 0 18px rgba(61, 255, 138, .45); }
#voiceMicBtn kbd {
  position: absolute; right: -6px; bottom: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  font: 800 10px/18px var(--ld-body, sans-serif); color: #1b0d00; background: #ffc440; text-align: center;
}
#voiceTip {
  position: fixed; z-index: 31; top: 66px; right: 200px; max-width: 320px; padding: 9px 13px; border-radius: 7px;
  background: rgba(10, 14, 22, .92); border: 1px solid rgba(255, 196, 64, .4); color: #f2f2f4;
  font: 600 12.5px/1.35 var(--ld-body, sans-serif); opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity .2s, transform .2s;
}
body.voice-match #voiceTip { right: auto; left: 244px; }
#voiceTip.show { opacity: 1; transform: none; }
.pause-key {
  min-width: 90px; padding: 6px 14px; border-radius: 5px; border: 1px solid rgba(255, 196, 64, .5);
  background: rgba(255, 196, 64, .1); color: #ffc440; font-weight: 800; letter-spacing: 1px; cursor: pointer;
}
.pause-key.capturing, .hb-keybind.capturing { animation: keycap 1s infinite; }
@keyframes keycap { 50% { opacity: .45; } }

/* resumo da partida ao voltar ao lobby */
#matchResult { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, rgba(20,24,34,.55), rgba(0,0,0,.85)); animation: mrFade .3s ease-out; font-family: Rajdhani, 'Segoe UI', sans-serif; }
#matchResult.mr-out { animation: mrFade .25s ease-in reverse forwards; }
#matchResult.mr-win { background: radial-gradient(ellipse at center, rgba(90,60,0,.5), rgba(0,0,0,.88)); }
#matchResult .mr-card { position: relative; min-width: 420px; max-width: 92vw; padding: 26px 42px 24px; text-align: center; color: #fff;
  background: linear-gradient(180deg, rgba(20,24,32,.97), rgba(10,12,18,.97)); border: 1px solid rgba(255,255,255,.08);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: 0 24px 70px rgba(0,0,0,.7); animation: mrIn .5s cubic-bezier(.2,.9,.3,1.25); }
#matchResult .mr-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #7cd8ff, transparent); }
#matchResult.mr-win .mr-card::before { background: linear-gradient(90deg, transparent, #ffc21a, transparent); }
#matchResult .mr-tag { display: inline-block; padding: 5px 16px; font: 700 13px/1 Rajdhani, sans-serif; letter-spacing: 4px; color: #fff; background: #2a3a55;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
#matchResult.mr-win .mr-tag { background: #ffc21a; color: #1a1205; }
#matchResult .mr-mode { margin-top: 8px; font: 700 13px/1 Rajdhani, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.5); }
#matchResult .mr-place { font: 600 96px/1 Teko, Rajdhani, sans-serif; color: #fff; text-shadow: 0 3px 18px rgba(120,200,255,.3); }
#matchResult.mr-win .mr-place { color: #ffc21a; text-shadow: 0 3px 22px rgba(255,190,60,.5); }
#matchResult .mr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 4px 0 14px; }
#matchResult .mr-stats div { padding: 10px 6px 8px; background: rgba(255,255,255,.04); }
#matchResult .mr-stats b { display: block; font: 600 30px/1 Teko, Rajdhani, sans-serif; }
#matchResult .mr-stats span, #matchResult .mr-rw span { display: block; margin-top: 4px; font: 700 11px/1 Rajdhani, sans-serif; letter-spacing: 2px; color: rgba(255,255,255,.5); }
#matchResult .mr-rewards { display: flex; justify-content: center; gap: 10px; }
#matchResult .mr-rw { flex: 1; min-width: 100px; padding: 12px 8px 10px; background: rgba(255,255,255,.05); border-bottom: 2px solid currentColor; animation: mrIn .45s backwards; }
#matchResult .mr-rw:nth-child(2) { animation-delay: .15s; }
#matchResult .mr-rw:nth-child(3) { animation-delay: .3s; }
#matchResult .mr-rw b { display: block; font: 600 34px/1 Teko, Rajdhani, sans-serif; }
#matchResult .mr-rw i { display: block; width: 22px; height: 22px; margin: 0 auto 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
#matchResult .mr-coin { color: #ffc21a; }
#matchResult .mr-xp { color: #7cd8ff; }
#matchResult .mr-xp i { border-radius: 3px; transform: rotate(45deg) scale(.8); }
#matchResult .mr-rp { color: #b48cff; }
#matchResult .mr-rp i { clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); border-radius: 0; }
#matchResult .mr-level { margin-top: 14px; padding: 8px; font: 700 16px/1.2 Rajdhani, sans-serif; letter-spacing: 2px; color: #7cff6b; background: rgba(124,255,107,.08); animation: mrIn .5s 1.4s backwards; }
#matchResult .mr-level small { display: block; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: 1px; }
#matchResult .mr-note { margin-top: 12px; font: 600 13px/1.2 Rajdhani, sans-serif; color: rgba(255,255,255,.5); }
#matchResult .mr-btn { margin-top: 18px; padding: 12px 34px; border: 0; cursor: pointer; font: 700 16px/1 Rajdhani, sans-serif; letter-spacing: 3px; color: #1a1205;
  background: linear-gradient(180deg, #ffd56a, #f0a91c); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
#matchResult .mr-btn:hover { filter: brightness(1.12); }
#matchResult .mr-btn kbd { margin-left: 8px; padding: 2px 6px; font: 700 11px/1 Rajdhani, sans-serif; background: rgba(0,0,0,.18); border-radius: 2px; }
@keyframes mrFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mrIn { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { #matchResult .mr-card { min-width: 0; padding: 22px 18px; } #matchResult .mr-place { font-size: 72px; } }
