﻿/*
 * sad-ogorod.ru ? ???? ???? ??????, ??? ?????? ? Tailwind.
 * ???????: ??????? ? ???????????? ??????. ?????? ? ?????? (????????? ?????????? ??????? ?????), ???????? ????????? ??????,
 * ??????? ?? ?????? ? ???? ??? ???, ????? ??????? ??????, Lora + Nunito, ?????????? 16 px, ?????? ????, ?????? ??????? ???????.
 *
 * ?????, ?????? ? ?????????? ? ?????? ????? ?????????? ???? (theme_head() ?????? ?? ????? ????? ?????):
 *   --accent-color --paper --surface --ink --muted --line --paper-2 --ink-2 --line-strong
 *   --font-serif (?????????: Lora)  --font-sans (????????? ? ?????: Nunito)  --font-read (????? ??????)
 *   --radius --radius-lg --radius-sm --btn-radius --shadow-float --density --container --content-width --read-size --read-lh --h-scale --h-weight --logo-h
 * ????????? ????????? ??????? ? ?????? ?? <body>: hdr-center|split|strip|minimal, hdr-sticky-always|smart|none,
 * menu-mobile-side|full, cookie-bottom|corner, has-strip|no-strip; ? ????? ? ??????? bg-page|surface|accent|dark.
 */

:root {
    --terra: #B5562E;                                          /* ?????? ????: ????????? ? ?????, ????, ????? */
    --terra-ink: light-dark(color-mix(in srgb, var(--terra) 80%, var(--ink)), color-mix(in srgb, var(--terra) 58%, var(--ink)));   /* ????????? ??? ??????? ?????? (??????? ?? ???????, ???????? ?? ??????) */
    --danger: #A8321F;
    --on-accent: light-dark(#fff, #14170F);   /* ? ?????? ???? ?????? ??????????? ? ????? ?? ??? ?????? */
    --pill: min(99px, calc(var(--radius) * 10));   /* ?????????? ??????? ??????? ????: 0 ? ??????? */
    --accent-hover: color-mix(in srgb, var(--accent-color) 80%, var(--ink));
    --shade: color-mix(in srgb, var(--ink) 55%, transparent);
    --shade-deep: color-mix(in srgb, var(--ink) 94%, transparent);
    --accent-ink: color-mix(in srgb, var(--accent-color) 78%, var(--ink));   /* ?????? ??? ?????? ?? ?????? ??????? ???? */
    --muted-ink: color-mix(in srgb, var(--muted) 62%, var(--ink));   /* ???????????? ????? ? ??????? ????????? ?? ????? ???? ???? */
    --accent-soft: color-mix(in srgb, var(--accent-color) 10%, var(--surface));
    --terra-soft: color-mix(in srgb, var(--terra) 10%, var(--surface));
    --gap: calc(1.5rem * var(--density, 1));
    --block: calc(3rem * var(--density, 1));
    --bar-h: 64px;
    --vine: url(/img/vine.svg);
    --branch: url(/img/branch.svg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: var(--h-weight); line-height: 1.22; margin: 0; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent-color) 70%, var(--on-accent)); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent-color) 26%, transparent); }
[hidden] { display: none !important; }

.frame, .wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.frame-slim { max-width: 800px; }
@media (min-width: 768px) { .frame, .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; padding: 10px 16px; background: var(--surface); color: var(--ink); border: 2px solid var(--accent-color); border-radius: var(--btn-radius); font-weight: 800; }
.skip-link:focus { left: 12px; }
.trap { display: none; }
.only-wide { display: none; }
@media (min-width: 768px) { .only-wide { display: inline; } .only-touch { display: none; } }
.icon { flex: none; vertical-align: middle; }

/* ?? ??????, ????, ????? ????????????????????????????????????????????????????????????????????? */
.btn, .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px;
    border: 2px solid var(--accent-color); border-radius: var(--btn-radius); font: 800 .95rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
}
.btn-solid, .btn-primary { background: var(--accent-color); color: var(--on-accent); }
.btn-solid:hover, .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-line { background: transparent; color: var(--accent-ink); }
.btn-line:hover { background: var(--accent-soft); color: var(--accent-ink); }
.tool {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0;
    border: 0; background: transparent; color: inherit; border-radius: 50%; text-decoration: none;
}
.tool:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.text-btn { min-height: 44px; padding: 0 2px; background: none; border: 0; color: var(--accent-ink); font: 800 .95rem var(--font-sans); text-decoration: underline; text-underline-offset: 4px; }
.text-btn:hover { color: var(--accent-hover); }

