/* Solid backplates keep text contrast independent of the photography. */
:root{--muted:#4f6057;--orange:#964326}
.scene-copy h1,.scene-copy h2,.scene-copy .eyebrow,.scene-copy .hero-description{width:fit-content;max-width:100%;background:rgba(8,32,28,.80);padding:8px 14px;border-radius:4px;color:#fff}
.scene-copy h1,.scene-copy h2{margin-top:16px;margin-bottom:16px}
.scene-copy .hero-description{font-size:16px;line-height:1.8}
.site-header:not(.solid){background:rgba(8,32,28,.88)}
.site-header.solid{background:#f4f1e9}
.site-header nav a:hover{opacity:1;text-decoration:underline;text-underline-offset:5px}
.journey-bottom{background:rgba(8,32,28,.88);padding:8px 14px;border-radius:4px;color:#fff}
.card-caption{background:rgba(8,32,28,.85);padding:9px 13px;border-radius:3px}
.save-button{background:#193d35;border-color:#fff}
.save-button.saved{background:#f4f1e9;border-color:#193d35}
.slow-photo span{background:rgba(8,32,28,.85);padding:10px;font-size:12px}
.slow-signature{color:var(--muted)}
.eyebrow,.dark,.scene-copy .eyebrow{font-size:12px;letter-spacing:1.6px}
.field-help,.editor-hint,.article-meta,.article-update,.affiliate-disclosure,.card-meta,.preview-note,.footer-small,.post-list-item small,.post-status{font-size:12px!important;line-height:1.7}
.search-bar label span,.category-badge,.journal-date,.breadcrumbs,.article-toc a,.editor-layout .text-button{font-size:12px}
.editor-layout input,.editor-layout textarea,.editor-layout select,.editor-brief textarea,.blog-search input{font-size:16px;border-color:#6c7c72}
input::placeholder,textarea::placeholder{color:#59675f;opacity:1}
.mood,.journal-categories a,.shortlist-button,.solid .shortlist-button{border-color:#6c7c72}
.site-header:not(.solid) .shortlist-button{border-color:#fff}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #193d35;outline-offset:3px;box-shadow:0 0 0 6px #fff}
.auth-shell{max-width:720px;margin:auto;padding-top:135px;min-height:75vh}
.auth-shell h1{font:clamp(44px,6vw,68px)/1.05 var(--serif);margin:22px 0}
.auth-shell p{line-height:1.8;color:var(--muted);margin:14px 0}
.auth-shell a:not(.primary-button):not(.yandex-button){text-decoration:underline;text-underline-offset:4px}
.auth-form{display:grid;gap:18px;margin-top:24px}
.auth-form label{display:grid;gap:8px;font-size:15px}
.auth-form input{width:100%;font:16px/1.5 var(--sans);padding:13px;border:1px solid #6c7c72;background:#fffdf9;color:var(--ink);border-radius:3px}
.auth-form .primary-button{justify-content:center;font-size:15px;min-height:48px}
.auth-form .field-help{margin:0}
.auth-links{display:flex;gap:20px;flex-wrap:wrap;margin:26px 0}
.auth-divider{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:13px;margin-top:28px}
.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#6c7c72;flex:1}
.yandex-button{display:flex;gap:14px;align-items:center;justify-content:center;width:100%;min-height:52px;background:#1d1d1f;color:white;font-size:16px;border:0;border-radius:4px;margin-top:26px}
.yandex-button span{background:#d00000;color:white;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:22px}
.yandex-button:disabled{opacity:1;background:#525252;color:#fff;cursor:not-allowed}
.auth-switch{font-size:14px;text-align:center}
.auth-details{margin-top:30px;border-top:1px solid #6c7c72;padding-top:20px}
.auth-details summary{font-size:16px;line-height:1.6;cursor:pointer}
.auth-message{padding:18px;background:#e3e9dc;color:#193d35;border:1px solid #6c7c72;line-height:1.7}
.owner-panel{margin-top:45px;padding-top:35px;border-top:1px solid #6c7c72}
.owner-panel h2{font:40px var(--serif)}
.owner-panel ol{padding-left:22px;line-height:1.9}
.owner-panel li{margin:14px 0}
.owner-panel code{display:block;overflow-wrap:anywhere;font-size:13px;background:#e7e9dd;padding:12px}
@media(max-width:700px){.site-header nav a.account-link{display:block;font-size:11px}.site-header nav{gap:10px}.site-header .wordmark{font-size:24px;letter-spacing:3px;gap:5px}.site-header .wordmark svg{width:23px}.scene-copy{padding-left:6%;padding-right:6%}.scene-copy h1,.scene-copy h2{font-size:clamp(44px,11.7vw,66px)}.scene-copy .eyebrow{font-size:10px}.journey-bottom{left:4%;right:4%;font-size:8px}.auth-shell{padding-top:110px}.article-prose{font-size:16px}.site-header .account-link{min-height:40px;align-content:center}.scene-copy .hero-description{font-size:14px}.card-caption{left:15px;right:15px}}

/* --- Правки вёрстки ---
   Поля .section-shell растут вместе с экраном (до 210px с каждой стороны), а ширина блока была задана
   вместе с полями — на широком мониторе форме входа оставалось около 300px, заголовку статьи — 880px. */
.auth-shell{max-width:none;padding-left:max(6%,calc((100vw - 640px)/2));padding-right:max(6%,calc((100vw - 640px)/2))}
.article-heading{max-width:none;padding-left:max(6.7%,calc((100vw - 1370px)/2));padding-right:max(6.7%,calc((100vw - 1370px)/2))}
.article-heading h1{max-width:1120px}
@media(max-width:700px){
  .article-heading{padding-left:6%;padding-right:6%}
  /* на телефоне вход остаётся кнопкой справа, в строке меню он не помещается */
  .journal-header nav a.account-link{display:none}
}

/* Vector arrows never enter the platform emoji font. */
svg.ui-arrow{display:inline-block;width:1.1em;height:1.1em;min-width:1.1em;flex-shrink:0;vertical-align:-.16em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.scroll-icon svg.ui-arrow{width:16px;height:16px}
