/* ==========================================================================
   Points G design system, direction "Boudoir" A2.
   Sections: 1 fonts, 2 tokens, 3 base, 4 typography, 5 layout (utility bar,
   header, mega menu, drawer, footer), 6 components, 7 utilities, 8 responsive,
   9 reduced motion. Values come from the validated canvas (docs/design/canvas).
   ========================================================================== */

/* 1. Fonts (variable, self-hosted, latin subset) ------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/jost.woff2") format("woff2");
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --bg: #120a0d;
  --bg-deep: #0b0507;
  --panel: #1a0f13;
  --panel-2: #1f1317;
  --mega: #16090d;
  --ink: #f3e9e3;
  --ink-2: #d9cbc5;
  --ink-3: #b8a8a3;
  --muted: #9a8a86;
  --muted-2: #7d6c68;
  --placeholder: #8a7a76;
  --line: #2f1d22;
  --line-2: #3a262b;
  --line-header: #2a1a1e;
  --line-faint: #4a3a3e;
  --gold: #d4a853;
  --gold-2: #f0c36b;
  --gold-dark: #b98f3f;
  --gold-light: #f5d98a;
  --accent: #b3122e;
  --accent-ink: #ffffff;
  --success: #5fc48a;
  --danger: #c0605f;
  --veil: linear-gradient(180deg, rgba(18, 10, 13, 0) 30%, rgba(18, 10, 13, 0.92) 100%);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-menu: 0 24px 48px rgba(0, 0, 0, 0.5);
  --font-title: "Cormorant Garamond", "Garamond", Georgia, serif;
  --font-body: "Jost", "Gill Sans", "Trebuchet MS", sans-serif;
  --gutter: 56px;
  --container: 1440px;
  --header-h: 88px;
  --utility-h: 42px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 0.25s;
  --t-slow: 0.6s;
}
/* Universes: one skin per illustration style. Photo is the default and the
   only indexed one; the others only change the accent (and later the images). */
html[data-universe="bd"] { --accent: #a8552c; }
html[data-universe="manga"] { --accent: #6b2d5c; }
html[data-universe="comics"] { --accent: #8e1b3a; }
html[data-universe="illustration"] { --accent: #b5731c; }

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.has-drawer { overflow: hidden; }
body.is-gated { padding-bottom: 72px; }
main { flex: 1 0 auto; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-2); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* 4. Typography ----------------------------------------------------------- */
h1, h2, h3, h4, .serif { font-family: var(--font-title); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.display { font-family: var(--font-title); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 500; font-style: italic; line-height: 1.02; }
.lead { font-family: var(--font-title); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--ink-2); font-weight: 500; }
.eyebrow { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.kicker { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; }
.muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.small { font-size: 13px; }
.italic { font-style: italic; }

/* Reading column (articles, recipes, results) */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 34px; margin: 0 0 16px; color: var(--ink); }
.prose h3 { font-size: 26px; margin: 24px 0 10px; color: var(--ink); }
.prose a { border-bottom: 1px solid var(--gold-dark); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose figure { margin: 10px 0 34px; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 0 0 24px; padding-left: 20px; border-left: 2px solid var(--gold); font-family: var(--font-title); font-size: 24px; font-style: italic; line-height: 1.35; color: var(--ink); }
.term { border-bottom: 1px dotted var(--gold); color: var(--gold-2); cursor: help; }

/* Editorial pages (legal notice, privacy policy, contact): one reading column, sections spaced */
.static-page { max-width: 760px; margin: 0 auto; padding: 40px 0 64px; }
.static-page__head { margin-bottom: 36px; }
.static-page section { margin-bottom: 40px; }
.static-page section:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* 5. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.section-head__title { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; font-style: italic; margin-top: 6px; }
.section-head__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--bg); font-weight: 500; }
.skip-link:focus { top: 12px; }

/* Utility bar */
.utility-bar { background: var(--bg-deep); font-size: 13px; color: var(--ink-3); font-weight: 400; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: var(--utility-h); }
.utility-bar__group { display: flex; align-items: center; gap: 18px; }
.utility-bar__group--links { gap: 22px; }
.utility-bar a { color: var(--ink-3); }
.utility-bar a:hover { color: var(--ink); }
.utility-bar .sep { color: var(--line-faint); }
.badge-18 { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid var(--gold); color: var(--gold); font-size: 10px; font-weight: 600; line-height: 1; flex-shrink: 0; }
.badge-18--lg { width: 44px; height: 44px; font-size: 15px; }
.badge-18--card { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(11, 5, 7, 0.75); }
.badge-18--over { position: absolute; inset: 0; margin: auto; background: rgba(11, 5, 7, 0.8); }
.badge-18--corner { position: absolute; top: 8px; left: 8px; background: rgba(11, 5, 7, 0.75); }
.article-card__media { position: relative; }
.lock-thumb.lock-thumb--lg { width: 100%; height: 180px; border-radius: 4px; }
.lock-thumb--lg img { filter: blur(14px); transform: scale(1.1); }
.lock-thumb--lg .badge-18--over { width: 44px; height: 44px; font-size: 15px; }
.unlock-strip--stack { flex-wrap: wrap; margin-top: 16px; }
.unlock-strip--stack .lock-thumbs { flex-basis: 100%; }
.media-zoom { position: relative; }
.tags .badge-18 { align-self: center; }
.adults-note { display: inline-flex; align-items: center; gap: 6px; }
.account-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; overflow: hidden; }
.avatar--lg { width: 64px; height: 64px; font-family: var(--font-title); font-size: 30px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Universe switch */
.universe-switch { display: flex; align-items: center; gap: 8px; }
.universe-switch__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-right: 6px; }
.universe-switch__item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line-2); color: var(--ink-2) !important; font-size: 12px; letter-spacing: 0.08em; line-height: 1.4; white-space: nowrap; transition: border-color var(--t-fast), color var(--t-fast); }
.mega-menu__box .universe-switch { flex-wrap: wrap; }
.universe-switch__item:hover { border-color: var(--gold); }
.universe-switch__item.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink) !important; font-weight: 500; }
.universe-switch__item .icon { color: var(--gold); }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.1em; }
.lang-switch .is-current { color: var(--gold); }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line-header); }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-title); font-weight: 600; font-size: 40px; line-height: 1; color: var(--ink) !important; flex-shrink: 0; }
.logo__word { font-style: italic; }
.logo__mark { color: var(--accent); }
.logo--sm { font-size: 30px; }
.logo--footer { font-size: 30px; }
.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; height: 100%; }
.main-nav__item { position: static; height: 100%; display: flex; align-items: center; } /* static: the mega menu spans the whole header */
.main-nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 100%; color: var(--ink); font-size: 16px; font-weight: 500; white-space: nowrap; }
.main-nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width var(--t-fast) var(--ease); }
.main-nav__link:hover::after, .main-nav__link.is-active::after, .main-nav__item.is-open .main-nav__link::after { width: 100%; }
.main-nav__link:hover, .main-nav__item.is-open .main-nav__link { color: var(--gold); }
.main-nav__link .icon { color: var(--gold); transition: transform var(--t-fast); }
.main-nav__item.is-open .main-nav__link .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-box { display: flex; align-items: center; gap: 8px; width: 160px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color var(--t-fast), width var(--t-slow) var(--ease); }
.search-box:focus-within { border-color: var(--gold); width: 230px; }
.search-box .icon { color: var(--gold); flex-shrink: 0; }
.search-box input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: var(--ink); font-size: 14px; outline: none; }
.nav-toggle, .search-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.search-toggle { color: var(--gold); }