.form { display: grid; gap: 18px; margin-top: 22px; }
.form-pair { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-pair { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field-name { font-weight: 800; font-size: .9rem; }
.field-note { font-weight: 500; color: var(--muted-ink); }
.input {
    width: 100%; min-height: 48px; padding: 11px 16px; font: 400 16px/1.4 var(--font-sans);
    background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
}
textarea.input { resize: vertical; }
.input:focus-visible { outline-offset: 0; border-color: var(--accent-color); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.tick { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.tick input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent-color); }
.status { min-height: 1.4rem; margin: 0; font-weight: 800; font-size: .92rem; }
.status-ok { color: var(--accent-ink); }
.status-error { color: var(--danger); }
.note { margin: 16px 0; padding: 12px 18px; border-radius: var(--radius); border: 1.5px solid var(--line-strong); font-weight: 700; font-size: .95rem; }
.note-ok { border-color: var(--accent-color); background: var(--accent-soft); }
.note-bad { border-color: var(--danger); color: var(--danger); }
.finder { display: flex; gap: 10px; max-width: 580px; margin-top: 22px; }
.finder .input { flex: 1; border-radius: var(--btn-radius); padding-left: 20px; }

/* ?? ?????? ??? ?????? ??????????????????????????????????????????????????????????????????????? */
.draft-note { margin: 0; padding: 8px 16px; background: var(--ink); color: var(--paper); text-align: center; font-weight: 700; font-size: .85rem; }
.draft-note a { color: inherit; }
.top-banner { font-weight: 700; font-size: .92rem; line-height: 1.4; }
.top-banner-row { position: relative; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; padding-top: 5px; padding-bottom: 5px; padding-right: 56px; }
.top-banner.is-info { background: var(--terra-soft); color: var(--ink); border-bottom: 1px solid var(--line); }
.top-banner.is-accent { background: var(--accent-color); color: var(--on-accent); }
.top-banner.is-dark { background: var(--ink); color: var(--paper); }
.top-banner-label { padding: 3px 7px; border: 1px solid currentColor; border-radius: var(--pill); font-weight: 800; font-size: .62rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.top-banner-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--btn-radius); background: var(--accent-color); color: var(--on-accent); text-decoration: none; font-weight: 800; }
.top-banner.is-accent .top-banner-btn { background: var(--on-accent); color: var(--accent-ink); }
.top-banner.is-dark .top-banner-btn { background: var(--paper); color: var(--ink); }
.top-banner-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: none; border: 0; color: inherit; border-radius: 50%; }
.above-bar { margin: 0; background: var(--accent-soft); border-bottom: 1px solid var(--line); font-weight: 700; font-size: .8rem; color: var(--ink-2); }
.above-bar .frame { display: flex; justify-content: center; align-items: center; min-height: 36px; gap: 18px; }
.above-links a { color: inherit; text-decoration: none; }

/* ?? ?????: ??????? ?? ??????, ???? ??? ??? ?????????????????????????????????????????????????? */
.masthead { position: relative; z-index: 40; background: var(--paper); transition: transform .25s ease; }
.hdr-sticky-always .masthead, .hdr-sticky-smart .masthead { position: sticky; top: 0; }
.masthead.is-hidden { transform: translateY(-100%); }
.bg-surface { background: var(--surface); }
.bg-accent { background: var(--accent-color); color: var(--on-accent); }
.bg-accent a, .bg-accent .tool { color: var(--on-accent); }
.bg-accent .vine-line { background: var(--on-accent); }
.bg-accent :focus-visible { outline-color: var(--on-accent); }
.masthead-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px; min-height: var(--bar-h); }
.masthead-row .brand { justify-self: center; min-width: 0; }
.drawer-share, .drawer-cta { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 22px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; font: 700 1.05rem var(--font-serif); text-decoration: none; }
.drawer-cta { color: var(--accent-ink); }
@media (max-width: 639px) { .head-cta { display: none; } }
@media (max-width: 479px) { .masthead-row .js-share-btn { display: none; } .brand-name { font-size: 1.12rem; } .brand .leaf-mark { width: 30px; height: 30px; } .brand { gap: 7px; } }
.slot { display: flex; align-items: center; gap: 2px; }
.slot-end { justify-content: flex-end; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-serif); font-weight: 700; }
.brand .leaf-mark { color: var(--accent-ink); }
.bg-accent .brand, .bg-accent .brand .leaf-mark { color: var(--on-accent); }
.brand-name { font-size: 1.35rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.brand-logo { height: var(--logo-h); width: auto; }
.menubar, .mainmenu { display: none; }
.vine-line { display: block; height: 14px; background: var(--accent-color); opacity: .55; -webkit-mask: var(--vine) repeat-x center / 120px 14px; mask: var(--vine) repeat-x center / 120px 14px; }
.vine-short { width: 160px; margin: 14px 0 22px; -webkit-mask-size: 160px 14px; mask-size: 160px 14px; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: left center; mask-position: left center; }
.head-cta { min-height: 42px; margin-left: 8px; }

.menu-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; list-style: none; margin: 0; padding: 0; }
.menu-entry { position: relative; }
.mainmenu a, .rest-btn {
    display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: var(--pill);
    color: var(--ink); text-decoration: none; font-weight: 800; font-size: .92rem; line-height: 1.2; white-space: nowrap;
}
.rest-btn { background: none; border: 0; }
.mainmenu a:hover, .rest-btn:hover { background: var(--accent-soft); color: var(--accent-ink); }
.mainmenu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 -2px 0 var(--terra); }
.bg-accent .mainmenu a, .bg-accent .rest-btn { color: var(--on-accent); }
.bg-accent .mainmenu a:hover { background: color-mix(in srgb, var(--on-accent) 16%, transparent); color: var(--on-accent); }
.dropdown { position: absolute; left: 0; top: 100%; z-index: 60; display: none; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-float); }
.dropdown-end { left: auto; right: 0; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { display: block; }
.mainmenu .dropdown a, .bg-accent .mainmenu .dropdown a { display: flex; white-space: normal; color: var(--ink); border-radius: var(--radius-sm); }
.mainmenu .dropdown a:hover { background: var(--accent-soft); color: var(--accent-ink); }

@media (min-width: 1024px) {
    .burger { display: none; }
    .hdr-minimal .burger { display: inline-flex; }
    .masthead-row { min-height: 78px; grid-template-columns: 1fr auto 1fr; gap: 0; }
    .hdr-center .menubar { display: block; padding-bottom: 6px; }
    .hdr-center .mainmenu, .hdr-split .mainmenu, .hdr-strip .mainmenu { display: block; }
    .hdr-split .masthead-row, .hdr-strip .masthead-row { display: flex; gap: 28px; }
    .hdr-split .mainmenu, .hdr-strip .mainmenu { margin-left: auto; min-width: 0; }
    .hdr-split .menu-list, .hdr-strip .menu-list { flex-wrap: nowrap; justify-content: flex-end; }
    .hdr-strip .masthead-row { min-height: 60px; }
    .hdr-strip .brand-name { font-size: 1.15rem; }
}

/* ???? ?????? (???? ???????? ? ?????????) */
.chipbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.chipbar-track { display: flex; gap: 8px; overflow-x: auto; padding-top: 8px; padding-bottom: 10px; scrollbar-width: none; }
.chipbar-track::-webkit-scrollbar { display: none; }
.chipbar a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 800; font-size: .86rem; white-space: nowrap; }
.chipbar a:hover { border-color: var(--accent-color); color: var(--accent-ink); }
.chipbar a[aria-current="page"] { background: var(--accent-color); border-color: var(--accent-color); color: var(--on-accent); }
@media (min-width: 1024px) { .chipbar-extra { display: none; } }

