﻿:root {
    --blush: #fdf4f5;
    --pink: #e8a0bf;
    --pink-deep: #d77da5;
    --blue: #b9d3e2;
    --purple: #95739e;
    --lilac: #cfb1d7;
    --ink: #263238;
    --muted: #59666c;
    --white: #fffdfd;
    --display: "Nunito Sans", "Arial Rounded MT Bold", sans-serif;
    --body: "Inter", system-ui, sans-serif;
    --hand: "Caveat", cursive;
    --container: min(1180px, calc(100vw - 48px));
    --shadow-rest: 0 5px 16px rgba(38,50,56,.055);
    --shadow-hover: 0 10px 24px rgba(38,50,56,.11);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--blush); font-family: var(--body); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
html, body { max-width: 100%; overflow-x: clip; overscroll-behavior-x: none; }
body { position: relative; width: 100%; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
::selection { color: var(--ink); background: var(--pink); }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 4px; border-radius: 4px; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-pad { padding: 70px 0 76px; }

h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.045em; line-height: 1.05; }
h1 { font-size: clamp(3.8rem, 8vw, 7.8rem); font-weight: 900; }
h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); font-weight: 900; }
h3 { font-size: 1.45rem; }
em { color: var(--pink-deep); font-family: var(--hand); font-weight: 600; letter-spacing: -0.025em; }
.eyebrow { margin: 0 0 20px; color: var(--purple); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow--light { color: #eaddef; }
.eyebrow--pink { color: var(--pink); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; padding: 13px 0; transition: padding .35s ease, background .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { padding: 5px 0; background: rgba(255,253,253,.86); box-shadow: var(--shadow-rest); backdrop-filter: blur(16px); }
.nav-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; width: min(1020px, calc(100vw - 48px)); min-height: 70px; margin: auto; }
.nav-side { display: flex; align-items: center; gap: clamp(28px, 3.25vw, 52px); font-size: .88rem; font-weight: 600; }
.nav-left { justify-content: flex-end; padding-right: 38px; }
.nav-right { justify-content: flex-start; padding-left: 38px; }
.nav-side a { position: relative; padding: 12px 2px; }
.nav-side a::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; background: var(--pink-deep); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.nav-side a:hover::after { transform: scaleX(1); transform-origin: left; }
.brand { display: flex; align-items: center; justify-content: center; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.account-nav { position: absolute; left: calc(100% + 24px); display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(38,50,56,.1); border-radius: 999px; background: rgba(255,255,255,.72); box-shadow: var(--shadow-rest); font-size: .72rem; font-weight: 700; white-space: nowrap; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.account-nav:hover { background: white; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.nav-avatar { display: grid; width: 29px; height: 29px; flex: 0 0 29px; overflow: hidden; color: var(--ink); border: 2px solid #fff; border-radius: 43% 57% 49% 51% / 57% 44% 56% 43%; background: var(--avatar-color); font-family: var(--display); font-size: .62rem; place-items: center; }
.nav-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; display: grid; min-height: 96svh; place-items: center; padding: 170px 0 130px; overflow: hidden; isolation: isolate; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-eyebrow { position: relative; }
.hero-eyebrow-mobile { display: none; }
.hero h1 { max-width: 1100px; margin: auto; }
.hero h1 em { position: relative; display: inline-block; font-size: 1.2em; font-weight: 700; }
.hero h1 em::after { content: ""; position: absolute; right: 2%; bottom: 5px; left: 2%; z-index: -1; height: 12px; border-radius: 100%; background: rgba(232,160,191,.35); transform: rotate(-1deg); }
.hero-copy { max-width: 620px; margin: 32px auto 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 34px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 56px; padding: 0 27px; border-radius: 100px; font-size: .9rem; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button--primary { color: white; background: var(--ink); box-shadow: var(--shadow-rest); }
.button--primary:hover { box-shadow: var(--shadow-hover); }
.button--pink { color: var(--ink); background: var(--pink); }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 700; }
.text-link span, .arrow-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translateY(4px); }
.arrow-link:hover span { transform: translateX(5px); }
.arrow-link--light { color: white; }
.hero-blob { position: absolute; z-index: -2; aspect-ratio: 1.16; }
.hero-blob--pink { top: 15%; right: -8%; width: clamp(420px, 43vw, 720px); border-radius: 62% 38% 54% 46% / 42% 58% 42% 58%; background: linear-gradient(145deg, rgba(207,177,215,.32), rgba(232,160,191,.14) 48%, rgba(185,211,226,.28)); opacity: .5; transform: rotate(-7deg); }
.hero-blob--blue { bottom: 5%; left: -13%; width: clamp(390px, 38vw, 620px); border-radius: 37% 63% 41% 59% / 57% 36% 64% 43%; background: linear-gradient(155deg, rgba(185,211,226,.48), rgba(185,211,226,.2) 62%, rgba(207,177,215,.16)); opacity: .55; transform: rotate(11deg); }
.hero-blob::after { content: ""; position: absolute; inset: 18% 24% 17% 14%; border: 1px solid rgba(149,115,158,.15); border-radius: 42% 58% 37% 63% / 61% 39% 61% 39%; }

.wave-divider { position: relative; z-index: 4; height: clamp(74px, 10vw, 150px); margin: -1px 0 -3px; background: var(--wave-bg); overflow: hidden; }
.wave-divider svg { width: calc(100% + 4px); height: calc(100% + 4px); margin-left: -2px; overflow: visible; }
.wave-divider path { fill: var(--wave-color); will-change: transform; }
.wave-divider--flip svg { transform: scaleX(-1); }

.section-purple { color: white; background: var(--purple); }
.intro { padding: 58px 0 66px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); align-items: center; gap: clamp(42px, 6vw, 88px); }
.intro-art { position: relative; display: grid; min-height: 520px; place-items: center; isolation: isolate; }
.intro-art-circle { position: absolute; inset: 15% 11% calc(15% + 20px); display: grid; border-radius: 53% 47% 44% 56% / 48% 55% 45% 52%; background: rgba(255,255,255,.09); overflow: hidden; place-items: center; transform: translateY(-10px); }
.intro-illustration { width: 116%; max-width: none; height: 116%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(38,50,56,.07)); }
.art-caption { position: absolute; right: 0; bottom: 7%; font-family: var(--hand); font-size: 1.45rem; transform: rotate(-4deg); }
.intro-copy h2 { margin-bottom: 30px; font-size: clamp(2.5rem, 4.55vw, 4.5rem); }
.intro-copy p { max-width: 580px; color: rgba(255,255,255,.75); }
.intro-copy .lead { color: white; font-size: 1.42rem; font-weight: 500; }
.intro-copy .arrow-link { margin-top: 22px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 55px; }
.section-heading h2 { font-size: clamp(2.5rem, 4.5vw, 4.2rem); }
.section-heading > .arrow-link { margin-bottom: 12px; white-space: nowrap; }
.question-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.question-card { position: relative; min-height: 390px; padding: 32px; border: 1px solid rgba(38,50,56,.08); border-radius: 26px; background: rgba(255,255,255,.74); box-shadow: var(--shadow-rest); transition: transform .35s ease, box-shadow .35s ease; }
.question-card:nth-child(2) { transform: translateY(28px) rotate(1deg); }
.question-card:nth-child(3) { transform: rotate(-1deg); }
.question-card:hover { z-index: 2; transform: translateY(-7px) rotate(0); box-shadow: var(--shadow-hover); }
.question-meta { display: flex; justify-content: space-between; margin-bottom: 43px; color: var(--purple); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.question-meta span:last-child { color: #8a9599; }
.question-card h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.2; }
.question-card h3 a::after { content: ""; position: absolute; inset: 0; }
.question-card > p { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.question-bottom { position: absolute; right: 32px; bottom: 28px; left: 32px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .75rem; }
.question-bottom > a { position: relative; z-index: 2; display: grid; width: 42px; height: 42px; margin-left: auto; color: white; border-radius: 50%; background: var(--ink); place-items: center; }
.avatar-pair { display: flex; }
.avatar-pair i { width: 24px; height: 24px; border: 2px solid white; border-radius: 50%; background: var(--pink); }
.avatar-pair i + i { margin-left: -8px; background: var(--blue); }

.section-blue { background: var(--blue); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { position: relative; }
.article-visual { position: relative; display: block; height: 230px; margin-bottom: 25px; border-radius: 54px 24px 24px 24px; background: rgba(255,255,255,.46); overflow: hidden; transition: border-radius .35s ease, transform .35s ease; }
.article-card:hover .article-visual { border-radius: 24px 54px 24px 24px; transform: translateY(-5px); }
.article-visual > span { position: absolute; top: 22px; left: 25px; color: rgba(38,50,56,.35); font-family: var(--display); font-size: .75rem; font-weight: 900; }
.article-visual svg { position: absolute; right: 10%; bottom: 11%; width: 70%; height: 68%; }
.article-visual path { fill: none; stroke: var(--purple); stroke-width: 3; stroke-linecap: round; }
.article-visual > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-visual > img { transform: scale(1.035); }
.article-category { margin: 0 0 8px; color: var(--purple); font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.article-card h3 { font-size: 1.6rem; line-height: 1.18; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card > p:not(.article-category) { color: #45565e; font-size: .9rem; }
.card-link { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid rgba(38,50,56,.18); font-size: .78rem; font-weight: 700; }

.reveal-teaser { position: relative; padding: 58px 0 72px; color: white; background: var(--ink); overflow: hidden; }
.reveal-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.reveal-copy h2 { font-size: clamp(2.6rem, 4.5vw, 4.55rem); }
.reveal-copy p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.63); }
.reveal-copy .button { margin-top: 20px; }
.reveal-modes { display: grid; gap: 14px; }
.mode-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 18px; min-height: 104px; padding: 18px 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.045); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.mode-card:hover { border-color: var(--pink); background: rgba(232,160,191,.09); transform: translateX(8px); }
.mode-number { color: var(--pink); font-size: .65rem; font-weight: 700; }
.mode-card strong, .mode-card small { display: block; }
.mode-card strong { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 1.43rem; line-height: 1.2; }
.mode-card small { color: rgba(255,255,255,.5); }
.mode-card strong + small { margin-top: 6px; }
.mode-icon { display: inline-grid; flex: 0 0 30px; width: 30px; height: 30px; color: white; border-radius: 9px; background: var(--pink); font-size: .88rem; place-items: center; }

.founder { padding-top: 56px; }
.founder-inner { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(50px, 9vw, 130px); max-width: 1000px; }
.founder-mark { position: relative; display: grid; width: min(330px, 100%); aspect-ratio: 1; border-radius: 43% 57% 48% 52% / 55% 45% 55% 45%; background: rgba(232,160,191,.17); place-items: center; }
.founder-mark img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.founder-copy .handwritten { margin: 0; color: var(--pink-deep); font-family: var(--hand); font-size: 2rem; }
.founder-copy h2 { font-size: clamp(2.15rem, 3.6vw, 3.55rem); }
.founder-copy > p:not(.handwritten, .signature) { max-width: 650px; color: var(--muted); font-size: 1.18rem; }
.signature { margin: 10px 0 0; font-family: var(--hand); font-size: 2.2rem; }
.signature span { color: var(--pink-deep); }

/* Authentication and profile */
.auth-page { position: relative; min-height: 860px; padding: 150px 0 95px; background: var(--blush); overflow: hidden; isolation: isolate; }
.auth-shell { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(55px, 8vw, 110px); width: min(1080px, calc(100vw - 48px)); margin: auto; }
.auth-welcome h1 { max-width: 520px; font-size: clamp(3.2rem, 5.4vw, 5.7rem); }
.auth-welcome > p:not(.eyebrow) { max-width: 480px; margin-top: 28px; color: var(--muted); }
.auth-card { padding: clamp(30px, 4vw, 52px); border: 1px solid rgba(38,50,56,.08); border-radius: 30px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-rest); }
.auth-card-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 30px; }
.auth-card-heading h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.auth-card-heading p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.auth-icon { display: grid; flex: 0 0 54px; width: 54px; height: 54px; color: white; border-radius: 41% 59% 48% 52% / 58% 42% 58% 42%; background: var(--purple); place-items: center; }
.auth-form, .profile-form { display: grid; gap: 20px; }
.auth-form label, .profile-form label { display: grid; gap: 7px; min-width: 0; color: var(--ink); font-size: .78rem; font-weight: 700; }
.auth-form label > span:first-child, .profile-form label > span:first-child { padding-left: 2px; }
.auth-form input, .profile-form input, .profile-form textarea { width: 100%; min-height: 52px; padding: 13px 16px; color: var(--ink); border: 1px solid rgba(38,50,56,.15); border-radius: 13px; outline: 0; background: var(--blush); font: inherit; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.profile-form textarea { min-height: 145px; resize: vertical; }
.auth-form input:focus, .profile-form input:focus, .profile-form textarea:focus { border-color: var(--purple); background: white; box-shadow: 0 0 0 3px rgba(149,115,158,.12); }
.auth-form small, .profile-form small { color: #778288; font-size: .66rem; font-weight: 500; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-row--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 52px; }
.password-field button { position: absolute; top: 50%; right: 8px; display: grid; width: 38px; height: 38px; padding: 0; color: var(--muted); border: 0; background: transparent; cursor: pointer; place-items: center; transform: translateY(-50%); }
.auth-password-row { margin-bottom: -13px; }
.password-requirement { display: block; margin: 0 0 2px 2px; }
.auth-submit { width: 100%; margin-top: 6px; border: 0; cursor: pointer; }
.auth-switch { margin: 24px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.auth-switch a { color: var(--purple); font-weight: 800; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.form-alert { margin-bottom: 22px; padding: 13px 16px; border-radius: 13px; background: rgba(185,211,226,.35); font-size: .78rem; }
.form-alert--error { background: rgba(232,160,191,.25); }
.form-alert--success { background: rgba(185,211,226,.42); }
.form-alert ul { margin: 0; padding-left: 19px; }
.auth-blob { position: absolute; z-index: -1; aspect-ratio: 1; }
.auth-blob--pink { top: 8%; right: -9%; width: min(520px,42vw); border-radius: 57% 43% 62% 38% / 42% 59% 41% 58%; background: rgba(232,160,191,.17); }
.auth-blob--blue { bottom: 4%; left: -10%; width: min(480px,38vw); border-radius: 37% 63% 44% 56% / 62% 39% 61% 38%; background: rgba(185,211,226,.3); }

.profile-page { background: white; }
.profile-hero { position: relative; padding: 160px 0 55px; background: var(--blush); overflow: hidden; isolation: isolate; }
.profile-hero-blob { position: absolute; top: 4%; right: -3%; z-index: -1; width: min(420px,34vw); aspect-ratio: 1.3; border-radius: 62% 38% 55% 45% / 43% 58% 42% 57%; background: rgba(207,177,215,.24); }
.profile-hero-inner { position: relative; display: grid; grid-template-columns: 140px minmax(0,1fr) auto; align-items: center; gap: 32px; }
.profile-hero h1 { font-size: clamp(3rem, 5vw, 5.4rem); }
.profile-hero-inner > div:nth-child(2) > p:last-child { max-width: 600px; margin: 15px 0 0; color: var(--muted); }
.profile-avatar { display: grid; width: 86px; height: 86px; color: var(--ink); border: 5px solid white; border-radius: 43% 57% 50% 50% / 58% 44% 56% 42%; background: var(--avatar-color); box-shadow: var(--shadow-rest); font-family: var(--display); font-size: 1.45rem; font-weight: 900; place-items: center; overflow: hidden; }
.profile-avatar--large { width: 140px; height: 140px; border-width: 7px; font-size: 2.3rem; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.logout-form button { display: flex; align-items: center; gap: 9px; padding: 12px 16px; color: var(--muted); border: 1px solid rgba(38,50,56,.12); border-radius: 999px; background: rgba(255,255,255,.65); cursor: pointer; }
.logout-form button:hover { color: var(--ink); background: white; }
.profile-content { padding: 25px 0 85px; background: white; }
.profile-global-alert { margin-bottom: 28px; }
.profile-global-alert .form-alert { margin-bottom: 0; }
.profile-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); align-items: start; gap: clamp(45px,7vw,90px); }
.profile-preview { position: sticky; top: 110px; }
.profile-preview-card { display: block; width: 100%; padding: 30px; border: 1px solid rgba(38,50,56,.08); border-radius: 25px; background: var(--blush); box-shadow: var(--shadow-rest); text-align: center; }
.profile-preview-card .profile-avatar { margin: 0 auto 18px; }
.profile-preview-card h2 { font-size: 1.65rem; }
.profile-preview-card > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: .8rem; }
.profile-handle { margin: 3px 0 0; color: var(--purple); font-size: .7rem; }
.privacy-note { display: flex; gap: 13px; margin-top: 18px; padding: 17px; color: var(--muted); border-radius: 17px; background: rgba(185,211,226,.23); font-size: .7rem; }
.privacy-note i { margin-top: 4px; color: var(--purple); }
.privacy-note p { margin: 0; }
.privacy-note strong { display: block; color: var(--ink); }
.profile-form-card { min-width: 0; }
.profile-form { gap: 0; }
.profile-form section { padding: 38px 0; border-bottom: 1px solid rgba(38,50,56,.1); }
.profile-form section:first-of-type { padding-top: 0; }
.profile-form section > label, .profile-form section > .form-row { margin-top: 18px; }
.form-section-title { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 25px; }
.form-section-title > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; color: white; border-radius: 12px; background: var(--purple); font-size: .65rem; font-weight: 800; place-items: center; }
.form-section-title h2 { font-size: 1.85rem; }
.form-section-title p { margin: 5px 0 0; color: var(--muted); font-size: .75rem; }
.color-picker { display: flex; flex-wrap: wrap; gap: 12px; }
.color-picker label { cursor: pointer; }
.color-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.color-picker label > span { display: grid; width: 52px; height: 52px; color: white; border: 4px solid white; border-radius: 50%; outline: 1px solid rgba(38,50,56,.12); background: var(--choice-color); box-shadow: var(--shadow-rest); place-items: center; transition: transform .2s ease, outline-color .2s ease; }
.color-picker i { opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .2s ease; }
.color-picker input:checked + span { outline: 3px solid var(--ink); outline-offset: 2px; transform: scale(1.06); }
.color-picker input:checked + span i { opacity: 1; transform: scale(1); }
.profile-save { display: flex; align-items: center; justify-content: flex-end; gap: 25px; padding-top: 30px; }
.profile-save p { color: var(--muted); font-size: .72rem; }
.profile-save .button { border: 0; cursor: pointer; }

.public-profile-page { background: white; }
.public-profile-hero { position: relative; padding: 165px 0 65px; background: var(--blush); overflow: hidden; isolation: isolate; }
.public-profile-blob { position: absolute; top: 4%; right: -3%; z-index: -1; width: min(440px,35vw); aspect-ratio: 1.25; border-radius: 62% 38% 47% 53% / 42% 61% 39% 58%; background: rgba(185,211,226,.27); }
.public-profile-head { display: grid; grid-template-columns: 170px minmax(0,1fr) auto; align-items: center; gap: 38px; }
.public-profile-avatar { width: 170px; height: 170px; border-width: 7px; font-size: 2.8rem; }
.public-profile-head h1 { font-size: clamp(3.2rem,6vw,6.5rem); }
.public-profile-lead { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.public-profile-content { padding: 35px 0 45px; }
.public-profile-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(55px,9vw,130px); }
.public-profile-about h2 { max-width: 650px; font-size: clamp(2.5rem,4.5vw,4.5rem); }
.public-profile-about > p:last-child { max-width: 680px; color: var(--muted); font-size: 1rem; }
.public-profile-facts { display: grid; align-content: start; gap: 12px; }
.public-profile-facts > div { display: grid; grid-template-columns: 38px 1fr; padding: 17px 19px; border-radius: 16px; background: var(--blush); }
.public-profile-facts i { grid-row: 1 / 3; color: var(--purple); align-self: center; }
.public-profile-facts span { color: var(--muted); font-size: .65rem; }
.public-profile-facts strong { font-size: .83rem; }
.profile-articles { padding: 70px 0 85px; background: var(--blush); }
.profile-article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.profile-article-grid .blog-card { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 280px; }
.profile-article-grid .blog-card-image { min-height: 100%; }
.profile-article-grid .blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.profile-article-grid .blog-card-content { padding: 25px; }
.profile-article-grid h3 { font-size: 1.5rem; }
.profile-article-grid .blog-card-content > p:not(.article-category) { color: var(--muted); font-size: .78rem; }
.empty-profile-articles { color: var(--muted); }

/* Tests */
.tests-hero { position:relative; display:grid; min-height:50svh; padding:138px 0 58px; background:var(--blush); overflow:hidden; place-items:center; isolation:isolate; }
.tests-hero-blob { position:absolute; top:-8%; right:-1%; z-index:-1; width:min(430px,34vw); aspect-ratio:1.15; border-radius:62% 38% 49% 51% / 43% 59% 41% 57%; background:rgba(185,211,226,.3); }
.tests-hero-inner { text-align:center; }
.tests-hero h1 { max-width:1100px; margin:auto; font-size:clamp(4rem,7vw,6.4rem); white-space:nowrap; }
.tests-hero h1 em { display:inline-block; font-size:1.08em; }
.tests-hero-inner>p:last-child { max-width:720px; margin:30px auto 0; color:var(--muted); font-size:1.08rem; }
.tests-library { padding:45px 0 90px; background:white; }
.tests-tools { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-bottom:45px; }
.tests-search { position:relative; flex:0 1 390px; }
.tests-search i { position:absolute; top:50%; left:17px; color:var(--muted); transform:translateY(-50%); }
.tests-search input { width:100%; height:52px; padding:0 18px 0 47px; color:var(--ink); border:1px solid rgba(38,50,56,.12); border-radius:999px; outline:0; background:var(--blush); }
.tests-search input:focus { border-color:var(--purple); box-shadow:0 0 0 3px rgba(149,115,158,.1); }
.tests-filters { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.tests-filters button { padding:10px 15px; color:var(--muted); border:1px solid rgba(38,50,56,.11); border-radius:999px; background:white; cursor:pointer; }
.tests-filters button.is-active { color:white; border-color:var(--purple); background:var(--purple); }
.tests-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; }
.test-card { position:relative; display:grid; grid-template-columns:.85fr 1.15fr; min-height:330px; border:1px solid rgba(38,50,56,.08); border-radius:27px; background:var(--white); box-shadow:var(--shadow-rest); overflow:hidden; transition:transform .3s ease,box-shadow .3s ease; }
.test-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.test-card[hidden] { display:none; }
.test-card-visual { position:relative; display:grid; color:var(--purple); background:linear-gradient(145deg,#fffafa,rgba(185,211,226,.16)); place-items:center; }
.test-card-visual>i { font-size:5.2rem; }
.test-card-visual>img { width:100%; height:100%; object-fit:contain; padding:18px; }
.test-card-number { position:absolute; top:19px; left:19px; z-index:3; padding:6px 10px; color:var(--ink); border-radius:999px; background:rgba(255,255,255,.82); font-size:.63rem; font-weight:700; }
.test-card-copy { display:flex; flex-direction:column; align-items:flex-start; padding:32px; }
.test-card-copy h2 { font-size:clamp(1.55rem,2.2vw,2rem); }
.test-card-copy h2 a::after { content:""; position:absolute; inset:0; z-index:1; }
.test-card-copy .arrow-link,.test-card-visual { position:relative; z-index:2; }
.test-card--pink .test-card-visual { background:linear-gradient(145deg,#fffdfa,rgba(253,244,245,.9)); }
.test-card--ocean .test-card-visual { background:linear-gradient(145deg,#fff5f9,rgba(232,160,191,.47)); }
.test-card--jung .test-card-visual,
.test-card--who .test-card-visual,
.test-card--riasec .test-card-visual { background:linear-gradient(145deg,#f5fbff,rgba(144,187,212,.58)); }
.test-card--attach .test-card-visual { background:linear-gradient(145deg,#fffaf8,rgba(253,244,245,.92)); }
.test-card--enneagram .test-card-visual { background:linear-gradient(145deg,#f1ebf7,rgba(149,115,158,.34)); }
.test-card--dark-triad .test-card-visual,
.test-card--gadphq .test-card-visual { background:linear-gradient(145deg,#fffafa,rgba(185,211,226,.16)); }
.test-card--gottman .test-card-visual { background:linear-gradient(145deg,#fff5f9,rgba(232,160,191,.47)); }
.test-card--burnout .test-card-visual,
.test-card--belbin .test-card-visual { background:linear-gradient(145deg,#f1ebf7,rgba(149,115,158,.34)); }
.test-card--pss .test-card-visual { background:linear-gradient(145deg,#f5fbff,rgba(144,187,212,.58)); }
.type-thumb { display:grid; text-align:center; place-items:center; }
.type-thumb strong { color:var(--purple); font:900 clamp(4.5rem,8vw,7rem)/1 var(--display); }
.test-card--ocean .type-thumb strong { font-size:clamp(2.5rem,4vw,3.8rem); letter-spacing:.04em; }
.type-thumb small { margin-top:12px; color:var(--ink); font-size:.68rem; font-weight:800; letter-spacing:.08em; }
.test-card-copy>p:not(.article-category) { color:var(--muted); font-size:.82rem; }
.test-card-copy .arrow-link { margin-top:auto; }
.tests-empty { padding:70px 20px; color:var(--muted); text-align:center; }
.tests-empty i { color:var(--lilac); font-size:3rem; }
.tests-empty h2 { margin-top:15px; color:var(--ink); font-size:2.3rem; }
.tests-empty p { margin-top:7px; }

.test-detail { background:white; }
.test-detail-hero { position:relative; padding:125px 0 45px; background:var(--blush); overflow:hidden; isolation:isolate; }
.test-detail-blob { position:absolute; top:6%; right:-4%; z-index:-1; width:min(500px,39vw); aspect-ratio:1.2; border-radius:43% 57% 62% 38% / 58% 42% 58% 42%; background:rgba(207,177,215,.22); }
.test-detail-head { text-align:center; }
.test-detail-head .article-breadcrumbs { justify-content:center; }
.test-detail-head h1 { max-width:1000px; margin:38px auto 0; color:var(--ink); font-size:clamp(3rem,5.8vw,5.6rem); }
.test-detail-head h1 em { display:inline-block; font-size:1.05em; }
.test-detail-head>p:not(.eyebrow) { max-width:720px; margin:27px auto 0; color:var(--muted); font-size:1.08rem; }
.test-meta { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:28px; }
.test-meta span { display:flex; align-items:center; gap:7px; padding:8px 12px; color:#526168; border-radius:999px; background:rgba(255,255,255,.75); font-size:.68rem; }
.test-meta i { color:var(--purple); }
.test-intro { padding:50px 0 75px; }
.test-intro-grid { display:grid; grid-template-columns:1.3fr .7fr; align-items:center; gap:clamp(55px,9vw,120px); max-width:1040px; }
.test-intro h2 { font-size:clamp(2.5rem,4.4vw,4.2rem); }
.test-intro p { color:var(--muted); }
.test-privacy-card { padding:28px; border-radius:25px; background:rgba(185,211,226,.32); }
.test-privacy-card>i { display:grid; width:51px; height:51px; color:white; border-radius:16px; background:var(--purple); place-items:center; }
.test-privacy-card h3 { margin-top:22px; font-size:1.5rem; }
.test-privacy-card p { margin-bottom:0; font-size:.78rem; }
.quiz-section { padding:75px 0 85px; background:var(--purple); }
.quiz-card { width:min(900px,100%); min-height:590px; margin:auto; padding:clamp(30px,6vw,65px); border-radius:34px; background:white; box-shadow:0 12px 32px rgba(38,50,56,.1); }
.quiz-card [hidden] { display:none!important; }
.quiz-start { display:grid; min-height:450px; text-align:center; place-content:center; justify-items:center; }
.quiz-symbol { display:grid; width:82px; height:82px; margin-bottom:25px; color:var(--purple); border-radius:43% 57% 48% 52% / 59% 43% 57% 41%; background:var(--blue); font-size:2rem; place-items:center; }
.quiz-symbol>* { display:none; }
.quiz-symbol::before { content:"?"; font:900 2.4rem var(--display); }
.quiz-start h2 { font-size:clamp(2.8rem,5vw,4.5rem); }
.quiz-start>p:not(.eyebrow) { max-width:500px; color:var(--muted); }
.quiz-start .button { margin-top:20px; border:0; cursor:pointer; }
.quiz-progress-head { display:flex; justify-content:space-between; color:var(--muted); font-size:.72rem; }
.quiz-progress { height:8px; margin-top:10px; border-radius:999px; background:var(--blush); overflow:hidden; }
.quiz-progress span { display:block; width:20%; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--pink),var(--purple)); transition:width .35s ease; }
.quiz-question { padding-top:48px; }
.quiz-question>p { margin:0 0 9px; color:var(--purple); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.quiz-question h2 { max-width:760px; min-height:2.1em; font-size:clamp(2rem,4.3vw,3.6rem); line-height:1.08; }
.quiz-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin-top:35px; }
.quiz-options button { display:flex; align-items:center; justify-content:space-between; min-height:57px; padding:10px 16px; color:var(--ink); border:1px solid rgba(38,50,56,.12); border-radius:14px; background:var(--blush); cursor:pointer; text-align:left; transition:.2s; }
.quiz-options button:hover,.quiz-options button.is-selected { border-color:var(--pink-deep); background:rgba(232,160,191,.2); transform:translateY(-2px); }
.quiz-options button i { display:grid; width:25px; height:25px; color:white; border-radius:50%; background:var(--pink-deep); opacity:0; place-items:center; }
.quiz-options button.is-selected i { opacity:1; }
.quiz-navigation { margin-top:25px; }
.quiz-navigation button,.result-copy>.text-link { padding:8px 0; color:var(--muted); border:0; background:transparent; cursor:pointer; }
.quiz-navigation button:disabled { opacity:.3; }
.quiz-result { display:grid; grid-template-columns:270px 1fr; align-items:center; gap:55px; min-height:450px; }
.result-score { position:relative; display:grid; place-items:center; }
.result-score svg { width:260px; transform:rotate(-90deg); }
.result-score circle { fill:none; stroke:var(--blush); stroke-width:9; }
.result-score .result-ring { stroke:var(--pink-deep); stroke-linecap:round; transition:stroke-dashoffset 1s ease; }
.result-score>div { position:absolute; text-align:center; }
.result-score strong,.result-score span { display:block; }
.result-score strong { font:900 4.5rem/1 var(--display); }
.result-score span { color:var(--muted); font-size:.72rem; }
.result-copy h2 { font-size:clamp(2.2rem,4vw,3.6rem); }
.result-copy>p:not(.eyebrow) { color:var(--muted); }
.result-note { margin:22px 0; padding:18px; border-radius:15px; background:var(--blush); }
.result-note p { margin:5px 0 0; color:var(--muted); font-size:.76rem; }
.result-actions { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.result-actions .button { min-height:48px; border:0; cursor:pointer; }
[data-quiz-restart] { display:none!important; }
.quiz-card--jung { min-height:650px; }
.jung-endpoints { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:22px; margin-top:28px; }
.jung-endpoints h2 { display:grid; min-height:125px; padding:20px; border-radius:18px; background:var(--blush); font-size:clamp(1.35rem,2.7vw,2.15rem); text-align:center; place-items:center; }
.jung-endpoints>span { color:var(--muted); font-size:.7rem; }
.jung-scale { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-top:28px; }
.jung-scale button { display:grid; min-height:76px; padding:9px 5px; color:var(--muted); border:1px solid rgba(38,50,56,.12); border-radius:14px; background:white; cursor:pointer; place-items:center; }
.jung-scale button span { display:grid; width:30px; height:30px; color:var(--ink); border-radius:50%; background:var(--blush); font-weight:800; place-items:center; }
.jung-scale button small { font-size:.58rem; }
.jung-scale button:hover,.jung-scale button.is-selected { color:var(--ink); border-color:var(--pink-deep); background:rgba(232,160,191,.16); }
.jung-result { grid-template-columns:250px 1fr; }
.jung-type { text-align:center; }
.jung-type>span,.jung-type>strong,.jung-type>small { display:block; }
.jung-type>span { color:var(--muted); font-size:.7rem; }
.jung-type>strong { color:var(--purple); font:900 5rem/1.15 var(--display); letter-spacing:.03em; }
.jung-type>small { margin-top:12px; color:var(--muted); }
.jung-axes { display:grid; gap:15px; margin:22px 0; }
.jung-axes header { display:flex; justify-content:space-between; gap:15px; margin-bottom:6px; font-size:.68rem; }
.jung-axes header span { color:var(--muted); }
.jung-axes>div>div { height:8px; border-radius:99px; background:var(--blue); overflow:hidden; }
.jung-axes i { display:block; height:100%; border-right:3px solid white; background:var(--pink); }
.test-source-disclaimer { margin-top:28px; color:var(--muted); font-size:.7rem; }
.trait-result { grid-template-columns:1fr; }
.trait-bars { display:grid; gap:18px; margin:28px 0; }
.trait-bars header { display:flex; justify-content:space-between; gap:20px; margin-bottom:7px; font-size:.76rem; }
.trait-bars header strong { line-height:1.45; }
.trait-bars header strong span { color:var(--muted); font-family:var(--font-body); font-size:.95em; font-style:normal; font-weight:500; letter-spacing:0; text-transform:none; }
.trait-bars>div>div { height:10px; border-radius:99px; background:var(--blush); overflow:hidden; }
.trait-bars i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--blue),var(--purple)); }
.enneagram-result { grid-template-columns:220px 1fr; }
.enneagram-type { text-align:center; }
.enneagram-type span,.enneagram-type strong,.enneagram-type small { display:block; }
.enneagram-type span,.enneagram-type small { color:var(--muted); font-size:.7rem; }
.enneagram-type strong { color:var(--pink-deep); font:900 7rem/1 var(--display); }
.enneagram-bars { display:grid; gap:8px; margin:22px 0; }
.enneagram-bars>div { display:grid; grid-template-columns:minmax(190px,1.2fr) 1fr 42px; align-items:center; gap:10px; font-size:.65rem; }
.enneagram-bars>div>div { height:7px; border-radius:99px; background:var(--blush); overflow:hidden; }
.enneagram-bars i { display:block; height:100%; background:var(--pink); }
.enneagram-bars strong { text-align:right; }
.enneagram-bars>div:nth-child(1)>span::after { content:" – štandardy a zlepšovanie"; }
.enneagram-bars>div:nth-child(2)>span::after { content:" – vzťahy a pomoc"; }
.enneagram-bars>div:nth-child(3)>span::after { content:" – výkon a ciele"; }
.enneagram-bars>div:nth-child(4)>span::after { content:" – identita a emocionálna hĺbka"; }
.enneagram-bars>div:nth-child(5)>span::after { content:" – poznanie a súkromie"; }
.enneagram-bars>div:nth-child(6)>span::after { content:" – bezpečie a lojalita"; }
.enneagram-bars>div:nth-child(7)>span::after { content:" – skúsenosti a možnosti"; }
.enneagram-bars>div:nth-child(8)>span::after { content:" – samostatnosť a vedenie"; }
.enneagram-bars>div:nth-child(9)>span::after { content:" – pokoj a zmierovanie"; }
.enneagram-result .result-note>strong { font-size:0; }
.enneagram-result .result-note>strong::after { content:"Čo skóre znamená?"; font-size:.8rem; }
.enneagram-legend { display:grid; grid-template-columns:1fr 1fr; gap:5px 18px; margin-top:9px; }
.enneagram-legend p { margin:0; }
.attachment-scale { display:grid; grid-template-columns:repeat(7,1fr); gap:7px; margin-top:30px; }
.attachment-scale button { display:grid; min-height:74px; padding:7px 4px; border:1px solid rgba(38,50,56,.12); border-radius:13px; background:white; cursor:pointer; place-items:center; }
.attachment-scale button span { display:grid; width:29px; height:29px; border-radius:50%; background:var(--blush); font-weight:800; place-items:center; }
.attachment-scale button small { font-size:.55rem; }
.attachment-scale button:hover,.attachment-scale button.is-selected { border-color:var(--pink-deep); background:rgba(232,160,191,.14); }
.test-interpretation { padding:85px 0 95px; }
.test-interpretation-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(45px,8vw,100px); max-width:1050px; }
.test-interpretation h2 { font-size:clamp(2.3rem,4vw,3.8rem); }
.test-interpretation article>p:last-child { color:var(--muted); }
.test-sources { max-width:1050px; margin-top:75px; padding-top:45px; border-top:1px solid rgba(38,50,56,.1); }
.test-interpretation--sources { padding:40px 0 55px; }
.test-interpretation--sources .test-sources { margin-top:0; padding-top:0; border-top:0; }
.test-sources h2 { font-size:2rem; }
.test-sources ol { display:grid; gap:18px; padding-left:24px; }
.test-sources li { padding-left:10px; }
.test-sources a { font-weight:700; text-decoration:underline; text-decoration-color:var(--pink); text-underline-offset:4px; }
.test-sources span { display:block; margin-top:4px; color:var(--muted); font-size:.7rem; }

.site-footer { padding: 85px 0 25px; color: white; background: var(--purple); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr 1.2fr; gap: 50px; }
.footer-brand img { width: 66px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p, .footer-help p { color: rgba(255,255,255,.68); font-size: .85rem; }
.footer-title { margin: 0 0 15px !important; color: white !important; font-size: .7rem !important; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; width: max-content; margin: 7px 0; color: rgba(255,255,255,.72); font-size: .84rem; }
.footer-grid a:hover { color: white !important; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5); font-size: .7rem; }
.not-found { display: grid; min-height: 88vh; padding: 140px 30px 80px; background: var(--blush); text-align: center; place-content: center; justify-items: center; }
.not-found h1 { max-width: 900px; margin-bottom: 30px; font-size: clamp(2.7rem, 6vw, 4.8rem); }
.not-found > p:not(.eyebrow) { max-width: 600px; margin: -12px auto 30px; color: var(--muted); }

/* Shared inner pages */
.subpage-hero { position: relative; display: grid; min-height: 82svh; padding: 160px 0 100px; overflow: hidden; place-items: center; isolation: isolate; }
.subpage-hero-inner { position: relative; z-index: 1; text-align: center; }
.subpage-hero h1 { max-width: 1100px; margin-inline: auto; font-size: clamp(3.8rem, 7.6vw, 7.4rem); }
.subpage-hero h1 em { display: inline-block; font-size: 1.08em; font-weight: 700; }
.subpage-hero-inner > p:not(.eyebrow) { max-width: 700px; margin: 30px auto 0; color: var(--muted); font-size: 1.15rem; }
.subpage-hero .button { margin-top: 34px; }
.about-hero, .materials-hero { min-height: 52svh; padding: 138px 0 58px; }
.about-hero h1, .materials-hero h1 { font-size: clamp(3.6rem, 6vw, 5.5rem); }
.subpage-blob { position: absolute; z-index: -1; width: min(680px, 52vw); aspect-ratio: 1.2; }
.subpage-blob--pink { top: 12%; right: -10%; border-radius: 62% 38% 48% 52% / 43% 57% 43% 57%; background: rgba(232,160,191,.17); transform: rotate(-8deg); }
.materials-hero .subpage-blob--pink { top: 4%; right: -3%; width: min(485px, 36vw); }
.subpage-blob--blue { bottom: 0; left: -9%; border-radius: 39% 61% 55% 45% / 56% 42% 58% 44%; background: rgba(185,211,226,.32); transform: rotate(9deg); }

/* Materials */
.materials-list { padding: 78px 0 100px; background: white; }
.materials-intro { display: grid; grid-template-columns: 1fr 1.1fr; align-items: end; gap: 60px; margin-bottom: 62px; }
.materials-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -45px; }
.materials-intro h2 { font-size: clamp(2.7rem, 4.5vw, 4.25rem); }
.materials-intro > p:not(.eyebrow) { max-width: 520px; margin: 0 0 8px; color: var(--muted); }
.materials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.material-product { display: grid; grid-template-columns: minmax(165px, .72fr) minmax(0, 1.28fr); min-height: 405px; border: 1px solid rgba(38,50,56,.09); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-rest); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.material-product:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.material-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; padding: 32px 26px; overflow: hidden; }
.material-cover::before, .material-cover::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.3); }
.material-cover::before { top: -35px; right: -40px; width: 145px; height: 145px; }
.material-cover::after { top: 105px; left: -48px; width: 110px; height: 110px; }
.material-product--pink .material-cover { background: var(--pink); }
.material-product--blue .material-cover { background: var(--blue); }
.material-product--lilac .material-cover { background: var(--lilac); }
.material-product--cream .material-cover { background: #f7dfc7; }
.material-cover > i { position: absolute; top: 50%; left: 50%; color: rgba(38,50,56,.55); font-size: 2.7rem; transform: translate(-50%, -50%); }
.material-cover strong { position: relative; z-index: 1; max-width: 100%; padding-left: 5px; font-family: var(--display); font-size: clamp(1.22rem, 1.6vw, 1.68rem); letter-spacing: -.04em; line-height: 1.05; overflow-wrap: anywhere; }
.material-cover small { position: relative; z-index: 1; margin-top: 9px; font-weight: 600; }
.material-free { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.76); font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.material-content { display: flex; flex-direction: column; padding: 22px 23px; }
.material-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; color: var(--purple); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.material-language { display: inline-flex; align-items: center; gap: 6px; }
.material-language img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; }
.material-content h3 { font-size: 1.75rem; }
.material-content > p:not(.adam-note) { color: var(--muted); font-size: .86rem; line-height: 1.65; }
.material-note { margin: 5px 0 17px; padding: 11px 13px; border-radius: 12px; background: var(--blush); color: var(--muted); font-size: .75rem; line-height: 1.5; }
.material-note strong { color: var(--purple); }
.download-button { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: auto; padding: 0 17px; color: white; border-radius: 99px; background: var(--ink); font-size: .78rem; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.download-button:hover { background: var(--purple); transform: translateY(-2px); }
.free-promise { padding: 34px 0 42px; background: var(--blush); }
.free-promise-inner { display: grid; grid-template-columns: 90px 1fr 1.2fr; align-items: center; gap: 36px; }
.free-promise-icon { display: grid; width: 82px; height: 82px; color: white; border-radius: 44% 56% 51% 49% / 57% 43% 57% 43%; background: var(--purple); font-size: 1.6rem; place-items: center; }
.free-promise h2 { font-size: clamp(2.2rem, 3.5vw, 3.4rem); }
.free-promise p:last-child { color: var(--muted); }

/* About */
.story-opening { padding: 65px 0 78px; color: white; background: var(--purple); }
.story-opening-grid { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(55px, 9vw, 125px); }
.story-photo-wrap { position: relative; width: min(390px, 100%); aspect-ratio: 1; }
.story-photo-wrap img { width: 100%; height: 100%; border-radius: 43% 57% 48% 52% / 55% 45% 55% 45%; object-fit: cover; }
.story-photo-note { position: absolute; right: -20px; bottom: 20px; padding: 6px 16px; color: var(--ink); border-radius: 99px; background: var(--pink); font-family: var(--hand); font-size: 1.5rem; transform: rotate(-5deg); }
.story-opening-copy h2 { max-width: 760px; font-size: clamp(2.5rem, 4.4vw, 4.2rem); }
.story-opening-copy p { max-width: 700px; color: rgba(255,255,255,.7); }
.story-paragraphs { display: grid; gap: 14px; margin-top: 25px; }
.story-paragraphs p { margin: 0; color: rgba(255,255,255,.74); font-size: 1rem; }
.story-timeline { padding: 70px 0 90px; background: var(--blush); }
.timeline-grid { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; gap: 10px; }
.timeline-grid article { min-height: 315px; padding: 23px 20px; border: 1px solid rgba(38,50,56,.08); border-radius: 22px; background: white; }
.timeline-grid article > span { display: inline-block; margin-bottom: 40px; color: var(--purple); font-family: var(--display); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.timeline-grid h3 { font-size: 1.45rem; }
.timeline-grid p { color: var(--muted); font-size: .86rem; }
.timeline-arrow { color: var(--pink-deep); font-family: var(--display); font-size: 1.35rem; font-weight: 900; text-align: center; }
.values-section { padding: 68px 0 82px; background: var(--blue); }
.values-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 125px); }
.values-heading { align-self: center; }
.values-heading h2 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); }
.values-list { display: grid; gap: 14px; }
.values-list article { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.42); }
.values-list article > span { display: grid; width: 52px; height: 52px; color: white; border-radius: 15px; background: var(--purple); place-items: center; }
.values-list h3 { font-size: 1.25rem; }
.values-list p { margin: 5px 0 0; color: #4c5d65; font-size: .86rem; }
.story-closing { padding: 70px 0 88px; color: white; background: var(--ink); text-align: center; }
.story-closing-inner { max-width: 850px; }
.story-closing img { width: 88px; height: auto; aspect-ratio: 1; margin: 0 auto 22px; filter: brightness(0) invert(1); object-fit: contain; opacity: .86; }
.story-closing .handwritten { margin: 0; color: var(--pink); font-family: var(--hand); font-size: 1.7rem; }
.story-closing h2 { font-size: clamp(2.6rem, 4.7vw, 4.5rem); }
.story-closing > div > p:not(.handwritten) { max-width: 650px; margin: 25px auto; color: rgba(255,255,255,.65); }
.story-actions { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 30px; }
.button--white { color: var(--ink); background: white; box-shadow: var(--shadow-rest); }
.button--white:hover { background: var(--blush); }

/* Contact and legal pages */
.simple-page-hero { position: relative; display: grid; min-height: 50svh; padding: 135px 0 55px; background: var(--blush); overflow: hidden; place-items: center; isolation: isolate; }
.simple-page-hero-inner { position: relative; z-index: 1; text-align: center; }
.simple-page-hero h1 { font-size: clamp(3.8rem, 6vw, 5.8rem); }
.simple-page-hero-inner > p:not(.eyebrow) { max-width: 680px; margin: 24px auto 0; color: var(--muted); font-size: 1.08rem; }
.simple-hero-blob { position: absolute; right: -4%; bottom: -35%; z-index: -1; width: min(430px, 34vw); aspect-ratio: 1; border-radius: 42% 58% 51% 49% / 57% 43% 57% 43%; background: rgba(185,211,226,.3); }
.contact-hero .simple-hero-blob { top: 3%; right: -2%; bottom: auto; width: min(390px, 31vw); }
.contact-section { padding: 58px 0 75px; background: white; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-card { position: relative; min-height: 390px; padding: 32px; border: 1px solid rgba(38,50,56,.08); border-radius: 26px; background: var(--blush); transition: transform .3s ease, box-shadow .3s ease; }
.contact-card--purple { background: #f4ecf6; }
.contact-card { box-shadow: var(--shadow-rest); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.contact-icon { display: grid; width: 58px; height: 58px; margin-bottom: 50px; color: white; border-radius: 18px; background: var(--ink); font-size: 1.25rem; place-items: center; }
.contact-card h2 { font-size: clamp(2.2rem, 3.2vw, 3.25rem); }
.contact-card > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.contact-card > strong { position: absolute; right: 32px; bottom: 28px; left: 32px; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(38,50,56,.12); font-size: .88rem; }
.contact-address { display: grid; grid-template-columns: 75px 1fr 1fr; align-items: center; gap: 30px; margin-top: 26px; padding: 32px; border-radius: 24px; background: var(--blue); }
.contact-address-icon { display: grid; width: 68px; height: 68px; color: white; border-radius: 50%; background: var(--ink); place-items: center; }
.contact-address h2 { font-size: clamp(1.5rem, 2.1vw, 2.05rem); }
.contact-address > p { color: #4c5d65; }
.operator-details { margin-top: 24px; padding: 22px 26px; border: 1px solid rgba(38,50,56,.08); border-radius: 18px; background: var(--blush); }
.operator-details .eyebrow { margin-bottom: 8px; }
.operator-details p:last-child { margin: 0; color: var(--muted); }
.operator-card { display: grid; grid-template-columns: 76px minmax(0, 1.2fr) minmax(240px, .8fr); align-items: center; gap: 30px; margin-top: 26px; padding: 30px 32px; border-radius: 24px; background: var(--blue); }
.operator-card-icon { display: grid; width: 68px; height: 68px; color: white; border-radius: 50%; background: var(--ink); place-items: center; }
.operator-card .eyebrow { margin-bottom: 8px; }
.operator-card-main h2 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); }
.operator-card-main > p:last-child { margin: 7px 0 0; color: #4c5d65; font-weight: 700; }
.operator-card-address { padding-left: 28px; border-left: 1px solid rgba(38,50,56,.15); }
.operator-card-address strong { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1.3; }
.operator-card-address small { display: block; margin-top: 12px; color: #53666e; font-size: .72rem; line-height: 1.5; }
.contact-note { padding: 36px 0 45px; background: var(--blush); }
.contact-note-inner { display: flex; align-items: flex-start; gap: 16px; max-width: 840px; }
.contact-note-inner > i { margin-top: 7px; color: var(--purple); }
.contact-note-inner p { margin: 0; color: var(--muted); }
.legal-section { padding: 60px 0 85px; background: white; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); justify-content: center; gap: clamp(55px, 8vw, 110px); }
.legal-aside { position: sticky; top: 110px; align-self: start; padding: 22px; border-radius: 18px; background: var(--blush); }
.legal-aside nav { display: grid; gap: 8px; }
.legal-aside a { color: var(--muted); font-size: .78rem; }
.legal-aside a:hover { color: var(--purple); }
.legal-content { min-width: 0; }
.legal-content > section { padding: 0 0 52px; scroll-margin-top: 110px; }
.legal-content > section + section { padding-top: 52px; border-top: 1px solid rgba(38,50,56,.1); }
.legal-content > section > span { display: inline-block; margin-bottom: 12px; color: var(--pink-deep); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.legal-content h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.legal-content h3 { margin-top: 30px; font-size: 1.25rem; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: var(--muted); font-size: .95rem; }
.legal-content a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.privacy-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.privacy-columns > div { padding: 22px; border-radius: 18px; background: var(--blush); }
.privacy-columns h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 1.02rem; }
.privacy-columns h3 i { color: var(--purple); }
.privacy-columns ul { margin: 16px 0 0; padding-left: 20px; }
.privacy-columns li + li { margin-top: 9px; }
.moderation-disclosure { display: grid; grid-template-columns: 58px 1fr; gap: 20px; margin: 30px 0; padding: 24px; border: 1px solid rgba(149,115,158,.18); border-radius: 20px; background: #f7f1f8; }
.moderation-disclosure > span { display: grid; width: 54px; height: 54px; color: white; border-radius: 16px; background: var(--purple); place-items: center; }
.moderation-disclosure h3 { margin: 0; }
.moderation-disclosure p:last-child { margin-bottom: 0; }
.operator-box { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--purple); border-radius: 0 14px 14px 0; background: var(--blush); }
.operator-box .eyebrow { margin-bottom: 7px; }
.operator-box p:last-child { margin: 0; }
.ads-explainer { display: grid; grid-template-columns: 58px 1fr; gap: 20px; margin: 28px 0; padding: 24px; border-radius: 20px; background: var(--blue); }
.ads-explainer > span { display: grid; width: 54px; height: 54px; color: white; border-radius: 16px; background: var(--ink); place-items: center; }
.ads-explainer h3 { margin: 0; }
.ads-explainer p { margin-bottom: 0; color: #45565e; }

/* Blog index */
.blog-hero { position: relative; display: grid; min-height: 50svh; padding: 138px 0 58px; background: var(--blush); overflow: hidden; place-items: center; isolation: isolate; }
.blog-hero-inner { position: relative; z-index: 1; text-align: center; }
.blog-hero h1 { font-size: clamp(4rem, 7vw, 6.4rem); }
.blog-hero-inner > p:not(.eyebrow) { max-width: 690px; margin: 24px auto 0; color: var(--muted); font-size: 1.08rem; }
.blog-hero-blob { position: absolute; top: 8%; left: -7%; z-index: -1; width: min(420px, 34vw); aspect-ratio: 1.15; border-radius: 40% 60% 55% 45% / 57% 42% 58% 43%; background: rgba(185,211,226,.3); transform: rotate(8deg); }
.blog-index { padding: 58px 0 85px; background: white; }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 42px; }
.blog-toolbar > p { margin: 0; color: var(--muted); font-size: .78rem; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.blog-filters a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(38,50,56,.1); border-radius: 99px; background: var(--blush); font-size: .75rem; font-weight: 700; }
.blog-filters a span { color: var(--purple); font-size: .62rem; }
.blog-filters a.is-active { color: white; border-color: var(--ink); background: var(--ink); }
.blog-filters a.is-active span { color: var(--pink); }
.blog-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.blog-card { border: 1px solid rgba(38,50,56,.08); border-radius: 26px; background: var(--white); box-shadow: var(--shadow-rest); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-card--featured { display: grid; grid-column: 1 / -1; grid-template-columns: 1.15fr .85fr; min-height: 450px; }
.blog-card-image { display: block; min-height: 275px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-content { display: flex; flex-direction: column; padding: 28px; }
.blog-card--featured .blog-card-content { justify-content: center; padding: clamp(34px, 5vw, 66px); }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; color: var(--muted); font-size: .66rem; font-weight: 600; }
.blog-card-meta a { color: var(--purple); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-card h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); line-height: 1.08; }
.blog-card--featured h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.blog-card-content > p { color: var(--muted); font-size: .9rem; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(38,50,56,.1); color: var(--muted); font-size: .7rem; }
.blog-card-footer a { color: var(--ink); font-weight: 800; }
.blog-card-footer i { margin-left: 7px; }
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 55px; }
.blog-pagination > a, .blog-page-current { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; gap: 10px; border: 1px solid rgba(38,50,56,.1); border-radius: 99px; font-size: .74rem; font-weight: 700; }
.blog-pagination > a { padding: 0 18px; }
.blog-page-current { color: white; background: var(--purple); }
.blog-pagination .is-disabled { opacity: .35; }

/* Article detail */
.article-detail { background: white; }
.article-header { padding: 122px 0 38px; background: var(--blush); text-align: center; }
.article-header-inner { max-width: 1000px; }
.article-breadcrumbs { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 32px; color: var(--muted); font-size: .7rem; }
.article-breadcrumbs a:hover { color: var(--purple); }
.article-header h1 { max-width: 920px; margin-inline: auto; font-size: clamp(2.8rem, 5.2vw, 5.15rem); }
.article-excerpt { max-width: 720px; margin: 20px auto 0; color: var(--muted); font-size: 1.02rem; }
.article-byline { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-align: left; }
.article-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.article-byline strong, .article-byline span { display: block; }
.article-byline strong { font-size: .8rem; }
.article-byline span { color: var(--muted); font-size: .68rem; }
.article-cover-wrap { max-width: 1180px; margin-top: 10px; }
.article-cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 30px; object-fit: contain; box-shadow: var(--shadow-rest); }
.article-layout { display: grid; grid-template-columns: 80px minmax(0, 760px); justify-content: center; gap: 45px; padding-top: 70px; padding-bottom: 70px; }
.article-share { position: sticky; top: 110px; align-self: start; display: grid; justify-items: center; gap: 11px; }
.article-share > span { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.article-share a { display: grid; width: 40px; height: 40px; color: white; border-radius: 50%; background: var(--ink); place-items: center; }
.article-content-column { min-width: 0; }
.article-body { min-width: 0; color: #37474f; font-size: 1.07rem; line-height: 1.84; }
.article-body h2 { margin: 2.1em 0 .7em; color: var(--ink); font-size: clamp(1.8rem, 3.2vw, 2.65rem); line-height: 1.16; }
.article-body h3 { margin: 1.8em 0 .65em; color: var(--ink); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; }
.article-body p { margin: 0 0 1.35em; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body em { color: inherit; font-family: inherit; font-weight: inherit; letter-spacing: inherit; }
.article-body blockquote { margin: 2em 0; padding: 20px 26px; color: #644e69; border-left: 4px solid var(--pink); border-radius: 0 16px 16px 0; background: var(--blush); font-family: var(--display); font-size: 1.25rem; line-height: 1.5; }
.article-sources { margin-top: 58px; padding-top: 38px; border-top: 1px solid rgba(38,50,56,.12); }
.article-sources h2 { font-size: 2rem; }
.article-sources ol { display: grid; gap: 20px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: sources; }
.article-sources li { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 14px; padding: 5px 0 20px; border-bottom: 1px solid rgba(38,50,56,.09); counter-increment: sources; }
.article-sources li::before { content: counter(sources, decimal-leading-zero); color: var(--purple); font-family: var(--display); font-size: 1.15rem; font-weight: 900; line-height: 1.3; }
.article-sources li > div { min-width: 0; }
.article-sources a { color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article-sources span { display: block; margin-top: 7px; color: var(--muted); font-size: .72rem; }
.article-sources i { margin-left: 5px; font-size: .58rem; }
.article-sources-html ol,.article-sources-html ul { display:grid; gap:20px; margin:22px 0 0; padding:0; list-style:none; counter-reset:sources; }
.article-sources-html li { display:grid; grid-template-columns:46px minmax(0,1fr); grid-template-rows:auto auto; column-gap:14px; row-gap:4px; padding:5px 0 20px; border-bottom:1px solid rgba(38,50,56,.09); counter-increment:sources; }
.article-sources-html li::before { content:counter(sources,decimal-leading-zero); color:var(--purple); font-family:var(--display); font-size:1.15rem; font-weight:900; }
.article-sources-html li::before { grid-column:1; grid-row:1 / span 2; }
.article-sources-html li > a { display:block; grid-column:2; grid-row:1; }
.article-sources-html li > span { display:block; grid-column:2; grid-row:2; margin-top:0; color:var(--muted); font-size:.72rem; }
.article-author-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 28px; max-width: 860px; margin-bottom: 65px; padding: 38px 42px; background: transparent; }
.article-author-card::before { content: ""; position: absolute; z-index: -1; inset: 3px -18px; border-radius: 43% 57% 46% 54% / 63% 39% 61% 37%; background: rgba(185, 211, 226, .22); }
.article-author-card > a > img { width: 110px; height: 110px; border-radius: 44% 56% 50% 50% / 56% 44% 56% 44%; object-fit: cover; }
.article-author-card .eyebrow { margin-bottom: 5px; }
.article-author-card h2 { font-size: 1.8rem; }
.article-author-card p:not(.eyebrow) { margin: 7px 0 12px; color: var(--muted); font-size: .82rem; }
.article-rating { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 35px; max-width: 860px; margin-bottom: 42px; padding: 34px 0; border-top: 1px solid rgba(38,50,56,.11); border-bottom: 1px solid rgba(38,50,56,.11); background: transparent; }
.article-rating h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.article-rating > div > p:not(.eyebrow) { margin: 8px 0 0; color: #4b5e66; font-size: .82rem; }
.rating-control { text-align: center; }
.rating-stars { display: flex; justify-content: center; gap: 5px; }
.rating-stars button { padding: 4px; color: rgba(38,50,56,.22); border: 0; background: transparent; font-size: 1.75rem; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.rating-stars button:hover, .rating-stars button.is-active { color: #f3a928; transform: translateY(-2px); }
.rating-stars button:disabled { cursor: wait; }
.rating-summary { min-height: 1.5em; margin: 8px 0 0; color: #4b5e66; font-size: .7rem; }
.related-articles { padding: 48px 0 72px; background: var(--blush); }
.related-articles .section-heading { margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.related-grid > a { position: relative; aspect-ratio: 3 / 2; border-radius: 22px; background: var(--ink); overflow: hidden; }
.related-grid > a::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(20,29,33,.88)); }
.related-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.related-grid > a:hover img { transform: scale(1.035); }
.related-grid h3 { position: absolute; right: 24px; bottom: 42px; left: 24px; z-index: 1; color: white; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.related-grid span { position: absolute; bottom: 19px; left: 24px; z-index: 1; color: var(--pink); font-size: .7rem; font-weight: 700; }

@media (max-width: 980px) {
    .nav-side { display: none; }
    .account-nav { display: none; }
    .nav-shell { grid-template-columns: 1fr auto; }
    .brand { position: relative; z-index: 2; justify-self: start; }
    .menu-toggle { position: relative; z-index: 2; display: grid; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; place-content: center; gap: 6px; }
    .menu-toggle span:not(.sr-only) { display: block; width: 19px; height: 2px; background: white; transition: transform .3s ease; }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
    .mobile-menu { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 100px 9vw 50px; background: var(--purple); opacity: 0; visibility: hidden; transform: translateY(-20px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
    .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
    body.menu-open .brand img { filter: brightness(0) invert(1); }
    .mobile-menu a { width: max-content; color: white; font-family: var(--display); font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 900; line-height: 1.25; }
    .mobile-menu-note { margin-top: 35px; color: rgba(255,255,255,.6); font-family: var(--hand); font-size: 1.5rem; }
    .hero-blob--pink { top: 20%; right: -18%; width: 580px; }
    .hero-blob--blue { bottom: 4%; left: -24%; width: 500px; }
    .intro-grid, .reveal-inner { grid-template-columns: 1fr; }
    .intro-art { width: min(100%, 560px); max-width: 560px; margin: auto; }
    .question-stack { grid-template-columns: 1fr; }
    .question-card { min-height: 315px; }
    .question-card:nth-child(2), .question-card:nth-child(3) { transform: none; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card:last-child { grid-column: span 2; max-width: calc(50% - 12px); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-help { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
    .founder-inner { grid-template-columns: 1fr; gap: 38px; }
    .founder-mark { width: min(300px, 78vw); margin-inline: auto; }
    .founder-copy { max-width: 620px; margin-inline: auto; text-align: center; }
    .auth-page { min-height: 0; padding: 120px 0 70px; }
    .auth-shell { grid-template-columns: 1fr; gap: 42px; }
    .auth-welcome { max-width: 650px; text-align: center; }
    .auth-welcome h1, .auth-welcome > p:not(.eyebrow) { margin-inline: auto; }
    .profile-hero-inner { grid-template-columns: 105px minmax(0,1fr); }
    .profile-avatar--large { width: 105px; height: 105px; }
    .logout-form { grid-column: 1 / -1; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-preview { position: static; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 18px; }
    .profile-preview > .eyebrow { grid-column: 1 / -1; }
    .privacy-note { margin-top: 0; }
    .public-profile-head { grid-template-columns: 115px minmax(0,1fr); gap: 24px; }
    .public-profile-avatar { width: 115px; height: 115px; font-size: 2rem; }
    .public-profile-head > .button { grid-column: 1 / -1; justify-self: start; }
    .public-profile-grid { grid-template-columns: 1fr; gap: 42px; }
    .profile-article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --container: min(100% - 32px, 1180px); }
    .section-pad { padding: 54px 0 62px; }
    .site-header { padding-top: 5px; }
    .nav-shell { min-height: 62px; }
    .brand img { width: 48px; height: 48px; }
    .brand span { font-size: .8rem; }
    .hero { min-height: 92svh; padding: 118px 0 76px; }
    .hero h1 { font-size: clamp(2.45rem, 12.5vw, 4.35rem); }
    .hero-title-lead { white-space: nowrap; }
    .hero h1 em { display: inline; }
    .hero h1 em::after { right: 1%; bottom: 2px; left: 1%; display: block; height: 8px; }
    .hero-eyebrow-desktop { display: none; }
    .hero-eyebrow-mobile { display: inline; }
    .hero-copy { margin-top: 24px; }
    .hero-actions { flex-direction: column; gap: 20px; }
    .hero-blob--pink { top: 22%; right: -55%; width: 520px; opacity: .42; }
    .hero-blob--blue { top: 48%; bottom: auto; left: -45%; width: 360px; opacity: .42; }
    .wave-divider { height: 70px; }
    .intro { padding: 45px 0 54px; }
    .intro-grid { gap: 30px; }
    .intro-art { min-height: 0; aspect-ratio: 1; }
    .intro-art-circle { top: calc(15% - 10px); bottom: calc(15% - 10px); }
    .intro-illustration { width: 116%; height: 116%; }
    .art-caption { right: 4px; bottom: 1%; font-size: 1.15rem; }
    .intro-copy .lead { font-size: 1.18rem; }
    .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
    .question-card { min-height: 350px; padding: 25px 25px 82px; }
    .question-meta { margin-bottom: 30px; }
    .question-bottom { right: 25px; left: 25px; }
    .article-grid { grid-template-columns: 1fr; gap: 45px; }
    .article-card:last-child { grid-column: auto; max-width: none; }
    .article-visual { height: 205px; }
    .reveal-teaser { padding: 44px 0 56px; }
    .reveal-inner { gap: 50px; }
    .reveal-copy h2 { font-size: clamp(2.35rem, 11.5vw, 3.35rem); }
    .mode-card { grid-template-columns: 32px 1fr auto; padding: 15px; }
    .founder-inner { grid-template-columns: 1fr; gap: 35px; }
    .founder-mark { width: min(240px, 76vw); margin: auto; }
    .founder-copy { text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-help { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
    .mobile-account-link { margin-top: 12px; color: var(--ink) !important; border-radius: 14px; background: var(--pink); font-size: 1.6rem !important; }
    .auth-shell { width: var(--container); }
    .auth-welcome h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
    .auth-card { padding: 27px 20px; border-radius: 23px; }
    .auth-card-heading { align-items: flex-start; }
    .form-row, .form-row--three { grid-template-columns: 1fr; }
    .auth-blob--pink { right: -35%; width: 350px; }
    .auth-blob--blue { left: -42%; width: 330px; }
    .profile-hero { padding: 120px 0 35px; }
    .profile-hero-inner { grid-template-columns: 78px minmax(0,1fr); gap: 17px; }
    .profile-avatar--large { width: 78px; height: 78px; border-width: 4px; font-size: 1.45rem; }
    .profile-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
    .profile-hero .eyebrow { margin-bottom: 9px; }
    .profile-hero-inner > div:nth-child(2) > p:last-child { font-size: .75rem; }
    .logout-form { display: flex; justify-content: center; }
    .profile-preview { display: block; }
    .privacy-note { margin-top: 16px; }
    .profile-form section { padding: 31px 0; }
    .form-section-title h2 { font-size: 1.55rem; }
    .color-picker { gap: 9px; }
    .color-picker label > span { width: 44px; height: 44px; }
    .profile-save { align-items: stretch; flex-direction: column; }
    .profile-save .button { width: 100%; }
    .profile-global-alert { margin-bottom: 22px; }
    .public-profile-hero { padding: 120px 0 40px; }
    .public-profile-head { grid-template-columns: 82px minmax(0,1fr); gap: 17px; }
    .public-profile-avatar { width: 82px; height: 82px; border-width: 4px; font-size: 1.35rem; }
    .public-profile-head h1 { font-size: clamp(2.2rem,11vw,3.2rem); }
    .public-profile-lead { font-size: .8rem; }
    .public-profile-content { padding-bottom: 60px; }
    .profile-articles { padding: 52px 0 65px; }
    .profile-article-grid .blog-card { grid-template-columns: 1fr; }
    .profile-article-grid .blog-card-image { min-height: 210px; }
}

/* Mobile viewport lock and invariant navigation (including iOS Safari). */
@media (max-width: 980px) {
    html { width: 100%; max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
    body { width: 100%; min-width: 0; max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
    .site-header,
    .site-header.is-scrolled {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        padding: 5px 0;
        transform: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-shell { width: min(100% - 32px, 1020px); }
    .mobile-menu,
    body.menu-open .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        min-height: 100vh;
    }
}

@media (min-width: 601px) {
    .reveal-party-topics > div {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: min(760px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    .intro-art-circle { bottom: calc(15% + 21px); }
    .reveal-orb--two { display: none; }
}

/* Final Poradňa hero parity with Knižnica. Must stay after legacy forum CSS. */
body .forum-hero {
    position: relative;
    display: grid;
    min-height: 52svh;
    padding: 138px 0 58px;
    overflow: hidden;
    background: var(--blush);
    place-items: center;
    isolation: isolate;
}
body .forum-hero-inner {
    position: relative;
    z-index: 1;
    display: block;
    max-width: none;
    text-align: center;
}
body .forum-hero-inner > .eyebrow { margin: 0 0 20px; }
body .forum-hero h1 {
    max-width: 1100px;
    margin: 0 auto;
    font-size: clamp(3.6rem, 6vw, 5.5rem);
    line-height: .96;
}
body .forum-hero .forum-hero-inner > p:not(.eyebrow) {
    max-width: 700px;
    margin: 30px auto 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.65;
}
body .forum-hero-inner .button { margin-top: 34px; }
body .forum-hero-blob {
    position: absolute;
    z-index: -1;
    top: 4%;
    right: -3%;
    width: min(485px, 36vw);
    height: auto;
    aspect-ratio: 1.2;
    border-radius: 62% 38% 48% 52% / 43% 57% 43% 57%;
    background: rgba(185,211,226,.32);
    transform: rotate(-8deg);
}

@media (max-width: 980px) {
    body .forum-hero {
        min-height: 48svh;
        padding: 118px 0 48px;
    }
    body .forum-hero-blob {
        top: 8%;
        right: -9%;
        width: min(395px, 47vw);
    }
}

@media (max-width: 640px) {
    body .forum-hero {
        min-height: 45svh;
        padding: 102px 0 38px;
    }
    body .forum-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    body .forum-hero .forum-hero-inner > p:not(.eyebrow) {
        margin-top: 22px;
        font-size: 1rem;
        line-height: 1.6;
    }
    body .forum-hero-inner .button {
        width: auto;
        min-width: 13rem;
        margin-top: 28px;
    }
    body .forum-hero-blob {
        top: 13%;
        right: -20%;
        width: 280px;
    }
}

/* Poradňa hero should match the Knižnica subpage hero layout exactly. */
.forum-hero {
    position: relative;
    display: grid;
    min-height: 52svh;
    padding: 138px 0 58px;
    overflow: hidden;
    background: var(--blush);
    place-items: center;
    isolation: isolate;
}
.forum-hero-inner {
    position: relative;
    z-index: 1;
    max-width: none;
    display: block;
    text-align: center;
}
.forum-hero-inner > .eyebrow { margin: 0 0 20px; }
.forum-hero h1 {
    max-width: 1100px;
    margin: 0 auto;
    font-size: clamp(3.6rem, 6vw, 5.5rem);
    line-height: .96;
}
.forum-hero-inner > p:not(.eyebrow) {
    max-width: 700px;
    margin: 30px auto 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.65;
}
.forum-hero-inner .button { margin-top: 34px; }
.forum-hero-blob {
    position: absolute;
    z-index: -1;
    top: 4%;
    right: -3%;
    width: min(485px, 36vw);
    height: auto;
    aspect-ratio: 1.2;
    border-radius: 62% 38% 48% 52% / 43% 57% 43% 57%;
    background: rgba(185,211,226,.32);
    transform: rotate(-8deg);
}

@media (max-width: 980px) {
    .forum-hero {
        min-height: 48svh;
        padding: 118px 0 48px;
    }
    .forum-hero-blob {
        top: 8%;
        right: -9%;
        width: min(395px, 47vw);
    }
}

@media (max-width: 640px) {
    .forum-hero {
        min-height: 45svh;
        padding: 102px 0 38px;
    }
    .forum-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .forum-hero-inner > p:not(.eyebrow) {
        margin-top: 22px;
        font-size: 1rem;
        line-height: 1.6;
    }
    .forum-hero-inner .button {
        width: auto;
        min-width: 13rem;
        margin-top: 28px;
    }
    .forum-hero-blob {
        top: 13%;
        right: -20%;
        width: 280px;
    }
}

/* Final shared hero spacing: eyebrow -> title -> description. */
.tests-hero-inner,
.blog-hero-inner,
.subpage-hero-inner,
.reveal-hero > .container,
.forum-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}
.tests-hero-inner > .eyebrow,
.blog-hero-inner > .eyebrow,
.subpage-hero-inner > .eyebrow,
.reveal-hero > .container > .eyebrow,
.forum-hero-inner > .eyebrow { margin: 0 0 20px; }
.tests-hero-inner > h1,
.blog-hero-inner > h1,
.subpage-hero-inner > h1,
.reveal-hero > .container > h1,
.forum-hero-inner > h1 { margin: 0; }
.tests-hero-inner > h1 + p,
.blog-hero-inner > h1 + p,
.subpage-hero-inner > h1 + p,
.reveal-hero > .container > h1 + p,
.forum-hero-inner > h1 + p { margin: 30px auto 0; }

.forum-discussion-head .eyebrow { margin-bottom: 4px; }

/* Reveal category system shared by Party and two-player modes. */
.reveal-party-topics button.reveal-topic-0,
.reveal-room-topic.reveal-topic-0,
.reveal-party-topics button.reveal-topic-2,
.reveal-room-topic.reveal-topic-2,
.reveal-party-topics button.reveal-topic-4,
.reveal-room-topic.reveal-topic-4 { background: rgba(232,160,191,.24); }
.reveal-party-topics button.reveal-topic-1,
.reveal-room-topic.reveal-topic-1,
.reveal-party-topics button.reveal-topic-3,
.reveal-room-topic.reveal-topic-3,
.reveal-party-topics button.reveal-topic-5,
.reveal-room-topic.reveal-topic-5 { background: rgba(185,211,226,.36); }
.reveal-party-topics button[class*="reveal-topic-"] i,
.reveal-room-topic[class*="reveal-topic-"] i { color: var(--purple); }
.reveal-party-question > h1 { font-size: clamp(2.35rem, 4.7vw, 4.2rem); }
.reveal-party-question > div { flex-wrap: wrap; }
.reveal-party-question [data-party-back] { min-height: 56px; padding: 0 18px; }
.reveal-party-topics > div { grid-template-columns: repeat(3, 1fr); }
.reveal-party-top { justify-content: flex-start; }
.reveal-party-top > a { display: inline-flex; align-items: center; gap: .65rem; }
.reveal-party-top > a i {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    place-items: center;
}

@media (max-width: 600px) {
    .reveal-party-question > h1 { font-size: 2.15rem; }
    .reveal-party-question > div > .button,
    .reveal-party-question [data-party-back] { width: 100%; }
    .intro-art-circle { bottom: calc(15% + 6px); }
}

/* One typographic rhythm for all primary subpage heroes, based on Tests. */
.blog-hero,
.reveal-hero,
.subpage-hero,
.forum-hero {
    min-height: 50svh;
    padding: 138px 0 58px;
}
.blog-hero .eyebrow,
.reveal-hero .eyebrow,
.subpage-hero .eyebrow,
.forum-hero .eyebrow,
.tests-hero .eyebrow {
    margin-bottom: 20px;
    font-size: .72rem;
}
.blog-hero h1,
.reveal-hero h1,
.subpage-hero h1,
.forum-hero h1,
.tests-hero h1 { margin-top: 0; margin-bottom: 0; }
.blog-hero-inner > p:not(.eyebrow),
.reveal-hero p:not(.eyebrow),
.subpage-hero-inner > p:not(.eyebrow),
.forum-hero-inner > p:not(.eyebrow),
.tests-hero-inner > p:last-child {
    max-width: 720px;
    margin: 30px auto 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .blog-hero,
    .reveal-hero,
    .subpage-hero,
    .forum-hero { min-height: 44svh; padding: 105px 0 40px; }
    .blog-hero-inner > p:not(.eyebrow),
    .reveal-hero p:not(.eyebrow),
    .subpage-hero-inner > p:not(.eyebrow),
    .forum-hero-inner > p:not(.eyebrow),
    .tests-hero-inner > p:last-child { margin-top: 24px; font-size: .95rem; }
}

@media (max-width: 400px) {
    :root { --container: min(100% - 26px, 1180px); }
    .nav-shell { width: calc(100vw - 26px); }
    .hero { padding-top: 108px; }
    .hero h1 { font-size: clamp(2.25rem, 11.5vw, 2.85rem); }
    .hero-copy { font-size: .95rem; line-height: 1.65; }
    .button { width: 100%; gap: 20px; }
    .section-heading h2 { font-size: 2.25rem; }
    .question-card h3 { font-size: 1.35rem; }
    .mode-card { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; }
    .mode-card strong { gap: 8px; font-size: 1.15rem; }
    .mode-icon { flex-basis: 27px; width: 27px; height: 27px; }
    .mode-card small { font-size: .72rem; line-height: 1.45; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand, .footer-help { grid-column: auto; }
}

@media (max-width: 920px) {
    .subpage-hero { min-height: 72svh; padding: 140px 0 82px; }
    .about-hero, .materials-hero { min-height: 48svh; padding: 118px 0 48px; }
    .materials-hero .subpage-blob--pink { top: 8%; right: -9%; width: min(395px, 47vw); }
    .subpage-hero h1 { font-size: clamp(3.4rem, 9vw, 5.8rem); }
    .materials-intro { grid-template-columns: 1fr; gap: 20px; }
    .materials-intro .eyebrow { grid-column: auto; margin-bottom: 0; }
    .materials-intro > p:not(.eyebrow) { max-width: 650px; }
    .materials-grid { grid-template-columns: 1fr; }
    .material-product { grid-template-columns: minmax(190px, .6fr) minmax(0, 1.4fr); min-height: 380px; }
    .free-promise-inner { grid-template-columns: 82px 1fr; }
    .free-promise-inner > p:last-child { grid-column: 2; margin-top: -16px; }
    .story-opening-grid, .values-grid { grid-template-columns: 1fr; }
    .story-photo-wrap { width: min(330px, 75vw); margin-inline: auto; }
    .story-opening-copy { max-width: 720px; margin-inline: auto; }
    .timeline-grid { grid-template-columns: 1fr; }
    .timeline-arrow { transform: rotate(90deg); }
    .timeline-grid article { min-height: 0; }
    .timeline-grid article:nth-child(2) { transform: none; }
    .timeline-grid article > span { margin-bottom: 28px; }
    .values-heading h2 br { display: none; }
    .legal-layout { grid-template-columns: 1fr; gap: 35px; }
    .legal-aside { position: static; }
    .legal-aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-card--featured { grid-template-columns: 1fr; }
    .blog-card--featured .blog-card-image { min-height: 360px; }
    .article-cover-wrap { margin-top: 10px; }
}

@media (max-width: 600px) {
    .subpage-hero { min-height: 76svh; padding: 120px 0 68px; }
    .about-hero, .materials-hero { min-height: 45svh; padding: 102px 0 38px; }
    .materials-hero .subpage-blob--pink { top: 13%; right: -20%; width: 280px; }
    .subpage-hero h1 { font-size: clamp(2.8rem, 14vw, 4.25rem); }
    .subpage-hero h1 em { display: inline; }
    .subpage-hero-inner > p:not(.eyebrow) { font-size: 1rem; }
    .materials-list { padding: 52px 0 66px; }
    .materials-intro { margin-bottom: 40px; }
    .materials-intro h2 { font-size: 2.45rem; }
    .material-product { grid-template-columns: 1fr; }
    .material-cover { min-height: 145px; }
    .material-cover strong { font-size: 1.55rem; }
    .material-content { padding: 24px 21px; }
    .material-content h3 { font-size: 1.6rem; }
    .material-meta { flex-wrap: wrap; }
    .free-promise { padding: 28px 0 34px; }
    .free-promise-inner { grid-template-columns: 1fr; gap: 18px; }
    .free-promise-inner > p:last-child { grid-column: auto; margin-top: 0; }
    .free-promise-icon { width: 66px; height: 66px; }
    .story-opening { padding: 45px 0 55px; }
    .story-opening-grid { gap: 42px; }
    .story-photo-note { right: -5px; bottom: 12px; font-size: 1.25rem; }
    .story-opening-copy h2 { font-size: 2.55rem; }
    .story-paragraphs p { font-size: .94rem; }
    .story-timeline, .values-section { padding: 52px 0 62px; }
    .values-grid { gap: 35px; }
    .values-heading h2 { font-size: 2.65rem; }
    .values-list article { grid-template-columns: 44px 1fr; gap: 14px; padding: 17px; }
    .values-list article > span { width: 42px; height: 42px; border-radius: 12px; }
    .story-closing { padding: 52px 0 65px; }
    .story-closing h2 { font-size: 2.65rem; }
    .story-actions { align-items: stretch; flex-direction: column; gap: 20px; }
    .story-actions .button { width: 100%; }
    .story-actions .arrow-link { justify-content: center; }
    .simple-page-hero { min-height: 44svh; padding: 104px 0 40px; }
    .contact-hero .simple-hero-blob { top: 12%; right: -22%; width: 245px; }
    .simple-page-hero h1 { font-size: 3.1rem; }
    .simple-page-hero-inner > p:not(.eyebrow) { font-size: .95rem; }
    .contact-section { padding: 45px 0 55px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { min-height: 350px; padding: 25px; }
    .contact-card > strong { right: 25px; bottom: 24px; left: 25px; font-size: .78rem; }
    .contact-icon { margin-bottom: 35px; }
    .contact-address { grid-template-columns: 58px 1fr; gap: 18px; padding: 23px; }
    .contact-address-icon { width: 54px; height: 54px; }
    .contact-address > p { grid-column: 1 / -1; margin-bottom: 0; }
    .operator-card { grid-template-columns: 54px 1fr; gap: 18px; padding: 23px; }
    .operator-card-icon { width: 54px; height: 54px; }
    .operator-card-address { grid-column: 1 / -1; padding: 20px 0 0; border-top: 1px solid rgba(38,50,56,.15); border-left: 0; }
    .legal-section { padding: 45px 0 60px; }
    .legal-aside nav { grid-template-columns: 1fr; }
    .legal-content > section { padding-bottom: 38px; }
    .legal-content > section + section { padding-top: 38px; }
    .privacy-columns { grid-template-columns: 1fr; }
    .moderation-disclosure { grid-template-columns: 1fr; padding: 19px; }
    .ads-explainer { grid-template-columns: 1fr; padding: 19px; }
    .blog-hero { min-height: 44svh; padding: 105px 0 40px; }
    .blog-hero h1 { font-size: 3.8rem; }
    .blog-hero-inner > p:not(.eyebrow) { font-size: .95rem; }
    .blog-index { padding: 42px 0 58px; }
    .blog-toolbar { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
    .blog-toolbar > p { display: none; }
    .blog-filters { flex-wrap: nowrap; width: calc(100vw - 26px); padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
    .blog-filters::-webkit-scrollbar { display: none; }
    .blog-filters a { flex: 0 0 auto; }
    .blog-card-grid { grid-template-columns: 1fr; gap: 22px; }
    .blog-card--featured { grid-column: auto; }
    .blog-card--featured .blog-card-image, .blog-card-image { min-height: 220px; }
    .blog-card-content, .blog-card--featured .blog-card-content { padding: 23px; }
    .blog-card h2, .blog-card--featured h2 { font-size: 2rem; }
    .blog-card-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
    .blog-card-footer > span { display: none; }
    .blog-card-footer a { margin-left: auto; }
    .blog-pagination > a span { display: none; }
    .blog-pagination > a { min-width: 44px; padding: 0; }
    .article-header { padding: 112px 0 35px; }
    .article-breadcrumbs { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
    .article-header { text-align: left; }
    .article-header h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .article-excerpt { font-size: 1rem; }
    .article-byline { display: flex; }
    .article-cover-wrap { width: calc(100vw - 26px); margin-top: 0; }
    .article-cover { border-radius: 20px; }
    .article-layout { grid-template-columns: 1fr; gap: 0; padding-top: 45px; padding-bottom: 50px; }
    .article-share { position: static; display: flex; margin-bottom: 30px; }
    .article-share > span { writing-mode: horizontal-tb; transform: none; align-self: center; }
    .article-body { font-size: 1rem; line-height: 1.78; }
    .article-body .article-lead { font-size: 1.15rem; }
    .article-body blockquote { padding: 17px 19px; font-size: 1.08rem; }
    .article-author-card { grid-template-columns: 76px 1fr; gap: 18px; margin-bottom: 58px; padding: 28px 22px; }
    .article-author-card::before { inset: 5px -8px; border-radius: 30% 70% 38% 62% / 58% 34% 66% 42%; }
    .article-author-card > a > img { width: 76px; height: 76px; }
    .article-author-card .arrow-link { grid-column: 1 / -1; }
    .article-rating { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; padding: 28px 0; text-align: center; }
    .related-articles { padding: 45px 0 58px; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .subpage-hero h1 { font-size: 2.55rem; }
    .materials-intro h2, .story-opening-copy h2 { font-size: 2.25rem; }
    .material-cover { min-height: 220px; }
    .values-heading h2, .story-closing h2 { font-size: 2.35rem; }
}

@media (max-width: 800px) {
    .tests-tools { align-items:stretch; flex-direction:column; }
    .tests-search { flex-basis:auto; }
    .tests-filters { justify-content:flex-start; }
    .tests-grid { grid-template-columns:1fr; }
    .test-intro-grid,.test-interpretation-grid { grid-template-columns:1fr; }
    .quiz-result { grid-template-columns:1fr; gap:30px; text-align:center; }
    .result-score svg { width:210px; }
    .result-copy .eyebrow { margin-bottom:10px; }
}

@media (max-width: 640px) {
    .tests-hero { min-height:44svh; padding:105px 0 40px; }
    .tests-hero h1 { font-size:clamp(2.2rem,10vw,3rem); }
    .tests-hero-blob { top:3%; right:-22%; width:250px; }
    .tests-library { padding-top:30px; }
    .tests-filters { flex-wrap:nowrap; margin-right:-16px; padding-right:16px; overflow-x:auto; }
    .tests-filters button { flex:0 0 auto; }
    .test-card { grid-template-columns:1fr; }
    .test-card-visual { min-height:210px; }
    .test-card-copy { padding:25px; }
    .test-detail-hero { padding:105px 0 35px; }
    .test-detail-head>.eyebrow { margin-top:24px; }
    .test-detail-head h1 { font-size:clamp(2.75rem,13vw,4.1rem); }
    .test-detail-blob { top:18%; right:-28%; width:290px; }
    .test-meta { align-items:stretch; flex-direction:column; }
    .test-meta span { justify-content:center; }
    .test-intro { padding-top:35px; }
    .quiz-section { padding:45px 0; }
    .quiz-card { min-height:570px; padding:28px 19px; border-radius:24px; }
    .quiz-start { min-height:500px; }
    .quiz-question { padding-top:36px; }
    .quiz-question h2 { min-height:0; font-size:clamp(1.75rem,9vw,2.6rem); }
    .quiz-options { grid-template-columns:1fr; gap:8px; margin-top:25px; }
    .quiz-options button { min-height:51px; }
    .quiz-result { min-height:510px; }
    .jung-endpoints { grid-template-columns:1fr; gap:9px; }
    .jung-endpoints>span { display:block; text-align:center; }
    .jung-endpoints h2 { min-height:70px; padding:14px; font-size:clamp(1.15rem,6.5vw,1.55rem); }
    .jung-scale { grid-template-columns:1fr; gap:7px; }
    .jung-scale button { display:flex; justify-content:flex-start; gap:14px; min-height:49px; padding:7px 13px; }
    .jung-scale button span { flex:0 0 30px; }
    .jung-scale button small { display:block; font-size:.72rem; text-align:left; }
    .jung-result { grid-template-columns:1fr; }
    .enneagram-result { grid-template-columns:1fr; }
    .attachment-scale { grid-template-columns:1fr; }
    .attachment-scale button { display:flex; justify-content:flex-start; gap:13px; min-height:47px; padding:7px 12px; }
    .attachment-scale button small { font-size:.7rem; text-align:left; }
    .enneagram-legend { grid-template-columns:1fr; }
    .enneagram-bars>div { grid-template-columns:1fr 42px; }
    .enneagram-bars>div>div { grid-column:1 / -1; grid-row:2; }
    .jung-axes header { align-items:flex-start; flex-direction:column; gap:2px; }
    .result-actions { justify-content:center; }
    .result-score strong { font-size:3.7rem; }
    .test-interpretation { padding:65px 0; }
    .test-interpretation--sources { padding:35px 0 45px; }
    .test-sources { margin-top:50px; }
}

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

/* Poradňa */
.forum-page,.forum-compose-page,.forum-detail{background:#fff;color:#263238}.forum-hero,.forum-compose-hero,.forum-detail-hero{position:relative;overflow:hidden;background:#fdf4f5}.forum-hero{padding:clamp(5.5rem,9vw,9rem) 0 4rem}.forum-hero-blob{position:absolute;width:38rem;height:28rem;border-radius:47% 53% 38% 62%;right:-10rem;top:-8rem;background:rgba(185,211,226,.45);transform:rotate(-10deg)}.forum-hero-inner{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:3rem}.forum-hero h1{font-size:clamp(4rem,8vw,7.5rem);line-height:.92;margin:.3rem 0 1.2rem}.forum-hero p:not(.eyebrow){max-width:43rem;font-size:1.22rem;line-height:1.7;color:#56636a}.forum-browser{padding:3rem 0 6rem}.forum-toolbar form{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:1.3rem;background:#fdf4f5}.forum-search{display:flex;align-items:center;gap:.8rem;flex:1;background:#fff;border:1px solid rgba(38,50,56,.1);border-radius:1rem;padding:0 1rem}.forum-search input{width:100%;height:3.4rem;border:0;background:transparent;font:inherit;outline:0}.forum-toolbar select,.forum-compose-form select,.forum-report select{height:3.4rem;border:1px solid rgba(38,50,56,.12);border-radius:1rem;padding:0 2.6rem 0 1rem;background:#fff;font:inherit;color:#263238}.button--small{min-height:3rem;padding:.75rem 1.25rem}.forum-categories{display:grid;grid-template-columns:repeat(5,1fr);gap:.7rem;margin:1.4rem 0 4rem}.forum-categories a{display:flex;justify-content:space-between;gap:.8rem;align-items:center;min-height:4rem;padding:.85rem 1rem;border:1px solid rgba(38,50,56,.1);border-radius:1rem;color:#37474f;background:#fff;transition:.25s ease}.forum-categories a:hover,.forum-categories a.is-active{border-color:#95739e;background:#f6eff8;transform:translateY(-2px);box-shadow:0 7px 18px rgba(38,50,56,.065)}.forum-categories span{font-weight:700;font-size:.9rem}.forum-categories small{display:grid;place-items:center;min-width:1.7rem;height:1.7rem;border-radius:50%;background:#fdf4f5;color:#95739e;font-weight:800}.forum-list-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:1.4rem}.forum-list-head h2{font-size:clamp(2rem,4vw,3.3rem);margin:.2rem 0}.forum-list-head>span{color:#78868c}.forum-thread-list{display:grid;gap:.75rem}.forum-thread-card{display:grid;grid-template-columns:1fr 7rem;border:1px solid rgba(38,50,56,.09);border-radius:1.25rem;background:#fff;box-shadow:0 3px 10px rgba(38,50,56,.025);overflow:hidden;transition:.25s ease}.forum-thread-card:hover{border-color:rgba(149,115,158,.28);box-shadow:0 7px 18px rgba(38,50,56,.065);transform:translateY(-2px)}.forum-thread-main{padding:1.5rem 1.7rem;color:inherit}.forum-category-chip{display:inline-flex;padding:.38rem .72rem;border-radius:99px;background:#edf5f8;color:#547487;font-size:.73rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.forum-thread-main h3{font-size:1.3rem;margin:.65rem 0 .4rem}.forum-thread-main>p{margin:0 0 1rem;color:#66747a;line-height:1.55}.forum-author-line{display:flex;align-items:center;gap:.7rem}.forum-mini-avatar{width:2.65rem;height:2.65rem;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--avatar-color,#cfb1d7);font-size:.8rem;font-weight:900}.forum-mini-avatar.is-anonymous{background:#eee5f1;color:#71567a}.forum-mini-avatar img{width:100%;height:100%;object-fit:cover}.forum-author-line>span:last-child{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem}.forum-author-line strong{font-size:.88rem}.forum-author-line small{width:100%;color:#7a878c;font-size:.75rem}.forum-author-line em{font-style:normal;font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#95739e;background:#f5edf7;padding:.2rem .45rem;border-radius:2rem}.forum-comment-count{display:flex;flex-direction:column;justify-content:center;align-items:center;border-left:1px solid rgba(38,50,56,.08);color:#65757c;background:#fffafa}.forum-comment-count i{font-size:1.15rem;color:#e08caf}.forum-comment-count strong{font-size:1.25rem;color:#263238;margin:.35rem 0 0}.forum-comment-count span{font-size:.72rem}.forum-empty{text-align:center;padding:5rem 1rem;border:1px dashed rgba(149,115,158,.3);border-radius:1.5rem;background:#fffafb}.forum-empty>i{font-size:2rem;color:#95739e}.forum-empty h3{font-size:1.6rem;margin:1rem 0 .5rem}.forum-compose-hero,.forum-detail-hero{padding:4.5rem 0 3rem}.forum-compose-hero h1,.forum-detail-hero h1{font-size:clamp(2.8rem,6vw,5rem);max-width:56rem;margin:.7rem 0 1rem;line-height:1.05}.forum-compose-hero p:not(.eyebrow),.forum-detail-hero p{font-size:1.15rem;color:#617077;max-width:42rem;line-height:1.65}.forum-compose{padding:3rem 0 6rem}.forum-compose-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(18rem,.7fr);gap:3rem;align-items:start}.forum-compose-form{display:grid;gap:1.4rem;border:1px solid rgba(38,50,56,.1);border-radius:1.5rem;padding:clamp(1.3rem,4vw,2.5rem);box-shadow:0 4px 14px rgba(38,50,56,.035)}.forum-compose-form>label:not(.forum-anonymous-toggle){display:grid;gap:.55rem;font-weight:800}.forum-compose-form input[name=title],.forum-compose-form textarea,.forum-inline-reply textarea,.forum-main-comment textarea,.forum-report textarea{width:100%;border:1px solid rgba(38,50,56,.14);border-radius:1rem;background:#fffafa;padding:1rem;font:inherit;color:#263238;outline:0;transition:.2s}.forum-compose-form input:focus,.forum-compose-form textarea:focus,.forum-inline-reply textarea:focus,.forum-main-comment textarea:focus{border-color:#95739e;box-shadow:0 0 0 4px rgba(149,115,158,.1)}.forum-compose-form textarea{min-height:17rem;resize:vertical;line-height:1.65}.forum-compose-form label>small{font-weight:500;color:#7a878c;text-align:right}.forum-anonymous-toggle{display:grid;grid-template-columns:auto 3.2rem 1fr;align-items:center;gap:1rem;padding:1rem;border-radius:1rem;background:#f5eef7;cursor:pointer}.forum-anonymous-toggle>input{width:1.2rem;height:1.2rem}.forum-anonymous-toggle>span{display:grid;place-items:center;width:3rem;height:3rem;border-radius:.9rem;background:#95739e;color:#fff}.forum-anonymous-toggle div{display:grid;gap:.2rem}.forum-anonymous-toggle small{color:#67757b;line-height:1.4}.forum-anonymous-note,.forum-crisis{display:flex;gap:1rem;padding:1rem 1.2rem;border-radius:1rem;background:#eef6fa}.forum-anonymous-note>i,.forum-crisis>i{display:grid;place-items:center;flex:0 0 2.8rem;height:2.8rem;border-radius:.8rem;background:#b9d3e2;color:#263238}.forum-anonymous-note p,.forum-crisis p{margin:.3rem 0 0;color:#58676d;line-height:1.5}.forum-crisis{margin:1.5rem 0;background:#fff0f3;border:1px solid rgba(232,160,191,.35)}.forum-crisis>i{background:#e8a0bf;color:#fff}.forum-compose-aside{display:grid;gap:1rem;position:sticky;top:7rem}.forum-compose-aside>div{padding:1.5rem;border-radius:1.3rem;background:#fdf4f5}.forum-compose-aside>div:nth-child(2){background:#edf5f8}.forum-compose-aside i{font-size:1.3rem;color:#95739e}.forum-compose-aside h2{font-size:1.2rem;margin:.8rem 0 .4rem}.forum-compose-aside p{color:#65737a;line-height:1.6;margin:0}.forum-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.forum-detail-width{max-width:960px}.forum-question{padding:2rem 0 3rem}.forum-question-card{border:1px solid rgba(38,50,56,.1);border-radius:1.5rem;padding:clamp(1.3rem,4vw,2.3rem);box-shadow:0 4px 14px rgba(38,50,56,.035)}.forum-post-body,.forum-comment-body{font-size:1.07rem;line-height:1.8;color:#39484f;overflow-wrap:anywhere}.forum-question-card .forum-post-body{margin:1.8rem 0}.forum-question-card>footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(38,50,56,.08);padding-top:1rem;color:#718087}.forum-question-card>footer>div,.forum-comment-actions{display:flex;align-items:center;gap:.8rem}.forum-text-action,.forum-comment-actions>button,.forum-report>summary{border:0;background:none;padding:0;font:inherit;font-size:.78rem;font-weight:700;color:#69777d;cursor:pointer;list-style:none}.forum-text-action.is-danger{color:#a84f66}.forum-report{position:relative}.forum-report>summary::-webkit-details-marker{display:none}.forum-report[open]>form{position:absolute;right:0;top:1.6rem;z-index:10;width:min(20rem,80vw);display:grid;gap:.8rem;padding:1rem;border:1px solid rgba(38,50,56,.12);border-radius:1rem;background:#fff;box-shadow:0 12px 30px rgba(38,50,56,.12)}.forum-report label{display:grid;gap:.35rem;font-size:.78rem;font-weight:700}.forum-report textarea{min-height:5rem}.forum-report select{height:2.7rem}.forum-discussion{padding:3rem 0 6rem;background:#fbf7f8}.forum-discussion-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:1.5rem}.forum-discussion-head h2{font-size:clamp(2rem,4vw,3rem);margin:.2rem 0}.forum-locked{padding:.65rem 1rem;border-radius:3rem;background:#ece6ef;color:#745b7d;font-weight:700}.forum-comment{position:relative;margin-bottom:1rem;padding:1.5rem;border:1px solid rgba(38,50,56,.09);border-radius:1.25rem;background:#fff}.forum-author-line.is-small .forum-mini-avatar{width:2.3rem;height:2.3rem}.forum-comment-body{margin:1rem 0;font-size:.98rem}.forum-comment-actions{min-height:1.5rem}.forum-replies{margin:1rem 0 0 2.4rem;padding-left:1.2rem;border-left:3px solid #ead8ee;display:grid;gap:.7rem}.forum-reply{padding:1.1rem;border-radius:1rem;background:#fcf8fb}.forum-inline-reply{display:grid;gap:.7rem;margin-top:1rem;padding:1rem;border-radius:1rem;background:#f8f1f8}.forum-inline-reply label{display:grid;gap:.4rem;font-size:.85rem;font-weight:700}.forum-inline-reply textarea{min-height:7rem}.forum-inline-anonymous{display:flex!important;align-items:center;gap:.4rem}.forum-main-comment{display:grid;gap:1rem;margin-top:2rem;padding:clamp(1.3rem,4vw,2rem);border-radius:1.4rem;background:#eef5f8}.forum-main-comment h3{font-size:1.4rem;margin:0 0 .3rem}.forum-main-comment p{margin:0;color:#68777d}.forum-main-comment textarea{min-height:9rem;background:#fff;resize:vertical}.forum-main-comment>footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:#63747b}.forum-locked-note{display:flex;gap:1rem;align-items:center;padding:1.5rem;border-radius:1.2rem;background:#eee7f0}.forum-locked-note>i{display:grid;place-items:center;width:3.2rem;height:3.2rem;border-radius:50%;background:#95739e;color:#fff}.forum-locked-note h3,.forum-locked-note p{margin:.15rem 0}.forum-hidden-copy{padding:1rem;border-radius:.8rem;background:#eef0f1;color:#778186;font-style:italic}.forum-compose-form .form-alert ul,.forum-discussion .form-alert ul{margin:0;padding-left:1.2rem}
@media(max-width:900px){.forum-categories{grid-template-columns:repeat(2,1fr)}.forum-compose-grid{grid-template-columns:1fr}.forum-compose-aside{position:static;grid-template-columns:1fr 1fr}.forum-hero-inner{align-items:flex-start;flex-direction:column}.forum-hero-blob{width:25rem;height:20rem;right:-10rem}.forum-thread-card{grid-template-columns:1fr 5rem}}
@media(max-width:600px){.forum-hero{padding:4rem 0 2.5rem}.forum-hero h1{font-size:3.7rem}.forum-hero p:not(.eyebrow){font-size:1.04rem}.forum-browser{padding-top:1.5rem}.forum-toolbar form{display:grid;grid-template-columns:1fr auto}.forum-search{grid-column:1/-1}.forum-toolbar select{min-width:0;width:100%}.forum-categories{display:flex;overflow-x:auto;margin:1rem -1rem 2.7rem;padding:0 1rem .5rem;scrollbar-width:none}.forum-categories a{flex:0 0 10rem}.forum-list-head{align-items:flex-start}.forum-thread-card{grid-template-columns:1fr}.forum-thread-main{padding:1.25rem}.forum-comment-count{flex-direction:row;justify-content:flex-start;gap:.4rem;padding:.8rem 1.25rem;border-left:0;border-top:1px solid rgba(38,50,56,.08)}.forum-comment-count strong{margin:0}.forum-compose-hero,.forum-detail-hero{padding:3rem 0 2rem}.forum-compose-hero h1,.forum-detail-hero h1{font-size:2.65rem}.forum-compose{padding-top:1.5rem}.forum-compose-aside{grid-template-columns:1fr}.forum-anonymous-toggle{grid-template-columns:auto 1fr}.forum-anonymous-toggle>span{display:none}.forum-question-card>footer,.forum-main-comment>footer{align-items:flex-start;flex-direction:column}.forum-question-card>footer>div{width:100%;justify-content:space-between}.forum-discussion{padding-top:2rem}.forum-comment{padding:1.15rem}.forum-replies{margin-left:.4rem;padding-left:.8rem}.forum-report[open]>form{position:fixed;left:1rem;right:1rem;top:auto;bottom:1rem;width:auto}.forum-main-comment .button{width:100%}.forum-discussion-head{align-items:flex-start;flex-direction:column;gap:.5rem}}

/* Poradňa refinements */
.forum-hero-inner{max-width:820px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:0}.forum-hero-inner>p:not(.eyebrow){margin-left:auto;margin-right:auto}.forum-hero-inner .button{margin-top:1.25rem}.forum-toolbar{position:relative;border-radius:42% 58% 46% 54% / 18% 22% 18% 20%;padding:1.4rem 1.5rem;background:#fdf4f5}.forum-toolbar form{display:block;padding:0;background:transparent}.forum-toolbar-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(13rem,auto) auto;gap:.75rem;align-items:center}.forum-category-select{position:relative}.forum-category-select select{width:100%;appearance:none;padding-right:3.2rem;background-image:linear-gradient(45deg,transparent 50%,#5c686e 50%),linear-gradient(135deg,#5c686e 50%,transparent 50%);background-position:calc(100% - 1.25rem) 1.45rem,calc(100% - .95rem) 1.45rem;background-size:.34rem .34rem,.34rem .34rem;background-repeat:no-repeat}.forum-sort{display:flex;align-items:center;gap:.45rem;margin-top:1rem;padding-left:.25rem}.forum-sort a{display:flex;align-items:center;gap:.35rem;padding:.68rem 1rem;border:1px solid rgba(38,50,56,.1);border-radius:99px;background:#fff;color:#5b6970;font-size:.82rem;font-weight:750;transition:.2s}.forum-sort a:hover,.forum-sort a.is-active{background:#263238;color:#fff;border-color:#263238}.forum-sort small{font-size:.68rem;opacity:.72}.button,.forum-compose-form button,.forum-main-comment button{cursor:pointer}.forum-inline-reply[hidden]{display:none!important}.forum-author-line em{font-family:Inter,Arial,sans-serif;font-weight:600;text-transform:none;letter-spacing:0}.forum-comment-body{margin-top:.45rem}.forum-comment-actions{align-items:center}.forum-comment-actions>*{display:flex;align-items:center;margin:0}.forum-report>summary::before{content:'\f071';font-family:'Font Awesome 6 Free';font-weight:900;margin-right:.35rem}.forum-text-action.is-danger::before{content:'\f2ed';font-family:'Font Awesome 6 Free';font-weight:900;margin-right:.35rem}.forum-text-action{display:inline-flex!important;align-items:center}.forum-comment-actions form{line-height:1}.forum-comment-actions button,.forum-report>summary{line-height:1.2}
@media(max-width:700px){.forum-toolbar{border-radius:2rem 1.3rem 2.2rem 1.5rem;padding:1rem}.forum-toolbar-row{grid-template-columns:1fr auto}.forum-search{grid-column:1/-1}.forum-category-select{min-width:0}.forum-sort{overflow-x:auto;margin-left:-.25rem;margin-right:-.25rem;padding-bottom:.35rem;scrollbar-width:none}.forum-sort a{white-space:nowrap;flex:0 0 auto}.forum-hero-inner{align-items:center!important}.forum-hero-inner .button{width:100%}}

/* Poradňa dashboard + thread detail v2 */
.forum-toolbar{border-radius:1.4rem;padding:1.25rem 1.4rem;background:rgba(185,211,226,.42)}.forum-category-menu{position:relative;min-width:14rem}.forum-category-menu>button{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;height:3.4rem;padding:0 1.15rem;border:1px solid rgba(38,50,56,.12);border-radius:1rem;background:#fff;color:#263238;font:inherit;font-weight:650;cursor:pointer}.forum-category-menu>button i{font-size:.72rem;color:#95739e;transition:transform .2s}.forum-category-menu>button[aria-expanded=true] i{transform:rotate(180deg)}.forum-category-options{position:absolute;top:calc(100% + .55rem);right:0;z-index:30;width:20rem;max-height:24rem;padding:.55rem;border:1px solid rgba(38,50,56,.1);border-radius:1.1rem;background:#fff;box-shadow:0 14px 35px rgba(38,50,56,.14);overflow:auto}.forum-category-options[hidden]{display:none}.forum-category-options a{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.72rem .8rem;border-radius:.7rem;color:#445158;font-size:.84rem;font-weight:650}.forum-category-options a:hover,.forum-category-options a.is-active{background:#f1eaf4;color:#6f5278}.forum-category-options small{display:grid;place-items:center;min-width:1.55rem;height:1.55rem;border-radius:50%;background:#edf5f8;color:#567384;font-size:.68rem}.forum-thread-main .forum-category-chip{padding:.27rem .55rem;font-size:.62rem;letter-spacing:.035em}.forum-thread-main h3{font-size:1.48rem;line-height:1.25;margin:.55rem 0 .4rem}.forum-list-head>span{display:none}.forum-mini-avatar{flex:0 0 2.65rem;width:2.65rem;height:2.65rem;border:3px solid #fff;border-radius:43% 57% 50% 50% / 58% 44% 56% 42%;box-shadow:0 2px 8px rgba(38,50,56,.09)}.forum-author-line.is-small .forum-mini-avatar{flex-basis:2.45rem;width:2.45rem;height:2.45rem}.forum-author-line>span:last-child{gap:.05rem .45rem;line-height:1.12}.forum-author-line small{margin-top:.05rem;line-height:1.1}.forum-detail-hero{padding:2.6rem 0 2.4rem}.forum-detail-head{text-align:center;max-width:980px}.forum-detail-head .article-breadcrumbs{justify-content:center;margin:0 0 1.4rem}.forum-detail-hero h1{max-width:800px;margin:0 auto;font-size:clamp(2.3rem,4.6vw,4.1rem);line-height:1.08}.forum-question{padding:2.2rem 0 3.5rem}.forum-question-plain{padding:0 .5rem}.forum-question-plain .forum-post-body{margin:1.3rem 0 1.1rem;font-size:1.08rem;line-height:1.82}.forum-question-actions{display:flex;align-items:center;gap:1.1rem;padding-top:1rem;border-top:1px solid rgba(38,50,56,.09)}.forum-question-actions>button,.forum-question-actions .forum-report>summary{display:inline-flex;align-items:center;gap:.4rem;border:0;background:none;padding:0;color:#637178;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.forum-question-actions form{display:flex;margin:0}.forum-report>summary::before{content:none}.forum-comment-actions button{gap:.45rem}.forum-comment-actions{gap:1.05rem}.forum-comment-actions .forum-report>summary{display:inline-flex;align-items:center;gap:.38rem}.forum-comment{padding:1.35rem 1.5rem}.forum-comment-body{margin:.55rem 0 .85rem}.forum-discussion{padding-top:2.4rem}.forum-discussion-head{margin-bottom:1.3rem}.forum-discussion-head .eyebrow{margin-bottom:.35rem}.forum-discussion-head h2{margin:0}.forum-question+.wave-divider{margin-top:0}
@media(max-width:700px){.forum-toolbar{border-radius:1.2rem;padding:1rem;background:rgba(185,211,226,.46)}.forum-toolbar-row{grid-template-columns:minmax(0,1fr) auto}.forum-category-menu{min-width:0}.forum-category-menu>button{min-width:0}.forum-category-menu>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forum-category-options{position:fixed;top:auto;right:1rem;bottom:1rem;left:1rem;width:auto;max-height:65vh}.forum-detail-hero{padding:2.1rem 0 1.8rem}.forum-detail-head .article-breadcrumbs{margin-bottom:1rem;justify-content:flex-start;text-align:left;overflow-x:auto;white-space:nowrap}.forum-detail-hero h1{font-size:2.2rem}.forum-question{padding-top:1.5rem}.forum-question-plain{padding:0}.forum-question-actions{flex-wrap:wrap}.forum-mini-avatar{flex-shrink:0}.forum-comment{padding:1.1rem}.forum-comment-actions{gap:.85rem;flex-wrap:wrap}.forum-comment-actions form{margin:0}.forum-author-line>span:last-child{min-width:0}.forum-author-line strong{overflow-wrap:anywhere}}

.forum-author-line.is-anonymous strong{color:#263238;font-weight:650}.forum-author-line.is-anonymous a{pointer-events:none;color:#263238;text-decoration:none}.forum-author-line.is-anonymous .forum-mini-avatar{background:#eef1f2;color:#7d8990;box-shadow:none}.forum-like-form{display:inline-flex;margin:0}.forum-like-button{display:inline-flex;align-items:center;gap:.38rem;border:0;background:none;padding:0;color:#9b6aa4;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer;transition:transform .18s ease,opacity .18s ease}.forum-like-button:hover{transform:translateY(-1px)}.forum-like-button:disabled{opacity:.55;cursor:wait}.forum-like-button i{font-size:1.08rem;color:#e08caf;line-height:1}.forum-like-button.is-liked i{color:#e08caf}.forum-like-button span{min-width:.7rem;color:#6b777d}

/* Poradňa responsive polish */
.forum-hero{display:grid;min-height:46svh;padding:128px 0 48px;place-items:center}.forum-hero h1{font-size:clamp(4rem,7vw,6.3rem)}.forum-hero-inner .button{margin-top:1rem}.forum-search-button{border:0!important;border-radius:45% 55% 48% 52% / 58% 43% 57% 42%!important;background:#e8a0bf!important;color:#263238!important;box-shadow:0 4px 12px rgba(38,50,56,.05)}.forum-search-button:hover{background:#dc8db0!important;transform:translateY(-1px)}.forum-list-head{margin-top:3.5rem}.sort-mobile{display:none}.forum-dropdown-backdrop[hidden]{display:none}.forum-dropdown-head{display:none}.forum-report>form>header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.forum-report>form>header button{display:grid;width:2rem;height:2rem;padding:0;border:0;border-radius:50%;background:#f1eaf4;color:#6f5278;cursor:pointer;place-items:center}
.forum-detail-hero{padding:122px 0 38px}.forum-detail-head .article-breadcrumbs{margin-bottom:32px}.forum-detail-hero h1{font-size:clamp(2.35rem,4.2vw,3.9rem)}
@media(max-width:700px){.forum-hero{min-height:44svh;padding:105px 0 38px}.forum-hero h1{font-size:3.65rem}.forum-hero-inner .button{width:auto;min-width:13rem}.forum-toolbar-row{grid-template-columns:minmax(0,1fr) auto}.forum-search-button{min-width:5.6rem;padding-inline:1rem}.forum-sort{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;overflow:visible;margin:1rem 0 0;padding:0}.forum-sort a{justify-content:center;min-width:0;padding:.6rem .25rem;font-size:.68rem;text-align:center}.sort-full{display:none}.sort-mobile{display:inline}.forum-dropdown-backdrop{position:fixed;inset:0;z-index:28;border:0;background:rgba(38,50,56,.32);backdrop-filter:blur(2px)}.forum-category-options{z-index:40;padding:.75rem;border-radius:1.25rem}.forum-dropdown-head{display:flex;align-items:center;justify-content:space-between;padding:.3rem .35rem .65rem}.forum-dropdown-head button{display:grid;width:2.1rem;height:2.1rem;border:0;border-radius:50%;background:#f1eaf4;color:#6f5278;place-items:center}.forum-list-head{margin-top:2.7rem}.forum-detail-hero{padding:112px 0 32px}.forum-detail-head .article-breadcrumbs{justify-content:flex-start;margin-bottom:22px}.forum-detail-hero h1{font-size:clamp(2.15rem,10.5vw,3rem);text-align:left}.forum-report[open]::before{content:'';position:fixed;inset:0;z-index:20;background:rgba(38,50,56,.3);backdrop-filter:blur(2px)}.forum-report[open]>form{z-index:40;border-radius:1.25rem}.forum-report>form>header{margin-bottom:.2rem}}
@media(max-width:390px){.forum-toolbar{padding:.85rem}.forum-category-menu>button{padding-inline:.85rem;font-size:.78rem}.forum-search-button{min-width:4.8rem;padding-inline:.75rem}.forum-sort a{font-size:.63rem}.forum-hero h1{font-size:3.35rem}}
.forum-category-menu > .forum-dropdown-backdrop { display:none !important; }
@media(max-width:700px){.forum-category-menu > .forum-dropdown-backdrop:not([hidden]){display:block !important}}

/* Reveal */
.reveal-landing{background:#fff}.reveal-hero{position:relative;display:grid;min-height:52svh;padding:135px 0 55px;background:var(--blush);text-align:center;overflow:hidden;place-items:center}.reveal-hero>.container{position:relative;z-index:2}.reveal-hero h1{margin:.15rem 0;font-size:clamp(5rem,10vw,8.5rem);line-height:.95}.reveal-hero p:not(.eyebrow){max-width:650px;margin:1.25rem auto 0;color:var(--muted);font-size:1.1rem;line-height:1.65}.reveal-orb{position:absolute;border-radius:50%;filter:blur(1px)}.reveal-orb--one{width:32rem;height:32rem;left:-12rem;top:-13rem;background:rgba(185,211,226,.45)}.reveal-orb--two{width:25rem;height:25rem;right:-9rem;bottom:-11rem;background:rgba(232,160,191,.22)}.reveal-modes{padding:3rem 0 6rem}.reveal-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}.reveal-mode-card{position:relative;display:flex;min-height:29rem;padding:2rem;border:1px solid rgba(38,50,56,.09);border-radius:1.5rem;background:#fff;color:var(--ink);text-align:left;box-shadow:var(--shadow-rest);cursor:pointer;overflow:hidden;flex-direction:column;transition:.25s}.reveal-mode-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}.reveal-mode-card>span{display:grid;width:4.2rem;height:4.2rem;margin-bottom:auto;border-radius:43% 57% 50% 50% / 58% 44% 56% 42%;background:#fff;color:var(--ink);font-size:1.35rem;place-items:center}.reveal-mode-card .eyebrow{margin:2.6rem 0 .5rem}.reveal-mode-card h2{font-size:2rem;margin:0 0 .65rem}.reveal-mode-card p:not(.eyebrow){color:#5e6c72;line-height:1.6}.reveal-mode-card strong{display:flex;align-items:center;gap:.55rem;margin-top:1.3rem;font-size:.88rem}.reveal-mode-card--party{background:rgba(232,160,191,.3)}.reveal-mode-card--stranger{background:rgba(185,211,226,.48)}.reveal-mode-card--friend{background:rgba(207,177,215,.4)}.reveal-modal[hidden]{display:none}.has-reveal-modal{overflow:hidden}.reveal-modal{position:fixed;inset:0;z-index:100;display:grid;padding:1rem;place-items:center}.reveal-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(38,50,56,.38);backdrop-filter:blur(5px)}.reveal-modal-card{position:relative;z-index:1;width:min(760px,100%);max-height:min(780px,92vh);padding:clamp(1.4rem,4vw,2.6rem);border-radius:1.7rem;background:#fff;box-shadow:0 22px 60px rgba(38,50,56,.2);overflow:auto}.reveal-modal-card h2{font-size:clamp(2rem,4vw,3rem);margin:.35rem 0 .65rem}.reveal-modal-card>div>p:not(.eyebrow){color:var(--muted);line-height:1.6}.reveal-modal-close{position:absolute;top:1rem;right:1rem;display:grid;width:2.5rem;height:2.5rem;border:0;border-radius:50%;background:#f3edf4;color:var(--purple);cursor:pointer;place-items:center}.reveal-friend-actions{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.7rem}.reveal-friend-actions form{display:grid;align-content:start;gap:.8rem;padding:1.3rem;border-radius:1.1rem;background:var(--blush)}.reveal-friend-actions form:nth-child(2){background:#eef5f8}.reveal-friend-actions h3{font-size:1.15rem;margin:0}.reveal-modal label{display:grid;gap:.4rem;font-size:.82rem;font-weight:750}.reveal-modal input,.reveal-room-gate input{width:100%;height:3.4rem;padding:0 1rem;border:1px solid rgba(38,50,56,.13);border-radius:.9rem;background:#fff;font:inherit;text-transform:none;outline:0}.reveal-modal input:focus,.reveal-room-gate input:focus{border-color:var(--purple);box-shadow:0 0 0 4px rgba(149,115,158,.1)}.reveal-inline-error{margin-top:1rem;padding:.8rem 1rem;border-radius:.8rem;background:#fff0f3;color:#9e455f;font-size:.85rem}.reveal-waiting,.reveal-match-empty{text-align:center;padding:1.5rem 0}.reveal-waiting h2{font-size:3rem;margin:.4rem}.reveal-waiting>p:not(.eyebrow),.reveal-match-empty p{max-width:30rem;margin:0 auto;color:var(--muted);line-height:1.6}.reveal-waiting>button{margin-top:1.5rem;border:0;background:none;color:var(--muted);font-weight:700;cursor:pointer}.reveal-radar{position:relative;display:grid;width:12rem;height:12rem;margin:0 auto 1.5rem;border-radius:50%;background:rgba(185,211,226,.35);place-items:center}.reveal-radar>i{position:absolute;inset:1rem;border:2px solid rgba(149,115,158,.25);border-radius:50%;animation:revealRadar 2s infinite}.reveal-radar>i:nth-child(2){animation-delay:1s}.reveal-radar>span{display:grid;width:4.3rem;height:4.3rem;border-radius:45% 55% 47% 53%;background:var(--pink);color:#fff;font-size:1.4rem;place-items:center}.reveal-match-empty>i{font-size:2.6rem;color:var(--purple)}.reveal-match-empty h2{margin:.8rem 0}.reveal-match-empty>div{display:flex;justify-content:center;gap:.7rem;margin-top:1.4rem}@keyframes revealRadar{0%{transform:scale(.55);opacity:0}45%{opacity:1}100%{transform:scale(1.25);opacity:0}}
.reveal-play-body,.reveal-room-body{min-height:100vh;background:linear-gradient(145deg,#fdf4f5,#eef5f8)}.reveal-party{min-height:100vh;padding-top:92px}.reveal-party-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,3rem);border-bottom:1px solid rgba(38,50,56,.08);background:rgba(255,255,255,.72);backdrop-filter:blur(12px)}.reveal-party-top>a,.reveal-party-top>button{border:0;background:none;color:var(--ink);font:inherit;font-size:.82rem;font-weight:750;cursor:pointer}.reveal-party-top>span{font-family:var(--display);font-weight:900}.reveal-party-stage{display:grid;min-height:calc(100vh - 160px);padding:2rem;place-items:center}.reveal-party-topics,.reveal-party-question{width:min(900px,100%);text-align:center}.reveal-party-topics h1,.reveal-party-question h1{font-size:clamp(2.8rem,6vw,5.2rem);line-height:1.08;margin:.4rem 0 2rem}.reveal-party-topics>div{display:grid;grid-template-columns:repeat(5,1fr);gap:.75rem}.reveal-party-topics button{display:grid;min-height:9rem;padding:1rem;border:1px solid rgba(38,50,56,.08);border-radius:1.2rem;background:#fff;color:var(--ink);cursor:pointer;place-items:center;transition:.2s}.reveal-party-topics button:hover{background:#f3eaf4;transform:translateY(-3px)}.reveal-party-topics button i{font-size:1.4rem;color:var(--purple)}.reveal-party-topics button span{font-weight:800}.reveal-party-topics button small{color:var(--muted)}.reveal-party-question{padding:clamp(1.5rem,5vw,4rem);border-radius:2rem;background:#fff;box-shadow:var(--shadow-rest)}.reveal-party-question>div{display:flex;justify-content:center;gap:1rem}.reveal-party-question>div>button:not(.button){border:0;background:none;color:var(--muted);font:inherit;font-weight:700;cursor:pointer}
.reveal-room{min-height:100vh;padding-top:92px}.reveal-room-gate{display:grid;min-height:calc(100vh - 92px);padding:2rem;place-items:center}.reveal-room-gate>div{width:min(500px,100%);padding:clamp(1.5rem,5vw,3rem);border-radius:1.6rem;background:#fff;text-align:center;box-shadow:var(--shadow-rest)}.reveal-room-gate h1{font-size:clamp(3rem,8vw,5rem);letter-spacing:.12em;margin:.2rem 0}.reveal-room-gate p{color:var(--muted);line-height:1.6}.reveal-room-gate form{display:grid;gap:1rem;margin:1.5rem 0}.reveal-room-gate label{display:grid;gap:.4rem;text-align:left;font-size:.82rem;font-weight:750}.reveal-room-gate>a{font-size:.8rem;color:var(--muted)}.reveal-room-app{height:calc(100vh - 92px);overflow:hidden}.reveal-room-bar{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:1rem;height:72px;padding:0 clamp(1rem,3vw,2rem);border-bottom:1px solid rgba(38,50,56,.08);background:rgba(255,255,255,.86);backdrop-filter:blur(12px)}.reveal-room-bar>a{display:grid;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--ink);color:#fff;place-items:center}.reveal-room-bar>div:nth-child(2){display:grid}.reveal-room-bar>div:nth-child(2)>span{color:var(--muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.12em}.reveal-room-bar>div:nth-child(2)>button{width:max-content;padding:0;border:0;background:none;font:inherit;font-weight:850;letter-spacing:.08em;cursor:pointer}.reveal-player-status{display:flex;align-items:center;gap:.45rem}.reveal-player-pill{display:flex;align-items:center;gap:.35rem;padding:.32rem .6rem .32rem .35rem;border-radius:99px;background:#f1eaf4;font-size:.72rem}.reveal-player-pill>i{display:grid;width:1.55rem;height:1.55rem;border-radius:45% 55% 48% 52%;background:var(--purple);color:#fff;font-style:normal;place-items:center}.reveal-waiting-player{color:var(--muted)}.reveal-leave{border:0;background:none;color:#a54a63;font:inherit;font-size:.78rem;font-weight:750;cursor:pointer}.reveal-room-layout{display:grid;grid-template-rows:1fr auto;height:calc(100% - 72px);max-width:1050px;margin:auto;background:rgba(255,255,255,.54)}.reveal-chat{padding:1.5rem clamp(1rem,4vw,3rem);overflow-y:auto}.reveal-chat-welcome{max-width:35rem;margin:4rem auto;text-align:center}.reveal-chat-welcome>span{display:grid;width:4.5rem;height:4.5rem;margin:auto;border-radius:43% 57% 50% 50%;background:var(--pink);color:#fff;place-items:center}.reveal-chat-welcome h2{margin:1rem 0 .4rem}.reveal-chat-welcome p{color:var(--muted);line-height:1.6}.reveal-message-list{display:grid;gap:1rem}.reveal-chat-message{position:relative;display:grid;max-width:72%}.reveal-chat-message.is-mine{justify-self:end}.reveal-chat-message.is-theirs{justify-self:start}.reveal-chat-message header{display:flex;justify-content:space-between;gap:1rem;padding:0 .4rem .3rem;color:var(--muted);font-size:.68rem}.reveal-chat-message header strong{color:#526168}.reveal-chat-bubble{padding:.8rem 1rem;border-radius:1rem 1rem 1rem .3rem;background:#fff;line-height:1.55;overflow-wrap:anywhere}.reveal-chat-message.is-mine .reveal-chat-bubble{border-radius:1rem 1rem .3rem 1rem;background:#e7d6ec}.reveal-report-message{position:absolute;right:-2rem;bottom:.5rem;border:0;background:none;color:#9b7ba4;cursor:pointer;opacity:0;transition:.2s}.reveal-chat-message:hover .reveal-report-message{opacity:1}.reveal-round{width:min(760px,100%);margin:1rem auto;padding:clamp(1.3rem,4vw,2.2rem);border:1px solid rgba(38,50,56,.08);border-radius:1.5rem;background:#fff;box-shadow:var(--shadow-rest)}.reveal-round>header{display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.72rem}.reveal-round>header span{color:var(--purple);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.reveal-round>h2{font-size:clamp(1.5rem,3.5vw,2.4rem);line-height:1.25;text-align:center;margin:1.5rem auto;max-width:620px}.reveal-answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.reveal-answer-box{min-height:8rem;padding:1rem;border-radius:1rem;background:var(--blush)}.reveal-answer-box:nth-child(2){background:#eef5f8}.reveal-answer-box strong{font-size:.78rem}.reveal-answer-box p{line-height:1.5}.reveal-answer-box small{display:block;color:var(--muted);font-size:.7rem}.reveal-locked-text{filter:blur(5px);user-select:none}.reveal-answer-waiting{color:#8a959a;font-style:italic}.reveal-answer-form{display:grid;gap:.7rem;margin-top:1rem}.reveal-answer-form textarea{min-height:7rem;padding:1rem;border:1px solid rgba(38,50,56,.12);border-radius:1rem;background:#fffafa;font:inherit;resize:vertical}.reveal-complete-badge{width:max-content;margin:1rem auto 0;padding:.5rem .8rem;border-radius:99px;background:#f1eaf4;color:var(--purple);font-size:.75rem;font-weight:800}.reveal-composer{display:grid;grid-template-columns:auto 1fr;gap:.65rem;padding:.8rem clamp(1rem,3vw,2rem);border-top:1px solid rgba(38,50,56,.08);background:#fff}.reveal-composer>button{display:flex;align-items:center;gap:.4rem;padding:0 1rem;border:0;border-radius:1rem;background:var(--purple);color:#fff;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer}.reveal-composer form{display:grid;grid-template-columns:1fr auto;align-items:end;border:1px solid rgba(38,50,56,.12);border-radius:1rem;background:var(--blush);overflow:hidden}.reveal-composer textarea{max-height:8rem;padding:.85rem 1rem;border:0;background:transparent;font:inherit;resize:none;outline:0}.reveal-composer form button{display:grid;width:2.7rem;height:2.7rem;margin:.35rem;border:0;border-radius:.8rem;background:var(--ink);color:#fff;cursor:pointer;place-items:center}.reveal-toast{position:fixed;right:1.2rem;bottom:1.2rem;z-index:120;padding:.8rem 1rem;border-radius:.8rem;background:var(--ink);color:#fff;font-size:.82rem;box-shadow:var(--shadow-hover)}
@media(max-width:900px){.reveal-mode-grid{grid-template-columns:1fr}.reveal-mode-card{min-height:20rem}.reveal-party-topics>div{grid-template-columns:repeat(3,1fr)}.reveal-player-status{max-width:45vw;overflow-x:auto}.reveal-room-bar{grid-template-columns:auto 1fr auto}.reveal-leave{grid-column:3}.reveal-player-status{grid-row:2;grid-column:1/-1;display:none}}
@media(max-width:600px){.reveal-hero{min-height:46svh;padding:108px 0 40px}.reveal-hero h1{font-size:5rem}.reveal-hero p:not(.eyebrow){font-size:.95rem}.reveal-modes{padding-top:1.5rem}.reveal-mode-card{min-height:18rem;padding:1.4rem}.reveal-mode-card .eyebrow{margin-top:2rem}.reveal-friend-actions{grid-template-columns:1fr}.reveal-modal{padding:.5rem;align-items:end}.reveal-modal-card{max-height:92vh;border-radius:1.5rem 1.5rem .7rem .7rem}.reveal-match-empty>div{flex-direction:column}.reveal-party{padding-top:73px}.reveal-party-top{padding:.8rem 1rem}.reveal-party-stage{min-height:calc(100vh - 130px);padding:1rem}.reveal-party-topics h1,.reveal-party-question h1{font-size:2.45rem}.reveal-party-topics>div{grid-template-columns:1fr 1fr}.reveal-party-topics button{min-height:7.2rem}.reveal-party-question{padding:1.4rem}.reveal-party-question>div{flex-direction:column}.reveal-room{padding-top:73px}.reveal-room-app{height:calc(100vh - 73px)}.reveal-room-bar{height:62px;padding:0 .75rem;gap:.6rem}.reveal-room-layout{height:calc(100% - 62px)}.reveal-room-bar>div:nth-child(2)>span{display:none}.reveal-room-bar>div:nth-child(2)>button{font-size:.8rem}.reveal-leave{font-size:0}.reveal-leave i{font-size:.9rem}.reveal-chat{padding:1rem .8rem}.reveal-chat-message{max-width:86%}.reveal-report-message{right:-1.4rem;opacity:.75}.reveal-round{padding:1.1rem;border-radius:1.2rem}.reveal-round>header{display:grid;gap:.2rem}.reveal-round>h2{font-size:1.45rem;margin:1rem auto}.reveal-answer-grid{grid-template-columns:1fr}.reveal-answer-box{min-height:5rem}.reveal-composer{grid-template-columns:auto 1fr;padding:.55rem}.reveal-composer>button{width:2.8rem;padding:0;justify-content:center}.reveal-composer>button span{display:none}.reveal-composer textarea{padding:.7rem}.reveal-toast{right:.7rem;bottom:5rem;left:.7rem;text-align:center}}
.reveal-match-start form{display:grid;gap:1rem;margin-top:1.4rem}.reveal-match-start form .button{width:max-content}.reveal-room-gate form{gap:1.25rem}.reveal-party-topics button{will-change:transform,opacity}
.reveal-room-gate[hidden],.reveal-room-app[hidden]{display:none!important}
@media(min-width:981px){.nav-side,.nav-shell>.brand{transform:none}.account-nav{right:calc((100vw - min(1020px,calc(100vw - 48px))) / -2 + 24px);left:auto}}

.reveal-player-avatar{display:grid;width:1.75rem;height:1.75rem;flex:0 0 1.75rem;overflow:hidden;border:2px solid #fff;border-radius:43% 57% 49% 51% / 57% 44% 56% 43%;background:var(--player-color,#95739e);color:#fff;font-style:normal;place-items:center}.reveal-player-avatar img{width:100%;height:100%;object-fit:cover}.reveal-chat-bubble{display:block;width:fit-content;max-width:100%;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.reveal-chat-message.is-mine .reveal-chat-bubble{justify-self:end}.reveal-chat-message.is-theirs .reveal-chat-bubble{justify-self:start}
.reveal-chat-message header{justify-content:flex-end!important;gap:0!important;padding:0 .18rem .25rem!important}.reveal-chat-message.is-theirs header{justify-content:flex-start!important}.reveal-chat-message header strong{display:none!important}.reveal-chat-message header time{font-size:.68rem;color:#68767c}.reveal-chat-bubble{position:relative;transition:transform .18s ease}.reveal-message-reply{display:grid;gap:.12rem;margin:-.25rem -.35rem .45rem;padding:.45rem .55rem;border-radius:.65rem;background:rgba(255,255,255,.62);white-space:normal}.reveal-message-reply strong{color:#6f5a76;font-size:.7rem}.reveal-message-reply p{max-width:16rem;margin:0;color:#59676d;font-size:.74rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reveal-heart-reaction{position:absolute;right:.15rem;bottom:-.72rem;display:inline-flex;align-items:center;gap:.15rem;min-width:1.35rem;height:1.35rem;padding:0 .35rem;border:2px solid #fff;border-radius:999px;background:#fff;color:#d85c8e;font-size:1rem;line-height:1;font-weight:900;box-shadow:0 4px 12px rgba(38,50,56,.12);cursor:pointer}.reveal-heart-reaction.is-mine{background:#fff0f6}.reveal-heart-reaction span{font-size:.66rem;color:#6c7880}.reveal-chat-message.is-swiping-reply .reveal-chat-bubble::before{content:"↩";position:absolute;top:50%;display:grid;width:1.7rem;height:1.7rem;border-radius:50%;background:#95739e;color:#fff;transform:translateY(-50%);place-items:center;font-weight:900}.reveal-chat-message.is-mine.is-swiping-reply .reveal-chat-bubble::before{left:-2.25rem}.reveal-chat-message.is-theirs.is-swiping-reply .reveal-chat-bubble::before{right:-2.25rem}.reveal-message-menu{position:fixed;z-index:260;display:grid;width:178px;padding:.45rem;border:1px solid rgba(38,50,56,.08);border-radius:1rem;background:#fff;box-shadow:0 18px 55px rgba(38,50,56,.2);opacity:0;transform:translateY(6px) scale(.98);transition:.15s ease}.reveal-message-menu.is-visible{opacity:1;transform:none}.reveal-message-menu button{display:flex;align-items:center;gap:.65rem;width:100%;padding:.75rem .85rem;border:0;border-radius:.75rem;background:transparent;color:#263238;font:inherit;font-weight:800;cursor:pointer;text-align:left}.reveal-message-menu button:hover{background:#f7eef2}.reveal-message-menu i{width:1rem;color:#95739e}.reveal-reply-preview{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:0;margin:0 0 .45rem;padding:.65rem .75rem;border-radius:.9rem;background:#fbf1f5}.reveal-reply-preview>div{min-width:0}.reveal-reply-preview strong{display:block;font-size:.72rem;color:#6f5a76}.reveal-reply-preview p{display:block;max-width:100%;margin:.12rem 0 0;color:#59676d;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reveal-reply-preview button{display:grid;width:2rem;height:2rem;flex:0 0 2rem;border:0;border-radius:50%;background:#fff;color:#263238;cursor:pointer;place-items:center}
.reveal-chat-bubble{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.reveal-message-actions{position:absolute;top:50%;display:flex;gap:.28rem;padding:.65rem;opacity:0;pointer-events:none;transform:translateY(-50%);transition:.15s ease}.reveal-chat-message.is-mine .reveal-message-actions{left:-4rem}.reveal-chat-message.is-theirs .reveal-message-actions{right:-4rem}.reveal-chat-message:hover .reveal-message-actions,.reveal-message-actions:hover{opacity:1;pointer-events:auto}.reveal-message-actions button{display:grid;width:1.45rem;height:1.45rem;border:0;background:transparent;color:#95739e;cursor:pointer;place-items:center;font-size:.92rem}.reveal-message-actions button:hover{color:#263238;transform:scale(1.08)}.reveal-chat-message.is-swiping-reply .reveal-chat-bubble::before{display:none!important}
.reveal-question-picker[hidden]{display:none!important}.reveal-question-picker{position:fixed;inset:0;z-index:150;display:grid;padding:1rem;place-items:center}.reveal-picker-backdrop{position:absolute;inset:0;border:0;background:rgba(38,50,56,.42);backdrop-filter:blur(5px);cursor:pointer}.reveal-question-picker>section{position:relative;z-index:1;width:min(680px,100%);padding:clamp(1.5rem,4vw,2.6rem);border-radius:1.8rem;background:#fff;box-shadow:var(--shadow-hover);text-align:center}.reveal-question-picker h2{margin:.35rem 0;font-size:clamp(1.7rem,4vw,2.5rem)}.reveal-question-picker>section>p:not(.eyebrow){margin:0 0 1.5rem;color:var(--muted)}.reveal-picker-close{position:absolute;top:1rem;right:1rem;display:grid;width:2.3rem;height:2.3rem;border:0;border-radius:45% 55% 48% 52%;background:var(--blush);color:var(--purple);cursor:pointer;place-items:center}.reveal-room-topic-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.reveal-room-topic{display:grid;min-height:8rem;padding:1rem;border:1px solid rgba(38,50,56,.08);border-radius:1.1rem;background:var(--blush);color:var(--ink);font:inherit;cursor:pointer;place-items:center;transition:transform .2s ease,box-shadow .2s ease}.reveal-room-topic:nth-child(even){background:#eef5f8}.reveal-room-topic:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}.reveal-room-topic i{color:var(--purple);font-size:1.35rem}.reveal-room-topic strong{font-size:.82rem}
@media(max-width:600px){.reveal-room-topic-list{grid-template-columns:repeat(2,minmax(0,1fr))}.reveal-question-picker{align-items:end;padding:0}.reveal-question-picker>section{max-height:88vh;overflow-y:auto;border-radius:1.6rem 1.6rem 0 0}.reveal-room-topic{min-height:6.5rem}}

@media(max-width:700px){
    body.reveal-play-body .site-header,
    body.reveal-room-body .site-header{display:none!important}
    body.reveal-play-body,
    body.reveal-room-body{width:100%;max-width:100%;height:100dvh;overflow:hidden}
    body.reveal-room-body .reveal-room,
    body.reveal-room-body .reveal-room-app,
    body.reveal-room-body .reveal-room-layout,
    body.reveal-room-body .reveal-chat,
    body.reveal-room-body .reveal-composer{max-width:100vw;overflow-x:hidden}
    body.reveal-room-body .reveal-room{height:100dvh!important;min-height:100dvh!important}
    .reveal-party{padding-top:0!important;min-height:100svh}
    .reveal-party-top{position:sticky;top:0;z-index:30;min-height:62px;padding:.7rem .9rem calc(.7rem + env(safe-area-inset-top,0px));background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(38,50,56,.06)}
    .reveal-party-stage{min-height:calc(100svh - 62px);padding:1rem .9rem calc(1rem + env(safe-area-inset-bottom,0px))}
    .reveal-room{padding-top:0!important;min-height:100svh}
    .reveal-room-gate{min-height:100svh;padding:calc(1rem + env(safe-area-inset-top,0px)) 1rem calc(1rem + env(safe-area-inset-bottom,0px))}
    .reveal-room-app{position:fixed;inset:0;height:100dvh!important;overflow:hidden;background:#fff}
    .reveal-room-bar{position:fixed;top:0;left:0;right:0;z-index:245;display:grid;grid-template-columns:auto minmax(0,1fr) auto!important;height:calc(62px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) .75rem 0;align-content:center;align-items:center;background:rgba(255,255,255,.97);box-shadow:0 8px 24px rgba(38,50,56,.06);overflow:hidden}
    .reveal-room-bar>a{grid-column:1}
    .reveal-room-bar>div:nth-child(2){grid-column:2;min-width:0}
    .reveal-room-bar>div:nth-child(2)>button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .reveal-player-status{grid-column:3!important;grid-row:1!important;display:flex!important;justify-self:end;max-width:5.2rem;gap:0;overflow:visible}
    .reveal-player-pill{padding:0;background:transparent}
    .reveal-player-pill+ .reveal-player-pill{margin-left:-.45rem}
    .reveal-player-pill strong,
    .reveal-waiting-player{display:none!important}
    .reveal-player-avatar{width:2rem;height:2rem;flex-basis:2rem;box-shadow:0 2px 8px rgba(38,50,56,.14)}
    .reveal-room-layout{position:fixed;left:0;right:0;top:calc(62px + env(safe-area-inset-top,0px));bottom:0;height:auto!important;max-width:none;width:100%;min-width:0;overflow:hidden;background:#fff}
    .reveal-chat{width:100%;min-width:0;height:100%;padding:1rem .8rem calc(6.2rem + env(safe-area-inset-bottom,0px));overflow-x:hidden;overscroll-behavior:contain;background:#fff}
    .reveal-message-list{width:100%;min-width:0;overflow-x:hidden}
    .reveal-chat-message{min-width:0}
    .reveal-chat-bubble{display:block;width:fit-content;max-width:100%;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
    .reveal-chat-message.is-mine .reveal-chat-bubble{justify-self:end}
    .reveal-chat-message.is-theirs .reveal-chat-bubble{justify-self:start}
    .reveal-report-message,.reveal-message-actions{display:none!important}
    .reveal-message-reply p{max-width:62vw}
    .reveal-message-menu{width:172px}
    .reveal-message-menu.is-mobile-sheet{left:50%!important;right:auto!important;top:auto!important;bottom:calc(5.6rem + env(safe-area-inset-bottom,0px));transform:translate(-50%,8px) scale(.98)}
    .reveal-message-menu.is-mobile-sheet.is-visible{transform:translate(-50%,0)}
    .reveal-composer{position:fixed;left:0;right:0;bottom:0;z-index:250;width:100%;min-width:0;padding:.55rem .55rem calc(.55rem + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 24px rgba(38,50,56,.08);background:#fff}
    .reveal-composer form{min-width:0}
    .reveal-room-gate input,.reveal-modal input,.reveal-composer textarea{font-size:16px!important}
}

/* Shared subpage hero scale and navigation stability */
html { scrollbar-gutter: stable; }
.tests-hero h1,
.blog-hero h1,
.subpage-hero h1,
.reveal-hero h1,
.forum-hero h1 { font-size: clamp(4rem, 7vw, 6.4rem); }

/* Keep the decorative Reveal shape clear of the wave below it. */
.reveal-orb--two { top: 4%; right: -5rem; bottom: auto; width: 23.75rem; height: 23.75rem; }

/* Reveal choices should read as cards, not tall empty columns. */
.reveal-mode-card { min-height: 22rem; }
.reveal-mode-card > span { margin-bottom: 1.25rem; }
.reveal-mode-card .eyebrow { margin-top: 0; }

/* Organic account control, sized like the rest of the navigation. */
.account-nav {
    min-height: 48px;
    padding: 8px 15px;
    border: 0;
    border-radius: 43% 57% 46% 54% / 58% 43% 57% 42%;
    background: rgba(232,160,191,.82);
    font-size: .88rem;
}
.account-nav:hover { background: var(--pink); }

/* The compose header starts below the fixed navbar, like other subpages. */
.forum-compose-hero { padding: 128px 0 48px; }
.forum-compose-hero .article-breadcrumbs {
    justify-content: center;
    margin-bottom: 32px;
}
.forum-compose-hero .container { text-align: center; }
.forum-compose-hero h1,
.forum-compose-hero p:not(.eyebrow) { margin-right: auto; margin-left: auto; }

.forum-compose-category { display: grid; gap: .55rem; }
.forum-field-label { font-weight: 800; }
.forum-compose-category-options { right: auto; left: 0; width: min(31rem, 90vw); }
.forum-compose-category-options > button {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    width: 100%; padding: .75rem .85rem; border: 0; border-radius: .75rem;
    background: transparent; color: var(--ink); text-align: left; cursor: pointer;
}
.forum-compose-category-options > button:hover,
.forum-compose-category-options > button.is-selected { color: var(--purple); background: transparent; }
.forum-compose-category-options > button span { display: block; overflow: hidden; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.forum-compose-category-options > button small {
    display: inline;
    min-width: 0;
    height: auto;
    padding: 0;
    color: #8a959a;
    border-radius: 0;
    background: transparent;
    font-size: .76rem;
    font-weight: 500;
}
.forum-compose-category-options > button small::before { content: " – "; color: #8a959a; }
.forum-compose-category-options > button i { color: var(--purple); opacity: 0; }
.forum-compose-category-options > button.is-selected i { opacity: 1; }

@media (max-width: 980px) {
    /* backdrop-filter otherwise traps the fixed menu inside the scrolled header. */
    body.menu-open .site-header {
        background: var(--purple);
        box-shadow: none;
        backdrop-filter: none;
    }
    body.menu-open .mobile-menu { position: fixed; inset: 0; height: 100dvh; }
    .mobile-account-link {
        position: relative;
        z-index: 0;
        padding: .12em 0 .2em;
        border-radius: 43% 57% 46% 54% / 58% 43% 57% 42%;
        background: transparent;
        font-size: clamp(2.2rem, 8vw, 4rem) !important;
        line-height: 1.25;
    }
    .mobile-account-link::before {
        content: ""; position: absolute; inset: -.08em -.55em; z-index: -1;
        border-radius: 43% 57% 46% 54% / 58% 43% 57% 42%; background: var(--pink);
    }
}

@media (max-width: 640px) {
    .tests-hero h1,
    .blog-hero h1,
    .subpage-hero h1,
    .reveal-hero h1,
    .forum-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .reveal-mode-card { min-height: 0; }
    .reveal-mode-card > span { margin-bottom: 1.1rem; }
    .reveal-mode-card .eyebrow { margin-top: 0; }
    .forum-compose-hero { padding: 105px 0 38px; }
    .forum-compose-hero .article-breadcrumbs { justify-content: center; margin-bottom: 22px; }
    .forum-compose-category-options { position: fixed; right: 1rem; bottom: 1rem; left: 1rem; width: auto; max-height: 65vh; }
}

/* Keep these mobile fixes last so legacy responsive rules cannot override them. */
@media (max-width: 980px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden !important; overscroll-behavior-x: none; }
    .site-header,
    .site-header.is-scrolled {
        position: fixed;
        inset: 0 0 auto;
        width: 100%;
        padding: 5px 0;
        transform: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body.menu-open .site-header { top: 0; }
    .mobile-menu,
    body.menu-open .mobile-menu {
        position: fixed;
        inset: 0;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        padding: clamp(92px, 14dvh, 120px) 9vw 32px;
        overflow-y: auto;
    }
}

@media (max-width: 600px) {
    .intro-art-circle { bottom: calc(15% + 21px); }
    .reveal-orb--two { display: none; }
}


/* FINAL override: /poradna hero mirrors /kniznica hero. */
body .forum-hero {
    position: relative;
    display: grid;
    min-height: 52svh;
    padding: 138px 0 58px;
    overflow: hidden;
    background: var(--blush);
    place-items: center;
    isolation: isolate;
}
body .forum-hero-inner {
    position: relative;
    z-index: 1;
    display: block;
    max-width: none;
    text-align: center;
}
body .forum-hero-inner > .eyebrow { margin: 0 0 20px; }
body .forum-hero h1 {
    max-width: 1100px;
    margin: 0 auto;
    font-size: clamp(3.6rem, 6vw, 5.5rem);
    line-height: .96;
}
body .forum-hero .forum-hero-inner > p:not(.eyebrow) {
    max-width: 700px;
    margin: 30px auto 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.65;
}
body .forum-hero-inner .button { margin-top: 34px; }
body .forum-hero-blob {
    position: absolute;
    z-index: -1;
    top: 4%;
    right: -3%;
    width: min(485px, 36vw);
    height: auto;
    aspect-ratio: 1.2;
    border-radius: 62% 38% 48% 52% / 43% 57% 43% 57%;
    background: rgba(185,211,226,.32);
    transform: rotate(-8deg);
}
@media (max-width: 980px) {
    body .forum-hero {
        min-height: 48svh;
        padding: 118px 0 48px;
    }
    body .forum-hero-blob {
        top: 8%;
        right: -9%;
        width: min(395px, 47vw);
    }
}
@media (max-width: 640px) {
    body .forum-hero {
        min-height: 45svh;
        padding: 102px 0 38px;
    }
    body .forum-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    body .forum-hero .forum-hero-inner > p:not(.eyebrow) {
        margin-top: 22px;
        font-size: 1rem;
        line-height: 1.6;
    }
    body .forum-hero-inner .button {
        width: auto;
        min-width: 13rem;
        margin-top: 28px;
    }
    body .forum-hero-blob {
        top: 13%;
        right: -20%;
        width: 280px;
    }
}

/* === CANONICAL SUBPAGE HERO SYSTEM — keep this block last ===
   Applies to: O nás, Blog, Osobnostné testy, Poradňa, Reveal, Knižnica. */
body .about-hero,
body .blog-hero,
body .tests-hero,
body .forum-hero,
body .reveal-hero,
body .materials-hero {
    position: relative !important;
    display: grid !important;
    min-height: 52svh !important;
    padding: 138px 0 58px !important;
    overflow: hidden !important;
    background: var(--blush) !important;
    place-items: center !important;
    isolation: isolate !important;
    text-align: center !important;
}

body .about-hero .subpage-hero-inner,
body .blog-hero .blog-hero-inner,
body .tests-hero .tests-hero-inner,
body .forum-hero .forum-hero-inner,
body .reveal-hero > .container,
body .materials-hero .subpage-hero-inner {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    max-width: min(1100px, calc(100vw - 48px)) !important;
    margin-inline: auto !important;
    text-align: center !important;
}

body .about-hero .eyebrow,
body .blog-hero .eyebrow,
body .tests-hero .eyebrow,
body .forum-hero .eyebrow,
body .reveal-hero .eyebrow,
body .materials-hero .eyebrow {
    margin: 0 0 20px !important;
    font-size: .76rem !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
}

body .about-hero h1,
body .blog-hero h1,
body .tests-hero h1,
body .forum-hero h1,
body .reveal-hero h1,
body .materials-hero h1 {
    max-width: 1100px !important;
    margin: 0 auto !important;
    font-size: clamp(3.6rem, 6vw, 5.5rem) !important;
    line-height: .96 !important;
    white-space: normal !important;
}

body .about-hero .subpage-hero-inner > p:not(.eyebrow),
body .blog-hero .blog-hero-inner > p:not(.eyebrow),
body .tests-hero .tests-hero-inner > p:not(.eyebrow),
body .forum-hero .forum-hero-inner > p:not(.eyebrow),
body .reveal-hero > .container > p:not(.eyebrow),
body .materials-hero .subpage-hero-inner > p:not(.eyebrow) {
    max-width: 700px !important;
    margin: 30px auto 0 !important;
    color: var(--muted) !important;
    font-size: 1.15rem !important;
    line-height: 1.65 !important;
}

body .about-hero .button,
body .blog-hero .button,
body .tests-hero .button,
body .forum-hero .button,
body .reveal-hero .button,
body .materials-hero .button {
    margin-top: 34px !important;
}

body .blog-hero-blob,
body .tests-hero-blob,
body .forum-hero-blob,
body .materials-hero .subpage-blob--pink {
    top: 4% !important;
    right: -3% !important;
    left: auto !important;
    width: min(485px, 36vw) !important;
    height: auto !important;
    aspect-ratio: 1.2 !important;
    border-radius: 62% 38% 48% 52% / 43% 57% 43% 57% !important;
    background: rgba(185,211,226,.32) !important;
    transform: rotate(-8deg) !important;
}

@media (max-width: 980px) {
    body .about-hero,
    body .blog-hero,
    body .tests-hero,
    body .forum-hero,
    body .reveal-hero,
    body .materials-hero {
        min-height: 48svh !important;
        padding: 118px 0 48px !important;
    }
    body .blog-hero-blob,
    body .tests-hero-blob,
    body .forum-hero-blob,
    body .materials-hero .subpage-blob--pink {
        top: 8% !important;
        right: -9% !important;
        width: min(395px, 47vw) !important;
    }
}

@media (max-width: 640px) {
    body .about-hero,
    body .blog-hero,
    body .tests-hero,
    body .forum-hero,
    body .reveal-hero,
    body .materials-hero {
        min-height: 45svh !important;
        padding: 102px 0 38px !important;
    }
    body .about-hero h1,
    body .blog-hero h1,
    body .tests-hero h1,
    body .forum-hero h1,
    body .reveal-hero h1,
    body .materials-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem) !important;
        line-height: 1 !important;
    }
    body .about-hero .subpage-hero-inner > p:not(.eyebrow),
    body .blog-hero .blog-hero-inner > p:not(.eyebrow),
    body .tests-hero .tests-hero-inner > p:not(.eyebrow),
    body .forum-hero .forum-hero-inner > p:not(.eyebrow),
    body .reveal-hero > .container > p:not(.eyebrow),
    body .materials-hero .subpage-hero-inner > p:not(.eyebrow) {
        max-width: 650px !important;
        margin-top: 22px !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    body .about-hero .button,
    body .blog-hero .button,
    body .tests-hero .button,
    body .forum-hero .button,
    body .reveal-hero .button,
    body .materials-hero .button {
        width: auto !important;
        min-width: 13rem !important;
        margin-top: 28px !important;
    }
    body .blog-hero-blob,
    body .tests-hero-blob,
    body .forum-hero-blob,
    body .materials-hero .subpage-blob--pink {
        top: 13% !important;
        right: -20% !important;
        width: 280px !important;
    }
}

/* Reveal mobile hero blob: keep the blue decorative orb inside the viewport. */
@media (max-width: 640px) {
    body .reveal-hero .reveal-orb--one {
        width: 15rem !important;
        height: 15rem !important;
        top: -4.5rem !important;
        left: -4.5rem !important;
    }
}

/* Mobile homepage intro image: no blob/crop, show the original illustration centered. */
@media (max-width: 640px) {
    body .intro-art {
        width: min(100%, 340px) !important;
        max-width: 340px !important;
        min-height: auto !important;
        aspect-ratio: auto !important;
        margin: 0 auto 8px !important;
        place-items: center !important;
    }
    body .intro-art-circle {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        border-radius: 0 !important;
        background: transparent !important;
        overflow: visible !important;
        transform: none !important;
    }
    body .intro-illustration {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        filter: drop-shadow(0 6px 12px rgba(38,50,56,.07)) !important;
    }
}

/* Reveal room mobile polish: context actions stay near the message, not under the thumb. */
@media (max-width: 700px), (pointer: coarse) {
    .reveal-message-menu.is-mobile-floating {
        width: 172px;
        max-width: calc(100vw - 20px);
        transform: translateY(6px) scale(.98);
    }
    .reveal-message-menu.is-mobile-floating.is-visible {
        transform: none;
    }
    .reveal-round > header small {
        display: none !important;
    }
}

/* Reveal chat contrast + action alignment polish. */
body.reveal-room-body .reveal-room-layout,
body.reveal-room-body .reveal-chat {
    background: linear-gradient(180deg, #fff8fa 0%, #faf6f8 100%);
}
body.reveal-room-body .reveal-chat-message.is-theirs .reveal-chat-bubble {
    background: #fff !important;
    border: 1px solid rgba(38,50,56,.035);
    box-shadow: 0 5px 16px rgba(38,50,56,.035);
}
body.reveal-room-body .reveal-chat-bubble {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: none !important;
}
body.reveal-room-body .reveal-chat-bubble:active,
body.reveal-room-body .reveal-chat-bubble:focus,
body.reveal-room-body .reveal-chat-bubble:focus-visible {
    filter: none !important;
    box-shadow: inherit;
}
body.reveal-room-body .reveal-chat-message.is-theirs .reveal-chat-bubble:active,
body.reveal-room-body .reveal-chat-message.is-theirs .reveal-chat-bubble:focus,
body.reveal-room-body .reveal-chat-message.is-theirs .reveal-chat-bubble:focus-visible {
    background: #fff !important;
}
body.reveal-room-body .reveal-chat-message.is-mine .reveal-chat-bubble:active,
body.reveal-room-body .reveal-chat-message.is-mine .reveal-chat-bubble:focus,
body.reveal-room-body .reveal-chat-message.is-mine .reveal-chat-bubble:focus-visible {
    background: #e7d6ec !important;
}
body.reveal-room-body .reveal-chat-bubble .reveal-message-actions {
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0 .55rem !important;
    z-index: 3;
    transition: opacity .12s ease .22s, color .12s ease, transform .12s ease !important;
}
body.reveal-room-body .reveal-chat-message.is-mine .reveal-chat-bubble .reveal-message-actions {
    left: auto !important;
    right: calc(100% + .25rem) !important;
}
body.reveal-room-body .reveal-chat-message.is-theirs .reveal-chat-bubble .reveal-message-actions {
    right: auto !important;
    left: calc(100% + .25rem) !important;
}
body.reveal-room-body .reveal-chat-bubble::after {
    content: "";
    position: absolute;
    top: -.75rem;
    bottom: -.75rem;
    width: 5rem;
    z-index: 1;
    pointer-events: auto;
}
body.reveal-room-body .reveal-chat-message.is-mine .reveal-chat-bubble::after {
    right: 100%;
}
body.reveal-room-body .reveal-chat-message.is-theirs .reveal-chat-bubble::after {
    left: 100%;
}
body.reveal-room-body .reveal-chat-message:hover .reveal-chat-bubble .reveal-message-actions,
body.reveal-room-body .reveal-chat-bubble:hover .reveal-message-actions,
body.reveal-room-body .reveal-chat-bubble .reveal-message-actions:hover {
    opacity: 1 !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
}
@media (max-width: 700px), (pointer: coarse) {
    body.reveal-room-body .reveal-chat-bubble::after {
        display: none !important;
        pointer-events: none !important;
    }
}

/* Reveal friend modal alignment for logged-in vs guest states. */
.reveal-friend-actions--logged-in form {
    grid-template-rows: auto 1fr auto;
    min-height: 14.1rem;
}
.reveal-friend-actions--logged-in form > p {
    align-self: start;
    margin: 1.55rem 0 0;
}
.reveal-friend-actions--logged-in form > .button {
    align-self: end;
}
.reveal-friend-actions--guest form {
    grid-template-rows: auto auto auto auto;
}
.reveal-friend-actions--guest [data-create-room] > .button {
    grid-row: 3;
}
.reveal-friend-actions--guest [data-join-room] > .button {
    grid-row: 4;
}
@media (max-width: 600px) {
    .reveal-friend-actions--logged-in form,
    .reveal-friend-actions--guest form {
        min-height: 0;
        grid-template-rows: none;
    }
    .reveal-friend-actions--logged-in form > p,
    .reveal-friend-actions--logged-in form > .button,
    .reveal-friend-actions--guest [data-create-room] > .button,
    .reveal-friend-actions--guest [data-join-room] > .button {
        grid-row: auto;
        align-self: auto;
        margin-top: 0;
    }
}

/* Reveal single-player question sizing + compact mobile actions. */
.reveal-party-question > h1 {
    max-width: 860px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(1.85rem, 3.35vw, 3.15rem) !important;
    line-height: 1.14 !important;
}
.reveal-party-question > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: center;
    align-items: center;
    gap: .75rem !important;
}
.reveal-party-question [data-party-back] {
    grid-column: 1 / -1;
    justify-self: center;
}
@media (max-width: 600px) {
    .reveal-party-question > h1 {
        font-size: clamp(1.72rem, 7vw, 2rem) !important;
        line-height: 1.16 !important;
        margin-bottom: 1.35rem !important;
    }
    .reveal-party-question > div {
        grid-template-columns: 1fr 1fr !important;
        gap: .55rem !important;
        width: 100%;
    }
    .reveal-party-question > div > .button {
        width: 100% !important;
        min-height: 3.25rem;
        padding: .7rem .65rem;
        font-size: .78rem;
        line-height: 1.15;
    }
    .reveal-party-question [data-party-back] {
        grid-column: 1 / -1;
        width: 100% !important;
        min-height: 3.15rem;
    }
}
