/* ============================================================
   ABHFX TRADING DNA - One accent. One typeface family per script.
   Hairlines, not boxes. Ported 1:1 from dna-test-new/styles.css,
   with physical left/right properties converted to logical
   inline-start/inline-end so the whole design mirrors correctly
   under dir="rtl" without a parallel set of override rules.
   ============================================================ */

/* Self-hosted Manrope + Cairo (both variable fonts - one file per script covers every weight
   used below) instead of a fonts.googleapis.com <link>: this app can be shown through a
   proxied/masked domain (DNS/reverse-proxy fronting), where the page's own assets are
   reachable but a request out to a third-party CDN is not guaranteed to be. Self-hosting
   removes that dependency entirely. */
@font-face{font-family:'Cairo';font-style:normal;font-weight:300;font-display:swap;src:url('fonts/Cairo-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:300;font-display:swap;src:url('fonts/Cairo-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/Cairo-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/Cairo-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Cairo-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Cairo-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Cairo-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Cairo-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Cairo-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Cairo';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Cairo-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:300;font-display:swap;src:url('fonts/Manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/Manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}



:root{
  --bg:#FAF9F6;
  --bg-2:#F1EFEA;
  --ink:#16141A;
  --ink-2:#5E5862;
  --ink-3:#837D87;
  --hair:#E3E0D9;
  --hair-2:#D5D1C9;
  --grid:#C4BFB6;

  --accent:#C20710;
  --accent-hi:#E50914;
  --accent-soft:rgba(194,7,16,.09);
  --scrim:rgba(22,20,26,.42);
  --hx-fill-1:0.30;
  --hx-fill-2:0.13;
  --hx-bloom:0.14;

  --ease:cubic-bezier(.16,1,.3,1);
  --safe-b:env(safe-area-inset-bottom,0px);
  --safe-t:env(safe-area-inset-top,0px);

  --font-ui:'Manrope',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
}

:root[data-theme="dark"]{
  --bg:#0A090B;
  --bg-2:#111013;
  --ink:#FAF8F9;
  --ink-2:#8C868B;
  --ink-3:#544E52;
  --hair:#1C1A1E;
  --hair-2:#232025;
  --grid:#2F2B31;

  --accent:#E50914;
  --accent-hi:#FF4A52;
  --accent-soft:rgba(229,9,20,.12);
  --scrim:rgba(6,5,7,.86);
  --hx-fill-1:0.26;
  --hx-fill-2:0.10;
  --hx-bloom:0.20;
}

/* Scoped to our own wrapper, not html[dir="rtl"]: this app is embedded as a shortcode inside
   an arbitrary WordPress page, so it never controls the real <html> tag's dir attribute - only
   its own root div, which is where PHP actually writes dir="rtl" for Arabic. */
.dna-test-root[dir="rtl"]{ --font-ui:'Cairo','Manrope',ui-sans-serif,system-ui,sans-serif; }

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
[hidden]{display:none !important;}
html{-webkit-text-size-adjust:100%;color-scheme:light;}
html[data-theme="dark"]{color-scheme:dark;}
/* Scoped to our own wrapper (not html,body): loaded site-wide, this must never reset margin/
   padding or force a background on the rest of the WordPress page. */
.dna-test-root{
  margin:0;padding:0;background:var(--bg);
  color:var(--ink);
  font-family:var(--font-ui);
  font-weight:400;
  font-feature-settings:"tnum" 1;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overscroll-behavior-y:none;
}

/* ---------- shell ---------- */
.app{position:relative;min-height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);}
.app.locked{height:100dvh;overflow:hidden;}