/* ??????? ???? */
.scrim { position: fixed; inset: 0; z-index: 95; background: var(--shade); }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 96; display: flex; flex-direction: column; width: min(88vw, 380px);
    background: var(--surface); color: var(--ink); border-left: 1px solid var(--line-strong); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
.menu-mobile-full .drawer { width: 100%; border: 0; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 8px 22px; border-bottom: 1px solid var(--line); }
.drawer-cap { font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-ink); }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a { display: block; padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 700 1.05rem var(--font-serif); }
.drawer-links a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }
.drawer-kids a { padding-left: 40px; font: 600 .95rem var(--font-sans); }
.drawer-group { display: block; padding: 18px 22px 6px; font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.drawer-social { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 10px 22px 0; }
.drawer-social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-weight: 700; }
.drawer-note { margin: auto 0 0; padding: 20px 22px; font-size: .8rem; color: var(--muted-ink); }

/* ?? ?????? ??????? ?????????????????????????????????????????????????????????????????????????? */
.shell { padding: calc(1.5rem * var(--density, 1)) 0 calc(3rem * var(--density, 1)); }
.shell.home { padding-top: 0; }
.duo { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .duo { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.duo-main, .aside { min-width: 0; }
.block { margin-top: var(--block); }
.section-title { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: calc(1.55rem * var(--h-scale)); }
.section-title::after { content: ""; flex: 1; min-width: 24px; height: 14px; background: var(--accent-color); opacity: .4; -webkit-mask: var(--vine) repeat-x left center / 120px 14px; mask: var(--vine) repeat-x left center / 120px 14px; }
.section-count { color: var(--terra-ink); font-weight: 600; font-size: .85em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 14px; padding-top: 18px; font-size: .84rem; font-weight: 600; color: var(--muted-ink); }
.crumbs a { display: inline-flex; align-items: center; min-height: 26px; color: var(--muted-ink); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.empty { padding: 30px 26px; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink-2); }
.empty strong { display: block; margin-bottom: 4px; font: 700 1.15rem var(--font-serif); color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 800; font-size: .92rem; }
.pill:hover { border-color: var(--accent-color); color: var(--accent-ink); }
.more-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 800; font-size: .9rem; color: var(--accent-ink); text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ????? ???????: ???????, ???, ?????, ?????, 404 */
.topic { position: relative; margin: 0 0 40px; padding-bottom: 26px; }
.topic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--accent-color); opacity: .45; -webkit-mask: var(--vine) repeat-x left center / 120px 14px; mask: var(--vine) repeat-x left center / 120px 14px; }
.topic-kind { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: var(--pill); background: var(--terra-soft); color: var(--terra-ink); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.topic-title { font-size: calc(clamp(1.9rem, 5vw, 3rem) * var(--h-scale)); line-height: 1.12; letter-spacing: -.015em; }
.topic-mark { margin-right: 2px; color: var(--terra); }
.topic-lead { max-width: 660px; margin: 12px 0 0; font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); }
.topic-facts { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 20px 0 0; }
.topic-facts div { margin: 0; }
.topic-facts dt { font-weight: 800; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.topic-facts dd { margin: 0; font: 700 1.25rem/1.2 var(--font-serif); }
.topic-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; }
.topic-chips-cap { font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.topic-chips ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topic-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 800; font-size: .88rem; }
.topic-chips a:hover { border-color: var(--accent-color); color: var(--accent-ink); }
.topic-chips b { color: var(--terra-ink); }
.person { display: grid; gap: 20px; }
.person-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 12px 0 0; }
.person-links a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 800; }
@media (min-width: 640px) { .person { grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; } }
.face { display: block; flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.face-letter { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); border: 2px solid color-mix(in srgb, var(--accent-color) 30%, var(--line)); font: 700 1.6rem var(--font-serif); }
.face-xl { width: 112px; height: 112px; font-size: 2.8rem; }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts-list li { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.facts-list small { display: block; color: var(--muted-ink); }
.cases { display: grid; gap: 16px; }
.case-result { font-weight: 800; margin: 8px 0 0; }

/* ?? ???????: ?????????? ? ????????? ????????????????????????????????????????????????????????? */
.intro { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--accent-soft), transparent 90%); }
.intro-grid { position: relative; display: grid; padding-top: 34px; padding-bottom: 38px; }
.intro-text { position: relative; z-index: 1; max-width: 640px; }
.intro-season { display: inline-block; margin: 0 0 10px; padding: 4px 14px; border-radius: var(--pill); background: var(--terra-soft); color: var(--terra-ink); font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.intro-title { font-size: calc(clamp(2.3rem, 7vw, 4rem) * var(--h-scale)); line-height: 1.04; letter-spacing: -.02em; }
.intro-lead { margin: 14px 0 0; font-size: clamp(1.05rem, 2.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.intro-branch { display: none; }
@media (min-width: 860px) {
    .intro-grid { padding-top: 50px; padding-bottom: 54px; }
    .intro-branch { display: block; position: absolute; right: 28px; top: 14px; bottom: 6px; width: min(46%, 470px); background: var(--accent-color); opacity: .5; -webkit-mask: var(--branch) no-repeat right center / contain; mask: var(--branch) no-repeat right center / contain; }
}
.calendar { margin: 40px 0 6px; }
.calendar-head { display: grid; gap: 14px; margin-bottom: 22px; }
.calendar-head .section-title { margin: 0; }
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.season { padding: 8px 6px 9px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-align: center; }
.season.is-now { border-color: var(--accent-color); background: var(--accent-soft); }
.season-name { display: block; font: 700 .82rem var(--font-serif); }
.season-months { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 7px; font-weight: 700; font-size: .66rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .02em; }
.season-months .is-today { color: var(--paper); background: var(--terra-ink); border-radius: var(--pill); padding: 0 6px; }
@media (min-width: 900px) {
    .calendar-head { grid-template-columns: auto minmax(0, 420px); justify-content: space-between; align-items: center; }
    .season-name { font-size: .9rem; }
    .season-months { font-size: .72rem; gap: 0 10px; }
}
.beds { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); list-style: none; margin: 0; padding: 0; }
.bed {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 18px 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); overflow: hidden;
}
.bed::before {   /* ?????????: ???????-?????? ?????? */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
    background: repeating-linear-gradient(90deg, var(--accent-color) 0 14px, transparent 14px 20px); opacity: .55;
}
.bed:hover { border-color: var(--accent-color); }
.bed-link { display: flex; flex-direction: column; gap: 3px; color: var(--ink); text-decoration: none; }
.bed-link::after { content: ""; position: absolute; inset: 0; }   /* ??? ?????? ??????????? */
.bed-name { font: 700 1.05rem/1.28 var(--font-serif); }
.bed-link:hover .bed-name { color: var(--accent-ink); }
.bed-count { font-weight: 800; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--terra-ink); }
.bed-last { position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-strong); color: var(--ink-2); font-size: .86rem; line-height: 1.4; text-decoration: none; }
.bed-last:hover { color: var(--accent-ink); text-decoration: underline; }
.home .duo { margin-top: var(--block); }
@media (max-width: 719px) {
    .beds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .bed { padding: 18px 14px 14px; }
    .bed-name { font-size: .95rem; }
    .bed-last { display: none; }
}

