@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* App bar, stat strip, holo accents, and pockets follow Rip Report's Showcase layout. */
:root {
  color-scheme: dark;
  --bg: #07090d;
  --ink: #eef1f4;
  --mute: #aab4c0;
  --line: rgba(255, 255, 255, .13);
  --pocket: #1c1e1b;
  --red: #c6f432;
  --redink: #d8ff5c;
  --gold: #ffe08a;
  --cyan: #7cf7ff;
  --heading: "Barlow Condensed", "Arial Narrow", Inter, sans-serif;
  --edge: max(4vw, 16px);
}
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(110% 60% at 50% -8%, #16213a 0%, #0a0d14 42%, #050608 75%) fixed #050608;
  color: var(--ink);
  font: 16px/1.5 Inter, system-ui, sans-serif;
}
.wrap { max-width: 1240px; margin-inline: auto; }
.band { padding: 24px var(--edge) 28px; }
h1, h2, h3, h4 { font-family: var(--heading); }
h2 { font-size: 1.75rem; line-height: 1; margin: 0 0 8px; }
p { margin: 0; }
button { color: inherit; font: inherit; }
button:enabled { cursor: pointer; }
button:focus-visible, [tabindex="-1"]:focus-visible { outline: 2px solid var(--redink); outline-offset: 4px; }
button:disabled { opacity: .45; cursor: default; }
.note { color: var(--mute); font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.appbar {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 10px var(--edge);
  background: rgba(7, 9, 13, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.appbar::after, .foot::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 25%, var(--red) 50%, #ff7ad9 75%, transparent);
  opacity: .55;
  pointer-events: none;
}
.abar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0; }
.brand img, .fbrand img { border-radius: 22%; box-shadow: 0 0 0 1px var(--line), 0 0 24px #c6f43245; }
.wm {
  --wm: 26px;
  display: inline-grid;
  justify-items: start;
  margin-left: 2px;
  font: 700 var(--wm)/.8 var(--heading);
  text-transform: uppercase;
  letter-spacing: .03em;
  transform: skewX(-11deg);
}
.wm i { color: transparent; -webkit-text-stroke: 1.5px #c6ff1a; font-style: normal; }
.wm b {
  margin: calc(var(--wm) * -.3) 0 0 calc(var(--wm) * .66);
  color: #c6ff1a;
  text-shadow: 2px 0 #0b0c0b, -2px 0 #0b0c0b, 0 2px #0b0c0b, 0 -2px #0b0c0b, 0 0 18px #c6ff1a73;
}
.wm.sm { --wm: 19px; }
.mode { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff0f; }
.mode button { border: 0; border-radius: 999px; min-height: 38px; padding: 7px 16px; background: none; color: var(--mute); font-size: .875rem; font-weight: 600; }
.mode button[aria-pressed="true"] { color: #0b0d10; background: var(--redink); box-shadow: 0 0 16px #c6f43259; }
.btn {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff08;
  font-size: .875rem;
  font-weight: 600;
}
.btn:enabled:hover { border-color: var(--redink); }
.btn.main { color: #111800; background: var(--redink); border-color: var(--red); box-shadow: 0 0 18px #c6f43238; }
.btn.main:enabled:hover { background: #e4ff91; }
.wallet { white-space: nowrap; }
.wallet-address { overflow-wrap: anywhere; }
.tile.big .coin-balance { color: var(--mute); }
.coin-balance span { color: var(--ink); font-weight: 700; }
.payment-choice { margin-bottom: 12px; }
.set-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; width:min(100%,740px); margin:14px auto; }
.vault-filter { display:grid; gap:4px; color:var(--mute); font-size:.875rem; }
.vault-filter select, .loadout-slot select { min-height:42px; width:100%; color:var(--ink); padding:6px 8px; border:1px solid var(--line); border-radius:8px; background:#111722; font:inherit; }
.hero-loadout { margin-top:22px; border-top:1px solid var(--line); padding-top:12px; }
.hero-loadout h3 { margin:0 0 10px; }
.hero-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-bottom:10px; }
.hero-stats span { display:grid; padding:7px; border:1px solid var(--line); border-radius:8px; text-transform:capitalize; }
.hero-stats small { color:var(--mute); font-size:.75rem; }
.loadout-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0; }
.loadout-slot { display:grid; align-content:start; gap:5px; border:1px solid var(--line); border-radius:8px; padding:8px; font-size:.83rem; }
.loadout-slot label { display:grid; gap:4px; }
.loadout-slot small { color:var(--redink); }
.loadout-slot .btn { justify-self:start; min-height:34px; padding:4px 8px; }
#adminPanel { width: min(855px, calc(100% - 24px)); }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 22px; }
.admin-layout h3 { margin: 0 0 8px; font-size: 1.3rem; }
.admin-users { border-right: 1px solid var(--line); padding-right: 18px; }
.admin-search { display: flex; gap: 6px; }
.admin-search input, #adminPanel select {
  width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: #121821; padding: 8px 10px; font: inherit; color: var(--ink);
}
.admin-results { display: grid; gap: 5px; margin: 12px 0; padding: 0; list-style: none; }
.admin-results .btn { width: 100%; text-align: left; }
.admin-results .btn[aria-pressed="true"] { border-color: var(--redink); color: var(--redink); }
.admin-grant { margin-top: 16px; }
.admin-grant .btn { justify-self: start; }
.admin-layout .admin-history-heading { margin-top: 18px; }
.admin-placeholder { align-self: center; }
#adminStatus { margin-top: 12px; color: var(--redink); }
#adminStatus:empty { display: none; }
@media (max-width: 620px) {
  .admin-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .admin-users { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .admin-results { max-height: 140px; overflow: auto; }
}
.account-actions, #guestActions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.auth-form { display: grid; gap: 12px; }
.auth-form label { display: grid; gap: 5px; font-weight: 600; font-size: .875rem; }
.auth-form input {
  width: 100%; min-height: 45px; padding: 8px 12px; color: var(--ink); font: inherit;
  font-size: 1rem; border: 1px solid var(--line); border-radius: 8px; background: #ffffff0b;
}
.auth-form input:focus-visible { outline: 2px solid var(--redink); outline-offset: 2px; }
.auth-form .sheet-actions { margin-top: 0; }
.auth-link { justify-self: start; color: var(--redink); border: 0; padding: 5px 0; background: none; text-decoration: underline; }

#collectionStats {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 2px 0 16px;
  border: 1px solid #c6f43261;
  border-radius: 22px;
  background: linear-gradient(150deg, #c6f43221, #ffffff08 45%, #7cf7ff0d);
  box-shadow: inset 0 1px #ffffff24, 0 0 30px #c6f4321f, 0 18px 40px #0006;
}
.tile { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px 20px; }
.tile + .tile { border-left: 1px solid #ffffff14; }
.tile small { color: var(--mute); font-size: .8125rem; font-weight: 600; }
.tile b { font: 700 1.625rem/1.05 var(--heading); }
.tile.big small { color: #c9e98a; }
.tile.big b { font-size: clamp(2.375rem, 5vw, 3.25rem); white-space: nowrap; color: var(--redink); text-shadow: 0 0 26px #c6f43269; }
.tile.best small { color: var(--gold); }
.tile.hit small { color: var(--cyan); }
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 4px 0 18px; }
.tab { min-height: 58px; padding: 9px 12px; text-align: left; background: linear-gradient(160deg, #ffffff0c, #ffffff03); border: 1px solid var(--line); border-radius: 10px; }
.tab[aria-pressed="true"], .tab[aria-current="true"] { border-color: #c6f432aa; background: linear-gradient(160deg, #c6f43229, #c6f43208); box-shadow: inset 0 1px #ffffff2e, 0 0 20px #c6f43231; }
.tab strong, .tab small { display: block; }
.tab strong { font-size: .9375rem; }
.tab small { font-size: .8125rem; color: var(--mute); }
.bar { height: 4px; border-radius: 3px; background: var(--line); margin-top: 6px; }
.bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--red); }

.hero { margin: 20px 0 28px; }
.hset { display: flex; align-items: center; gap: 14px; }
.hset small { display: block; color: var(--mute); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.hset h2 { font-size: clamp(1.75rem, 5vw, 2.25rem); margin: 2px 0 3px; }
.hset p { font-size: .875rem; color: var(--mute); }
.ring { --p: 0; position: relative; display: inline-grid; place-items: center; width: 68px; aspect-ratio: 1; flex: none; font: 700 1.1875rem var(--heading); }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--cyan) 0, var(--red) calc(var(--p) * 1%), #ffffff18 0); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.fan { display: grid; position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: clamp(8px, 3vw, 30px); width: min(100%, 604px); padding: 12px 8px 16px; margin: 0 auto 9px; isolation: isolate; }
.fan::before { content: ""; position: absolute; inset: -6% -14%; z-index: -1; background: radial-gradient(ellipse, #6760b84c 0%, #377a8f30 31%, transparent 65%); pointer-events: none; }
.fan .feature:first-child { transform: perspective(620px) rotateY(13deg) rotate(-7deg) translateY(12px); }
.fan .feature:last-child { transform: perspective(620px) rotateY(-13deg) rotate(7deg) translateY(12px); }
.fan .feature:hover { transform: translateY(4px); }
.feature { position: relative; background: none; border: 0; border-radius: 12px; padding: 0; transition: transform .22s ease; }
.card-face {
  --foil: #a8c3d8;
  display: block;
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 63 / 88;
  border-radius: 6% / 4.3%;
  border: 2px solid var(--foil);
  background: #141a22;
  text-align: left;
}
.card-face.tier-uncommon { --foil: #7cf7d1; }
.card-face.tier-rare { --foil: #c7a9ff; }
.card-face.tier-legendary { --foil: var(--gold); }
.feature .card-face, .bpk.owned .card-face { box-shadow: 0 0 22px color-mix(in srgb, var(--foil) 32%, transparent), 0 12px 20px #0008; }
.card-art { position: absolute; inset: 0; container-type: size; background: var(--art-color); overflow: hidden; }
.card-art img {
  --tile: max(100cqw, 100cqh);
  position: absolute;
  width: calc(var(--tile) * 4);
  height: calc(var(--tile) * 3);
  left: calc(50% - var(--tile) * (var(--col) + .5));
  top: calc(50% - var(--tile) * (var(--row) + .5));
  pointer-events: none;
}
.launch-art img { height: calc(var(--tile) * 4); }
.card-face::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(130deg, #ffffff25, #ffffff04 31%, transparent 32%), radial-gradient(ellipse at var(--glint-x, 22%) var(--glint-y, 14%), #fff4, transparent 44%);
}
.card-face:is(.tier-rare, .tier-legendary)::before {
  content: ""; position: absolute; z-index: 1; inset: 0; opacity: .5; pointer-events: none;
  background: linear-gradient(115deg, transparent 23%, #7cf7ff55 37%, #c6f43250 46%, #ff7ad95a 55%, transparent 68%);
  background-size: 260% 100%; mix-blend-mode: screen; animation: holo-foil 4s linear infinite;
}
@keyframes holo-foil { from { background-position: 115% 0; } to { background-position: -115% 0; } }
.card-tier { position: absolute; top: 6%; left: 6%; padding: 3px 7px; border-radius: 999px; color: #090d11; background: var(--foil); font: 700 clamp(.75rem, 8cqw, .9375rem)/1 var(--heading); }
.card-caption { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 23% 8% 8%; color: #fff; background: linear-gradient(transparent, #060a14ee 50%); }
.card-caption b { font: 700 clamp(.95rem, 13cqw, 2rem)/.98 var(--heading); }
.card-caption small { color: #dde3ed; font: 600 clamp(.75rem, 7.5cqw, .875rem)/1.1 var(--heading); }
.pack {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 5px;
  position: relative;
  z-index: 1;
  aspect-ratio: 64 / 94;
  min-width: 0;
  padding: 8% 7%;
  overflow: hidden;
  border: 1px solid #c7f191b3;
  border-radius: 10px 10px 12px 12px;
  background: repeating-linear-gradient(100deg, #ffffff15 0 1px, transparent 1px 5px), linear-gradient(115deg, #121926 14%, #394b63 25%, #141321 37%, #6a6385 62%, #1d2232 80%);
  box-shadow: inset 0 7px #ffffff1c, inset 0 -7px #ffffff1c, 0 0 30px #c6f43238, 0 15px 35px #000a;
  color: var(--redink);
  text-align: center;
}
.pack::before, .pack::after { content: ""; position: absolute; inset: 3px 0 auto; height: 5px; background: repeating-linear-gradient(90deg, #0007 0 1px, #fff3 1px 3px); }
.pack::after { inset: auto 0 3px; }
.pack-brand { font: 700 clamp(.8125rem, 2vw, 1.125rem)/1 var(--heading); }
.pack-window { position: relative; overflow: hidden; border: 1px solid #d8ff5c65; border-radius: 5px; background: #18202b; }
.pack-window .card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, #e9f2ff38, transparent 55%, #9acdff44); }
.pack-label { display: grid; gap: 3px; color: var(--ink); }
.pack-label b { font: 700 clamp(1rem, 3.3vw, 2rem)/.95 var(--heading); }
.pack-label small { font: 600 clamp(.75rem, 1.7vw, .875rem)/1 var(--heading); color: var(--redink); }
.pack-actions { justify-content: center; }
.pack-actions, .sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pack-note { text-align: center; margin-top: 7px; }
.pack-note:empty { display: none; }
#dailyNotice { color: var(--redink); }
.pack-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; width: min(100%, 740px); margin: 18px auto; }
.pack-tiers .tab small { line-height: 1.35; margin-top: 3px; }
.pack-scout { border-color: #7cf7db; }
.pack-core { border-color: #7ddaff; }
.pack-prime { border-color: #9ca8ff; }
.pack-ultra { border-color: #c2a8ff; }
.pack-apex { border-color: #ffc486; }
.pack-mythic { border-color: #ffe08a; }
.pack-plus { border-color: #7cf7db; }
.pack-elite { border-color: #ffe08a; }
@media (max-width: 560px) {
  .pack-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 375px) {
  .pack-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.lower { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #ffffff04; }
#stash { scroll-margin-top: 125px; }
.log { padding: 0; margin: 0; list-style: none; }
.log li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
.log li + li { border-top: 1px solid var(--line); }
.log li:last-child { padding-bottom: 0; }
.log strong { font: 700 1.125rem/1 var(--heading); }
.log small { display: block; color: var(--mute); font-size: .8125rem; }
.sealed-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.wallet-note { margin-top: 10px; }

.binder-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 7px 13px; font-size: .875rem; border: 1px solid var(--line); border-radius: 999px; background: #ffffff0a; }
.chip[aria-pressed="true"] { background: linear-gradient(#dcff6e, #a9d81c); color: #1a2200; border-color: var(--red); box-shadow: 0 0 16px #c6f43238, inset 0 1px #ffffffa0; }
.rrb-book { max-width: 660px; margin: 0 auto; border-radius: 14px; padding: clamp(8px, 1.4vw, 16px); background: #161816; box-shadow: 0 0 0 1px #2a2c31, 0 22px 44px -22px #000; }
.rrb-pg { padding: clamp(8px, 2vw, 16px); border-radius: 8px; background: var(--pocket); }
.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; color: var(--mute); font: 600 1.125rem var(--heading); }
.page-head b { color: var(--ink); }
.rrb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1.3vw, 13px); }
.bpk { position: relative; display: block; border: 0; padding: 0; border-radius: 6% / 4.3%; aspect-ratio: 63 / 88; background: #262925; }
.bpk.missing .card-face { filter: grayscale(1); opacity: .68; }
.bpk.missing .card-tier { display: none; }
.bpk.blank { box-shadow: inset 0 0 0 1px #ffffff12; background: #161816; }
.quantity { position: absolute; z-index: 1; top: 5%; right: 6%; background: var(--red); color: #111; border-radius: 5px; padding: 2px 6px; font: 700 .875rem var(--heading); }
.rrb-nav { display: flex; justify-content: center; gap: 10px; margin: 14px 0 4px; }
.empty { padding: 18px 0; }

.foot { position: relative; padding: 22px var(--edge) 28px; border-top: 1px solid #ffffff12; background: linear-gradient(#ffffff06, transparent); }
.foot::before { inset: -1px 0 auto; opacity: .45; }
.fbrand { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.fbrand p { margin-left: 12px; color: var(--mute); font-size: .875rem; }

dialog { width: min(620px, calc(100% - 24px)); max-height: calc(100% - 32px); padding: clamp(14px, 4vw, 25px); border: 1px solid #ffffff2a; border-radius: 18px; background: linear-gradient(#151b26, #0a0d12); color: var(--ink); box-shadow: 0 30px 90px #000b; }
dialog::backdrop { background: #020305bb; backdrop-filter: blur(4px); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sheet-head h2 { margin: 0; }
.close { padding: 0; width: 44px; font-size: 1.5rem; }
.sheet-actions { margin-top: 16px; }
.odds-list { padding: 0; margin: 12px 0; }
.odds-list dd { font-weight: 600; }
.card-detail { display: grid; justify-items: center; gap: 12px; }
.spin-view {
  display: block; width: 100%; aspect-ratio: 63 / 88; perspective: 1300px;
  touch-action: none; user-select: none; cursor: grab;
}
.spin-view:focus-visible { outline: 2px solid var(--redink); outline-offset: 5px; border-radius: 8px; }
.spin-view.spinning { cursor: grabbing; }
.spin-card {
  position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(calc(var(--pitch, 0deg) + var(--hover-x, 0deg))) rotateY(calc(var(--yaw, 0deg) + var(--hover-y, 0deg)));
  transition: transform .28s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.spin-view.spinning .spin-card { transition: none; }
.spin-front, .spin-back { position: absolute; inset: 0; border-radius: 6% / 4.3%; backface-visibility: hidden; }
.spin-back {
  transform: rotateY(180deg); display: grid; place-items: center; border: 2px solid #b6ee7499;
  background: repeating-linear-gradient(120deg, transparent 0 12px, #a5d9c81f 12px 13px), radial-gradient(ellipse, #263d37, #101725 76%);
  box-shadow: 0 0 28px #7cf7ff38, 0 14px 30px #000a; container-type: inline-size;
}
.spin-back::before {
  content: ""; position: absolute; inset: 29% 9%; border: 1px solid #afea8e8c; border-radius: 50%;
  box-shadow: 0 0 14px #c6f4324d; transform: rotate(-25deg);
}
.spin-back img { z-index: 1; width: 43%; border-radius: 22%; box-shadow: 0 0 22px #c6f4326b; }
.spin-back > span {
  position: absolute; bottom: 12%; color: var(--redink); letter-spacing: .13em; text-transform: uppercase;
  font: 700 clamp(.75rem, 7cqw, 1.25rem)/1 var(--heading);
}
.rr-card-back { overflow:hidden; }
.rr-card-back::before { content:none; }
.rr-card-back::after {
  content:""; position:absolute; inset:-24%; pointer-events:none;
  background:url("assets/card-mark.svg") center / contain no-repeat;
  transform:rotate(-50deg); filter:drop-shadow(0 0 12px #c6f43264);
}
.spin-detail { --pitch: 6deg; width: min(100%, 320px, 48svh); }
.spin-detail .card-face { box-shadow: 0 0 34px color-mix(in srgb, var(--foil) 33%, transparent), 0 19px 35px #0009; }
.spin-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bpk .card-face, .pull-preview .card-face {
  transform: perspective(800px) rotateX(var(--hover-x, 0deg)) rotateY(var(--hover-y, 0deg));
  transition: transform .25s ease;
}
.bpk.missing .card-face::before { display: none; }
.error { margin-top: 10px; color: #ffab9d; font-size: .875rem; }

@media (max-width: 820px) {
  #collectionStats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile.big { grid-column: span 2; }
  .tile:nth-child(n+3) { border-top: 1px solid #ffffff14; }
  .tile.hit { border-left: 0; }
  .tile { padding: 11px 13px; }
  .tile b { font-size: 1.375rem; }
  .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .abar { flex-wrap: wrap; }
  .mode { order: 3; width: 100%; }
  .mode button { flex: 1; }
  .brand img { width: 34px; height: 34px; }
  .wm { --wm: 22px; }
  .band { padding-top: 16px; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fan { padding-inline: 4px; }
  .fan::before { inset-inline: 0; }
  .fan .feature:first-child { transform: rotate(-5deg) translateY(6px); }
  .fan .feature:last-child { transform: rotate(5deg) translateY(6px); }
  .lower { grid-template-columns: 1fr; }
  .bpk .card-tier { padding-inline: 4px; }
}
@media (max-width: 440px) {
  .account-actions .btn { padding-inline: 9px; }
  .log .sealed-entry { flex-wrap: wrap; }
  .sealed-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .feature { transition: none; }
  .card-face::before { animation: none !important; }
  .spin-card, .bpk .card-face, .pull-preview .card-face { transition: none; }
}