/* Mega menu (desktop) */
.mega-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--mega); border-bottom: 2px solid var(--gold); box-shadow: var(--shadow-menu); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast); }
.main-nav__item.is-open .mega-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-menu__inner { display: grid; gap: 40px; padding: 30px var(--gutter) 34px; max-width: var(--container); margin: 0 auto; }
.mega-menu__inner--advice { grid-template-columns: 1.1fr 1fr 1.6fr 1fr; }
.mega-menu__inner--games { grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 24px; }
.mega-menu__col { display: flex; flex-direction: column; }
.mega-menu__label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mega-menu__link { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink); font-size: 15px; font-weight: 300; padding: 7px 0; }
.mega-menu__link:hover { color: var(--gold); }
.mega-menu__link .count { font-size: 12px; color: var(--muted-2); }
.mega-menu__link--ranked { justify-content: flex-start; }
.mega-menu__rank { font-family: var(--font-title); font-size: 22px; color: var(--gold); font-weight: 600; min-width: 22px; line-height: 1; }
.mega-menu__featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 4px; }
.mega-menu__thumb { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.mega-menu__thumb .media { height: 140px; overflow: hidden; }
.mega-menu__thumb .media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.mega-menu__thumb:hover .media img { transform: scale(1.06); }
.mega-menu__thumb .title { font-family: var(--font-title); font-size: 20px; line-height: 1.15; font-weight: 600; }
.mega-menu__thumb--game .media { height: 150px; }
.mega-menu__thumb--game .title { font-size: 24px; }
.mega-menu__thumb .desc { font-size: 14px; color: var(--ink-3); }
.mega-menu__box { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--panel-2); border: 1px solid var(--line-2); }
.mega-menu__box .icon { color: var(--gold); }
.mega-menu__box .title { font-family: var(--font-title); font-size: 26px; line-height: 1.1; font-weight: 600; }
.mega-menu__box .text { font-size: 14px; color: var(--ink-3); }
.mega-menu__box--sm { margin-top: 14px; padding: 16px; gap: 6px; }

/* Off-canvas drawer (mobile navigation) */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 5, 7, 0.7); backdrop-filter: blur(4px); }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: var(--bg); border-right: 1px solid var(--line-header); overflow-y: auto; display: flex; flex-direction: column; animation: drawer-in var(--t-fast) var(--ease); }
@keyframes drawer-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-header); }
.drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.drawer__nav { list-style: none; margin: 0; padding: 8px 0; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: var(--ink); font-size: 18px; font-family: var(--font-title); font-weight: 600; border-bottom: 1px solid var(--line-header); }
.drawer__nav a .icon { color: var(--gold); }
.drawer__section { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer__section .eyebrow { margin-bottom: 2px; }
.drawer .universe-switch { flex-wrap: wrap; }
.drawer .universe-switch__label { display: none; }
.drawer__footer { margin-top: auto; padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-header); font-size: 13px; color: var(--muted); }
.universe-row { display: none; align-items: center; gap: 8px; padding: 10px var(--gutter); border-bottom: 1px solid var(--line-header); overflow-x: auto; scrollbar-width: none; }
.universe-row::-webkit-scrollbar { display: none; }
.universe-row .universe-switch__item { flex-shrink: 0; }

/* Footer */
.site-footer { margin-top: 56px; background: var(--bg-deep); border-top: 1px solid var(--line-header); color: var(--ink-3); font-size: 14px; }
.site-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { margin: 0; max-width: 320px; color: var(--muted); }
.footer__note { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--ink-3); }
.footer__col a:hover { color: var(--gold); }
.footer__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-header); font-size: 12px; color: var(--muted-2); }
.env-badge { display: inline-block; padding: 2px 10px; border: 1px solid var(--accent); color: var(--accent); text-transform: uppercase; font-size: 10px; letter-spacing: 0.2em; }

/* Floating chat widget */
.chat-widget { position: fixed; right: 32px; bottom: 32px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--panel-2); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); color: var(--ink); text-align: left; }
.chat-widget:hover { color: var(--ink); border-color: var(--gold-2); }
.chat-widget__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.chat-widget__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-widget__text { display: flex; flex-direction: column; }
.chat-widget__title { font-size: 14px; font-weight: 500; }
.chat-widget__sub { font-size: 12px; color: var(--ink-3); }
.chat-widget__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-left: 6px; flex-shrink: 0; }

