/* Claimjump skin. Structure (pill nav + strip, centred mark/line/CTA, chunky inset buttons, bordered panels)
   follows the yieldfields capture in template/; palette, type, art and scene props are ours. */
@font-face { font-family: 'Titan One'; src: url(/fonts/titanone.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(/fonts/dmsans.woff2) format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url(/fonts/dmmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url(/fonts/dmmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --teal: #0f5c5a; --teal-d: #0a3f3e; --teal-l: #2f807c;
  --sand: #f1dfb8; --sand-d: #dcc392; --lime: #d9d2c3; --lime-l: #ece7dc; --paper: #f8f1e1;
  --coral: #ff6f61; --coral-d: #c4473b; --coral-l: #ffa197;
  --gold: #e9b23a; --gold-d: #a87414;
  --ink: #1d2a22; --ink-2: #4a5a4f; --muted: #7d8577;
  --wood: #9a6a3e; --wood-d: #5e3d20; --wood-l: #c08d5a;
  --hard: 0 4px 0 rgba(29, 42, 34, .35);
  --display: 'Titan One', 'DM Sans', sans-serif; --body: 'DM Sans', system-ui, sans-serif; --mono: 'DM Mono', ui-monospace, monospace;
  --nav-h: 92px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100svh; background: var(--teal-d); color: var(--ink); font: 500 15px/1.5 var(--body); overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .005em; }
.num, .cj-ore, code { font-family: var(--mono); }
.cj-ore { color: var(--gold-d); font-weight: 500; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* backdrop: the map behind every page but the map page itself */
.cj-backdrop { position: fixed; inset: 0; z-index: -1; background: #3f5c3b url(/img/map-sm.jpg) center / cover no-repeat; }
.cj-backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(15, 50, 46, .38); }
body[data-page="map"] .cj-backdrop { display: none; }

/* ---------- nav (template PrelaunchNavigation) ---------- */
.cj-nav { --pill: #fbf6ea; position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1400px, 100% - 2 * clamp(12px, 2.2vw, 28px)); min-height: 92px; padding: 40px 16px 10px; display: flex; align-items: center; gap: 14px; background: var(--pill); border-radius: 0 0 22px 22px; box-shadow: 0 4px 0 rgba(29, 42, 34, .25), 0 8px 18px rgba(10, 30, 26, .22); animation: cj-drop .48s cubic-bezier(.22, .8, .3, 1.08) both; }
@keyframes cj-drop { from { opacity: 0; transform: translate(-50%, -12px); } }
.cj-strip { position: absolute; top: 0; left: 0; right: 0; height: 30px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--teal); color: var(--sand); font: 400 clamp(13px, 1.3vw, 15px)/1 var(--display); letter-spacing: .02em; text-decoration: none; white-space: nowrap; overflow: hidden; }
.cj-strip:hover { background: var(--teal-l); }
.cj-strip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); animation: cj-blink 1.8s steps(2) infinite; }
@keyframes cj-blink { 50% { opacity: .25; } }
.cj-strip .num { color: var(--gold); }
.cj-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; transition: transform .14s cubic-bezier(.22, .8, .3, 1.08); }
.cj-brand:hover { transform: translateY(-2px) rotate(-1deg); }
.cj-brand img { width: 40px; height: 40px; display: block; }
.cj-brand span { font: 400 23px/1 var(--display); color: var(--teal); letter-spacing: .01em; }
.cj-tabs { position: absolute; left: 50%; top: calc(50% + 15px); transform: translate(-50%, -50%); display: flex; gap: 2px; }
.cj-tabs a { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 12px 6px; border-radius: 10px; color: var(--muted); font: 400 16px/1 var(--display); text-decoration: none; white-space: nowrap; transition: color .14s, background .14s, transform .1s; }
.cj-tabs a::after { content: ""; width: 0; height: 3px; border-radius: 3px; background: var(--teal); transition: width .18s cubic-bezier(.22, .8, .3, 1.08); }
.cj-tabs a:hover, .cj-tabs a[aria-current="page"] { color: var(--ink); background: var(--lime-l); }
.cj-tabs a:hover { transform: translateY(-1px); }
.cj-tabs a[aria-current="page"]::after { width: 18px; }
.cj-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; flex: none; }
.cj-x, .cj-menu { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: none; color: var(--muted); padding: 0; transition: color .14s, background .14s; }
.cj-x:hover, .cj-menu:hover { color: var(--ink); background: var(--lime-l); }
.cj-x svg { width: 16px; height: 16px; }
.cj-menu { display: none; }
.cj-menu svg { width: 26px; height: 26px; fill: currentColor; transition: transform .32s cubic-bezier(.22, .8, .3, 1.12); }
.cj-menu[aria-expanded="true"] svg { transform: rotate(90deg); }
.cj-dropdown { position: absolute; top: 100%; left: 8px; margin-top: 6px; min-width: 236px; display: flex; flex-direction: column; gap: 2px; padding: 7px; background: var(--pill); border-radius: 14px; box-shadow: 0 4px 0 rgba(29, 42, 34, .25), 0 8px 18px rgba(10, 30, 26, .22); }
.cj-dropdown a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; color: var(--ink-2); font: 400 16px/1 var(--display); text-decoration: none; }
.cj-dropdown a:hover, .cj-dropdown a[aria-current="page"] { background: var(--lime-l); color: var(--ink); }