.bar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:calc(clamp(13.6px,2.2vw,25.6px) + var(--safe-t)) clamp(17.6px,3.4vw,41.6px) clamp(13.6px,2.2vw,25.6px);
}
.mark{display:flex;align-items:center;}
.mark img{height:18.4px;width:auto;display:block;}
.mark .logo-dark{display:none;}
:root[data-theme="dark"] .mark .logo-light{display:none;}
:root[data-theme="dark"] .mark .logo-dark{display:block;}
.mark i{font-style:normal;color:var(--accent);}
.count{font-size:12.8px;font-weight:400;color:var(--ink-3);letter-spacing:.06em;}
.count b{color:var(--ink-2);font-weight:500;}
.barbtn{
  background:none;border:0;padding:0 1.6px;cursor:pointer;
  font:inherit;font-size:12.16px;font-weight:400;color:var(--ink-3);
  transition:color .3s var(--ease);
}
.barbtn:hover{color:var(--ink-2);}
.barbtn[disabled]{opacity:0;pointer-events:none;}
.baractions{display:flex;align-items:center;gap:5.6px;}
.iconbtn{
  display:inline-grid;place-items:center;
  width:44px;height:44px;margin:-11px 0;
  background:none;border:0;padding:0;cursor:pointer;
  color:var(--ink-3);transition:color .3s var(--ease);
}
.iconbtn:hover{color:var(--ink-2);}
.iconbtn svg{width:18px;height:18px;}
.ic{width:1em;height:1em;flex:none;vertical-align:-.15em;}

/* ---------- language switcher ---------- */
.langswitch{position:relative;}
.langmenu{
  position:absolute;top:calc(100% + 10px);inset-inline-end:0;min-width:172px;z-index:6;
  background:var(--bg);border:1px solid var(--hair-2);padding:5.6px;
  display:flex;flex-direction:column;gap:0.8px;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.langmenu a{
  display:flex;align-items:center;gap:10.4px;padding:9.6px 10.4px;
  color:var(--ink-2);text-decoration:none;font-size:13.76px;font-weight:400;
  transition:background .2s var(--ease),color .2s var(--ease);
}
.langmenu a:hover,.langmenu a:focus-visible{background:var(--bg-2);color:var(--ink);}
.langmenu svg{flex:none;}

/* ---------- stage: graph + question ---------- */
.stage{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,4vw,72px);
  padding:0 clamp(17.6px,3.4vw,41.6px) clamp(22.4px,3vw,38.4px);
  min-height:0;
}
.graphwrap{display:grid;place-items:center;min-height:0;min-width:0;height:100%;order:2;}
.graph{position:relative;height:100%;width:auto;aspect-ratio:1;max-width:min(100%,580px);max-height:min(100%,580px);}
.graphfoot{
  position:absolute;left:0;right:0;bottom:-32px;text-align:center;
  font-size:9.92px;font-weight:500;letter-spacing:.42em;text-transform:uppercase;
  color:var(--ink-3);transition:color .6s var(--ease);
}
.app.done .graphfoot{color:var(--accent);}

.ask{display:flex;flex-direction:column;gap:clamp(20.8px,3.2vw,38.4px);min-width:0;order:1;}
.kick{font-size:9.6px;font-weight:500;letter-spacing:.42em;text-transform:uppercase;color:var(--ink-3);}
.qtext{
  font-weight:300;font-size:clamp(24px,3.1vw,40px);
  line-height:1.14;letter-spacing:-.028em;text-wrap:balance;
  max-width:19ch;margin:0;
}
.hint{font-size:11.52px;font-weight:400;color:var(--ink-3);line-height:1.5;}

