/* ════════════════════════════════════════════════════════════════
   ACHIEVEMENTS — in-app gallery, signed-out landing, unlock overlay.
   Quartet v6 design system. Namespace: .ach-*   Root scope: .ach
   Only the medallion skin is shipped.
   ════════════════════════════════════════════════════════════════ */

.ach-page { max-width: 1240px; margin: 0 auto; padding: 30px 32px 96px; }

.ach {
  --ach-radius: 12px;
  --amber: var(--quartet-amber);
  --coral: var(--quartet-coral);
  --indigo: var(--quartet-indigo);
  --cyan: var(--quartet-cyan);
  --cyan-2: var(--quartet-cyan-2);
  --pos: var(--quartet-pos);
  --pos-2: var(--quartet-pos-2);
  --violet: var(--quartet-violet);
  --warn-2: color-mix(in srgb, var(--quartet-amber), white 18%);
  font-family: var(--font-quartet);
  color: var(--ink-deep);
}

/* ── Hue mapping ─────────────────────────────────────────────── */
.ach [data-hue="amber"]  { --h: var(--amber);  --h-2: var(--warn-2);  --h-deep: #4a3414; --h-fill: rgba(255,198,109,.13); --h-border: rgba(255,198,109,.42); }
.ach [data-hue="coral"]  { --h: var(--coral);  --h-2: #ffb79c;        --h-deep: #4a2a1c; --h-fill: rgba(255,155,122,.13); --h-border: rgba(255,155,122,.42); }
.ach [data-hue="indigo"] { --h: var(--indigo); --h-2: #aab8ff;        --h-deep: #20264e; --h-fill: rgba(138,159,255,.13); --h-border: rgba(138,159,255,.42); }
.ach [data-hue="cyan"]   { --h: var(--cyan);   --h-2: var(--cyan-2);  --h-deep: #103840; --h-fill: rgba(109,212,220,.13); --h-border: rgba(109,212,220,.42); }
.ach [data-hue="pos"]    { --h: var(--pos);    --h-2: var(--pos-2);   --h-deep: #103a2a; --h-fill: rgba(109,212,158,.13); --h-border: rgba(109,212,158,.42); }
.ach [data-hue="violet"] { --h: var(--violet); --h-2: #ccb0ff;        --h-deep: #2e2150; --h-fill: rgba(184,141,255,.13); --h-border: rgba(184,141,255,.42); }

/* ── Tier metals ─────────────────────────────────────────────── */
.ach [data-tier="gold"]   { --metal: conic-gradient(from 218deg, #fff3cf, #e9c264 18%, #a8741f 38%, #ffeaa8 58%, #cf9f3c 78%, #fff3cf); --metal-edge: rgba(255,236,176,.55); --tier-ink: var(--amber); }
.ach [data-tier="silver"] { --metal: conic-gradient(from 218deg, #ffffff, #c4cdd9 18%, #828c9c 38%, #eef2f7 58%, #a7b1bf 78%, #ffffff); --metal-edge: rgba(238,242,247,.55); --tier-ink: #cfd6e2; }
.ach [data-tier="bronze"] { --metal: conic-gradient(from 218deg, #f7dabb, #d2965f 18%, #8a5630 38%, #f0c79e 58%, #b97a47 78%, #f7dabb); --metal-edge: rgba(247,218,187,.5); --tier-ink: #e0a877; }

/* ════════════════ OVERVIEW / TROPHY ROOM ═══════════════════════ */
.ach-head { margin-bottom: 26px; }
.ach-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; color: var(--muted-deep); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.20em; margin-bottom: 16px;
}
.ach-eyebrow .sep { color: var(--faint-deep); }
.ach-title { margin: 0; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.ach-title-sub { margin: 10px 0 0; font-size: 15px; color: var(--muted-deep); max-width: 60ch; line-height: 1.5; }

.ach-overview {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr) 1px minmax(240px, 0.9fr);
  align-items: center; gap: 30px;
  padding: 28px 32px;
  background: var(--surface-deep);
  border: 1px solid var(--line-deep-2);
  border-radius: var(--ach-radius);
  margin-bottom: 34px;
}
.ach-overview .divider { align-self: stretch; background: var(--line-deep-2); }

/* Progress ring */
.ach-ring { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.ach-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ach-ring .track { fill: none; stroke: var(--surface-deep-hi); stroke-width: 9; }
.ach-ring .prog  { fill: none; stroke: url(#achRingGrad); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.7,.2,1); }
.ach-ring .ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ach-ring .pct { font-family: var(--font-quartet-mono); font-size: 32px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink-deep); line-height: 1; }
.ach-ring .pct sup { font-size: 14px; color: var(--muted-deep); margin-left: 1px; }
.ach-ring .lbl { font-size: 9.5px; color: var(--muted-deep); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .ach-ring .prog { transition: none; }
}

/* Center stats column */
.ach-ov-stats { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ach-ov-points { display: flex; align-items: baseline; gap: 12px; }
.ach-ov-points .v { font-family: var(--font-quartet-mono); font-size: 46px; font-weight: 500; letter-spacing: -0.045em; color: var(--ink-deep); line-height: 0.9; }
.ach-ov-points .u { font-size: 11px; color: var(--muted-deep); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; }
.ach-ov-points .of { font-family: var(--font-quartet-mono); font-size: 13px; color: var(--muted-deep-2); }
.ach-tier-counts { display: flex; gap: 8px; flex-wrap: wrap; }
.ach-tier-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 8px; border-radius: 999px;
  background: var(--surface-deep); border: 1px solid var(--line-deep-2);
  font-size: 11px; color: var(--ink-deep-2); font-weight: 500;
}
.ach-tier-pill .coin {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--metal); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.ach-tier-pill b { font-family: var(--font-quartet-mono); color: var(--ink-deep); font-weight: 500; }
.ach-tier-pill .tn { text-transform: uppercase; letter-spacing: 0.10em; font-size: 10px; color: var(--muted-deep); }

/* Next-up card */
.ach-nextup { min-width: 0; }
.ach-nextup .nu-label { font-size: 10px; color: var(--muted-deep); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; margin-bottom: 12px; }
.ach-nextup-card { display: flex; align-items: center; gap: 14px; }
.ach-nextup-card .nu-art { flex-shrink: 0; }
.ach-nextup-body { min-width: 0; flex: 1; }
.ach-nextup-body .nu-name { font-size: 15px; font-weight: 600; color: var(--ink-deep); letter-spacing: -0.01em; }
.ach-nextup-body .nu-desc { font-size: 11.5px; color: var(--muted-deep); margin-top: 2px; line-height: 1.4; }
.ach-nextup-prog { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ach-nextup-prog .bar { position: relative; flex: 1; height: 5px; border-radius: 999px; background: var(--surface-deep-hi); overflow: hidden; }
.ach-nextup-prog .bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--h); border-radius: 999px; box-shadow: 0 0 10px var(--h-fill); }
.ach-nextup-prog .pl { font-family: var(--font-quartet-mono); font-size: 11px; color: var(--h-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Category anchor nav ────────────────────────────────────── */
.ach-nav {
  position: sticky; top: calc(var(--nav-height) + 1rem); z-index: 30;
  display: flex; gap: 3px; padding: 5px;
  margin-bottom: 30px;
  background: rgba(10,13,20,0.82);
  border: 1px solid var(--line-deep-2);
  border-radius: 10px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  overflow-x: auto; scrollbar-width: none;
}
.ach-nav::-webkit-scrollbar { display: none; }
.ach-nav a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 7px;
  color: var(--muted-deep); font-size: 11.5px; font-weight: 500;
  text-decoration: none; white-space: nowrap; transition: all .15s;
}
.ach-nav a:hover { color: var(--ink-deep); background: var(--surface-deep); }
.ach-nav a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--h); flex-shrink: 0; }
.ach-nav a .ct { font-family: var(--font-quartet-mono); font-size: 10.5px; color: var(--muted-deep-2); }

/* ════════════════ CATEGORY SECTIONS ═══════════════════════════ */
.ach-cat { margin-bottom: 44px; scroll-margin-top: calc(var(--nav-height) + 4rem); }
.ach-cat-head {
  display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center;
  gap: 16px; padding-bottom: 16px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line-deep-2);
}
.ach-cat-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--h-fill); border: 1px solid var(--h-border); color: var(--h);
}
.ach-cat-icon svg { width: 22px; height: 22px; }
.ach-cat-titles { min-width: 0; }
.ach-cat-titles h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-deep); }
.ach-cat-titles p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted-deep); line-height: 1.4; }
.ach-cat-count { text-align: right; flex-shrink: 0; }
.ach-cat-count .cc-frac { font-family: var(--font-quartet-mono); font-size: 17px; color: var(--ink-deep); letter-spacing: -0.02em; }
.ach-cat-count .cc-frac b { color: var(--h); }
.ach-cat-count .cc-lbl { display: block; font-size: 9.5px; color: var(--muted-deep); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; margin-top: 3px; }

/* ── Grid ──────────────────────────────────────────────────── */
.ach-grid { display: grid; gap: 14px; }
.ach-grid.is-medallion { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }

/* ════════════════ ACHIEVEMENT CARD ═══════════════════════════ */
.ach-card {
  position: relative;
  background: var(--surface-deep);
  border: 1px solid var(--line-deep-2);
  border-radius: var(--ach-radius);
  transition: border-color .18s, background .18s, transform .18s;
}
.ach-card.earned:hover { border-color: var(--h-border); transform: translateY(-2px); }
.ach-card.locked { background: var(--surface-deep); }
.ach-card.locked:hover { border-color: var(--line-deep-2); }

/* Medallion cards: vertical, centered */
.is-medallion .ach-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 18px 20px;
}
.is-medallion .ach-card .ach-body { display: contents; }
.is-medallion .ach-name { margin-top: 16px; }

/* Name / meta */
.ach-name { font-size: 14.5px; font-weight: 600; color: var(--ink-deep); letter-spacing: -0.01em; line-height: 1.2; }
.ach-card.locked .ach-name { color: var(--ink-deep-2); }
.ach-desc { font-size: 11.5px; color: var(--muted-deep); line-height: 1.45; margin-top: 6px; }

.ach-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.ach-tier-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tier-ink);
}
.ach-pts {
  font-family: var(--font-quartet-mono); font-size: 11px; font-weight: 500;
  color: var(--ink-deep-2); font-variant-numeric: tabular-nums;
  padding: 3px 7px; border-radius: 5px; background: var(--surface-deep); border: 1px solid var(--line-deep-2);
}
.ach-card.earned .ach-pts { color: var(--h-2); border-color: var(--h-border); background: var(--h-fill); }
.ach-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint-deep); }
.ach-date { font-size: 10.5px; color: var(--muted-deep-2); font-family: var(--font-quartet-mono); }