/* wallet chip (template walletButton) */
.cj-wallet { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 9px; border: 0; border-radius: 12px; background: var(--teal); color: var(--sand); font: 400 15px/1 var(--display); letter-spacing: .02em; box-shadow: inset 0 0 0 2px var(--teal-d), inset 0 4px 0 var(--teal-l), inset 0 -7px 0 var(--teal-d); transition: transform 90ms, filter .12s; white-space: nowrap; text-decoration: none; }
.cj-wallet:hover { transform: translateY(-2px); filter: brightness(1.06); }
.cj-wallet:active { transform: translateY(2px); }
.cj-wallet.on { background: var(--lime-l); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--lime), inset 0 -5px 0 var(--lime); font-family: var(--mono); font-size: 13px; padding-top: 7px; }
.cj-wallet .cj-ore { font-size: 13px; }

/* ---------- buttons (template cta: inset highlight + inset depth) ---------- */
.cj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 18px 12px; border: 0; border-radius: 14px; font: 400 17px/1.1 var(--display); letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: transform 90ms, filter .12s; background: var(--teal); color: var(--sand); box-shadow: inset 0 0 0 2px var(--teal-d), inset 0 4px 0 var(--teal-l), inset 0 -7px 0 var(--teal-d); }
.cj-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
.cj-btn:active:not(:disabled) { transform: translateY(2px); }
.cj-btn:disabled { opacity: .5; cursor: not-allowed; }
.cj-btn.go { background: var(--coral); color: #fff8ef; -webkit-text-stroke: 3px var(--coral-d); paint-order: stroke; box-shadow: inset 0 0 0 2px var(--coral-d), inset 0 4px 0 var(--coral-l), inset 0 -8px 0 var(--coral-d); }
.cj-btn.quiet { background: var(--lime-l); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--lime), inset 0 -5px 0 var(--lime); }
.cj-btn.small { min-height: 34px; padding: 4px 11px 9px; font-size: 14px; border-radius: 11px; }
.cj-btn.wide { width: 100%; }
.cj-link { border: 0; background: none; padding: 0; color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- map page ---------- */
body[data-page="map"] { background: #3f5c3b; }
.cj-world { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #6f7d4f; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cj-pan { position: absolute; left: 50%; top: 50%; transform: translate(calc(-50% + var(--px, 0px)), -50%); will-change: transform; }
.cj-map { position: relative; width: max(100vw, 177.78svh); aspect-ratio: 16 / 9; }
.cj-map-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cj-world::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 85% at 50% 48%, transparent 45%, rgba(20, 30, 20, .28) 100%); }

/* hero: mark + one line + single CTA, centred (template home) */
.cj-hero { position: absolute; inset: var(--nav-h) 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 3vh, 26px); padding: 0 16px 6vh; pointer-events: none; z-index: 5; text-align: center; animation: cj-in .7s cubic-bezier(.22, .8, .3, 1.08) both; }
@keyframes cj-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.cj-word { display: flex; align-items: center; gap: .12em; font: 400 clamp(46px, 6.2vw, 90px)/.9 var(--display); color: var(--sand); -webkit-text-stroke: .11em var(--ink); paint-order: stroke; text-shadow: 0 .07em 0 var(--ink), 0 .09em 0 var(--ink); letter-spacing: .01em; transform: rotate(-2deg); }
.cj-word img { width: .95em; height: .95em; transform: rotate(4deg) translateY(-.04em); filter: drop-shadow(0 .06em 0 var(--ink)); }
.cj-line { margin: 0; max-width: 640px; font: 400 clamp(17px, 1.9vw, 24px)/1.2 var(--display); color: #fff8ec; -webkit-text-stroke: 5px var(--ink); paint-order: stroke; text-shadow: 0 3px 0 var(--ink); }
.cj-cta-wrap { pointer-events: auto; display: inline-block; padding: 6px 7px; border-radius: 22px; background: #fbf6ea; box-shadow: 0 4px 0 rgba(20, 30, 20, .32), 0 10px 26px rgba(10, 20, 14, .3); }
.cj-cta { display: block; padding: 14px 30px 20px; border-radius: 17px; font-size: 24px; }
.cj-hero .cj-ca { pointer-events: auto; }

/* scene props */
.cj-prop, .cj-at { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 3; border: 0; padding: 0; text-align: left; text-decoration: none; color: var(--ink); transition: transform .14s cubic-bezier(.22, .8, .3, 1.08); }
.cj-prop:hover { transform: translateY(-3px) rotate(var(--r, 0deg)); }
/* wooden sign: shaft heads + supply tent */
.cj-sign { --r: -1.5deg; transform: rotate(var(--r)); padding: 7px 12px 8px; border-radius: 6px; color: #fff3dc; background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(60, 36, 16, .22) 9px 10px), linear-gradient(var(--wood-l), var(--wood)); box-shadow: inset 0 0 0 2px var(--wood-d), 0 3px 0 var(--wood-d), 0 8px 14px rgba(30, 20, 10, .35); font: 400 14px/1.1 var(--display); white-space: nowrap; }
.cj-sign::before, .cj-sign::after { content: ""; position: absolute; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: #3b2a1a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.cj-sign::before { left: 5px; } .cj-sign::after { right: 5px; }
.cj-sign small { display: block; margin-top: 3px; font: 500 12px/1 var(--mono); color: var(--gold); }
.cj-sign.shaft { pointer-events: none; font-size: 13px; padding: 5px 11px 6px; }
.cj-sign.tent { --r: 2deg; font-size: 17px; padding: 9px 14px 10px; }
.cj-sign.tent small { color: var(--sand); font-family: var(--body); font-weight: 700; font-size: 12px; }
/* ore cart counter */
.cj-cart { --r: 1deg; width: 168px; padding: 10px 12px 18px; background: linear-gradient(#8a6440, #6b4a2c); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); border-radius: 4px; box-shadow: inset 0 0 0 3px #3e2a17; }
.cj-cart-label { display: block; color: var(--sand); font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.cj-odo { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.cj-odo i { font: 500 20px/1 var(--mono); font-style: normal; width: 19px; padding: 4px 0 3px; text-align: center; color: var(--gold); background: #22201a; border-radius: 3px; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08); }
/* clipboard roster */
.cj-clip { --r: -2deg; width: 214px; padding: 22px 10px 10px; border-radius: 10px; background: #8d6239; box-shadow: inset 0 0 0 2px #5a3b1e, 0 4px 0 #5a3b1e, 0 10px 18px rgba(20, 14, 6, .35); transform: rotate(-2deg); }
.cj-clip::before { content: ""; position: absolute; top: -6px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%); border-radius: 6px 6px 3px 3px; background: linear-gradient(#c9cdc7, #8f958d); box-shadow: inset 0 0 0 2px #646a62; }
.cj-clip-paper { display: block; background: var(--paper); border-radius: 3px; padding: 8px 10px 10px; min-height: 92px; box-shadow: 0 1px 0 rgba(0, 0, 0, .15); background-image: repeating-linear-gradient(transparent 0 19px, #e5d9bd 19px 20px); }
.cj-clip-head { display: block; font: 400 14px/1 var(--display); color: var(--teal); margin-bottom: 6px; }
.cj-clip-row { display: flex; justify-content: space-between; gap: 6px; font: 600 12.5px/20px var(--body); white-space: nowrap; }
.cj-clip-row b { overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.cj-clip-row span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.cj-clip-empty { font: 600 12.5px/20px var(--body); color: var(--muted); }
/* radio log */
.cj-radio { --r: 1.5deg; width: 248px; padding: 10px; border-radius: 12px; background: linear-gradient(#2b6e6a, #164a48); box-shadow: inset 0 0 0 2px #0b302e, inset 0 3px 0 rgba(255, 255, 255, .14), 0 4px 0 #0b302e, 0 10px 18px rgba(4, 20, 18, .4); transform: rotate(1.5deg); }
.cj-radio::before { content: ""; position: absolute; top: -26px; right: 22px; width: 3px; height: 28px; background: #2a2f2b; border-radius: 2px; transform: rotate(14deg); }
.cj-radio-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.cj-radio-top b { font: 400 13px/1 var(--display); color: var(--sand); letter-spacing: .03em; }
.cj-grille { flex: 1; height: 14px; border-radius: 4px; background: radial-gradient(circle, #0b302e 1.4px, transparent 1.7px) 0 0 / 6px 6px, #1f5a57; }
.cj-led { width: 8px; height: 8px; border-radius: 50%; background: #5b2a24; }
.cj-led.on { background: var(--coral); }
.cj-lcd { display: block; min-height: 78px; padding: 6px 8px; border-radius: 6px; background: #c9c6a3; box-shadow: inset 0 2px 0 rgba(0, 0, 0, .25); color: #24301f; font: 500 11.5px/1.45 var(--mono); }
.cj-lcd span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cj-lcd .new { animation: cj-type .5s steps(8) both; }
@keyframes cj-type { from { clip-path: inset(0 100% 0 0); } }

/* agents walking the map */
.cj-agents { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.cj-ag { position: absolute; width: 0; height: 0; border: 0; padding: 0; background: none; pointer-events: auto; }
.cj-ag-hit { position: absolute; left: -16px; top: -42px; width: 32px; height: 46px; border: 0; padding: 0; background: none; cursor: pointer; }
.cj-ag-tag { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); padding: 2px 7px 3px; border-radius: 6px; background: var(--ink); color: var(--sand); font: 700 11px/1.2 var(--body); white-space: nowrap; pointer-events: none; box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.cj-ag-tag::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
.cj-ag-fig { position: absolute; left: -9px; top: -38px; width: 18px; height: 38px; pointer-events: none; }
.cj-ag-fig::before { content: ""; position: absolute; left: -2px; bottom: -3px; width: 22px; height: 7px; border-radius: 50%; background: rgba(30, 24, 10, .35); }
.cj-ag-fig i { position: absolute; display: block; }
.cj-ag .hat { left: 2px; top: 0; width: 14px; height: 8px; border-radius: 8px 8px 2px 2px; background: #f4efe3; box-shadow: inset 0 -2px 0 #c9c1ae, 0 0 0 1.5px var(--ink); }
.cj-ag .head { left: 4px; top: 7px; width: 10px; height: 7px; border-radius: 0 0 5px 5px; background: #c98d5d; box-shadow: 0 0 0 1.5px var(--ink); }
.cj-ag .body { left: 2px; top: 14px; width: 14px; height: 14px; border-radius: 4px 4px 2px 2px; background: var(--teal); box-shadow: 0 0 0 1.5px var(--ink), inset 0 -3px 0 var(--teal-d); }
.cj-ag .legs { left: 4px; top: 27px; width: 10px; height: 10px; background: linear-gradient(90deg, #3a3326 0 4px, transparent 4px 6px, #3a3326 6px); }
.cj-ag .tool { left: 13px; top: 8px; width: 3px; height: 18px; background: #7a5532; transform-origin: 50% 100%; transform: rotate(28deg); box-shadow: 0 0 0 1px var(--ink); }
.cj-ag .tool::before { content: ""; position: absolute; left: -6px; top: -2px; width: 15px; height: 4px; border-radius: 4px 4px 0 0; background: #8a9089; box-shadow: 0 0 0 1px var(--ink); }
.cj-ag .load { left: 1px; top: -11px; width: 16px; height: 11px; border-radius: 40% 50% 35% 45%; background: var(--gold); box-shadow: 0 0 0 1.5px var(--ink), inset -3px -3px 0 var(--gold-d); display: none; }
.cj-ag.walk .cj-ag-fig { animation: cj-bob .36s ease-in-out infinite alternate; }
.cj-ag.walk .legs { animation: cj-step .36s steps(2) infinite; }
.cj-ag.dig .tool { animation: cj-swing .7s cubic-bezier(.5, 0, .4, 1) infinite; }
.cj-ag.carry .load { display: block; }
.cj-ag.carry .tool { display: none; }
.cj-ag.left .cj-ag-fig { transform: scaleX(-1); }
@keyframes cj-bob { to { transform: translateY(-2px); } }
@keyframes cj-step { 50% { background: linear-gradient(90deg, transparent 0 1px, #3a3326 1px 5px, transparent 5px 7px, #3a3326 7px 10px); } }
@keyframes cj-swing { 0%, 100% { transform: rotate(-38deg); } 55% { transform: rotate(52deg); } }
.cj-ag.leftmap .cj-ag-fig.left { transform: scaleX(-1); }
.cj-pop { position: absolute; z-index: 6; transform: translate(-50%, -100%); font: 500 15px/1 var(--mono); color: var(--gold); -webkit-text-stroke: 4px var(--ink); paint-order: stroke; pointer-events: none; animation: cj-pop 2.2s ease-out forwards; white-space: nowrap; }
.cj-pop.bad { color: #fff3dc; font: 400 13px/1 var(--display); }
@keyframes cj-pop { 0% { opacity: 0; margin-top: 0; } 12% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; margin-top: -36px; } }
.cj-dust { position: absolute; z-index: 5; width: 46px; height: 30px; transform: translate(-50%, -70%); border-radius: 50%; background: radial-gradient(circle at 30% 60%, rgba(236, 226, 205, .95) 0 30%, transparent 32%), radial-gradient(circle at 65% 45%, rgba(220, 208, 182, .95) 0 34%, transparent 36%), radial-gradient(circle at 50% 75%, rgba(200, 188, 160, .9) 0 28%, transparent 30%); pointer-events: none; animation: cj-dust 1.6s ease-out forwards; }
@keyframes cj-dust { from { transform: translate(-50%, -70%) scale(.4); opacity: 1; } to { transform: translate(-50%, -90%) scale(1.6); opacity: 0; } }

/* ---------- pages on the backdrop (template MintView page/panel) ---------- */
.cj-page { min-height: 100svh; padding: calc(var(--nav-h) + 26px) clamp(12px, 4vw, 44px) 40px; max-width: 1180px; margin: 0 auto; animation: cj-in .6s cubic-bezier(.22, .8, .3, 1.08) both; }
.cj-panel { background: var(--paper); border: 7px solid var(--paper); border-radius: 18px; padding: 18px; box-shadow: 0 5px 0 rgba(10, 30, 26, .45), 0 2px 0 rgba(10, 30, 26, .3); }
.cj-panel-head { margin: -18px -18px 16px; padding: 12px 18px; border-radius: 11px 11px 0 0; background: var(--teal); color: var(--sand); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cj-panel-head h1, .cj-panel-head h2 { font-size: 22px; }
.cj-well { background: var(--lime-l); border-radius: 14px; padding: 12px; box-shadow: inset 0 3px 0 var(--lime); }
.cj-muted { color: var(--muted); }
.cj-err { color: var(--coral-d); font-weight: 700; margin: 8px 0 0; }

/* supply tent */
.cj-tent { position: relative; padding-top: 56px; }
.cj-awning { position: absolute; top: 0; left: -10px; right: -10px; height: 74px; z-index: 2; border-radius: 10px 10px 0 0; background: repeating-linear-gradient(90deg, var(--teal) 0 56px, var(--sand) 56px 112px); box-shadow: 0 4px 0 rgba(10, 30, 26, .4); -webkit-mask: radial-gradient(28px 16px at 28px 100%, transparent 98%, #000) -28px 0 / 56px 100% repeat-x; mask: radial-gradient(28px 16px at 28px 100%, transparent 98%, #000) 0 0 / 56px 100% repeat-x; }
.cj-awning-board { position: absolute; z-index: 3; top: 12px; left: 50%; transform: translateX(-50%) rotate(-1deg); }
.cj-awning-board h1 { font-size: clamp(22px, 3vw, 30px); }
.cj-tent-body { position: relative; padding: 46px clamp(14px, 3vw, 30px) 28px; border-radius: 0 0 18px 18px; background: linear-gradient(#e9dcc0, #e0cfa9); box-shadow: inset 0 0 0 7px #d3bf96, 0 5px 0 rgba(10, 30, 26, .45); }
.cj-tent-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cj-rate { margin: 0; font-weight: 600; color: var(--ink-2); }
.cj-scale { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #23211b; color: var(--sand); font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.cj-scale b { font: 500 22px/1 var(--mono); color: var(--gold); letter-spacing: 0; text-transform: none; }
.cj-crates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cj-crate { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 8px; background: repeating-linear-gradient(0deg, #b58350 0 30px, #a87747 30px 32px), #b58350; box-shadow: inset 0 0 0 3px #6e4a27, 0 4px 0 #6e4a27, 0 10px 16px rgba(40, 26, 10, .25); }
.cj-crate.wide { grid-column: span 2; flex-direction: row; gap: 14px; align-items: stretch; }
.cj-crate.wide .cj-crate-img { width: 50%; height: auto; aspect-ratio: auto; min-height: 100%; }
.cj-crate.wide .cj-tag { margin-top: 0; }
.cj-crate-img { width: 46%; aspect-ratio: auto; }
.cj-crate-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 4px; background: #f8d9ab; }
.cj-tag { position: relative; margin-top: 12px; padding: 12px 14px 14px; background: var(--paper); border-radius: 4px 4px 4px 4px; box-shadow: 0 2px 0 rgba(60, 40, 16, .35); flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cj-tag::before { content: ""; position: absolute; top: 9px; right: 11px; width: 9px; height: 9px; border-radius: 50%; background: #d3bf96; box-shadow: inset 0 0 0 2px #a88f62; }
.cj-tag h2 { font-size: 19px; padding-right: 18px; }
.cj-crate.wide .cj-tag h2 { font-size: 24px; }
.cj-how { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.cj-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cj-price b { font: 500 26px/1 var(--mono); color: var(--gold-d); }
.cj-price span { font-weight: 700; color: var(--muted); font-size: 13px; }
.cj-stock { font: 500 13px/1 var(--mono); color: var(--ink-2); }
.cj-stock.out { color: var(--coral-d); }
.cj-tag .cj-btn { margin-top: auto; align-self: flex-start; }

/* forms */
.cj-field { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.cj-input { width: 100%; min-height: 44px; padding: 10px 12px; border: 2px solid var(--lime); border-radius: 12px; background: #fffdf7; color: var(--ink); font: 500 15px/1.3 var(--body); }
textarea.cj-input { min-height: 84px; resize: vertical; }
.cj-input:focus { outline: none; border-color: var(--teal); }
.cj-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--lime-l); box-shadow: inset 0 2px 0 var(--lime); }
.cj-seg button { min-height: 36px; padding: 4px 14px; border: 0; border-radius: 9px; background: none; font: 400 15px/1 var(--display); color: var(--muted); }
.cj-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 2px 0 var(--lime); }

/* guide: notice board */
.cj-board { padding: clamp(16px, 3vw, 30px); border-radius: 12px; background: repeating-linear-gradient(90deg, transparent 0 3px, rgba(70, 44, 18, .08) 3px 4px), linear-gradient(135deg, #c79e6a, #b58a55); box-shadow: inset 0 0 0 8px #7a5430, 0 5px 0 rgba(10, 30, 26, .45); column-count: 2; column-gap: 26px; }
.cj-note { break-inside: avoid; display: block; margin: 12px 0 26px; position: relative; background: var(--paper); padding: 20px 20px 18px; border-radius: 3px; box-shadow: 0 3px 0 rgba(60, 40, 16, .35), 0 10px 18px rgba(40, 26, 10, .2); transform: rotate(var(--r, 0deg)); }
.cj-note::before { content: ""; position: absolute; top: -7px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--coral-d); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .25), 0 2px 0 rgba(0, 0, 0, .3); }
.cj-note h2 { font-size: 22px; margin-bottom: 10px; color: var(--teal); }
.cj-note p { margin: 8px 0; }
.cj-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.cj-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.cj-steps li::before { content: counter(s); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: var(--sand); font: 400 17px/1 var(--display); }
.cj-prompt { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #23211b; color: #efe6cf; font: 500 13px/1.5 var(--mono); word-break: break-all; }
.cj-rules { width: 100%; border-collapse: collapse; font-size: 14px; }
.cj-rules td, .cj-rules th { padding: 7px 4px; border-bottom: 1px dashed #d8c9a6; text-align: left; vertical-align: top; }
.cj-rules th { font: 400 13px/1 var(--display); color: var(--muted); letter-spacing: .02em; }
.cj-rules td:last-child, .cj-rules th:last-child { text-align: right; }
.cj-rules .num { white-space: nowrap; }

/* camp */
.cj-camp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cj-camp-side { display: flex; flex-direction: column; gap: 18px; }
.cj-board-clip { position: relative; padding: 30px 14px 14px; border-radius: 14px; background: #8d6239; box-shadow: inset 0 0 0 3px #5a3b1e, 0 5px 0 #5a3b1e; }
.cj-board-clip::before { content: ""; position: absolute; top: -9px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%); border-radius: 8px 8px 4px 4px; background: linear-gradient(#d4d8d2, #8f958d); box-shadow: inset 0 0 0 2px #646a62; }
.cj-sheetpaper { background: var(--paper); border-radius: 4px; padding: 18px; }
.cj-sheetpaper > h1, .cj-sheetpaper > h2 { font-size: 24px; color: var(--teal); }
.cj-holdline { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--lime-l); font-weight: 600; }
.cj-holdline .num { font-weight: 500; }
.cj-agent { padding: 14px 0; border-top: 2px dashed #dfd1b0; }
.cj-agent:first-of-type { border-top: 0; }
.cj-agent-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cj-agent-top h3 { font-size: 21px; }
.cj-state { padding: 3px 8px; border-radius: 999px; font: 700 11px/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--lime-l); color: var(--ink-2); }
.cj-state.digging { background: var(--teal); color: var(--sand); }
.cj-state.resting, .cj-state.paused { background: #efd6c9; color: var(--coral-d); }
.cj-agent-meta { margin: 6px 0 10px; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 14px; flex-wrap: wrap; }
.cj-agent-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cj-keybox { margin-top: 10px; padding: 12px; border-radius: 12px; background: #23211b; color: #efe6cf; }
.cj-keybox p { margin: 0 0 8px; font-size: 13px; color: var(--sand); font-weight: 600; }
.cj-keybox code { display: block; font-size: 13px; word-break: break-all; margin-bottom: 10px; }
.cj-new { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cj-new .cj-input { flex: 1; min-width: 160px; }
.cj-receipt { position: relative; padding: 14px 16px 18px; background: #fffdf6; font-family: var(--mono); font-size: 13px; box-shadow: 0 3px 0 rgba(10, 30, 26, .35); -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x; }
.cj-receipt + .cj-receipt { margin-top: 12px; }
.cj-receipt h3 { font: 400 16px/1.2 var(--display); margin-bottom: 6px; }
.cj-receipt .row { display: flex; justify-content: space-between; gap: 10px; }
.cj-receipt .code { margin-top: 8px; padding: 8px; border: 2px dashed var(--teal); border-radius: 6px; color: var(--teal-d); overflow-wrap: anywhere; font-weight: 500; }
.cj-st { font-weight: 500; }
.cj-st.pending { color: var(--gold-d); } .cj-st.fulfilled { color: var(--teal); } .cj-st.cancelled { color: var(--coral-d); }
.cj-log { list-style: none; margin: 0; padding: 0; font: 500 12.5px/1.5 var(--mono); }
.cj-log li { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px dashed #e0d3b3; }
.cj-log li .t { color: var(--muted); flex: none; width: 46px; }
.cj-log li .ok { color: var(--teal); } .cj-log li .no { color: var(--coral-d); }
.cj-log li .o { margin-left: auto; color: var(--gold-d); flex: none; }
.cj-oretile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #23211b; color: var(--sand); }
.cj-oretile b { font: 500 34px/1 var(--mono); color: var(--gold); }
.cj-oretile span { font: 700 12px/1.3 var(--body); letter-spacing: .07em; text-transform: uppercase; }
.cj-signin-card { max-width: 520px; margin: 4vh auto 0; text-align: center; }
.cj-signin-card p { margin: 10px 0 18px; }

/* admin */
.cj-admin-grid { display: grid; gap: 18px; }
.cj-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.cj-stats div { padding: 8px 12px; border-radius: 10px; background: var(--lime-l); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cj-stats b { display: block; font: 500 20px/1.2 var(--mono); color: var(--ink); }
.cj-order { padding: 12px 0; border-top: 2px dashed #dfd1b0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.cj-order:first-child { border-top: 0; }
.cj-order pre { margin: 6px 0 0; white-space: pre-wrap; word-break: break-word; font: 500 13px/1.5 var(--mono); background: var(--lime-l); padding: 8px; border-radius: 8px; }
.cj-order-acts { display: flex; flex-direction: column; gap: 8px; }
.cj-order-acts .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cj-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cj-table td, .cj-table th { padding: 7px 6px; border-bottom: 1px dashed #dfd1b0; text-align: left; }
.cj-table .num { text-align: right; }
.cj-scroll { overflow-x: auto; }

/* sheet: side panel on desktop, bottom sheet on phones (template dialog look) */
.cj-sheet { position: fixed; z-index: 60; top: calc(var(--nav-h) + 14px); right: 20px; width: min(390px, 100% - 40px); max-height: calc(100svh - var(--nav-h) - 34px); display: flex; animation: cj-sheet-in .24s cubic-bezier(.22, .8, .3, 1.08) both; }
@keyframes cj-sheet-in { from { opacity: 0; transform: translateX(18px); } }
.cj-sheet-card { position: relative; width: 100%; overflow: auto; background: var(--paper); border: 7px solid var(--paper); border-radius: 18px; padding: 18px; box-shadow: 0 5px 0 rgba(10, 30, 26, .45), 0 14px 30px rgba(10, 30, 26, .3); overscroll-behavior: contain; }
.cj-sheet-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .18); color: inherit; font-size: 16px; }
.cj-sheet-x:hover { background: rgba(255, 255, 255, .35); }
.cj-sheet .cj-panel-head { padding-right: 52px; color: var(--sand); }
.cj-sheet .cj-panel-head + * { margin-top: 0; }
.cj-sheet-x { color: var(--sand); }
.cj-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.cj-card-stats div { padding: 8px; border-radius: 10px; background: var(--lime-l); font: 700 11px/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cj-card-stats b { display: block; margin-top: 4px; font: 500 18px/1 var(--mono); color: var(--ink); letter-spacing: 0; text-transform: none; }
.cj-card-stats b.cj-ore { color: var(--gold-d); }
.cj-roster-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px; border: 0; border-bottom: 1px dashed #e0d3b3; background: none; text-align: left; }
.cj-roster-row:hover { background: var(--lime-l); }
.cj-roster-row b { font: 400 16px/1.1 var(--display); }
.cj-roster-row span { font: 500 12.5px/1.2 var(--mono); color: var(--ink-2); }

/* dialog (sign-in, redeem) */
dialog.cj-dialog { width: min(460px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: none; color: var(--ink); overflow: auto; }
dialog.cj-dialog::backdrop { background: rgba(8, 28, 26, .55); }
.cj-dialog .cj-panel { position: relative; }
.cj-dialog .cj-sheet-x { color: var(--sand); }
.cj-wallets { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.cj-wallet-row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--lime-l); box-shadow: inset 0 0 0 2px var(--lime), inset 0 -4px 0 var(--lime); font: 400 17px/1 var(--display); color: var(--ink); text-decoration: none; text-align: left; }
.cj-wallet-row:hover { filter: brightness(1.03); transform: translateY(-1px); }
.cj-wallet-row em { margin-left: auto; font: 700 12px/1 var(--body); font-style: normal; color: var(--muted); }
.cj-wallet-row.ready em { color: var(--teal); }

/* footer, CA chip, toast */
.cj-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding: 18px 16px 26px; }
.cj-foot nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cj-foot nav a { padding: 6px 10px; border-radius: 9px; color: var(--sand); font: 400 14px/1 var(--display); letter-spacing: .03em; text-decoration: none; }
.cj-foot nav a:hover { background: rgba(255, 255, 255, .12); }
.cj-foot nav svg { width: 14px; height: 14px; }
body[data-page="map"] .cj-foot { display: none; }
.cj-ca { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 12px; background: #fbf6ea; box-shadow: var(--hard); font-size: 13px; max-width: 100%; }
.cj-ca span { font: 400 13px/1 var(--display); color: var(--teal); }
.cj-ca code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.cj-ca button { border: 0; border-radius: 9px; padding: 6px 10px; background: var(--teal); color: var(--sand); font: 400 13px/1 var(--display); }
.cj-toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--sand); font-weight: 700; transition: .2s; max-width: calc(100% - 32px); }
.cj-toast.on { opacity: 1; transform: translate(-50%, 0); }
.cj-nf { text-align: center; }
.cj-nf h1 { font-size: clamp(40px, 7vw, 72px); color: var(--sand); -webkit-text-stroke: 8px var(--ink); paint-order: stroke; }
.cj-nf p { color: #fff8ec; font-weight: 700; margin: 14px 0 22px; }

/* ---------- responsive (template breakpoints) ---------- */
@media (max-width: 900px) {
  .cj-crates { grid-template-columns: 1fr 1fr; }
  .cj-crate.wide { grid-column: span 2; }
  .cj-camp { grid-template-columns: 1fr; }
  .cj-board { column-count: 1; }
  .cj-order { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 88px; }
  .cj-nav { width: 100%; border-radius: 0; min-height: 88px; padding: 36px 10px 8px; }
  .cj-tabs, .cj-x { display: none; }
  .cj-menu { display: inline-flex; }
  .cj-brand { position: absolute; left: 50%; top: calc(50% + 15px); transform: translate(-50%, -50%); }
  .cj-brand:hover { transform: translate(-50%, -52%); }
  .cj-brand span { display: none; }
  .cj-wallet { padding-left: 11px; padding-right: 11px; font-size: 14px; }
  .cj-wallet.on .w { display: none; }
  .cj-wallet.on::after { content: 'ore'; font-family: var(--display); font-size: 13px; color: var(--muted); }
  .cj-world { touch-action: pan-y; }
  .cj-map { width: 177.78svh; }
  .cj-hero { justify-content: flex-start; }
  .cj-cta { font-size: 21px; padding: 12px 24px 18px; }
  .cj-prop, .cj-at { left: calc(var(--mx, var(--x)) * 1%); top: calc(var(--my, var(--y)) * 1%); }
  .cj-hero { padding-top: 7svh; gap: 12px; }
  .cj-line { max-width: 330px; }
  .cj-sheet { top: auto; bottom: 0; right: 0; left: 0; width: 100%; max-height: 74svh; animation-name: cj-sheet-up; }
  .cj-sheet-card { border-radius: 20px 20px 0 0; border-bottom: 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .cj-sheet-card::before { content: ""; display: block; width: 44px; height: 5px; margin: -8px auto 10px; border-radius: 5px; background: var(--lime); }
  @keyframes cj-sheet-up { from { transform: translateY(40px); opacity: 0; } }
  .cj-crates { grid-template-columns: 1fr; }
  .cj-crate.wide { grid-column: auto; flex-direction: column; }
  .cj-crate.wide .cj-crate-img { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .cj-crate.wide .cj-tag { margin-top: 12px; }
  .cj-awning { left: 0; right: 0; }
  .cj-page { padding-left: 10px; padding-right: 10px; }
  .cj-ca code { max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.cj-br { display: none; }
@media (max-width: 720px) { .cj-br { display: inline; } }

/* ---------- GTA 6 pass: headline, countdown, prize, billboard, HUD motifs ---------- */
:root { --flamingo: #ff9ec4; --flamingo-d: #d9467f; --hud: #74d66b; }
.cj-head { display: flex; flex-direction: column; align-items: center; gap: .1em; margin: 0; transform: rotate(-2deg); }
.cj-head-a { display: flex; align-items: center; gap: .3em; font: 400 clamp(24px, 2.8vw, 40px)/1 var(--display); color: #fff8ec; -webkit-text-stroke: 6px var(--ink); paint-order: stroke; text-shadow: 0 3px 0 var(--ink); }
.cj-head-a img { width: 1.5em; height: 1.5em; filter: drop-shadow(0 3px 0 var(--ink)); }
.cj-head-b { font: 400 clamp(50px, 6vw, 88px)/.95 var(--display); color: var(--sand); -webkit-text-stroke: .11em var(--ink); paint-order: stroke; text-shadow: 0 .07em 0 var(--ink), 0 .09em 0 var(--ink); white-space: nowrap; }
.cj-head-b em { font-style: normal; color: var(--flamingo); }
.cj-plate { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 16px 9px; border-radius: 10px; background: #1b231d; box-shadow: inset 0 0 0 2px #0c120e, 0 4px 0 rgba(20, 30, 20, .4); }
.cj-plate-count { font: 500 clamp(15px, 1.6vw, 20px)/1 var(--mono); color: var(--flamingo); letter-spacing: .06em; white-space: nowrap; }
.cj-plate-prog { max-width: 300px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 500 13px/1.25 var(--mono); color: var(--sand); }
.cj-bar { display: block; width: 230px; max-width: 70vw; height: 12px; padding: 2px; border-radius: 7px; background: #3b3a30; }
.cj-bar i { display: block; height: 100%; min-width: 4px; border-radius: 5px; background: var(--gold); }
/* highway billboard */
.cj-bill { --r: -1deg; width: 300px; z-index: 2; }
.cj-bill::after { content: ""; position: absolute; z-index: -1; left: 28%; right: 28%; top: 100%; height: 34px; background: linear-gradient(90deg, #4a4f4a 0 10px, transparent 10px calc(100% - 10px), #4a4f4a calc(100% - 10px)); }
.cj-bill-board { position: relative; display: block; padding: 6px; border-radius: 4px; background: #e9e4d6; box-shadow: inset 0 0 0 3px #3a3f3a, 0 6px 0 rgba(20, 30, 20, .35); }
.cj-bill-board img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.cj-bill-word { position: absolute; left: 18px; top: 12px; font: 400 46px/1 var(--display); color: #fff8ec; -webkit-text-stroke: 7px var(--ink); paint-order: stroke; text-shadow: 0 4px 0 var(--ink); transform: rotate(-4deg); }
.cj-bill-led { display: block; margin: 0 16px; padding: 6px 8px; border-radius: 0 0 6px 6px; background: #141a16; color: var(--flamingo); font: 500 15px/1 var(--mono); letter-spacing: .06em; text-align: center; white-space: nowrap; box-shadow: inset 0 0 0 2px #0a0d0b; }
/* the GTA 6 prize, standing in the clearing */
.cj-prize { --r: 0deg; width: 200px; display: flex; flex-direction: column; align-items: center; z-index: 3; }
.cj-prize img { width: 168px; height: auto; transform: rotate(-6deg); filter: drop-shadow(0 8px 0 rgba(20, 30, 20, .35)); pointer-events: none; }
.cj-prize-tag { margin-top: -18px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 14px 10px; border-radius: 6px; background: var(--paper); box-shadow: 0 3px 0 rgba(60, 40, 16, .4); transform: rotate(2deg); text-align: center; }
.cj-prize-tag b { font: 400 30px/1 var(--display); color: var(--flamingo-d); }
.cj-prize-tag span { font: 700 12px/1.2 var(--body); color: var(--ink-2); }
.cj-prize-tag .cj-prize-ore { font: 500 17px/1.2 var(--mono); color: var(--gold-d); }
.cj-prize-tag .cj-prize-left { font: 500 12px/1.2 var(--mono); }
/* wanted-level stars for shaft depth */
.cj-wanted { display: inline-flex; gap: 2px; margin-left: 3px; vertical-align: 1px; }
.cj-wanted i { width: 11px; height: 11px; background: #fff3dc; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.cj-wanted i.off { background: rgba(255, 243, 220, .3); }
.cj-card-stats .cj-wanted i, .cj-log .cj-wanted i { background: var(--ink); }
.cj-card-stats .cj-wanted i.off, .cj-log .cj-wanted i.off { background: rgba(29, 42, 34, .2); }
/* mission passed + HUD cash */
.cj-passed { margin: 0 0 14px; padding: 14px 10px 12px; border-radius: 10px; background: #1b231d; text-align: center; }
.cj-passed small { display: block; font: 400 14px/1 var(--display); letter-spacing: .22em; color: var(--sand); }
.cj-passed b { display: block; margin-top: 6px; font: 400 clamp(22px, 5vw, 30px)/1.05 var(--display); color: var(--gold); -webkit-text-stroke: 5px #0c120e; paint-order: stroke; text-transform: uppercase; }
.cj-cash { font: 500 20px/1 var(--mono); color: var(--hud); -webkit-text-stroke: 3px #0c1a0c; paint-order: stroke; }
/* GTA 6 progress card (camp, shop) */
.cj-gta { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: #1b231d; color: var(--sand); box-shadow: 0 5px 0 rgba(10, 30, 26, .45); }
.cj-gta img { width: 92px; height: auto; transform: rotate(-6deg); }
.cj-gta h2 { font-size: 22px; color: #fff8ec; }
.cj-gta h2 em { font-style: normal; color: var(--flamingo); }
.cj-gta p { margin: 6px 0 0; font: 500 13px/1.4 var(--mono); }
.cj-gta .cj-bar { width: 100%; max-width: none; margin-top: 8px; }
.cj-gta .cj-btn { margin-top: 10px; }
.cj-tent-count { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 8px; background: #141a16; color: var(--flamingo); font: 500 15px/1 var(--mono); letter-spacing: .05em; }
@media (max-width: 720px) {
  .cj-brand span { display: inline; font-size: 19px; }
  .cj-hero { padding-top: 8svh; }
  .cj-head-b { font-size: 44px; }
  .cj-head-a { font-size: 22px; }
  .cj-prize { width: 170px; }
  .cj-prize img { width: 140px; }
  .cj-gta { grid-template-columns: 72px 1fr; }
  .cj-gta img { width: 72px; }
}