/* ---------- options: hairline rows, never tiles ---------- */
.opts{display:flex;flex-direction:column;}
.opt{
  position:relative;display:flex;align-items:center;gap:16px;
  width:100%;min-height:60px;padding:15.2px 0;padding-inline-start:24px;
  background:none;border:0;border-top:1px solid var(--hair);
  color:var(--ink-2);
  font:inherit;font-size:16.64px;font-weight:400;line-height:1.35;
  text-align:start;cursor:pointer;
  transition:color .34s var(--ease),padding-inline-start .34s var(--ease);
}
.opt:last-child{border-bottom:1px solid var(--hair);}
.opt .bullet{
  position:absolute;inset-inline-start:0;top:50%;width:5px;height:5px;border-radius:50%;
  background:var(--ink-3);transform:translateY(-50%) scale(.6);
  transition:all .34s var(--ease);
}
.opt:hover,.opt:focus-visible{color:var(--ink);padding-inline-start:29.6px;}
.opt:hover .bullet,.opt:focus-visible .bullet{
  background:var(--accent);transform:translateY(-50%) scale(1);box-shadow:0 0 12px var(--accent);
}
.opt[aria-pressed="true"]{color:var(--ink);padding-inline-start:29.6px;}
.opt[aria-pressed="true"] .bullet{
  background:var(--accent);transform:translateY(-50%) scale(1.25);box-shadow:0 0 16px var(--accent);
}
.opt:disabled{cursor:default;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9.6px;
  min-height:52px;padding:12.8px 25.6px;
  background:none;border:1px solid var(--hair-2);border-radius:999px;
  color:var(--ink-2);font:inherit;font-size:13.76px;font-weight:400;letter-spacing:.02em;
  cursor:pointer;transition:border-color .34s var(--ease),color .34s var(--ease),background .34s var(--ease);
}
.btn:hover{border-color:var(--accent);color:var(--ink);}
.btn-go{border-color:var(--accent);color:var(--ink);}
.btn-go:hover{background:var(--accent-soft);}
.btn-wide{width:100%;}
.btn-quiet{border-color:transparent;color:var(--ink-3);min-height:44px;}
.btn-quiet:hover{border-color:transparent;color:var(--ink-2);}
.btn svg{width:16px;height:16px;}
.btn:disabled{opacity:.5;cursor:default;}
.actions{display:flex;flex-direction:column;gap:9.6px;}

/* ---------- splash ---------- */
.splash{display:flex;flex-direction:column;justify-content:center;gap:clamp(19.2px,3vh,32px);min-height:0;}
.splash h1{font-weight:300;font-size:clamp(41.6px,9vw,80px);line-height:.92;letter-spacing:-.05em;margin:0;}
.splash h1 em{font-style:normal;color:var(--accent);}
.splash .lede{font-size:clamp(15.68px,2.2vw,18.4px);font-weight:400;color:var(--ink-2);max-width:30ch;margin:0;line-height:1.5;}
.splash .fine{font-size:12.8px;font-weight:400;color:var(--ink-3);max-width:44ch;margin:0;line-height:1.65;}

/* ---------- chips (availability / duration) ---------- */
.chips{display:flex;flex-wrap:wrap;gap:8px;}
.chip{
  min-height:52px;padding:11.2px 18.4px;
  background:none;border:1px solid var(--hair-2);border-radius:999px;
  color:var(--ink-2);font:inherit;font-size:15.04px;font-weight:400;
  cursor:pointer;transition:all .3s var(--ease);
}
.chip:hover{border-color:var(--ink-3);color:var(--ink);}
.chip[aria-pressed="true"]{border-color:var(--accent);color:var(--ink);}
.chip small{display:block;font-size:10.88px;color:var(--ink-3);letter-spacing:.06em;}

/* ---------- inputs ---------- */
input[type="text"],input[type="email"]{
  width:100%;min-height:54px;padding:0;padding-inline-start:1.6px;
  background:none;border:0;border-bottom:1px solid var(--hair-2);
  color:var(--ink);font:inherit;font-size:16.8px;font-weight:400;
  transition:border-color .3s var(--ease);
}
input:focus{outline:none;border-bottom-color:var(--accent);}
input::placeholder{color:var(--ink-3);}
.results{list-style:none;margin:12.8px 0 0;padding:0;display:flex;flex-direction:column;max-height:40vh;overflow:auto;}
.results button{
  width:100%;min-height:52px;padding:11.2px 0;padding-inline-start:1.6px;text-align:start;
  background:none;border:0;border-bottom:1px solid var(--hair);
  color:var(--ink-2);font:inherit;font-size:16px;font-weight:400;cursor:pointer;
  transition:color .3s var(--ease),padding-inline-start .3s var(--ease);
}
.results button:hover{color:var(--ink);padding-inline-start:8px;}
.results small{display:block;font-size:12px;color:var(--ink-3);}