/* Locked progress bar */
.ach-prog { width: 100%; margin-top: 12px; }
.ach-prog .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ach-prog .pl { font-family: var(--font-quartet-mono); font-size: 10.5px; color: var(--h-2); font-variant-numeric: tabular-nums; }
.ach-prog .pp { font-family: var(--font-quartet-mono); font-size: 10.5px; color: var(--muted-deep-2); }
.ach-prog .bar { position: relative; height: 5px; border-radius: 999px; background: var(--surface-deep-hi); overflow: hidden; }
.ach-prog .bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--h); opacity: .85; border-radius: 999px; }

/* ════════════════ THE ART (medallion) ═══════════════════════ */
.ach-art { position: relative; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* glow behind earned art */
.ach-art .glow {
  position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, var(--h-fill), transparent 68%);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.ach-art.earned .glow { opacity: 1; }

.ach-art .metal {
  position: absolute; inset: 0;
  background: var(--metal);
  box-shadow: inset 0 0 0 1.5px var(--metal-edge), inset 0 -7px 13px rgba(0,0,0,.4), 0 8px 22px -9px rgba(0,0,0,.75);
}
.ach-art .metal::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(255,255,255,.55), transparent 42%);
  opacity: .55; mix-blend-mode: screen;
}
.ach-art .face {
  position: absolute; inset: 8px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 38% 30%, color-mix(in oklab, var(--h) 42%, #0b0e16), #0a0d14 80%);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.14), inset 0 -9px 18px rgba(0,0,0,.55);
}
.ach-art .face svg { width: 42%; height: 42%; color: var(--h-2); }
.ach-art .face .qmark { font-family: var(--font-quartet-mono); font-size: 30px; font-weight: 500; color: var(--muted-deep); }

/* lock chip */
.ach-art .lockchip {
  position: absolute; right: -2px; bottom: -2px;
  width: 26px; height: 26px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: var(--surface-deep-hi); border: 1.5px solid var(--bg-deep);
  color: var(--muted-deep-2);
}
.ach-art .lockchip svg { width: 13px; height: 13px; }
.ach-art.locked .lockchip { display: flex; }

/* Locked: drain the metal to cold steel, darken the face */
.ach-art.locked .metal {
  background: conic-gradient(from 218deg, #3c4456, #262d3b 30%, #4a546a 50%, #2b3340 70%, #20283a, #3c4456);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 -6px 12px rgba(0,0,0,.45), 0 6px 16px -9px rgba(0,0,0,.7);
}
.ach-art.locked .metal::after { opacity: .25; }
.ach-art.locked .face { background: radial-gradient(circle at 40% 32%, #1b2230, #11151d 82%); }
.ach-art.locked .face svg { color: var(--muted-deep-2); opacity: .65; }

/* Medallion skin */
.is-medallion .ach-art { width: 94px; height: 94px; }
.is-medallion .ach-art .metal, .is-medallion .ach-art .face { border-radius: 50%; }
.is-medallion .ach-art .metal::after { border-radius: 50%; }

/* next-up art is always a small medallion */
.nu-art .ach-art { width: 50px; height: 50px; }
.nu-art .ach-art .metal, .nu-art .ach-art .face, .nu-art .ach-art .metal::after { border-radius: 50%; }
.nu-art .ach-art .face { inset: 5px; }

/* ════════════════ SIGNED-OUT LANDING ═══════════════════════ */
.ach-land { max-width: 1080px; margin: 0 auto; padding: 64px 32px 96px; }
.ach-land-hero { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.ach-land-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; color: var(--quartet-cyan); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 22px;
  padding: 6px 13px; border-radius: 999px; background: var(--quartet-cyan-fill); border: 1px solid var(--quartet-cyan-border);
}
.ach-land-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--quartet-cyan); }
.ach-land h1 { margin: 0 0 18px; font-size: 56px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.ach-land h1 em { font-style: normal; color: var(--quartet-cyan); }
.ach-land-sub { font-size: 18px; color: var(--muted-deep); line-height: 1.5; max-width: 52ch; margin: 0 auto; }

/* hero medallion showcase */
.ach-showcase { display: flex; align-items: flex-end; justify-content: center; gap: 22px; margin: 52px 0; }
.ach-showcase .sc-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ach-showcase .sc-item.lift { margin-bottom: 26px; }
.ach-showcase .sc-name { font-size: 11px; color: var(--muted-deep); font-weight: 500; letter-spacing: 0.02em; }
.ach-showcase .ach-art { width: 86px; height: 86px; }
.ach-showcase .sc-item.hero .ach-art { width: 118px; height: 118px; }
.ach-showcase .ach-art .metal, .ach-showcase .ach-art .face, .ach-showcase .ach-art .metal::after { border-radius: 50%; }
.ach-showcase .ach-art .face { inset: 8px; }
.ach-showcase .ach-art .glow { opacity: 1; }

.ach-land-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ach-btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--quartet-cyan); color: #04141a; font-family: inherit;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  transition: background .15s, transform .15s;
}
.ach-btn-primary:hover { background: var(--quartet-cyan-2); transform: translateY(-1px); }
.ach-btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }
.ach-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-deep-2); color: var(--ink-deep);
  font-family: inherit; font-size: 14px; font-weight: 500; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.ach-btn-ghost:hover { border-color: var(--quartet-cyan); background: var(--surface-deep); }