/* ?? ?????? ? ?????? ????????????????????????????????????????????????????????????????????????? */
.feed { display: grid; }
.feed-ad { padding: 12px 0; }
.entry { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 2px dotted var(--line-strong); }
.entry:first-child { padding-top: 4px; }
.entry-thumb { display: block; width: 88px; height: 88px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.entry-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.entry-tile {   /* ??? ???????: ?????? ? ?????, ??? ????????-???????? */
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: var(--radius);
    background: var(--accent-soft); border: 1.5px solid color-mix(in srgb, var(--accent-color) 22%, var(--line)); color: var(--accent-ink); overflow: hidden;
}
.entry-tile::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 7px; height: 4px; background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px); opacity: .4; }
.entry-tile b { font: 700 1.9rem/1 var(--font-serif); }
.entry-tile span { margin-top: 2px; font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-ink); }
.entry-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 0; }
.tagline { display: inline-flex; align-items: center; min-height: 26px; color: var(--terra-ink); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.tagline:hover { color: var(--accent-ink); text-decoration: underline; }
.tagline-lg { min-height: 30px; font-size: .78rem; }
.entry-flag { padding: 2px 10px; border-radius: var(--pill); background: var(--accent-color); color: var(--on-accent); font-weight: 800; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.entry-date-sm { font-size: .8rem; font-weight: 600; color: var(--muted-ink); }
.entry-title { margin: 0; font-size: calc(1.14rem * var(--h-scale)); line-height: 1.28; }
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a::after { content: ""; position: absolute; inset: 0; }   /* ??? ?????? ??????????? */
.entry-title a:hover { color: var(--accent-ink); }
.entry-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.entry-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin: 0; font-size: .8rem; font-weight: 600; color: var(--muted-ink); }
.entry-by, .entry-foot a { position: relative; z-index: 1; }
.entry-by { display: inline-flex; align-items: center; min-height: 26px; color: var(--ink-2); text-decoration: none; }
.entry-by:hover { color: var(--accent-ink); text-decoration: underline; }
.entry-score { display: inline-flex; align-items: center; gap: 4px; }
.entry-score .icon { color: var(--terra); }
.entry-meta .tagline { position: relative; z-index: 1; }
.entry-when { display: none; }
.entry.is-flagged { margin: 6px 0; padding: 18px 14px; border: 1.5px solid color-mix(in srgb, var(--accent-color) 35%, var(--line)); border-radius: var(--radius); background: var(--accent-soft); }
.entry.is-flagged + .entry { border-top: 0; }
@media (min-width: 720px) {
    .entry { grid-template-columns: 128px minmax(0, 1fr) 92px; gap: 22px; padding: 24px 0; }
    .entry-bare { grid-template-columns: 128px minmax(0, 1fr); }
    .entry-thumb, .entry-tile { width: 128px; height: 128px; }
    .entry-tile b { font-size: 2.6rem; }
    .entry-tile span { font-size: .78rem; }
    .entry-tile::after { bottom: 10px; }
    .entry-date-sm { display: none; }
    .entry-title { font-size: calc(1.3rem * var(--h-scale)); }
    .entry-text { font-size: 1rem; -webkit-line-clamp: 3; }
    .entry-when { display: block; text-align: right; font-weight: 700; font-size: .9rem; color: var(--ink-2); line-height: 1.25; }
    .entry-when b { font: 700 1.6rem/1 var(--font-serif); color: var(--terra-ink); }
    .entry-when span { display: block; font-size: .78rem; color: var(--ink-2); font-weight: 600; }
    .entry.is-flagged { margin: 8px -20px; padding: 22px 20px; }
}

/* ???????? */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 34px 0 6px; }
.pager-cell-end { text-align: right; }
.pager-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px; border: 1.5px solid var(--line-strong); border-radius: var(--btn-radius); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 800; font-size: .92rem; }
.pager-btn:hover { border-color: var(--accent-color); color: var(--accent-ink); }
.pager-count { font-weight: 700; font-size: .86rem; color: var(--muted-ink); text-align: center; }
.pager-count b { color: var(--ink); }

