/* Undeciphered.ca Standalone Cipher & Era Hub Editorial Stylesheet */
:root,
[data-theme="light"] {
  --ground: #F7F8FA;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-recessed: rgba(244, 246, 250, 0.96);
  --surface-hover: #EEF2F7;
  --border: rgba(15, 23, 42, 0.11);
  --border-strong: rgba(15, 23, 42, 0.19);
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #5B6B82;
  --accent: #D41C34;
  --accent-hover: #B5142A;
  --accent-text: #C41230;
  --accent-wash: rgba(212, 28, 52, 0.085);
  --notice-bg: linear-gradient(rgba(212, 28, 52, 0.065), rgba(212, 28, 52, 0.065)), rgba(255, 255, 255, 0.96);
  --accent-line: rgba(196, 18, 48, 0.42);
  --code-ink: #1754B8;
  --code-bg: rgba(23, 84, 184, 0.075);
  --link: #1754B8;
  --maple-blue: #1258C2;
  --shadow: 0 6px 26px rgba(15, 23, 42, 0.07);
  --bg-photo-opacity: 0.25;
  --bg-photo-filter: saturate(0.96) contrast(1.06);
  --bg-photo-blend: multiply;
  --sky-mist: linear-gradient(90deg, rgba(247, 248, 250, 0.06) 0%, rgba(247, 248, 250, 0.78) 20%, rgba(247, 248, 250, 0.91) 50%, rgba(247, 248, 250, 0.78) 80%, rgba(247, 248, 250, 0.06) 100%);
  --sky-mist-mobile: rgba(247, 248, 250, 0.80);
  --head-glow: 0 0 22px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 0.98), 0 0 4px rgba(255, 255, 255, 0.96);
  --head-glow-thin: 0 0 20px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 0.99), 0 0 3px rgba(255, 255, 255, 0.98);
  --pill-glow: 0 0 24px 6px rgba(255, 255, 255, 0.96), 0 0 10px 2px rgba(255, 255, 255, 0.92);
  --maple-glow: drop-shadow(0 0 7px rgba(255, 255, 255, 0.96));
  --aurora-blend: multiply;
  --aurora-opacity: 0.65;
  --aurora-c1: rgba(16, 185, 129, 0.095);
  --aurora-c2: rgba(56, 189, 248, 0.105);
  --aurora-c3: rgba(139, 92, 246, 0.085);
  --aurora-c4: rgba(244, 63, 94, 0.06);
  color-scheme: light;
}
[data-theme="dark"] {
  --ground: #0B0F17;
  --surface: rgba(16, 22, 34, 0.94);
  --surface-recessed: rgba(11, 16, 26, 0.94);
  --surface-hover: #171F2F;
  --border: rgba(255, 255, 255, 0.095);
  --border-strong: rgba(255, 255, 255, 0.17);
  --ink: #F4F6FA;
  --ink-2: #B8C2D2;
  --ink-3: #8492A8;
  --accent: #DC263C;
  --accent-hover: #F0374D;
  --accent-text: #FF7585;
  --accent-wash: rgba(239, 68, 84, 0.14);
  --notice-bg: linear-gradient(rgba(239, 68, 84, 0.14), rgba(239, 68, 84, 0.14)), rgba(16, 22, 34, 0.95);
  --accent-line: rgba(255, 117, 133, 0.50);
  --code-ink: #88C0FF;
  --code-bg: rgba(136, 192, 255, 0.11);
  --link: #88C0FF;
  --maple-blue: #7CC4FF;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.46);
  --bg-photo-opacity: 0.20;
  --bg-photo-filter: invert(1) hue-rotate(180deg) saturate(0.92) brightness(0.95);
  --bg-photo-blend: screen;
  --sky-mist: linear-gradient(90deg, rgba(11, 15, 23, 0.12) 0%, rgba(11, 15, 23, 0.72) 20%, rgba(11, 15, 23, 0.86) 50%, rgba(11, 15, 23, 0.72) 80%, rgba(11, 15, 23, 0.12) 100%);
  --sky-mist-mobile: rgba(11, 15, 23, 0.78);
  --head-glow: 0 0 20px rgba(5, 8, 14, 0.98), 0 0 10px rgba(5, 8, 14, 0.96), 0 0 3px rgba(5, 8, 14, 0.95);
  --head-glow-thin: 0 0 18px rgba(5, 8, 14, 1), 0 0 9px rgba(5, 8, 14, 0.98), 0 0 3px rgba(5, 8, 14, 0.96);
  --pill-glow: 0 0 24px 6px rgba(5, 8, 14, 0.92), 0 0 10px 2px rgba(5, 8, 14, 0.88);
  --maple-glow: drop-shadow(0 0 7px rgba(5, 8, 14, 0.92));
  --aurora-blend: screen;
  --aurora-opacity: 1;
  --aurora-c1: rgba(52, 211, 153, 0.19);
  --aurora-c2: rgba(56, 189, 248, 0.17);
  --aurora-c3: rgba(167, 139, 250, 0.15);
  --aurora-c4: rgba(244, 63, 94, 0.105);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
code {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 0.87em;
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: 4px;
  padding: 0.08em 0.35em;
  overflow-wrap: break-word;
}
.pub-title { font-weight: 600; color: var(--ink); }
.photo-backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--ground);
}
.bg-stage { position: absolute; inset: 0; overflow: hidden; }
.bg-layer {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; transform-origin: center center;
  opacity: var(--bg-photo-opacity); filter: var(--bg-photo-filter); mix-blend-mode: var(--bg-photo-blend);
  animation: ed-bg-drift 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ed-bg-drift {
  0% { transform: scale(1.09) translate3d(-1.8%, -0.9%, 0); }
  100% { transform: scale(1.16) translate3d(1.8%, 0.9%, 0); }
}
.aurora-veil {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  mix-blend-mode: var(--aurora-blend); opacity: var(--aurora-opacity);
  -webkit-mask-image: radial-gradient(ellipse 52% 58% at 50% 56%, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.78) 64%, rgba(0, 0, 0, 1) 100%);
  mask-image: radial-gradient(ellipse 52% 58% at 50% 56%, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.78) 64%, rgba(0, 0, 0, 1) 100%);
}
.aurora-ribbon { position: absolute; border-radius: 50%; filter: blur(56px); will-change: transform, opacity, filter; }
.aurora-ribbon--1 {
  top: -16%; left: -8%; width: 54vw; height: 46vh;
  background: radial-gradient(ellipse at 45% 45%, var(--aurora-c1) 0%, var(--aurora-c2) 45%, transparent 74%);
  animation: ed-aurora-1 13s ease-in-out infinite alternate;
}
.aurora-ribbon--2 {
  top: -10%; right: -10%; width: 50vw; height: 50vh;
  background: radial-gradient(ellipse at 55% 45%, var(--aurora-c3) 0%, var(--aurora-c2) 42%, transparent 74%);
  animation: ed-aurora-2 16s ease-in-out infinite alternate;
}
.aurora-ribbon--3 {
  bottom: 2%; right: -4%; width: 36vw; height: 40vh;
  background: radial-gradient(ellipse at 50% 50%, var(--aurora-c1) 0%, var(--aurora-c4) 48%, transparent 76%);
  animation: ed-aurora-twinkle 10s ease-in-out infinite alternate;
}
.aurora-ribbon--4 {
  bottom: 10%; left: -6%; width: 34vw; height: 36vh;
  background: radial-gradient(ellipse at 50% 50%, var(--aurora-c2) 0%, var(--aurora-c3) 50%, transparent 76%);
  animation: ed-aurora-twinkle 12s ease-in-out infinite alternate-reverse;
}
@keyframes ed-aurora-1 {
  0% { transform: translate3d(-3%, 0%, 0) scale(0.95, 1.04) rotate(-5deg); opacity: 0.45; }
  50% { transform: translate3d(5%, 4%, 0) scale(1.08, 0.96) rotate(3deg); opacity: 1; }
  100% { transform: translate3d(1%, -2%, 0) scale(1.00, 1.06) rotate(-2deg); opacity: 0.58; }
}
@keyframes ed-aurora-2 {
  0% { transform: translate3d(3%, 1%, 0) scale(1.05, 0.95) rotate(4deg); opacity: 0.90; }
  50% { transform: translate3d(-5%, 4%, 0) scale(0.94, 1.08) rotate(-4deg); opacity: 0.40; }
  100% { transform: translate3d(-1%, -2%, 0) scale(1.06, 1.00) rotate(2deg); opacity: 0.92; }
}
@keyframes ed-aurora-twinkle {
  0% { transform: translate3d(0, 0, 0) scale(0.92); opacity: 0.28; }
  50% { transform: translate3d(-3%, -4%, 0) scale(1.10); opacity: 0.88; }
  100% { transform: translate3d(3%, 2%, 0) scale(0.96); opacity: 0.38; }
}
.backdrop-mist { position: absolute; inset: 0; background: var(--sky-mist); }
@media (max-width: 899px) {
  .backdrop-mist { background: var(--sky-mist-mobile); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-layer, .aurora-ribbon { animation: none !important; }
  .bg-layer { transform: scale(1.04) !important; }
}
.page-shell { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; padding: 0 20px 80px; }
@media (min-width: 720px) { .page-shell { padding: 0 32px 104px; } }
.page-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 24px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 34px;
}
.brand-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.brand-link:hover { color: var(--ink); text-decoration: none; }
.maple-icon { width: 28px; height: 28px; flex-shrink: 0; filter: var(--maple-glow); }
.brand-text {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.15rem, 3.6vw, 1.55rem); font-weight: 800; letter-spacing: -0.03em;
  text-shadow: var(--head-glow);
}
.brand-text .dot { color: var(--accent-text); }
.nav-right { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--pill-glow);
  color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.nav-pill--hide-sm { display: none; }
