@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  font-family: Nunito, 'DM Sans', sans-serif;
  color: #143d62;
  background: #e9f7ff;
  --bg: #e9f7ff;
  --panel: #fffdf7;
  --panel2: #eaf8ff;
  --line: #b6d9ee;
  --muted: #5e839d;
  --text: #143d62;
  --mint: #1ab8da;
  --gold: #f5aa3b;
}

[hidden] { display: none !important; }
h1, h2, h3, .brand strong, .booster-title { font-family: Fredoka, Outfit, sans-serif; }
.eyebrow { color: #22749d; }
.eyebrow.gold { color: #bd7116; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, .game-card:focus-visible { outline-color: #f0952f; }
.boot-screen { background: linear-gradient(#79cefb, #e6fbff); }
.boot-screen p { color: #365f7b; }

/* Navigation: deep water beside a bright, open horizon. */
.sidebar {
  background: linear-gradient(180deg, #105991 0%, #0c4579 62%, #08375f 100%);
  border-right: 2px solid #91dfff;
  box-shadow: 8px 0 30px #07659312;
}
.brand { color: #fff; }
.brand-icon {
  border: 2px solid #d9f7ff;
  color: #fff4bc;
  background: #ffffff20;
  box-shadow: 0 4px 0 #073e67;
}
.brand small { color: #b9f2ff; }
.nav-caption { color: #b7e4f7; }
.nav-link { color: #d5ecf9; }
.nav-icon { color: #f9d890; }
.nav-link:hover { background: #ffffff20; color: #fff; }
.nav-link.active {
  color: #073d66;
  background: #fff8df;
  box-shadow: 0 5px 0 #063a6080;
}
.nav-link.active .nav-icon { color: #da7e18; }
.nav-dot { background: #f2a636; box-shadow: none; }
.sidebar-compass { border-color: #8accdf88; background: #ffffff13; color: #ffda91; }
.sidebar-compass span { color: #e0f6ff; }
.account-button { color: #fff; }
.account-button:hover { background: #ffffff1b; }
.account-name small, .account-arrow { color: #c0eaf8; }
.avatar { background: #fff5cf; color: #0d6595; border-radius: 50%; }
.main-column {
  background: radial-gradient(circle at 90% 0%, #b5edff 0, transparent 32%),
    linear-gradient(180deg, #f5fcff 0%, #e8f7ff 55%, #d9f0fc 100%);
}
.topbar {
  background: #ffffffd9;
  border-bottom: 1px solid #b6d9ee;
  color: #49779b;
}
.slash { color: #eeaa5e; }
.online-dot { background: #26bf86; box-shadow: 0 0 0 3px #c7f6df; }

/* Boarding screen. */
.auth-layout { grid-template-columns: 55% 45%; }
.auth-art {
  background: linear-gradient(180deg, #0b72bb00 36%, #085a9b66 70%, #043a6bc9 100%),
    url('/images/grand-line-ocean.png') center center / cover no-repeat;
  padding: clamp(40px, 6vw, 90px);
}
.auth-art:after { display: none; }
.auth-art-lines, .art-star { display: none; }
.auth-art-content { color: #fff; text-shadow: 0 3px 16px #002f60b5; }
.auth-art-content h1 { letter-spacing: -.045em; }
.auth-art-content h1 span { color: #ffe17d; }
.auth-art-content p { color: #fff; font-size: 18px; max-width: 450px; }
.auth-art .eyebrow, .art-foot { color: #fff6cc; }
.art-line { background: #ffe17d; }
.auth-panel { background: #f8fcff; }
.auth-panel-inner { width: min(410px, 100%); }
.auth-logo { color: #0a517f; }
.auth-logo span, .auth-logo strong { color: #e6952d; }
.auth-kicker { color: #e38c21; }
.auth-panel h2 { color: #083e68; font-weight: 600; }
.auth-subtitle { color: #547891; }
.auth-panel label { color: #245b82; }
.auth-panel input {
  color: #123e60;
  background: #fff;
  border: 2px solid #c5e4f2;
  box-shadow: 0 3px 0 #d3ebf6;
}
.auth-panel input::placeholder { color: #88a6b6; }
.auth-switch { color: #64879b; }
.auth-switch button { color: #077eac; }
.auth-note { color: #7296aa; }
.local-invite-note {
  margin: -18px 0 22px;
  padding: 11px 14px;
  color: #145676;
  background: #e0f8e8;
  border: 1px solid #a2dfb9;
  border-radius: 12px;
  font-size: 13px;
}
.local-invite-note strong { color: #08734c; }
.primary-button {
  border: 2px solid #0c78ad;
  background: linear-gradient(135deg, #25bbe4, #078fcb);
  color: #fff;
  box-shadow: 0 6px 0 #086898, 0 12px 22px #2285bb36;
}
.primary-button:not(:disabled):hover { filter: brightness(1.06); transform: translateY(-2px); }
.primary-button:disabled { box-shadow: none; }
.secondary-button {
  border-color: #86bbd7;
  background: #fff;
  color: #0a6998;
}

/* The pack page borrows the broad sea-and-sky composition from the references. */
.pack-page {
  padding: 42px clamp(24px, 4vw, 58px);
  border: 2px solid #c0e5f5;
  border-radius: 26px;
  background: linear-gradient(90deg, #f5fcfff5 0%, #f5fcffde 48%, #f5fcff63 100%),
    url('/images/grand-line-ocean.png') center / cover no-repeat;
  box-shadow: 0 18px 45px #0f6da51a;
}
.pack-page-intro h1 { color: #074c7e; letter-spacing: -.045em; }
.pack-page-intro h1 em { color: #e98a27; }
.pack-page-intro p { color: #315e7f; font-weight: 700; }
.pack-stage:before { background: #ffe29b7a; }
.stage-orbit { border-color: #fff9d2a8; }
.stage-spark { color: #fff0b4; text-shadow: 0 3px 9px #0d6092; }
.booster {
  background: radial-gradient(circle at 50% 31%, #49caf0 0%, #087db9 43%, #07578e 100%);
  border: 4px solid #fff0bc;
  box-shadow: 15px 22px 36px #0a4c7e65, 0 0 0 7px #096fa8, 0 0 0 10px #f9c75c;
}
.booster-top, .booster-bottom, .booster-title { color: #fff9de; }
.booster-symbol { color: #ffd45d; text-shadow: 0 5px 18px #065892; }
.pack-count, .pack-rules {
  background: #fffffff0;
  border: 2px solid #add8eb;
  box-shadow: 0 5px 0 #b6dcea;
}
.pack-count strong { color: #056b9d; }
.pack-count strong span, .pack-count small, .next-pack { color: #537d96; }
.pack-rules strong { color: #12486d; }
.pack-rules p { color: #567b94; }
.pack-rules button { color: #0078a9; }

/* Collectible cards with clear character art and physical card edges. */
.page-heading h1, .section-title h2 { color: #0a4c78; }
.page-heading p, .section-title span { color: #5b819c; }
.heading-dot { color: #f0a335; }
.heading-stat strong { color: #0b6091; }
.heading-stat strong span, .heading-stat small { color: #668ca2; }
.filter-bar, .leaderboard-panel, .rarity-summary {
  background: #fffffff0;
  border: 2px solid #bfdfef;
  box-shadow: 0 5px 0 #c7e6f3;
}
.filter-bar input, .filter-bar select {
  background: #f6fcff;
  border-color: #bfddec;
  color: #1b547a;
}
.filter-bar input::placeholder, .listing-info { color: #6489a0; }
.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) repeat(4, minmax(115px, 1fr));
  align-items: center;
}
.filter-bar:has(.favorite-filter) {
  grid-template-columns: minmax(175px, 1.5fr) repeat(5, minmax(105px, 1fr));
}
.filter-bar .search-wrap { min-width: 0; }
.filter-bar input, .filter-bar select { width: 100%; min-width: 0; max-width: none; }
.filter-bar .favorite-filter { height: 42px; padding-inline: 8px; white-space: nowrap; }
.favorite-filter { color: #22617f; background: #f2faff; border-color: #bad8e9; }
.favorite-filter.selected { color: #a96100; background: #fff6de; }
.card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.card-motion-zone {
  position: relative;
  min-width: 0;
  padding: 10px;
  margin: -10px;
}
.card-motion-zone:hover { z-index: 2; }
.game-card {
  --card-surface: #fffdf7;
  --glare-x: 50%;
  --glare-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  --lift: 0px;
  --card-scale: 1;
  --foil-opacity: 0;
  --foil-idle-opacity: 0;
  --beam-opacity: 0;
  --rim-opacity: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 5 / 7;
  isolation: isolate;
  background: var(--card-surface);
  border: 3px solid #fff;
  border-radius: 16px;
  box-shadow: 0 4px 0 #9fcad9, 0 10px 22px #14649425;
  outline: 1px solid #90c7df;
  transform: perspective(650px) translate3d(var(--shift-x), calc(var(--shift-y) + var(--lift)), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--card-scale));
  transform-style: preserve-3d;
  transition: transform .16s ease-out, box-shadow .2s ease;
}
.game-card:is(:hover, .is-pointer-active, :focus-visible) {
  transform: perspective(650px) translate3d(var(--shift-x), calc(var(--shift-y) + var(--lift)), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--card-scale));
}
.game-card:is(:hover, .is-pointer-active) {
  --lift: -10px;
  --card-scale: 1.04;
  border-color: #fff;
  box-shadow: 0 9px 0 #8dbfd6, 0 18px 38px #14649450, 0 0 24px var(--card-light);
}
.game-card:focus-visible { --lift: -6px; --card-scale: 1.02; }
.game-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid #fff;
  box-shadow: inset 0 0 18px var(--card-light), 0 0 13px var(--card-light);
  opacity: 0;
  transition: opacity .22s ease;
}
.game-card:is(:hover, .is-pointer-active, :focus-visible)::after { opacity: var(--rim-opacity); }
.game-card.common { --card-accent: #589cba; --card-light: #d4effa; }
.game-card.uncommon { --card-accent: #40a576; --card-light: #d9f7d8; }
.game-card:is(.common, .uncommon):is(:hover, .is-pointer-active) {
  --lift: -6px;
  --card-scale: 1.025;
  box-shadow: 0 5px 0 #9fcad9, 0 12px 25px #1464942f;
}
.game-card.rare { --card-accent: #328acb; --card-light: #d4edff; --foil-opacity: .58; --beam-opacity: .28; --rim-opacity: .4; }
.game-card.super { --card-accent: #8e65c2; --card-light: #eee2ff; --foil-opacity: .7; --beam-opacity: .42; --rim-opacity: .6; }
.game-card.ultra { --card-accent: #df8c39; --card-light: #ffebcd; --foil-opacity: .82; --foil-idle-opacity: .08; --beam-opacity: .52; --rim-opacity: .75; }
.game-card.legendary { --card-accent: #d39a24; --card-light: #fff0b4; --foil-opacity: .92; --foil-idle-opacity: .13; --beam-opacity: .64; --rim-opacity: 1; }
.card-topline {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  color: #fff;
  background: var(--card-accent);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}
.card-topline span:last-child { color: #fff3a7; letter-spacing: .03em; }
.card-image,
.game-card.common .card-image,
.game-card.uncommon .card-image,
.game-card.rare .card-image,
.game-card.super .card-image,
.game-card.ultra .card-image,
.game-card.legendary .card-image {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  flex: 1 1 0;
  background: radial-gradient(circle at 50% 34%, #fff 0%, var(--card-light) 58%, var(--card-accent) 140%);
  border-bottom: 0;
}
.card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-size: 185% 185%;
  background-position: var(--glare-x) var(--glare-y);
  mix-blend-mode: color;
  filter: saturate(1.8);
  opacity: var(--foil-idle-opacity);
  transition: opacity .25s ease;
}
.game-card.rare .card-image::before {
  background-image: linear-gradient(112deg, transparent 12%, #40cde180 29%, #7b8fff90 43%, #b8f5d580 55%, transparent 73%);
}
.game-card.super .card-image::before {
  background-image: linear-gradient(119deg, #5ddfe300 6%, #a45cf695 23%, #f096dba0 38%, #52d5e790 53%, #d9baff95 67%, #5ddfe300 86%);
}
.game-card.ultra .card-image::before {
  background-image: linear-gradient(108deg, #ff4f7c00 3%, #ff668c9e 17%, #f3d367a8 31%, #65d8b79c 45%, #5ba6eea8 60%, #bd76ec9c 75%, #ff4f7c00 94%);
}
.game-card.legendary .card-image::before {
  background-image:
    radial-gradient(circle, #fff7d3a3 1px, transparent 2px),
    linear-gradient(112deg, #ffdd6400 4%, #ffda69a8 20%, #f093d8b0 35%, #8be5e6a8 49%, #b5a1eda8 64%, #ffe17bb8 79%, #ffdd6400 96%);
  background-size: 19px 19px, 185% 185%;
  background-position: var(--glare-x) var(--glare-y), var(--glare-x) var(--glare-y);
}
.game-card:is(:hover, .is-pointer-active, :focus-visible) .card-image::before { opacity: var(--foil-opacity); }
.card-image:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(112deg, transparent 30%, #fff8 47%, #fff 50%, #fff6 53%, transparent 69%);
  background-size: 260% 100%;
  background-position: var(--glare-x) center;
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.game-card:is(:hover, .is-pointer-active, :focus-visible) .card-image::after { opacity: var(--beam-opacity); }
.card-image-fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 23%;
  pointer-events: none;
  background: linear-gradient(to bottom, #fffdf700, #fffdf70a 22%, #fffdf78c 72%, var(--card-surface));
}
.image-glow { background: #fff8b680; filter: blur(30px); }
.card-image img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.09);
  transform-origin: center top;
  filter: drop-shadow(0 8px 8px #185b8b4d);
  transition: transform .32s ease;
}
.game-card:is(:hover, .is-pointer-active) .card-image img { transform: scale(1.16); }
.game-card:is(.common, .uncommon):is(:hover, .is-pointer-active) .card-image img { transform: scale(1.09); }
.reveal-card .game-card:is(:hover, .is-pointer-active) {
  transform: perspective(650px) translate3d(var(--shift-x), calc(var(--shift-y) + var(--lift)), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--card-scale));
}
.card-initials { color: #0a5b8f66; }
.card-meta-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 20px;
  margin-bottom: 6px;
}
.rarity-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  background: #fffdf3;
  color: var(--card-accent);
  border: 1px solid var(--card-accent);
  border-radius: 8px;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}
.card-favorite {
  z-index: 5;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: #fffdf3b8;
  border: 1px solid #fffdf3a8;
  box-shadow: 0 2px 6px #0c40652b;
  transition: background .2s ease, transform .2s ease;
}
.card-favorite:hover { background: #fffdf3; transform: scale(1.08); }
.card-favorite svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #9b7339;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.card-favorite.is-favorite svg { fill: #f2bf57; stroke: #98641b; }
.owned-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  margin-left: auto;
  background: #eef8fe;
  color: #315f78;
  border: 1px solid #b1d0da;
  white-space: nowrap;
}
.card-body {
  display: flex;
  flex: 0 0 114px;
  flex-direction: column;
  min-height: 0;
  padding: 9px 10px 8px;
  background: var(--card-surface);
  color: #143d62;
}
.card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 32px;
  max-height: 32px;
  margin: 0 0 2px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  line-height: 1.12;
  color: #0b496f;
}
.card-body p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  color: #66869a;
  font-size: 10px;
  line-height: 1.3;
}
.card-stats { margin-top: auto; padding-top: 4px; font-size: 11px; border-color: #d2e6ed; color: #295a77; }
.card-stats span:first-child i { color: #df6f46; }
.card-stats span:last-child i { color: #278ecc; }
.empty-state { background: #ffffffcf; border-color: #b6d9ee; color: #164c72; }
.empty-state p { color: #5f8296; }

.leaderboard-head { background: #d9f1fc; color: #45728e; }
.leaderboard-row { border-color: #d6eaf3; color: #366582; }
.leaderboard-row.me { background: #e3f9e9; }
.leaderboard-row strong { color: #135379; }
.profile-banner { background: linear-gradient(90deg, #087db9c9, #0f94c78c), url('/images/grand-line-ocean.png') center 55% / cover; }
.profile-identity p { color: #eef9ff; }
.profile-stats > div { background: #fff; border-color: #bfdfef; box-shadow: 0 4px 0 #c7e6f3; }
.profile-stats strong { color: #0b7ab0; }
.profile-stats span { color: #6289a1; }
.rarity-summary h2 { color: #0b527e; }
.rarity-line { color: #456e89; }
.rarity-line strong { color: #0a5985; }
.rarity-track { background: #d9ebf3; }
.rarity-track i { background: linear-gradient(90deg, #27bce3, #ffc46a); }

.modal-backdrop { background: #0b3d64aa; }
.detail-dialog {
  width: min(830px, 100%);
  grid-template-columns: 46% 54%;
  background: #fffdf7;
  border-color: #bee0ee;
}
.modal-close { background: #fff; color: #126488; border-color: #a6cadb; }
.detail-card {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 28px;
  background: radial-gradient(circle at 50% 35%, #fffdf4, #c6eeff 68%, #80cceb);
}
.detail-card .game-card {
  width: min(310px, 100%);
  cursor: default;
  margin: auto;
}
.detail-card .card-body,
.reveal-card .card-body { flex-basis: 132px; padding: 11px; }
.detail-card .card-motion-zone {
  width: calc(100% + 36px);
  padding: 18px;
  margin: -18px;
}
.detail-card .game-card .card-image { height: auto; }
.detail-card .card-body,
.reveal-card .card-body { justify-content: space-between; }
.detail-card .card-stats,
.reveal-card .card-stats { margin-top: 0; }
.detail-card .card-body h3 { min-height: 38px; max-height: 38px; font-size: 19px; }
.detail-info { align-self: center; }
.reveal-card .game-card { width: 285px; cursor: pointer; }
.reveal-card .card-motion-zone { padding: 18px; margin: -18px; }
.reveal-card .game-card .card-image { height: auto; }
.reveal-card .card-body h3 { min-height: 36px; max-height: 36px; font-size: 17px; }
.reveal-hint {
  margin: 10px 0 0;
  color: #e8f8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
@keyframes card-arrive {
  from { opacity: 0; transform: perspective(850px) rotateY(-9deg) translateY(18px) scale(.94); }
  to { opacity: 1; transform: perspective(850px) rotateY(0) translateY(0) scale(1); }
}
.reveal-card .game-card, .detail-card .game-card { animation: card-arrive .42s ease-out; }
.detail-art,
.detail-art.rare,
.detail-art.super,
.detail-art.ultra,
.detail-art.legendary { background: linear-gradient(150deg, #d9f4ff, #71c9ed); }
.detail-star { color: #ffffff75; }
.detail-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  filter: none;
}
.detail-info { color: #164968; }
.detail-epithet, .detail-meta { color: #60839a; }
.detail-faction { border-color: #d0e4ef; }
.detail-faction span, .detail-stats span { color: #6589a1; }
.wiki-link { color: #087caf; }
.reveal-backdrop { align-items: safe center; overflow-y: auto; background: #063d72e8; }
.reveal-kicker { color: #e2f7ff; }
.reveal-kicker span { color: #ffdc83; }
.reveal-progress span { background: #6eabc7; }
.reveal-progress span.current { background: #ffcf63; box-shadow: 0 0 10px #fff1ab; }
.reveal-progress span.done { background: #c5edfa; }
.toast { background: #0c6293; border-color: #7cd1f1; color: #fff; }

@media (hover: none), (pointer: coarse) {
  .game-card:hover { --lift: 0px; --card-scale: 1; box-shadow: 0 4px 0 #9fcad9, 0 10px 22px #14649425; }
  .game-card:hover::after, .game-card:hover .card-image::before, .game-card:hover .card-image::after { opacity: 0; }
  .game-card:hover .card-image img { transform: scale(1.09); }
}

@media (prefers-reduced-motion: reduce) {
  .game-card, .card-image img, .game-card::after, .card-image::before, .card-image::after { transition: none; }
  .game-card:hover { --lift: 0px; --card-scale: 1; }
  .reveal-card .game-card, .detail-card .game-card { animation: none; }
}

@media (max-width: 820px) {
  .filter-bar, .filter-bar:has(.favorite-filter) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar .search-wrap { grid-column: 1 / -1; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-art { min-height: 300px; background-position: center 58%; }
  .auth-art-content h1 { font-size: 58px; }
  .sidebar { height: auto; }
  .pack-page { padding: 28px 20px; }
  .pack-page-intro { text-align: center; }
}

@media (max-width: 560px) {
  .detail-dialog { grid-template-columns: minmax(0, 1fr); }
  .detail-card { padding: 22px; }
  .detail-card .game-card { width: min(235px, 100%); }
  .auth-art { min-height: 250px; }
  .auth-panel { padding: 34px 25px; }
  .card-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid .card-motion-zone { padding: 5px; margin: -5px; }
  .card-topline { font-size: 7px; padding: 5px 7px; }
  .card-image,
  .game-card.common .card-image,
  .game-card.uncommon .card-image,
  .game-card.rare .card-image,
  .game-card.super .card-image,
  .game-card.ultra .card-image,
  .game-card.legendary .card-image { height: auto; }
  .card-grid .card-body { flex-basis: 78px; padding: 6px; }
  .card-grid .card-body h3 { min-height: 29px; max-height: 29px; margin: 3px 0 0; font-size: 13px; }
  .card-grid .card-faction,
  .card-grid .card-body p { display: none; }
  .card-grid .card-stats { padding-top: 3px; font-size: 9px; }
  .card-grid .card-meta-row { gap: 3px; min-height: 17px; margin-bottom: 2px; }
  .card-grid .rarity-badge,
  .card-grid .owned-badge { min-height: 17px; padding: 2px 3px; font-size: 7px; }
  .card-favorite { top: 7px; right: 7px; }
  .reveal-card .game-card { width: 250px; }
  .pack-page { background-position: center; }
}