/* ??????? ??????? ??????? */
.aside { display: grid; gap: 22px; align-content: start; }
.top { padding: 20px 20px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); }
.top-cap { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--accent-color); font: 700 1.05rem var(--font-serif); }
.top-list { counter-reset: rk; list-style: none; margin: 0; padding: 0; }
.top-list li { counter-increment: rk; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 8px; padding: 12px 0; border-top: 1px dotted var(--line-strong); }
.top-list li:first-child { border-top: 0; }
.top-list li::before { content: counter(rk); grid-row: span 2; font: 700 1.3rem/1.2 var(--font-serif); color: var(--terra); }
.top-list a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: .95rem; line-height: 1.35; }
.top-list a:hover { color: var(--accent-ink); text-decoration: underline; }
.top-list small { color: var(--muted-ink); font-size: .78rem; font-weight: 600; }
.rubric-index { list-style: none; margin: 0; padding: 0; }
.rubric-index a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dotted var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.rubric-index li:first-child a { border-top: 0; }
.rubric-index a:hover span { color: var(--accent-ink); }
.rubric-index b { color: var(--terra-ink); }
.block > .top { box-shadow: none; }
@media (min-width: 768px) { .block > .top .top-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; } .block > .top .top-list li:nth-child(2) { border-top: 0; } }

/* ?? ??????: ????? ??????? ?? ?????? ????????????????????????????????????????????????????????? */
.story-grid { display: block; }
.story { min-width: 0; max-width: var(--content-width); margin: 0 auto; }
.story-margin { display: none; }
.story-head { margin-bottom: 22px; }
.story-title { margin: 10px 0 14px; font-size: calc(clamp(1.9rem, 5.2vw, 2.7rem) * var(--h-scale)); line-height: 1.15; letter-spacing: -.012em; overflow-wrap: break-word; }
.story-lead { margin: 0 0 18px; font-size: clamp(1.1rem, 2.3vw, 1.28rem); line-height: 1.55; color: var(--ink-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; padding-top: 14px; border-top: 2px dotted var(--line-strong); font-size: .88rem; font-weight: 600; color: var(--muted-ink); }
.byline-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.byline-name { display: inline-flex; align-items: center; min-height: 28px; color: var(--ink); font-weight: 800; text-decoration: none; }
.byline-name:hover { color: var(--accent-ink); text-decoration: underline; }
.article-cover { margin: 26px 0 28px; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-float); }
.article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; }
.sentinel { height: 1px; }
.after-story { margin-top: 12px; }
.memo { margin: 0 0 26px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.memo-title { margin: 0 0 12px; font: 800 .78rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra-ink); }
.memo-key { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent-color) 28%, var(--line)); }
.memo > p:last-child { margin-bottom: 0; }
.sprig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sprig-list li { position: relative; padding-left: 26px; line-height: 1.55; }
.sprig-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; background: var(--accent-color); border-radius: 0 100% 0 100%; }

.toc { margin: 0 0 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.toc summary { list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 18px; cursor: pointer; }
.toc-title { font: 700 1rem var(--font-serif); }
.toc-title small { margin-left: 8px; font: 600 .78rem var(--font-sans); color: var(--muted-ink); white-space: nowrap; }
.toc-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .8rem; color: var(--accent-ink); }
.toc-switch .icon { transition: transform .2s; }
.toc details[open] .toc-switch .icon { transform: rotate(180deg); }
.when-open { display: none; }
.toc details[open] .when-open { display: inline; }
.toc details[open] .when-shut { display: none; }
.toc-items { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 1px; }
.toc-items a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 10px 10px; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .9rem; line-height: 1.35; }
.toc-items a:hover { background: var(--paper-2); color: var(--ink); }
.toc-items a.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.lvl-3 a { padding-left: 22px; }
.lvl-4 a { padding-left: 36px; font-weight: 600; }
.toc-no { min-width: 1.8em; font-style: normal; color: var(--terra-ink); }
@media (min-width: 1260px) {
    .story-grid { max-width: 1400px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--content-width)) minmax(0, 1fr); column-gap: 44px; }
    .story { grid-column: 2; grid-row: 1; margin: 0; width: 100%; }
    .story-margin { display: block; grid-column: 1; grid-row: 1; justify-self: end; width: 100%; max-width: 270px; }
    .story-margin .toc { position: sticky; top: 92px; margin-top: 150px; max-height: calc(100vh - 120px); overflow-y: auto; border-radius: var(--radius); }
    .story-margin .toc-items a { padding: 6px 8px; font-size: .84rem; }
    .toc-inline { display: none; }
}