.hx-fill-1{stop-opacity:var(--hx-fill-1);}
.hx-fill-2{stop-opacity:var(--hx-fill-2);}
.hx-bloom-1{stop-opacity:var(--hx-bloom);}

/* ---------- email step ---------- */
#emailForm .fine{margin-top:11.2px;}
#emailForm [role="alert"]:empty{margin:0;}
input[aria-invalid="true"]{border-bottom-color:var(--accent);}

/* ---------- sequencing ---------- */
.seq{
  position:fixed;inset:0;z-index:8;display:none;
  flex-direction:column;align-items:center;justify-content:center;gap:22.4px;
  background:var(--bg);
}
.seq.on{display:flex;}
.seq-read{font-size:9.92px;font-weight:500;letter-spacing:.42em;text-transform:uppercase;color:var(--accent);min-height:1.4em;text-align:center;padding:0 19.2px;}
.seq-bar{width:min(58vw,240px);height:1px;background:var(--hair-2);overflow:hidden;}
.seq-bar i{display:block;height:100%;width:0;background:var(--accent);}

/* ---------- report ---------- */
.report{padding:0 clamp(20.8px,3.4vw,41.6px) calc(48px + var(--safe-b));max-width:1180px;margin:0 auto;width:100%;}
.rp-hero{padding:clamp(16px,3vh,32px) 0 clamp(32px,5vh,51.2px);display:grid;gap:clamp(22.4px,4vw,48px);align-items:center;}
@media (min-width:880px){.rp-hero{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);}}
.rp-graph{position:relative;width:min(100%,460px);aspect-ratio:1;margin-inline:auto;order:-1;}
@media (min-width:880px){.rp-graph{order:1;}}
.rp-name{font-weight:300;font-size:clamp(36.8px,7vw,60.8px);letter-spacing:-.05em;line-height:.95;margin:8px 0 0;}
.rp-tag{font-size:clamp(16px,2.2vw,19.2px);font-weight:400;color:var(--ink-2);margin:11.2px 0 0;}
.rp-meta{display:flex;gap:25.6px;flex-wrap:wrap;margin-top:22.4px;}
.rp-meta div{display:flex;flex-direction:column;gap:3.2px;}
.rp-meta .k{font-size:8.96px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--ink-3);}
.rp-meta .v{font-size:15.04px;font-weight:400;color:var(--ink);}
.rp-seq{margin-top:20.8px;font-size:11.52px;font-weight:400;color:var(--ink-3);letter-spacing:.1em;word-break:break-word;}
.rp-rare{margin-top:8px;font-size:12.48px;font-weight:400;color:var(--accent);letter-spacing:.02em;}

.sec{border-top:1px solid var(--hair);padding:clamp(28.8px,4vw,44.8px) 0;display:grid;gap:14.4px;}
@media (min-width:880px){.sec{grid-template-columns:190px minmax(0,1fr);gap:38.4px;align-items:start;}}
.sec-h{display:flex;gap:12.8px;align-items:baseline;}
.sec-n{font-size:9.92px;font-weight:500;letter-spacing:.2em;color:var(--ink-3);}
.sec-t{font-size:14.08px;font-weight:500;letter-spacing:-.01em;color:var(--ink);}
.sec-b{font-size:15.2px;font-weight:400;color:var(--ink-2);line-height:1.7;max-width:64ch;}
.sec-b p{margin:0 0 1em;}
.sec-b p:last-child{margin-bottom:0;}
.sec-b strong{color:var(--ink);font-weight:500;}
.rlink{color:var(--accent);text-decoration:none;font-size:13.12px;font-weight:500;white-space:nowrap;}
.rlink:hover,.rlink:focus-visible{text-decoration:underline;}
.namelist .approach{text-decoration:none;}
.namelist .approach:hover span:last-child,.namelist .approach:focus-visible span:last-child{text-decoration:underline;}