/* Adult notice: a bottom banner (the text stays public and indexable, explicit pictures are for age-checked members) */
.age-gate { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: var(--panel-2); border-top: 1px solid var(--gold); box-shadow: var(--shadow-lg); }
.age-gate__text { margin: 0; flex: 1 1 auto; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.age-gate__actions { display: flex; gap: 8px; margin: 0; flex-shrink: 0; }
@media (max-width: 700px) { .age-gate { flex-wrap: wrap; } .age-gate__text { flex-basis: 100%; } body.is-gated { padding-bottom: 130px; } }

/* 6. Components ----------------------------------------------------------- */
/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border: 1px solid transparent; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); }
.btn--shimmer { background: linear-gradient(110deg, var(--gold-dark) 0%, var(--gold) 35%, var(--gold-light) 50%, var(--gold) 65%, var(--gold-dark) 100%); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
.btn--ghost { border-color: var(--line-2); color: var(--ink-2); font-weight: 500; }
.btn--ghost:hover { border-color: var(--gold); color: var(--ink); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.btn--accent:hover { filter: brightness(1.15); color: var(--accent-ink); }
.btn--sm { padding: 10px 16px; font-size: 12px; }
.btn--lg { padding: 16px 32px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn .icon { flex-shrink: 0; }
.btn .icon--lock { color: var(--gold); }
.btn--gold .icon--lock, .btn--accent .icon--lock { color: inherit; }

/* Chips and eyebrows */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; line-height: 1.3; border: 1px solid transparent; }
.chip--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip--outline { border-color: var(--line-2); color: var(--ink-2); }
a.chip--outline:hover { border-color: var(--gold); color: var(--ink); }
.chip--gold { border-color: var(--gold); color: var(--gold-2); }
.chip--lg { padding: 10px 16px; }
.chip .icon { color: var(--gold); }
.chip--accent .icon { color: inherit; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.card--deep { background: var(--bg-deep); }
.card--gold { border-color: var(--gold); }
.card--tight { gap: 8px; }
.card__title { font-size: 24px; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__icon-title { display: flex; align-items: center; gap: 10px; }
.card__icon-title .icon { color: var(--gold); }
.callout { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px; border: 1px solid var(--line-2); background: var(--panel); }
.callout__text { font-size: 16px; line-height: 1.6; color: var(--ink); }

/* Image tiles (rubriques, bento, signe à signe) */
.tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; color: var(--ink) !important; background: var(--panel); min-height: 200px; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile__veil { position: absolute; inset: 0; background: var(--veil); }
.tile__body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.tile__title { font-family: var(--font-title); font-weight: 600; font-size: 26px; line-height: 1.1; }
.tile__title--display { font-size: 30px; font-weight: 500; font-style: italic; }
.tile--sm .tile__body { padding: 14px; }
.tile--sm .tile__title { font-size: 24px; }

/* Article cards and lists */
.media-zoom { overflow: hidden; }
.media-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.media-zoom:hover img, a:hover > .media-zoom img { transform: scale(1.06); }
.article-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink) !important; }
.article-card__media { height: 240px; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__title { font-family: var(--font-title); font-weight: 600; font-size: 24px; line-height: 1.15; }
.article-card--sm .article-card__media { height: 220px; }
.article-card--sm .article-card__title { font-size: 22px; }
.list-item { display: flex; gap: 14px; align-items: center; color: var(--ink) !important; }
.list-item__media { width: 72px; height: 72px; overflow: hidden; flex-shrink: 0; }
.list-item__media img { width: 100%; height: 100%; object-fit: cover; }
.list-item__title { font-family: var(--font-title); font-size: 18px; line-height: 1.2; font-weight: 600; }
.list-item__sub { font-size: 13px; color: var(--muted); }
.list-item--sm .list-item__media { width: 56px; height: 56px; }
.list-item--sm .list-item__title { font-family: var(--font-body); font-size: 15px; font-weight: 500; }
.byline { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-3); }
.byline .sep { color: var(--line-faint); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 18px 0 0; font-size: 13px; letter-spacing: 0.04em; list-style: none; margin: 0; }
.breadcrumb li { display: inline-flex; gap: 12px; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; color: var(--line-faint); }
.breadcrumb [aria-current] { color: var(--ink-2); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; }
.grid--aside-left { grid-template-columns: 420px minmax(0, 1fr); gap: 64px; }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.bento > .tile:first-child { grid-column: span 2; grid-row: span 2; }
.bento .tile { min-height: 0; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.field__hint { font-size: 13px; color: var(--muted); }
.field__error { font-size: 13px; color: var(--danger); }
.input { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); font-size: 16px; outline: none; transition: border-color var(--t-fast); }
.input:focus { border-color: var(--gold); }
.input--sm { padding: 12px; font-size: 14px; }
.input-group { display: flex; align-items: center; gap: 10px; padding-right: 16px; background: var(--bg); border: 1px solid var(--line-2); }
.input-group:focus-within { border-color: var(--gold); }
.input-group .input { border: 0; }
.input-group .icon { color: var(--muted); flex-shrink: 0; }
.field--row { flex-direction: row; gap: 8px; }
.field--row .input { min-width: 0; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box { width: 20px; height: 20px; margin-top: 2px; border: 1px solid var(--line-faint); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--bg); transition: background var(--t-fast), border-color var(--t-fast); }
.checkbox__box .icon { opacity: 0; }
.checkbox input:checked + .checkbox__box { background: var(--gold); border-color: var(--gold); }
.checkbox input:checked + .checkbox__box .icon { opacity: 1; }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.toggle { position: relative; width: 40px; height: 22px; border-radius: 11px; background: var(--line-2); flex-shrink: 0; transition: background var(--t-fast); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); transition: left var(--t-fast) var(--ease); }
.toggle.is-on, .toggle[aria-checked="true"] { background: var(--gold); }
.toggle.is-on::after, .toggle[aria-checked="true"]::after { left: 21px; }
.pref-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.pref-row label { cursor: pointer; }
.pref-row__hint { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); }
.stepper button { padding: 6px 12px; color: var(--ink-2); }
.stepper button:hover { color: var(--gold); }
.check-list__item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.check-list__item.is-done { color: var(--muted); text-decoration: line-through; }

/* Member gate: blurred content plus a centered card */
.gated { position: relative; min-height: 380px; }
.gated__content { filter: blur(7px); user-select: none; pointer-events: none; }
.is-blurred { filter: blur(7px); user-select: none; pointer-events: none; }
.gate-card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.gate-card__box { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(460px, 100%); padding: 28px 32px; background: var(--panel-2); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); text-align: center; }
.gate-card__box .icon { color: var(--gold); }
.gate-card__title { font-family: var(--font-title); font-weight: 600; font-size: 28px; line-height: 1.1; }
.gate-card__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.gate-card__note { margin: 0; font-size: 13px; color: var(--muted); }
.lock-thumbs { display: flex; gap: 6px; }
.lock-thumb { position: relative; width: 64px; height: 64px; overflow: hidden; }
.lock-thumb img { width: 100%; height: 100%; object-fit: cover; filter: blur(7px); }
.lock-thumb .icon { position: absolute; inset: 0; margin: auto; color: var(--gold); }
.lock-thumb--empty { background: var(--panel-2); border: 1px solid var(--line); }
.unlock-strip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-2); background: var(--panel); }
.unlock-strip__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.unlock-strip__title { font-size: 15px; font-weight: 500; }
.unlock-strip__sub { font-size: 14px; color: var(--ink-3); }
.icon--lock { color: var(--gold); }