/* ????? ?????? (?6.4) */
.article-body { font-family: var(--font-read); font-size: var(--read-size); line-height: var(--read-lh); overflow-wrap: break-word; }
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.2em; }
.article-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.article-body a.btn-primary { color: var(--on-accent); text-decoration: none; }
.article-body h2 { display: flex; align-items: baseline; gap: 10px; margin: 2.2em 0 .7em; font-size: calc(1.6rem * var(--h-scale)); line-height: 1.22; letter-spacing: -.005em; }
.article-body h2::before { content: ""; flex: none; width: 14px; height: 14px; transform: translateY(1px); background: var(--terra); border-radius: 0 100% 0 100%; }
.article-body h3 { margin: 1.8em 0 .55em; font-size: calc(1.25rem * var(--h-scale)); line-height: 1.28; color: var(--accent-ink); }
.article-body h4 { margin: 1.5em 0 .5em; font: 800 .9rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--terra-ink); }
.article-body ul, .article-body ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.article-body li { margin: .45em 0; padding-left: .25em; }
.article-body li::marker { color: var(--terra); font-weight: 800; }
.article-body strong, .article-body b { font-weight: 700; }
.article-body blockquote { margin: 1.8em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--terra); color: var(--ink-2); font-style: italic; }
.article-body blockquote p:last-of-type { margin-bottom: 0; }
.article-body cite { display: block; margin-top: .7em; font: 700 .86rem var(--font-sans); font-style: normal; color: var(--muted-ink); }
.article-body cite::before { content: "? "; }
.article-body .callout { margin: 1.8em 0; padding: 18px 22px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent-color) 24%, var(--line)); border-radius: var(--radius); font-family: var(--font-sans); }
.article-body .callout p:last-child { margin-bottom: 0; }
.article-body .callout-title { margin: 0 0 6px; font: 800 .78rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra-ink); }
.article-body figure { margin: 2em 0; }
.article-body figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); cursor: zoom-in; }
.article-body figcaption { margin-top: 8px; font: 600 .86rem/1.4 var(--font-sans); color: var(--muted-ink); }
.article-body figure.embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: var(--paper-2); }
.article-body img { max-width: 100%; height: auto; }
.article-body hr { height: 14px; margin: 2.4em auto; padding: 0; border: 0; background: var(--accent-color); opacity: .5; -webkit-mask: var(--vine) no-repeat center / 120px 14px; mask: var(--vine) no-repeat center / 120px 14px; }
.article-body mark { padding: 0 .2em; border-radius: 4px; background: color-mix(in srgb, var(--terra) 24%, transparent); color: inherit; }
.article-body code, .article-body kbd { padding: .1em .4em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); font: .86em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.article-body pre { margin: 1.6em 0; padding: 14px 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.article-body pre code { padding: 0; border: 0; background: none; overflow-wrap: normal; }
kbd { padding: .1em .45em; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper-2); font: 700 .85em var(--font-sans); }

