  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  :root {
    color-scheme: dark;
    --bg-deep: #030510;
    --bg-mid: #0a0f1e;
    --card: rgba(15, 23, 42, 0.72);
    --card-inner: rgba(30, 41, 59, 0.35);
    --border: rgba(255, 255, 255, 0.1);
    --border-bright: rgba(251, 191, 36, 0.28);
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #fbbf24;
    --accent-dim: rgba(251, 191, 36, 0.14);
    --ok: #4ade80;
    --ok-bg: rgba(74, 222, 128, 0.12);
    --warn: #fb7185;
    --warn-bg: rgba(251, 113, 133, 0.12);
    --glow-amber: rgba(245, 158, 11, 0.45);
    --glow-rose: rgba(251, 113, 133, 0.2);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: ui-sans-serif, var(--font-sans);
  }

  * { box-sizing: border-box; }

  html { -webkit-font-smoothing: antialiased; }

  body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--bg-deep);
    background-image:
      radial-gradient(ellipse 120% 80% at 50% -30%, rgba(120, 53, 15, 0.35), transparent 55%),
      radial-gradient(circle at 12% 22%, var(--glow-amber), transparent 42%),
      radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.18), transparent 38%),
      radial-gradient(circle at 70% 88%, var(--glow-rose), transparent 45%),
      linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 32px);
    position: relative;
    overflow-x: hidden;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }

  body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }

  .orb {
    position: fixed;
    width: min(520px, 90vw);
    height: min(520px, 90vw);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: drift 18s ease-in-out infinite alternate;
  }
  .orb-a {
    top: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.5), transparent 70%);
  }
  .orb-b {
    bottom: -18%;
    right: -10%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35), transparent 70%);
    animation-delay: -6s;
  }
  @keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(24px, 18px) scale(1.06); }
  }

  .shell {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
  }

  .card {
    position: relative;
    border-radius: 24px;
    padding: clamp(22px, 4vw, 36px);
    background:
      linear-gradient(145deg, rgba(255,255,255,0.06) 0%, transparent 42%),
      var(--card);
    border: 1px solid var(--border);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.04) inset,
      0 1px 0 rgba(255,255,255,0.06) inset,
      0 32px 64px -12px rgba(0, 0, 0, 0.65),
      0 0 80px -20px rgba(245, 158, 11, 0.15);
    backdrop-filter: blur(20px) saturate(1.35);
  }

  .card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
      135deg,
      rgba(251, 191, 36, 0.45),
      rgba(255,255,255,0.08) 40%,
      rgba(99, 102, 241, 0.15) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }

  .lux-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .lux-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .lux-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(251,191,36,0.35), rgba(15,23,42,0.9));
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 20px rgba(251, 191, 36, 0.15);
    overflow: hidden;
  }
  .lux-mark img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
  }
  .lux-titles { min-width: 0; }
  .lux-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fcd34d;
    opacity: 0.9;
  }
  .lux-title {
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lux-badge {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a5b4fc;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(129, 140, 248, 0.35);
    background: rgba(79, 70, 229, 0.12);
  }

  .eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fde68a;
    background: var(--accent-dim);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 999px;
    padding: 7px 14px;
  }

  h1 {
    margin: 16px 0 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.65rem, 4.2vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, #ffffff 0%, #fef9c3 38%, #fbbf24 72%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(251, 191, 36, 0.15);
  }

  @supports not (background-clip: text) {
    h1 { color: #fef3c7; background: none; -webkit-text-fill-color: unset; }
  }

  p.lead {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    max-width: 62ch;
  }

  .grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
    gap: 14px;
  }

  a.tile {
    position: relative;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 16px;
    background: linear-gradient(165deg, rgba(30,41,59,0.65) 0%, rgba(15,23,42,0.4) 100%);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    overflow: hidden;
  }
  a.tile::after {
    content: "→";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(251, 191, 36, 0.55);
    transition: transform 0.22s ease, color 0.22s ease;
  }
  a.tile:hover {
    transform: translateY(-3px);
    border-color: var(--border-bright);
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(251, 191, 36, 0.12) inset;
  }
  a.tile:hover::after {
    transform: translate(3px, -50%);
    color: #fcd34d;
  }
  a.tile:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 3px;
  }

  .label {
    font-size: 11px;
    color: #fcd34d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
  }
  .value {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #f8fafc;
    padding-right: 22px;
  }

  .footer {
    margin-top: 22px;
    font-size: 12px;
    color: #a5b4fc;
    line-height: 1.55;
  }

  code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 12px;
    color: #e2e8f0;
  }

  .status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
  }

  .pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    letter-spacing: 0.01em;
  }
  .pill::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2.2s ease-in-out infinite;
  }
  .pill.ok {
    color: var(--ok);
    background: var(--ok-bg);
    border-color: rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 24px rgba(74, 222, 128, 0.12);
  }
  .pill.ok::before {
    background: var(--ok);
    box-shadow: 0 0 12px var(--ok);
  }
  .pill.bad {
    color: var(--warn);
    background: var(--warn-bg);
    border-color: rgba(251, 113, 133, 0.4);
    box-shadow: 0 0 24px rgba(251, 113, 133, 0.1);
  }
  .pill.bad::before {
    background: var(--warn);
    box-shadow: 0 0 12px var(--warn);
    animation: none;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.92); }
  }

  .meta {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-inner);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
  }
  .meta-row {
    display: grid;
    grid-template-columns: minmax(100px, 140px) 1fr;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
    transition: background 0.15s ease;
  }
  .meta-row:hover { background: rgba(255,255,255,0.03); }
  .meta-row:last-child { border-bottom: 0; }
  .meta-key {
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .meta-val {
    color: #f1f5f9;
    word-break: break-all;
    font-variant-numeric: tabular-nums;
  }

  .nav-inline {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-inline a {
    color: #fef3c7;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(251, 191, 36, 0.35);
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  }
  .nav-inline a:hover {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(253, 224, 71, 0.55);
    transform: translateY(-1px);
  }
  .nav-inline a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
  }