/* Meters: ring gauge, progress bar, stars */
.gauge { position: relative; width: 140px; height: 140px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: var(--line); stroke-width: 10; }
.gauge__value { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 - 339.3 * var(--value, 0) / 100); transition: stroke-dashoffset 1.2s var(--ease); }
.gauge--accent .gauge__value { stroke: var(--accent); }
.gauge__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 40px; font-weight: 600; }
.gauge__label small { font-size: 20px; margin-left: 2px; }
.gauge-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.gauge-card__caption { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.progress { height: 4px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; width: var(--value, 0%); background: var(--gold); transition: width var(--t-slow) var(--ease); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 20px; border: 1px solid var(--line); background: var(--panel); min-width: 120px; }
.stat__value { font-family: var(--font-title); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat__value--muted { color: var(--muted); }
.meta-box { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); background: var(--panel); }
.meta-box__label { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.meta-box__label .icon { color: var(--gold); }
.meta-box__value { font-family: var(--font-title); font-size: 24px; font-weight: 600; }

/* FAQ (details/summary) */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; cursor: pointer; list-style: none; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { color: var(--gold); flex-shrink: 0; transition: transform var(--t-fast); }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* Ticker (JS duplicates the content once for a seamless loop) */
.ticker { overflow: hidden; background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker__track { display: flex; width: max-content; padding: 10px 0; font-size: 13px; color: var(--ink-2); animation: marquee 60s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__label { padding: 0 16px; color: var(--gold); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.ticker__item { padding: 0 16px; white-space: nowrap; }
.ticker__item strong { font-weight: 500; color: var(--ink); }

/* Carousel (JS driven: .is-active on the current slide, bars show progress) */
.carousel { position: relative; overflow: hidden; background: var(--panel); min-height: 420px; }
.carousel__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.carousel__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.carousel__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__slide.is-active img { animation: kenburns 8s linear both; }
.carousel__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 13, 0) 35%, rgba(18, 10, 13, 0.95) 100%); }
.carousel__caption { position: absolute; left: 40px; right: 40px; bottom: 64px; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.carousel__slide.is-active .carousel__caption { animation: reveal 0.9s var(--ease) both; animation-delay: 0.2s; }
.carousel__caption .chip { align-self: flex-start; }
.carousel__title { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.02; font-weight: 500; font-style: italic; max-width: 760px; color: var(--ink); }
.carousel__text { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 620px; }
.carousel__nav { position: absolute; left: 40px; right: 40px; bottom: 28px; z-index: 2; display: flex; gap: 8px; align-items: center; }
.carousel__bar { flex: 1 1 auto; height: 2px; background: rgba(243, 233, 227, 0.25); overflow: hidden; cursor: pointer; }
.carousel__bar > i { display: block; height: 100%; width: 0; background: var(--gold); }
.carousel__bar.is-done > i { width: 100%; }
.carousel__bar.is-active > i { animation: progress var(--carousel-delay, 6s) linear both; }
.carousel.is-paused .carousel__bar.is-active > i { animation-play-state: paused; }
.carousel__counter { margin-left: 12px; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.carousel__btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(243, 233, 227, 0.3); color: var(--ink); transition: border-color var(--t-fast); }
.carousel__btn:hover { border-color: var(--gold); color: var(--gold); }

/* Home page blocks */
.home-hero { display: grid; grid-template-columns: 8fr 4fr; gap: 24px; padding-top: 24px; }
.home-hero__carousel { height: 620px; }
.carousel__btn--prev, .carousel__btn--next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-color: rgba(212, 168, 83, 0.6); background: rgba(18, 10, 13, 0.5); color: var(--gold); }
.carousel__btn--prev { left: 24px; }
.carousel__btn--next { right: 24px; }
.carousel__title a { color: inherit; }
.home-featured { display: flex; flex-direction: column; height: 620px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.home-featured__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.home-featured__title { font-family: var(--font-title); font-size: 26px; font-weight: 600; font-style: italic; }
.home-featured__item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--ink) !important; flex: 1 1 auto; }
.home-featured__item:last-child { border-bottom: 0; }
.home-featured__media { height: 82px; }
.home-featured__label { font-family: var(--font-title); font-size: 20px; line-height: 1.15; font-weight: 600; }
.home-ticker { margin-top: 24px; }
.home-ticker .ticker__track { padding: 12px 0; font-size: 14px; }
.home-ticker .ticker__label, .home-ticker .ticker__item { padding: 0 28px; }
.home-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; margin-top: 40px; }
.home-bento > .tile:first-child { grid-column: span 2; grid-row: span 2; }
.home-bento .tile { min-height: 0; }
.home-bento .tile__title { font-size: 30px; }
.home-bento .home-bento__big { font-size: 44px; }
.home-bento__text { font-size: 15px; color: var(--ink-2); max-width: 420px; }
.home-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tool-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.tool-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.tool-card__head { position: relative; display: flex; align-items: center; gap: 10px; color: var(--gold); }
.tool-card__title { font-family: var(--font-title); font-size: 26px; font-weight: 600; color: var(--ink); }
.tool-card__text { position: relative; margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tool-card__form { position: relative; display: flex; gap: 10px; margin-top: auto; }
.tool-card__form .input { flex: 1 1 auto; min-width: 0; }
.tool-card__form .btn { flex-shrink: 0; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.home-latest { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home-latest__main { grid-column: span 2; height: 520px; }
.home-latest__title { font-family: var(--font-title); font-size: 36px; line-height: 1.1; font-weight: 600; }
.game-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); color: var(--ink) !important; }
.game-card__media { position: relative; display: flex; align-items: center; justify-content: center; height: 240px; overflow: hidden; background: var(--bg-deep); }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.game-card__media .game-card__bg { position: absolute; inset: 0; opacity: 0.35; }
.game-card:hover .game-card__media img { transform: scale(1.06); }
.game-card__grid { position: relative; display: grid; gap: 3px; }
.game-card__grid--crossword { grid-template-columns: repeat(6, 38px); }
.game-card__grid--crossword span { height: 38px; display: flex; align-items: center; justify-content: center; font-weight: 600; background: var(--ink); color: var(--bg); }
.game-card__grid--crossword .is-black { background: var(--accent); }
.game-card__grid--crossword .is-gold { background: var(--gold); }
.game-card__grid--letters { grid-template-columns: repeat(7, 34px); gap: 2px; font-size: 20px; font-weight: 600; text-align: center; line-height: 34px; }
.game-card__grid--letters .is-gold { color: var(--gold); }
.game-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.game-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.game-card__title { font-family: var(--font-title); font-size: 28px; font-weight: 600; }
.game-card__badge { background: rgba(212, 168, 83, 0.15); color: var(--gold); }
.game-card__desc { font-size: 15px; color: var(--ink-3); }
.home-trio { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.home-trio__side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.recipe-banner { position: relative; display: flex; align-items: flex-end; min-height: 420px; overflow: hidden; color: var(--ink) !important; }
.recipe-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.recipe-banner:hover .recipe-banner__img { transform: scale(1.04); }
.recipe-banner__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 10, 13, 0.92) 0%, rgba(18, 10, 13, 0.4) 60%, rgba(18, 10, 13, 0) 100%); }
.recipe-banner__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px; max-width: 480px; }
.recipe-banner__title { font-family: var(--font-title); font-size: 40px; line-height: 1.08; font-weight: 600; }
.recipe-banner__meta { display: flex; gap: 18px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.recipe-banner__text { font-size: 15px; color: var(--ink-2); }
.text-accent { color: var(--accent); filter: brightness(1.4); }
.side-card { display: flex; gap: 20px; align-items: center; padding: 24px; background: var(--panel); border: 1px solid var(--line); color: var(--ink) !important; }
.side-card__text { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.side-card__title { font-family: var(--font-title); font-size: 30px; line-height: 1.1; font-weight: 600; }
.side-card__desc { font-size: 14px; color: var(--ink-3); }
.side-card__media { width: 150px; height: 150px; overflow: hidden; flex-shrink: 0; }
.side-card__media img { width: 100%; height: 100%; object-fit: cover; }
.newsletter-banner { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 64px; padding: 40px 48px; background: var(--panel); border: 1px solid var(--line); }
.newsletter-banner__halo { left: -120px; top: -160px; width: 520px; height: 520px; }
.newsletter-banner__text { position: relative; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.newsletter-banner__title { font-family: var(--font-title); font-size: 36px; font-weight: 500; font-style: italic; line-height: 1.1; }
.newsletter-banner__sub { font-size: 15px; color: var(--ink-3); }
.newsletter-banner__form { position: relative; display: flex; gap: 10px; width: 480px; max-width: 100%; }
.newsletter-banner__form .input { flex: 1 1 auto; min-width: 0; }

/* Candle glow, decorative halo */
.candle { animation: glow 4s ease-in-out infinite; }
.halo { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 168, 83, 0.18) 0%, rgba(212, 168, 83, 0) 65%); pointer-events: none; }

/* Reveal on scroll (JS adds .is-visible; without JS everything is visible) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.15s; }
.js .reveal.d2 { transition-delay: 0.3s; }
.js .reveal.d3 { transition-delay: 0.45s; }

/* Icons */
.icon { width: 16px; height: 16px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon--sm { width: 12px; height: 12px; }
.icon--md { width: 20px; height: 20px; }
.icon--lg { width: 28px; height: 28px; }

/* Newsletter and alerts */
.newsletter { display: flex; flex-direction: column; gap: 12px; }
.alert { padding: 14px 18px; border: 1px solid var(--line-2); background: var(--panel); font-size: 15px; }
.alert--success { border-color: var(--success); }
.alert--danger { border-color: var(--danger); }
.error-page { text-align: center; padding: 80px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.debug { text-align: left; background: #000; color: #f88; padding: 16px; overflow: auto; font-size: 0.8rem; max-width: 100%; }

/* Keyframes */
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }
@keyframes kenburns { 0% { transform: scale(1); } 100% { transform: scale(1.07); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* 6b. Editorial pages --------------------------------------------------- */
.page-head { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; max-width: 1100px; }
.page-head__title { font-family: var(--font-title); font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; font-weight: 600; margin: 0; }
.page-head__meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 6px; }
.page-head__author { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-3); }
.page-head__author .sep { color: var(--line-faint); }
.page-head__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
/* Save button: the heart fills once saved (server state for members, browser state for guests). */
.save-form { display: inline-flex; margin: 0; }
.save-btn .icon { transition: fill 0.2s var(--ease), color 0.2s var(--ease); }
.save-btn.is-saved { border-color: var(--gold); color: var(--gold); }
.save-btn.is-saved .icon { fill: currentColor; }
[data-share].is-copied { border-color: var(--gold); color: var(--gold); }
.no-js .js-only { display: none !important; }
[hidden] { display: none !important; }
/* The member's shelf: favourites and reads as rows. */
.shelf { display: flex; flex-direction: column; gap: 12px; }
.shelf-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.shelf-item:first-child { border-top: 0; padding-top: 0; }
.shelf-item__media { flex: 0 0 64px; width: 64px; height: 64px; overflow: hidden; background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.shelf-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shelf-item__letter { font-family: var(--font-title); font-size: 28px; color: var(--gold); }
.shelf-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.shelf-item__title { font-family: var(--font-title); font-weight: 600; font-size: 20px; line-height: 1.15; color: var(--ink); }
.shelf-item__title:hover { color: var(--gold); }
.shelf-item__remove { margin: 0; flex-shrink: 0; }
.shelf--compact .shelf-item__media { flex-basis: 48px; width: 48px; height: 48px; }
.shelf--compact .shelf-item__title { font-size: 17px; }
.keep-nudge__text { line-height: 1.5; }
/* Home: pick up where you left off (members). */
.home-resume { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; padding: 14px 18px; border: 1px solid var(--line-2); background: var(--panel); }
.home-resume__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.home-resume__item { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 280px; color: var(--ink); }
.home-resume__title { font-family: var(--font-title); font-weight: 600; font-size: 18px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-resume__item:hover .home-resume__title { color: var(--gold); }
.home-resume__favorites { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.home-resume__favorites:hover { color: var(--gold); }
.avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 72px; height: 72px; }
.cover { position: relative; margin: 28px 0 0; height: 560px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; background: linear-gradient(180deg, rgba(18, 10, 13, 0) 0%, rgba(18, 10, 13, 0.85) 100%); font-size: 13px; color: var(--ink-2); }
.cover__chips { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cover__chips .kicker { margin-right: 6px; }
.cover__chips button.chip { cursor: pointer; }
.toc { gap: 10px; }
.toc__item { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.toc__item:hover { color: var(--gold); }
.toc__item--locked { color: var(--muted); }
.toc__item--locked .icon { color: var(--gold); }
.author-box { display: flex; gap: 20px; align-items: center; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.author-box__name { font-family: var(--font-title); font-size: 22px; font-weight: 600; }
.author-box__text { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.card__title { font-family: var(--font-title); font-size: 22px; font-weight: 600; line-height: 1.15; }
.card--deep { background: var(--bg-deep); }
.category-hero { position: relative; overflow: hidden; margin-top: 20px; min-height: 340px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.category-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 10, 13, 0.92) 0%, rgba(18, 10, 13, 0.55) 60%, rgba(18, 10, 13, 0.2) 100%); }
.category-hero__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 40px; max-width: 720px; }
.subcats { margin-top: 20px; }
.subcats .count { color: var(--muted); font-size: 12px; margin-left: 4px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; }
.steps { display: flex; flex-direction: column; gap: 30px; }
.steps + .steps { margin-top: 40px; }
.steps__title { font-family: var(--font-title); font-size: 40px; font-weight: 600; margin: 0; }
.step { display: flex; gap: 22px; }
.step__num { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 22px; font-weight: 600; flex-shrink: 0; }
.step__body { padding-top: 8px; }
.step__body p:last-child { margin-bottom: 0; }
.step__title { font-family: var(--font-title); font-size: 24px; font-weight: 600; line-height: 1.25; margin: 0 0 10px; }
.step__figure { margin: 18px 0 0; }
.step__figure img, .step__figure video { display: block; width: 100%; height: auto; border-radius: 12px; }
.step__figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.fiche-attrs { gap: 12px; }
.meta-box__value--sm { font-family: var(--font-body); font-size: 15px; font-weight: 500; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery__item { margin: 0; }
.gallery__item img, .gallery__item video { width: 100%; height: 320px; object-fit: cover; display: block; background: var(--bg-deep); }
.gallery__item figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
/* Locked slot of a gallery: the blurred teaser (64 px stretched) under a lock, a link to the sign-up call. */
.gallery__item--locked { position: relative; display: block; overflow: hidden; height: 320px; background: var(--panel-2); border: 1px solid var(--line); }
.gallery__item--locked img { height: 100%; filter: blur(10px); transform: scale(1.15); }
.gallery__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--gold); background: rgba(11, 5, 7, 0.35); }
.gallery__lock .badge-18 { width: 36px; height: 36px; font-size: 13px; background: rgba(11, 5, 7, 0.8); }
.gallery__lock-text { font-size: 13px; color: var(--ink-2); }
.gallery__item--locked:hover .gallery__lock { background: rgba(11, 5, 7, 0.2); }
.recipe-hero { display: grid; grid-template-columns: 620px minmax(0, 1fr); gap: 56px; padding-top: 28px; }
.recipe-hero__media { position: relative; height: 620px; overflow: hidden; }
.recipe-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero__note { position: absolute; left: 16px; bottom: 16px; padding: 6px 10px; background: rgba(18, 10, 13, 0.8); font-size: 12px; color: var(--ink-2); }
.recipe-hero__body { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.recipe-hero__meta { gap: 12px; }
.check-list { display: flex; flex-direction: column; }
.check-list__item { cursor: pointer; }
.letters { margin-top: 20px; }
.lexicon { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
.lexicon-group { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
.lexicon-group__letter { font-family: var(--font-title); font-size: 64px; font-weight: 500; font-style: italic; color: var(--gold); margin: 0; line-height: 1; }
.lexicon-list { display: flex; flex-direction: column; }
.lexicon-list__item { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
.lexicon-list__item:hover .lexicon-list__term { color: var(--gold); }
.lexicon-list__term { font-family: var(--font-title); font-size: 26px; font-weight: 600; }
.lexicon-list__short { font-size: 15px; color: var(--ink-3); }
.tile--sm .tile__title { font-size: 26px; }
.prose figure img, .prose figure video { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; }
@media print { .site-header, .utility-bar, .site-footer, .chat-widget, .sidebar .card--deep, .page-head__actions { display: none !important; } }

/* 7. Utilities ------------------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.self-start { align-self: flex-start; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }
.desktop-only { }
.mobile-only { display: none !important; }

/* 8. Responsive ----------------------------------------------------------- */
@media (max-width: 1280px) {
  :root { --gutter: 32px; }
  .main-nav__list { gap: 18px; }
  .main-nav__link { font-size: 15px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .main-nav, .utility-bar__group--universe, .header-actions .search-box, .header-actions .btn { display: none; }
  .nav-toggle, .search-toggle { display: inline-flex; }
  .site-header__inner { gap: 12px; }
  .logo { font-size: 30px; }
  .universe-row { display: flex; }
  .grid--sidebar, .grid--aside-left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-hero { grid-template-columns: minmax(0, 1fr); }
  .recipe-hero__media { height: 420px; }
  .cover { height: 420px; }
  .lexicon-group { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-hero__carousel { height: 520px; }
  .home-featured { height: auto; }
  .home-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .home-tools { grid-template-columns: minmax(0, 1fr); }
  .home-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-trio, .home-trio__side { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .newsletter-banner { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: span 3; }
}
/* Account: sign up, sign in, member page */
.auth { padding-top: 40px; padding-bottom: 72px; }
.auth__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; }
.auth__grid--login { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth--narrow { max-width: 640px; }
.auth__form, .auth__magic, .auth__message { gap: 18px; padding: 32px; }
.auth__message { align-items: flex-start; }
.auth__message > .icon { color: var(--gold); }
.auth__title { font-family: var(--font-title); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; font-style: italic; line-height: 1.05; margin: 0; }
.auth__intro { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.auth__switch { margin: 0; font-size: 14px; color: var(--muted); }
.auth__switch a { color: var(--gold-2); border-bottom: 1px solid var(--gold-dark); }
.auth__aside { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.benefits .icon { color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.auth__note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 16px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; line-height: 1.5; color: var(--muted); }
.auth__soon { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.auth__note .icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.reveal-password { display: inline-flex; padding: 4px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.reveal-password:hover, .reveal-password.is-on { color: var(--gold); }
.alert--error { border-color: var(--danger); color: var(--ink); }
.alert--success { color: var(--ink); }
.btn--danger { border-color: var(--danger); color: var(--danger); }
.btn--danger:hover { background: var(--danger); border-color: var(--danger); color: var(--bg); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chip { position: relative; cursor: pointer; }
.radio-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-chip span { display: inline-flex; padding: 8px 14px; border: 1px solid var(--line-2); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); transition: border-color var(--t-fast), color var(--t-fast); }
.radio-chip input:checked + span { border-color: var(--gold); color: var(--gold-2); }
.radio-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.account { padding-top: 32px; padding-bottom: 72px; }
.account__hero { display: flex; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.account__identity { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.account__name { font-family: var(--font-title); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; font-style: italic; line-height: 1.05; margin: 0; }
.account__meta { margin: 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.account__meta .sep { color: var(--line-faint); }
.account__unverified { color: var(--gold-2); }
.account__nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.account__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: start; }
.account__main, .account__aside { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.account__fields { gap: 16px; }
.account .alert { margin-top: 24px; }
.account .pref-row label { cursor: pointer; }
.verify-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 10px var(--gutter); background: var(--panel); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.verify-banner .icon { color: var(--gold); }
.verify-banner form { display: inline; }
.verify-banner button { background: none; border: 0; padding: 0; color: var(--gold-2); border-bottom: 1px solid var(--gold-dark); font: inherit; cursor: pointer; }
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .auth__grid, .auth__grid--login, .account__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .auth__form, .auth__magic, .auth__message { padding: 22px; }
  .account__hero { flex-wrap: wrap; }
  .account__logout { width: 100%; }
  body { font-size: 15px; }
  .utility-bar__inner { min-height: 36px; gap: 12px; }
  .utility-bar__group { gap: 12px; }
  .utility-bar .utility-date, .utility-bar .adults-note .sep, .utility-bar .utility-bar__group > .sep, .utility-bar .utility-bar__group--links .newsletter-link { display: none; }
  .utility-bar .adults-note { font-size: 12px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .cover { height: 300px; }
  .cover__bar { position: static; background: var(--panel); }
  .unlock-strip { flex-wrap: wrap; }
  .unlock-strip .btn { width: 100%; justify-content: center; }
  .page-head__meta { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery__item img, .gallery__item video { height: 240px; }
  .gallery__item--locked { height: 240px; }
  .home-resume__favorites { margin-left: 0; }
  .shelf-item { flex-wrap: wrap; }
  .step { gap: 14px; }
  .step__num { width: 36px; height: 36px; font-size: 18px; }
  .steps__title { font-size: 30px; }
  .recipe-hero__media { height: 300px; }
  .category-hero { min-height: 260px; }
  .category-hero__body { padding: 24px; }
  .author-box { flex-direction: column; align-items: flex-start; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .bento > .tile:first-child { grid-column: span 2; grid-row: span 1; }
  .home-hero__carousel { height: 480px; }
  .home-bento { grid-auto-rows: 150px; margin-top: 24px; }
  .home-bento > .tile:first-child { grid-column: span 2; grid-row: span 1; }
  .home-bento .home-bento__big { font-size: 30px; }
  .home-bento__text { display: none; }
  .home-latest { grid-template-columns: minmax(0, 1fr); }
  .home-latest__main { grid-column: span 1; height: 380px; }
  .home-latest__title { font-size: 28px; }
  .recipe-banner { min-height: 360px; }
  .recipe-banner__title { font-size: 30px; }
  .side-card__media { width: 90px; height: 90px; }
  .newsletter-banner { padding: 24px 20px; margin-top: 40px; }
  .newsletter-banner__form { flex-direction: column; width: 100%; }
  .tool-card__form { flex-wrap: wrap; }
  .section { padding-top: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 28px; }
  .carousel { min-height: 480px; }
  .carousel__caption { left: 16px; right: 16px; bottom: 44px; }
  .carousel__nav { left: 16px; right: 16px; bottom: 16px; }
  .carousel__btn { display: none; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; }
  .footer__brand { grid-column: span 2; }
  .chat-widget { right: 12px; bottom: 12px; padding: 10px 12px 10px 10px; }
  .chat-widget__sub { display: none; }
  .gate-card__box { padding: 22px 18px; }
  .mobile-only { display: revert !important; }
  .desktop-only { display: none !important; }
}

/* 9. Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel__bar.is-active > i { width: 100%; }
}

/* Assistant (chat page) */
.chat { display: flex; flex-direction: column; gap: 18px; }
.chat__head { display: flex; align-items: center; gap: 18px; }
.chat__title { font-family: var(--font-display); font-size: 34px; line-height: 1.1; margin: 0 0 6px; }
.chat__intro { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.chat__messages { display: flex; flex-direction: column; gap: 12px; max-height: 60vh; min-height: 200px; overflow-y: auto; padding: 18px; border: 1px solid var(--line); background: var(--panel); scroll-behavior: smooth; }
.chat__messages--admin { max-height: none; }
.chat__msg { display: flex; flex-direction: column; gap: 4px; max-width: 82%; }
.chat__msg--user { align-self: flex-end; align-items: flex-end; }
.chat__msg--assistant { align-self: flex-start; }
.chat__bubble { padding: 12px 16px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border: 1px solid var(--line); }
.chat__msg--user .chat__bubble { background: var(--panel-2); border-color: var(--line-2); }
.chat__bubble.is-thinking { min-width: 60px; color: var(--muted); }
.chat__bubble.is-thinking::after { content: "…"; animation: chat-dots 1.2s steps(4, end) infinite; }
@keyframes chat-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.chat__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chat__examples .chip { white-space: normal; text-align: left; }
.chat__form { display: flex; gap: 10px; align-items: flex-end; }
.chat__input { flex: 1; resize: vertical; min-height: 56px; }
.chat__status { margin: 0; color: var(--muted); }
.chat__note { margin: 0; line-height: 1.5; }
.chat__sources { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: 13px; padding: 2px 4px; }
.chat__sources span { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.chat__sources a { color: var(--gold); border-bottom: 1px solid var(--gold-dark); }
.chat__gate { align-items: flex-start; }
@media (max-width: 720px) {
  .chat__title { font-size: 26px; }
  .chat__msg { max-width: 94%; }
  .chat__form { flex-direction: column; align-items: stretch; }
}

/* Places directory: maps (MapLibre), kind colours, lists and fiches */
:root { --kind-club: #e0567a; --kind-stripclub: #9d5cf0; --kind-sauna: #e07b3a; --kind-shop: #d9a441; --kind-bar: #f07c6c; --kind-event: #ff8fd1;
  --kind-beach: #3ec6c1; --kind-camping: #5cb85c; --kind-resort: #4f9ce6; --kind-association: #7fd6a8; --kind-other: #8fb3b0; }
.kind-club { --kind: var(--kind-club); } .kind-stripclub { --kind: var(--kind-stripclub); } .kind-sauna { --kind: var(--kind-sauna); } .kind-shop { --kind: var(--kind-shop); }
.kind-bar { --kind: var(--kind-bar); } .kind-event { --kind: var(--kind-event); } .kind-beach { --kind: var(--kind-beach); } .kind-camping { --kind: var(--kind-camping); }
.kind-resort { --kind: var(--kind-resort); } .kind-association { --kind: var(--kind-association); } .kind-other { --kind: var(--kind-other); }
.place-map { position: relative; border: 1px solid var(--line); background: var(--panel); overflow: hidden; min-height: 320px; }
.place-map--tall { height: 540px; margin-top: 24px; }
.place-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; }
.place-map--sticky { height: 560px; position: sticky; top: 90px; }
.place-map--card { height: 260px; min-height: 0; }
.place-map .place-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.place-map__loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; color: var(--muted); font-size: 14px; text-align: center; padding: 0 16px; }
.place-map .maplibregl-popup-content { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: 0; padding: 12px 16px; font-family: var(--font-body); font-size: 14px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.place-map .maplibregl-popup-content a { color: var(--gold); display: inline-block; margin-top: 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.place-map .maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--line-2); }
.place-map .maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--line-2); }
.place-map .maplibregl-popup-close-button { color: var(--muted); font-size: 18px; padding: 2px 8px; }
.place-map .maplibregl-ctrl-group { background: var(--panel-2); border-radius: 0; box-shadow: none; border: 1px solid var(--line-2); }
.place-map .maplibregl-ctrl-group button + button { border-top-color: var(--line); }
.place-map .maplibregl-ctrl button .maplibregl-ctrl-icon { filter: invert(0.85); }
.place-map .maplibregl-ctrl-attrib { background: rgba(11, 5, 7, 0.75); color: var(--muted); font-size: 11px; }
.place-map .maplibregl-ctrl-attrib a { color: var(--ink-3); }
.place-map .maplibregl-cooperative-gesture-screen { background: rgba(11, 5, 7, 0.6); font-family: var(--font-body); }
.place-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.place-filters .chip { cursor: pointer; background: none; }
.place-filters .chip b { font-weight: 500; color: var(--muted); }
.place-filters .chip.is-active { border-color: var(--gold); color: var(--gold-2); }
.place-card__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--kind, var(--gold)); flex-shrink: 0; box-shadow: 0 0 0 2px rgba(11, 5, 7, 0.6); }
.place-kinds .card { color: var(--ink); }
.place-kind:hover { border-color: var(--gold); }
.place-kind__title { font-family: var(--font-title); font-size: 24px; font-weight: 600; line-height: 1.15; }
.place-kind__count { font-size: 13px; color: var(--muted); }
.place-departments { list-style: none; margin: 0; padding: 0; columns: 4; column-gap: 24px; font-size: 15px; }
.place-departments li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.place-departments a { display: flex; gap: 8px; align-items: baseline; color: var(--ink-2); }
.place-departments a:hover { color: var(--gold); }
.place-departments__code { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; min-width: 26px; }
.place-departments__count { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.place-list { display: flex; flex-direction: column; gap: 10px; }
.place-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); background: var(--panel); color: var(--ink) !important; }
.place-card:hover { border-color: var(--gold); }
.place-card .place-card__dot { margin-top: 7px; }
.place-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.place-card__title { font-family: var(--font-title); font-size: 20px; font-weight: 600; line-height: 1.2; }
.place-card__sub { font-size: 13px; color: var(--muted); }
.place-card__addr { font-size: 14px; color: var(--ink-3); }
.place-card__facets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.place-card__facet { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); padding: 2px 8px; }
.place-list--compact .place-card { padding: 10px 12px; }
.place-list--compact .place-card__title { font-size: 16px; }
.place-list--compact .place-card__facets, .place-list--compact .place-card__addr { display: none; }
.place-facts { display: flex; flex-direction: column; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.place-facts__row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.place-facts dt { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.place-facts dt .icon { color: var(--gold); }
.place-facts dd { margin: 0; color: var(--ink); }
.place-facts dd a { border-bottom: 1px solid var(--gold-dark); }
.place-highlights { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.place-highlights li { display: inline-flex; align-items: center; gap: 8px; }
.place-highlights li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.place-source { font-size: 13px; color: var(--muted); line-height: 1.5; }
.place-source a { color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
@media (max-width: 1100px) {
  .place-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .place-map--sticky { position: static; height: 380px; }
  .place-departments { columns: 3; }
}
@media (max-width: 720px) {
  .place-map--tall { height: 380px; }
  .place-departments { columns: 2; }
  .place-facts__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .place-map--card { height: 220px; }
}

/* Horoscope: the twelve cards of the index, the day's panel and the sign glyph */
.card--sign { position: relative; gap: 0; padding: 0; color: var(--ink) !important; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.card--sign:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.card--sign .card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 24px; }
.card--sign .card__title { font-size: 22px; }
.card--sign .card__meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card--sign .card__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.sign-thumb { position: relative; display: block; overflow: hidden; height: 150px; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.sign-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card--sign:hover .sign-thumb img { transform: scale(1.05); }
.sign-thumb__glyph { position: absolute; right: 14px; bottom: 10px; font-size: 34px; line-height: 1; color: var(--gold); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); }
.sign-glyph { font-size: 26px; line-height: 1; color: var(--gold); }
.card--day { border-color: var(--gold-dark); background: var(--bg-deep); }
.card--day .prose h2 { margin-top: 20px; font-size: 20px; }
.card--day .prose h2:first-child { margin-top: 0; }
.unlock-strip--wide { width: 100%; align-items: center; }
/* Love forecast of the day, 1 to 5 (the .gauge of the design system is the circular one) */
.mood { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.mood__dot { width: 8px; height: 8px; background: var(--line-2); transform: rotate(45deg); }
.mood__dot.is-on { background: var(--gold); }
.mood__label { margin-right: 6px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
/* The real sky of the day: positions and events on the index, a sign's sectors under its lines */
.sky { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px; border: 1px solid var(--line); background: var(--panel); }
.sky--you { padding: 18px 0 0; border: 0; border-top: 1px solid var(--line-2); background: none; }
.sky__title { margin: 0; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.sky__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sky__events, .sky__you { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sky__events li::before, .sky__you li::before { content: "\2726"; margin-right: 10px; font-size: 11px; color: var(--gold); }
.sky__source { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  /* On a phone the signs come first: the positions stay on a few short lines */
  .sky { padding: 16px; gap: 10px; }
  .sky__chips { gap: 6px; }
  .sky__chips .chip { padding: 4px 8px; font-size: 10px; letter-spacing: 0.08em; }
}

/* Love compatibility: the hearts of a pair, and the grid of the twelve signs */
.hearts { display: inline-flex; align-items: center; gap: 3px; }
.hearts__one { font-size: 15px; line-height: 1; color: var(--line-2); }
.hearts__one.is-on { color: var(--gold); }
.hearts--lg .hearts__one { font-size: 22px; }
.hearts__label { margin-left: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card--pair { color: var(--ink) !important; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.card--pair:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.card--pair .card__body { display: flex; flex-direction: column; gap: 10px; }
.card--pair .card__title { font-size: 20px; }
.card--pair .card__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
/* The grid is wider than a phone: it scrolls on its own rather than pushing the page */
.compat-grid-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
.compat-grid { border-collapse: collapse; width: 100%; min-width: 720px; }
.compat-grid th, .compat-grid td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.compat-grid thead th { position: sticky; top: 0; background: var(--panel-2); font-weight: 500; }
.compat-grid tbody th { text-align: left; padding-left: 12px; background: var(--panel-2); white-space: nowrap; }
.compat-grid tbody th a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; }
.compat-grid__name { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.compat-grid thead .compat-grid__name { display: block; margin-top: 2px; font-size: 10px; }
.compat-grid__cell { font-size: 14px; color: var(--muted); }
.compat-grid__cell a { display: block; padding: 6px 0; margin: -6px 0; color: var(--gold) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.compat-grid__cell a:hover { background: var(--panel-2); color: var(--gold) !important; }
.compat-grid__cell--5 { background: rgba(217, 164, 65, 0.22); }
.compat-grid__cell--4 { background: rgba(217, 164, 65, 0.12); }
.compat-grid__cell--3 { background: rgba(217, 164, 65, 0.05); }
.compat-grid__cell--2 { background: rgba(120, 90, 95, 0.12); }
@media (max-width: 720px) {
  .compat-grid thead .compat-grid__name, .compat-grid tbody .compat-grid__name { display: none; }
  .compat-grid tbody th { padding-left: 8px; }
  .compat-grid { min-width: 520px; }
}