.ach-land-reassure { text-align: center; font-size: 13px; color: var(--muted-deep); }
.ach-land-reassure a { color: var(--quartet-cyan); text-decoration: none; font-weight: 500; }
.ach-land-reassure a:hover { text-decoration: underline; }

.ach-land-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 72px; }
.ach-feature {
  padding: 26px 24px; background: var(--surface-deep); border: 1px solid var(--line-deep-2); border-radius: var(--ach-radius);
}
.ach-feature .fic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--h-fill); border: 1px solid var(--h-border); color: var(--h); margin-bottom: 18px; }
.ach-feature .fic svg { width: 21px; height: 21px; }
.ach-feature h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.ach-feature p { margin: 0; font-size: 12.5px; color: var(--muted-deep); line-height: 1.5; }

/* ════════════════ DASHBOARD UNLOCK OVERLAY ═════════════════ */
.ach-ovl-scrim {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(circle at 50% 38%, rgba(12,16,26,.72), rgba(6,8,13,.92));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ach-modal {
  position: relative; width: 100%; max-width: 600px;
  background: var(--surface-deep-2);
  border: 1px solid var(--line-deep-2); border-radius: 18px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 32px 32px 28px; overflow: hidden;
}
.ach-modal-x {
  position: absolute; top: 18px; right: 18px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-deep-2); border-radius: 8px;
  color: var(--muted-deep); cursor: pointer; transition: all .15s;
}
.ach-modal-x:hover { color: var(--ink-deep); border-color: var(--line-deep-2); background: var(--surface-deep); }
.ach-modal-head { text-align: center; margin-bottom: 22px; }
.ach-modal-head .burst {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px;
  background: var(--quartet-amber-dim); color: var(--quartet-amber);
}
.ach-modal-head .burst svg { width: 24px; height: 24px; }
.ach-modal-head h2 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.ach-modal-head h2 b { color: var(--quartet-amber); }
.ach-modal-head p { margin: 7px 0 0; font-size: 13px; color: var(--muted-deep); }
.ach-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-deep-2); }
.ach-modal-foot .tally { font-size: 12px; color: var(--muted-deep); }
.ach-modal-foot .tally b { font-family: var(--font-quartet-mono); color: var(--ink-deep); font-weight: 500; }
.ach-modal-foot .acts { display: flex; gap: 10px; }
.ach-modal-foot .reveal-all { background: transparent; border: 1px solid var(--line-deep-2); color: var(--ink-deep-2); padding: 9px 16px; border-radius: 8px; font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: all .15s; }
.ach-modal-foot .reveal-all:hover { border-color: var(--quartet-cyan); color: var(--ink-deep); }

