/* Gold Piece - layout and components modelled on the Baskt look (dark panels, pill buttons,
   condensed display type, fanned cards, tape marquees). Our own code and assets. */
:root {
  --bg: #0b0c0f;
  --panel: #121419;
  --panel-2: #171a20;
  --panel-3: #1d2128;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #fff;
  --muted: rgba(255, 255, 255, .64);
  --dim: rgba(255, 255, 255, .42);
  --gold: #f5c542;
  --red: #ff4d5e;
  --sea: #2bb3ff;
  --green: #46c37b;
  --r: 18px;
  --r-sm: 12px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  /* value tiers */
  --t-dust: #8b93a1; --t-b1: #46c37b; --t-b5: #3aa0ff; --t-b20: #9b6bff;
  --t-b50: #ff5fd2; --t-b100: #ff9f43; --t-b300: #ff4d5e; --t-b1k: #f5c542;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.hide { display: none !important; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--panel-3); font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, opacity .15s ease, border-color .15s ease;
}
.btn:hover { background: #262b33; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--white { background: #fff; color: #0b0c0f; border-color: #fff; }
.btn--white:hover { background: #e9ebef; }
.btn--gold { background: linear-gradient(180deg, #ffd766, #e9ac1f); color: #1b1300; border-color: #ffd766; }
.btn--gold:hover { filter: brightness(1.05); background: linear-gradient(180deg, #ffd766, #e9ac1f); }
.btn--ghost { background: transparent; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 17px; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.icon-btn { width: 40px; padding: 0; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center;
  background: rgba(11, 12, 15, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .01em; }
.logo img, .logo svg { height: 40px; width: auto; display: block; }
.nav__links { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav__links a { color: var(--muted); transition: color .15s; }
.nav__links a:hover, .nav__links a.on { color: #fff; }
.nav__right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.net-pill { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245, 197, 66, .35); border-radius: 999px; padding: 6px 9px; }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav .wrap { gap: 12px; }
  .nav__right .btn--launch { display: none; }
  .net-pill { display: none; }
}

/* ------------------------------------------------------------------ hero */
/* The backdrop is a treasure-map picture with a skull emblem in its centre (assets/hero-map*.jpg).
   It is anchored to .hero__window, the gap between the text and the panel, so the hat and eyes of
   the skull always show in that gap however the text above wraps.
   --ratio = picture height / width; --crown and --eyes = top of the hat and bottom of the eyes
   as fractions of the picture height. */
.hero { position: relative; min-height: 760px; padding-bottom: 96px; overflow: hidden; isolation: isolate; background: #0a0908;
  --mapw: max(1840px, 104vw); --ratio: .5646; --crown: .330; --eyes: .517; --pad: 18px; --maph: calc(var(--mapw) * var(--ratio)); }
.hero__window { position: relative; height: calc(var(--maph) * (var(--eyes) - var(--crown)) + var(--pad) + 16px); pointer-events: none; }
.hero__mapbox { position: absolute; z-index: -1; left: 50%; top: calc(var(--pad) - var(--maph) * var(--crown)); width: var(--mapw); height: var(--maph); margin-left: calc(var(--mapw) / -2); }
.hero__map { position: absolute; inset: 0; background: url(/assets/hero-map.jpg) center / 100% 100% no-repeat; animation: mapIn 1.8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes mapIn { from { opacity: 0; } }
/* darker behind the headline, clear around the emblem, melting into the page at the bottom */
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 7, 6, .72) 0, rgba(8, 7, 6, .34) 22%, rgba(8, 7, 6, 0) 38%, rgba(8, 7, 6, 0) 68%, var(--bg) 100%); }
.hero__inner { position: relative; text-align: center; padding: 56px 16px 0; }
.hero h1 { font-size: clamp(54px, 9vw, 112px); margin: 0 0 14px; text-shadow: 0 6px 40px rgba(0, 0, 0, .55); }
.hero p { max-width: 640px; margin: 0 auto; font-size: 18px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 14px rgba(0, 0, 0, .75); }
.chip { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .5); border: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: rgba(255, 255, 255, .8); }
.chip b { color: var(--gold); font-weight: 600; }
.hero__fan { position: absolute; top: 262px; width: 420px; height: 380px; pointer-events: none; }
.hero__fan--l { left: max(-40px, calc(50% - 720px)); }
.hero__fan--r { right: max(-40px, calc(50% - 720px)); }
/* slot = position + base angle; the layers inside it carry pointer depth, idle float and hover tilt */
.hero__fan .fan__slot { position: absolute; width: 170px; }
.hero__fan .tcard { pointer-events: auto; }
.hero__fan--l .fan__slot:nth-child(1) { left: 40px; top: 30px; rotate: -14deg; }
.hero__fan--l .fan__slot:nth-child(2) { left: 170px; top: 0; rotate: -4deg; }
.hero__fan--l .fan__slot:nth-child(3) { left: 110px; top: 150px; rotate: -9deg; z-index: 2; }
.hero__fan--r .fan__slot:nth-child(1) { right: 40px; top: 30px; rotate: 14deg; }
.hero__fan--r .fan__slot:nth-child(2) { right: 170px; top: 0; rotate: 4deg; }
.hero__fan--r .fan__slot:nth-child(3) { right: 110px; top: 150px; rotate: 9deg; z-index: 2; }
.hero__panel { position: relative; z-index: 3; width: min(420px, calc(100% - 32px)); margin: 0 auto; padding: 30px 28px 26px;
  background: rgba(10, 11, 14, .86); border: 1px solid var(--line-2); border-radius: 22px; text-align: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.hero__panel .display { font-size: 40px; }
.hero__panel .btn { width: 100%; margin-top: 20px; }
.hero__panel small { display: block; margin-top: 12px; color: var(--dim); font-size: 13px; }
/* on narrower windows the fans slide out towards the edges so they do not sit on the emblem */
@media (max-width: 1100px) { .hero__fan { opacity: .82; } .hero__fan--l { left: -96px; } .hero__fan--r { right: -96px; } }
@media (max-width: 860px) {
  .hero { min-height: 0; padding-bottom: 64px; }
  .hero__fan { display: none; }
  .hero p { font-size: 16px; }
}
/* phones get the upright version of the picture */
@media (max-width: 559px) {
  .hero { --mapw: max(118vw, 420px); --ratio: 2.2235; --crown: .444; --eyes: .578; --pad: 50px; }   /* the bones reach higher here: keep them clear of the chip */
  .hero__map { background-image: url(/assets/hero-map-tall.jpg); }
  .hero__inner { padding-top: 44px; }
}

/* ------------------------------------------------------------------ trading card */
.tcard { --tier: var(--t-dust); position: relative; aspect-ratio: 5 / 7; border-radius: 10px; overflow: hidden;
  background: #0f1115; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--tier) 70%, transparent), 0 18px 40px rgba(0, 0, 0, .5); }
.tcard img { width: 100%; height: 100%; object-fit: cover; }
.tcard__tag { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; align-items: center;
  padding: 5px 8px; border-radius: 8px; background: rgba(8, 9, 12, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font: 700 12px/1 var(--body); }
.tcard__tag .v { color: var(--tier); font-family: var(--mono); font-weight: 600; }
.tcard__tier { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 6px; background: var(--tier); color: #0b0c0f;
  font: 800 10px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.tcard--big::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 48%, transparent 60%);
  background-size: 250% 100%; animation: sheen 3.2s ease-in-out infinite; mix-blend-mode: overlay; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.t-dust { --tier: var(--t-dust); } .t-b1 { --tier: var(--t-b1); } .t-b5 { --tier: var(--t-b5); } .t-b20 { --tier: var(--t-b20); }
.t-b50 { --tier: var(--t-b50); } .t-b100 { --tier: var(--t-b100); } .t-b300 { --tier: var(--t-b300); } .t-b1k { --tier: var(--t-b1k); }

/* ------------------------------------------------------------------ the flag emblem (assets/flag.jpg, see core.js) */
.flag { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #000; user-select: none; -webkit-user-drag: none; }

/* ------------------------------------------------------------------ sections */
.section { padding: 110px 0; }
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.h2 { font-size: clamp(44px, 6.4vw, 84px); margin: 14px 0 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

/* packs */
.packs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; min-height: 660px; }
@media (max-width: 900px) { .packs-row { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; min-height: 0; } }
.pack-card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pack-card h3 { font-size: 40px; margin: 6px 0 0; }
.pack-card p { margin: 0; color: var(--muted); }
.pack-card .price { font: 600 15px/1 var(--mono); }
.pack-card .price b { font-size: 22px; color: #fff; }
.pack-card .btn { width: 100%; }
.pack-card .odds-mini { width: 100%; display: grid; gap: 6px; text-align: left; font-size: 13px; color: var(--muted); }
.pack-card .odds-mini div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; }
.pack-card .odds-mini b { color: #fff; font-family: var(--mono); font-weight: 500; }

/* the foil pack */
/* every inner size scales with --k (1 = 210px wide), so a pack can be drawn at any size */
.pack { --c1: #0e6fb8; --c2: #3cc8ff; --c3: #0a3d66; position: relative; width: calc(210px * var(--k, 1)); aspect-ratio: 5 / 8;
  transform-style: preserve-3d; transition: transform .35s ease; cursor: pointer; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); }
.pack__body { position: absolute; inset: 0; border-radius: calc(8px * var(--k, 1)); overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .28), transparent 60%),
    linear-gradient(160deg, var(--c2), var(--c1) 45%, var(--c3));
  -webkit-mask: radial-gradient(calc(7px * var(--k, 1)) at 50% 0, #0000 98%, #000) 50% 0 / calc(14px * var(--k, 1)) 51% repeat-x,
                radial-gradient(calc(7px * var(--k, 1)) at 50% 100%, #0000 98%, #000) 50% 100% / calc(14px * var(--k, 1)) 51% repeat-x;
  mask: radial-gradient(calc(7px * var(--k, 1)) at 50% 0, #0000 98%, #000) 50% 0 / calc(14px * var(--k, 1)) 51% repeat-x,
        radial-gradient(calc(7px * var(--k, 1)) at 50% 100%, #0000 98%, #000) 50% 100% / calc(14px * var(--k, 1)) 51% repeat-x; }
.pack__crimp { position: absolute; left: 0; right: 0; height: calc(22px * var(--k, 1)); z-index: 2;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, rgba(0, 0, 0, .18) 2px 5px); opacity: .55; }
.pack__crimp--t { top: calc(6px * var(--k, 1)); } .pack__crimp--b { bottom: calc(6px * var(--k, 1)); }
.pack__brand { position: absolute; top: calc(36px * var(--k, 1)); left: 0; right: 0; text-align: center; font: 800 calc(15px * var(--k, 1))/1 var(--display); letter-spacing: .32em; opacity: .9; }
.pack__window { position: absolute; left: calc(22px * var(--k, 1)); right: calc(22px * var(--k, 1)); top: calc(64px * var(--k, 1)); bottom: calc(96px * var(--k, 1)); border-radius: calc(10px * var(--k, 1)); overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .5); box-shadow: inset 0 0 30px rgba(0, 0, 0, .45); background: #0a0c10; }
.pack__window img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(1.1); }
.pack__name { position: absolute; left: 0; right: 0; bottom: calc(46px * var(--k, 1)); text-align: center; font: 800 calc(31px * var(--k, 1))/1 var(--display); text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.pack__sub { position: absolute; left: 0; right: 0; bottom: calc(30px * var(--k, 1)); text-align: center; font: 600 calc(10px * var(--k, 1))/1 var(--mono); letter-spacing: .18em; opacity: .8; }
.pack__seal { position: absolute; right: calc(9px * var(--k, 1)); bottom: calc(80px * var(--k, 1)); width: calc(62px * var(--k, 1)); height: calc(62px * var(--k, 1)); z-index: 2;
  display: grid; place-items: center; border-radius: 50%; rotate: -11deg; background: #000; overflow: hidden;
  box-shadow: 0 0 0 calc(2px * var(--k, 1)) rgba(255, 255, 255, .92), 0 0 0 calc(4px * var(--k, 1)) rgba(0, 0, 0, .3), 0 calc(6px * var(--k, 1)) calc(14px * var(--k, 1)) rgba(0, 0, 0, .5); }
.pack__seal .flag { width: 100%; height: 100%; scale: 1.08; }
.pack__shine { position: absolute; inset: 0; border-radius: calc(8px * var(--k, 1)); z-index: 3; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 46%, transparent 62%); background-size: 260% 100%;
  animation: sheen 4.5s ease-in-out infinite; }
.pack--east-blue { --c1: #0e6fb8; --c2: #49d1ff; --c3: #072f52; }
.pack--grand-line { --c1: #5b2bc8; --c2: #c79bff; --c3: #23104f; }
.pack--new-world { --c1: #b3121f; --c2: #ffcf5a; --c3: #4a0610; }
.pack:hover { transform: rotateY(-10deg) rotateX(4deg) translateY(-6px); }

/* tapes */
.tapes { position: relative; height: 210px; overflow: hidden; margin: 40px 0; }
.tape { position: absolute; left: -5%; width: 110%; white-space: nowrap; background: #fff; color: #0b0c0f; padding: 12px 0;
  font: 800 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.tape span { display: inline-block; animation: tape 30s linear infinite; }
.tape--a { top: 40px; transform: rotate(-3deg); }
.tape--b { top: 120px; transform: rotate(2.5deg); background: var(--gold); }
.tape--b span { animation-direction: reverse; }
@keyframes tape { to { transform: translateX(-50%); } }

/* marquee of cards */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { position: relative; display: flex; gap: 16px; width: max-content; animation: tape 60s linear infinite; padding: 26px 16px 26px 0; }
.mq__item { width: 168px; flex: none; }
@media (max-width: 600px) { .mq__item { width: 132px; } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.stat .k { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .v { font: 800 44px/1 var(--display); margin-top: 12px; white-space: nowrap; }
.stat .v small { font-size: 18px; color: var(--muted); margin-left: 4px; }
.stat .s { color: var(--dim); font-size: 13px; margin-top: 6px; }
/* phones keep the three figures in one row, so everything shrinks (this block must stay after the base rules) */
@media (max-width: 700px) {
  .stats { gap: 8px; }
  .stat { padding: 12px 10px; }
  .stat .k { font-size: 9px; letter-spacing: .02em; }
  .stat .v { font-size: clamp(17px, 5.6vw, 24px); margin-top: 8px; }
  .stat .v small { font-size: 11px; margin-left: 2px; }
  .stat .s { display: none; }
}

/* panels + tables */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel__head h3 { margin: 0; font-size: 18px; font-weight: 700; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 0 0 10px; }
.table td { border-top: 1px solid var(--line); padding: 10px 0; }
.table td.r, .table th.r { text-align: right; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--tier); margin-right: 8px; vertical-align: 0; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--dim); font-weight: 400; }
.faq details[open] summary::after { content: "-"; }
.faq p { color: var(--muted); margin: 12px 0 2px; }

/* ------------------------------------------------------------------ bounty board */
.bounty { overflow: hidden; }
.bounty__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.bounty__copy .lead { margin-bottom: 26px; }
.bounty__note { margin: 22px 0 0; max-width: 440px; font-size: 13px; color: var(--dim); }
/* the wall is a zoomed corner of the treasure map; posters are pinned to it */
.bounty__wall { position: relative; aspect-ratio: 646 / 600; border-radius: 26px; border: 1px solid var(--line); isolation: isolate;
  background: linear-gradient(rgba(8, 7, 6, .08), rgba(8, 7, 6, .38)), url(/assets/hero-map.jpg) 24% 60% / 260% auto no-repeat #14110d;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .7); }
.wposter { position: absolute; rotate: var(--rot, 0deg); }
.wposter--top { left: 26.5%; top: 8.5%; width: 47%; z-index: 2; }
.wposter--a { left: 1.5%; top: 35.5%; width: 28.5%; z-index: 1; }
.wposter--b { right: 1.5%; top: 16%; width: 28.5%; z-index: 1; }
.wposter__sway { position: relative; transform-origin: 50% 0; animation: psway 6.5s ease-in-out infinite; }
.wposter--a .wposter__sway { animation-duration: 5.2s; animation-delay: -2s; }
.wposter--b .wposter__sway { animation-duration: 7.4s; animation-delay: -4s; }
@keyframes psway { 0%, 100% { rotate: -1.1deg; } 50% { rotate: 1.1deg; } }
.wposter__pin { position: absolute; left: 50%; top: -9px; z-index: 3; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9a9a, #c81e2c 55%, #6e0b14); box-shadow: 0 3px 6px rgba(0, 0, 0, .6); }
.wposter__paper { position: relative; display: block; container-type: inline-size; border-radius: 3px; overflow: hidden; background: #e6cf9a; color: inherit;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 22px 40px rgba(0, 0, 0, .6); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.wposter__paper img { display: block; width: 100%; height: auto; }
.wposter__paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .38), transparent 55%); mix-blend-mode: soft-light; }
.wposter__paper.is-tilt::after { opacity: 1; }
.wposter__tag { position: absolute; left: 50%; bottom: -24px; z-index: 4; translate: -50% 0; rotate: -2deg; padding: 8px 14px; border-radius: 6px; white-space: nowrap;
  background: linear-gradient(180deg, #ffd766, #e9ac1f); color: #1b1300; font: 800 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
/* a poster drawn in CSS for the live spots: sizes follow the poster width (cqw), px values are the fallback */
.wp { aspect-ratio: 760 / 1120; display: flex; flex-direction: column; align-items: center; padding: 5% 7% 5%; text-align: center; color: #3b2515;
  font-family: "Abril Fatface", Georgia, "Times New Roman", serif;
  background: radial-gradient(130% 100% at 50% 35%, #f3e2b8 0, #e7cf98 60%, #cfab6c 100%);
  box-shadow: inset 0 0 0 1.5px rgba(59, 37, 21, .55), inset 0 0 26px rgba(120, 80, 30, .4); }
.wp__title { font-size: 40px; font-size: 21cqw; line-height: .95; letter-spacing: .01em; }
.wp__pic { flex: 1; min-height: 0; width: 100%; margin: 6px 0 7px; margin: 3cqw 0 3.5cqw; display: grid; place-items: center; overflow: hidden; border: 1.5px solid #3b2515; background: #1b1410; }
.wp__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.wp__doa { font: 700 12px/1 Georgia, serif; font-size: 6.2cqw; letter-spacing: .2em; }
.wp__name { margin-top: 3px; margin-top: 1.5cqw; font-size: 26px; font-size: 14cqw; line-height: 1; white-space: nowrap; }
.wp__bounty { margin-top: 4px; margin-top: 2cqw; font: 700 17px/1 Georgia, serif; font-size: 9cqw; letter-spacing: .1em; }
.wp--vacant .wp__pic { background: repeating-linear-gradient(45deg, #2b2018 0 8px, #241a13 8px 16px); }
.wp__q { font-size: 86px; font-size: 46cqw; line-height: 1; color: rgba(243, 226, 184, .28); }
@media (max-width: 900px) {
  .bounty__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .bounty__wall { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; padding: 40px 18px 34px; background-size: auto, cover; background-position: 0 0, 30% 50%; }
  .wposter { position: relative; left: auto; right: auto; top: auto; width: auto; }
  .wposter--top { grid-column: 1 / -1; justify-self: center; width: min(290px, 84%); }
}

/* cta + footer */
.cta { position: relative; text-align: center; background: radial-gradient(70% 120% at 50% 0%, rgba(43, 179, 255, .18), transparent 70%), var(--panel);
  border: 1px solid var(--line); border-radius: 28px; padding: 64px 22px; }
.cta .h2 { margin-top: 0; }
.footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--dim); font-size: 13px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h5 { color: #fff; font-size: 13px; margin: 0 0 10px; }
.footer a { display: block; color: var(--muted); margin: 6px 0; }
.footer a:hover { color: #fff; }
.footer a.logo { display: flex; }
.footer a.footer__x { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; line-height: 1.6; }
@media (max-width: 700px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: grid; gap: 8px; max-width: min(380px, calc(100% - 32px)); }
.toast { background: #1d2027; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: toastIn .25s ease; }
.toast--err { border-color: rgba(255, 77, 94, .5); }
.toast--ok { border-color: rgba(70, 195, 123, .5); }
.toast a { text-decoration: underline; }
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } }

/* age gate */
.gate { position: fixed; inset: 0; z-index: 300; background: rgba(5, 6, 8, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 16px; }
.gate__box { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px; text-align: center; }
.gate__box .display { font-size: 40px; }
.gate__box p { color: var(--muted); }
.gate__box .row { display: flex; gap: 10px; margin-top: 18px; }
.gate__box .row .btn { flex: 1; }

/* wallet picker */
.modal { position: fixed; inset: 0; z-index: 250; background: rgba(5, 6, 8, .7); display: grid; place-items: center; padding: 16px; }
.modal__box { width: min(380px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; }
.modal__box h3 { margin: 0 0 14px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; margin-top: 8px; border-radius: 12px;
  background: var(--panel-2); border: 1px solid var(--line); cursor: pointer; text-align: left; font-weight: 600; }
.wallet-opt:hover { border-color: var(--line-2); }
.wallet-opt img { width: 28px; height: 28px; border-radius: 8px; }

/* misc */
.legal-page { max-width: 820px; padding: 60px 0 100px; }
.legal-page h1 { font-size: 64px; margin: 0 0 10px; }
.legal-page h2 { margin-top: 36px; }
.legal-page p, .legal-page li { color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--panel-2), var(--panel-3), var(--panel-2)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
