/* =========================================================
   $NEMO — single-screen console
   A fixed radar/scope dial. No page scroll. Rotate to navigate.
   Inherits tokens, glow helpers & buttons from styles.css
   ========================================================= */

html, body { height: 100%; }
body { overflow: hidden; }                 /* the page never scrolls */

/* full-bleed fixed stage */
.console {
  position: fixed; inset: 0; z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  user-select: none;
}

/* corner brackets — terminal frame around the whole viewport */
.frame-corner {
  position: fixed; width: 26px; height: 26px; z-index: 30; pointer-events: none;
  border: 1px solid var(--line-2);
}
.frame-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.frame-corner.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.frame-corner.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.frame-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

/* ---------------- HUD bars ---------------- */
.hud { display: flex; align-items: center; gap: 16px; padding: 20px 30px; z-index: 20; }
.hud-top { justify-content: space-between; }
.hud-bottom { justify-content: space-between; align-items: flex-end; }

.hud-brand { display: flex; align-items: center; gap: 12px; }
.hud-brand .mark { font-weight: 800; letter-spacing: 0.16em; font-size: 19px; }
.hud-brand .sep { color: var(--ink-faint); }
.hud-brand .sub { color: var(--ink-faint); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; }

.hud-status { display: inline-flex; align-items: center; gap: 16px; font-size: 11.5px;
  letter-spacing: 0.16em; color: var(--ink-dim); text-transform: uppercase; }
.hud-status .live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.hud-status .live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 calc(9px * var(--glow)) var(--accent); animation: pulse 2.4s ease-in-out infinite;
}
.hud-status a { color: var(--ink-dim); transition: color .15s; }
.hud-status a:hover { color: var(--ink); }

/* bottom-left cluster: contract + buy */
.hud-actions { display: flex; align-items: center; gap: 12px; }

/* bottom-right cluster: gesture hint + stepper */
.hud-nav { display: flex; align-items: center; gap: 18px; }
.gesture-hint { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); text-align: right; line-height: 1.7; }
.gesture-hint kbd {
  font-family: var(--mono); color: var(--ink-dim); border: 1px solid var(--line-2);
  padding: 1px 6px; margin: 0 2px; font-size: 10px; border-radius: 2px;
}
.stepper { display: flex; align-items: center; gap: 8px; }
.step-btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-dim);
  cursor: pointer; font-family: var(--mono); font-size: 14px; transition: all .15s;
}
.step-btn:hover { border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 calc(14px * var(--glow)) color-mix(in oklab, var(--accent) 22%, transparent); }
.step-count { font-size: 13px; letter-spacing: 0.14em; color: var(--ink); min-width: 56px; text-align: center; }
.step-count .accent { color: var(--accent); }

/* ---------------- treasury meter (top-right) ---------------- */
.treasury-meter { position: fixed; top: 72px; right: 28px; z-index: 25; width: 214px;
  border: 1px solid var(--line-2); background: color-mix(in oklab, var(--panel) 84%, transparent);
  backdrop-filter: blur(8px); padding: 14px 16px; font-family: var(--mono);
  box-shadow: 0 0 calc(26px * var(--glow)) color-mix(in oklab, var(--accent) 10%, transparent); }
.tm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tm-live { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); }
.tm-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 calc(8px * var(--glow)) var(--accent); animation: pulse 2.4s ease-in-out infinite; }
.tm-row { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; }
.tm-asset { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-faint); }
.tm-val { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.tm-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px;
  padding-top: 10px; border-top: 1px solid var(--line); }
.tm-total-k { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.tm-total-v { font-size: 15px; font-weight: 700; color: var(--accent);
  text-shadow: 0 0 calc(8px * var(--glow)) color-mix(in oklab, var(--accent) 50%, transparent); }
@media (max-width: 1080px) { .treasury-meter { display: none; } }

/* ---------------- main: dial + readout ---------------- */
.main { display: grid; grid-template-columns: 1.04fr 0.96fr; align-items: center; min-height: 0; }
.dial-cell { display: flex; align-items: center; justify-content: center; min-height: 0; height: 100%;
  position: relative; }
.dial-core-wrap { position: relative; display: inline-flex; max-width: 100%; max-height: 100%; }
.core-token { position: absolute; top: 50%; left: 50%; width: 26%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; pointer-events: auto; cursor: pointer;
  filter: drop-shadow(0 0 calc(14px * var(--glow)) color-mix(in oklab, var(--accent) 26%, transparent));
  transition: filter .3s, transform .3s; }
.core-token:hover { transform: translate(-50%, -50%) scale(1.05);
  filter: drop-shadow(0 0 calc(24px * var(--glow)) color-mix(in oklab, var(--accent) 55%, transparent)); }
.core-token.on { filter: drop-shadow(0 0 calc(26px * var(--glow)) color-mix(in oklab, var(--accent) 55%, transparent)); }
.core-token img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.core-token-scan { position: absolute; left: 0; right: 0; height: 26%; top: -26%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--accent) 28%, transparent), transparent);
  mix-blend-mode: screen; animation: tokenscan 5s ease-in-out infinite; }