.tags{display:flex;flex-wrap:wrap;gap:7.2px;}
.tag{padding:6.72px 12.8px;border:1px solid var(--hair-2);border-radius:999px;font-size:12.8px;font-weight:400;color:var(--ink-2);}
.tag.hot{border-color:var(--accent);color:var(--ink);}

.kv{display:flex;flex-direction:column;gap:3.2px;padding:13.6px 0;border-bottom:1px solid var(--hair);}
.kv:last-child{border-bottom:0;}
.kv dt{font-size:8.96px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--ink-3);}
.kv dd{margin:0;font-size:16.32px;font-weight:400;color:var(--ink);}

.quote{border-inline-start:1px solid var(--accent);padding-inline-start:17.6px;margin:22.4px 0 0;font-size:16.32px;font-weight:300;font-style:italic;color:var(--ink);line-height:1.5;}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14.4px 25.6px;}
.item{display:flex;flex-direction:column;gap:4px;}
.item .t{font-size:14.08px;font-weight:500;color:var(--ink);}
.item .d{font-size:12.8px;font-weight:400;color:var(--ink-2);line-height:1.6;}
.namelist{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 22.4px;}
.namelist .approach{display:flex;align-items:center;gap:10.4px;font-size:14.4px;font-weight:400;color:var(--ink-2);padding:8px 0;border-bottom:1px solid var(--hair);}
.namelist .avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:none;background:var(--bg-2);border:1px solid var(--hair-2);}
.animal{display:flex;align-items:center;gap:17.6px;margin-bottom:14.4px;}
.animal img{height:72px;width:auto;object-fit:contain;flex:none;}
.animal b{font-size:16.8px;font-weight:400;color:var(--ink);}

.acc{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:54px;padding:0;margin-top:19.2px;
  background:none;border:0;border-top:1px solid var(--hair);
  color:var(--ink-2);font:inherit;font-size:13.76px;font-weight:400;
  cursor:pointer;text-align:start;transition:color .3s var(--ease);
}
.acc:hover{color:var(--accent);}
.acc svg{width:16px;height:16px;transition:transform .34s var(--ease);}
.acc[aria-expanded="true"] svg{transform:rotate(180deg);}

.risk{border-inline-start:1px solid var(--accent);padding:3.2px 0;padding-inline-start:17.6px;margin-top:38.4px;font-size:12.48px;font-weight:400;color:var(--ink-2);line-height:1.65;max-width:70ch;}
.fine{margin:22.4px 0 0;font-size:11.52px;font-weight:400;color:var(--ink-3);line-height:1.65;max-width:70ch;}

.sent{display:flex;align-items:flex-start;gap:8.8px;margin-top:20.8px;font-size:13.44px;font-weight:400;color:var(--ink-2);line-height:1.6;}
.sent .ic{width:15px;height:15px;color:var(--accent);margin-top:2.88px;}
.sent strong{color:var(--ink);font-weight:500;overflow-wrap:anywhere;}

/* ---------- share sheet ---------- */
.sheet{position:fixed;inset:0;z-index:20;display:none;align-items:flex-end;justify-content:center;background:var(--scrim);}
.sheet.on{display:flex;}
.sheet-in{
  width:100%;max-width:520px;background:var(--bg);border-top:1px solid var(--hair-2);
  padding:22.4px clamp(19.2px,4vw,32px) calc(25.6px + var(--safe-b));
  max-height:92dvh;overflow:auto;
  animation:up .38s var(--ease) both;
}
@keyframes up{from{transform:translate3d(0,100%,0);}to{transform:none;}}
.grip{width:36px;height:2px;background:var(--hair-2);margin:0 auto 19.2px;}
.card-preview{display:block;width:100%;max-width:250px;margin:0 auto 19.2px;border:1px solid var(--hair-2);}
.fmt{display:flex;gap:8px;justify-content:center;margin-bottom:16px;}
.note{margin-top:16px;padding-inline-start:17.6px;border-inline-start:1px solid var(--accent);font-size:13.12px;font-weight:400;color:var(--ink-2);line-height:1.6;}

