/* the page styles of the old /bis/ page, moved out of the HTML so every spec page shares one cached copy */
  :root{
    --ink: #120f0d; --surface: #1b1613; --surface-2: #241d19; --line: #3a2f28; --line-soft: rgba(168,154,142,0.16);
    --text: #f3ece3; --muted: #a89a8e; --faint: #6f6459; --legendary: #ff8000; --legendary-bright: #ffa23d; --legendary-dim: rgba(255,128,0,0.14);
    --epic: #c649ff; --wow-legendary: #ff8000;
    color-scheme: dark;
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  @media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; } }
  body{ margin:0; background:var(--ink); color:var(--text); font-family:"Chakra Petch", ui-sans-serif, system-ui, sans-serif; font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
  h1,h2,h3{ font-family:"Russo One","Chakra Petch",sans-serif; text-wrap:balance; margin:0; letter-spacing:0.01em; }
  p{ margin:0; } a{ color:inherit; text-decoration:none; } ul{ margin:0; padding:0; list-style:none; } button{ font-family:inherit; }
  .wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
  @media (max-width:720px){ .wrap{ padding:0 20px; } }
  section{ border-top:1px solid var(--line-soft); }
  section:first-of-type{ border-top:none; }
  .pad{ padding:68px 0; position:relative; }
  @media (max-width:720px){ .pad{ padding:44px 0; } }
  .pad > .wrap{ position:relative; z-index:2; }

  .eyebrow{ display:inline-flex; align-items:center; gap:9px; font-size:11.5px; font-weight:600; letter-spacing:0.22em; text-transform:uppercase; color:var(--legendary-bright); margin-bottom:16px; }
  .eyebrow .gem{ width:8px; height:8px; flex-shrink:0; }
  .gem{ display:inline-block; } .gem svg{ display:block; width:100%; height:100%; }

  .skip-link{ position:absolute; left:12px; top:-48px; z-index:200; background:var(--legendary); color:#1a0d00; font-weight:700; font-size:13px; padding:10px 16px; transition:top 0.15s ease; }
  .skip-link:focus{ top:12px; }
  a:focus-visible, button:focus-visible, select:focus-visible{ outline:2px solid var(--legendary-bright); outline-offset:3px; }
  .scroll-rail{ position:fixed; top:0; left:0; height:2.5px; width:0%; background:var(--legendary); z-index:100; box-shadow:0 0 8px var(--legendary); }

  /* ---------- breadcrumb navigation ---------- */
  .breadcrumb-bar{ padding:14px 0; border-bottom:1px solid var(--line-soft); position:relative; z-index:1; }
  .breadcrumb-bar .wrap{ display:flex; align-items:center; flex-wrap:wrap; gap:7px; font-size:11.5px; letter-spacing:0.02em; }
  .breadcrumb-bar a{ color:var(--muted); transition:color 0.15s ease; }
  .breadcrumb-bar a:hover{ color:var(--legendary-bright); }
  .breadcrumb-bar .crumb-sep{ color:var(--faint); opacity:0.6; }
  .breadcrumb-bar .crumb-current{ color:var(--text); font-weight:600; white-space:normal; }

  header{ position:sticky; top:0; z-index:90; background:rgba(18,15,13,0.88); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid var(--line-soft); }
  header .bar{ display:flex; align-items:center; justify-content:space-between; height:72px; gap:16px; }
  .brand{ display:flex; align-items:center; gap:10px; font-family:"Russo One",sans-serif; font-size:18px; letter-spacing:0.06em; flex-shrink:0; }
  .brand .gem{ width:22px; height:22px; }
  nav.primary{ display:flex; align-items:center; gap:24px; }
  nav.primary a{ font-size:12.5px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); padding:4px 2px; border-bottom:2px solid transparent; transition:color 0.15s ease, border-color 0.15s ease; }
  nav.primary a:hover, nav.primary a.current{ color:var(--text); border-color:var(--legendary); }
  .nav-item-dropdown{ position:relative; }
  .nav-dropdown-trigger{ display:inline-flex; align-items:center; gap:5px; font-family:inherit; font-size:12.5px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); background:none; border:none; border-bottom:2px solid transparent; padding:4px 2px; cursor:pointer; transition:color 0.15s ease, border-color 0.15s ease; }
  .nav-dropdown-trigger:hover, .nav-dropdown-trigger.current{ color:var(--text); border-color:var(--legendary); }
  .nav-caret{ width:9px; height:9px; flex-shrink:0; transition:transform 0.15s ease; }
  .nav-dropdown-trigger[aria-expanded="true"] .nav-caret{ transform:rotate(180deg); }
  .nav-dropdown-panel{ position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%) translateY(-6px); min-width:232px; background:var(--surface); border:1px solid var(--line); box-shadow:0 18px 40px rgba(0,0,0,0.45); padding:8px; display:flex; flex-direction:column; gap:1px; z-index:95; opacity:0; visibility:hidden; pointer-events:none; transition:opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; }
  .nav-dropdown-panel.open{ opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0); }
  .nav-dropdown-panel a{ display:block; padding:10px 12px; font-size:12.5px; font-weight:600; letter-spacing:0.03em; text-transform:none; color:var(--muted); white-space:nowrap; }
  .nav-dropdown-panel a:hover{ color:var(--text); background:rgba(255,128,0,0.08); }
  .nav-dropdown-panel a.all-guides, .nav-dropdown-panel a.all-games, .nav-dropdown-panel a.all-bis{ color:var(--legendary-bright); font-weight:700; border-bottom:1px solid var(--line-soft); margin-bottom:4px; padding-bottom:12px; }
  .header-actions{ display:flex; align-items:center; gap:14px; }
  .nav-toggle{ display:none; background:none; border:1px solid var(--line); color:var(--text); width:40px; height:40px; align-items:center; justify-content:center; cursor:pointer; }
  .nav-toggle svg{ width:18px; height:18px; }
  @media (max-width:860px){
    nav.primary{ position:fixed; inset:72px 0 auto 0; background:var(--ink); border-bottom:1px solid var(--line); flex-direction:column; align-items:flex-start; gap:0; padding:8px 20px 18px; opacity:0; pointer-events:none; }
    nav.primary.open{ pointer-events:auto; }
    .rn-static nav.primary.open{ opacity:1; }
    nav.primary a{ width:100%; padding:13px 0; border-bottom:1px solid var(--line-soft); }
    .nav-item-dropdown{ width:100%; }
    .nav-dropdown-trigger{ width:100%; justify-content:space-between; padding:13px 0; border-bottom:1px solid var(--line-soft); }
    .nav-dropdown-panel{ position:static; transform:none; width:100%; min-width:0; background:none; border:none; box-shadow:none; padding:0 0 0 16px; margin:0; opacity:1; visibility:visible; pointer-events:auto; max-height:0; overflow:hidden; transition:max-height 0.2s ease; }
    .nav-dropdown-panel.open{ max-height:380px; transform:none; }
    .nav-dropdown-panel a{ padding:11px 0; border-bottom:1px solid var(--line-soft); }
    .nav-dropdown-panel a.all-guides, .nav-dropdown-panel a.all-games, .nav-dropdown-panel a.all-bis{ padding-bottom:11px; margin-bottom:0; }
    .nav-toggle{ display:inline-flex; }
  }

  .btn{ display:inline-flex; align-items:center; gap:9px; padding:13px 26px; font-size:12.5px; font-weight:700; letter-spacing:0.09em; text-transform:uppercase; border:1px solid var(--legendary); cursor:pointer; background:transparent; color:var(--legendary-bright); transition:background 0.15s ease; white-space:nowrap; }
  .btn-fill{ background:var(--legendary); color:#1a0d00; }
  .btn-line:hover{ background:var(--legendary-dim); }
  .btn-ghost{ border-color:var(--line); color:var(--muted); }
  .btn-ghost:hover{ border-color:var(--faint); color:var(--text); }

  .reveal{ opacity:0; transform:translateY(18px); }
  .load-in{ opacity:0; transform:translateY(14px); }
  @media (prefers-reduced-motion: reduce){ .reveal, .load-in{ opacity:1; transform:none; } }
  .rn-static .reveal, .rn-static .load-in{ opacity:1 !important; transform:none !important; }

  .hero{ position:relative; padding:72px 0 40px; text-align:center; overflow:hidden; }
  .hero > .wrap{ position:relative; z-index:2; }
  .grid-bg{ position:absolute; top:0; left:0; z-index:0; display:block; pointer-events:none; }
  .hero h1{ font-size:clamp(32px,5.5vw,54px); letter-spacing:0.01em; margin-bottom:16px; }
  .hero p{ max-width:600px; margin:0 auto; color:var(--muted); font-size:15.5px; }

  /* ---------- selectors ---------- */
  .bis-controls{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top:40px; }
  .bis-control{ display:flex; flex-direction:column; gap:7px; min-width:168px; }
  .bis-control label{ font-size:10.5px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--legendary-bright); text-align:left; }
  .bis-control select{
    appearance:none; -webkit-appearance:none; background:var(--surface) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M6 9l6 6 6-6" stroke="%23a89a8e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center;
    background-size:14px; border:1px solid var(--line); color:var(--text); font-family:"Chakra Petch",sans-serif; font-size:14px; font-weight:600;
    padding:12px 38px 12px 16px; cursor:pointer; min-width:168px; transition:border-color 0.15s ease;
  }
  .bis-control select:hover, .bis-control select:focus{ border-color:var(--legendary); }
  .bis-control select:disabled{ opacity:0.4; cursor:not-allowed; }
  .bis-comments-jump{ display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-size:12px; font-weight:600; letter-spacing:0.04em; color:var(--muted); transition:color 0.15s ease; }
  .bis-comments-jump:hover{ color:var(--legendary-bright); }

  /* ---------- character sheet frame ---------- */
  .bis-sheet-wrap{ margin-top:52px; }
  .bis-frame{
    position:relative; background:
      radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255,128,0,0.05), transparent 60%),
      linear-gradient(180deg, var(--surface), var(--ink) 85%);
    border:1px solid var(--line); box-shadow:0 0 0 1px rgba(255,128,0,0.06), 0 30px 70px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.03);
    padding:2px;
  }
  .bis-frame::before{
    content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
    border:1px solid rgba(255,162,61,0.18);
    background:
      linear-gradient(90deg, var(--legendary-dim), transparent 3%, transparent 97%, var(--legendary-dim)),
      linear-gradient(180deg, var(--legendary-dim), transparent 3%, transparent 97%, var(--legendary-dim));
  }
  .bis-frame-inner{ position:relative; z-index:2; padding:34px 30px 30px; }

  .bis-corner{ position:absolute; width:26px; height:26px; z-index:3; pointer-events:none; opacity:0.75; }
  .bis-corner svg{ width:100%; height:100%; display:block; }
  .bis-corner--tl{ top:6px; left:6px; }
  .bis-corner--tr{ top:6px; right:6px; transform:scaleX(-1); }
  .bis-corner--bl{ bottom:6px; left:6px; transform:scaleY(-1); }
  .bis-corner--br{ bottom:6px; right:6px; transform:scale(-1,-1); }

  .bis-sheet-header{ text-align:center; margin-bottom:30px; padding-bottom:22px; border-bottom:1px solid var(--line-soft); }
  .bis-sheet-header .bis-name{ font-size:clamp(22px,3vw,30px); letter-spacing:0.04em; color:var(--text); text-transform:uppercase; }
  .bis-sheet-header .bis-sub{ margin-top:8px; font-size:12.5px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--legendary-bright); }
  .bis-sheet-header .bis-meta{ margin-top:6px; font-size:13px; color:var(--muted); }

  .bis-columns{ display:grid; grid-template-columns:1fr minmax(160px,220px) 1fr; gap:22px; align-items:start; }
  @media (max-width:860px){ .bis-columns{ grid-template-columns:1fr; } }
  .bis-col{ display:flex; flex-direction:column; gap:10px; }

  .bis-model{
    display:flex; align-items:center; justify-content:center; min-height:340px; position:relative;
    background:radial-gradient(ellipse 65% 55% at 50% 40%, rgba(255,128,0,0.08), transparent 70%);
  }
  @media (max-width:860px){ .bis-model{ min-height:180px; order:-1; } }
  .bis-model svg{ width:auto; height:100%; max-height:340px; opacity:0.9; }
  @media (max-width:860px){ .bis-model svg{ max-height:180px; } }

  /* ---------- tier set preview portrait ---------- */
  .bis-portrait{
    position:relative; width:100%; max-width:220px; aspect-ratio:2/3; overflow:hidden;
    border:1px solid var(--line); background:var(--surface-2);
    box-shadow:0 0 0 1px rgba(0,0,0,0.4), 0 22px 44px rgba(0,0,0,0.5);
  }
  @media (max-width:860px){ .bis-portrait{ max-width:260px; margin:0 auto; } }
  .bis-portrait::before{
    content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
    background:radial-gradient(ellipse 90% 70% at 50% 15%, rgba(255,128,0,0.16), transparent 60%);
    mix-blend-mode:screen;
  }
  .bis-portrait-link{ display:block; width:100%; height:100%; }
  .bis-portrait-img{
    display:block; width:100%; height:100%; object-fit:cover; object-position:50% 12%;
    filter:saturate(1.05) contrast(1.03); transition:transform 0.5s ease;
  }
  .bis-portrait-link:hover .bis-portrait-img{ transform:scale(1.045); }
  .bis-portrait-corner{ position:absolute; width:22px; height:22px; z-index:3; pointer-events:none; opacity:0.85; }
  .bis-portrait-corner svg{ width:100%; height:100%; display:block; }
  .bis-portrait-corner--tl{ top:-1px; left:-1px; }
  .bis-portrait-corner--tr{ top:-1px; right:-1px; transform:scaleX(-1); }
  .bis-portrait-corner--bl{ bottom:-1px; left:-1px; transform:scaleY(-1); }
  .bis-portrait-corner--br{ bottom:-1px; right:-1px; transform:scale(-1,-1); }
  .bis-portrait-caption{
    position:absolute; left:0; right:0; bottom:0; z-index:2; padding:26px 12px 12px;
    background:linear-gradient(to top, rgba(10,7,5,0.94) 10%, rgba(10,7,5,0.55) 65%, transparent);
    text-align:center;
  }
  .bis-portrait-setname{ display:block; font-size:11.5px; font-weight:700; letter-spacing:0.05em; color:var(--text); line-height:1.3; }
  .bis-portrait-tag{ display:block; margin-top:4px; font-size:9.5px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--legendary-bright); }
  .bis-portrait-empty{
    width:100%; max-width:220px; min-height:280px; display:flex; flex-direction:column; align-items:center;
    justify-content:center; gap:10px; border:1px dashed var(--line); padding:20px; text-align:center;
  }
  .bis-portrait-empty p{ font-size:11.5px; color:var(--faint); line-height:1.5; }
  .bis-portrait-empty a{ font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--legendary-bright); }
  .bis-portrait.bis-portrait-icon{ display:flex; align-items:center; justify-content:center; background:radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,128,0,0.1), var(--surface-2) 70%); }
  .bis-portrait-icon-img{ width:112px; height:112px; object-fit:contain; border-radius:10px; box-shadow:0 0 0 1px var(--line), 0 0 30px rgba(255,128,0,0.28); position:relative; z-index:2; }

  .eq-slot{
    display:flex; align-items:flex-start; gap:10px; border:1px solid var(--line); background:rgba(0,0,0,0.18);
    padding:9px 12px; min-height:52px; transition:border-color 0.15s ease, background 0.15s ease;
  }
  .eq-slot:hover{ border-color:var(--faint); background:rgba(0,0,0,0.3); }
  .eq-slot-icon{ flex-shrink:0; width:42px; height:42px; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.3); border:1px solid var(--line); }
  .eq-slot-icon .eq-item{ display:block; }
  .eq-slot-body{ min-width:0; flex:1; }
  .eq-slot-label{ display:block; font-size:10.5px; font-weight:700; letter-spacing:0.13em; text-transform:uppercase; color:var(--faint); margin-bottom:2px; }
  .eq-item{ display:inline-block; font-size:14.5px; font-weight:600; color:var(--epic); line-height:1.35; word-break:break-word; }
  .eq-item:hover{ text-decoration:underline; }
  .eq-item.q-legendary{ color:var(--wow-legendary); }
  .eq-alt{ margin-top:3px; font-size:11.5px; color:var(--muted); }
  .eq-alt .eq-item{ font-size:11.5px; font-weight:600; }
  .eq-empty{ font-size:13px; color:var(--faint); font-style:italic; }
  .eq-enchant{ margin-top:3px; font-size:11.5px; color:var(--muted); }
  .eq-enchant a{ color:var(--muted); border-bottom:1px dotted var(--faint); }
  .eq-enchant a:hover{ color:var(--text); }
  .eq-gems, .eq-source{ margin-top:2px; font-size:11.5px; color:var(--faint); }
  .eq-slot.eq-cosmetic{ opacity:0.55; }
  .eq-slot.eq-warning .eq-empty{ color:var(--legendary-bright); font-style:normal; font-weight:600; }
  .eq-slot.eq-pending .eq-item{ color:var(--muted); text-decoration:none; cursor:default; pointer-events:none; }
  .eq-slot.eq-pending .eq-item:hover{ text-decoration:none; }

  /* Wowhead's iconizeLinks paints the icon as a background-image on the <a>
     itself (class "icontinyl") with a small left-padding to make room for
     it inline. In the dedicated icon box we blow that up into a real large
     icon and hide the accompanying text (the body link right next to it
     already shows the name). That same small icon would otherwise also show
     on the body link itself (Wowhead iconizes every link independently) —
     strip it there so each item shows exactly one icon, not two. */
  .eq-slot-icon a{
    width:40px !important; height:40px !important; padding:0 !important; margin:0 !important;
    background-position:center !important; background-repeat:no-repeat !important; background-size:34px 34px !important;
    line-height:0 !important; border-radius:2px;
  }
  .eq-slot-icon a span{ display:none !important; }
  .eq-slot-body a.eq-item{ background-image:none !important; padding-left:0 !important; }
  .eq-slot-icon .eq-empty{ color:var(--faint); font-size:16px; }

  .bis-weapons{ margin-top:22px; padding-top:22px; border-top:1px solid var(--line-soft); display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
  @media (max-width:640px){ .bis-weapons{ grid-template-columns:1fr; } }

  /* ---------- info panel ---------- */
  .bis-info-grid{ margin-top:32px; display:grid; grid-template-columns:repeat(2,1fr); gap:22px; align-items:start; }
  @media (max-width:900px){ .bis-info-grid{ grid-template-columns:1fr; } }
  .bis-info-card{ background:var(--surface); border:1px solid var(--line); padding:22px 24px; }
  .bis-info-card h2{ font-size:13px; letter-spacing:0.1em; text-transform:uppercase; color:var(--legendary-bright); margin-bottom:14px; }
  .bis-info-card ol{ padding-left:20px; list-style:decimal; display:flex; flex-direction:column; gap:6px; }
  .bis-info-card ol li{ font-size:14.5px; color:var(--text); }
  .bis-info-card p{ font-size:14.5px; color:var(--muted); line-height:1.7; }
  .bis-notes-list{ margin-top:8px; padding-left:18px; display:flex; flex-direction:column; gap:8px; }
  .bis-notes-list li{ font-size:14px; color:var(--muted); line-height:1.6; }
  .bis-info-card p + p{ margin-top:10px; }
  .bis-race-row{ padding:9px 0; border-top:1px solid var(--line-soft); font-size:14.5px; color:var(--text); }
  .bis-race-row:first-child{ border-top:none; padding-top:0; }
  .bis-race-faction{ display:inline-block; font-size:10.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--legendary-bright); margin-right:6px; }
  .bis-race-why{ font-size:13px; color:var(--muted); line-height:1.6; margin-top:3px; }
  .bis-talent-link{ margin-top:14px; font-size:13px; }
  .bis-talent-link a{ color:var(--legendary-bright); }
  .bis-cap-row{ padding:10px 0; border-bottom:1px solid var(--line-soft); font-size:14px; }
  .bis-cap-row:last-child{ border-bottom:none; }
  .bis-cap-top{ display:flex; justify-content:space-between; gap:12px; }
  .bis-cap-top span:first-child{ color:var(--legendary-bright); font-weight:700; font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase; }
  .bis-cap-top span:last-child{ font-weight:700; color:var(--text); text-align:right; }
  .bis-cap-note{ margin-top:5px; font-size:13px; color:var(--muted); line-height:1.55; }

  .bis-scenario{ margin-top:36px; max-width:720px; margin-left:auto; margin-right:auto; text-align:center; clear:both; }
  .bis-confidence{ display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:3px 10px; border:1px solid var(--line); border-radius:20px; }
  .bis-confidence.conf-high{ color:#7ee787; border-color:#2f5a3a; }
  .bis-confidence.conf-medium-high{ color:var(--legendary-bright); border-color:var(--line); }
  .bis-confidence.conf-medium{ color:var(--muted); border-color:var(--line); }
  .bis-scenario-text{ margin-top:10px; font-size:14px; color:var(--muted); line-height:1.65; }
  .bis-assumptions{ margin-top:8px; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
  .bis-assumption-tag{ font-size:11px; color:var(--faint); background:var(--surface); border:1px solid var(--line-soft); padding:3px 10px; border-radius:20px; }
  .bis-gemplan-note{ margin-top:6px; font-size:12px; color:var(--faint); font-style:italic; }

  /* ---------- alternatives / gaps note ---------- */
  .bis-pending-note{ margin-top:18px; font-size:12px; color:var(--faint); text-align:center; }

  footer{ position:relative; z-index:1; padding:48px 0 40px; text-align:center; color:var(--muted); font-size:12.5px; border-top:1px solid var(--line-soft); }
  footer .brand{ justify-content:center; margin-bottom:10px; }
  footer .tagline{ font-size:11px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:22px; }
  footer .foot-links{ display:flex; justify-content:center; gap:24px; margin-bottom:20px; flex-wrap:wrap; }
  footer .foot-links a{ letter-spacing:0.08em; text-transform:uppercase; font-size:11.5px; transition:color 0.2s ease; }
  footer .foot-links a:hover{ color:var(--legendary-bright); }
  footer .foot-links button{ letter-spacing:0.08em; text-transform:uppercase; font-size:11.5px; transition:color 0.2s ease; background:none; border:none; cursor:pointer; color:var(--muted); padding:0; font-family:inherit; }
  footer .foot-links button:hover{ color:var(--legendary-bright); }

  .support-popup-overlay{ position:fixed; inset:0; z-index:1100; background:rgba(8,6,5,0.88); display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; }
  .support-popup-overlay.open{ pointer-events:auto; }
  .rn-static .support-popup-overlay.open{ opacity:1; }
  .support-popup-card{ width:100%; max-width:420px; background:var(--surface); border:1px solid var(--line); padding:34px 28px 28px; position:relative; text-align:center; transform:translateY(10px) scale(0.96); }
  .rn-static .support-popup-overlay.open .support-popup-card{ transform:none; }
  .support-popup-close{ position:absolute; top:14px; right:14px; background:none; border:none; color:var(--muted); font-size:20px; cursor:pointer; padding:4px 8px; line-height:1; }
  .support-popup-close:hover{ color:var(--text); }
  .support-popup-icon{ width:52px; height:52px; margin:0 auto 18px; border-radius:50%; background:var(--legendary-dim); display:flex; align-items:center; justify-content:center; color:var(--legendary-bright); }
  .support-popup-icon svg{ width:24px; height:24px; }
  .support-popup-card h3{ font-size:19px; margin-bottom:12px; font-family:"Chakra Petch",sans-serif; font-weight:700; }
  .support-popup-card p{ font-size:13.5px; color:var(--muted); line-height:1.65; margin-bottom:24px; }
  .support-popup-actions{ display:flex; gap:10px; flex-wrap:wrap; }
  .support-popup-actions .btn{ flex:1; justify-content:center; min-width:130px; }

  .bistracker-nudge{ position:fixed; right:20px; bottom:20px; z-index:900; width:100%; max-width:320px; background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:18px 34px 18px 18px; display:flex; gap:14px; align-items:flex-start; box-shadow:0 20px 50px -12px rgba(0,0,0,0.6); opacity:0; transform:translateY(16px); pointer-events:none; }
  .bistracker-nudge.open{ pointer-events:auto; }
  .rn-static .bistracker-nudge.open{ opacity:1; transform:none; }
  .bistracker-nudge-icon{ width:38px; height:38px; border-radius:50%; background:var(--legendary-dim); display:flex; align-items:center; justify-content:center; color:var(--legendary-bright); flex-shrink:0; }
  .bistracker-nudge-icon svg{ width:19px; height:19px; }
  .bistracker-nudge-body strong{ display:block; font-size:13.5px; margin-bottom:5px; font-family:"Chakra Petch",sans-serif; }
  .bistracker-nudge-body p{ font-size:12px; color:var(--muted); line-height:1.55; margin:0 0 12px; }
  .bistracker-nudge-body .btn{ font-size:12px; padding:7px 13px; }
  .bistracker-nudge-close{ position:absolute; top:8px; right:8px; background:none; border:none; color:var(--muted); font-size:16px; cursor:pointer; padding:4px 6px; line-height:1; }
  .bistracker-nudge-close:hover{ color:var(--text); }
  @media (max-width:520px){ .bistracker-nudge{ left:14px; right:14px; bottom:14px; width:auto; max-width:none; } }

  .cookie-banner{ position:fixed; left:16px; right:16px; bottom:16px; z-index:1000; max-width:900px; margin:0 auto; background:var(--surface); border:1px solid var(--line); padding:22px 26px; display:flex; align-items:center; gap:22px; flex-wrap:wrap; box-shadow:0 24px 60px -14px rgba(0,0,0,0.65); opacity:0; transform:translateY(40px); pointer-events:none; }
  .cookie-banner.show{ pointer-events:auto; }
  .cookie-banner-text{ flex:1; min-width:220px; font-size:12.5px; color:var(--muted); line-height:1.6; }
  .cookie-banner-text a{ color:var(--legendary-bright); text-decoration:underline; }
  .cookie-banner-actions{ display:flex; gap:10px; flex-wrap:wrap; }
  @media (prefers-reduced-motion: reduce){ .cookie-banner.show{ opacity:1; transform:none; } }
  .rn-static .cookie-banner.show{ opacity:1; transform:none; }

  /* ---------- static SEO content below the tool ---------- */
  .bis-copy{ max-width:760px; margin:0 auto; }
  .bis-copy h2{ font-size:24px; margin-bottom:14px; }
  .bis-copy h2:not(:first-child){ margin-top:40px; }
  .bis-copy p{ color:var(--muted); font-size:15.5px; line-height:1.75; }
  .bis-copy p + p{ margin-top:14px; }
  .bis-credit{ font-size:12px !important; opacity:0.75; }
  .bis-credit a{ color:var(--legendary-bright); text-decoration:underline; }
  .bis-copy a.inline{ color:var(--legendary-bright); text-decoration:underline; text-underline-offset:2px; }
  .bis-class-list{ margin-top:16px; display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px 20px; }
  .bis-class-list li{ font-size:14.5px; color:var(--muted); }
  .bis-class-list strong{ color:var(--text); }
  .footer-legal{ max-width:640px; margin:14px auto 0; font-size:10.5px; line-height:1.6; opacity:0.6; }
  .ambient-glow{ position:fixed; top:8%; right:-220px; width:620px; height:620px; z-index:0; pointer-events:none;
    border-radius:50%; background:radial-gradient(circle, rgba(255,128,0,0.14), rgba(255,128,0,0) 68%); filter:blur(10px); }
  @media (max-width:860px){ .ambient-glow{ width:420px; height:420px; right:-160px; } }

  /* ---------- large-monitor pass ----------
     Same trial already shipped on the homepage: past a genuinely wide
     viewport, widen the main column and bump the text people actually read
     a notch, since everything above is sized in raw px tuned for a
     ~1400px-wide viewport and just stops growing past it otherwise. */
  @media (min-width:1600px){
    .wrap{ max-width:1320px; }
    body{ font-size:17.5px; }
    .hero h1{ font-size:clamp(32px,5.5vw,62px); }
  }

  .credit-grid{ margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; }
  .credit-tag{ font-size:12px; color:var(--text); background:var(--surface-2); border:1px solid var(--line); padding:5px 12px; border-radius:20px; }
  .credit-tag.lead{ color:var(--legendary-bright); border-color:var(--legendary); font-weight:700; }