@keyframes tokenscan { 0% { top: -26%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .core-token-scan { display: none; } }
.dial-svg {
  height: min(86vh, 720px); width: auto; max-width: 100%; overflow: visible;
  touch-action: none; cursor: grab;
}
.dial-svg.grabbing { cursor: grabbing; }

/* dial bezel + scope */
.scope-bezel { fill: none; stroke: var(--line); stroke-width: 1; }
.scope-ticks line { stroke: var(--line-2); }
.scope-ticks line.major { stroke: color-mix(in oklab, var(--accent) 45%, transparent); }
.scope-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.scope-cross { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }

.orbit-ring { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.orbit-flow { fill: none; stroke: color-mix(in oklab, var(--accent) 55%, transparent);
  stroke-width: 1.4; stroke-dasharray: 3 13; }
.orbit-flow.spin { animation: ringspin 24s linear infinite; transform-origin: 300px 300px; }
@keyframes ringspin { to { transform: rotate(360deg); } }

/* radar sweep wedge */
.sweep { transform-origin: 300px 300px; animation: sweepspin 6.5s linear infinite; }
@keyframes sweepspin { to { transform: rotate(360deg); } }

/* travelling particles */
.dot-particle { fill: var(--accent); filter: drop-shadow(0 0 calc(5px * var(--glow)) var(--accent)); }

/* focus bracket at the dock (3 o'clock) */
.focus-bracket { stroke: var(--accent); stroke-width: 1.6; fill: none;
  filter: drop-shadow(0 0 calc(8px * var(--glow)) color-mix(in oklab, var(--accent) 55%, transparent)); }
.focus-tether { stroke: color-mix(in oklab, var(--accent) 50%, transparent); stroke-width: 1.2; stroke-dasharray: 2 5; }

/* spokes */
.spoke { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; transition: stroke .25s; }
.spoke.on { stroke: color-mix(in oklab, var(--accent) 70%, transparent); stroke-dasharray: none; }

/* nodes — small dots that light up in the accent when selected */
.node-hit { fill: transparent; cursor: pointer; }
.node-disc { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.4;
  transition: stroke .25s, fill .25s, filter .25s, r .25s; }
.node-label { fill: var(--ink-faint); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  transition: fill .25s; pointer-events: none; }
.node-num { fill: var(--ink-faint); font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  transition: fill .25s; pointer-events: none; }
.node-g:hover .node-disc { stroke: var(--accent); fill: color-mix(in oklab, var(--accent) 25%, var(--bg-2)); }
.node-g.on .node-disc { stroke: var(--accent); fill: var(--accent);
  filter: drop-shadow(0 0 calc(16px * var(--glow)) color-mix(in oklab, var(--accent) 75%, transparent)); }
.node-g.on .node-label { fill: var(--ink); }
.node-g.on .node-num { fill: var(--accent); }

/* ---------------- treasury core ---------------- */
.core-g { cursor: pointer; }
.core-halo { }
.core-disc { fill: var(--bg-2); stroke: color-mix(in oklab, var(--accent) 55%, transparent);
  stroke-width: 1.4; transition: stroke .25s, filter .25s; }
.core-g:hover .core-disc, .core-g.on .core-disc { stroke: var(--accent);
  filter: drop-shadow(0 0 calc(22px * var(--glow)) color-mix(in oklab, var(--accent) 45%, transparent)); }
.core-rim { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: 0.35; }
.core-rim.spin { animation: ringspin 40s linear infinite; transform-origin: 300px 300px; }
.core-img { transition: filter .25s; }
.core-g:hover .core-img, .core-g.on .core-img {
  filter: drop-shadow(0 0 calc(20px * var(--glow)) color-mix(in oklab, var(--accent) 55%, transparent)); }
.core-tint { fill: var(--accent); opacity: 0.06; mix-blend-mode: screen; pointer-events: none; transition: opacity .25s; }
.core-g:hover .core-tint, .core-g.on .core-tint { opacity: 0.16; }
.core-scan { fill: color-mix(in oklab, var(--accent) 20%, transparent); mix-blend-mode: screen; pointer-events: none; }
.core-label { fill: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.18em;
  text-shadow: 0 0 calc(10px * var(--glow)) color-mix(in oklab, var(--accent) 60%, transparent); }
.core-tick { fill: var(--ink-dim); font-size: 9.5px; letter-spacing: 0.16em; }

/* ---------------- readout panel ---------------- */
.panel-cell { padding: 0 clamp(20px, 5vw, 64px) 0 10px; min-height: 0; }
.readout { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 34px);
  max-height: 82vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.readout::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ro-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); }
