@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #080808;
  --bg-2: #111111;
  --surface: #171717;
  --gold: #FFC400;
  --gold-2: #FF8A00;
  --ink: #FFFFFF;
  --muted: #A0A0A0;
  --line: #292929;
  --danger: #ff6b4a;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scrollbar-color: #292929 #080808; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #292929; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #FFC400; }
body {
  font-family: var(--sans);
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(255, 196, 0, 0.08), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(255, 138, 0, 0.05), transparent 50%),
    var(--bg);
  color: var(--ink);
  letter-spacing: -0.011em;
  line-height: 1.5;
  font-weight: 400;
}
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-ticker {
  overflow: hidden;
  background: linear-gradient(90deg, #FFC400 0%, #FF8A00 100%);
  color: #111111;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.site-ticker-track {
  display: inline-flex;
  gap: 2.4rem;
  padding: 0.55rem 0;
  animation: ticker-move 28s linear infinite;
  will-change: transform;
}
.site-ticker-track span {
  flex: 0 0 auto;
}
@keyframes ticker-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes purchase-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes purchase-out {
  to { opacity: 0; transform: translateY(-6px); }
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.btn-share,
.btn-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-share {
  border: 0;
  background: transparent;
  color: rgba(160, 160, 160, 0.42);
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 34px;
  padding: 0.3rem 0.45rem;
}
.btn-share svg {
  width: 15px;
  height: 15px;
}
.btn-share:hover {
  color: rgba(255, 255, 255, 0.72);
}
.nav-toggle svg {
  width: 16px;
  height: 16px;
}
.nav-toggle .nav-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-close { display: block; }
.btn-claim {
  border: 0;
  background: linear-gradient(135deg, #FFC400 0%, #FF8A00 100%);
  color: #111111;
}
.btn-claim:hover {
  color: #080808;
  filter: brightness(1.06);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: live-pulse 1.6s ease-out infinite;
  vertical-align: middle;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.header-stats {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  flex: 1;
  justify-content: flex-end;
}
.header-stats div {
  min-width: 4.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-stats dt {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  order: 2;
}
.header-stats dd {
  margin: 0 0 0.08rem;
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  order: 1;
  width: 100%;
  justify-content: center;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
#hdr-filled,
#hdr-spots,
#hdr-ads {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
  white-space: nowrap;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
#hdr-filled.is-ticking,
#hdr-spots.is-ticking,
#hdr-ads.is-ticking {
  animation: none;
}
.roll, .roll-static {
  display: inline-block;
  height: 1em;
  min-height: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.roll-digit {
  width: 1ch;
  flex-basis: 1ch;
  text-align: center;
}
.roll { overflow: hidden; }
.roll-col {
  display: block;
  transition: transform 1.8s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.roll-col span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1em;
  line-height: 1;
}
.brand { display: flex; gap: 0.7rem; align-items: center; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { color: var(--gold); font-size: 1.4rem; }
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.brand-logo-small { max-width: 140px; }
.brand-logo-medium { max-width: 180px; }
.brand-logo-large { max-width: 240px; }
.brand-logo-xl { max-width: 300px; }
.brand strong { display: block; font-family: var(--display); letter-spacing: -0.03em; font-weight: 700; }
.brand em { display: block; font-style: normal; color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.nav { display: none; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; }
.nav.is-open {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 0.55rem 0 0.15rem;
}
.site-header { flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; gap: 0.38rem; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.92rem; letter-spacing: -0.01em; }
.nav a:hover { color: var(--ink); }
.nav-ico { width: 15px; height: 15px; flex: none; }
.nav-admin { color: var(--gold) !important; }
.nav-admin:hover { color: #ffe08a !important; }
.nav .nav-signout,
.nav .nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  font-size: 0.86rem;
}
.nav .nav-signin {
  background: linear-gradient(135deg, #FFC400 0%, #FF8A00 100%);
  border-color: transparent;
  color: #111111;
}
.nav .nav-signin:hover { color: #080808; filter: brightness(1.06); }
.inline { display: inline-flex; align-items: center; }
.purchase-toasts {
  position: fixed;
  left: 0.95rem;
  top: calc(var(--chrome-h, 72px) + 10px);
  z-index: 14;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: min(236px, calc(100vw - 8rem));
  pointer-events: none;
}
.purchase-toast {
  pointer-events: auto;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  background: rgba(8, 8, 8, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.045);
  color: rgba(160, 160, 160, 0.58);
  font-size: 0.72rem;
  line-height: 1.35;
  backdrop-filter: blur(10px);
  animation: purchase-in 0.55s ease forwards;
}
.purchase-toast.is-leaving {
  animation: purchase-out 0.45s ease forwards;
}
.purchase-toast-kicker {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(160, 160, 160, 0.38);
  font-weight: 700;
}
.purchase-toast strong {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 650;
  font-size: 0.8rem;
  margin: 0.06rem 0 0.02rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.purchase-toast-meta {
  display: block;
  color: rgba(160, 160, 160, 0.42);
}
.purchase-toast a {
  display: block;
  margin-top: 0.1rem;
  color: rgba(255, 196, 0, 0.38);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.purchase-toast a:hover {
  color: rgba(255, 196, 0, 0.62);
}
main { padding: 1.5rem; max-width: 1200px; margin: 0 auto; }
body:not(.has-full-pyramid) main {
  position: relative;
  z-index: 1;
  padding-top: calc(1.5rem + var(--chrome-h, 72px) + 0.75rem - 50px);
}
.hero { text-align: center; padding: 1.4rem 0 0.6rem; }
.hero h1, h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
h2 { font-size: 1.35rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.08; margin: 0.3rem 0 1rem; letter-spacing: -0.05em; }
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.lede { max-width: 42rem; margin: 0 auto 1.5rem; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }
.btn {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.02em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold {
  background: linear-gradient(135deg, #FFC400 0%, #FF8A00 100%);
  color: #111111;
  border-color: transparent;
}
.btn-gold:hover {
  color: #080808;
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); color: var(--gold); }
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.8rem; margin: 2rem 0; }
.stat-row div {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.9rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-row dt { color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.stat-row dd { margin: 0.2rem 0 0; font-family: var(--display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.stat-row.compact { margin: 0; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}
.account-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.claim-status { text-align: center; }
.claim-status .pill { display: inline-block; margin: 0; }
.claim-timer { margin-top: 0.28rem; font-size: 0.78rem; text-align: center; }
.claims-table .claim-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; width: auto; }
.claims-table .claim-actions .claim-manage { width: auto; padding-left: 0.55rem; padding-right: 0.55rem; }
.claims-table .claim-actions .js-continue-pay { width: 9.4rem; }
.pill-status { margin-left: 0; font-weight: 700; color: #111111; }
.pill-pending { background: #ffc400; border-color: #ffc400; }
.pill-live, .pill-paid { background: #3dbe6a; border-color: #3dbe6a; }
.pill-review { background: #7eb6ff; border-color: #7eb6ff; }
.pill-expired, .pill-cancelled { color: #f3f3f3; background: #111111; border-color: #3a3a3a; }
.pill-rejected { background: #f07171; border-color: #f07171; }
.pill-refunded { background: #c9a6ff; border-color: #c9a6ff; }
.claim-actions form { margin: 0; }
.claim-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.32rem 0.4rem;
  font-size: 0.72rem;
  line-height: 1.2;
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
}
.account-head h1 { margin: 0; }
.account-head .muted { margin: 0.2rem 0 0; }
.account-kicker {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.account-head .btn {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.account-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.account-stats span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.claims-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.claims-head h1 { margin: 0; }
.claim-tools { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 0.85rem; }
.claim-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.claim-filters button {
  border: 1px solid var(--line);
  background: #141414;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.claim-filters button.is-on {
  border-color: #ffc400;
  color: #111111;
  background: #ffc400;
}
.claim-search {
  width: min(22rem, 100%);
  border: 1px solid var(--line);
  background: #101010;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
}
.claims-board { overflow-x: auto; }
.claims-cols,
.claim-row {
  display: grid;
  grid-template-columns: 4.8rem minmax(6.5rem, 1.35fr) minmax(8.5rem, 1.2fr) 7.2rem 6.6rem 5.8rem 7.4rem minmax(8.2rem, auto);
  gap: 0.65rem 0.85rem;
  align-items: center;
}
.claims-cols {
  padding: 0 0.7rem 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.claim-row {
  margin-bottom: 0.4rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #141414;
}
.claim-row[hidden] { display: none !important; }
.claim-row strong { display: block; overflow-wrap: anywhere; }
.c-sub { display: none; }
.c-when-label { display: none; }
.claims-board .claim-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  width: auto;
  text-align: right;
}
.claims-board .claim-actions .btn {
  width: auto;
  min-height: 2.1rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
}
.claims-board .claim-manage {
  border-color: rgba(255, 196, 0, 0.45);
  color: var(--gold);
}
.claim-empty, .claim-cta, .claims-none {
  margin: 0.4rem 0 0;
}
.claim-cta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.claim-cta h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rank-logo-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0.4rem 0 0.2rem;
}
.rank-logo {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg);
  flex-shrink: 0;
}
.rank-logo-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.6rem;
}
.rank-logo-fields {
  min-width: 0;
  flex: 1;
}
.rank-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.rank-file-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.rank-file-row .btn {
  flex-shrink: 0;
  padding: 0.45rem 0.8rem;
}
.rank-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-panel .error { margin: 0.9rem 0 0; }
.rank-panel .rank-saves-note { margin: 0.9rem 0 0; color: var(--muted); }
.rank-panel .ad-limit-note { margin-bottom: 1.75rem; }
.ad-remove { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 0.85rem; }
.ad-remove summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.ad-remove summary::-webkit-details-marker { display: none; }
.ad-remove summary svg { width: 1.1rem; height: 1.1rem; flex: none; transition: transform 0.15s ease; }
.ad-remove[open] summary svg { transform: rotate(180deg); }
.ad-remove form { margin-top: 0.85rem; }
.mod-card { margin: 0 0 0.8rem; }
.mod-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mod-head h3 { margin: 0; }
.mod-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.mod-details { margin-top: 0.75rem; }
.mod-details summary { cursor: pointer; color: var(--gold); }
.rank-panel .rank-saves-ok { color: #3dbe6a; font-weight: 700; }
.rank-panel {
  overflow: hidden;
}
.rank-panel .muted,
.rank-panel h1 {
  overflow-wrap: anywhere;
}
.rank-panel select {
  max-width: 100%;
  width: 100%;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.muted { color: var(--muted); }
.level-table.wrap { max-width: 100%; overflow-x: auto; }
.level-table.wrap table { width: 100%; table-layout: fixed; }
.level-table.wrap th,
.level-table.wrap td,
.admin-main h3,
.claim-list strong,
.claim-list a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { width: 100%; table-layout: fixed; }
.table-scroll th:nth-child(2),
.table-scroll td:nth-child(2) {
  width: 22%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.table-scroll table.claims-table {
  table-layout: auto;
  width: max-content;
  min-width: 46rem;
}
.table-scroll table.claims-table th,
.table-scroll table.claims-table td {
  width: auto;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  letter-spacing: 0;
}
.table-scroll table.claims-table th:nth-child(1),
.table-scroll table.claims-table td:nth-child(1),
.table-scroll table.claims-table th:nth-child(2),
.table-scroll table.claims-table td:nth-child(2) {
  padding-right: 0.7rem;
}
.table-scroll table.claims-table th:nth-child(3),
.table-scroll table.claims-table td:nth-child(3) {
  padding-left: 0.2rem;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.swatch { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 2px; margin-right: 0.4rem; vertical-align: middle; }
.pill { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.45rem; border-radius: 8px; border: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
.claim-status .pill.pill-status { color: #000000; }
.claim-status .pill.pill-expired,
.claim-status .pill.pill-cancelled { color: #f3f3f3; }
.pill-open { margin-left: 0; color: var(--gold); border-color: var(--gold); }
.pill-locked { margin-left: 0; }
.form label.choice {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.auth-checks { margin: 0.2rem 0 0.8rem; }
.auth-checks label.choice { align-items: flex-start; margin: 0.4rem 0; }
.auth-checks input { margin-top: 0.22rem; flex: 0 0 auto; }
.site-links a, .claim-list a { display: block; word-break: break-all; }
.site-footer-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1rem; margin: 0.35rem 0 0; }
.cookie-settings-link {
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.cookie-banner {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 80;
  display: flex;
  justify-content: flex-start;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-card {
  width: min(34rem, 100%);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.96);
  box-shadow: var(--shadow);
}
.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.cookie-banner-title svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--gold); }
.cookie-banner-card p { margin: 0 0 0.6rem; color: var(--muted); }
.cookie-list { margin: 0 0 0.7rem; padding-left: 1.1rem; color: var(--muted); }
.cookie-list li { margin: 0.25rem 0; }
.cookie-policy-link { margin: 0.15rem 0 1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.page-editor { max-width: none; width: 100%; }
.page-sheet { max-width: 68rem; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 0.7rem 0;
}
.faq-item div {
  color: var(--muted);
  padding: 0 0 0.85rem;
  line-height: 1.6;
}
.about-page h1 { margin-bottom: 1.2rem; }
.about-page h2 { margin: 1.6rem 0 0.7rem; font-size: 1.25rem; }
.about-page p { color: var(--muted); line-height: 1.65; margin: 0 0 0.75rem; }
.about-page strong { color: var(--ink); }
.how-page h1 { max-width: 18em; }
.how-page .how-lead { font-size: 1.15rem; color: var(--ink); }
.how-page ul { margin: 0.2rem 0 0.9rem; padding-left: 1.15rem; color: var(--muted); line-height: 1.65; }
.how-page li { margin: 0.15rem 0; }
.how-page .how-action { margin: 0.9rem 0 0.3rem; }
.how-spots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.9rem 0 0.7rem;
}
.how-spots div {
  padding: 0.85rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #141414;
  text-align: center;
}
.how-spots strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.how-spots span { color: var(--muted); font-size: 0.82rem; }
.contributors-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.top-claims-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 0.8rem;
}
.top-claims-head h2 { margin: 0 0 0.35rem; font-size: 1.85rem; }
.top-claims-head p { margin: 0; max-width: 36rem; }
.board-switch { display: flex; gap: 0.45rem; flex: none; }
.board-switch .btn { white-space: nowrap; }
.top-claims h2 { margin: 0 0 0.8rem; }
.top-claims ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.top-claims li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #141414;
}
.top-claims li.is-podium { border-color: rgba(255, 196, 0, 0.45); background: rgba(255, 196, 0, 0.06); }
.top-rank {
  min-width: 3.1rem;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-align: center;
}
.top-claims li.is-podium .top-rank { font-size: 1.7rem; }
.top-claims strong { display: block; overflow-wrap: anywhere; font-size: 1.2rem; }
.top-claims a, .top-claims em {
  display: block;
  margin-top: 0.1rem;
  color: var(--gold);
  font-style: normal;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.top-claims b { color: var(--muted); font-weight: 650; text-align: right; }
.contributors-head h1 { margin-bottom: 0.35rem; }
.contributors-head p { margin: 0; max-width: 36rem; }
.contrib-stats { display: flex; gap: 0.7rem; flex: none; }
.contrib-stats { align-items: stretch; }
.contrib-stats article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-width: 9.2rem;
  min-height: 8.6rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101010;
  text-align: center;
}
.contrib-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contrib-stats strong {
  display: block;
  margin: 0.45rem 0 0.15rem;
  font-family: var(--display);
  font-size: 3.15rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.contrib-stats article:not(.contrib-fill) {
  position: relative;
  justify-content: flex-start;
}
.contrib-stats article:not(.contrib-fill) strong {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.contrib-stats em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
}
.fill-chart {
  --pct: 0;
  width: 5.6rem;
  height: 5.6rem;
  margin: 0.55rem auto 0.15rem;
  border-radius: 50%;
  background: conic-gradient(#ffc400 calc(var(--pct) * 1%), #2a2a2a 0);
  display: grid;
  place-items: center;
}
.fill-chart::before {
  content: "";
  grid-area: 1 / 1;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  background: #101010;
}
.fill-chart strong {
  grid-area: 1 / 1;
  margin: 0;
  font-size: 0.95rem;
  z-index: 1;
}
textarea { width: 100%; }
.claim-list { list-style: none; padding: 0; }
.claim-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.claim-list strong { font-weight: 650; }
.form label, .drawer label { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.7rem 0; font-weight: 600; }
.admin-filters {
  display: grid;
  grid-template-columns: minmax(10rem, 1.4fr) 8.5rem 10rem auto;
  gap: 0.65rem;
  align-items: end;
  margin-bottom: 0.8rem;
}
.admin-filters label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.78rem; color: var(--muted); min-width: 0; }
.admin-filters input,
.admin-filters select { width: 100%; }
.admin-filters-actions { display: flex; gap: 0.4rem; }
.edit-back { display: flex; gap: 0.5rem; align-items: center; margin: 0 0 0.8rem; }
.edit-back .btn { display: inline-flex; align-items: center; gap: 0.35rem; }
.edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.edit-head h1 { margin: 0 0 0.35rem; }
.edit-head p { margin: 0; }
.edit-head form { margin: 0; flex: none; }
.btn-danger {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}
.btn-danger:hover { background: #a61f1f; border-color: #a61f1f; color: #fff; }
.admin-ad-preview {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #080808;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.45rem;
}
.actions-menu { position: relative; display: inline-block; }
.actions-menu summary { list-style: none; cursor: pointer; }
.actions-menu summary::-webkit-details-marker { display: none; }
.actions-menu-list { display: none; }
.actions-menu[open] .actions-menu-list {
  display: flex;
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  z-index: 30;
  min-width: 12.5rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #141414;
  flex-direction: column;
  gap: 0.35rem;
}
.actions-menu-list form { margin: 0; }
.claim-actions { text-align: right; }
.claim-actions .actions-menu { display: inline-block; }
.claim-actions .actions-menu-list { left: auto; right: 0; }
.claim-actions .actions-menu-list select { width: 100%; }
.level-table.wrap:has(.actions-menu[open]) { overflow: visible; }
.actions-menu-list .btn {
  width: 100%;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
}
.level-table { overflow: visible; }
.form-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem 1rem 1rem;
  margin: 1.1rem 0;
  background: var(--bg-2);
}
.form-section legend {
  font-family: var(--display);
  padding: 0 0.4rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.2rem 1.1rem;
}
input, select, textarea {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111111;
  color: var(--ink);
  outline: none;
  max-width: 100%;
  box-sizing: border-box;
}
input[type="file"] {
  width: 100%;
  padding: 0.35rem;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.12);
}
.narrow { max-width: 32rem; margin-left: auto; margin-right: auto; }
.admin-main .narrow { margin-left: 0; margin-right: 0; }
.auth-card { margin-top: 0; max-width: 26rem; padding: 2rem 1.6rem 1.4rem; }
.auth-head { text-align: center; margin-bottom: 1.4rem; }
.auth-head h1 { margin: 0 0 0.45rem; }
.auth-head p { margin: 0 auto; max-width: 18rem; color: var(--muted); line-height: 1.45; }
.auth-form label { font-size: 0.92rem; }
.auth-form label small { font-weight: 500; color: var(--muted); }
.field-icon { position: relative; display: block; }
.field-icon > svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.field-icon input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 2.6rem 0.75rem 2.5rem;
  border-radius: 12px;
  background: #171717;
}
.field-eye {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.field-eye svg { width: 1.15rem; height: 1.15rem; }
.auth-remember { margin: 0.2rem 0 1rem; font-weight: 500; }
.auth-submit {
  width: 100%;
  min-height: 3.15rem;
  border-radius: 12px;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.auth-submit svg { width: 1.15rem; height: 1.15rem; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.15rem 0;
  color: var(--muted);
  text-align: center;
}
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-or span { text-transform: lowercase; }
.auth-card .google-btn {
  width: 100%;
  min-height: 3.05rem;
  border-radius: 12px;
  background: #111;
  border: 1px solid var(--line);
  color: var(--ink);
  gap: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.auth-google .choice { margin: 0.75rem 0 0; }
.auth-google input[type="checkbox"],
.auth-checks input[type="checkbox"],
.auth-remember input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  flex: 0 0 auto;
  accent-color: #FFC400;
}
.auth-terms-note { margin: 0.45rem 0 0; }
.auth-card .google-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.auth-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin: 1.15rem 0 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.auth-links > span { width: 1px; height: 0.9rem; background: var(--line); }
.auth-links-single { gap: 0.35rem; }
.flash { position: relative; z-index: 3; max-width: 1200px; margin: 0.8rem auto; padding: 0.7rem 1rem; border-radius: 10px; border: 1px solid var(--line); }
.flash-success { background: #102016; border-color: #1f3d28; }
.flash-error { background: #24140f; border-color: #4a241c; }
.error { color: var(--danger); white-space: pre-line; }
.site-footer { text-align: center; color: var(--muted); padding: 2.6rem 1rem 3.2rem; position: relative; z-index: 1; }
.site-footer p { margin: 0.35rem auto; max-width: 40rem; line-height: 1.55; }
.steps { line-height: 1.55; }
.pyramid-page { max-width: none; }
.pyramid-featured { margin: 0.4rem 0 2rem; }
.pyramid-hint { margin: 0.7rem 0 0.2rem; }
.pyramid-stats { margin: 0.8rem 0 0; }
.pyramid-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #080808;
  height: min(78dvh, 78vh, 860px);
  min-height: min(420px, 100dvh);
  box-shadow: var(--shadow);
}
.pyramid-featured .pyramid-stage {
  height: min(86dvh, 86vh, 980px);
  min-height: min(520px, 100dvh);
}
.pyramid-page h1 { margin: 0 0 0.3rem; }
.pyramid-toolbar { margin-bottom: 0.8rem; }
.pyramid-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  touch-action: none;
}
#pyramid-canvas,
#pyramid-canvas:active {
  width: 100%;
  height: 100%;
  display: block;
  cursor: url("../img/cursor-target.svg?v=2") 16 16, crosshair;
}
.zoom-controls {
  position: relative;
  order: -1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.35rem;
  z-index: 3;
  flex-shrink: 0;
  padding: 8px;
  background: #111111;
  border-bottom: 1px solid var(--line);
}
#claim-mode { display: none; }
#claim-mode.is-active {
  background: linear-gradient(135deg, #FFC400 0%, #FF8A00 100%);
  color: #111111;
  border-color: transparent;
}
.zoom-controls button {
  min-width: 40px; height: 40px; padding: 0 0.7rem; border-radius: 10px;
  border: 1px solid var(--line); background: #171717; color: var(--ink); font-size: 1.05rem; cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-family: var(--sans);
}
.zoom-controls button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.tooltip {
  position: fixed;
  pointer-events: none;
  background: rgba(17, 17, 17, 0.96);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-size: 0.85rem;
  max-width: min(320px, calc(100vw - 24px));
  z-index: 400;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}
.tooltip strong,
.tooltip .claim-url,
.tooltip .claim-desc {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tooltip .tip-hint {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}
.tooltip strong {
  display: block;
}
.tooltip .claim-url {
  display: block;
  color: #FFC400;
  font-weight: 700;
  word-break: break-all;
  margin: 0.28rem 0 0;
}
.tooltip .claim-desc {
  display: block;
  color: var(--muted);
  margin-top: 0.28rem;
}
.ad-sheet[hidden] { display: none !important; }
.ad-sheet {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.85rem;
}
.ad-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}
.ad-sheet-panel {
  position: relative;
  width: min(100%, 32rem);
  max-height: calc(100dvh - 2.5rem);
  margin: 0;
  padding: 1.15rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111111;
  box-shadow: var(--shadow);
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ad-sheet-panel h2,
.ad-sheet-desc,
.ad-sheet-domain {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ad-sheet-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.ad-sheet-image {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0.35rem auto 0.85rem;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #080808;
}
.ad-sheet-panel h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.ad-sheet-desc {
  margin: 0 auto 0.55rem;
  max-width: 26rem;
  color: var(--muted);
  line-height: 1.45;
}
.ad-sheet-domain {
  margin: 0 0 1rem;
  color: #FFC400;
  font-weight: 700;
  word-break: break-all;
}
.ad-sheet-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  letter-spacing: clamp(0.02em, 0.5vw, 0.08em);
  text-transform: uppercase;
  font-size: clamp(0.62rem, 3.1vw, 0.82rem);
  white-space: nowrap;
}
.ad-sheet-visit[hidden] { display: none !important; }
.drawer {
  position: fixed;
  right: 0;
  top: var(--chrome-h, 0px);
  height: calc(100% - var(--chrome-h, 0px));
  width: min(100%, 380px);
  background: #111111;
  border-left: 1px solid var(--line);
  padding: 0;
  z-index: 90;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.drawer[hidden] { display: none !important; }
.drawer-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.2rem 1.2rem 1.2rem;
}
.drawer-close { display: none; }
@media (min-width: 861px) {
  .drawer { overflow: visible; }
  .drawer-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #111111;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    user-select: none;
  }
}
.drawer h2 {
  margin: 0 0 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
}
.drawer #claim-summary {
  margin: 0 0 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.drawer .price { margin: 0.1rem 0 0.35rem; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.04em; color: var(--gold); }
.claim-fields { position: relative; }
.claim-fields-body.is-locked { filter: blur(5px); opacity: 0.45; pointer-events: none; user-select: none; }
.claim-lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem;
  text-align: center;
  background: rgba(8, 8, 8, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.claim-lock p { margin: 0 0 0.35rem; font-weight: 700; }
.claim-lock .btn, .claim-lock .google-btn { width: min(100%, 16rem); }
.drawer-actions { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.85rem 0 0; }
.pay-action { flex: 1; }
.pay-action .btn { width: 100%; }
.pay-method {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin: 0 0 0.55rem;
}
.pay-method label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.22);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
}
.pay-method input { accent-color: var(--gold); }
.pay-note { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.75rem; text-align: center; }
.drawer-total {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.total-kicker {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
#claim-breakdown { white-space: pre-line; margin: 0 0 0.55rem; }
.drawer-total .price { margin: 0.15rem 0 0; font-size: 2rem; }
.field-count { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.75rem; font-weight: 500; text-align: right; }
.ad-upload-label {
  margin: 0.8rem 0 0.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.ad-drop[hidden],
.ad-file[hidden],
.drawer-total[hidden],
.pay-action[hidden] { display: none !important; }
.ad-drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  margin: 0;
  padding: 0.9rem;
  border: 1px dashed rgba(255, 196, 0, 0.45);
  border-radius: 12px;
  background: #141414;
  text-align: center;
  cursor: pointer;
}
.ad-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ad-drop-copy strong, .ad-drop-copy span { display: block; }
.ad-drop-copy strong { color: var(--gold); }
.ad-drop-copy span { margin-top: 0.25rem; color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.ad-file {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.55rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #141414;
}
.ad-file img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: #000; }
.ad-file img[hidden] { display: none !important; }
.ad-file div { flex: 1; min-width: 0; }
.ad-file strong, .ad-file span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-file span { color: var(--muted); font-size: 0.78rem; }
#image-error { margin: 0.45rem 0 0; }
.auth-or { text-align: center; margin: 0.9rem 0; color: var(--muted); }
.google-btn { display: inline-flex; align-items: center; width: 100%; justify-content: center; }
.image-spec {
  margin: 0.8rem 0 0.6rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #171717;
}
.image-spec-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.image-spec strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--gold); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.image-spec span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.image-preview-frame {
  margin: 0.5rem 0 0.8rem;
  max-width: 100%;
  max-height: 160px;
  width: 100%;
  border: 1px dashed rgba(255, 196, 0, 0.35);
  background:
    repeating-linear-gradient(45deg, rgba(255, 196, 0, 0.05) 0 8px, transparent 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
}
.image-preview-frame img { width: 100%; height: 100%; object-fit: fill; display: block; }
.image-fit-ok { color: #7dcc8c !important; }
.image-fit-warn { color: var(--danger) !important; }
.admin-body { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; background: var(--bg); }
.admin-nav { background: #111111; border-right: 1px solid var(--line); padding: 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.admin-nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.admin-nav .nav-toggle { display: none; }
.admin-nav-links { display: flex; flex-direction: column; gap: 0.7rem; }
.admin-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.admin-nav .brand { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); margin-bottom: 0; min-width: 0; }
.admin-nav .admin-logo { height: 32px; width: auto; max-width: 120px; object-fit: contain; }
.admin-nav a:hover { color: var(--gold); }
.admin-main { padding: 1.5rem; }
.stats-page { max-width: 1180px; }
.stats-range { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.stats-range a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
}
.stats-range a.is-active { background: var(--gold); border-color: var(--gold); color: #111111; }
.stats-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin: 0 0 0.9rem; }
.stats-kpis div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}
.stats-kpis dt { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.stats-kpis dd { margin: 0.2rem 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.stats-kpis span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.78rem; }
.stats-card {
  background: #111111;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem 0.9rem;
  margin: 0 0 0.9rem;
}
.stats-card h2 { margin: 0 0 0.7rem; font-size: 1.05rem; }
.stats-chart, .stats-donut { width: 100%; height: auto; display: block; }
.stats-chart text, .stats-donut text { font-family: var(--sans); }
.stats-legend { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.35rem; color: var(--muted); font-size: 0.8rem; }
.stats-legend i { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; margin-right: 0.35rem; }
.stats-split { display: grid; grid-template-columns: minmax(240px, 0.7fr) 1.4fr; gap: 0.9rem; }
.stats-map-head { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.stats-map-head h2 { margin: 0; }
.stats-map-head .stats-range { margin: 0; }
.stats-map-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.6fr); gap: 1rem; align-items: start; margin-top: 0.8rem; }
.world-map { width: 100%; height: auto; display: block; border-radius: 12px; }
.stats-map-list ul { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; }
.stats-map-list li { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.stats-map-list strong { color: var(--gold); }
.stats-donut-wrap { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.stats-donut { width: min(220px, 100%); }
.stats-donut-legend { list-style: none; padding: 0; margin: 0; }
.stats-donut-legend li { display: flex; align-items: center; gap: 0.45rem; margin: 0.35rem 0; color: var(--muted); }
.stats-donut-legend i { width: 0.75rem; height: 0.75rem; border-radius: 2px; }
.stats-donut-legend .is-sold { background: #FFC400; }
.stats-donut-legend .is-free { background: #292929; border: 1px solid #3a3a3a; }
.stats-donut-legend strong { color: var(--ink); }
@media (max-width: 860px) {
  .stats-kpis, .stats-split, .stats-map-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats-kpis, .stats-split, .stats-map-layout { grid-template-columns: 1fr; }
}
.settings-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.settings-tabs a {
  padding: 0.55rem 0.9rem;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.settings-tabs a:hover { color: var(--ink); }
.settings-tabs a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.level-form { display: grid; grid-template-columns: 1.2fr 0.6fr 0.6fr 0.8fr 0.5fr auto; gap: 0.5rem; align-items: center; }
@media (max-width: 1100px) {
  .admin-body { grid-template-columns: 1fr; }
  .admin-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    flex-direction: column;
    gap: 0;
    padding: 0.45rem 0.7rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-nav .nav-toggle { display: inline-flex; }
  .admin-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0.45rem;
    padding: 0.2rem 0 0.35rem;
    border-top: 1px solid var(--line);
  }
  .admin-nav-links.is-open { display: flex; }
  .admin-nav-links a { padding: 0.75rem 0.2rem; }
}
@media (max-width: 860px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.45rem 0.7rem;
  }
  .brand {
    gap: 0.4rem;
    min-width: 0;
    flex: 0 1 auto;
  }
  .brand span { display: none; }
  .brand-logo {
    height: 22px !important;
    max-height: 22px !important;
    max-width: 88px !important;
  }
  .purchase-toasts {
    left: 0.4rem;
    top: calc(var(--chrome-h, 72px) + 6px);
    width: min(132px, calc(100vw - 6.4rem));
    gap: 0.22rem;
  }
  .purchase-toast {
    padding: 0.22rem 0.36rem;
    border-radius: 7px;
    font-size: 0.58rem;
    line-height: 1.25;
  }
  .purchase-toast-kicker {
    font-size: 0.46rem;
    letter-spacing: 0.08em;
  }
  .purchase-toast strong {
    font-size: 0.64rem;
    margin: 0.02rem 0 0;
  }
  .purchase-toast a {
    margin-top: 0.02rem;
    font-size: 0.56rem;
  }
  .purchase-toast:nth-child(n+2) { display: none; }
  .header-stats {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 0;
  }
  .btn-share {
    display: none;
  }
  .header-stats div { min-width: 0; text-align: center; align-items: center; }
  .header-stats dt { font-size: 0.52rem; letter-spacing: 0.03em; }
  .header-stats dd { font-size: 0.88rem; margin-bottom: 0; }
  .header-actions { gap: 0; }
  .nav-toggle {
    min-height: 34px;
    padding: 0.3rem 0.55rem;
    font-size: 0.78rem;
  }
  .live-dot { width: 7px; height: 7px; margin-right: 0.28rem; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0.2rem 0 0.35rem;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a, .nav button, .nav .btn {
    padding: 0.75rem 0.2rem;
    border-radius: 0;
  }
  .nav .nav-signout,
  .nav .nav-auth {
    justify-content: center;
    margin-top: 0.45rem;
    border-radius: 10px;
    padding: 0.65rem 1rem;
  }
  .hero { padding: 0.8rem 0 0.4rem; }
  .hero h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); margin-bottom: 0.6rem; }
  .lede { font-size: 1rem; margin-bottom: 0.6rem; }
  .pyramid-featured .pyramid-stage {
    height: min(72dvh, 72vh, 720px);
    min-height: min(380px, 100dvh);
  }
  .pyramid-shell { min-height: 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); margin: 0.8rem 0; }
  .split, .admin-body { grid-template-columns: 1fr; }
  .contributors-head { flex-direction: column; align-items: stretch; }
  .top-claims b { display: none; }
  .top-claims li { grid-template-columns: auto 1fr; }
  .top-claims-head {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 1.35rem;
  }
  .top-claims-head p { margin-left: auto; margin-right: auto; }
  .board-switch { justify-content: center; }
  .contrib-stats { flex-wrap: wrap; justify-content: center; }
  .how-spots { grid-template-columns: 1fr; }
  .admin-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    flex-direction: column;
    gap: 0;
    padding: 0.45rem 0.7rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-nav .nav-toggle { display: inline-flex; }
  .admin-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0.45rem;
    padding: 0.2rem 0 0.35rem;
    border-top: 1px solid var(--line);
  }
  .admin-nav-links.is-open { display: flex; }
  .admin-nav-links a {
    padding: 0.75rem 0.2rem;
  }
  .admin-main { padding: 0.9rem 0.75rem 1.4rem; }
  .level-form { grid-template-columns: 1fr 1fr; }
  main { padding: 0.75rem; }
  body:not(.has-full-pyramid) main {
    padding-top: calc(0.75rem + var(--chrome-h, 72px) + 0.75rem - 50px);
  }
}

body.has-full-pyramid {
  background: #080808;
  overflow: hidden;
  height: 100%;
  height: 100dvh;
}
html:has(body.has-full-pyramid) {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}
body.has-full-pyramid .site-header {
  background: rgba(8, 8, 8, 0.72);
}
body.has-full-pyramid main {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: 1.5rem;
  pointer-events: none;
}
body.has-full-pyramid main > * {
  pointer-events: auto;
}
body.has-full-pyramid .hero {
  pointer-events: none;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}
body.has-full-pyramid .hero > * {
  pointer-events: auto;
}
body.has-full-pyramid .pyramid-page {
  pointer-events: none;
}
body.has-full-pyramid .pyramid-stage {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: transparent;
  height: 100%;
  height: 100dvh;
  min-height: 100%;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}
body.has-full-pyramid .pyramid-featured .pyramid-stage {
  height: 100%;
  height: 100dvh;
  min-height: 100%;
  min-height: 100dvh;
}
body.has-full-pyramid .pyramid-interact {
  display: none;
}
body.has-full-pyramid .pyramid-stats {
  display: none;
}
body.has-full-pyramid .pyramid-hint,
body.has-full-pyramid .pyramid-toolbar {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
body.has-full-pyramid .drawer {
  position: fixed;
  top: var(--chrome-h, 0px);
  right: 0;
  height: calc(100% - var(--chrome-h, 0px));
  z-index: 90;
  pointer-events: auto;
}
body.has-full-pyramid .pyramid-hint {
  max-width: 720px;
  margin: 0.4rem auto 0.6rem;
  padding: 0.55rem 0.85rem;
  background: rgba(17, 17, 17, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
body.has-full-pyramid .zoom-controls {
  position: fixed;
  top: calc(var(--chrome-h, 5.6rem) + 0.4rem);
  right: 0.7rem;
  z-index: 16;
  left: auto;
  order: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
}
body.has-full-pyramid .site-footer {
  display: block;
  position: fixed;
  left: 50%;
  right: auto;
  bottom: auto;
  top: 70%;
  transform: translateX(-50%);
  width: min(42rem, calc(100vw - 2rem));
  z-index: 5;
  margin: 0;
  padding: 0.35rem 0 0;
  background: none;
  pointer-events: auto;
}
body.has-full-pyramid .flash {
  position: relative;
  z-index: 3;
}
.pyramid-side-hero { display: none; }
body.has-full-pyramid .pyramid-side-hero {
  display: block;
  position: fixed;
  z-index: 4;
  left: calc(1.35rem - 35px);
  right: auto;
  top: 36%;
  transform: translateY(-50%);
  width: min(590px, 42vw);
  padding: 0;
  text-align: center;
  pointer-events: none;
  background: none;
  border: 0;
  box-shadow: none;
}
body.has-full-pyramid .pyramid-side-hero .eyebrow {
  display: table;
  width: auto;
  margin: 0 auto 0.65rem;
  padding: 0 0 0 0.12em;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}
body.has-full-pyramid .pyramid-side-hero h1 {
  margin: 0 auto 0.65rem;
  width: 100%;
  text-align: center;
  font-size: clamp(2.4rem, 3.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}
body.has-full-pyramid .pyramid-side-hero p {
  margin: 0 auto;
  max-width: 34rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.5;
}
body.has-full-pyramid .pyramid-side-hero .hero-price { margin-top: 0.85rem; }
body.has-full-pyramid .pyramid-side-hero .hero-hint { margin-top: 0.45rem; font-size: 0.95rem; }
body.has-full-pyramid .explore-spots {
  pointer-events: auto;
  margin-top: 1.05rem;
  padding: 0.7rem 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-color: rgba(255, 196, 0, 0.55);
  color: var(--gold);
  background: rgba(8, 8, 8, 0.35);
}

@media (max-height: 640px) {
  body.has-full-pyramid .hero {
    padding: 0.35rem 0 0.15rem;
  }
  body.has-full-pyramid .hero h1 {
    font-size: clamp(1.25rem, 5.5vh, 2rem);
    margin-bottom: 0.3rem;
  }
  body.has-full-pyramid .lede,
  body.has-full-pyramid .eyebrow {
    display: none;
  }
}

@media (max-width: 860px) {
  body.has-full-pyramid .site-footer {
    font-size: 0.72rem;
    width: min(22rem, calc(100vw - 1.4rem));
  }
  body.has-full-pyramid .site-footer .footer-rest,
  body.has-full-pyramid .site-footer .footer-extra {
    display: none;
  }
  body.has-full-pyramid .site-footer .site-footer-pages {
    gap: 0.25rem 0.7rem;
  }
  body.has-full-pyramid .pyramid-side-hero {
    display: block;
    left: 50%;
    right: auto;
    width: min(22rem, calc(100vw - 1.4rem));
    transform: translateX(-50%);
  }
  body.has-full-pyramid .pyramid-side-hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }
  body.has-full-pyramid .pyramid-side-hero p {
    font-size: 0.92rem;
  }
  body.has-full-pyramid .pyramid-side-hero .hero-price-more,
  body.has-full-pyramid .pyramid-side-hero .hero-hint,
  body.has-full-pyramid .pyramid-side-hero .hero-price br {
    display: none;
  }
}

.recent-claims { display: none; }
body.has-full-pyramid .recent-claims {
  display: block;
  position: fixed;
  z-index: 4;
  right: 0.55rem;
  left: auto;
  top: 36%;
  transform: translateY(-50%);
  width: min(340px, 30vw);
  margin: 0;
  padding: 0;
  text-align: right;
  pointer-events: none;
}
body.has-full-pyramid .recent-claims-title {
  margin: 0 0 0.55rem;
  padding-right: 0.15rem;
  text-align: right;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
body.has-full-pyramid .recent-claims ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.has-full-pyramid .recent-claims li {
  margin: 0 0 0.4rem;
}
body.has-full-pyramid .recent-claims li > span {
  display: block;
  padding: 0.38rem 0.55rem 0.42rem 0;
  border: 0;
  border-right: 4px solid #FFC400;
  border-radius: 0;
  background: transparent;
  text-align: right;
  line-height: 1.15;
  color: #fff;
  pointer-events: none;
  overflow: hidden;
}
body.has-full-pyramid .recent-claims.is-fade .recent-link {
  opacity: var(--fade, 1);
}
body.has-full-pyramid .recent-claims.is-uniform strong,
body.has-full-pyramid .recent-claims.is-uniform .recent-link {
  font-size: var(--recent-link, 0.95rem);
}
body.has-full-pyramid .recent-claims .recent-link {
  pointer-events: auto;
  color: #FFC400;
  font-size: var(--recent-link, 0.95rem);
  text-decoration: none;
}
body.has-full-pyramid .recent-claims .recent-link:hover {
  color: #fff;
}
body.has-full-pyramid .recent-claims strong,
body.has-full-pyramid .recent-claims em,
body.has-full-pyramid .recent-claims .recent-link {
  display: block;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.has-full-pyramid .recent-claims em,
body.has-full-pyramid .recent-claims .recent-link {
  margin-top: 0.12rem;
  font-weight: 500;
}
body.has-full-pyramid .recent-claims em { color: #fff; }
body.has-full-pyramid .recent-claims li:first-child > span {
  color: #fff;
  font-size: var(--recent-1, 2.15rem);
}
body.has-full-pyramid .recent-claims li:first-child strong { font-weight: 700; letter-spacing: -0.045em; }
body.has-full-pyramid .recent-claims li:nth-child(2) > span {
  color: #fff;
  font-size: var(--recent-2, 1.35rem);
}
body.has-full-pyramid .recent-claims li:nth-child(2) strong { font-weight: 650; }
body.has-full-pyramid .recent-claims li:nth-child(n+3) > span {
  font-size: var(--recent-3, 0.95rem);
}

@media (max-height: 869px) {
  body.has-full-pyramid .recent-claims { display: none; }
}

@media (max-width: 1429px) and (min-width: 861px) {
  body.has-full-pyramid .pyramid-side-hero { display: none; }
}

@media (max-width: 1429px) {
  body.has-full-pyramid .recent-claims { display: none; }
}

@media (max-width: 860px) {
  body.has-full-pyramid main { padding: 0.75rem; }
  .drawer,
  body.has-full-pyramid .drawer {
    top: var(--chrome-h, 5.6rem);
    height: calc(100% - var(--chrome-h, 5.6rem));
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 0;
    z-index: 90;
  }
  .drawer-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .drawer-actions #claim-cancel,
  .pay-action,
  .pay-action .btn {
    width: 100%;
  }
  .pay-note { display: block; width: 100%; }
  body.has-full-pyramid .pyramid-interact { display: none; }
  body.has-full-pyramid .zoom-controls {
    position: fixed;
    top: calc(var(--chrome-h, 5.6rem) + 2.7rem);
    bottom: auto;
    left: auto;
    right: 0.45rem;
    z-index: 15;
    order: 2;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    gap: 0.22rem;
    padding: 0.28rem;
  }
  body.has-full-pyramid .zoom-controls button {
    flex: none;
    width: 3.15rem;
    min-width: 3.15rem;
    height: 28px;
    padding: 0 0.2rem;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    border-radius: 8px;
  }
  .zoom-controls button {
    flex: 1;
    min-width: 0;
    height: 32px;
    padding: 0 0.25rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 860px) {
  .zoom-controls {
    order: 2;
    justify-content: stretch;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }
  #claim-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .zoom-controls button {
    flex: 1;
    min-width: 0;
    height: 32px;
    padding: 0 0.25rem;
    font-size: 0.72rem;
  }
  .account-head {
    flex-direction: column;
    align-items: stretch;
  }
  .account-head .btn { margin-left: 0; align-self: flex-start; }
  .account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claim-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.15rem; }
  .claim-search { width: 100%; }
  .claims-board { overflow-x: visible; }
  .claims-cols { display: none; }
  .claim-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "status"
      "pos"
      "size"
      "amount"
      "when"
      "actions";
    gap: 0.28rem;
    align-items: start;
  }
  .c-code { display: none; }
  .c-title { grid-area: title; }
  .c-sub { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
  .c-pos { grid-area: pos; }
  .c-size { grid-area: size; color: var(--muted); }
  .c-amount { grid-area: amount; margin-top: 0.25rem; font-size: 1.15rem; font-weight: 700; }
  .c-status { grid-area: status; text-align: left; }
  .c-status .pill { display: none; }
  .c-when { grid-area: when; color: var(--muted); font-size: 0.85rem; }
  .c-when-label { display: inline; }
  .claim-actions-cell { grid-area: actions; margin-top: 0.45rem; }
  .claims-board .claim-actions { flex-direction: column; align-items: stretch; }
  .claims-board .claim-actions .btn,
  .claims-board .claim-actions .js-continue-pay { width: 100%; }
  .claims-board .claim-actions .btn { min-height: 2.75rem; }
  .rank-logo-row {
    flex-wrap: wrap;
  }
}
