/*
 * AngleRanks static pages (/home and LFX Lists).
 * Tokens are the same as the All Angles and LFX Rankings pages. Header: the same measured styles as the drop-in pages'
 * site header, with the new site menu (My Boards signed in only; Expert Profile as you answered in P1-13).
 */
:root {
  --ink-canvas: #000000;
  --ink-surface: #0e1015;
  --ink-raised: #14171e;
  --ink-chip: #171a22;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text-1: #f3f4f7;
  --text-2: #a5a9b4;
  --text-3: #6b707b;
  --brand: #7edb34;
  --brand-logo-green: #7edb34;
  --angle-lfx: #ebff00;
  --angle-consensus: var(--brand-logo-green);
  --angle-ranker: #e3e7ee;
  --family-dynasty: #00e5ff;
  --family-idp: #9d6bff; /* IDP family Royal Purple */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-display: 'ARDisplay', "Arial Narrow", system-ui, sans-serif;
  --font-text: 'ARText', system-ui, "Segoe UI", sans-serif;
  --hdr-font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --placeholder: #ffc454;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink-canvas); }
body {
  margin: 0;
  background: var(--ink-canvas);
  color: var(--text-1);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.srOnly { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 639px) { .shell { padding: 0 16px; } }

/* ---------- Header font map ---------- */
.hLarge {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-1);
}
.hSmall {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-1);
}

/* ---------- Site header (replica styles, new menu) ---------- */
.arSiteHeader { font-family: var(--hdr-font); width: 100%; padding: 16px 24px; border-bottom: 1px solid rgba(40, 40, 42, 0.5); background: transparent; position: relative; z-index: 20; }
.arRow { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.arBrand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.arBrand img { height: 64px; width: auto; }
.arLinks { display: none; align-items: center; gap: 2px; flex-wrap: nowrap; }
.arLink { color: #9f9fa9; font-size: 14px; line-height: 20px; font-weight: 500; padding: 6px 10px; border-radius: 8px; text-decoration: none; white-space: nowrap; background: transparent; border: 0; cursor: pointer; font-family: var(--hdr-font); }
.arLink:hover { color: #ffffff; }
.arLink[aria-current="page"] { color: #ffffff; background: rgba(255, 255, 255, 0.07); }
.arAcct { display: none; align-items: center; gap: 8px; flex-shrink: 0; }
.arGetStarted { background: #7ccf00; color: #000; font-weight: 600; font-size: 14px; line-height: 20px; padding: 8px 16px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.arGetStarted:hover { background: #9ae600; }
.arUpgrade { color: #9ae600; background: rgba(118, 206, 0, 0.1); font-size: 14px; line-height: 20px; font-weight: 600; padding: 6px 12px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.arDivider { width: 1px; height: 20px; background: #27272a; margin: 0 4px; }
.arSignOut { color: #71717b; }
.arBurger { color: #9f9fa9; padding: 8px; background: transparent; border: 0; font-size: 16px; line-height: 24px; cursor: pointer; font-family: var(--hdr-font); display: inline-block; }
.arBurger:hover { color: #fff; }
[data-auth="out"] .inOnly, [data-auth="in"] .outOnly { display: none !important; }
/* The same as the React pages' header: below 1380px the menu button shows instead of the links; at every width the
   logo is 64px tall and the header padding is 16px 24px. */
@media (min-width: 1380px) {
  .arLinks, .arAcct { display: flex; }
  .arBurger { display: none; }
}
.arPanel { position: fixed; inset: 0; z-index: 50; display: none; }
.arPanel[data-open="true"] { display: block; }
.arPanelScrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.arPanelBody { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #0b0b0d; border-left: 1px solid #27272a; padding: 16px; display: flex; flex-direction: column; font-family: var(--hdr-font); overflow-y: auto; }
.arPanelTop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.arPanelTop span { color: #71717b; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.arPanel .arLink { display: flex; align-items: center; min-height: 48px; font-size: 16px; padding: 0 12px; }
.arPanelAcct { margin-top: auto; padding-top: 16px; border-top: 1px solid #27272a; display: flex; flex-direction: column; gap: 8px; }
.arPanelAcct a, .arPanelAcct button { min-height: 48px; display: flex; align-items: center; justify-content: center; }

/* ---------- Review-only controls and placeholder tags ---------- */
.protoBar { position: fixed; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px dashed var(--placeholder); border-radius: 12px; background: rgba(12, 12, 14, 0.94); font: 600 11px/1.2 var(--hdr-font); color: var(--placeholder); letter-spacing: 0.06em; text-transform: uppercase; }
.protoBar button { font: inherit; color: #9f9fa9; background: transparent; border: 1px solid #27272a; border-radius: 8px; padding: 6px 8px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.protoBar button[aria-pressed="true"] { color: #000; background: var(--placeholder); border-color: var(--placeholder); }
.phTag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px dashed var(--placeholder); border-radius: 6px; color: var(--placeholder); font: 700 10px/1.2 var(--hdr-font); letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255, 196, 84, 0.06); }
.reviewNote { color: var(--text-3); font-size: 12px; line-height: 1.5; }
.reviewNote b { color: var(--text-2); font-weight: 600; }

/* ---------- Click to copy ---------- */
.copyCard { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: #000; cursor: copy; overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.copyCard:hover { border-color: rgba(255, 255, 255, 0.32); }
.copyCard:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.copyCard img { width: 100%; height: auto; }
.copyToast { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 16px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, 0.88); border: 1px solid var(--brand); color: var(--text-1); font: 700 13px/1 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .15s ease; white-space: nowrap; }
.copyToast[data-show="true"] { opacity: 1; }
.copyToast[data-kind="warn"] { border-color: var(--placeholder); }

/* ---------- Footer ---------- */
.arFooter { margin-top: 64px; border-top: 1px solid rgba(40, 40, 42, 0.5); padding: 32px 0 96px; font-family: var(--hdr-font); }
.arFooter .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.arFooter nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.arFooter a { color: #71717b; font-size: 14px; text-decoration: none; }
.arFooter a:hover { color: #fff; }
.arFooter .fBrand { color: #9f9fa9; font-size: 14px; font-weight: 600; }