/* reveal grid */
.ach-reveal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; }
.ach-reveal { position: relative; aspect-ratio: 3 / 4; cursor: pointer; }
.ach-reveal-face {
  position: absolute; inset: 0;
  border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--line-deep-2);
}
.ach-reveal-front {
  background: var(--surface-deep); gap: 10px; color: var(--muted-deep-2);
  background-image: radial-gradient(circle at 50% 42%, rgba(255,255,255,.03), transparent 60%);
  transition: border-color .15s, color .15s, transform .15s;
}
.ach-reveal-front .lk { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-deep-hi); display: flex; align-items: center; justify-content: center; }
.ach-reveal-front .lk svg { width: 15px; height: 15px; }
.ach-reveal-front .tap { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; text-align: center; }
.ach-reveal:hover .ach-reveal-front { border-color: var(--line-deep-2); color: var(--ink-deep-2); transform: translateY(-3px); }

.ach-reveal-back {
  background: var(--surface-deep); padding: 12px 8px; gap: 0; text-align: center;
  border-color: var(--h-border); justify-content: flex-start;
  opacity: 1;
  animation: achReveal .4s cubic-bezier(.34,1.35,.5,1);
}
@keyframes achReveal {
  0%   { transform: scale(.66); }
  100% { transform: scale(1); }
}
.ach-reveal-back .r-art { margin: 4px 0 8px; }
.ach-reveal-back .r-art .ach-art { width: 52px; height: 52px; }
.ach-reveal-back .r-art .ach-art .metal, .ach-reveal-back .r-art .ach-art .face, .ach-reveal-back .r-art .ach-art .metal::after { border-radius: 50%; }
.ach-reveal-back .r-art .ach-art .face { inset: 5px; }
.ach-reveal-back .r-art .ach-art .glow { opacity: 1; }
.ach-reveal-back .r-name { font-size: 11px; font-weight: 600; color: var(--ink-deep); line-height: 1.2; }
.ach-reveal-back .r-meta { margin-top: 5px; display: flex; align-items: center; gap: 5px; justify-content: center; }
.ach-reveal-back .r-meta .t { font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tier-ink); }
.ach-reveal-back .r-meta .p { font-family: var(--font-quartet-mono); font-size: 9.5px; color: var(--h-2); }