/* ---------- booth wall ---------- */
.wall{padding:clamp(32px,5vw,64px) clamp(20.8px,3.4vw,48px);max-width:1240px;margin:0 auto;}
.wall h1{font-weight:300;font-size:clamp(35.2px,6vw,64px);letter-spacing:-.05em;line-height:.95;margin:16px 0 0;}
.wall .sub{font-size:15.2px;font-weight:400;color:var(--ink-2);margin:12.8px 0 0;}
.wall-rows{margin-top:clamp(32px,5vw,54.4px);}
.wrow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--hair);position:relative;}
.wrow:last-child{border-bottom:1px solid var(--hair);}
.wrow .n{font-size:clamp(17.6px,2.6vw,25.6px);font-weight:300;letter-spacing:-.02em;color:var(--ink);}
.wrow .p{font-size:clamp(16px,2.2vw,22.4px);font-weight:400;color:var(--ink-2);}
.wrow .fill{position:absolute;inset-inline-start:0;bottom:0;height:1px;background:var(--accent);}

/* ---------- mobile ---------- */
@media (max-width:880px){
  /* Safety net only: the graph shrink above should keep everything on-screen, but a small
     phone, larger accessibility text size, or a longer translation should never clip content -
     let the page scroll instead of hiding it. Desktop keeps the strict one-viewport lock. */
  .app.locked{height:auto;min-height:100dvh;overflow:visible;}
  .stage{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:clamp(16px,3.4vh,28.8px);padding:0 20.8px calc(17.6px + var(--safe-b));align-items:stretch;min-height:calc(100dvh - 72px);}
  .graphwrap{order:1;padding-bottom:25.6px;place-items:end center;margin-inline:-20.8px;}
  .graph{width:min(100%,368px);height:auto;max-height:100%;}
  .rp-graph{width:auto;max-width:none;margin-inline:calc(-1 * clamp(20.8px,3.4vw,41.6px));}
  .ask{order:2;gap:clamp(14.4px,2.6vh,24px);}
  .qtext{font-size:clamp(20.8px,5.6vw,27.2px);max-width:26ch;}
  .opt{min-height:54px;padding:12.48px 0;padding-inline-start:21.6px;font-size:15.68px;}
  .opt:hover{padding-inline-start:21.6px;}
  .opt:active,.opt[aria-pressed="true"]{padding-inline-start:26.4px;}
  .hint{display:none;}
  .graphfoot{bottom:-21.6px;font-size:8.96px;letter-spacing:.34em;}
  .splash{gap:19.2px;}
}
@media (max-width:880px) and (max-height:700px){
  .graphwrap{padding-bottom:20.8px;}
  .graph{width:min(100%,288px);}
  .qtext{font-size:clamp(17.92px,4.9vw,22.08px);}
  .opt{min-height:48px;padding-top:9.6px;padding-bottom:9.6px;font-size:14.88px;}
  .bar{padding-top:calc(11.2px + var(--safe-t));padding-bottom:11.2px;}
}

/* ---------- a11y ---------- */
:where(button,a,input,[tabindex]):focus-visible{outline:2px solid var(--ink);outline-offset:3px;}
/* [data-focus] landmarks (splash/question/report headings) receive tabindex+focus() on screen
   change purely to move screen-reader/keyboard focus - never a click target, so no visible ring. */
[data-focus]{outline:none;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.skip{position:absolute;inset-inline-start:-9999px;top:8px;z-index:100;background:var(--accent);color:var(--ink);padding:11.2px 17.6px;}
.skip:focus{inset-inline-start:8px;}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;scroll-behavior:auto !important;}
}