@media (min-width: 560px) {
  .nav-right { gap: 8px; }
  .nav-pill { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .nav-pill--hide-sm { display: inline-flex; }
}
.nav-pill:hover { color: var(--ink); border-color: var(--ink-3); text-decoration: none; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-2); margin: 0 0 20px; text-shadow: var(--head-glow-thin);
}
.breadcrumb a { color: var(--ink); font-weight: 600; }
.kicker {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 12px;
  text-shadow: var(--head-glow-thin);
}
h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4.4vw, 2.48rem); font-weight: 800;
  letter-spacing: -0.018em; line-height: 1.16; margin: 0 0 18px; color: var(--ink);
  text-shadow: var(--head-glow);
}
.byline { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; text-shadow: var(--head-glow-thin); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
}
.pill--new { background: var(--notice-bg); color: var(--accent-text); border: 1px solid var(--accent-line); }
.pill--unsolved { background: var(--notice-bg); border: 1px dashed var(--accent-line); color: var(--accent-text); }
.pill--neutral { background: var(--surface); color: var(--ink-2); border: 1px solid var(--border-strong); }
.tag-row .pill { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--pill-glow); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 10px; background: var(--accent); color: #FFFFFF; font-size: 14.5px;
  font-weight: 700; border: 0; text-decoration: none;
}
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; text-decoration: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 14px;
  font-weight: 600; border: 1px solid var(--border-strong); cursor: pointer; text-decoration: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover { border-color: var(--accent-text); color: var(--accent-text); text-decoration: none; }