/* ── Loading / disabled states ─────────────────────────────── */
.ach-loading, .ach-disabled-cta {
  text-align: center; padding: 48px 24px;
  color: var(--muted-deep);
}
.ach-disabled-cta .ach-btn-primary { margin-top: 16px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .ach-overview { grid-template-columns: auto 1px minmax(0,1fr); }
  .ach-overview .divider:last-of-type, .ach-nextup { display: none; }
  .ach-land-features { grid-template-columns: repeat(2, 1fr); }
  .ach-land h1 { font-size: 44px; }
}
@media (max-width: 680px) {
  .ach-page { padding: 22px 16px 72px; }
  .ach-overview { grid-template-columns: 1fr; }
  .ach-overview .divider { display: none; }
  .ach-ring { margin: 0 auto; }
  .ach-ov-stats { align-items: center; text-align: center; }
  .ach-tier-counts { justify-content: center; }
  .ach-land { padding: 40px 18px 72px; }
  .ach-land h1 { font-size: 34px; }
  .ach-land-features { grid-template-columns: 1fr; }
  .ach-showcase { gap: 12px; }
  .ach-showcase .sc-item.hero .ach-art { width: 92px; height: 92px; }
  .ach-title { font-size: 30px; }
  .ach-ov-points .v { font-size: 34px; }
}
