/* Brand tokens — generated from config/app.config.json ("brand"). Change colours there, not in components. */
:root { --bg: #111214; --bg-alt: #1B1C1F; --bg2: #202124; --bg3: #2A2B2F; --accent: #F18B49; --accent-hover: #FFA66D; --accent-rgb: 241, 139, 73; --on-accent: #111214; --white: #FFFFFF; --grey: #AAAAAA; --line: #333438; --series2: #6FC8FF; --series2-rgb: 111, 200, 255; --red: #FF8A80; --warning: #FFCF66; --success: #7DD99A; }
/* Alternative development palette (Electric Blue). Not selectable by users; for evaluation set data-theme="electric" on <html>. */
html[data-theme="electric"] { --accent: #459BFF; --accent-hover: #74B4FF; --accent-rgb: 69, 155, 255; }
/* Feeling5 design system — dark, minimalist, one brand accent. No external fonts.
   Colours are NOT defined here: the build prepends brand tokens generated from config/app.config.json ("brand"). */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px; --max: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--white); font: 400 1.0625rem/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.1rem 3rem; }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0.4rem 0 0.8rem; }
h2 { font-size: 1.3rem; font-weight: 800; margin: 2rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
p { margin: 0 0 0.9rem; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1:focus, h2:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 0.7rem 1rem; font-weight: 700; z-index: 50; }
.skip:focus { left: 0; }
.small, .meta { color: var(--grey); font-size: 0.9rem; }
.lead { font-size: 1.15rem; color: #e6e6e6; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin: 0; }
.note, .notice, .empty { background: var(--bg2); border-left: 4px solid var(--line); padding: 0.75rem 0.9rem; border-radius: 6px; color: #dcdcdc; font-size: 0.95rem; }
.notice { border-left-color: var(--accent); }
.error { color: var(--red); font-weight: 600; min-height: 1.2em; margin: 0.2rem 0; }
.status { color: var(--success); font-weight: 600; min-height: 1.4em; }
.staging { background: var(--accent); color: var(--on-accent); text-align: center; font-weight: 700; font-size: 0.85rem; padding: 0.3rem; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.head-in { max-width: 1040px; margin: 0 auto; padding: 0.6rem 1.1rem; display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; color: var(--white); text-decoration: none; margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: 0.45rem; } .logo b, .five, .word b { color: var(--accent); font-weight: 900; }
.mark { width: 1.55em; height: 1.55em; flex: none; } .mark .m-a { fill: var(--accent); } .mark .m-c { fill: var(--bg); }
.descriptor { color: var(--grey); font-weight: 700; letter-spacing: 0.32em; font-size: 0.72rem; text-transform: uppercase; margin: 0.5rem 0 0; }
.hero .mark { width: 3.4rem; height: 3.4rem; margin-bottom: 0.4rem; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-hover); } a:hover, .link:hover { color: var(--accent-hover); }
.langs { display: flex; gap: 0.2rem; font-weight: 700; font-size: 0.9rem; }
.langs a { color: var(--grey); text-decoration: none; padding: 0.55rem 0.6rem; border-radius: 8px; min-width: 44px; text-align: center; }
.langs a[aria-current] { color: var(--on-accent); background: var(--accent); }
.menu summary { list-style: none; cursor: pointer; padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; min-height: 44px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 0.5rem 1.1rem 1rem; display: grid; }
.menu nav a { color: var(--white); text-decoration: none; padding: 0.85rem 0.2rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu nav a[aria-current] { color: var(--accent); }
@media (min-width: 900px) {
  .menu[open] summary { display: none; }
  .menu[open] nav { position: static; display: flex; background: none; border: 0; padding: 0; gap: 0.2rem; }
  .menu[open] nav a { border: 0; padding: 0.55rem 0.7rem; font-size: 0.95rem; }
  .logo { margin-right: 1rem; } .menu { margin-right: auto; order: 2; } .langs { order: 3; }
}

/* buttons, forms */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.8rem 1.3rem; border-radius: var(--r); font: 700 1.05rem var(--font); text-decoration: none; cursor: pointer; border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--white); border-color: #666; }
.btn-choice { background: var(--bg3); color: var(--white); border-color: var(--white); flex: 1; }
.btn-choice[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-block { width: 100%; }
.link { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0.6rem 0.3rem; min-height: 44px; }
.link.danger { color: var(--red); }
.row, .actions, .consent-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.2rem 0; }
.row .btn { flex: 1; } .actions .btn { flex: 1 1 220px; }
.field { margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
label, legend { font-weight: 700; display: block; margin-bottom: 0.35rem; padding: 0; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select { width: 100%; min-height: 52px; background: var(--bg2); color: var(--white); border: 2px solid #666; border-radius: 12px; padding: 0.7rem 0.9rem; font: 1.05rem var(--font); }
input::placeholder { color: #8d8d8d; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { margin: 0; position: relative; font-weight: 600; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 48px; padding: 0.5rem 0.95rem; border: 2px solid #666; border-radius: 999px; }
.chip input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; margin: 0.8rem 0; }
.check input { width: 26px; height: 26px; flex: none; accent-color: var(--accent); margin-top: 2px; }
.panel { background: var(--bg2); border-radius: var(--r); padding: 0.2rem 1rem; margin: 1.2rem 0; }
.panel summary { font-weight: 700; padding: 0.9rem 0; cursor: pointer; min-height: 48px; }
.panel.static { padding: 0.4rem 1.1rem 1.1rem; } .panel.static h2 { margin-top: 0.9rem; }
.tag { display: inline-block; border: 1px solid var(--grey); color: var(--grey); padding: 0.15rem 0.7rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.tag.on { border-color: var(--accent); color: var(--accent); }

/* test */
progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 99px; overflow: hidden; background: var(--bg3); }
progress::-webkit-progress-bar { background: var(--bg3); } progress::-webkit-progress-value { background: var(--accent); } progress::-moz-progress-bar { background: var(--accent); }
.progress-label { color: var(--grey); font-weight: 700; font-size: 0.9rem; margin: 0 0 0.4rem; }
.product-chip { display: inline-block; background: var(--bg2); border-radius: 999px; padding: 0.3rem 0.9rem; font-weight: 600; font-size: 0.9rem; margin: 0.9rem 0 0; }
.stroke-title { color: var(--accent); font-size: clamp(2.4rem, 10vw, 3.6rem); text-transform: uppercase; margin-bottom: 0.3rem; }
.scale { border: 0; padding: 0; margin: 0 0 1rem; }
.scale legend { font-size: 1.15rem; line-height: 1.35; }
.hint { color: var(--grey); font-size: 0.95rem; }
.rate { display: flex; align-items: center; gap: 0.9rem; position: relative; min-height: 60px; padding: 0.5rem 1rem; margin: 0 0 0.55rem; border: 2px solid #5a5a5a; border-radius: var(--r); background: var(--bg2); cursor: pointer; font-weight: 600; }
.rate input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rate-num { font-size: 1.7rem; font-weight: 900; color: var(--accent); width: 1.4ch; }
.rate:has(input:checked) { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.rate:has(input:checked) .rate-num { color: var(--on-accent); }
.rate:has(input:focus-visible) { outline: 3px solid var(--white); outline-offset: 3px; }
.rate-skip { min-height: 50px; border-style: dashed; color: var(--grey); justify-content: center; }
.scale.compact legend { font-size: 1rem; } .scale.compact { margin-bottom: 1.4rem; }
.review { list-style: none; padding: 0; margin: 1rem 0; }
.review li { display: grid; grid-template-columns: 1fr auto; gap: 0 0.6rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.review li span:first-child { color: var(--grey); grid-column: 1; } .review li strong { grid-column: 1; } .review li .link { grid-column: 2; grid-row: 1 / span 2; }

/* result */
.result-head h1 { margin-top: 0.1rem; }
.score-card { background: var(--bg2); border-radius: 20px; padding: 1.2rem 0.6rem 0.4rem; text-align: center; margin: 1rem 0; }
.score { margin: 0; line-height: 1; } .score-num { font-size: clamp(4rem, 20vw, 6rem); font-weight: 900; color: var(--accent); letter-spacing: -0.03em; }
.score-of { color: var(--grey); font-size: 1.4rem; font-weight: 700; } .score-label { color: var(--grey); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }
.interp { font-size: 1.1rem; border-left: 4px solid var(--accent); padding-left: 0.9rem; }
.radar { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; }
.radar-ring { fill: none; stroke: var(--line); stroke-width: 1; } .radar-ring.outer { stroke: #666; }
.radar-axis { stroke: var(--line); stroke-width: 1; }
.radar-area { stroke-width: 2.5; stroke-linejoin: round; }
.radar-area.s0 { fill: rgba(var(--accent-rgb), 0.22); stroke: var(--accent); } .radar-area.s1 { fill: rgba(var(--series2-rgb), 0.16); stroke: var(--series2); stroke-dasharray: 7 5; }
.radar-dot.s0 { fill: var(--accent); } .radar-dot.s1 { fill: var(--series2); }
.radar-label { fill: var(--grey); font: 700 11px var(--font); text-transform: uppercase; letter-spacing: 0.06em; } .radar-value { fill: var(--white); font: 800 14px var(--font); }
.bars { list-style: none; padding: 0; margin: 0; }
.bars li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.2rem 0.7rem; align-items: center; padding: 0.45rem 0; }
.bar-name { font-weight: 700; } .bar-val { grid-column: 2; font-weight: 800; }
.bar-track { height: 10px; background: var(--bg3); border-radius: 99px; overflow: hidden; } .bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.w0 { width: 0; } .w1 { width: 20%; } .w2 { width: 40%; } .w3 { width: 60%; } .w4 { width: 80%; } .w5 { width: 100%; }
.share-box { background: var(--bg2); border: 2px solid var(--accent); border-radius: 20px; padding: 0.3rem 1.1rem 0.8rem; margin: 1.6rem 0; }
.share-box h2 { color: var(--accent); font-size: 1.6rem; margin-top: 1rem; }

/* history + compare */
.toolbar { display: grid; gap: 0 0.8rem; grid-template-columns: 1fr; } @media (min-width: 600px) { .toolbar { grid-template-columns: 2fr 1fr 1fr; } .toolbar.two { grid-template-columns: 1fr 1fr; } }
.tests { list-style: none; padding: 0; margin: 0; }
.test-item { display: grid; grid-template-columns: auto 1fr auto; gap: 0.2rem 0.7rem; align-items: center; background: var(--bg2); border-radius: var(--r); padding: 0.7rem 0.9rem; margin-bottom: 0.6rem; }
.pick input { width: 26px; height: 26px; accent-color: var(--accent); } .pick { margin: 0; padding: 0.5rem 0.2rem; }
.test-main { color: var(--white); text-decoration: none; display: grid; } .test-name { font-weight: 800; font-size: 1.1rem; }
.test-score { font-size: 1.7rem; font-weight: 900; color: var(--accent); } .test-actions { grid-column: 2 / span 2; display: flex; gap: 0.8rem; }
.filebtn { cursor: pointer; margin: 0; }
.swatch { display: inline-block; width: 22px; height: 6px; border-radius: 3px; margin-right: 0.45rem; vertical-align: middle; background: var(--accent); }
.swatch.sb { background: repeating-linear-gradient(90deg, var(--series2) 0 6px, transparent 6px 9px); }
.cmp-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1rem 0; } .cmp-head { background: var(--bg2); border-radius: var(--r); padding: 0.8rem; min-width: 0; overflow-wrap: anywhere; }
.cmp-name { font-weight: 800; font-size: 1.15rem; margin: 0.1rem 0; } .cmp-score { font-size: 2.4rem; font-weight: 900; margin: 0; color: var(--accent); } .cmp-head.sb .cmp-score, .cmp-head.sb .eyebrow { color: var(--series2); }
table { width: 100%; border-collapse: collapse; margin: 0.8rem 0; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); } thead th { color: var(--grey); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cmp-table td { font-weight: 800; font-size: 1.15rem; width: 22%; } .cmp-table td.hi { color: var(--accent); } .cmp-table .sep th { color: var(--grey); padding-top: 1.2rem; }
.rank td:first-child { color: var(--accent); font-weight: 900; width: 2.5rem; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; } .sec-head select { width: auto; min-height: 44px; }
.counter { display: grid; text-align: center; background: var(--bg2); border-radius: 20px; padding: 1rem; color: var(--grey); font-weight: 700; }
.mini { padding-left: 1.3rem; font-weight: 600; }

/* home */
.hero { text-align: center; padding: 1.2rem 0 0.5rem; }
.hero .word { font-size: clamp(2.8rem, 14vw, 5.2rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1; margin: 0; }
.hero .tag1 { font-size: 1.4rem; font-weight: 700; margin: 0.6rem 0 0.1rem; } .hero .tag2 { color: var(--accent); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem; }
.hero .sub { font-size: 1.15rem; color: #e6e6e6; max-width: 30ch; margin: 1rem auto; }
.cta-stack { display: grid; gap: 0.7rem; max-width: 420px; margin: 1.2rem auto; }
.trust { font-weight: 700; margin: 0.3rem 0; } .trust.dim { color: var(--grey); letter-spacing: 0.06em; }
.steps { list-style: none; padding: 0; display: grid; gap: 0.8rem; counter-reset: s; } @media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--bg2); border-radius: var(--r); padding: 1rem; counter-increment: s; } .steps li::before { content: counter(s); color: var(--accent); font-weight: 900; font-size: 2rem; line-height: 1; }
.steps h3 { margin: 0.3rem 0; } .steps p { margin: 0; color: #dcdcdc; font-size: 0.95rem; }
.value { font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 800; line-height: 1.2; text-align: center; margin: 2.5rem 0 1.5rem; }
.card { background: var(--bg2); border-radius: var(--r); padding: 0.3rem 1.1rem 1.1rem; margin: 1.2rem 0; } .card h2 { margin-top: 0.9rem; }
.cols { display: grid; gap: 0 1.5rem; } @media (min-width: 640px) { .cols { grid-template-columns: 1fr 1fr; } }
.prose li { margin-bottom: 0.4rem; } .prose table { font-size: 0.9rem; display: block; overflow-x: auto; } .prose h2 { font-size: 1.15rem; }

/* footer + consent */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 1.5rem 1.1rem 2rem; font-size: 0.92rem; }
.foot-in { max-width: 1040px; margin: 0 auto; } .foot-cols { display: grid; gap: 1rem 2rem; grid-template-columns: 1fr; } @media (min-width: 640px) { .foot-cols { grid-template-columns: 1fr 2fr; } .foot-cols ul.two { columns: 2; } }
.site-foot h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); margin: 0 0 0.3rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; } .site-foot li a { color: var(--white); display: inline-block; padding: 0.4rem 0; }
.foot-note { color: var(--grey); margin-top: 1.2rem; max-width: 70ch; }
#consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0.7rem; }
.consent-box { max-width: 640px; margin: 0 auto; background: var(--bg3); border: 1px solid #666; border-radius: 18px; padding: 0.4rem 1.1rem 0.9rem; box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6); }
.consent-box h2 { margin-top: 0.8rem; font-size: 1.15rem; } .consent-box p { font-size: 0.95rem; } .consent-link { color: var(--white); display: inline-block; padding: 0.5rem 0; }

/* printable partner materials */
.sheet { background: var(--bg); color: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; margin: 1.2rem 0; text-align: center; break-inside: avoid; }
.sheet .word { font-size: 2.6rem; font-weight: 900; margin: 0; } .sheet .big { font-size: 1.6rem; font-weight: 800; margin: 0.6rem 0; } .sheet canvas { background: #fff; border-radius: 10px; width: 180px; height: 180px; margin: 0.8rem auto; display: block; }
.sheet.a4 { aspect-ratio: 210 / 297; display: flex; flex-direction: column; justify-content: center; } .sheet.a4 canvas { width: 55%; height: auto; } .sheet.a4 .word { font-size: 3.4rem; }
.sheet ol { text-align: left; max-width: 34ch; margin: 0.8rem auto; } .qr-url { font-weight: 700; color: var(--accent); overflow-wrap: anywhere; } .banner-svg { width: 100%; height: auto; border-radius: 10px; }
@media print {
  .site-head, .site-foot, #consent, .no-print, .staging { display: none !important; }
  body, .sheet { -webkit-print-color-adjust: exact; print-color-adjust: exact; } main { max-width: none; padding: 0; }
  .sheet { border: 0; border-radius: 0; margin: 0; break-after: page; } .sheet.a4 { height: 100vh; aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (prefers-reduced-motion: no-preference) { .btn, .rate, .chip span { transition: background-color 0.12s, border-color 0.12s, color 0.12s; } .bar-fill { transition: width 0.4s; } }

/* global map */
.gmap-sec { background: var(--bg2); border-radius: 20px; padding: 1.2rem 1rem 1rem; margin: 2rem 0; } .gmap-sec h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin: 0.2rem 0 0.3rem; line-height: 1.1; }
.gmap { width: 100%; height: auto; display: block; margin: 0.6rem 0; }
.gmap .land { fill: var(--line); stroke: var(--bg2); stroke-width: 0.6; } .gmap .on { cursor: pointer; fill: var(--accent); }
.gmap .lvl1 { fill-opacity: 0.35; } .gmap .lvl2 { fill-opacity: 0.55; } .gmap .lvl3 { fill-opacity: 0.78; } .gmap .lvl4 { fill-opacity: 1; }
.gmap .on:hover, .gmap .on:focus-visible, .gmap .sel { stroke: var(--white); stroke-width: 1.6; outline: none; }
.gstats, .gdetail { display: grid; gap: 0.6rem; margin: 0.6rem 0; } @media (min-width: 560px) { .gstats { grid-template-columns: 1fr 1fr; } .gdetail { grid-template-columns: repeat(3, 1fr); } }
.gstats div, .gdetail div { background: var(--bg); border-radius: var(--r); padding: 0.7rem 0.9rem; } .gstats dt, .gdetail dt { color: var(--grey); font-size: 0.85rem; font-weight: 700; } .gstats dd { margin: 0; font-size: 2.2rem; font-weight: 900; color: var(--accent); } .gdetail dd { margin: 0; font-weight: 800; }
.gpanel { min-height: 3rem; } .gpanel h3 { margin-top: 0.4rem; }
@media (prefers-reduced-motion: no-preference) { .gmap .on { animation: glow 3.5s ease-in-out infinite; } @keyframes glow { 50% { filter: brightness(1.25); } } }

.stroke-num { font-size: clamp(3rem, 14vw, 4.5rem); font-weight: 900; line-height: 1; color: var(--accent); margin: 1rem 0 0; letter-spacing: -0.02em; }
.stroke-title { color: var(--white) !important; margin-top: 0.1rem; }
.desc { color: #dcdcdc; font-size: 1.1rem; margin: 0 0 1.1rem; } .desc.small { font-size: 0.92rem; color: var(--grey); margin-bottom: 0.6rem; }
.char-title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--grey); border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.2rem; }
.tag { margin-right: 0.3rem; }

/* ===== Premium minimalist edition: fewer containers and borders, more space, accent used sparingly ===== */
main { padding-top: 1.6rem; }
h1 { font-weight: 700; letter-spacing: -0.025em; } h2 { font-weight: 700; letter-spacing: -0.01em; }
.center { text-align: center; } .narrow { max-width: 34ch; margin-left: auto; margin-right: auto; }
.band { padding: 3.2rem 0; border-top: 1px solid var(--line); margin: 0; } .band .btn { margin-top: 0.6rem; }
.big-h { font-size: clamp(1.7rem, 6.5vw, 2.6rem); line-height: 1.12; margin: 0.4rem 0 0.7rem; }
.hero { padding: 2.2rem 0 1rem; } .hero .sub { color: var(--grey); margin: 1.2rem auto 1.6rem; max-width: 26ch; font-size: 1.2rem; }
.hero .tag1 { font-weight: 600; } .hero .tag2 { color: var(--white); letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 700; margin-top: 0.5rem; }
.hero figure { margin: 2.4rem 0 0; } .hero .trust { font-size: 0.85rem; font-weight: 500; margin-top: 1.4rem; }
.note, .notice, .empty { background: none; border-left: 0; padding: 0; color: var(--grey); font-size: 0.92rem; }
.notice { border-left: 2px solid var(--accent); padding-left: 0.8rem; color: #dcdcdc; }
.empty { text-align: center; padding: 1.6rem 0; }
.steps li { background: none; border-radius: 0; padding: 0.4rem 0; text-align: center; } .steps li::before { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; content: "0" counter(s); }
.steps h3 { font-size: 1.3rem; } .steps p { color: var(--grey); }
.eyebrow { color: var(--grey); letter-spacing: 0.16em; font-size: 0.75rem; }
.btn { border-width: 1px; border-radius: 999px; font-weight: 600; } .btn-secondary { border-color: var(--line); } .btn-secondary:hover { border-color: var(--grey); color: var(--white); }
.menu summary { border-color: var(--line); border-radius: 999px; font-weight: 600; } .langs a[aria-current] { background: none; color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-head { border-bottom-color: transparent; } .menu nav a[aria-current] { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select { border-width: 1px; border-color: #55565b; background: transparent; }
.chip span { border-width: 1px; border-color: #55565b; } .panel { background: none; border-top: 1px solid var(--line); border-radius: 0; padding: 0; margin: 0; } .panel:last-of-type { border-bottom: 1px solid var(--line); }
.panel.static { padding: 0.2rem 0 1.4rem; }
/* test */
.rate { border: 1px solid var(--line); background: transparent; min-height: 58px; border-radius: 16px; margin-bottom: 0.5rem; font-weight: 500; }
.rate-num { color: var(--white); font-weight: 700; font-size: 1.4rem; } .rate:hover { border-color: var(--grey); }
.rate:has(input:checked) { background: var(--accent); border-color: var(--accent); font-weight: 700; }
.rate-skip { border-style: solid; border-color: transparent; min-height: 46px; }
.stroke-num { font-size: 1rem; letter-spacing: 0.14em; margin-top: 1.6rem; } .stroke-title { font-size: clamp(2.2rem, 9vw, 3.2rem); text-transform: none; letter-spacing: -0.02em; }
.product-chip { background: none; padding: 0; color: var(--grey); font-weight: 500; } .progress-label { font-weight: 500; letter-spacing: 0.04em; }
progress { height: 3px; }
/* result */
.score-card { background: none; padding: 0.6rem 0 0; } .score-num { font-weight: 800; } .interp { border-left: 0; padding-left: 0; text-align: center; color: #dcdcdc; }
.result-head { text-align: center; } .result-head .eyebrow { color: var(--accent); } .bar-track { height: 4px; } .bar-fill { background: var(--white); } .bar-val { font-weight: 600; }
.share-box { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 1.6rem 0; text-align: center; } .share-box h2 { color: var(--white); margin-top: 0; }
.share-box .chips { justify-content: center; } .status { text-align: center; }
/* journal */
.test-item { background: none; border-radius: 0; border-bottom: 1px solid var(--line); padding: 1rem 0; margin: 0; } .test-score { font-weight: 800; }
.mini { display: flex; gap: 3px; align-items: flex-end; height: 16px; margin: 0.25rem 0; } .mini i { display: block; width: 6px; background: var(--grey); border-radius: 2px; }
.mini .w0 { height: 2px; width: 6px; } .mini .w1 { height: 20%; width: 6px; } .mini .w2 { height: 40%; width: 6px; } .mini .w3 { height: 60%; width: 6px; } .mini .w4 { height: 80%; width: 6px; } .mini .w5 { height: 100%; width: 6px; }
.cmp-head { background: none; border: 1px solid var(--line); }
/* insights + map */
.gstats div, .gdetail div { background: none; border-top: 1px solid var(--line); border-radius: 0; padding: 0.9rem 0; text-align: center; } .gstats dd { color: var(--white); font-weight: 800; }
.gmap-sec, #gmap { background: none; } .gmap .land { fill: #2e2f34; stroke: var(--bg); } .rank td:first-child { color: var(--grey); font-weight: 600; }
thead th { font-weight: 600; } .counter { background: none; }
/* footer */
.site-foot { background: var(--bg); padding: 2.4rem 1.1rem 2.6rem; } .foot-brand { display: grid; gap: 0.5rem; margin: 0 0 1.4rem; } .foot-brand .logo { font-size: 1.1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem; margin-bottom: 0.9rem; } .foot-links a { color: var(--grey); text-decoration: none; padding: 0.35rem 0; font-size: 0.9rem; } .foot-links a:hover { color: var(--white); }
.foot-note { font-size: 0.8rem; margin-top: 1rem; }

/* ===== Discover. Track. Compare. ===== */
.small-word { font-size: 1.5rem !important; margin: 0; } .hero-h { font-size: clamp(2.5rem, 11vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 1.6rem 0 0.8rem; font-weight: 700; }
.hero .sub { margin: 0 auto 0.6rem; color: #dcdcdc; max-width: 22ch; } .hero .tag2 { color: var(--grey); margin: 0 0 1.6rem; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; margin-right: 0.35rem; }
.ico.big { width: 30px; height: 30px; stroke: var(--accent); stroke-width: 1.4; margin: 0 0 0.5rem; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.2rem; text-align: center; } @media (min-width: 720px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.benefits h3 { font-size: 1.3rem; margin: 0 0 0.4rem; } .benefits p { color: var(--grey); margin: 0 0 0.5rem; }
.five-list { list-style: none; padding: 0; margin: 1.4rem auto; max-width: 30rem; } .five-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.6rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); } .five-list .n { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; }
.dim { color: var(--grey); } .philo .tag1 { margin-top: 1.4rem; color: var(--grey); font-weight: 500; }
.flabel { font-weight: 700; margin: 0 0 0.35rem; }
.chipbtn { display: inline-flex; align-items: center; min-height: 46px; padding: 0.4rem 1rem; border: 1px solid #55565b; border-radius: 999px; background: transparent; color: var(--white); font: 600 1rem var(--font); cursor: pointer; }
.chipbtn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* journal: rubber profiles */
.pcard { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 0.8rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.p-main { color: var(--white); text-decoration: none; display: grid; min-width: 0; } .p-actions { grid-column: 1 / -1; display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.4rem; }
.btn.sm { min-height: 40px; padding: 0.35rem 0.95rem; font-size: 0.9rem; } .assign { width: auto !important; min-height: 40px !important; font-size: 0.85rem !important; max-width: 13rem; }
.small-brand { display: block; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.tstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin: 1.4rem 0 0.6rem; text-align: center; } .tstats div { padding: 0.5rem 0; } .tstats dt { color: var(--grey); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; } .tstats dd { margin: 0.2rem 0 0; font-size: 1.7rem; font-weight: 800; }
.tstats div:first-child dd { color: var(--accent); }
.sel-row { display: flex; gap: 0.4rem; flex-wrap: wrap; } .sel-row select { width: auto; min-height: 42px; font-size: 0.9rem; }
.line-chart { width: 100%; height: auto; display: block; margin: 0.6rem 0; } .line-chart.small { max-width: 180px; height: 34px; margin: 0.3rem 0 0; }
.lc-grid { stroke: var(--line); stroke-width: 1; } .lc-axis { fill: var(--grey); font: 600 10px var(--font); }
.lc-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lc-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2; cursor: pointer; } .line-chart.small .lc-dot { stroke-width: 0; cursor: default; }
.lc-dot.ctx-competition { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; } .lc-dot.sel { stroke: var(--white); stroke-width: 3; } .lc-dot:focus-visible { outline: none; stroke: var(--white); stroke-width: 3; }
.legend { text-align: center; } .lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 0.3rem 0 0.8rem; vertical-align: -1px; background: var(--accent); } .lg-c { background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent); }

/* rc7 fixes: button label stays readable on hover; native dropdown lists follow the dark theme */
a.btn-primary:hover, a.btn-primary:focus-visible, .btn-primary:hover, .btn-primary:focus-visible, .btn-choice[aria-pressed="true"]:hover { color: var(--on-accent); }
a.btn-secondary:hover, a.btn-choice:hover { color: var(--white); }
a.btn-danger:hover { color: var(--red); }
:root { color-scheme: dark; }
select { background-color: var(--bg2); }
select option, select optgroup { background-color: var(--bg2); color: var(--white); }

/* rc7: share page */
.share-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; max-width: 420px; margin: 0 auto 1.2rem; }
@media (min-width: 620px) { .share-row { grid-template-columns: repeat(4, 1fr); max-width: 620px; } }
.share-row .btn { padding-left: 0.6rem; padding-right: 0.6rem; }
.share-link { max-width: 420px; margin: 0 auto; text-align: left; } .share-link input { text-align: center; }
.share-qr canvas { background: #fff; border-radius: 16px; width: min(260px, 70vw); height: auto; display: block; margin: 1.2rem auto 0.6rem; }
.invite h2 { margin-top: 0; }

/* rc8: map as illustration with two totals */
.gstats { grid-template-columns: 1fr 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } .gstats dd { font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.1; } .gstats dt { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }

/* rc8: mobile first, QR on desktop. "Desktop" = wide screen with a mouse; phones and touch tablets keep the direct button. */
.desk-only { display: none !important; }
.ritual { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; color: var(--grey); margin: 0.2rem 0 0; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .mob-only { display: none !important; }
  .desk-only { display: block !important; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; text-align: left; }
  .hero-main .sub { margin-left: 0; margin-right: 0; max-width: 24ch; }
  .hero-main .hero-h { margin-top: 1.2rem; }
  .desk-links { display: flex !important; gap: 1.6rem; margin: 0.4rem 0 0; font-size: 0.95rem; } .desk-links a { color: var(--grey); } .desk-links a:hover { color: var(--white); }
  .hero-qr { text-align: center; border: 1px solid var(--line); border-radius: 28px; padding: 1.8rem 1.6rem 1.4rem; }
  .hero-qr h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 0.3rem; } .hero-qr .qr-lead { color: #dcdcdc; margin: 0 auto 1rem; max-width: 28ch; }
  .hero-qr canvas { width: 210px; height: 210px; background: #fff; border-radius: 14px; display: block; margin: 0 auto 1rem; }
  .hero-qr .qr-lines { margin: 0 0 0.5rem; } .hero-qr .small { max-width: 34ch; margin: 0 auto; }
  .desk-note { margin: 0 0 1rem; }
}
/* rc8: on wide screens the privacy choice is a slim bar, so it does not cover the hero and the QR code */
@media (min-width: 900px) {
  .consent-box { max-width: 1040px; display: grid; grid-template-columns: 1fr auto; column-gap: 1.6rem; align-items: center; padding: 0.7rem 1.3rem; border-radius: 16px; }
  .consent-box > * { grid-column: 1; margin-top: 0.15rem; margin-bottom: 0.15rem; } .consent-box h2 { font-size: 1rem; margin-top: 0; } .consent-box p { font-size: 0.82rem; line-height: 1.4; }
  .consent-box .consent-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; } .consent-box .consent-actions .btn { min-height: 44px; white-space: nowrap; font-size: 0.95rem; }
  .consent-box .consent-link { grid-column: 2; grid-row: 3; justify-self: center; padding: 0.2rem 0; font-size: 0.85rem; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .hero { padding-top: 0.6rem; } .hero-qr { padding: 1.2rem 1.4rem 1rem; } .hero-qr h2 { font-size: 1.35rem; } .hero-qr .qr-lead { margin-bottom: 0.7rem; font-size: 0.98rem; }
  .hero-qr canvas { width: 190px; height: 190px; margin-bottom: 0.7rem; } .hero-main .hero-h { font-size: clamp(2.6rem, 5vw, 4rem); }
}
@media (min-width: 900px) { .consent-box .consent-actions { display: grid; grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .hero-grid { width: min(1040px, 92vw); position: relative; left: 50%; transform: translateX(-50%); grid-template-columns: 1fr 460px; gap: 4rem; }
  .hero-main .sub { max-width: 30ch; } .hero-qr .qr-lead, .hero-qr .small { max-width: none; } .hero-qr .small { font-size: 0.8rem; }
  .hero-qr canvas { width: 180px; height: 180px; } .hero-qr .qr-lines { margin-bottom: 0.3rem; font-size: 0.95rem; }
}

/* rc9: photography. Photos only on the home page; functional screens stay clean. */
body { overflow-x: clip; }
.hero-top { position: relative; padding: 1.4rem 0 1.6rem; }
.hero-bg, .ritual-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; z-index: 0; background: var(--bg); }
.hero-bg { top: -1.6rem; }
.hero-bg img, .ritual-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg img { object-position: 30% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 18, 20, 0.70) 0%, rgba(17, 18, 20, 0.62) 45%, rgba(17, 18, 20, 0.90) 85%, var(--bg) 100%); }
.hero-top > .hero-grid { position: relative; z-index: 1; }
.hero-qr { background: rgba(17, 18, 20, 0.86); }
.moments { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.moment:first-child { grid-column: 1 / -1; }
.moment figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--bg2); aspect-ratio: 4 / 3; }
.moment:first-child figure { aspect-ratio: 16 / 9; }
.moment img { width: 100%; height: 100%; object-fit: cover; display: block; }
.moment figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 0.9rem 0.8rem; background: linear-gradient(180deg, rgba(17, 18, 20, 0) 0%, rgba(17, 18, 20, 0.88) 62%); text-align: left; }
.moment h3 { margin: 0; font-size: 1rem; line-height: 1.2; color: var(--white); } .moment p { margin: 0.2rem 0 0; font-size: 0.82rem; line-height: 1.35; color: #dcdcdc; }
.ritual-band { position: relative; padding: 5rem 0; text-align: center; margin: 0; }
.ritual-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(17, 18, 20, 0.55) 30%, rgba(17, 18, 20, 0.55) 70%, var(--bg) 100%); }
.ritual-in { position: relative; z-index: 1; } .ritual-in .lead { margin: 0.4rem auto 1.4rem; color: #e6e6e6; }
.credits { margin: 2rem 0 0; font-size: 0.82rem; color: var(--grey); } .credits summary { cursor: pointer; } .credits ul { padding-left: 1.1rem; } .credits a { color: var(--grey); }
@media (max-width: 420px) { .moment p { display: none; } .moment:first-child p { display: block; } }
@media (min-width: 900px) {
  .moments { width: min(1040px, 92vw); position: relative; left: 50%; transform: translateX(-50%); grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .moment { grid-column: span 2; } .moment:first-child, .moment:nth-child(2) { grid-column: span 3; }
  .moment:first-child figure, .moment:nth-child(2) figure { aspect-ratio: 16 / 10; } .moment h3 { font-size: 1.15rem; } .moment p { font-size: 0.9rem; }
  .moment figcaption { padding: 3rem 1.2rem 1rem; }
  .ritual-band { padding: 8rem 0; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .hero-top { padding: 2.2rem 0 2.6rem; } .hero-bg img { object-position: 50% 45%; } }
@media print { .hero-bg, .ritual-bg { display: none; } }

.m-friend img { object-position: 50% 100%; } .m-again img { object-position: 30% 30%; } .m-training img { object-position: 50% 20%; }
.hero-main h1, .hero-main .sub, .hero-main .tag2 { text-shadow: 0 1px 18px rgba(17, 18, 20, 0.7); }

/* rc10: country points on the illustration map */
.gmap .has { fill: #3d3f46; } .gmap .dot { fill: var(--accent); } .gmap .halo { fill: var(--accent); opacity: 0.28; }
@media (prefers-reduced-motion: no-preference) { .gmap .halo { animation: halo 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; } @keyframes halo { 50% { transform: scale(1.7); opacity: 0.08; } } }

/* rc11: visible suggestion list under brand and model (works on iPhone, where native lists hide above the keyboard) */
.combo { position: relative; } .field:has(.combo) { scroll-margin-top: 4.6rem; }
.sugg { list-style: none; margin: 0.3rem 0 0; padding: 0.3rem; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; max-height: min(264px, 38vh); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.sugg li { padding: 0.75rem 0.8rem; min-height: 44px; border-radius: 10px; cursor: pointer; font-size: 1rem; line-height: 1.25; display: flex; align-items: center; }
.sugg li:hover, .sugg li[aria-selected="true"] { background: var(--raised, #2A2B2F); } .sugg li:active { background: var(--accent); color: var(--on-accent); }

/* rc12 — Player First: bottom navigation, returning-player dashboard, big rating buttons. Mobile only; desktop keeps the top navigation. */
.bnav { display: none; }
@media (max-width: 899px) {
  .bnav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(17, 18, 20, 0.96); border-top: 1px solid var(--line);
    padding: 0.25rem max(0.3rem, env(safe-area-inset-left)) calc(0.25rem + env(safe-area-inset-bottom)) max(0.3rem, env(safe-area-inset-right)); }
  .bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; min-height: 54px; color: var(--grey); text-decoration: none; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.01em; border-radius: 12px; }
  .bnav .ico { width: 24px; height: 24px; margin: 0; } .bnav a[aria-current="page"] { color: var(--accent); } .bnav a:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  #consent { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .skip:focus { z-index: 60; }
}
@media print { .bnav { display: none; } }

.dash { margin: 0.6rem 0 1.2rem; } .dash[hidden] { display: none; }
.dash-h { font-size: clamp(1.5rem, 6.4vw, 2rem); letter-spacing: -0.02em; margin: 0 0 0.8rem; }
.dash-card { border: 1px solid var(--line); border-radius: 22px; padding: 1.1rem 1.1rem 1rem; background: var(--bg2); }
.dash-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; } .dash-top .eyebrow { margin: 0; } .dash-top .meta { margin: 0.3rem 0 0; }
.dash-model { font-size: 1.35rem; font-weight: 700; line-height: 1.15; margin: 0.1rem 0 0; overflow-wrap: anywhere; }
.dash-score { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.dash-num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.03em; } .dash-lbl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey); margin-top: 0.25rem; }
.dash-prev { font-size: 0.8rem; color: var(--grey); margin-top: 0.3rem; }
.dash-trend { margin: 0.7rem 0 0; } .dash-trend svg { width: 100%; height: 56px; display: block; }
.dash-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; } .dash-actions .btn { width: 100%; min-height: 50px; padding-left: 0.6rem; padding-right: 0.6rem; font-size: 0.95rem; } .dash-actions .btn-primary { grid-column: 1 / -1; min-height: 56px; font-size: 1.05rem; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .dash { display: none !important; } }
@media (max-width: 899px) { body.returning .hero-top { padding-top: 0.6rem; } }

.stroke-num { margin-bottom: 0; } .stroke-title { margin-top: 0.1rem; }
.check.borrowed { margin: 0.2rem 0 1rem; }
.rate-intro { margin: 0.2rem 0 0.9rem; padding: 0.8rem 0.9rem; border-left: 3px solid var(--accent); background: var(--bg2); border-radius: 0 14px 14px 0; }
.rate-h { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 0.2rem; } .rate-p { margin: 0; font-size: 0.92rem; line-height: 1.4; color: #dcdcdc; }

/* rc12: one row of five numeric buttons for strokes and Rubber Character. Orange only on the selected value. */
.nrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin: 0; }
.nbtn { position: relative; display: block; margin: 0; }
.nbtn input, .nskip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.nbtn span { display: flex; align-items: center; justify-content: center; height: 60px; border-radius: 16px; background: #26272b; color: var(--white); font-size: 1.35rem; font-weight: 700; border: 1px solid transparent; }
.nbtn input:checked + span { background: var(--accent); color: var(--on-accent); }
.nbtn input:focus-visible + span, .nskip input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
@media (hover: hover) { .nbtn:hover span { border-color: #4a4b50; } }
.nends { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.74rem; color: var(--grey); margin: 0.45rem 0.15rem 0; }
.nsel { min-height: 1.5em; margin: 0 0 0.6rem; font-weight: 700; color: var(--accent); font-size: 1rem; }
.nskip { position: relative; display: block; margin: 1.1rem 0 0; } .nskip span { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 14px; color: var(--grey); font-size: 0.92rem; font-weight: 600; border: 1px solid var(--line); }
.nskip input:checked + span { color: var(--white); border-color: var(--grey); background: #26272b; }
.scale .desc { margin: 0 0 0.9rem; }
.char-title { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.2rem; }
.opt-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.char-q { color: #dcdcdc; margin: 0 0 1.6rem; }
.cparam { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.cparam-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 0.6rem; }
.cparam-name { font-size: 1.1rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.45rem; } .cparam-name .ico { width: 20px; height: 20px; margin: 0; color: var(--grey); vertical-align: 0; }
.cparam-sel { font-size: 0.9rem; font-weight: 600; color: var(--accent); text-align: right; }
.char-note { font-size: 0.85rem; color: var(--grey); margin: 0 0 1.2rem; }
@media (prefers-reduced-motion: no-preference) { .nbtn span { transition: background-color 0.12s, color 0.12s; } }
.char-title { font-size: clamp(1.6rem, 6.4vw, 2rem); letter-spacing: -0.02em; text-transform: none; color: var(--white); font-weight: 800; line-height: 1.15; }

/* rc12: "Add Feeling5 to my phone" */
.a2hs-card { border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; margin: 1.4rem 0; background: var(--bg2); text-align: left; }
.a2hs-t { font-weight: 800; font-size: 1.05rem; margin: 0 0 0.2rem; } .a2hs-p { margin: 0 0 0.8rem; font-size: 0.9rem; color: #dcdcdc; }
.a2hs-act { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; } .a2hs-act .btn { min-height: 46px; font-size: 0.95rem; }
.a2hs-icon { border-radius: 18px; display: block; margin: 0 0 1rem; }
.a2hs-page .chips { margin-bottom: 1.2rem; } .steps-box[hidden] { display: none; } .steps-box h2 { font-size: 1.15rem; margin: 1.2rem 0 0.6rem; }
.hs-steps { list-style: none; counter-reset: st; margin: 0 0 1rem; padding: 0; }
.hs-steps li { counter-increment: st; display: grid; grid-template-columns: 44px 1fr; gap: 0.8rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.hs-steps li:last-child { border-bottom: 1px solid var(--line); }
.step-ico { width: 44px; height: 44px; border-radius: 12px; background: #26272b; display: flex; align-items: center; justify-content: center; color: var(--accent); position: relative; }
.step-ico .ico { width: 22px; height: 22px; margin: 0; } .step-ico::after { content: counter(st); position: absolute; top: -6px; left: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); color: var(--bg); font-size: 0.68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.nav-a2hs { color: var(--accent); }

/* rc13: the home-screen invitation stands out and shows the icon on a phone */
.a2hs-card { display: grid; grid-template-columns: 104px 1fr; gap: 1rem; align-items: center; border: 1px solid rgba(241, 139, 73, 0.55); background: linear-gradient(135deg, rgba(241, 139, 73, 0.16), rgba(241, 139, 73, 0.03) 60%), var(--bg2); border-radius: 22px; padding: 1.1rem; margin: 0.4rem 0 1.6rem; }
.a2hs-phone { width: 104px; height: 150px; border-radius: 20px; border: 2px solid #4a4b50; background: #17181b; padding: 14px 9px 8px; position: relative; }
.a2hs-notch { position: absolute; top: 5px; left: 50%; width: 30px; height: 5px; margin-left: -15px; border-radius: 3px; background: #4a4b50; }
.a2hs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px 6px; }
.a2hs-grid i { display: block; aspect-ratio: 1; border-radius: 7px; background: #303136; }
.a2hs-app { position: relative; display: block; aspect-ratio: 1; }
.a2hs-app img { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 11px; box-shadow: 0 0 0 2px var(--accent), 0 6px 16px rgba(0, 0, 0, 0.6); }
.a2hs-app b { position: absolute; left: 50%; top: calc(50% + 26px); transform: translateX(-50%); font-size: 0.5rem; font-weight: 700; color: var(--white); background: #17181b; padding: 0 3px; border-radius: 3px; letter-spacing: 0.02em; }
.a2hs-t { font-size: 1.15rem; line-height: 1.2; } .a2hs-p { margin-bottom: 0.9rem; }
.a2hs-act { gap: 0.6rem 1rem; } .a2hs-act .btn { min-height: 48px; padding-left: 1rem; padding-right: 1rem; }
@media (max-width: 359px) { .a2hs-card { grid-template-columns: 1fr; } .a2hs-phone { margin: 0 auto; } }
@media (prefers-reduced-motion: no-preference) { .a2hs-app img { animation: a2hs-pop 2.6s ease-in-out infinite; } @keyframes a2hs-pop { 50% { transform: scale(1.08); } } }

/* rc14: discreet three-dot menu on each saved test */
.test-actions { justify-content: flex-end; align-items: center; }
.tmenu { position: relative; margin-left: auto; }
.tmenu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--grey); cursor: pointer; }
.tmenu summary::-webkit-details-marker { display: none; } .tmenu summary .ico { width: 22px; height: 22px; margin: 0; fill: currentColor; stroke: none; }
.tmenu[open] summary, .tmenu summary:hover { background: #26272b; color: var(--white); } .tmenu summary:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.tmenu-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 190px; padding: 0.35rem; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); display: grid; }
.tmenu-pop a, .tmenu-pop button { display: flex; align-items: center; min-height: 46px; padding: 0 0.9rem; border-radius: 10px; color: var(--white); text-decoration: none; font: inherit; font-weight: 600; background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
.tmenu-pop a:hover, .tmenu-pop button:hover { background: #26272b; } .tmenu-pop .danger { color: var(--red, #ff6b6b); }

/* rc15: Five Moments as one campaign strip. Two shapes only (landscape 4:3, portrait 3:4), equal heights in each row; a swipe row on phones so nobody is cropped. */
.moments { display: flex; gap: 0.7rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 0 0.6rem; margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; scrollbar-width: none; grid-template-columns: none; }
.moments::-webkit-scrollbar { display: none; }
.moment, .moment:first-child { flex: none; scroll-snap-align: center; grid-column: auto; }
.moment.m-land { width: 88vw; max-width: 440px; } .moment.m-port { width: 49.5vw; max-width: 247.5px; }
.moment figure, .moment:first-child figure, .moment:nth-child(2) figure { aspect-ratio: 4 / 3; height: auto; } .moment.m-port figure { aspect-ratio: 3 / 4; }
.moment img, .m-friend img, .m-again img, .m-training img { object-position: 50% 50%; } .m-friend img { object-position: 50% 15%; } .m-new img { object-position: 45% 30%; } .m-again img { object-position: 35% 30%; }
.moment figcaption { padding: 3rem 0.9rem 0.85rem; background: linear-gradient(180deg, rgba(17, 18, 20, 0) 0%, rgba(17, 18, 20, 0.72) 45%, rgba(17, 18, 20, 0.94) 100%); }
.m-num { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 0.15rem; }
.moment h3 { font-size: 1.05rem; } .moment p, .moment:first-child p { display: block; font-size: 0.8rem; line-height: 1.3; color: #e2e2e2; }
.moment.m-port h3 { font-size: 0.95rem; } .moment.m-port p { font-size: 0.74rem; }
@media (min-width: 900px) {
  .moments { flex-wrap: wrap; overflow: visible; gap: 1rem; width: min(1040px, 92vw); margin: 1.8rem 0 0; padding: 0; position: relative; left: 50%; transform: translateX(-50%); }
  .moment.m-land, .moment.m-port { max-width: none; }
  .moment:nth-child(1), .moment:nth-child(2) { width: calc(50% - 0.5rem); }
  .moment:nth-child(3), .moment:nth-child(4) { width: calc((100% - 2rem) * 0.2647); } .moment:nth-child(5) { width: calc((100% - 2rem) * 0.4706); }
  .moment h3, .moment.m-port h3 { font-size: 1.15rem; } .moment p, .moment.m-port p { font-size: 0.88rem; } .moment figcaption { padding: 3.4rem 1.1rem 1rem; }
}

/* rc16: Personal Insight on the result screen */
.insight { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0 1.4rem; margin: 1.6rem 0; }
.insight h2 { font-size: 1.25rem; margin: 0 0 1.1rem; }
.ins-item { margin: 0 0 1.3rem; } .ins-k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin: 0 0 0.25rem; }
.ins-v { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 0.3rem; color: var(--white); } .ins-item:first-of-type .ins-v { color: var(--accent); }
.ins-p { margin: 0; font-size: 0.95rem; line-height: 1.45; color: #dcdcdc; } .ins-even { font-size: 1.05rem; margin: 0 0 1.3rem; } .ins-note { margin: 0.4rem 0 0; font-size: 0.82rem; color: var(--grey); }
.ins-next { background: var(--bg2); border-radius: 18px; padding: 1.1rem; } .ins-next-t { font-size: 1.15rem; font-weight: 800; margin: 0 0 0.2rem; } .ins-next .btn { margin-top: 0.9rem; min-height: 48px; }
.ritual-tag { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin: -0.6rem 0 1.4rem; }
.philo-dd { color: var(--grey); margin: 1rem 0 0; font-size: 1rem; }

/* rc17: all five moments have the same square shape; the text sits under the picture */
.moment, .moment:first-child, .moment.m-land, .moment.m-port { width: 64vw; max-width: 280px; }
.moment figure, .moment:first-child figure, .moment:nth-child(2) figure, .moment.m-port figure { aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; }
.moment img, .m-friend img, .m-again img, .m-training img, .m-new img { aspect-ratio: 1 / 1; height: auto; border-radius: 18px; object-position: 50% 50%; }
.moment figcaption { position: static; background: none; padding: 0.75rem 0.1rem 0; }
.moment h3, .moment.m-port h3 { font-size: 1.05rem; } .moment p, .moment.m-port p, .moment:first-child p { font-size: 0.86rem; line-height: 1.35; color: #cfcfcf; }
@media (min-width: 900px) {
  .moments { flex-wrap: nowrap; }
  .moment:nth-child(n) { width: calc((100% - 4rem) / 5); max-width: none; }
  .moment h3, .moment.m-port h3 { font-size: 1.02rem; } .moment p, .moment.m-port p { font-size: 0.84rem; } .moment figcaption { padding: 0.8rem 0.1rem 0; }
}

/* rc18: three-dot menu also on each rubber in the journal list */
.p-actions { align-items: center; } .p-actions .tmenu { margin-left: auto; } .p-actions .tmenu summary { border: 1px solid var(--line); }

/* rc20: Personal Feeling DNA */
.dna-card { border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.2rem; margin: 1.8rem 0 0.6rem; background: linear-gradient(135deg, rgba(241, 139, 73, 0.10), rgba(241, 139, 73, 0) 55%), var(--bg2); }
.dna-card .eyebrow { margin: 0 0 0.3rem; } .dna-card-t { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.2rem; } .dna-card-p { margin: 0 0 1rem; color: #dcdcdc; }
a.chipbtn { text-decoration: none; display: inline-flex; align-items: center; } a.chipbtn[aria-current="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.dna-stage { border-left: 3px solid var(--accent); padding: 0.2rem 0 0.2rem 0.9rem; margin: 1.4rem 0 0.4rem; } .dna-stage p { margin: 0.15rem 0; } .dna-stage-t { font-size: 1.2rem; font-weight: 800; }
.dna-sec { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.4rem; } .dna-sec h2 { font-size: 1.15rem; margin: 0 0 0.9rem; }
.dna-top { list-style: none; margin: 0 0 0.8rem; padding: 0; counter-reset: dna; }
.dna-top li { counter-increment: dna; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.dna-m { font-weight: 700; font-size: 1.05rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; } .dna-m .meta { display: block; font-weight: 400; margin-top: 0.15rem; }
.dna-s { flex: none; text-align: right; font-size: 1.7rem; font-weight: 800; color: var(--accent); line-height: 1; } .dna-s .small { display: block; font-weight: 600; color: var(--grey); margin-top: 0.2rem; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; }
.dna-bars { list-style: none; margin: 0 0 0.9rem; padding: 0; } .dna-bars li { display: grid; grid-template-columns: 6.2rem 1fr 4.6rem; gap: 0.7rem; align-items: center; padding: 0.55rem 0; }
.dna-bn { font-weight: 700; } .dna-bv { text-align: right; font-weight: 800; color: var(--accent); } .dna-bv .small { color: var(--grey); font-weight: 400; }
.dbar { width: 100%; height: 8px; display: block; } .dbar-bg { fill: #2c2d31; } .dbar-fill { fill: var(--accent); }
.dna-hilo { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-weight: 700; margin: 0.4rem 0 0.6rem; font-size: 0.95rem; }
.dna-basis { margin-top: 1.6rem; } .dna-share { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.4rem; } .dna-share h2 { font-size: 1.15rem; margin: 0 0 0.4rem; } .dna-share .check { margin: 0.5rem 0; }
.dna-pv-img { display: block; width: min(100%, 360px); height: auto; border-radius: 16px; border: 1px solid var(--line); margin: 1rem auto 0; }

/* rc20: the orange "new test" button is always in reach — in the bottom navigation on phones, in the header on desktop */
.bnav a.bnav-cta { color: var(--accent); } .bnav-plus { width: 44px; height: 30px; border-radius: 15px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.bnav .bnav-plus .ico { width: 22px; height: 22px; stroke-width: 2.6; }
@media (min-width: 900px) {
  .menu nav a.nav-cta, .menu nav a.nav-cta[aria-current="page"] { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 700; border-bottom: 0; }
  .menu nav a.nav-cta:hover { background: var(--accent-hover, #FFA66D); color: var(--on-accent); }
}

/* rc20 — Rubber Character on a 1–10 scale */
.x0 { width: 0; } .x1 { width: 10%; } .x2 { width: 20%; } .x3 { width: 30%; } .x4 { width: 40%; } .x5 { width: 50%; } .x6 { width: 60%; } .x7 { width: 70%; } .x8 { width: 80%; } .x9 { width: 90%; } .x10 { width: 100%; }
.nrow.n10 { grid-template-columns: repeat(5, 1fr); gap: 0.45rem; }
.nrow.n10 .nbtn span { height: 52px; font-size: 1.2rem; border-radius: 14px; }
@media (min-width: 620px) { .nrow.n10 { grid-template-columns: repeat(10, 1fr); } }
.cparam-q { margin: -0.3rem 0 0.7rem; font-size: 0.85rem; color: var(--grey); }
.cparam-sel { font-size: 1.05rem; font-weight: 800; min-height: 1.3em; }
.cscale { color: var(--grey); margin: 0.2rem 0 0.4rem; }
.dna-bars li { grid-template-columns: 5.6rem 1fr 6.4rem; }

/* 1.0 — footer and contact */
.foot-copy { margin: 0.6rem 0 0; font-size: 0.78rem; color: var(--grey); }
.contact-mail { margin: 1.2rem 0 0.6rem; } .contact-mail a { font-size: clamp(1.35rem, 6vw, 2rem); font-weight: 800; color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .contact-mail a:hover { text-decoration: underline; } }

/* map: racket marker */
.gmap .pin-h { fill: #f4d9c4; } .gmap .pin .dot { stroke: #111214; stroke-width: 1.5; }

/* Personal Impressions + Global Feeling */
.imp-box { margin: 2rem 0; padding: 1.3rem 1.1rem; background: var(--bg2, #1b1c1f); border-radius: 18px; }
.imp-box h2 { margin-top: 0; } .imp-group { border: 0; padding: 0; margin: 1.1rem 0 0; min-width: 0; } .imp-group legend { font-weight: 700; margin-bottom: 0.6rem; padding: 0; }
.imp-chip span { min-height: 44px; font-size: 0.92rem; padding: 0.4rem 0.85rem; }
.imp-chip.neg input:checked + span { background: #d6d7db; border-color: #d6d7db; color: #111214; }
.imp-chip input:disabled + span { opacity: 0.75; } .imp-chip input:disabled { cursor: default; }
.gf-share { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); } .gf-check { align-items: flex-start; } .gf-check span { font-weight: 400; } .gf-done { margin: 0 0 0.8rem; }
.gf-search { display: grid; gap: 0.9rem; margin: 1.5rem 0 2rem; } @media (min-width: 720px) { .gf-search { grid-template-columns: 1fr 1fr auto; align-items: end; } .gf-search .status { grid-column: 1 / -1; } }
.gf-detail { margin: 0 0 2.5rem; } .gf-name { font-size: clamp(1.7rem, 7vw, 2.4rem); margin: 0.1rem 0 0.3rem; } .gf-n { color: var(--grey); margin: 0 0 1.4rem; }
.gf-bars { list-style: none; margin: 0 0 1.4rem; padding: 0; } .gf-bars li { display: grid; grid-template-columns: minmax(8.5rem, 11rem) 1fr 3.2rem; gap: 0.7rem; align-items: center; padding: 0.55rem 0; }
.gf-tag { font-weight: 700; } .gf-pct { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.gbar { width: 100%; height: 8px; display: block; } .gbar-bg { fill: #2c2d31; } .gbar.pos .gbar-fill { fill: var(--accent); } .gbar.neg .gbar-fill { fill: #9a9ba1; }
.gf-cta { margin-top: 2rem; } .gf-list { list-style: none; margin: 0; padding: 0; } .gf-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.8rem 0; border-top: 1px solid var(--line); } .gf-list a { color: var(--white); text-decoration: none; font-weight: 700; }
.gf-disc { margin: 2.2rem 0; } .gf-foot { margin-top: 2rem; color: var(--grey); }
.dna-tags { list-style: none; margin: 0 0 0.9rem; padding: 0; } .dna-tags li { padding: 0.35rem 0; font-weight: 700; } .dna-tags .small { font-weight: 400; color: var(--grey); } .dna-imp h3 { font-size: 0.95rem; margin: 0.9rem 0 0.3rem; color: var(--grey); }

.drange { width: 100%; height: 14px; display: block; } .dna-scale { display: flex; justify-content: space-between; margin: -0.3rem 6.4rem 0.6rem 6.3rem; color: var(--grey); }
@media (max-width: 420px) { .dna-bars li { grid-template-columns: 5.2rem 1fr 5.4rem; } .dna-scale { margin: -0.3rem 6.1rem 0.6rem 5.9rem; } }
/* header fits six links on desktop */
@media (min-width: 900px) { .head-in { max-width: 1180px; flex-wrap: nowrap; } .menu[open] nav { flex-wrap: nowrap; white-space: nowrap; } .menu[open] nav a { padding: 0.55rem 0.5rem; font-size: 0.92rem; } .logo { margin-right: 0.6rem; } }
@media (min-width: 900px) and (max-width: 1099px) { .menu[open] nav a { padding: 0.5rem 0.36rem; font-size: 0.86rem; } .menu nav a.nav-cta { padding: 0.45rem 0.8rem; } }

.gf-human { margin: 0.6rem 0; min-height: 0; }

/* Global Map + campaign (1.0.3) */
.gcamp { margin: 1rem auto 1.6rem; max-width: 520px; } .gcamp .btn { margin-top: 0.9rem; }
.cprog { position: relative; margin: 0.4rem 0 0; height: 22px; } .cprog-bar { width: 100%; height: 22px; display: block; } .cprog-bg { fill: #2c2d31; } .cprog-fill { fill: var(--accent); }
.cprog-ball { position: absolute; top: 3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(241, 139, 73, 0.35); } .cprog-ball.end { margin-left: -16px; }
.cprog-n { margin: 0.5rem 0 0; font-size: 1.05rem; color: var(--grey); } .cprog-n strong { color: var(--white); font-size: 1.5rem; font-weight: 800; } .cprog-done { color: var(--accent); font-weight: 700; margin: 0.4rem 0 0; }
.gviews { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin: 0 0 0.6rem; } .gviews .chipbtn { font-size: 0.85rem; padding: 0.45rem 0.8rem; min-height: 40px; background: none; color: var(--white); cursor: pointer; font-family: inherit; }
.gviews .chipbtn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.gmap-wrap { position: relative; } .gzoom { position: absolute; right: 6px; bottom: 10px; display: grid; gap: 6px; }
.gzoom button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #4a4b50; background: rgba(17, 18, 20, 0.85); color: var(--white); font-size: 1.4rem; font-weight: 700; cursor: pointer; }
.gmap .mk { cursor: pointer; outline: none; } .gmap .mk-hit { fill: transparent; } .gmap .mk-n { fill: #111214; font-weight: 800; pointer-events: none; font-family: inherit; }
.gmap .mk .dot { stroke: #111214; } .gmap .mk:focus-visible .dot, .gmap .mk.on .dot { stroke: #fff; } .gmap .mk.cl .dot { fill: #ffb27f; } .gmap .sel { fill: #5a5c64; }
.gmap .mk .halo { pointer-events: none; }
.gpanel { text-align: center; } .gp-n strong { font-size: 1.6rem; } .gp-list, .glist ul { list-style: none; margin: 0; padding: 0; } .glist li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--line); text-align: left; } .gp-list li { padding: 0.3rem 0; }
.glist button.link, .gp-list button.link { background: none; border: 0; color: var(--white); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0.3rem 0; }
@media (prefers-reduced-motion: reduce) { .gmap .halo { display: none; } }

@media (prefers-reduced-motion: no-preference) { .gmap .mk .halo { animation: halo2 2.8s ease-in-out infinite; } @keyframes halo2 { 50% { transform: scale(1.25); opacity: 0.1; } } }

/* Global Feeling first (1.0.4) */
.gf-share-h { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; margin: 0 0 0.5rem; } .gf-share-h .ico { width: 22px; height: 22px; color: var(--accent); margin: 0; }
.gf-share p { margin: 0.25rem 0; } .gf-check { margin-top: 0.8rem; }
.gf-confirm { background: rgba(241, 139, 73, 0.12); border: 1px solid rgba(241, 139, 73, 0.5); border-radius: 16px; padding: 1rem 1.1rem; margin: 0 0 1.4rem; } .gf-confirm-h { font-size: 1.3rem; font-weight: 800; color: var(--accent); margin: 0 0 0.2rem; } .gf-confirm .btn { margin-top: 0.6rem; }
.gf-confirm.fail { background: none; border-color: #55565b; }
.bm-btn { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid #55565b; background: none; color: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.bm-btn .ico { width: 18px; height: 18px; margin: 0; } .bm-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); } .bm-btn[aria-pressed="true"] .bm path { fill: var(--accent); }
.bm-btn.mini { padding: 0; width: 44px; justify-content: center; border-color: transparent; flex: none; } .bm-btn.mini span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gf-cards { list-style: none; margin: 0; padding: 0; text-align: left; } .gf-card { display: flex; align-items: center; gap: 0.5rem; border-top: 1px solid var(--line); padding: 0.75rem 0; }
.gf-card-main { flex: 1; min-width: 0; display: grid; gap: 0.1rem; text-decoration: none; color: var(--white); } .gf-card-name { font-weight: 800; font-size: 1.1rem; } .gf-card-tags { color: var(--grey); font-size: 0.9rem; } .gf-new { color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.gf-watch h2 { display: flex; align-items: center; gap: 0.5rem; } .gf-watch h2 .ico { width: 20px; height: 20px; margin: 0; color: var(--accent); }
.gf-ci { display: flex; align-items: center; gap: 0.6rem; margin: 1.2rem 0 0.4rem; position: relative; flex-wrap: wrap; } .gf-ci h3 { margin: 0; }
.gf-info summary { list-style: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #77787d; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-style: italic; cursor: pointer; color: var(--grey); position: relative; } .gf-info summary::-webkit-details-marker { display: none; }
.gf-info summary::after { content: ''; position: absolute; inset: -9px; } .gf-info[open] summary { border-color: var(--accent); color: var(--accent); } .gf-info > div { flex-basis: 100%; background: var(--bg2, #1b1c1f); border-radius: 12px; padding: 0.8rem 1rem; margin-top: 0.6rem; } .gf-info { display: contents; }
.gf-indiv { color: var(--grey); margin: 0 0 1rem; } .gf-detail h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin: 1.2rem 0 0.5rem; }
.gf-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; } .gf-tags li { border: 1px solid #55565b; border-radius: 999px; padding: 0.45rem 0.95rem; font-weight: 700; }
.gf-detail section:first-of-type .gf-tags li { border-color: var(--accent); color: var(--accent); }
.gf-actions { margin: 1.4rem 0 0; } .gf-first { text-align: center; padding: 1.6rem 0.5rem; } .gf-first > .ico { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 0.6rem; display: block; } .gf-first h3 { font-size: clamp(1.6rem, 7vw, 2.2rem); margin: 0 0 0.5rem; }
.gf-every { font-weight: 800; margin: 1.2rem 0 0; } .gf-others-box { margin: 2rem 0; } .gf-others-box .ico { width: 18px; height: 18px; margin: 0 0.4rem 0 0; vertical-align: -3px; } .gf-others { margin: 0.8rem 0 0; }
.home-cards { max-width: 520px; margin: 1rem auto; } #gf-results { margin: -1rem 0 2rem; }

/* ARC (1.0.5) */
.arc-svg { width: 100%; height: auto; display: block; max-width: 520px; margin: 0.2rem auto 0.6rem; }
.arc-floor { stroke: #2c2d31; stroke-width: 1; } .arc-table { fill: #5d5f66; } .arc-leg { stroke: #45464c; stroke-width: 2.5; fill: none; } .arc-net { stroke: #c9cad0; stroke-width: 1.4; } .arc-net-top { stroke: #c9cad0; stroke-width: 1.6; }
.arc-line { fill: none; stroke: #77787e; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 0; } .arc-line.on { stroke: var(--accent); stroke-width: 3; }
.arc-hit { fill: none; stroke: transparent; stroke-width: 18; cursor: pointer; } .arc-land { fill: #77787e; } .arc-land.on { fill: var(--accent); } .arc-ball { fill: #fff; }
.arc-lbl { fill: #8d8e94; font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; font-family: inherit; } .arc-lbl.on { fill: var(--accent); }
.arc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; } .arc-btn span { height: 52px; font-size: 0.9rem; letter-spacing: 0.06em; }
.arc-result { margin: 0.8rem 0 0.4rem; } .arc-result-t { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 700; } .arc-result-t strong { color: var(--accent); }
.cmp-arc { text-align: center; margin: 0.6rem 0; } .cmp-arc span { color: var(--grey); margin-right: 0.4rem; } .dna-arc { margin: 0.2rem 0 0.8rem; } .dna-arc .dna-bn { margin-right: 0.6rem; }

.arc-lbl { text-anchor: middle; paint-order: stroke; stroke: #111214; stroke-width: 5px; stroke-linejoin: round; }
.imp-box .arc-lbl, .arc-result .arc-lbl { stroke: #111214; }

/* Player experience (1.1.0): icons, cards, ball progress */
.sico { width: 44px; height: 44px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .si-r { stroke: var(--white); fill: none; } .si-fill { fill: var(--accent); stroke: var(--accent); } .si-a { stroke: var(--accent); } .si-g { stroke: #8d8e94; } .si-b { fill: var(--accent); stroke: none; }
.test-hero { display: flex; align-items: center; gap: 0.9rem; margin: 0.4rem 0 1.2rem; } .test-hero h1 { margin: 0; font-size: clamp(1.6rem, 7vw, 2.3rem); line-height: 1.1; } .test-hero .lead { margin: 0.2rem 0 0; color: var(--accent); font-weight: 700; font-size: 1rem; }
.test-hero-ico { width: 68px; height: 52px; flex: none; } .th-r { fill: var(--accent); } .th-b { fill: #fff; }
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; } .scards.two { grid-template-columns: repeat(2, 1fr); }
.scard { position: relative; display: block; margin: 0; } .scard input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.scard span, .scard-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; min-height: 92px; padding: 0.5rem 0.3rem; border-radius: 16px; background: #1e1f23; border: 1px solid #34353a; color: var(--white); font: inherit; width: 100%; cursor: pointer; }
.scard b, .scard-btn b { font-size: 0.92rem; } .scard-btn .ico { width: 26px; height: 26px; margin: 0; }
.scard input:checked + span, .scard-btn[aria-pressed="true"] { border-color: var(--accent); background: rgba(241, 139, 73, 0.14); } .scard input:checked + span b, .scard-btn[aria-pressed="true"] b { color: var(--accent); }
.scard input:focus-visible + span, .scard-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.more { border-top: 1px solid var(--line); margin: 1rem 0 1.2rem; padding-top: 0.2rem; } .more summary { cursor: pointer; padding: 0.8rem 0; color: var(--grey); font-weight: 600; } .more[open] summary { color: var(--white); }
.bprog { position: relative; height: 18px; margin: 0.2rem 9px 0; } .bprog-line { position: absolute; left: -9px; right: -9px; top: 7px; height: 4px; border-radius: 2px; background: #2c2d31; overflow: hidden; } .bprog-fill { display: block; height: 100%; width: 0; background: var(--accent); }
.bprog-ball { position: absolute; top: 0; left: 0; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(241, 139, 73, 0.4); }
.bprog-label { margin: 0.25rem 0 0.8rem; text-align: right; font-size: 0.75rem; color: var(--grey); letter-spacing: 0.08em; }
.stroke-head { display: flex; align-items: center; gap: 0.7rem; margin: 0.6rem 0 0; } .stroke-head .stroke-num { margin: 0; }
.bball.one { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-right: 0.5rem; vertical-align: 1px; } .saved-line { font-size: 1.15rem; font-weight: 800; color: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .bprog-ball { transition: left 0.45s cubic-bezier(0.3, 0.9, 0.4, 1); } .bprog-fill { transition: width 0.45s ease-out; }
  .bball.one { animation: bbounce 0.55s ease-out 1; } .test-hero .bball { animation: bbounce 0.55s ease-out 1; transform-box: fill-box; }
  @keyframes bbounce { 0% { transform: translateY(-14px); } 45% { transform: translateY(0); } 70% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
}

/* From score to personal decision (1.2.0) */
.cat { margin: 0.9rem auto 0.4rem; max-width: 30rem; text-align: center; } .cat-name { font-size: 1.25rem; font-weight: 800; color: var(--accent); margin: 0; position: relative; }
.cat-p { margin: 0.35rem 0 0; color: var(--muted); }
.cat-info { display: inline-block; vertical-align: middle; margin-left: 0.35rem; } .cat-info summary { list-style: none; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -13px; } .cat-info summary::-webkit-details-marker { display: none; }
.cat-info[open] { display: block; margin: 0.4rem 0 0; } .cat-info[open] summary { margin: 0; } .cat-info p { font-size: 0.9rem; font-weight: 400; color: var(--muted); text-align: left; background: var(--bg2); border-radius: 14px; padding: 0.8rem 0.9rem; margin: 0.2rem 0 0; }
.chg { border: 1px solid #34353a; border-radius: 18px; padding: 1.1rem; margin: 1.6rem 0; } .chg h2 { font-size: 1.2rem; margin: 0 0 0.8rem; }
.chg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0 0 0.8rem; } .chg-row dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } .chg-row dd { margin: 0.15rem 0 0; font-size: 1.6rem; font-weight: 800; } .chg-row dd.chg-d { font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.next { margin: 2rem 0; } .next-grid { display: grid; gap: 0.9rem; } @media (min-width: 720px) { .next-grid { grid-template-columns: 1fr 1fr; } }
.next-card { background: var(--bg2); border: 1px solid #34353a; border-radius: 18px; padding: 1.1rem; display: flex; flex-direction: column; } .next-card h3 { font-size: 1.3rem; margin: 0.2rem 0 0.2rem; } .next-s { color: var(--muted); margin: 0 0 0.6rem; } .next-shot { font-weight: 700; margin: 0 0 0.6rem; }
.next-act { display: grid; gap: 0.5rem; margin-top: auto; } .next-act .btn { min-height: 48px; width: 100%; } .btn-ghost { background: transparent; border: 1px solid #45464c; color: var(--white); }
.next-close { text-align: center; font-weight: 800; font-size: 1.15rem; margin: 1.3rem 0 0; }

/* 1.2.1: sharing leads after the result; no path cards */
.share-lead { border: 1px solid var(--accent); border-radius: 18px; padding: 1.2rem 1.1rem; margin: 1.6rem 0; text-align: center; } .share-lead h2 { margin: 0 0 0.3rem; font-size: 1.4rem; } .share-lead .actions .btn { min-height: 52px; }
.next-links { text-align: center; margin: 1rem 0; } .next-links a { display: inline-block; padding: 0.7rem 0.3rem; }

/* 1.3.0: Feeling DNA as lists of rubbers */
.dna-shot { margin: 1.1rem 0 0; } .dna-shot h3 { font-size: 1.05rem; margin: 0 0 0.3rem; color: var(--accent); } .dna-need { background: var(--bg2); border-radius: 14px; padding: 0.9rem 1rem; }
.dna-common { border-top: 1px solid #34353a; margin: 1.6rem 0 0; padding-top: 0.6rem; } .dna-common summary { cursor: pointer; font-weight: 800; font-size: 1.1rem; min-height: 44px; display: flex; align-items: center; } .dna-common .dna-sec h2 { font-size: 1.05rem; }

/* Most Tested (2.2.0) */
.mt-hero { text-align: center; padding: 1.6rem 0 1.2rem; } .mt-hero .btn { min-height: 54px; min-width: 240px; margin-top: 0.6rem; } .mt-hero-s { margin: 0.7rem 0 0; }
.mt-hero.compact { padding: 0.6rem 0; } .mt-hero.compact .hero-h { font-size: 1.5rem; } .mt-hero.compact .lead { display: none; }
.mt-title { margin: 1.4rem 0 0.2rem; color: var(--grey); } .mt-title .eyebrow { display: block; }
.mt-sec { margin: 1.6rem 0; } .mt-sec h2 { margin: 0 0 0.6rem; }
.mt-invite { background: var(--bg2); border: 1px solid #34353a; border-radius: 18px; padding: 1.2rem 1.1rem; text-align: center; } .mt-invite-h { font-size: 1.25rem; font-weight: 800; margin: 0 0 0.3rem; } .mt-invite .btn { margin-top: 0.7rem; min-height: 48px; }
.mt-list { list-style: none; margin: 0; padding: 0; } .mt-list li { border-bottom: 1px solid #2a2b2f; }
.mt-row { display: grid; grid-template-columns: 2rem 1fr minmax(64px, 34%); align-items: center; gap: 0.6rem; width: 100%; min-height: 52px; padding: 0.5rem 0.2rem; background: none; border: 0; color: var(--white); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.mt-row[aria-pressed="true"] .mt-name { color: var(--accent); } .mt-pos { font-weight: 800; color: var(--accent); } .mt-name { font-weight: 700; } .mt-name .eyebrow { display: block; font-size: 0.7rem; }
.mt-bar { display: block; height: 8px; border-radius: 4px; background: #2a2b2f; overflow: hidden; } .mt-bar-f { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; }
.mt-brand { background: var(--bg2); border-radius: 16px; padding: 0.9rem 1rem; margin: 0.8rem 0 0; } .mt-brand h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.mt-period { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 1rem 0 0; } .mt-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; } .mt-tags li { border: 1px solid #34353a; border-radius: 999px; padding: 0.35rem 0.8rem; }
.mt-camp { margin-top: 2rem; }

/* Eight languages (3.0.0): the switcher is a small menu instead of a row of links */
.langs-d { position: relative; order: 3; } .langs-d summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 0.9rem; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 0.7rem; } .langs-d summary::-webkit-details-marker { display: none; }
.langs-d .langs { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--bg2); border: 1px solid #34353a; border-radius: 14px; padding: 0.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.2rem; }
.langs-d .langs a[aria-current] { color: var(--on-accent); background: var(--accent); box-shadow: none; border-radius: 8px; }

/* Result page, compact: character in one line under the diagram, three next moves, impressions folded away. */
.char-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1.1rem; margin: 0.2rem 0 0.9rem; padding: 0; }
.char-line div { display: flex; gap: 0.35rem; align-items: baseline; } .char-line dt { color: var(--dim, #a9aaae); font-size: 0.85rem; } .char-line dd { margin: 0; font-weight: 700; }
.next-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 1rem 0 0.4rem; }
.next-a { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.45rem; min-height: 88px; padding: 0.9rem 0.4rem; border: 1px solid #55565b; border-radius: 16px; text-align: center; text-decoration: none; color: var(--white); font-weight: 700; font-size: 0.9rem; line-height: 1.25; }
.next-a .ico { width: 26px; height: 26px; color: var(--accent); } .next-a:hover, .next-a:focus-visible { border-color: var(--accent); }
.imp-d { margin: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } .imp-d > summary { cursor: pointer; padding: 0.95rem 0; font-weight: 700; min-height: 48px; }
.invite .racket { width: 44px; height: 44px; display: block; margin: 0 auto 0.5rem; } .invite .racket .m-a { fill: var(--accent); } .invite .racket .m-c { fill: var(--bg, #111214); }
.insight { padding: 1rem 0 0.4rem; margin: 1rem 0; } .insight h2 { font-size: 1.05rem; margin: 0 0 0.7rem; } .insight .ins-item { margin: 0 0 0.8rem; } .insight .ins-v { font-size: 1.15rem; margin: 0 0 0.15rem; }
.insight .ins-item:first-of-type:not(.ins-prog) .ins-p { display: none; } .insight .ins-p { font-size: 0.85rem; line-height: 1.4; color: var(--grey); }
.share-lead { padding: 0.9rem 1rem 0.7rem; margin: 1rem 0; } .share-lead .field { margin: 0.5rem 0; } .share-lead .field legend { font-size: 0.8rem; } .share-lead .chips { flex-wrap: nowrap; gap: 0.35rem; justify-content: center; } .share-lead .chip span { min-height: 40px; padding: 0.3rem 0.6rem; font-size: 0.8rem; white-space: nowrap; }
.share-lead .actions { margin: 0.6rem 0 0.4rem; gap: 0.5rem; } .share-lead > .small { margin: 0.3rem 0 0; font-size: 0.78rem; }

/* Sharing with the community: one clear choice, and waiting shown as progress. */
.gf-choice { border: 1px solid var(--accent); border-radius: 18px; padding: 1rem 1rem 0.6rem; margin: 1.4rem 0 1rem; text-align: center; }
.gf-choice .gf-share-h, .imp-box .gf-share-h { margin: 0 0 0.4rem; font-size: 1.15rem; } .gf-share-h .ico { width: 22px; height: 22px; margin-right: 0.4rem; vertical-align: -4px; color: var(--accent); }
.gf-one { margin: 0 0 0.5rem; font-size: 0.95rem; } .gf-more { text-align: left; font-size: 0.85rem; color: var(--grey); margin: 0 0 0.8rem; } .gf-more > summary { cursor: pointer; text-align: center; padding: 0.5rem 0; text-decoration: underline; } .gf-more p { margin: 0.4rem 0; }
.gf-yes { width: 100%; } .gf-yes .ico { width: 20px; height: 20px; margin-right: 0.45rem; vertical-align: -4px; }
.gf-no { display: block; width: 100%; min-height: 48px; margin-top: 0.3rem; padding: 0.7rem; background: none; border: 0; color: var(--white); text-decoration: underline; font: inherit; cursor: pointer; }
.gf-dots { display: flex; justify-content: center; gap: 0.6rem; margin: 0.7rem 0; } .gf-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent); } .gf-dot.on { background: var(--accent); }
.gf-wait { text-align: center; } .gf-wait-p { font-size: 0.92rem; margin: 0.3rem 0; } .gf-wait-n { margin: 0.5rem 0 0.8rem; }

/* ===== Homepage 4.0: full-width sections, large type, photography. Less software, more sport. ===== */
body[data-page="home"] main { max-width: none; padding: 0; }
body[data-page="home"] .dash { max-width: var(--max); margin: 1rem auto 1.4rem; padding: 0 1.1rem; }
.hx-in { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; box-sizing: border-box; }
.ac { color: var(--accent); }
.hx-hero, .hx-philo { position: relative; overflow: hidden; }
.hx-hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); } .hx-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; display: block; }
.hx-hero .hx-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,20,0.45) 0%, rgba(17,18,20,0.72) 45%, var(--bg) 96%); }
.hx-hero-in { position: relative; z-index: 1; padding-top: 9.5rem; padding-bottom: 1.6rem; }
.hx-h1 { margin: 0.6rem 0 0.9rem; font-size: clamp(3rem, 14vw, 6.5rem); line-height: 0.96; font-weight: 900; letter-spacing: -0.035em; }
.hx-sub { margin: 0 0 0.9rem; font-size: clamp(1.1rem, 4.6vw, 1.5rem); line-height: 1.35; color: #e6e6e8; max-width: 30rem; }
.hx-tag { margin: 0 0 1.3rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.hx-cta { display: flex; flex-direction: column; gap: 0.6rem; align-items: stretch; margin: 0 0 0.8rem; } .hx-cta .btn { margin: 0; }
.hx-link { display: inline-block; align-self: center; color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding: 0.75rem 0 0.3rem; min-height: 44px; box-sizing: border-box; }
.hx-trust { margin: 0; font-size: 0.85rem; color: var(--grey); text-align: center; }
.hx-sign { margin: 1.6rem 0 0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; text-align: center; }
.hx-sec { padding: 3.4rem 0; } .hx-alt { background: var(--bg2); }
.hx-h2 { margin: 0.4rem 0 1rem; font-size: clamp(2.1rem, 9vw, 3.5rem); line-height: 1.03; font-weight: 900; letter-spacing: -0.03em; }
.hx-lead { margin: 0 0 0.8rem; font-size: 1.08rem; line-height: 1.5; color: #d0d0d3; max-width: 34rem; } .hx-sec .btn { margin-top: 0.8rem; }
.hx-three { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; } .hx-three li { padding: 1.2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.4rem; }
.hx-three .hx-n { grid-row: span 2; font-size: 0.85rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; padding-top: 0.45rem; } .hx-three h3 { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; } .hx-three p { margin: 0.35rem 0 0; color: #d0d0d3; }
.hx-two { display: grid; gap: 1.6rem; } .hx-radar { margin: 0; text-align: center; } .hx-radar svg { max-width: 420px; width: 100%; height: auto; } .hx-five { margin: 0.6rem 0 1rem; max-width: none; }
.hx-tiles { list-style: none; margin: 1.4rem -1.25rem 0; padding: 0 1.25rem 0.4rem; display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.hx-tile { flex: none; width: 64vw; max-width: 280px; scroll-snap-align: start; } .hx-tile figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--bg2); aspect-ratio: 2 / 3; }
.hx-tile img { width: 100%; height: 100%; object-fit: cover; display: block; } .hx-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1rem 1rem; background: linear-gradient(180deg, rgba(17,18,20,0) 0%, rgba(17,18,20,0.75) 45%, rgba(17,18,20,0.96) 100%); }
.hx-tile .m-num { color: var(--accent); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; } .hx-tile h3 { margin: 0.2rem 0 0; font-size: 1.15rem; line-height: 1.15; } .hx-tile p { margin: 0.3rem 0 0; font-size: 0.85rem; line-height: 1.4; color: #dcdcde; }
.hx-cards { display: grid; gap: 0.9rem; } .hx-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem 1.2rem; }
.hx-card-h { display: flex; justify-content: space-between; align-items: center; margin: 0 0 0.4rem; font-size: 1.05rem; } .hx-ex { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem; }
.hx-rows, .hx-dna, .hx-mt { list-style: none; margin: 0; padding: 0; } .hx-rows li { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); } .hx-rows li:last-child { border-bottom: 0; }
.hx-rows strong { display: block; } .hx-sc { font-size: 1.6rem; font-weight: 900; color: var(--accent); } .hx-k { margin: 0.2rem 0 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.hx-dna { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; font-size: 0.95rem; } .hx-dna span { color: var(--grey); }
.hx-invite { margin: 0; padding: 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: 20px; color: #d0d0d3; } .hx-gf-side .home-cards { max-width: none; margin: 0; } .hx-mt li { border-bottom: 1px solid var(--line); }
.hx-map #gmap-body { min-width: 0; }
.hx-gf-side { order: 2; }
.hx-philo { padding: 4.5rem 0 3.5rem; } .hx-philo .hx-hero-bg img { object-position: 62% 50%; } .hx-philo .hx-hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(17,18,20,0.66); }
.hx-philo-in { position: relative; z-index: 1; } .hx-p1 { margin: 0 0 1rem; font-size: clamp(1.5rem, 6.4vw, 2.75rem); line-height: 1.14; font-weight: 800; letter-spacing: -0.02em; color: #c9c9cc; max-width: 52rem; }
.hx-p2 { margin: 0 0 1.6rem; font-size: clamp(2.1rem, 9vw, 3.75rem); line-height: 1.04; font-weight: 900; letter-spacing: -0.03em; max-width: 56rem; }
.hx-by { margin: 0 0 0.6rem; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; } .hx-philo .tag1 { margin: 1.6rem 0 0; }
body[data-page="home"] .credits { margin: 1.2rem 0 2rem; }
@media (min-width: 900px) {
  .hx-in { padding: 0 5vw; }
  .hx-hero-bg img { object-position: 50% 40%; } .hx-hero .hx-hero-bg::after { background: linear-gradient(90deg, rgba(17,18,20,0.92) 0%, rgba(17,18,20,0.6) 45%, rgba(17,18,20,0.25) 100%), linear-gradient(180deg, rgba(17,18,20,0) 70%, var(--bg) 100%); }
  .hx-hero-in { padding-top: 2.6rem; padding-bottom: 2.2rem; min-height: 40rem; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 2rem; }
  .hx-hero-main { grid-column: 1; align-self: start; max-width: 42rem; } .hx-qr { grid-column: 2; grid-row: 1; align-self: start; }
  .hx-cta { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.8rem; } .hx-link { align-self: auto; } .hx-trust { text-align: left; }
  .hx-sign { grid-column: 1 / -1; text-align: left; margin-top: 2.4rem; font-size: 0.95rem; letter-spacing: 0.34em; }
  .hx-qr { width: 400px; max-width: 34vw; } .hx-qr canvas { width: 210px; height: 210px; } .hx-hero .desk-links a { color: #e6e6e8; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 0.25rem; } .hx-hero .desk-links { gap: 2rem; margin: 0.6rem 0 0.9rem; font-size: 1rem; }
  .hx-sec { padding: 6rem 0; } .hx-lead { font-size: 1.2rem; }
  .hx-three { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; } .hx-three li { border-top: 2px solid var(--accent); padding: 1.6rem 0 0; display: block; } .hx-three .hx-n { display: block; padding: 0 0 0.8rem; } .hx-three h3 { font-size: 2.1rem; } .hx-three p { font-size: 1.05rem; line-height: 1.5; margin-top: 0.8rem; }
  .hx-two { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 5.5rem; align-items: center; } .hx-two-r { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); } .hx-radar svg { max-width: 500px; }
  .hx-tiles { margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; overflow: visible; } .hx-tile { width: auto; max-width: none; } .hx-tile figure { aspect-ratio: 3 / 5; }
  .hx-gf-side { order: 0; }
  .hx-map { align-items: start; } .hx-philo { padding: 7rem 0 5rem; } .hx-philo .hx-cta { justify-content: flex-start; }
}
@media print { .hx-hero-bg { display: none; } }

/* 4.2.0 — final homepage refinement: Start Test in the desktop hero, Feeling DNA section, flags in the language list */
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.22); display: block; background-size: cover; }
.f-en { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23012169%22/%3E%3Cpath d=%22M0 0l20 14M20 0L0 14%22 stroke=%22%23fff%22 stroke-width=%222.8%22/%3E%3Cpath d=%22M0 0l20 14M20 0L0 14%22 stroke=%22%23C8102E%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M10 0v14M0 7h20%22 stroke=%22%23fff%22 stroke-width=%224.6%22/%3E%3Cpath d=%22M10 0v14M0 7h20%22 stroke=%22%23C8102E%22 stroke-width=%222.6%22/%3E%3C/svg%3E'); }
.f-de { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23DD0000%22/%3E%3Crect width=%2220%22 height=%224.67%22 fill=%22%23000%22/%3E%3Crect y=%229.33%22 width=%2220%22 height=%224.67%22 fill=%22%23FFCE00%22/%3E%3C/svg%3E'); }
.f-fr { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23fff%22/%3E%3Crect width=%226.67%22 height=%2214%22 fill=%22%230055A4%22/%3E%3Crect x=%2213.33%22 width=%226.67%22 height=%2214%22 fill=%22%23EF4135%22/%3E%3C/svg%3E'); }
.f-it { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23fff%22/%3E%3Crect width=%226.67%22 height=%2214%22 fill=%22%23009246%22/%3E%3Crect x=%2213.33%22 width=%226.67%22 height=%2214%22 fill=%22%23CE2B37%22/%3E%3C/svg%3E'); }
.f-es { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23AA151B%22/%3E%3Crect y=%223.5%22 width=%2220%22 height=%227%22 fill=%22%23F1BF00%22/%3E%3C/svg%3E'); }
.f-sv { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23006AA7%22/%3E%3Crect x=%225.5%22 width=%222.6%22 height=%2214%22 fill=%22%23FECC00%22/%3E%3Crect y=%225.7%22 width=%2220%22 height=%222.6%22 fill=%22%23FECC00%22/%3E%3C/svg%3E'); }
.f-cs { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23D7141A%22/%3E%3Crect width=%2220%22 height=%227%22 fill=%22%23fff%22/%3E%3Cpath d=%22M0 0l9 7-9 7z%22 fill=%22%2311457E%22/%3E%3C/svg%3E'); }
.f-pl { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23DC143C%22/%3E%3Crect width=%2220%22 height=%227%22 fill=%22%23fff%22/%3E%3C/svg%3E'); }
.langs-d summary { gap: 0.4rem; padding: 0 0.6rem; }
.langs-d .langs { grid-template-columns: repeat(2, minmax(8.5rem, 1fr)); }
.langs-d .langs a { display: flex; align-items: center; gap: 0.55rem; text-align: left; min-height: 44px; padding: 0.45rem 0.7rem; white-space: nowrap; font-weight: 600; }
.hx-dna { grid-template-columns: 1fr; gap: 0; font-size: 1rem; }
.hx-dna li { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 0.8rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--line); } .hx-dna li:last-child { border-bottom: 0; }
.hx-dna span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; } .hx-dna b { font-size: 1.25rem; font-weight: 900; color: var(--accent); }
.hx-card-2 { background: var(--bg2); } .hx-lead-w { color: var(--white); font-size: 1.2rem; }
.hx-philo .hx-by { color: var(--accent); margin-bottom: 1.2rem; }
#home-mt .hx-cta { margin-top: 1.2rem; }
#home-dna .hx-cards { order: 2; } .hx-cta .btn { white-space: nowrap; }
@media (min-width: 900px) { #home-dna .hx-cards { order: 0; } #home-mt .hx-cta { flex-wrap: wrap; } #home-mt .hx-link { white-space: nowrap; } }
.f-hu { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23fff%22/%3E%3Crect width=%2220%22 height=%224.67%22 fill=%22%23CE2939%22/%3E%3Crect y=%229.33%22 width=%2220%22 height=%224.67%22 fill=%22%23477050%22/%3E%3C/svg%3E'); }
.f-ro { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23FCD116%22/%3E%3Crect width=%226.67%22 height=%2214%22 fill=%22%23002B7F%22/%3E%3Crect x=%2213.33%22 width=%226.67%22 height=%2214%22 fill=%22%23CE1126%22/%3E%3C/svg%3E'); }
.f-nl { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23fff%22/%3E%3Crect width=%2220%22 height=%224.67%22 fill=%22%23AE1C28%22/%3E%3Crect y=%229.33%22 width=%2220%22 height=%224.67%22 fill=%22%2321468B%22/%3E%3C/svg%3E'); }
.f-da { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23C8102E%22/%3E%3Crect x=%225.5%22 width=%222.6%22 height=%2214%22 fill=%22%23fff%22/%3E%3Crect y=%225.7%22 width=%2220%22 height=%222.6%22 fill=%22%23fff%22/%3E%3C/svg%3E'); }
.f-pt { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23DA291C%22/%3E%3Crect width=%228%22 height=%2214%22 fill=%22%23046A38%22/%3E%3Ccircle cx=%228%22 cy=%227%22 r=%222.6%22 fill=%22%23FFE900%22/%3E%3Ccircle cx=%228%22 cy=%227%22 r=%221.3%22 fill=%22%23DA291C%22/%3E%3C/svg%3E'); }
.f-sk { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%230B4EA2%22/%3E%3Crect width=%2220%22 height=%224.67%22 fill=%22%23fff%22/%3E%3Crect y=%229.33%22 width=%2220%22 height=%224.67%22 fill=%22%23EE1C25%22/%3E%3Cpath d=%22M3.6 3.4h4.8v4.2c0 1.7-1.2 2.7-2.4 3.2-1.2-.5-2.4-1.5-2.4-3.2z%22 fill=%22%23EE1C25%22 stroke=%22%23fff%22 stroke-width=%22.6%22/%3E%3Cpath d=%22M6 4.6v4.6M4.9 5.8h2.2M4.6 7.1h2.8%22 stroke=%22%23fff%22 stroke-width=%22.7%22/%3E%3C/svg%3E'); }
.f-hr { background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 14%22%3E%3Crect width=%2220%22 height=%2214%22 fill=%22%23fff%22/%3E%3Crect width=%2220%22 height=%224.67%22 fill=%22%23FF0000%22/%3E%3Crect y=%229.33%22 width=%2220%22 height=%224.67%22 fill=%22%23171796%22/%3E%3Cpath d=%22M7.4 4.2h5.2v4c0 1.6-1.2 2.6-2.6 2.9-1.4-.3-2.6-1.3-2.6-2.9z%22 fill=%22%23fff%22 stroke=%22%23FF0000%22 stroke-width=%22.5%22/%3E%3Cpath d=%22M7.4 4.2h1.3v1.4H7.4zM10 4.2h1.3v1.4H10zM8.7 5.6H10V7H8.7zM11.3 5.6h1.3V7h-1.3zM7.4 7h1.3v1.4H7.4zM10 7h1.3v1.4H10zM8.7 8.4H10v1.6H8.7z%22 fill=%22%23FF0000%22/%3E%3C/svg%3E'); }
@media (min-width: 900px) { .langs-d .langs { grid-template-columns: repeat(3, minmax(8.5rem, 1fr)); } }
.langs-d .langs { max-height: 72vh; overflow-y: auto; }

/* 5.1.0 — TTReplay: compact contextual links to the independent sister site. No banners, no animation. */
.ttr-mark { font-weight: 900; letter-spacing: -0.02em; font-size: 1.05rem; color: var(--white); white-space: nowrap; } .ttr-mark span { color: var(--accent); }
.ttr-x { margin-left: 0.45rem; vertical-align: -1px; flex: none; }
.ttr-card { display: grid; gap: 0.9rem; margin: 2.2rem 0 0; padding: 1.3rem 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--bg2); text-align: left; }
.ttr-card h2 { font-size: 1.2rem; margin: 0; line-height: 1.25; } .ttr-card p { margin: 0.35rem 0 0; color: var(--grey); font-size: 0.95rem; }
.ttr-b { display: grid; gap: 0.6rem; } .ttr-b .btn { margin: 0; display: inline-flex; align-items: center; justify-content: center; }
.ttr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.8rem; margin: 2rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--grey); font-size: 0.95rem; }
.ttr-line .ttr-mark { font-size: 0.95rem; } .ttr-a { color: var(--accent); font-weight: 700; text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
.hx-ttr { padding: 2.6rem 0; } .ttr-home { display: grid; gap: 1.1rem; padding: 1.6rem 1.4rem; border: 1px solid var(--line); border-radius: 22px; background: var(--bg2); }
.ttr-mark-l { font-size: 1.5rem; margin: 0 0 0.3rem; } .ttr-home h2 { margin: 0; font-size: 1.7rem; line-height: 1.1; letter-spacing: -0.02em; } .ttr-home .ttr-t p { margin: 0.2rem 0; color: #d0d0d3; }
@media (min-width: 700px) { .ttr-card { grid-template-columns: 1fr auto; align-items: center; gap: 0.5rem 1.6rem; padding: 1.4rem 1.6rem 1.5rem; } .ttr-card .ttr-mark { grid-column: 1 / -1; } .ttr-b { grid-auto-flow: column; }
  .ttr-card[data-ttr=result] { grid-template-columns: 1fr; gap: 0.9rem; } .ttr-card[data-ttr=result] .ttr-b { grid-auto-columns: 1fr; }
  .ttr-home { grid-template-columns: auto 1fr auto; align-items: center; gap: 2.4rem; padding: 2rem 2.4rem; } .ttr-home h2 { font-size: 2rem; } }