/* ???????: ???? 4 ???????? ? ????????? ?????? ???????; ?? 4 ? ???????? ?? ???????? */
.table-wrap { margin: 1.8em 0; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.article-body table { width: 100%; border-collapse: collapse; font: 600 .92rem/1.45 var(--font-sans); }
.article-body table:not(.table-stack) { min-width: 560px; }
.article-body th { padding: 12px 16px; text-align: left; background: var(--accent-soft); border-bottom: 2px solid color-mix(in srgb, var(--accent-color) 40%, var(--line)); font: 800 .76rem/1.3 var(--font-sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.article-body td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.article-body tbody tr:first-child td { border-top: 0; }
@media (max-width: 639px) {
    .table-wrap:has(.table-stack) { overflow: visible; border: 0; background: none; }
    .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
    .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .table-stack tr { margin-bottom: 12px; padding: 6px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
    .article-body .table-stack td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border: 0; border-top: 1px solid var(--line); text-align: right; }
    .article-body .table-stack td:first-child { border-top: 0; }
    .table-stack td::before { content: attr(data-label); flex: 0 0 42%; font-weight: 800; color: var(--ink-2); text-align: left; }
}

/* ??????? ? ??????: ???, ??????, ????? ????????? */
.hub-line { margin: 0 0 24px; padding: 12px 18px; border-radius: var(--radius); background: var(--terra-soft); font-weight: 700; font-size: .94rem; line-height: 1.45; }
.hub-label { color: var(--ink-2); }
.hub-line a { font-weight: 800; color: var(--terra-ink); }
.flow-block { display: block; margin: 2em 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--font-sans); }
.flow-label { display: block; margin-bottom: 8px; font-weight: 800; font-size: .64rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.offer { background: var(--accent-soft); border: 2px dashed color-mix(in srgb, var(--accent-color) 50%, var(--line)); }
.offer-title { display: block; margin-bottom: 6px; font: 700 1.2rem/1.28 var(--font-serif); color: var(--ink); }
.offer-text { display: block; margin-bottom: 14px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.hook { display: flex; gap: 16px; align-items: center; border-left: 5px solid var(--terra); }
.hook-cover { flex: none; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); }
.hook-body { display: block; min-width: 0; }
.article-body a.hook-title { display: block; font: 700 1.12rem/1.4 var(--font-serif); min-height: 24px; color: var(--ink); text-decoration: none; }
.article-body a.hook-title:hover { color: var(--accent-ink); text-decoration: underline; }
.hook-excerpt { display: block; margin-top: 4px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 479px) { .hook-cover { width: 72px; height: 72px; } }
.ad-rsy { margin: 2rem 0; }

.faq { margin-top: var(--block); }
.faq-item { margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 20px; font: 700 1.02rem/1.35 var(--font-serif); cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 16px; height: 16px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--terra); transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.65; }

.feedback { display: grid; gap: 12px; margin-top: var(--block); }
.rate { padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rate-title { margin: 0 0 4px; font: 700 1.05rem var(--font-serif); }
.rate-stars { display: flex; margin-left: -10px; }
.star { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--line-strong); }
.star .icon { width: 28px; height: 28px; }
.star.is-hover, .star.is-on { color: var(--terra); }
.rate-stars.is-locked .star { cursor: default; }
.rate-sum { margin: 0; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.typo-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }

.writer { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; margin-top: var(--block); padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.writer-text { min-width: 0; }
.writer-role { margin: 0 0 2px; font-weight: 800; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-ink); }
.writer-name { display: inline-flex; align-items: center; min-height: 30px; font: 700 1.2rem var(--font-serif); color: var(--ink); text-decoration: none; }
.writer-name:hover { color: var(--accent-ink); text-decoration: underline; }
.writer-bio { margin: 6px 0 4px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.author-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; padding: 14px 18px; border: 2px dashed var(--line-strong); border-radius: var(--radius); font-family: var(--font-sans); }
.author-cta .flow-label { margin: 0; }
.author-cta-text { flex: 1 1 200px; font-weight: 700; }

.share { margin-top: var(--block); }
.share-cap { margin: 0 0 10px; font: 800 .74rem var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: var(--btn-radius); font-weight: 800; font-size: .88rem; text-decoration: none; }
.share-btn:hover, .share-btn.is-copied { border-color: var(--accent-color); color: var(--accent-ink); }
.share-abbr { font-weight: 800; font-size: .72rem; }
.hashtags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hashtag { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: var(--terra-soft); border-radius: var(--pill); color: var(--terra-ink); text-decoration: none; font-weight: 800; font-size: .84rem; }
.hashtag:hover { background: var(--terra); color: var(--on-accent); }
.more-row { margin-top: 28px; text-align: center; }

.leaf { padding-bottom: 12px; }
.leaf-title { font-size: calc(clamp(1.9rem, 5vw, 2.7rem) * var(--h-scale)); line-height: 1.14; }
.leaf-lead { font-size: 1.15rem; color: var(--ink-2); }
.leaf-updated { margin-top: 2.6rem; font-size: .85rem; color: var(--muted-ink); }
.contact-text { margin: 0 0 8px; }


/* ?? ?????? ?????????????????????????????????????????????????????????????????????????????????? */
.grounds { position: relative; margin-top: var(--block); padding-top: 52px; background: var(--surface); border-top: 1px solid var(--line); }
.vine-top { position: absolute; left: 0; right: 0; top: 14px; }
.grounds.bg-page { background: var(--paper); }
.grounds.bg-dark { background: color-mix(in srgb, var(--ink) 92%, var(--accent-color)); color: var(--paper); border-top: 0; }
.grounds.bg-dark .vine-top { background: color-mix(in srgb, var(--accent-color) 60%, var(--on-accent)); }
.grounds.bg-accent { background: var(--accent-color); color: var(--on-accent); border-top: 0; }
.grounds.bg-accent .vine-top { background: var(--on-accent); }
.bg-dark a, .grounds.bg-accent a { color: inherit; }
.grounds.bg-dark .brand .leaf-mark { color: color-mix(in srgb, var(--accent-color) 55%, var(--on-accent)); }
.grounds.bg-dark .brand, .grounds.bg-accent .brand, .grounds.bg-accent .brand .leaf-mark { color: inherit; }
.grounds-cols { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grounds-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-1 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) {
    .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cols-4 { grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; }
    .cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.grounds-about p { max-width: 40ch; margin: 14px 0 0; font-size: .95rem; line-height: 1.6; color: inherit; }
.foot-cap { margin: 0 0 12px; font: 800 .74rem var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: inherit; }
.foot-links { display: grid; list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 36px; color: inherit; text-decoration: none; font-weight: 700; font-size: .92rem; }
.grounds:not(.bg-dark):not(.bg-accent) .foot-links a { color: var(--ink); }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.grounds-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 34px; padding: 20px 0 26px; border-top: 1px dotted color-mix(in srgb, currentColor 30%, transparent); font-weight: 600; font-size: .84rem; }
.grounds-bottom p { margin: 0; align-self: center; }
.foot-inline { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-inline a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 700; font-size: .86rem; }

/* ?? Cookie, ??????, ???????? ???????, ???? ?????????????????????????????????????????????????? */
.cookie-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; padding: 12px 16px; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line-strong); font-weight: 600; font-size: .9rem; line-height: 1.4; }
.cookie-bar p { margin: 0; }
.cookie-bar .btn { min-height: 44px; }
.cookie-corner .cookie-bar { left: auto; right: 16px; bottom: 16px; max-width: 360px; flex-direction: column; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-float); }
#reading-progress-bar { position: fixed; top: 0; left: 0; z-index: 100; width: 0; height: 4px; background: linear-gradient(90deg, var(--accent-color), var(--terra)); pointer-events: none; }
#back-to-top-btn { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 50%; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
#back-to-top-btn.btn-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
#next-article-toast { position: fixed; left: 16px; bottom: 16px; z-index: 56; max-width: 330px; padding: 16px 48px 16px 18px; background: var(--surface); border: 1px solid var(--line-strong); border-left: 5px solid var(--terra); border-radius: var(--radius); box-shadow: var(--shadow-float); transform: translateY(140%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
#next-article-toast.toast-visible { transform: none; visibility: visible; transition: transform .3s ease; }
#toast-close-btn { position: absolute; top: 2px; right: 2px; }
.toast-cap { display: block; margin-bottom: 4px; font-weight: 800; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.toast-link { font: 700 .98rem/1.3 var(--font-serif); color: var(--ink); text-decoration: none; }
.toast-link:hover { color: var(--accent-ink); text-decoration: underline; }
@media (max-width: 639px) { #next-article-toast { left: 12px; right: 12px; max-width: none; bottom: 12px; } }
.copy-toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; padding: 10px 22px; background: var(--ink); color: var(--paper); border-radius: var(--pill); font-weight: 800; font-size: .9rem; opacity: 0; transform: translate(-50%, 30px); transition: opacity .25s, transform .25s; pointer-events: none; }
.copy-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

dialog.dialog { width: calc(100% - 32px); max-width: 540px; padding: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
dialog::backdrop { background: var(--shade); }
.typo-form { display: grid; gap: 16px; padding: 22px; }
.typo-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.typo-head { font-size: 1.3rem; }
.typo-foot { display: flex; flex-wrap: wrap; gap: 12px; }

dialog.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--shade-deep); color: var(--on-accent); }
dialog.lightbox[open] { display: flex; flex-direction: column; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 16px; font-weight: 700; font-size: .9rem; }
.lightbox-stage { position: relative; display: flex; flex: 1; align-items: center; justify-content: center; min-height: 0; padding: 0 56px; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--on-accent) 14%, transparent); color: var(--on-accent); }
.lightbox-btn:hover { background: color-mix(in srgb, var(--on-accent) 26%, transparent); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 6px; }
.lightbox-next { right: 6px; }
.lightbox-caption { min-height: 1.5em; margin: 0; padding: 12px 16px 16px; text-align: center; font-weight: 600; font-size: .9rem; }
.lightbox-spinner { display: none; position: absolute; width: 32px; height: 32px; border: 3px solid color-mix(in srgb, var(--on-accent) 30%, transparent); border-top-color: var(--on-accent); border-radius: 50%; animation: spin .8s linear infinite; }
.lightbox.is-loading .lightbox-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ???-??????: ???? ??????? ?? ?????? 44 px */
@media (pointer: coarse) {
    .tagline, .crumbs a, .entry-by, .byline-name, .writer-name, .hashtag, .rubric-index a, .foot-links a, .top-list a, .drawer-social a, .bed-last, .person-links a { min-height: 44px; }
    .crumbs a, .top-list a, .bed-last, .tagline, .entry-by, .byline-name { display: inline-flex; align-items: center; }
    .bed-last { display: flex; }
}
.bg-accent .head-cta { background: var(--on-accent); color: var(--accent-ink); border-color: var(--on-accent); }