.cta-row .btn-primary, .cta-row .btn-secondary { box-shadow: var(--pill-glow); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); padding: 26px 24px; margin-bottom: 30px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card .kicker, .card h1, .card .context-copy { text-shadow: none; }
@media (min-width: 680px) { .card { padding: 32px 34px; } }
.card h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 16px; color: var(--ink);
}
.plain-prose {
  font-family: 'Source Serif 4', Georgia, serif; font-size: 18.5px; line-height: 1.75;
  color: var(--ink); margin: 0; white-space: pre-wrap;
}
.code-block {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 14px; line-height: 1.7;
  color: var(--code-ink); background: var(--surface-recessed); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 18px; margin: 0; overflow-wrap: break-word; white-space: pre-wrap;
}
.context-copy { font-size: 16px; line-height: 1.68; color: var(--ink-2); margin: 0; }
main > .context-copy { color: var(--ink); text-shadow: var(--head-glow-thin); }
.meta-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.meta-list li strong {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px;
}
.meta-list li span { font-size: 14.5px; color: var(--ink-2); line-height: 1.58; }
.related-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rel-card {
  display: flex; flex-direction: column; gap: 4px; padding: 15px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: inherit; text-decoration: none;
  box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.14s ease, transform 0.14s ease;
}
.rel-card:hover { border-color: var(--border-strong); transform: translateY(-1px); text-decoration: none; }
.rel-year { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; color: var(--accent-text); }
.rel-title { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.28; }
.rel-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.48; }
.hub-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.hub-item { border-bottom: 1px solid var(--border); }
.hub-link {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 0 16px; align-items: start;
  padding: 15px 8px; color: inherit; text-decoration: none; border-radius: 8px;
}
.hub-link:hover { background: var(--surface-hover); text-decoration: none; }
.hub-yr { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink-3); padding-top: 2px; }
.hub-t { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 3px; }
.hub-s { font-size: 14px; color: var(--ink-2); display: block; }
.hub-arr { color: var(--ink-3); font-size: 16px; padding-top: 2px; }
.timeline { list-style: none; margin: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--border-strong); display: flex; flex-direction: column; gap: 20px; }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--surface); border: 2.5px solid var(--accent-text);
}
.contrib-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 10px; }
.contrib-pct { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.contrib-pct--open { color: var(--accent-text); }
.contrib-meter { width: 100%; height: 7px; border-radius: 999px; background: var(--border-strong); overflow: hidden; margin-bottom: 16px; }
.contrib-meter-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #10B981, #38BDF8); }
.contrib-meter-fill--partial { background: linear-gradient(90deg, var(--accent), #F59E0B); }
.contrib-tl { list-style: none; margin: 0 0 16px; padding: 2px 0 2px 20px; border-left: 2px solid var(--border-strong); display: flex; flex-direction: column; gap: 14px; }
.contrib-tl li { position: relative; font-size: 14px; line-height: 1.52; color: var(--ink-2); }
.contrib-tl li::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--accent-text);
}
.contrib-tl li.is-complete::before { background: #10B981; border-color: #10B981; }
.contrib-step-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin-bottom: 3px; }
.contrib-actor { font-weight: 700; color: var(--ink); }
.contrib-handle { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--link); }
.contrib-badge { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--surface-recessed); border: 1px solid var(--border-strong); color: var(--ink-2); }
.contrib-date { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-3); margin-left: auto; }
.contrib-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-3); }
.notice-banner {
  padding: 20px 24px; border-radius: 14px; background: var(--notice-bg); border: 1px solid var(--accent-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow);
  font-size: 14.5px; line-height: 1.65; color: var(--ink); margin-bottom: 32px;
}
.submit-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
@media (min-width: 660px) { .submit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.submit-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 24px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.submit-tile h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.08rem; margin: 0 0 8px; color: var(--ink); }
.submit-tile p { font-size: 14px; line-height: 1.58; color: var(--ink-2); margin: 0; }
.pts-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; color: var(--accent-text); display: inline-block; margin-bottom: 8px; }
.challenge-list { display: flex; flex-direction: column; gap: 16px; }
.challenge-card {
  padding: 20px 22px; border-radius: 12px; background: var(--surface-recessed); border: 1px solid var(--border);
}
.challenge-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 6px; }
.challenge-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 0; }
.lb-wrap { overflow-x: auto; max-width: 100%; }
.lb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lb-hide-sm { display: none; }
@media (min-width: 540px) { .lb-hide-sm { display: table-cell; } }
.lb-table th {
  text-align: left; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3);
  padding: 10px 10px; border-bottom: 1px solid var(--border-strong);
}
.lb-table td { padding: 13px 10px; border-bottom: 1px solid var(--border); color: var(--ink-2); vertical-align: middle; }
.lb-table tr:last-child td { border-bottom: 0; }
.lb-rank { font-family: 'IBM Plex Mono', monospace; font-weight: 700; color: var(--ink); width: 52px; }
.lb-name { font-family: 'Bricolage Grotesque', 'Libre Franklin', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); display: block; }
.lb-sub { font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 13px; line-height: 1.45; color: var(--ink-3); display: block; margin-top: 3px; }
.lb-num { font-family: 'IBM Plex Mono', monospace; text-align: right; white-space: nowrap; }
.lb-pts { font-family: 'IBM Plex Mono', monospace; font-weight: 700; color: var(--accent-text); text-align: right; white-space: nowrap; }
.lb-empty-cta { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--surface-recessed); border: 1px dashed var(--border-strong); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.scoring-list {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px; line-height: 1.5; color: var(--ink-2);
}
.scoring-list li {
  display: flex; align-items: baseline; gap: 12px;
}
.scoring-pts {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  color: var(--accent-text); background: var(--accent-wash); border: 1px solid var(--accent-line);
  border-radius: 6px; padding: 2px 8px; min-width: 72px; text-align: center;
  flex-shrink: 0; white-space: nowrap;
}
.llm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.copy-spec-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface-recessed);
  color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.copy-spec-btn:hover { border-color: var(--accent-text); color: var(--accent-text); }
.page-footer {
  margin-top: 44px; padding: 24px 22px 22px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 13px; color: var(--ink-2); line-height: 1.65;
}
@media (min-width: 720px) { .page-footer { padding: 26px 30px 24px; } }
.page-footer > div:first-child { color: var(--ink); }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin: 14px 0; padding: 12px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.footer-links a { color: var(--ink-2); font-weight: 500; }
.footer-links a:hover { color: var(--accent-text); }
