/* Lụm Kèo — trang chủ "The Grand Arcade Lobby" · Pixel UI theo Art Bible V5 (cùng ngôn ngữ với Cờ Cá Ngựa / Đào Vàng).
   - Viền đen 3px vẽ bằng 4 box-shadow nên góc tự khuyết bậc pixel; vát sáng/tối 2px; bóng đổ cứng lệch 4px.
   - Không border-radius, không blur, không gradient mềm, không glow.
   - VÀNG (--px-gold) CHỈ cho nút chính "Chơi ngay" ở game tiêu điểm. Hành động phòng (Tạo phòng / Vào) dùng xanh ngọc.
   - Tiêu đề khu vực: Roboto Slab; nút, số, nhãn: Be Vietnam Pro. Không dùng pixel font cho văn bản. */
:root {
  --bg: #11171c; --bg-2: #141b20;
  --px-ink: #f4ead2; --px-soft: #b9ad93; --px-dim: #7d7564;
  --px-panel: #1d1a16; --px-panel2: #262019; --px-line: #0a0807; --px-shadow: rgba(0,0,0,.6);
  --px-gold: #ffc94a; --px-gold-d: #5a3a08; --px-gold-l: #ffe9a8;
  --px-teal: #2f8f7f; --px-teal-l: #6fd0bb; --px-teal-d: #0f3a33;
  --px-hot: #e0483d; --px-new: #3a7bd5; --px-live: #8fdc7a;
  --px-border: 0 -3px 0 0 var(--b, var(--px-line)), 0 3px 0 0 var(--b, var(--px-line)), -3px 0 0 0 var(--b, var(--px-line)), 3px 0 0 0 var(--b, var(--px-line));
  --px-bevel: inset 0 2px 0 rgba(255,255,255,.13), inset 0 -2px 0 rgba(0,0,0,.35);
  --px-drop: 4px 7px 0 0 var(--px-shadow), 7px 4px 0 0 var(--px-shadow);
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Roboto Slab", Georgia, "Times New Roman", serif;
  /* tên cũ — play.html vẫn dùng */
  --ink: var(--px-ink); --ink-soft: var(--px-soft);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; font-family: var(--font-body); color: var(--px-ink); line-height: 1.45; background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h2, h3 { margin: 0; }
[hidden] { display: none !important; }
.px-svg { width: 16px; height: 16px; flex: none; fill: currentColor; shape-rendering: crispEdges; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -48px; z-index: 50; padding: 8px 12px; background: var(--px-ink); color: #1d1a16; font-weight: 800; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px dashed var(--px-gold); outline-offset: 5px; }

/* =========================================================
   UI KIT (Art Bible V5)
   ========================================================= */
.px-panel { background: var(--px-panel); --b: var(--px-line); box-shadow: var(--px-bevel), var(--px-border), var(--px-drop); }

.btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; white-space: nowrap;
  font: 800 14px/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase;
  color: var(--px-ink); background: var(--px-panel2); --b: #6d6150;
  box-shadow: var(--px-bevel), var(--px-border), var(--px-drop); transition: transform .05s;
}
.btn img { width: 16px; height: 16px; image-rendering: pixelated; }
.btn:hover { background: #30281f; }
.btn:focus-visible { outline: 2px dashed var(--px-gold); outline-offset: 5px; }
.btn:active { transform: translate(4px, 4px); box-shadow: var(--px-bevel), var(--px-border); }
.btn--gold { color: #2c1b05; background: linear-gradient(var(--px-gold-l) 0 3px, var(--px-gold) 3px); --b: var(--px-gold-d); }
.btn--gold:hover { background: linear-gradient(#fff3c9 0 3px, #ffd466 3px); }
.btn--teal { color: #effff9; background: linear-gradient(var(--px-teal-l) 0 3px, var(--px-teal) 3px); --b: var(--px-teal-d); text-shadow: 1px 1px 0 rgba(0,0,0,.45); }
.btn--teal:hover { background: linear-gradient(#9de6d5 0 3px, #38a08e 3px); }
.btn--lg { min-height: 52px; font-size: 17px; padding: 12px 22px; }
.btn--sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn--block { display: flex; width: calc(100% - 6px); margin: 0 3px; }
.btn__plus { font-size: 1.35em; line-height: .7; margin-top: -2px; }

.field {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  background: #0d0b09; color: var(--px-ink); --b: #3a332a;
  box-shadow: var(--px-border), inset 0 3px 0 rgba(0,0,0,.55);
}
.field input { all: unset; flex: 1; min-width: 0; font: 600 15px var(--font-body); color: var(--px-ink); }
input.field { border: 0; border-radius: 0; outline: none; min-width: 0; font: 600 15px var(--font-body); -webkit-appearance: none; appearance: none; }
.field ::placeholder, input.field::placeholder { color: var(--px-dim); opacity: 1; }
.field:focus-within, input.field:focus { --b: var(--px-soft); }

.badge { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 3px 7px 2px; font: 800 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; --b: #000; box-shadow: var(--px-border); }
.badge--hot { background: var(--px-hot); }
.badge--new { background: var(--px-new); }

/* Game chưa có bản chơi thật: ảnh mờ + nhãn "Đang cập nhật" giữa ảnh */
.soon { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); padding: 5px 9px 4px; white-space: nowrap; font: 800 12px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--px-ink); background: #2a231b; --b: #000; box-shadow: var(--px-border), 3px 3px 0 0 rgba(0,0,0,.5); }
.tile__art .soon { font-size: 10px; padding: 4px 6px 3px; }
.is-soon img:not(.room__host img) { filter: grayscale(.75) blur(1.5px) brightness(.6); transform: scale(1.04); }
.is-soon .card__name, .is-soon .mini__name, .is-soon .room__name { color: var(--px-soft); }
.is-soon .meta { opacity: .7; }
.is-soon:hover img:not(.room__host img) { filter: grayscale(.6) blur(1.5px) brightness(.7); }
.btn--off { color: var(--px-soft); background: #3a332a; --b: #1a1612; }
.room.is-soon .room__go { color: var(--px-soft); background: #3a332a; --b: #1a1612; text-shadow: none; }

.live { display: inline-block; width: 8px; height: 8px; flex: none; background: var(--px-live); box-shadow: 0 0 0 2px #1c3a17; animation: live 1.2s steps(2) infinite; }
@keyframes live { 50% { opacity: .35; } }

.meta { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--px-soft); font-size: 13px; font-weight: 700; }
.meta--multi { color: var(--px-teal-l); }

.count { color: var(--px-dim); font: 800 .7em var(--font-body); margin-left: 4px; vertical-align: 2px; }

/* =========================================================
   HEADER
   ========================================================= */
.topbar { position: sticky; top: 0; z-index: 20; background: #0c1014; box-shadow: inset 0 -3px 0 #000, 0 4px 0 rgba(0,0,0,.35); }
.topbar__inner { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: grid; grid-template-columns: auto minmax(180px, 420px) 1fr; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 32px; height: 32px; image-rendering: pixelated; }
.logo__icon { width: 26px; height: 26px; fill: none; stroke: var(--px-gold); stroke-width: 2; }
.logo__words { display: grid; line-height: 1.05; }
.logo__text { font: 800 22px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--px-ink); text-shadow: 3px 3px 0 #000; }
.logo__slogan { margin-top: 4px; font: 700 12px/1 var(--font-body); letter-spacing: .04em; color: var(--px-soft); }
.topbar__actions { display: flex; gap: 16px; justify-content: flex-end; padding-right: 7px; }
.search { width: 100%; }
.search input { min-height: 40px; }

.page { max-width: 1240px; margin: 0 auto; padding: 28px 20px 40px; }
.mobile-search-slot:empty { display: none; }

/* =========================================================
   TẦNG 1 — ARENA: game tiêu điểm (60%) + sảnh chờ (40%)
   ========================================================= */
.arena { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: stretch; margin-bottom: 40px; }
.arena__hero { display: flex; min-width: 0; }
.arena > * { min-width: 0; }
.arena__mobile-actions { display: none; }

.hero { position: relative; display: flex; flex-direction: column; width: 100%; text-decoration: none; overflow: visible; }
.hero__art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0e11; box-shadow: inset 0 -3px 0 #000; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; image-rendering: pixelated; }
.hero__info { display: grid; gap: 8px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.hero__tags { display: flex; gap: 10px; align-items: center; }
.hero__tags .badge { position: static; }
.kicker { font: 800 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--px-soft); }
.hero__name { font: 800 34px/1.1 var(--font-title); text-shadow: 3px 3px 0 #000; }
.hero__text { color: var(--px-soft); max-width: 560px; }
.hero__row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.hero__stats { display: grid; gap: 4px; }
.hero__stat { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--px-soft); }
.hero:hover .hero__art img { filter: brightness(1.06); }

.lobby { display: flex; flex-direction: column; gap: 14px; padding: 0 0 16px; }
.lobby__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #2b2118; box-shadow: inset 0 -3px 0 #000; }
.lobby__title { display: flex; align-items: center; gap: 10px; font: 800 19px/1.1 var(--font-title); text-shadow: 2px 2px 0 #000; }
.lobby__stat { font-size: 12px; font-weight: 700; color: var(--px-soft); white-space: nowrap; }
.lobby__stat strong { color: var(--px-ink); }
.lobby__sub { padding: 0 16px; font: 800 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--px-soft); }
.lobby__note { margin: 0; padding: 0 16px; font-size: 12px; color: var(--px-dim); }
.lobby > .btn--block { width: calc(100% - 38px); margin: 4px 19px 0; }

.pin { padding: 0 19px; }
.pin__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--px-soft); }
.pin__row { display: flex; gap: 14px; }
.pin__input { flex: 1; min-width: 0; font: 800 18px var(--font-body) !important; letter-spacing: .25em; text-transform: uppercase; }
.pin__error { min-height: 1em; margin: 6px 0 0; font-size: 13px; font-weight: 700; color: #ff8a7a; }
.pin__error:empty { display: none; }

.rooms { position: relative; list-style: none; margin: 0; padding: 0 19px; display: grid; gap: 12px; }
.room { position: relative; display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; background: var(--px-panel2); --b: #000; box-shadow: var(--px-border); }
.room__art { width: 48px; height: 48px; overflow: hidden; box-shadow: inset 0 0 0 2px #000; }
.room__art img { width: 100%; height: 100%; object-fit: cover; }
.room__info { display: grid; gap: 2px; min-width: 0; }
.room__name { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room__no { color: var(--px-dim); }
.room__host { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--px-soft); }
.room__host img { width: 16px; height: 16px; image-rendering: pixelated; }
.room__side { display: grid; justify-items: end; gap: 3px; }
.room__cnt { font-weight: 800; font-size: 13px; }
.seats { display: flex; gap: 2px; }
.seats i { width: 8px; height: 8px; background: #120f0c; box-shadow: inset 0 0 0 1px #3a332a; }
.seats i.on { background: var(--px-teal-l); box-shadow: inset 0 -2px 0 rgba(0,0,0,.3); }
.room__go { min-width: 56px; }

/* =========================================================
   TẦNG 2 — CHƠI TIẾP (khoảng nghỉ, cao ~80px)
   ========================================================= */
.recent { display: flex; align-items: center; gap: 20px; margin: 0 0 40px; padding: 12px 16px; background: var(--bg-2); box-shadow: inset 0 0 0 2px #0a0d10; }
.recent__title { flex: none; font: 800 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--px-soft); }
.recent-row { display: flex; gap: 16px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.mini { display: flex; align-items: center; gap: 10px; flex: none; padding: 0 14px 0 0; text-decoration: none; background: var(--px-panel2); --b: #000; box-shadow: var(--px-border); }
.mini__art { width: 48px; height: 48px; overflow: hidden; box-shadow: inset -3px 0 0 #000; }
.mini__art img { width: 100%; height: 100%; object-fit: cover; }
.mini__name { font-weight: 800; font-size: 14px; white-space: nowrap; }
.mini:hover { background: #30281f; }

/* =========================================================
   TẦNG 3 — KỆ GAME
   ========================================================= */
.shelves__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section__title { font: 800 26px/1.1 var(--font-title); text-shadow: 3px 3px 0 #000; }

/* Tab lọc liền khối: 1 khung, tab đang chọn nổi lên (nền sáng) */
.tabs { display: flex; flex-wrap: wrap; gap: 0; padding: 3px; background: #0d0b09; --b: #000; box-shadow: var(--px-border); margin-right: 3px; }
.tab { all: unset; box-sizing: border-box; cursor: pointer; min-height: 36px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 6px;
  font: 800 13px/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--px-soft); }
.tab:hover { color: var(--px-ink); background: #1d1a16; }
.tab[aria-pressed="true"] { color: #2c1b05; background: var(--px-ink); box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 #a99d82; }
.tab__n { font-size: 11px; opacity: .7; }
.tab:focus-visible { outline-offset: 2px; }

.shelf { margin-bottom: 40px; }
.shelf__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 18px; font: 800 18px/1.2 var(--font-title); text-shadow: 2px 2px 0 #000; }
.shelf__hint { flex-basis: 100%; font: 600 13px var(--font-body); color: var(--px-soft); text-shadow: none; }

/* Đối kháng: 4 thẻ 3:2 */
.duels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-right: 7px; }
.duel { display: flex; flex-direction: column; text-decoration: none; transition: transform .1s; }
.duel:hover { transform: translate(-2px, -2px); }
.duel__art { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; box-shadow: inset 0 -3px 0 #000; }
.duel__art img { width: 100%; height: 100%; object-fit: cover; }
.duel__mp { position: absolute; right: 8px; bottom: 9px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px 3px; font: 800 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #effff9; background: var(--px-teal); --b: var(--px-teal-d); box-shadow: var(--px-border); }
.duel__mp .px-svg { width: 14px; height: 14px; }
.duel__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; flex: 1; }
.duel__text { display: grid; gap: 6px; min-width: 0; }
.duel__meta { display: grid; gap: 4px; }
.duel__rooms { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--px-soft); }
.card__name { font: 800 16px/1.2 var(--font-body); }
.duel .card__name { font-size: 17px; text-shadow: 2px 2px 0 #000; }

/* Thư viện chơi nhanh: lưới gọn 6 cột, ô 4:3, ít chữ */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 18px; padding-right: 4px; }
.tile { display: flex; flex-direction: column; text-decoration: none; background: var(--px-panel); --b: var(--px-line); box-shadow: var(--px-border), 4px 4px 0 0 var(--px-shadow); transition: transform .1s; }
.tile:hover { transform: translate(-2px, -2px); }
.tile:active { transform: translate(3px, 3px); box-shadow: var(--px-border); }
.tile__art { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: inset 0 -3px 0 #000; }
.tile__art img { width: 100%; height: 100%; object-fit: cover; }
.tile__art .badge { left: 6px; top: 6px; font-size: 10px; }
.tile__body { display: grid; gap: 3px; padding: 8px 10px 10px; }
.tile .card__name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .meta { font-size: 12px; }
.tile .meta .px-svg { width: 14px; height: 14px; }

.empty { color: var(--px-soft); padding: 24px 0; }
.link { all: unset; cursor: pointer; color: var(--px-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   TẦNG 4 — FOOTER
   ========================================================= */
.footer { background: #0c1014; box-shadow: inset 0 3px 0 #000; }
.footer__inner { max-width: 1240px; margin: 0 auto; padding: 28px 20px 32px; display: grid; gap: 18px; }
.sponsor { display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin: 0 3px; text-decoration: none; max-width: 640px; }
.sponsor__tag { padding: 3px 7px 2px; font: 800 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #2c1b05; background: var(--px-ink); --b: #000; box-shadow: var(--px-border); }
.sponsor__text { flex: 1; color: var(--px-soft); }
.sponsor__text strong { color: var(--px-ink); }
.sponsor__go { font: 800 22px/1 var(--font-body); color: var(--px-soft); }
.sponsor:hover { background: #262019; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-right: 7px; }
.footer__brand { margin: 0; color: var(--px-soft); font-size: 14px; }
.footer__brand strong { color: var(--px-ink); text-transform: uppercase; letter-spacing: .06em; }
.footer__small { margin: 0; color: var(--px-dim); font-size: 12px; }

/* =========================================================
   HỘP THOẠI NHẬP MÃ
   ========================================================= */
.dialog { border: 0; padding: 0; color: var(--px-ink); width: min(420px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(8,7,6,.72); }
.dialog__body { display: grid; gap: 12px; padding: 22px; }
.dialog h2 { font: 800 22px var(--font-title); text-shadow: 2px 2px 0 #000; }
.dialog__hint { margin: 0; color: var(--px-soft); }
.pin-big { min-height: 56px; margin: 0 3px; text-align: center; font: 800 26px var(--font-body) !important; letter-spacing: .3em; }
.dialog__error { margin: 0; min-height: 1.2em; color: #ff8a7a; font-weight: 700; font-size: 14px; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 16px; padding-right: 7px; }

/* play.html (trang chờ) dùng lại vài lớp cũ */
.card { color: inherit; }
.frame { box-shadow: var(--px-border), var(--px-drop); }
.pick__art { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pick__art img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1023px) {
  .arena { grid-template-columns: minmax(0, 1fr); }
  .duels { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .topbar__inner { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 720px) {
  .topbar__inner { grid-template-columns: 1fr auto; padding: 8px 12px; gap: 12px; }
  .topbar__actions { gap: 0; padding-right: 3px; }
  .topbar__actions #createRoom { display: none; }
  .topbar__actions #openRoom { min-height: 40px; padding: 6px 10px; font-size: 12px; }
  .logo__text { font-size: 18px; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__slogan { font-size: 11px; }
  .page { padding: 14px 12px 32px; }
  .mobile-search-slot { margin: 0 3px 20px; }

  .arena { gap: 22px; margin-bottom: 32px; }
  .hero__art { aspect-ratio: 2 / 1; }
  .hero__art img { object-position: 72% 0; }
  .hero__info { padding: 14px 14px 16px; gap: 6px; }
  .hero__name { font-size: 26px; }
  .hero__text { font-size: 14px; }
  .hero__row { gap: 14px; }
  .hero__row .btn--lg { flex: 1; }

  .arena__mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 7px 0 3px; }
  .arena__mobile-actions .btn--lg { font-size: 15px; padding: 10px 8px; }

  .lobby__head { padding: 12px; flex-wrap: wrap; }
  .pin { padding: 0 15px; }
  /* Phòng chờ thành dải vuốt ngang 1 chạm */
  .rooms { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 3px 15px 10px; scrollbar-width: none; }
  .rooms::-webkit-scrollbar { display: none; }
  .room { flex: 0 0 86%; scroll-snap-align: start; gap: 10px; }
  .room__no { display: none; }
  .lobby > .btn--block { width: calc(100% - 30px); margin: 0 15px; }
  .lobby__note { padding: 0 12px; }

  .recent { padding: 10px 12px; gap: 12px; flex-direction: column; align-items: stretch; }
  .section__title { font-size: 22px; }
  .shelves__head { margin-bottom: 20px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% - 3px); min-width: 0; margin-left: 3px; }
  .shelves__head { display: grid; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; min-height: 40px; }
  .duels { gap: 18px 16px; }
  .duel__body { flex-direction: column; align-items: stretch; padding: 10px; }
  .duel__body .btn { align-self: stretch; min-height: 40px; }
  .duel .card__name { font-size: 15px; }
  .duel__mp { font-size: 0; gap: 0; padding: 4px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
  .tile__body { padding: 6px 7px 8px; }
  .tile .card__name { font-size: 12px; white-space: normal; overflow: visible; line-height: 1.2; }
  .tile .meta { display: none; }
  .footer__inner { padding: 22px 12px 28px; }
  .footer .btn--sm { min-height: 40px; }
  .sponsor { gap: 10px; }
}