/* ?????????? ??? ??????? */
.talk { margin-top: var(--block); padding-top: 22px; border-top: 2px dotted var(--line-strong); }
.talk-top { display: flex; align-items: baseline; gap: 10px; }
.talk-head { margin: 0; font-size: calc(1.4rem * var(--h-scale)); }
.talk-total { color: var(--terra-ink); font-weight: 800; }
.talk-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.talk-item { padding: 14px 18px; border-left: 4px solid var(--accent-color); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-soft); }
.talk-who { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-weight: 800; }
.talk-when { font-weight: 600; font-size: .84rem; color: var(--muted-ink); }
.talk-text { margin-top: 6px; overflow-wrap: anywhere; }
.talk-flash { margin: 18px 0 0; padding: 12px 18px; border-radius: var(--radius); border: 1.5px solid var(--accent-color); background: var(--accent-soft); font-weight: 700; }
.talk-flash.is-failed { border-color: var(--danger); background: transparent; color: var(--danger); }
.talk-form { margin-top: 22px; }
.talk-set { display: grid; gap: 16px; margin: 0; padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); min-width: 0; }
.talk-legend { padding: 0 8px; font: 700 1.05rem var(--font-serif); }
.talk-row { display: grid; gap: 6px; min-width: 0; }
.talk-label, .typo-label { font-weight: 800; font-size: .9rem; }
.talk-label small, .typo-label small { font-weight: 500; color: var(--muted-ink); }
.talk-input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--font-sans); }
textarea.talk-input { resize: vertical; }
.talk-input:focus-visible { outline-offset: 0; border-color: var(--accent-color); }
.talk-input[aria-invalid="true"] { border-color: var(--danger); }
.talk-send { justify-self: start; }
@media (min-width: 720px) { .talk-set { grid-template-columns: 1fr 1fr; } .talk-legend, .talk-row-wide, .talk-send { grid-column: 1 / -1; } }
.typo-pair { display: grid; gap: 6px; }

/* ?????????????? ??????? KaTeX */
.katex {
    font-size: 1.08em;
    line-height: 1.2;
    text-rendering: auto;
}
.katex-display {
    display: block;
    margin: 1.5rem 0;
    padding: 1.15rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm, 12px);
    box-shadow: 0 2px 8px -2px rgba(40, 30, 20, 0.05);
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
}
.katex-display > .katex {
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}
.katex-display::-webkit-scrollbar {
    height: 6px;
}
.katex-display::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px;
}


