@font-face {
    font-family: "Soroka Sans";
    src: url("/fonts/filament/filament/inter/inter-cyrillic-wght-normal-JEOLYBOO.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
  font-family: "Soroka";
  src: url("/fonts/SOROKA-Regular.ttf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Faberge";
  src: url("/fonts/Faberge-Regular.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kalissa";
  src: url("/fonts/KalissaRegular_0.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
    --bg: #061012;
    --bg-deep: #02090b;
    --panel: #0a1618;
    --panel-soft: #0d1c1f;
    --ink: #d7d1c7;
    --ink-strong: #eee9df;
    --muted: #99968e;
    --teal: #43aeb1;
    --teal-dark: #17686d;
    --red: #a62f34;
    --line: rgba(201, 196, 184, .25);
    --line-soft: rgba(201, 196, 184, .12);
    --serif: "Oranienbaum", Georgia, "Times New Roman", serif;
    --sans:  "Faberge", Arial, sans-serif;
    --cursive:  "Kalissa", Arial, sans-serif;
    --label:  "Soroka", Arial, sans-serif;
    --max: 1440px;
    --header: 94px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--bg); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 15% 10%, rgba(38, 111, 113, .09), transparent 28%), radial-gradient(circle at 85% 50%, rgba(27, 85, 88, .06), transparent 30%), repeating-linear-gradient(0deg, transparent 0 4px, rgba(255,255,255,.006) 5px); }
body.menu-open, body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--label); font-weight: 400; line-height: .98; color: var(--ink-strong); }
p { color: var(--muted); }
.shell { width: min(calc(100% - 72px), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 1000; padding: 12px 18px; background: var(--teal); color: #001012; transition: top .2s; }
.skip-link:focus { top: 20px; }
.kicker, .product-type, .article-category { display: block; color: var(--teal); font-size: 14px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs { display: block; margin-bottom: 54px; color: #868985; font-size: 14px; }
.text-arrow { display: inline-block; color: var(--teal); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.text-arrow:hover, .rule-heading a:hover { color: #82d7d8; }

/* Header */
.site-header { position: relative; z-index: 100; background: rgba(3, 11, 13, .96); border-bottom: 1px solid var(--line-soft); }
.header-inner { min-height: var(--header); display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: baseline; font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.06em; color: #c9c2b8; }
.brand-mark { color: var(--teal); margin-right: 3px; }
.header-menu { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.main-nav { display: flex; align-items: center; gap: clamp(28px, 4vw, 70px); }
.main-nav a { position: relative; padding: 38px 0 34px; color: #b8b5ae; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.main-nav a:last-child { text-transform: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 26px; height: 1px; background: var(--teal); transition: right .25s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--teal); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.nav-whisper { position: absolute; left: 50%; top: calc(100% - 16px); padding: 4px 7px; color: #9eb9b9; background: #061012; border: 1px solid var(--line-soft); font-size: 9px; letter-spacing: .04em; text-transform: none; opacity: 0; pointer-events: none; white-space: nowrap; transform: translate(-50%, 4px); transition: opacity .18s, transform .18s; }
.main-nav a:hover .nav-whisper, .main-nav a:focus-visible .nav-whisper { opacity: 1; transform: translate(-50%, 0); }
.external-link { display: inline-flex; align-items: center; gap: 7px; }
.external-link-icon { width: 10px; height: 10px; display: inline-block; position: relative; flex: 0 0 auto; border: 1px solid currentColor; border-top: 0; border-right: 0; }
.external-link-icon::before { content: ""; position: absolute; width: 7px; height: 1px; right: -2px; top: 0; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.external-link-icon::after { content: ""; position: absolute; width: 5px; height: 5px; right: -1px; top: -1px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.header-tools { display: flex; align-items: center; gap: 28px; }
.header-tools a, .header-tool { position: relative; width: 24px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; color: #d6d0c6; background: transparent; cursor: pointer; }
.header-tools a:hover, .header-tools a.is-active, .header-tool:hover, .header-tool[aria-expanded="true"] { color: var(--teal); }
.header-tools svg { width: 16px; height: 16px; display: block; overflow: visible; fill: currentColor; }
.header-tools a:nth-last-child(2) svg { width: 15px; }
.header-tools a:last-child svg { width: 14px; }
.header-tools small { position: absolute; right: -10px; top: -3px; width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); font-size: 10px; }
.menu-toggle { display: none; width: 42px; padding: 8px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: var(--ink); }

/* Search drawer */
.search-overlay { position: fixed; z-index: 180; inset: 0; background: rgba(0, 0, 0, .58); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel { position: fixed; z-index: 190; inset: 0 0 0 auto; width: min(546px, 100%); display: flex; flex-direction: column; border-left: 1px solid var(--line); background: #091517; box-shadow: -24px 0 70px rgba(0, 0, 0, .35); transform: translateX(100%); visibility: hidden; transition: transform .38s cubic-bezier(.22, .61, .36, 1), visibility .38s; }
.search-panel.is-open { transform: translateX(0); visibility: visible; }
.search-panel-head { min-height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; border-bottom: 1px solid var(--line-soft); }
.search-panel-head > span { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.search-panel-head button { width: 34px; height: 34px; position: relative; padding: 0; border: 0; background: transparent; cursor: pointer; }
.search-panel-head button::before, .search-panel-head button::after { content: ""; width: 20px; height: 1px; position: absolute; left: 7px; top: 16px; background: var(--ink); transform: rotate(45deg); }
.search-panel-head button::after { transform: rotate(-45deg); }
.search-panel-head button:hover::before, .search-panel-head button:hover::after { background: var(--teal); }
.search-panel-body { padding: 36px 40px 52px; overflow-y: auto; }
.search-panel-form, .search-page-form { display: grid; grid-template-columns: 1fr 48px; align-items: center; border-bottom: 1px solid var(--ink); }
.search-panel-form input, .search-page-form input { min-width: 0; height: 65px; padding: 0; border: 0; outline: 0; color: var(--ink-strong); background: transparent; font: 36px/1 var(--serif); }
.search-panel-form input::placeholder, .search-page-form input::placeholder { color: #777770; opacity: 1; }
.search-panel-form input::-webkit-search-cancel-button, .search-page-form input::-webkit-search-cancel-button { display: none; }
.search-panel-form:focus-within, .search-page-form:focus-within { border-color: var(--teal); }
.search-panel-form button, .search-page-form button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.search-panel-form button:hover, .search-page-form button:hover { color: var(--teal); }
.search-panel-form svg, .search-page-form svg { width: 18px; height: 18px; fill: currentColor; }
.search-panel-suggestions { margin-top: 62px; }
.search-panel-suggestions > span { display: block; margin-bottom: 18px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.search-panel-suggestions a { min-height: 92px; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 16px 45px 16px 0; border-top: 1px solid var(--line-soft); }
.search-panel-suggestions a:last-child { border-bottom: 1px solid var(--line-soft); }
.search-panel-suggestions b { color: var(--ink-strong); font: 26px/1.1 var(--serif); font-weight: 400; }
.search-panel-suggestions small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.search-panel-suggestions i { position: absolute; right: 4px; color: var(--teal); font: normal 20px var(--serif); transition: transform .2s; }
.search-panel-suggestions a:hover i { transform: translateX(5px); }

/* Shared */
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid var(--teal); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; transition: .2s ease; }
.button-solid { background: var(--teal); color: #021011; }
.button-solid:hover { background: #79ced0; border-color: #79ced0; }
.button-outline { color: var(--teal); background: transparent; }
.button-outline:hover { color: #021011; background: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }
.rule-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.rule-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rule-heading h2 { margin: 0; font: 400 17px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #c8c2b9; }
.rule-heading a, .rule-heading > span { order: 3; font-size: 14px; color: var(--muted); }
.status-line { display: inline-flex; align-items: center; gap: 10px; color: #b7b2aa; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; }
.status-line i { width: 9px; height: 9px; border: 1px solid var(--teal); border-radius: 50%; box-shadow: 0 0 12px var(--teal); }

/* Home */
.home-hero { min-height: calc(100vh - var(--header)); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(2,9,11,.9) 0%, rgba(2,9,11,.42) 48%, rgba(2,9,11,.08) 100%), url('/images/site/home-hero.png') center right / cover no-repeat; margin-bottom: 6rem;}
.home-hero-inner { min-height: calc(100vh - var(--header)); position: relative; display: flex; align-items: center; }
.home-hero-copy { width: min(620px, 52%); padding: 90px 0 120px; }
.home-hero h1 { margin-bottom: 28px; font-size: clamp(48px, 5vw, 72px); text-transform: uppercase; }
.home-hero h1 em { color: var(--red); font-style: normal; }
.home-hero-copy > p { max-width: 560px; font-size: 18px; color: #c1beb6; }
.home-hero blockquote { margin: 38px 0 0; color: var(--teal); font: italic 22px/1.55 var(--cursive); }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); }
.feature-banner { min-height: 420px; margin-top: -38px; position: relative; z-index: 2; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(2,12,14,.95) 0 38%, rgba(2,12,14,.28) 75%), url('/images/site/collection.png') center / cover; }
.feature-banner-copy { width: 52%; padding: 54px; }
.feature-banner h2 { margin: 10px 0 18px; font-size: clamp(38px, 4vw, 64px); text-transform: uppercase; }
.feature-banner p { max-width: 470px; }
.feature-seal { position: absolute; right: 18%; bottom: 50px; width: 142px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(216,202,185,.6); border-radius: 50%; color: #d1b6aa; background: rgba(112, 22, 31, .73); text-align: center; font: 18px/1.2 var(--serif); text-transform: uppercase; transform: rotate(-5deg); }
.home-section { padding-top: 74px; }
.portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.portal-card { min-height: 470px; display: flex; flex-direction: column; padding: 16px 22px 24px; border: 1px solid var(--line); background: var(--panel); transition: transform .25s, border-color .25s; }
.portal-card:hover { transform: translateY(-5px); border-color: var(--teal); }
.portal-visual { height: 245px; margin: -16px -22px 24px; background-size: cover; background-position: center; filter: saturate(.78) contrast(1.06); }
.portal-artifacts .portal-visual { background-image: linear-gradient(0deg, rgba(2,10,12,.4), transparent), url('/images/site/candle.png'); }
.portal-notes .portal-visual { background-image: linear-gradient(0deg, rgba(2,10,12,.4), transparent), url('/images/site/journal.png'); }
.portal-workshop .portal-visual { background-image: linear-gradient(0deg, rgba(2,10,12,.4), transparent), url('/images/site/collection.png'); }
.portal-checkers .portal-visual { background-image: linear-gradient(0deg, rgba(2,10,12,.4), transparent), url('/images/site/checkers.png'); }
.portal-card h3 { margin-bottom: 13px; font-size: 24px; text-transform: uppercase; }
.portal-card p { flex: 1; margin-bottom: 22px; font-size: 14px; }
.portal-card b { color: var(--teal); font-size: 14px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.split-promos { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.promo-card { min-height: 380px; padding: 46px; border: 1px solid var(--line); }
.promo-card h2 { max-width: 480px; margin: 10px 0 22px; font-size: clamp(36px, 4vw, 57px); text-transform: uppercase; }
.promo-card p { max-width: 430px; }
.promo-game { background: linear-gradient(90deg, rgba(3,12,14,.95), rgba(3,12,14,.2)), url('/images/site/checkers.png') 65% center / cover; }
.promo-about { background: linear-gradient(90deg, rgba(3,12,14,.95), rgba(3,12,14,.52)), url('/images/site/journal.png') right center / cover; }
.promo-about b, .promo-game b { display: inline-block; margin-top: 24px; color: var(--teal); font-size: 14px; font-weight: 400; text-transform: uppercase; }
.newsletter-panel { margin-top: 76px; margin-bottom: 72px; padding: 30px 38px; display: grid; grid-template-columns: 1fr minmax(380px, .75fr); align-items: center; gap: 60px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(11,31,34,.94), rgba(7,19,21,.84)), url('/images/site/journal.png') center / cover; }
.newsletter-panel h2 { margin: 8px 0 6px; font-size: 28px; text-transform: uppercase; }
.newsletter-panel p { margin: 0; }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-fields { display: grid; grid-template-columns: 1fr auto; }
.newsletter-fields > input { min-width: 0; padding: 14px 18px; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: var(--ink); outline: 0; }
.newsletter-fields > input:focus { border-color: var(--teal); }
.newsletter-fields > input[aria-invalid="true"] { border-color: #d85d62; }
.newsletter-form button { padding: 0 28px; border: 0; background: var(--red); color: #eee; text-transform: uppercase; font-size: 14px; }
.newsletter-form button:hover { background: #c23d43; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.newsletter-consent input { margin: 3px 0 0; accent-color: var(--teal); }
.newsletter-consent a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.newsletter-feedback { min-height: 20px; }
.newsletter-feedback p { margin: 0; font-size: 14px; }
.newsletter-success { color: #78c7a0; }
.newsletter-error { color: #e57a7e; }

/* Error 404 */
.error-page { background: var(--bg-deep); }
.error-hero { min-height: 690px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); background: linear-gradient(90deg, rgba(2,9,11,.96) 0%, rgba(2,9,11,.82) 31%, rgba(2,9,11,.15) 61%, rgba(2,9,11,.04) 100%), url('/images/site/error-404-hero.webp') center / cover no-repeat; }
.error-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--bg-deep), transparent 22%), radial-gradient(circle at 83% 42%, rgba(22,101,106,.12), transparent 35%); }
.error-hero-inner { min-height: 690px; position: relative; z-index: 1; display: flex; align-items: center; }
.error-copy { width: min(520px, 43%); padding: 58px 0 76px; }
.error-copy h1 { margin-bottom: 33px; text-transform: uppercase; }
.error-code { display: flex; align-items: baseline; gap: .02em; margin-bottom: 8px; font-size: clamp(92px, 9vw, 146px); line-height: .72; letter-spacing: -.04em; }
.error-code em { color: #c72f38; font-style: normal; }
.error-title { display: block; font-size: clamp(43px, 4.2vw, 66px); line-height: .98; }
.error-title strong { color: #c72f38; font: inherit; }
.error-copy > p { max-width: 490px; margin-bottom: 34px; color: #b1ada5; font-size: 15px; line-height: 1.55; }
.error-copy > p span { color: var(--teal); }
.error-home-button { min-width: 280px; justify-content: space-between; border-color: rgba(79,171,175,.45); background: rgba(27,91,97,.5); color: #d9e3e1; }
.error-home-button:hover { border-color: var(--teal); background: rgba(38,125,131,.65); }
.error-home-button b { margin-left: 26px; font-size: 20px; font-weight: 400; }
.error-routes { padding-top: 22px; }
.error-section-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; margin-bottom: 27px; }
.error-section-heading span { height: 1px; background: var(--line); }
.error-section-heading h2 { margin: 0; color: #c8c2b9; font-size: clamp(30px, 3.2vw, 48px); text-transform: uppercase; }
.error-route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.error-route-card { min-width: 0; min-height: 410px; display: flex; flex-direction: column; padding: 0 20px 22px; border: 1px solid var(--line); background: rgba(7,17,19,.72); transition: transform .22s, border-color .22s; }
.error-route-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.error-route-visual { height: 235px; margin: 0 -20px 19px; background-position: center; background-size: cover; filter: saturate(.72) contrast(1.06); }
.error-route-shop .error-route-visual { background-image: linear-gradient(0deg, rgba(2,9,11,.48), transparent 55%), url('/images/site/candle.png'); }
.error-route-notes .error-route-visual { background-image: linear-gradient(0deg, rgba(2,9,11,.48), transparent 55%), url('/images/site/journal.png'); }
.error-route-expedition .error-route-visual { background-image: linear-gradient(0deg, rgba(2,9,11,.48), transparent 55%), url('/images/site/collection.png'); }
.error-route-game .error-route-visual { background-image: linear-gradient(0deg, rgba(2,9,11,.48), transparent 55%), url('/images/site/checkers.png'); }
.error-route-card h3 { margin-bottom: 10px; font-size: clamp(25px, 2vw, 32px); text-transform: uppercase; }
.error-route-card p { flex: 1; margin-bottom: 12px; font-size: 14px; line-height: 1.5; }
.error-route-card > b { color: var(--teal); font-size: 20px; font-weight: 400; }
.error-newsletter { margin-top: 72px; }

/* Store shared */
.store-hero, .catalog-hero, .collections-hero, .collection-hero, .journal-hero, .category-hero, .article-hero { border-bottom: 1px solid var(--line-soft); }
.store-hero-grid, .catalog-hero-grid, .collections-hero-grid, .collection-hero-grid, .journal-hero-grid, .article-hero-grid { min-height: 570px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.store-hero h1, .catalog-hero h1, .collections-hero h1, .collection-hero h1, .journal-hero h1, .category-hero h1, .article-hero h1 { margin: 10px 0 25px; font-size: clamp(28px, 3vw, 56px); }
.store-hero p, .catalog-hero p, .collections-hero p, .collection-hero p, .journal-hero p, .category-hero p, .article-hero p { max-width: 580px; font-size: 17px; }
.store-hero-art, .catalog-hero-image, .collections-hero-art, .collection-hero-art, .journal-hero-art, .article-hero-art { min-height: 500px; align-self: stretch; background-repeat: no-repeat; background-position: center; background-size: cover; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 92%, transparent); }
.store-hero-art, .catalog-hero-image { background-image: url('/images/site/candle.png'); }
.entity-tile-grid { padding-block: 36px 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.entity-tile { min-height: 390px; padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; border: 1px solid var(--line); background-image: linear-gradient(0deg, rgba(2,9,11,.85), rgba(2,9,11,.05) 70%), url('/images/site/candle.png'); background-size: cover; transition: border-color .2s, transform .2s; }
.entity-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(43,153,157,.22), transparent 36%); }
.entity-tile:hover { border-color: var(--teal); transform: translateY(-3px); }
.entity-tile > * { position: relative; z-index: 1; }
.entity-tile span { color: #aaa69e; font: 28px var(--serif); }
.entity-tile h2 { max-width: 290px; margin-top: 6px; font-size: 46px; }
.entity-tile b { margin-top: auto; color: var(--teal); font-size: 14px; font-weight: 400; text-transform: uppercase; }
.section-perfume, .section-box { background-image: linear-gradient(0deg, rgba(2,9,11,.88), rgba(2,9,11,.08)), url('/images/site/collection.png'); }
.section-home, .section-stamp { background-position: 65% center; }
.section-palette, .section-case { background-image: linear-gradient(0deg, rgba(2,9,11,.88), rgba(2,9,11,.08)), url('/images/site/journal.png'); }
.section-ink, .section-small { background-position: 25% center; }
.service-strip { margin-bottom: 74px; padding: 28px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.service-strip span { display: flex; align-items: center; gap: 18px; padding: 0 24px; color: var(--muted); font-size: 14px; }
.service-strip span + span { border-left: 1px solid var(--line-soft); }
.service-strip i { color: var(--teal); font: 28px var(--serif); }

/* Catalog / product */
.catalog-hero-grid { min-height: 480px; }
.catalog-section { padding-block: 38px 80px; }
.catalog-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); }
.catalog-controls input, .catalog-controls select { min-height: 48px; padding: 0 15px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.catalog-controls input { min-width: min(360px, 70vw); }
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding-block: 46px 80px; }
.filters { border: 1px solid var(--line); align-self: start; }
.filters > button { width: 100%; padding: 17px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; font-size: 14px; text-transform: uppercase; }
.filters fieldset { margin: 0; padding: 20px; border: 0; border-bottom: 1px solid var(--line-soft); }
.filters legend { width: 100%; padding: 0 0 12px; color: var(--teal); font-size: 14px; text-transform: uppercase; }
.filters label { display: flex; align-items: center; gap: 9px; margin: 9px 0; color: var(--muted); font-size: 14px; }
.filters input { appearance: none; width: 15px; height: 15px; margin: 0; border: 1px solid var(--line); }
.filters input:checked { background: var(--teal); box-shadow: inset 0 0 0 3px var(--panel); }
.catalog-toolbar { min-height: 50px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 14px; text-transform: uppercase; }
.catalog-toolbar button { padding: 10px 14px; border: 1px solid var(--line); background: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-grid-five { grid-template-columns: repeat(5, 1fr); }
.product-card { min-width: 0; position: relative; border: 1px solid var(--line); background: rgba(8,19,21,.55); }
.product-card-image { min-height: 315px; position: relative; display: block; background-image: linear-gradient(0deg, rgba(1,8,10,.25), transparent 60%), url('/images/site/candle.png'); background-position: center; background-size: cover; overflow: hidden; }
.product-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(42,137,140,.10)); mix-blend-mode: screen; }
.product-badge { position: absolute; z-index: 2; left: 15px; top: 15px; padding: 5px 10px; border: 1px solid var(--teal); background: rgba(2,9,11,.8); color: var(--teal); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.product-card.product-b .product-card-image { background-position: 65% center; filter: hue-rotate(12deg); }
.product-card.product-c .product-card-image { background-position: 30% center; filter: saturate(.7); }
.product-card.product-d .product-card-image { background-position: 80% center; filter: hue-rotate(-16deg); }
.product-card.product-e .product-card-image { background-size: 150%; background-position: 48% 72%; }
.product-card.product-f .product-card-image { filter: hue-rotate(35deg) brightness(.85); }
.product-card.product-g .product-card-image { filter: sepia(.18) saturate(.7); }
.product-card.product-h .product-card-image { background-position: 38% center; }
.favorite-control { margin: 0; }
.favorite-control-card { position: absolute; z-index: 3; right: 14px; top: 13px; }
.favorite-toggle, .favorite-login { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 42px; min-height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(2, 9, 11, .82); color: var(--ink-strong); cursor: pointer; font: 25px/1 var(--serif); }
.favorite-toggle:hover, .favorite-login:hover, .favorite-toggle.is-active { border-color: var(--teal); color: var(--teal); }
.favorite-control-wide { margin-top: 14px; }
.favorite-control-wide .favorite-toggle, .favorite-login.favorite-control-wide { width: 100%; min-height: 50px; padding: 10px 18px; border-radius: 0; font-size: 22px; }
.favorite-control-wide b { font: 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.product-card > div { padding: 17px; }
.product-card h2 { margin: 9px 0 7px; font-size: 28px; }
.product-card h2 a:hover { color: var(--teal); }
.product-card p { min-height: 44px; margin-bottom: 16px; font-size: 14px; line-height: 1.45; }
.product-card footer { display: flex; align-items: center; justify-content: space-between; }
.product-card footer strong { color: var(--teal); font-size: 18px; font-weight: 400; }
.product-card footer button { width: 38px; height: 38px; border: 1px solid var(--teal); border-radius: 50%; background: transparent; color: var(--teal); }
.stock-out { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.product-page { padding-block: 42px 80px; }
.product-main { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; }
.product-main-image { min-height: 650px; position: relative; border: 1px solid var(--line); background: url('/images/site/candle.png') center / cover; }
.product-main-image > span { position: absolute; top: 15px; left: 15px; padding: 6px 12px; border: 1px solid var(--teal); color: var(--teal); font-size: 11px; text-transform: uppercase; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.product-thumbs span { aspect-ratio: 1.5; border: 1px solid var(--line); background: url('/images/site/candle.png') center / cover; }
.product-info { padding-top: 28px; }
.product-info h1 { margin: 14px 0 20px; font-size: clamp(24px, 2.4vw, 32px); }
.product-price { display: block; margin-bottom: 27px; color: var(--ink-strong); font-size: 27px; font-weight: 400; }
.product-info > p { padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.scent-notes { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0; }
.scent-notes span, .collection-tags span { padding: 8px 15px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.choice-row > div { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row b { flex-basis: 100%; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.choice-row button { padding: 10px 16px; border: 1px solid var(--line); background: transparent; color: var(--muted); }
.choice-row button.is-active { border-color: var(--teal); color: var(--teal); }
.buy-row { display: grid; grid-template-columns: 90px 1fr; gap: 16px; margin-top: 34px; }
.quantity { display: block; border: 1px solid var(--line); }
.quantity input { width: 100%; height: 100%; min-height: 50px; padding: 0 10px; border: 0; background: transparent; color: var(--ink); text-align: center; }
.wish { width: 52px; border: 1px solid var(--line); background: transparent; font-size: 22px; }
.product-facts { margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.product-facts li { margin: 11px 0; }.product-facts li::before { content: "◇"; margin-right: 12px; color: var(--teal); }
.product-details { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.product-detail-row + .product-detail-row { border-left: 1px solid var(--line); }
.product-detail-row button { width: 100%; padding: 20px; display: flex; justify-content: space-between; border: 0; background: transparent; text-align: left; text-transform: uppercase; font-size: 14px; }
.product-detail-copy { display: none; padding: 0 20px 20px; color: var(--muted); font-size: 14px; }
.product-detail-copy p:last-child { margin-bottom: 0; }
.product-detail-row:first-child .product-detail-copy, .product-detail-row.is-open .product-detail-copy { display: block; }
.related-products, .collection-products { padding-bottom: 76px; }

/* Cart / checkout */
.notice { margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); }
.notice-success { border-color: var(--teal); }.notice-error { border-color: var(--red); }
.notice a { color: var(--teal); }
.global-notice { padding-top: 24px; }
.global-notice .notice { margin-bottom: 0; }
.empty-state { padding: 42px; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.order-page { padding-block: 44px 90px; }
.order-page h1, .order-success h1 { margin-bottom: 42px; font-size: clamp(58px, 8vw, 112px); text-transform: uppercase; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-items { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 130px minmax(180px, 1fr) 150px auto auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item-image { width: 130px; aspect-ratio: 1; background: url('/images/site/candle.png') center / cover; }
.cart-item h2 { margin: 7px 0; font-size: 30px; }
.cart-item > strong { color: var(--teal); white-space: nowrap; }
.cart-quantity label { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.cart-quantity input { width: 75px; margin-top: 5px; padding: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.cart-quantity button, .text-button { display: block; margin-top: 7px; padding: 0; border: 0; background: transparent; color: var(--teal); font-size: 11px; text-transform: uppercase; }
.order-summary { padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.order-summary > span { color: var(--muted); font-size: 14px; text-transform: uppercase; }
.order-summary > strong { display: block; margin: 8px 0 20px; color: var(--ink-strong); font: 42px var(--serif); }
.order-summary .button { width: 100%; margin-top: 10px; }
.order-summary p { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.checkout-form { display: grid; gap: 20px; }
.checkout-form label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; text-transform: uppercase; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); text-transform: none; }
.checkout-form small { color: #df8386; text-transform: none; }
.pickup-picker { display: grid; gap: 12px; margin: 0; padding: 20px; border: 1px solid var(--line); }
.pickup-picker legend { padding: 0 8px; color: var(--muted); font-size: 14px; text-transform: uppercase; }
.pickup-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.pickup-search .button { min-width: 130px; }
.pickup-hint { margin: 0; color: var(--muted); font-size: 14px; }
.pickup-results { display: grid; gap: 8px; }
.checkout-form .pickup-option { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 13px; border: 1px solid var(--line-soft); cursor: pointer; text-transform: none; }
.checkout-form .pickup-option:has(input:checked) { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 7%, transparent); }
.checkout-form .pickup-option input { width: auto; margin-top: 4px; }
.pickup-option > span { display: grid; gap: 3px; }
.pickup-option strong { color: var(--ink-strong); }
.pickup-option small { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkout-form .consent { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; text-transform: none; }
.consent input { width: 18px; margin-top: 4px; }.consent a { color: var(--teal); text-decoration: underline; }
.order-success { min-height: 650px; padding-block: 100px; text-align: center; }
.order-success p { max-width: 650px; margin: 0 auto 28px; font-size: 18px; }

@media (max-width: 900px) {
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .order-summary { order: -1; }
    .pickup-search { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 100px 1fr auto; }
    .cart-item-image { width: 100px; grid-row: span 2; }
    .cart-quantity { grid-column: 2; }
}

@media (max-width: 600px) {
    .catalog-controls { align-items: stretch; flex-direction: column; }
    .catalog-controls input { min-width: 0; width: 100%; }
    .cart-item { grid-template-columns: 84px 1fr; }
    .cart-item-image { width: 84px; }
    .cart-item > strong, .cart-item > form:last-child { grid-column: 2; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Collections */
.collections-hero-art, .collection-hero-art { background-image: url('/images/site/collection.png'); }
.collections-hero-grid { min-height: 520px; }
.collections-hero h1 { margin-bottom: 15px; }
.collections-hero h1 + i { display: block; width: 54px; height: 2px; margin-bottom: 26px; background: var(--teal); }
.collection-listing { padding-block: 34px 72px; }
.entity-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.entity-pills a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); font-size: 14px; }
.entity-pills .is-active { border-color: var(--teal); background: var(--teal-dark); color: #e8f4f1; }
.entity-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.entity-card { border: 1px solid var(--line); background: rgba(8,18,20,.56); }
.entity-card-image { min-height: 350px; display: block; background: url('/images/site/collection.png') center / cover; }
.collection-b .entity-card-image, .collection-e .entity-card-image { background-image: url('/images/site/candle.png'); }
.collection-c .entity-card-image, .collection-f .entity-card-image { background-image: url('/images/site/journal.png'); }
.collection-d .entity-card-image { background-image: url('/images/site/checkers.png'); }
.entity-card > div { padding: 24px; }
.entity-card h2 { margin-bottom: 10px; font-size: 38px; }.entity-card h2 a:hover { color: var(--teal); }
.entity-card p { min-height: 50px; font-size: 14px; }
.entity-card > div > span { display: block; margin-bottom: 22px; color: var(--muted); font-size: 11px; }
.collection-manifest { min-height: 260px; margin-bottom: 80px; padding: 38px; display: flex; align-items: center; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(4,14,16,.97), rgba(4,14,16,.2)), url('/images/site/journal.png') right / cover; }
.collection-manifest > div { max-width: 550px; }.collection-manifest h2 { margin: 8px 0 12px; font-size: 44px; }
.collection-hero-grid { min-height: 650px; }.collection-hero h1 { max-width: 620px; text-transform: uppercase; }
.collection-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 25px; }
.collection-products { padding-top: 42px; }
.collection-story { min-height: 360px; margin-bottom: 76px; display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); }
.collection-story > div:first-child { padding: 46px; }.collection-story h2 { margin: 8px 0 18px; font-size: 44px; }
.collection-story-art { background: url('/images/site/collection.png') center / cover; }

/* Journal */
.page-hero-with-cover { position: relative; isolation: isolate; overflow: hidden; }
.page-hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero-with-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,12,14,.94), rgba(3,12,14,.45)); z-index: -1; }
.article-card-cover, .article-card-cover-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card-cover-shade { background: linear-gradient(0deg, rgba(2,9,11,.9), transparent 65%); }
.article-hero-art.has-cover { position: relative; background-image: none; overflow: hidden; }
.article-hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right;  }
.journal-hero-art, .article-hero-art { background-image: url('/images/site/journal.png'); }
.journal-hero-grid { min-height: 500px; }
.journal-hero h1 { text-transform: none; }
.entity-pills { padding-block: 28px; margin-bottom: 0; overflow-x: auto; flex-wrap: nowrap; }
.entity-pills a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; }
.entity-pill-icon { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }
.journal-listing { padding-block: 42px 76px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-grid-featured .article-card:first-child { grid-column: span 2; }
.article-card { min-width: 0; border: 1px solid var(--line); background: rgba(8,19,21,.55); }
.article-card-image { min-height: 260px; position: relative; display: block; overflow: hidden; background: linear-gradient(0deg, rgba(2,9,11,.45), transparent), url('/images/site/journal.png') center / cover; }
.article-card.tone-1 .article-card-image { background-position: right center; }.article-card.tone-2 .article-card-image { background-image: linear-gradient(0deg, rgba(2,9,11,.45), transparent), url('/images/site/collection.png'); }.article-card.tone-3 .article-card-image { background-position: 70% center; }
.article-card-image .article-card-category { position: absolute; left: 18px; right: 64px; bottom: 48px; color: var(--teal); font-size: 11px; text-transform: uppercase; }
.article-card-icon { position: absolute; right: 18px; bottom: 16px; width: 48px; height: 48px; object-fit: contain; }
.article-card-meta { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--ink); font-size: 11px; text-shadow: 0 1px 4px #02090b; }
.article-card-body { padding: 24px; }
.article-card h2 { margin: 8px 0 12px; font-size: 28px; line-height: 1.05; font-family: var(--sans);}
.article-card h2 a:hover { color: var(--teal); }
.article-card p { min-height: 50px; font-size: 14px; }
.article-card footer { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }.article-card footer a { margin-left: auto; color: var(--teal); font-size: 19px; }
.article-grid-featured .article-card:first-child { display: grid; grid-template-columns: 1.15fr .85fr; }.article-grid-featured .article-card:first-child .article-card-image { min-height: 390px; }.article-grid-featured .article-card:first-child .article-card-body { display: flex; flex-direction: column; justify-content: center; }.article-grid-featured .article-card:first-child h2 { font-size: 46px; }
.journal-pagination { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.journal-pagination-summary { margin: 0 0 18px; text-align: center; color: var(--muted); font-size: 12px; }
.journal-pagination-controls, .journal-pagination-pages { display: flex; align-items: center; justify-content: center; gap: 6px; }
.journal-pagination-controls { gap: 20px; }
.journal-pagination-step, .journal-pagination-number { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 13px; transition: border-color .2s, background .2s; }
.journal-pagination a:hover { border-color: var(--teal); background: var(--teal-dark); }
.journal-pagination a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.journal-pagination .is-current { border-color: var(--teal); background: var(--teal-dark); color: var(--teal); }
.journal-pagination .is-disabled { opacity: .4; }
.journal-pagination-gap { padding: 0 4px; color: var(--muted); }
.journal-pagination-position { display: none; color: var(--muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 700px) {
    .journal-pagination-controls { justify-content: space-between; gap: 8px; }
    .journal-pagination-pages { display: none; }
    .journal-pagination-position { display: block; }
}
.telegram-panel { margin-bottom: 76px; padding: 28px 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; border: 1px solid var(--line); }
.telegram-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); font-size: 25px; }.telegram-panel h2 { margin: 0 0 4px; font-size: 31px; }.telegram-panel p { margin: 0; font-size: 14px; }
.category-hero { background: linear-gradient(90deg, rgba(3,12,14,.96), rgba(3,12,14,.25)), url('/images/site/journal.png') right / cover; }
.category-hero .shell { min-height: 510px; display: flex; flex-direction: column; justify-content: center; }.category-hero h1 { max-width: 1000px; }
.article-hero-grid { min-height: 500px; grid-template-columns: 1.1fr .9fr; }.article-hero h1 { max-width: 900px; font-size: clamp(28px, 3vw, 56px); }.article-hero-art { mask-image: linear-gradient(90deg, transparent, #000 18%); }
.article-meta-line { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }
.article-layout { display: grid; grid-template-columns: 220px 1fr; gap: 70px; padding-block: 64px 82px; }
.article-layout aside { align-self: start; padding: 20px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; text-transform: uppercase; }.article-layout aside b { display: block; margin: 5px 0 12px; color: var(--teal); font: 30px var(--serif); }.article-layout aside p { margin: 0; font-size: 11px; text-transform: none; }
.article-content { max-width: 940px; color: #c1beb6; font: 18px/1.75 var(--sans); /*column-count: 2; column-gap: 56px; */}
/*.article-content > * { break-inside: avoid; }.article-content p:first-child::first-letter { float: left; padding: 8px 8px 0 0; color: var(--teal); font: 64px/.75 var(--serif); }*/
.article-content h2, .article-content h3 { font-family: var(--label); margin: 1.5em 0 .65em; line-height: 1.1; }
.article-content h2 { font-size: 28px; }.article-content h3 { font-size: 18px; }
.article-content blockquote { margin: 30px 0; padding: 18px 24px; border-left: 2px solid var(--teal); color: var(--ink); font: italic 27px/1.4 var(--serif); }
.article-content ul, .article-content ol { padding-left: 24px; }.article-content li { margin: 8px 0; }.article-content a { color: var(--teal); text-decoration: underline; }.article-content img { margin: 28px 0; border: 1px solid var(--line); }
.related-articles { padding-bottom: 82px; }

/* Text pages */
.text-page-hero { min-height: calc(100vh - var(--header)); display: flex; align-items: center; background: linear-gradient(90deg, rgba(2,9,11,.96), rgba(2,9,11,.62)), url('/images/site/journal.png') center / cover; }
.text-page-inner { padding-block: 90px; }
.text-page-inner h1 { max-width: 980px; margin: 14px 0 28px; font-size: clamp(58px, 8vw, 120px); text-transform: uppercase; }
.text-page-inner p { max-width: 680px; margin-bottom: 34px; font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #030b0d; }
.footer-grid { min-height: 260px; padding-block: 48px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 13px; }
.footer-brand .brand { margin-bottom: 16px; }.footer-brand > span { margin-top: auto; }.footer-grid p { margin: 0; font-size: 14px; }.footer-label { margin-bottom: 6px; color: #c4c0b8; text-transform: uppercase; }.footer-grid a:hover { color: var(--teal); }.socials { display: flex; gap: 10px; margin: 7px 0 16px; }.socials a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; text-transform: uppercase; }

.empty-state { padding: 55px; border: 1px solid var(--line); color: var(--muted); text-align: center; }

/* Search results */
.search-page { min-height: 72vh; padding-block: 78px 96px; }
.search-page-inner > h1 { max-width: 900px; margin: 10px 0 42px; font-size: clamp(62px, 8vw, 118px); text-transform: uppercase; }
.search-page-form { max-width: 900px; grid-template-columns: 1fr 64px; border-color: var(--line); }
.search-page-form input { height: 82px; font-size: clamp(28px, 4vw, 48px); }
.search-summary { margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.search-results-section { padding-top: 62px; }
.search-result-list { border-top: 1px solid var(--line); }
.search-result { min-height: 148px; position: relative; display: grid; grid-template-columns: 150px minmax(220px, .8fr) 1fr 34px; align-items: center; gap: 28px; padding: 24px 12px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.search-result:hover { padding-inline: 20px; background: rgba(17, 42, 44, .52); }
.search-result > span { color: var(--teal); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.search-result h2 { margin: 0; font-size: 36px; }
.search-result p { margin: 0; font-size: 14px; }
.search-result b { color: var(--teal); font: 24px var(--serif); font-weight: 400; }
.search-empty { margin-top: 54px; padding: 44px; border: 1px solid var(--line); }
.search-empty p { margin-bottom: 28px; font: 28px/1.25 var(--serif); color: var(--ink); }
.search-empty div { display: flex; flex-wrap: wrap; gap: 28px; }
.search-empty a { color: var(--teal); font-size: 14px; letter-spacing: .07em; text-transform: uppercase; }
.search-start-links { max-width: 900px; margin-top: 56px; border-top: 1px solid var(--line); }
.search-start-links a { min-height: 86px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); font: 28px var(--serif); }
.search-start-links span { color: var(--muted); font: 11px var(--sans); }
.search-start-links b { color: var(--teal); font-weight: 400; transition: transform .2s; }
.search-start-links a:hover b { transform: translateX(6px); }

@media (max-width: 1180px) {
    :root { --header: 80px; }
    .shell { width: min(calc(100% - 44px), var(--max)); }
    .header-inner { grid-template-columns: 180px 1fr; gap: 24px; }.brand { font-size: 32px; }.main-nav { gap: 25px; }.main-nav a { font-size: 11px; }.header-tools { gap: 20px; }
    .portal-grid { grid-template-columns: repeat(2, 1fr); }.product-grid { grid-template-columns: repeat(3, 1fr); }.product-grid-five { grid-template-columns: repeat(3, 1fr); }
    .product-main { gap: 35px; }.product-main-image { min-height: 560px; }.product-details { grid-template-columns: repeat(2, 1fr); }.product-detail-row:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.product-detail-row:nth-child(4) { border-top: 1px solid var(--line); }
    .article-grid-featured .article-card:first-child { grid-column: auto; display: block; }.article-grid-featured .article-card:first-child .article-card-image { min-height: 260px; }.article-grid-featured .article-card:first-child h2 { font-size: 33px; }
    .error-hero, .error-hero-inner { min-height: 620px; }.error-route-grid { grid-template-columns: repeat(2, 1fr); }.error-route-card { min-height: 430px; }
}

@media (max-width: 900px) {
    .site-header { position: sticky; top: 0; }.header-inner { grid-template-columns: 1fr auto; }.menu-toggle { display: block; z-index: 2; }.header-menu { position: fixed; inset: var(--header) 0 0; display: none; align-items: stretch; flex-direction: column; justify-content: flex-start; padding: 35px 24px; overflow: auto; background: rgba(2,9,11,.98); }.header-menu.is-open { display: flex; }.main-nav { align-items: stretch; flex-direction: column; gap: 0; }.main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font: 30px/1 var(--serif); text-transform: none; }.main-nav a::after { display: none; }.header-tools { margin-top: auto; padding: 24px 0; }
    .home-hero, .home-hero-inner { min-height: 720px; }.home-hero { background-position: 62% center; }.home-hero-copy { width: 70%; }.feature-banner-copy { width: 70%; }.feature-seal { right: 8%; }
    .store-hero-grid, .catalog-hero-grid, .collections-hero-grid, .collection-hero-grid, .journal-hero-grid, .article-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 15px; padding-top: 55px; }.store-hero-art, .catalog-hero-image, .collections-hero-art, .collection-hero-art, .journal-hero-art, .article-hero-art { min-height: 420px; mask-image: linear-gradient(0deg, transparent, #000 18%, #000); }.breadcrumbs { margin-bottom: 35px; }
    .entity-tile-grid, .entity-card-grid { grid-template-columns: repeat(2, 1fr); }.service-strip { grid-template-columns: repeat(2, 1fr); gap: 25px; }.service-strip span:nth-child(3) { border-left: 0; }
    .catalog-layout { grid-template-columns: 1fr; }.filters { display: grid; grid-template-columns: repeat(3, 1fr); }.filters > button { grid-column: 1 / -1; }.filters fieldset { border-right: 1px solid var(--line-soft); }.product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-main { grid-template-columns: 1fr; }.product-info { padding-top: 0; }.collection-story { grid-template-columns: 1fr; }.collection-story-art { min-height: 330px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }.article-layout { grid-template-columns: 1fr; gap: 30px; }.article-layout aside { display: none; }.article-content { max-width: none; column-count: 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-whisper { display: none; }
    .search-panel { width: min(520px, 100%); }
    .search-result { grid-template-columns: 120px 1fr 30px; gap: 20px; }
    .search-result p { grid-column: 2 / 3; }
    .search-result b { grid-column: 3; grid-row: 1 / span 2; }
    .error-hero { background-position: 58% center; }.error-copy { width: 56%; }
}

@media (max-width: 620px) {
    .shell { width: min(calc(100% - 28px), var(--max)); }
    .home-hero { min-height: 690px; background-position: 68% center; }
	.home-hero::before { content: ""; position: absolute; inset: var(--header) 0 0; background: linear-gradient(0deg, rgba(2,9,11,.98), rgba(2,9,11,.18) 70%); }
	.home-hero-inner { min-height: 690px; align-items: flex-end; }
	.home-hero-copy { position: relative; z-index: 1; width: 100%; padding: 250px 0 75px; }
	.home-hero h1 { font-size: 24px; }
	.home-hero-copy > p { font-size: 15px; }
	.home-hero blockquote { font-size: 18px; }
	.scroll-cue { display: none; }
    .feature-banner { min-height: 470px; margin-top: 0; align-items: flex-end; background-position: 68% center; }
	.feature-banner-copy { width: 100%; padding: 28px; background: linear-gradient(0deg, rgba(2,9,11,.96), transparent); }
	.feature-banner h2 { font-size: 39px; }
	.feature-seal { width: 100px; right: 18px; top: 25px; bottom: auto; font-size: 14px; }
    .home-section { padding-top: 52px; }.portal-grid, .split-promos, .entity-tile-grid, .entity-card-grid, .product-grid, .product-grid-five, .article-grid { grid-template-columns: 1fr; }.portal-card { min-height: 430px; }.promo-card { min-height: 360px; padding: 28px; }.newsletter-panel { grid-template-columns: 1fr; gap: 25px; padding: 28px; }.newsletter-fields { grid-template-columns: 1fr; }.newsletter-form button { min-height: 46px; }
    .store-hero h1, .catalog-hero h1, .collections-hero h1, .collection-hero h1, .journal-hero h1, .category-hero h1, .article-hero h1 { font-size: 58px; }.store-hero-art, .catalog-hero-image, .collections-hero-art, .collection-hero-art, .journal-hero-art, .article-hero-art { min-height: 330px; }.entity-tile { min-height: 350px; }.service-strip { grid-template-columns: 1fr; }.service-strip span, .service-strip span + span { padding: 12px 8px; border-left: 0; border-top: 1px solid var(--line-soft); }.service-strip span:first-child { border-top: 0; }
    .filters { grid-template-columns: 1fr; }.filters fieldset { border-right: 0; }.catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }.product-card-image { min-height: 380px; }
    .product-main-image { min-height: 430px; }.product-thumbs { grid-template-columns: repeat(4, 1fr); }.choice-row { grid-template-columns: 1fr; }.buy-row { grid-template-columns: 1fr auto; }.quantity { grid-row: 2; }.buy-row .button { grid-column: 1 / -1; grid-row: 1; }.product-details { grid-template-columns: 1fr; }.product-detail-row + .product-detail-row, .product-detail-row:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .entity-card-image { min-height: 310px; }.collection-story > div:first-child { padding: 28px; }.collection-tags { gap: 5px; }
    .entity-pills { margin-left: 14px; width: calc(100% - 14px); }.article-card-image { min-height: 300px; }.telegram-panel { grid-template-columns: auto 1fr; }.telegram-panel .button { grid-column: 1 / -1; }.article-layout { padding-block: 45px 65px; }.article-content { font-size: 17px; }.article-content blockquote { font-size: 23px; }
    .text-page-inner h1 { font-size: 54px; }.text-page-inner p { font-size: 15px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }.footer-brand { grid-column: 1 / -1; }
    .search-panel-head { min-height: 72px; padding-inline: 22px; }.search-panel-body { padding: 28px 22px 42px; }.search-panel-form input { height: 58px; font-size: 30px; }.search-panel-suggestions { margin-top: 45px; }
    .search-page { padding-block: 50px 70px; }.search-page-inner > h1 { margin-bottom: 30px; font-size: 54px; }.search-page-form input { height: 68px; font-size: 28px; }.search-results-section { padding-top: 45px; }
    .search-result { min-height: 0; grid-template-columns: 1fr 28px; gap: 10px; padding: 24px 6px; }.search-result > span, .search-result h2, .search-result p { grid-column: 1; }.search-result h2 { font-size: 30px; }.search-result p { grid-row: auto; }.search-result b { grid-column: 2; grid-row: 1 / span 3; }.search-empty { padding: 28px; }
    .error-hero { min-height: 720px; background-image: linear-gradient(0deg, rgba(2,9,11,.98) 0%, rgba(2,9,11,.76) 50%, rgba(2,9,11,.14) 80%), url('/images/site/error-404-hero.webp'); background-position: 67% center; }.error-hero-inner { min-height: 720px; align-items: flex-end; }.error-copy { width: 100%; padding: 260px 0 66px; }.error-code { font-size: 94px; }.error-title { font-size: 42px; }.error-copy > p { font-size: 14px; }.error-home-button { width: 100%; min-width: 0; }.error-routes { padding-top: 28px; }.error-section-heading { gap: 13px; }.error-section-heading h2 { font-size: 27px; text-align: center; }.error-route-grid { grid-template-columns: 1fr; }.error-route-card { min-height: 430px; }.error-route-visual { height: 265px; }
}

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

/* Authentication and account */
.auth-page, .account-page { background: var(--bg-deep); }
.auth-shell { min-height: calc(100vh - var(--header)); padding: 72px 24px 96px; display: grid; place-items: start center; background: radial-gradient(circle at 50% 12%, rgba(43, 125, 128, .14), transparent 38%); }
.auth-card { width: min(100%, 520px); padding: clamp(30px, 5vw, 54px); border: 1px solid var(--line); background: rgba(8, 22, 24, .94); box-shadow: 0 32px 80px rgba(0, 0, 0, .28); }
.auth-card h1 { margin: 12px 0 14px; font-size: clamp(44px, 7vw, 66px); }
.auth-intro { margin-bottom: 28px; }
.yandex-button { width: 100%; min-height: 54px; padding: 0 22px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(255, 255, 255, .22); background: #fff; color: #111; font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s; }
.yandex-button:hover { background: #f0f0f0; border-color: #fff; }
.yandex-button > span, .connection-mark { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #fc3f1d; color: #fff; font-weight: 700; }
.auth-divider { margin: 24px 0; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line-soft); }
.auth-form { display: grid; gap: 20px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: #c9c4bb; font-size: 14px; letter-spacing: .04em; }
.form-field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: rgba(0, 0, 0, .28); color: var(--ink-strong); }
.form-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(67, 174, 177, .12); }
.form-field input[aria-invalid="true"] { border-color: #d85d62; }
.form-field small { color: var(--muted); font-size: 11px; }
.field-error { color: #ef898d; font-size: 14px; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 14px; }
.form-row a, .auth-switch a, .auth-legal a { color: var(--teal); }
.form-row a:hover, .auth-switch a:hover, .auth-legal a:hover { color: #82d7d8; }
.form-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input { accent-color: var(--teal); }
.auth-submit { width: 100%; border: 0; cursor: pointer; }
.auth-switch { margin: 26px 0 0; color: var(--muted); text-align: center; font-size: 14px; }
.auth-legal { margin: 20px 0 0; font-size: 11px; line-height: 1.5; }
.form-status, .form-error-summary { margin-bottom: 20px; padding: 12px 14px; border-left: 2px solid var(--teal); background: rgba(67, 174, 177, .08); color: #bcd5d4; font-size: 14px; }
.form-error-summary { border-left-color: #d85d62; background: rgba(216, 93, 98, .08); color: #ef9da0; }
.account-hero { min-height: 330px; display: flex; align-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 30%, rgba(38, 111, 113, .16), transparent 32%); }
.account-heading { padding-block: 64px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.account-heading h1 { margin: 12px 0 14px; font-size: clamp(52px, 8vw, 92px); }
.account-heading p { margin: 0; }
.account-heading form { flex: 0 0 auto; }
.account-heading button, .account-card button { cursor: pointer; }
.account-content { padding: 72px 0 100px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.account-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); background: var(--panel); }
.account-card h2 { margin: 10px 0 24px; font-size: clamp(30px, 4vw, 42px); }
.account-card > p { margin: -12px 0 24px; }
.account-orders, .account-favorites, .account-connections { grid-column: 1 / -1; }
.order-history { display: grid; gap: 16px; }
.order-history-card { border: 1px solid var(--line); background: rgba(0, 0, 0, .14); }
.order-history-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .8fr); gap: 24px; align-items: start; padding: 20px; border-bottom: 1px solid var(--line-soft); }
.order-history-header > div:first-child { display: grid; gap: 5px; }
.order-history-number { color: var(--ink-strong); font: 24px/1.2 var(--serif); }
.order-history-header time { color: var(--muted); font-size: 14px; }
.order-status { padding-left: 14px; border-left: 2px solid var(--line); display: grid; gap: 5px; }
.order-status b { color: var(--ink-strong); font-size: 14px; font-weight: 500; text-transform: uppercase; }
.order-status small { color: var(--muted); line-height: 1.4; }
.order-status-success { border-color: var(--teal); }
.order-status-progress { border-color: #7aa7c7; }
.order-status-pending { border-color: #c1a26d; }
.order-status-danger { border-color: var(--red); }
.order-history-summary { display: grid; grid-template-columns: repeat(3, 1fr); }
.order-history-summary > div { display: grid; gap: 5px; padding: 18px 20px; }
.order-history-summary > div + div { border-left: 1px solid var(--line-soft); }
.order-history-summary small, .order-history-copy p > small { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.order-history-summary strong { color: var(--ink-strong); font-size: 14px; font-weight: 500; }
.order-history-details { border-top: 1px solid var(--line-soft); }
.order-history-details summary { padding: 15px 20px; color: var(--teal); cursor: pointer; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.order-history-copy { padding: 4px 20px 20px; }
.order-history-copy a { color: var(--teal); }
.order-history-copy p { margin: 18px 0 0; color: var(--ink); font-size: 14px; line-height: 1.5; }
.order-history-copy p > small { display: block; margin-bottom: 5px; }
.order-history-items { margin: 0; padding: 0; list-style: none; }
.order-history-items li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.order-history-items li small { color: var(--muted); }
.order-history-items li strong { color: var(--ink-strong); white-space: nowrap; font-weight: 500; }
.order-payment-link { margin: 0 20px 20px; }
.account-pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; margin-top: 20px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.account-pagination a { color: var(--teal); }
.account-pagination > :last-child { text-align: right; }
.order-success-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.account-favorites-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.account-empty { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.account-empty p { margin: 0; }
.account-empty .button { flex: 0 0 auto; }
.connection-row { margin: 0 0 26px; padding: 18px 0; display: flex; align-items: center; gap: 14px; border-block: 1px solid var(--line-soft); }
.connection-row div { display: grid; }
.connection-row b { color: var(--ink-strong); font-weight: 500; }
.connection-row small { color: var(--teal); }
.account-meta { margin: 24px 0 0 !important; font-size: 14px; }

@media (max-width: 1100px) {
    .account-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .auth-shell { padding: 36px 14px 64px; }
    .auth-card { padding: 28px 22px; }
    .form-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .account-heading { align-items: flex-start; flex-direction: column; }
    .account-grid { grid-template-columns: 1fr; }
    .account-orders, .account-favorites, .account-connections { grid-column: auto; }
    .order-history-header { grid-template-columns: 1fr; }
    .order-history-summary { grid-template-columns: 1fr; }
    .order-history-summary > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
    .account-pagination { grid-template-columns: 1fr 1fr; }
    .account-pagination > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; text-align: center; }
    .account-favorites-grid { grid-template-columns: 1fr; }
    .account-empty { align-items: flex-start; flex-direction: column; }
}

/* Secret game room */
.checkers-page {
    --game-bg: #07101b;
    --game-deep: #040a11;
    --game-panel: #0d2944;
    --game-petrol: #12506f;
    --game-cyan: #0b6b81;
    --game-silver: #b1b9c5;
    --game-red: #800b1f;
    background: var(--game-bg);
}
.checkers-page::before { background: radial-gradient(circle at 26% 10%, rgba(18,80,111,.11), transparent 34%); }
.game-header { position: relative; z-index: 120; border-bottom: 1px solid rgba(177,185,197,.16); background: rgba(4,10,17,.93); }
.game-header-inner { min-height: 68px; width: min(calc(100% - 64px), 1500px); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.game-header .brand { font-size: 29px; }
.game-back { color: rgba(177,185,197,.76); font-size: 14px; letter-spacing: .04em; }
.game-back:hover { color: var(--game-silver); }
.game-header-tools { justify-self: end; display: flex; gap: 24px; }
.game-header-tools button { padding: 0; border: 0; color: rgba(177,185,197,.72); background: transparent; cursor: pointer; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.game-menu { position: absolute; right: 32px; top: 58px; min-width: 220px; padding: 12px 22px; display: none; flex-direction: column; border: 1px solid rgba(177,185,197,.2); background: #07101b; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.game-menu.is-open { display: flex; }
.game-menu a { padding: 10px 0; color: var(--game-silver); border-bottom: 1px solid rgba(177,185,197,.1); font-size: 14px; }
.game-menu a:last-child { border-bottom: 0; }
.game-room { min-height: calc(100vh - 68px); position: relative; isolation: isolate; overflow: hidden; color: var(--game-silver); background: linear-gradient(180deg, #07121e 0%, #07101b 58%, #040b13 100%); }
.room-light { position: absolute; z-index: 0; inset: 0 0 auto; height: calc(100vh - 68px); pointer-events: none; background: radial-gradient(ellipse at 50% 27%, rgba(28,104,126,.19), transparent 45%), radial-gradient(circle at 77% 42%, rgba(177,185,197,.055), transparent 24%); animation: room-light-drift 16s ease-in-out infinite alternate; }
.room-light::after { content: ""; width: min(560px, 52vw); height: 170px; position: absolute; left: 46%; top: 10px; background: radial-gradient(ellipse at 50% 0, rgba(0,0,0,.42), transparent 68%); clip-path: polygon(6% 0, 44% 36%, 50% 100%, 57% 35%, 96% 0); opacity: 0; transform: translateX(-50%) scale(.94); transition: opacity .8s ease, transform 1.1s ease; }
.game-room.is-thinking .room-light::after { opacity: .28; transform: translateX(-50%) scale(1); }
.room-atmosphere { position: absolute; z-index: 1; inset: 0 0 auto; height: calc(100vh - 68px); overflow: hidden; pointer-events: none; background: url('../images/checkers/room-table-v3.webp') 50% 50% / cover no-repeat; }
.room-atmosphere::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(2,8,14,.3), transparent 17% 83%, rgba(2,8,14,.38)), linear-gradient(0deg, rgba(1,5,9,.35), transparent 38%), rgba(7,16,27,.04); }
.game-room-table { min-height: calc(100vh - 68px); position: relative; z-index: 2; padding: clamp(14px, 2.2vw, 34px) max(24px, calc((100vw - 1500px) / 2)) 38px; }
.game-room-table::before { content: ""; position: absolute; z-index: -1; inset: 62% 0 0; pointer-events: none; opacity: .36; background: linear-gradient(180deg, transparent, rgba(0,0,0,.34)); }
.game-layout { width: min(100%, 1260px); margin-inline: auto; position: relative; display: grid; grid-template-columns: minmax(480px, 1fr) minmax(235px, 280px); align-items: start; gap: clamp(30px, 4vw, 62px); }
.game-board-column { min-width: 0; }
.game-voice-stage { width: min(100%, calc(100vh - 210px), 760px); height: 76px; margin-inline: auto; position: relative; z-index: 8; }
.game-voice-bubble { max-width: min(330px, 78%); position: absolute; left: 50%; bottom: 12px; padding: 11px 17px 12px; border: 1px solid rgba(177,185,197,.21); border-radius: 18px 18px 18px 5px; color: #d3dae1; background: rgba(13,41,68,.86); box-shadow: 0 12px 32px rgba(0,0,0,.24); backdrop-filter: blur(8px); opacity: 0; transform: translate(-50%, 8px); transition: opacity .28s ease, transform .28s ease; }
.game-voice-bubble::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 12px; height: 12px; border-left: 1px solid rgba(177,185,197,.21); background: rgba(13,41,68,.86); clip-path: polygon(0 0, 100% 0, 0 100%); }
.game-voice-bubble[hidden] { display: none; }
.game-voice-bubble.is-visible { opacity: 1; transform: translate(-50%, 0); }
.game-voice-bubble[data-position="left"] { left: 4%; transform: translate(0, 8px); }
.game-voice-bubble[data-position="left"].is-visible { transform: translate(0, 0); }
.game-voice-bubble[data-position="right"], .game-voice-bubble[data-position="bottom"] { right: 4%; left: auto; transform: translate(0, 8px); }
.game-voice-bubble[data-position="right"].is-visible, .game-voice-bubble[data-position="bottom"].is-visible { transform: translate(0, 0); }
.game-voice-bubble > span { display: block; margin-bottom: 3px; color: rgba(67,164,184,.76); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.game-voice-bubble p { margin: 0; color: inherit; font: italic 17px/1.35 var(--serif); }
.board-frame { --board-edge: clamp(18px, 1.55vw, 23px); position: relative; width: min(100%, calc(100vh - 210px), 760px); margin-inline: auto; padding: var(--board-edge); border: 1px solid rgba(177,185,197,.22); background: linear-gradient(145deg, #111d23, #071016 52%, #0b1a21); box-shadow: 0 28px 70px rgba(0,0,0,.48), inset 0 0 0 3px #03080c, inset 0 0 0 4px rgba(177,185,197,.09); }
.board-frame::after { content: ""; position: absolute; inset: 5px; pointer-events: none; border: 1px solid rgba(177,185,197,.12); }
.board-files { position: absolute; z-index: 3; right: var(--board-edge); left: var(--board-edge); display: grid; grid-template-columns: repeat(8, 1fr); color: rgba(177,185,197,.48); font: 9px/1 var(--serif); text-align: center; pointer-events: none; }
.board-files.is-top { top: 5px; }
.board-files.is-bottom { bottom: 5px; }
.board-ranks { position: absolute; z-index: 3; top: var(--board-edge); bottom: var(--board-edge); display: grid; grid-template-rows: repeat(8, 1fr); align-items: center; color: rgba(177,185,197,.48); font: 9px/1 var(--serif); text-align: center; pointer-events: none; }
.board-ranks.is-left { left: 6px; }
.board-ranks.is-right { right: 6px; }
.checkers-board { aspect-ratio: 1; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); overflow: hidden; border: 1px solid rgba(166,174,174,.28); background: #071012; box-shadow: 0 0 0 1px #010405, inset 0 0 30px rgba(0,0,0,.72); user-select: none; -webkit-user-select: none; }
.board-cell { min-width: 0; display: grid; place-items: center; position: relative; }
.checkers-board button.board-cell { width: 100%; min-height: 0; padding: 0; border: 0; color: inherit; cursor: default; }
.checkers-board button.board-cell:disabled { opacity: 1; }
.board-cell.is-light { background: linear-gradient(rgba(177,185,197,.28), rgba(130,142,150,.24)), url('../images/checkers/cell-light.png') center / cover no-repeat; background-blend-mode: color, normal; }
.board-cell.is-dark { background: linear-gradient(rgba(7,24,32,.45), rgba(5,19,26,.48)), url('../images/checkers/cell-dark.png') center / cover no-repeat; background-blend-mode: color, normal; }
.board-cell { box-shadow: inset 0 0 0 1px rgba(2,7,8,.34); }
.board-cell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.018), rgba(0,0,0,.045)); }
.board-cell.is-movable { cursor: grab; touch-action: none; }
.board-cell.is-movable:active { cursor: grabbing; }
.board-cell.is-movable::after { content: ""; position: absolute; z-index: 4; inset: 4px; border: 1px solid rgba(0,151,174,.1); }
.board-cell.is-selected { box-shadow: inset 0 0 0 1px #008c9f, inset 0 0 22px rgba(0,139,160,.25); }
.board-cell.is-destination { cursor: pointer; }
.board-cell.is-destination::after { content: ""; position: absolute; z-index: 5; width: 15%; aspect-ratio: 1; border: 1px solid #00a6bd; border-radius: 50%; background: radial-gradient(circle, #00a6bd 0 21%, #071012 24% 55%, #007f93 58% 100%); box-shadow: 0 0 9px rgba(0,166,189,.45); }
.board-cell:focus-visible { z-index: 6; outline: 2px solid #d0d7de; outline-offset: -3px; }
.checker-piece { width: 84%; aspect-ratio: 1; position: relative; z-index: 2; display: block; border: 0; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: contain; filter: drop-shadow(0 8px 5px rgba(0,0,0,.56)); pointer-events: none; -webkit-user-drag: none; }
.checker-piece::before, .checker-piece::after { display: none; }
.checker-piece.is-white { background-image: url('../images/checkers/piece-white.png'); }
.checker-piece.is-black { background-image: url('../images/checkers/piece-black.png'); }
.checker-piece.is-white.is-king { background-image: url('../images/checkers/piece-white-king.png'); }
.checker-piece.is-black.is-king { background-image: url('../images/checkers/piece-black-king.png'); }
.board-cell.is-selected .checker-piece { filter: drop-shadow(0 8px 5px rgba(0,0,0,.56)) drop-shadow(0 0 7px rgba(0,174,199,.9)); }
.board-cell.is-drag-source .checker-piece { opacity: .2; }
.board-cell.is-drop-target { box-shadow: inset 0 0 0 2px #00a6bd, inset 0 0 28px rgba(0,166,189,.34); }
.checker-drag-ghost { position: fixed; z-index: 500; margin: 0; pointer-events: none; transform: translate(-50%, -50%) scale(1.06); filter: drop-shadow(0 13px 8px rgba(0,0,0,.68)) drop-shadow(0 0 9px rgba(0,166,189,.45)); }
.game-room.is-dragging .checkers-board { cursor: grabbing; }
.checker-piece.is-pending-capture { opacity: 0; transform: scale(.82); transition: opacity .18s, transform .18s; }
.captured-flight { position: fixed; z-index: 600; margin: 0; pointer-events: none; }
.checker-piece.is-promoting { animation: checker-promotion 1.15s cubic-bezier(.2,.72,.24,1); }
.game-primary-action { min-height: 46px; margin-top: 12px; padding: 0 24px; border: 1px solid #728594; color: #dce1e5; background: #0d2944; cursor: pointer; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.game-primary-action:hover { background: #12506f; }
.game-system-note { min-width: 116px; margin: 0; position: absolute; z-index: 12; left: 50%; bottom: 13px; padding: 6px 10px; border: 1px solid rgba(177,185,197,.14); border-radius: 12px; color: rgba(217,223,229,.82); background: rgba(4,12,19,.86); font-size: 11px; text-align: center; opacity: 0; transform: translate(-50%, 5px); transition: opacity .18s, transform .18s; pointer-events: none; }
.game-system-note[hidden] { display: none; }
.game-system-note.is-visible { opacity: 1; transform: translate(-50%, 0); }
.board-actions { min-height: 42px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.board-actions button { padding: 5px 0; border: 0; border-bottom: 1px solid transparent; color: rgba(177,185,197,.68); background: transparent; cursor: pointer; font-size: 14px; }
.board-actions button:hover { color: #dbe1e7; border-bottom-color: rgba(177,185,197,.35); }
.board-actions button:disabled { color: rgba(177,185,197,.25); cursor: default; border-bottom-color: transparent; }
.game-sidebar { min-height: 430px; margin-top: 76px; padding: 21px 0 0; display: flex; flex-direction: column; border-top: 1px solid rgba(177,185,197,.22); border-bottom: 1px solid rgba(177,185,197,.12); }
.game-status { padding-bottom: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid rgba(177,185,197,.12); }
.game-status > span { color: #d1d8df; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.game-status > i { width: 7px; height: 7px; border: 1px solid #49a7b9; border-radius: 50%; box-shadow: 0 0 7px rgba(11,107,129,.58); }
.game-status small { color: rgba(177,185,197,.5); font-size: 10px; text-transform: uppercase; }
.game-status small b { color: rgba(211,218,225,.72); font-weight: 400; }
.game-score-mini { padding: 17px 0; display: flex; gap: 10px; border-bottom: 1px solid rgba(177,185,197,.12); color: rgba(177,185,197,.58); font-size: 11px; text-transform: uppercase; }
.game-score-mini b { color: rgba(177,185,197,.25); font-weight: 400; }
.game-score-mini i { color: #cfd6dc; font-style: normal; }
.captured-trays { padding: 19px 0 22px; display: grid; gap: 14px; }
.captured-trays > span { color: rgba(177,185,197,.48); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.captured-row { min-height: 38px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 7px; }
.captured-row small { color: rgba(177,185,197,.54); font-size: 10px; text-transform: uppercase; }
.captured-row > div { min-height: 29px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.captured-piece { width: 28px; aspect-ratio: 1; display: block; background-position: center; background-repeat: no-repeat; background-size: contain; filter: drop-shadow(0 3px 2px rgba(0,0,0,.42)); }
.captured-piece.is-white { background-image: url('../images/checkers/piece-white.png'); }
.captured-piece.is-black { background-image: url('../images/checkers/piece-black.png'); }
.captured-piece.is-arriving { animation: captured-settle .48s ease-out; }
.game-room.is-thinking .checkers-board { cursor: wait; }
.room-headquarters-token { width: 130px; aspect-ratio: 1; position: absolute; z-index: 1; left: max(26px, calc((100vw - 1550px) / 2)); top: 4%; background: url('../images/checkers/headquarters-token-v3.webp') center / contain no-repeat; filter: drop-shadow(0 15px 18px rgba(0,0,0,.42)); opacity: .46; transform: rotate(-7deg); }
.room-left-stilllife { width: 300px; height: 450px; position: absolute; z-index: 1; left: max(-42px, calc((100vw - 1740px) / 2)); top: 19%; background: url('../images/checkers/room-left-stilllife-v3.webp') center / contain no-repeat; filter: drop-shadow(-8px 18px 19px rgba(0,0,0,.34)); opacity: .82; }
.room-left-stilllife span { position: absolute; left: 67px; top: 307px; color: rgba(18,30,37,.68); font: italic 13px/1.45 var(--serif); text-shadow: 0 1px rgba(255,255,255,.18); transform: rotate(-2.5deg); }
.room-right-stilllife { width: 400px; height: 600px; position: absolute; z-index: 1; right: max(-120px, calc((100vw - 1840px) / 2)); top: 12%; background: url('../images/checkers/room-right-stilllife-v3.webp') center / contain no-repeat; filter: drop-shadow(10px 22px 24px rgba(0,0,0,.38)); opacity: .9; }
.tea-steam { width: 120px; height: 136px; position: absolute; z-index: 4; left: 207px; top: -48px; filter: blur(.2px); }
.tea-steam i { width: 22px; height: 92px; position: absolute; left: 50%; bottom: 0; border-left: 2px solid rgba(177,185,197,.22); border-radius: 50%; opacity: 0; transform-origin: bottom; animation: tea-steam 5.8s ease-in-out infinite; }
.tea-steam i:nth-child(2) { left: 30%; height: 78px; animation-delay: -2s; animation-duration: 5.1s; }
.tea-steam i:nth-child(3) { left: 68%; height: 103px; animation-delay: -3.7s; animation-duration: 6.4s; }
.game-drawers { width: min(calc(100% - 56px), 1000px); margin-inline: auto; padding: 60px 0 90px; }
.game-drawers details { border-top: 1px solid rgba(177,185,197,.2); }
.game-drawers details:last-child { border-bottom: 1px solid rgba(177,185,197,.2); }
.game-drawers summary { padding: 22px 0; display: flex; justify-content: space-between; color: #abb5bf; cursor: pointer; list-style: none; font: 18px var(--serif); }
.game-drawers summary::-webkit-details-marker { display: none; }
.game-drawers details[open] summary span { transform: rotate(45deg); }
.game-drawers details > div { max-width: 690px; padding: 0 0 22px; }
.game-drawers p { color: #82909c; font-size: 14px; }
.game-result { margin-top: auto; padding: 18px 0 22px; border-top: 1px solid rgba(177,185,197,.13); }
.game-result[hidden] { display: none; }
.game-result p { margin: 0; color: #d6dce2; font: 18px/1.4 var(--serif); }

@keyframes room-light-drift { to { opacity: .7; transform: translate3d(1.5%, 1%, 0) scale(1.025); } }
@keyframes tea-steam { 0% { opacity: 0; transform: translate3d(0, 18px, 0) scaleX(.7); } 24% { opacity: .46; } 62% { opacity: .22; transform: translate3d(13px, -28px, 0) scaleX(1.1); } 100% { opacity: 0; transform: translate3d(-9px, -69px, 0) scaleX(.75); } }
@keyframes checker-promotion { 0%, 100% { filter: drop-shadow(0 8px 5px rgba(0,0,0,.56)); transform: scale(1); } 38% { filter: drop-shadow(0 8px 5px rgba(0,0,0,.56)) drop-shadow(0 0 14px rgba(43,190,207,.88)); transform: scale(1.08); } 68% { filter: drop-shadow(0 8px 5px rgba(0,0,0,.56)) drop-shadow(0 0 8px rgba(177,185,197,.72)); transform: scale(1.03); } }
@keyframes captured-settle { 0% { transform: translateY(-5px) scale(.72); opacity: .45; } 58% { transform: translateY(1px) scale(1.08); opacity: 1; } 100% { transform: none; } }

/* Commerce care layer */
.checkout-care-note { margin-bottom: 26px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; border-left: 2px solid var(--teal); background: var(--panel); }
.checkout-care-note p { flex: 1 1 420px; margin: 0; color: var(--muted); }
.checkout-care-note a, .order-next-card a { color: var(--teal); }
.checkout-step { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); }
.method-list, .saved-addresses { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.saved-addresses { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.saved-addresses legend { margin-bottom: 10px; color: var(--muted); font-size: 14px; text-transform: uppercase; }
.checkout-form .method-option, .checkout-form .saved-addresses label { padding: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; border: 1px solid var(--line-soft); cursor: pointer; text-transform: none; }
.checkout-form .method-option:has(input:checked), .checkout-form .saved-addresses label:has(input:checked) { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 7%, transparent); }
.checkout-form .method-option input, .checkout-form .saved-addresses input { width: auto; margin-top: 3px; }
.method-option span, .saved-addresses label span { display: grid; gap: 3px; }
.method-option small, .saved-addresses small { color: var(--muted); }
.checkout-submit-note, .stock-care { margin: -10px 0 0; color: var(--muted); font-size: 14px; }
.stock-alert-mini { max-width: 145px; padding: 5px 0; border: 0; color: var(--teal); background: transparent; cursor: pointer; font-size: 11px; text-align: right; }
.account-address-row { padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-soft); }
.account-address-row > div:first-child { display: grid; gap: 4px; }
.account-address-row span { color: var(--muted); }
.account-address-row > div:last-child { display: flex; gap: 12px; }
.order-success-page { padding: 70px 0 100px; }
.order-success-hero { text-align: center; }
.order-success-hero h1 { margin: 15px 0 24px; font-size: clamp(48px, 7vw, 94px); text-transform: uppercase; }
.order-success-hero > p { max-width: 680px; margin: 0 auto 30px; color: var(--muted); font-size: 18px; }
.order-next-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.order-next-card { padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.order-next-card h2 { margin: 10px 0; font-size: 32px; }
.account-created-card { border-color: var(--teal); }
.order-timeline { margin: 20px 0 0; padding: 0; display: grid; gap: 18px; list-style: none; }
.order-timeline li { padding-left: 25px; position: relative; display: grid; gap: 4px; }
.order-timeline li::before { content: ""; width: 9px; height: 9px; position: absolute; left: 0; top: 7px; border: 1px solid var(--muted); border-radius: 50%; }
.order-timeline li.is-done::before { border-color: var(--teal); background: var(--teal); }
.order-timeline span, .order-next-card p { color: var(--muted); }
.order-receipt-card dl { margin: 18px 0 0; }
.order-receipt-card dl div { padding: 11px 0; display: grid; grid-template-columns: 110px 1fr; gap: 16px; border-top: 1px solid var(--line-soft); }
.order-receipt-card dt { color: var(--muted); }
.order-receipt-card dd { margin: 0; }

/* Content graph: topics and expeditions */
.topic-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.topic-links a { padding: 5px 10px; border: 1px solid var(--line); color: var(--teal); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.topic-links a:hover { border-color: var(--teal); background: rgba(67,174,177,.08); }
.topic-index, .expedition-list { padding-block: 48px 90px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card, .topic-related-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s; }
.topic-card:hover, .topic-related-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.topic-card > span, .topic-related-card > span { color: var(--teal); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.topic-card h2, .topic-related-card h2 { margin: 38px 0 14px; font-size: 38px; }
.topic-card p, .topic-related-card p { margin-bottom: 24px; font-size: 14px; }
.topic-card small { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.topic-intro { max-width: 900px; padding-block: 54px 10px; }
.topic-section { padding-block: 58px; }
.topic-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.expedition-list { display: grid; gap: 22px; }
.expedition-card { min-height: 430px; display: grid; grid-template-columns: minmax(320px, .9fr) 1.1fr; border: 1px solid var(--line); background: var(--panel); }
.expedition-image, .expedition-detail-image { min-height: 430px; background: linear-gradient(145deg, rgba(9,60,65,.38), rgba(2,9,11,.74)), url('/images/site/collection.png') center / cover; }
.expedition-card > div { padding: clamp(30px, 5vw, 70px); }
.expedition-card h2 { margin: 12px 0 20px; font-size: clamp(42px, 5vw, 70px); }
.expedition-card p { max-width: 620px; font-size: 17px; }
.expedition-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.expedition-detail { padding-block: 44px 90px; }
.expedition-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.expedition-detail h1 { margin: 14px 0 24px; font-size: clamp(58px, 7vw, 104px); }
.expedition-detail .lead { padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: 20px; }
.expedition-detail .button { margin-top: 24px; }
.article-expedition { margin-top: 42px; padding: 28px; border-left: 2px solid var(--teal); background: var(--panel); }
.article-expedition h2 { margin: 8px 0 12px; font-size: 34px; }
.attribute-list { margin: 0; }
.attribute-list div { display: grid; grid-template-columns: minmax(120px, .4fr) 1fr; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.attribute-list dt { color: var(--muted); }
.attribute-list dd { margin: 0; color: var(--ink); }

@media (max-width: 760px) {
    .order-next-grid { grid-template-columns: 1fr; }
    .checkout-step { padding: 18px; }
    .account-address-row { flex-direction: column; }
    .topic-grid, .topic-related-grid { grid-template-columns: 1fr; }
    .expedition-card, .expedition-detail-grid { grid-template-columns: 1fr; }
    .expedition-card { min-height: 0; }
    .expedition-image, .expedition-detail-image { min-height: 320px; }
}

@media (max-width: 1180px) {
    .room-headquarters-token { opacity: .22; }
    .room-left-stilllife { left: -125px; opacity: .38; }
    .room-right-stilllife { right: -210px; opacity: .46; }
}
@media (max-width: 900px) {
    .game-header-inner { width: min(calc(100% - 36px), 1500px); grid-template-columns: 1fr auto; }
    .game-back { display: none; }
    .game-layout { grid-template-columns: 1fr; }
    .game-voice-stage, .board-frame { width: min(100%, 680px); }
    .game-sidebar { width: min(100%, 680px); min-height: 0; margin: 5px auto 0; padding-top: 17px; }
    .captured-trays { grid-template-columns: auto 1fr 1fr; align-items: start; }
    .captured-trays > span { padding-top: 10px; }
    .room-headquarters-token, .room-left-stilllife { display: none; }
    .room-right-stilllife { right: -220px; top: 18%; opacity: .24; transform: scale(.82); }
}
@media (max-width: 620px) {
    .game-header-inner { min-height: 58px; }
    .game-header .brand { font-size: 25px; }
    .game-header-tools { gap: 16px; }
    .game-room { min-height: calc(100vh - 58px); }
    .room-light, .room-atmosphere { height: calc(100vh - 58px); }
    .game-room-table { min-height: auto; padding: 10px 12px 30px; }
    .game-layout { display: block; }
    .game-voice-stage { height: 64px; }
    .game-voice-bubble { max-width: 88%; bottom: 8px; padding: 9px 14px 10px; }
    .game-voice-bubble p { font-size: 15px; }
    .board-frame { --board-edge: 14px; width: 100%; padding: var(--board-edge); }
    .board-files, .board-ranks { font-size: 8px; }
    .board-files.is-top { top: 3px; }
    .board-files.is-bottom { bottom: 3px; }
    .board-ranks.is-left { left: 4px; }
    .board-ranks.is-right { right: 4px; }
    .board-actions { gap: 8px 18px; }
    .board-actions button { font-size: 11px; }
    .captured-trays { grid-template-columns: 1fr; gap: 8px; }
    .captured-trays > span { padding-top: 0; }
    .captured-row { grid-template-columns: 52px 1fr; }
    .captured-piece { width: 26px; }
    .room-right-stilllife { right: -250px; opacity: .15; }
    .game-drawers { width: calc(100% - 28px); padding: 34px 0 60px; }
}