.ro-eyebrow .idx { color: var(--accent); font-weight: 700; }
.ro-venue { margin-top: 12px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); max-width: 320px; }
.ro-title { font-size: clamp(28px, 4vw, 50px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 0.98; margin: 8px 0 0; }
.ro-line { color: var(--ink); font-size: clamp(14px, 1.4vw, 17px); margin: 12px 0 0; font-weight: 500; }
.ro-body { color: var(--ink-dim); font-size: clamp(12.5px, 1vw, 14.5px); line-height: 1.66; margin: 12px 0 0; max-width: 44ch; }
.ro-metrics { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.ro-metric { display: flex; flex-direction: column; gap: 5px; }
.ro-m-k { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.ro-m-v { font-size: 16px; color: var(--ink); font-weight: 600; }
.ro-flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ro-flow-pill { font-size: 10.5px; letter-spacing: 0.04em; padding: 8px 12px; border: 1px solid var(--line);
  color: var(--ink-dim); background: var(--bg-2); white-space: nowrap; cursor: pointer;
  font-family: var(--mono); transition: border-color .15s, color .15s; }
.ro-flow-pill:hover { border-color: var(--line-2); color: var(--ink); }
.ro-flow-pill.on { border-color: var(--accent); color: var(--accent); }

/* systems-online strip — the agent's live capability stack, under the readout */
.ro-systems { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.ro-sys-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); }
.sys-live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 calc(7px * var(--glow)) var(--accent); animation: sys-pulse 2s ease-in-out infinite; }
@keyframes sys-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.32; } }
.ro-sys-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sys-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: 0.06em;
  padding: 7px 11px; border: 1px solid var(--line); background: var(--bg-2); white-space: nowrap;
  color: var(--ink-dim); font-family: var(--mono); cursor: default; transition: border-color .15s, color .15s; }
.sys-chip:hover { border-color: var(--accent); color: var(--ink); }
.sys-g { color: var(--accent); font-size: 11px; text-shadow: 0 0 calc(6px * var(--glow)) var(--accent); }
.sys-t { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .sys-live { animation: none; } }

/* the readout animates as content rotates in — transform only, never hidden */
.readout.swap { animation: ro-rise .42s cubic-bezier(.2,.7,.2,1); }
@keyframes ro-rise { from { transform: translateY(12px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .readout.swap { animation: none; } }

/* principles list (treasury readout) */
.ro-principles { display: flex; flex-direction: column; gap: 0; margin-top: 22px;
  border-top: 1px solid var(--line); }
.ro-principle { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line); }
.ro-principle .k { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; }
.ro-principle .t { color: var(--ink); font-weight: 700; font-size: 14.5px; }
.ro-principle .d { color: var(--ink-dim); font-size: 12.5px; line-height: 1.6; margin-top: 4px; }

/* ---------------- buy overlay ---------------- */
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(7px);
  animation: ov-fade .25s ease; }
@keyframes ov-fade { from { opacity: 0; } to { opacity: 1; } }
.overlay-card { width: min(760px, 92vw); max-height: 88vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line-2); padding: 38px 40px;
  box-shadow: 0 0 90px rgba(0,0,0,0.7), 0 0 calc(40px * var(--glow)) color-mix(in oklab, var(--accent) 14%, transparent); }
.overlay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.overlay-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; }
.overlay-close { width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-dim); cursor: pointer;
  font-size: 16px; transition: all .15s; }
.overlay-close:hover { border-color: var(--accent); color: var(--accent); }
.ov-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin-top: 26px; }
.ov-step { background: var(--bg); padding: 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.ov-step .k { font-size: 26px; font-weight: 800; color: var(--ink-faint); letter-spacing: -0.02em; }
.ov-step .t { font-size: 15px; font-weight: 700; }
.ov-step .d { color: var(--ink-dim); font-size: 13px; line-height: 1.6; }
.ov-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.ov-ca { font-size: 12px; color: var(--ink-dim); border: 1px solid var(--line); background: var(--bg-2);
  padding: 11px 14px; word-break: break-all; flex: 1; min-width: 220px; }

/* ---------------- lore overlay ---------------- */
.lore-card { position: relative; width: min(900px, 94vw); max-height: 90vh; overflow: hidden auto;
  background: var(--panel); border: 1px solid var(--line-2); padding: 40px 44px;
  scrollbar-width: none;
  box-shadow: 0 0 120px rgba(0,0,0,0.75), 0 0 calc(46px * var(--glow)) color-mix(in oklab, var(--accent) 16%, transparent);
  animation: lore-card-in .4s cubic-bezier(.2,.7,.2,1); }
.lore-card::-webkit-scrollbar { display: none; }
@keyframes lore-card-in { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
.lore-close-btn { position: absolute; top: 18px; right: 18px; z-index: 3; }

/* one-shot decrypt scanline sweeping down the card */
.lore-scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 calc(16px * var(--glow)) var(--accent);
  animation: lore-sweep 1.1s ease-out forwards; }
@keyframes lore-sweep { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.lore-grid { display: grid; grid-template-columns: 200px 1fr; gap: 38px; align-items: start; }
.lore-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 0; }
.lore-token { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  filter: drop-shadow(0 0 calc(22px * var(--glow)) color-mix(in oklab, var(--accent) 45%, transparent)); }
.lore-token img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lore-id { display: flex; flex-direction: column; gap: 6px; }
.lore-id-name { font-size: 22px; font-weight: 800; letter-spacing: 0.04em; }
.lore-id-sub { font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.06em; }

.lore-main { min-width: 0; }
.lore-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 8px; }
.lore-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; line-height: 1; }
.lore-sub { display: block; margin-top: 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* dossier meta + facts */
.lore-meta { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.lore-meta-row { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.lore-meta-k { color: var(--ink-faint); letter-spacing: 0.16em; text-transform: uppercase; }
.lore-meta-v { color: var(--ink-dim); text-align: right; }
.lore-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px;
  opacity: 0; transform: translateY(12px); animation: lore-block-in .55s cubic-bezier(.2,.7,.2,1) forwards; }
.lore-fact { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); padding: 6px 11px;
  background: color-mix(in oklab, var(--accent) 7%, transparent); }

.lore-body { display: flex; flex-direction: column; }
.lore-block { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); animation: lore-block-in .6s cubic-bezier(.2,.7,.2,1) forwards; }
.lore-block:last-child { border-bottom: none; }
@keyframes lore-block-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lore-block, .lore-facts, .lore-quote, .lore-close { opacity: 1; transform: none; animation: none; } .lore-scanline { display: none; } }
.lore-n { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent);
  padding-top: 5px; border-top: 2px solid var(--accent); align-self: start; }
.lore-h { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.lore-d { color: var(--ink-dim); font-size: 14px; line-height: 1.74; margin: 8px 0 0; max-width: 58ch; }
.lore-bullets { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; max-width: 58ch; }
.lore-bullets li { position: relative; padding-left: 20px; color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; }
.lore-bullets li::before { content: "›"; position: absolute; left: 2px; top: -1px; color: var(--accent); font-weight: 700; }

/* pull-quote + closing */
.lore-quote { margin: 26px 0 0; padding: 22px 26px; border-left: 2px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 6%, transparent);
  opacity: 0; transform: translateY(16px); animation: lore-block-in .6s cubic-bezier(.2,.7,.2,1) forwards; }
.lore-quote p { margin: 0; font-size: clamp(16px, 1.8vw, 20px); font-weight: 500; color: var(--ink); line-height: 1.5; text-wrap: pretty; }
.lore-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); }
.lore-close { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); animation: lore-block-in .6s cubic-bezier(.2,.7,.2,1) forwards; }
.lore-close p { margin: 0; color: var(--ink-dim); font-size: 14px; line-height: 1.7; max-width: 58ch; }
.lore-tagline { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.lore-tagline span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  position: relative; padding-left: 16px; }
.lore-tagline span::before { content: "◆"; position: absolute; left: 0; color: var(--accent); font-size: 8px; top: 4px; }

@media (max-width: 720px) {
  .lore-card { padding: 30px 24px; }
  .lore-grid { grid-template-columns: 1fr; gap: 24px; }
  .lore-aside { flex-direction: row; align-items: center; position: static; }
  .lore-token { width: 96px; flex: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 920px) {
  .main { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; gap: 6px; }
  .dial-svg { height: min(46vh, 380px); }
  .panel-cell { padding: 0 22px 6px; }
  .readout { border-left: none; border-top: 1px solid var(--line); padding: 16px 0 0; max-height: 34vh; }
  .ro-title { font-size: clamp(24px, 7vw, 34px); }
  .gesture-hint { display: none; }
  .hud { padding: 14px 18px; }
  .hud-brand .sub { display: none; }
}
@media (max-width: 560px) {
  .ov-steps { grid-template-columns: 1fr; }
  .hud-status .ticker { display: none; }
}
