/*
 * FMAN720 / ALGO LOG — an Anthropic-inspired personal notebook.
 * Original layouts and geometric drawing; all fonts are local fallbacks.
 */
:root,
[data-theme="light"],
[data-theme="dark"] {
  color-scheme: light;
  --log-paper: #faf9f5;
  --log-ink: #24231f;
  --log-rule: #deddd4;
  --log-muted: #69685f;
  --log-sans: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --log-serif: Georgia, "Times New Roman", "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --log-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --efu-main: #a04b35;
  --efu-theme: #a04b35;
  --efu-fontcolor: var(--log-ink);
  --efu-secondtext: var(--log-muted);
  --efu-background: var(--log-paper);
  --efu-card-bg: var(--log-paper);
  --efu-secondbg: #eeece2;
  --efu-lighttext: #46463f;
  --efu-white: #faf9f5;
  --efu-black: #24231f;
  --efu-main-op: rgba(160, 75, 53, .1);
  --efu-main-op-deep: rgba(160, 75, 53, .82);
  --efu-maskbg: rgba(250, 249, 245, .96);
  --efu-maskbgdeep: rgba(250, 249, 245, .98);
  --style-border: 1px solid var(--log-rule);
  --style-border-always: 1px solid var(--log-rule);
  --style-border-hover: 1px solid #a04b35;
  --efu-navbg: var(--log-paper);
  --efu-code-bg: #f0eee5;
  --efu-code-color: #34332d;
  --radius: 4px;
}
html { background: var(--log-paper); scroll-padding-top: 100px; }
body { font-family: var(--log-sans); font-size: 16px; line-height: 1.8; }
body::before { display: none; }
*, *::before, *::after { box-sizing: border-box; }
::selection { background: #e8c5b4; color: var(--log-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--efu-main); outline-offset: 5px; }

/* A quiet wordmark, conventional navigation, and a clear reading entry point. */
#page-header.not-top-img { height: 96px; border: 0; }
#page-header #nav, #page-header.nav-fixed #nav { height: 96px; min-height: 96px; background: var(--log-paper); border-bottom: 1px solid var(--log-rule); }
#page-header #nav #nav-group { max-width: 1280px; padding: 0 48px; }
#page-header #nav #blog_name { position: relative; left: auto; flex-shrink: 0; height: auto; padding: 0; border: 0; }
#site-name { text-transform: none; }
#site-name .title { color: var(--log-ink); font-size: 19px; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
#site-name .title::before { content: none; }
#site-name > .solitude { display: none; }
#page-header #nav #site-name:hover .title { opacity: 1; color: var(--log-ink); }
#menus { margin-left: auto; }
#page-header #nav #menus { position: static; flex: 1 1 auto; justify-content: flex-end; width: auto; height: auto; margin-left: 24px; padding-right: 0 !important; transform: none; }
#page-header #nav #menus > .menus_items, #page-header.nav-fixed #nav #menus > .menus_items { top: 0; opacity: 1; transform: none; background: transparent; box-shadow: none; backdrop-filter: none; border-radius: 0; }
#menus .menus_items { gap: 12px; }
#menus .menus_item a.site-page { color: var(--log-ink); padding: 0 7px; font-size: 14px; font-weight: 400; border: 0; border-radius: 0; }
#menus .menus_item a.site-page:hover, #menus .menus_item a.site-page:hover span { color: var(--efu-main); background: transparent; border: 0; }
#page-header #nav #menus .menus_item_child { background: var(--log-paper); border: var(--style-border); border-radius: 4px; box-shadow: 0 8px 28px rgba(36, 35, 31, .08); }
#page-header #nav #nav-right, #page-header.nav-fixed #nav #nav-right { position: static; flex-shrink: 0; gap: 12px; margin-right: 0; margin-left: 24px; padding: 0; }
#page-header #nav #nav-right .nav-button a { color: var(--log-ink); border-radius: 4px; }
#page-header #nav #nav-right .nav-button a:hover { background: #eeece2; border-color: transparent; }
.log-nav-browse { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 42px; padding: 7px 18px; border-radius: 4px; background: var(--log-ink); color: var(--log-paper) !important; font-size: 13px; white-space: nowrap; transition: background .2s; }
.log-nav-browse:hover { background: #46463f; }
.log-skip-link { position: absolute; left: 16px; top: -100px; z-index: 10000; padding: 10px 18px; background: var(--log-ink); color: var(--log-paper); }
.log-skip-link:focus { position: fixed; top: 12px; }
#page-name-mask { display: none !important; }
#sidebar #sidebar-menus { background: var(--log-paper); color: var(--log-ink); }

/* Introduction: expressive serif type balanced by a short, readable statement. */
#home_top { border: 0; }
.log-masthead { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.log-folio { display: flex; justify-content: space-between; gap: 24px; padding-top: 38px; color: var(--log-muted); font-size: 10px; letter-spacing: .1em; }
.log-folio > span:last-child { letter-spacing: .04em; }
.log-masthead__body { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 76px; padding: 60px 0 68px; }
.log-kicker { margin: 0; font-family: var(--log-sans); font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: .1em; color: var(--log-muted); }
.log-masthead__intro > .log-kicker { margin-bottom: 24px; }
.log-masthead h1 { margin: 0; color: var(--log-ink); font-family: var(--log-serif); font-size: clamp(48px, 5.1vw, 72px); font-weight: 400; line-height: 1.3; letter-spacing: -.055em; }
.log-title-dot { color: var(--efu-main); }
.log-hero-caption { margin: 24px 0 0; font-family: var(--log-serif); font-size: 22px; color: var(--log-muted); letter-spacing: -.025em; }
.log-colophon { min-width: 0; padding: 16px 0 0; }
.log-description { margin: 0; font-size: 17px; line-height: 1.9; color: #46463f; }
.log-masthead__actions { display: flex; align-items: center; gap: 27px; margin-top: 26px; font-size: 13px; }
.log-masthead__actions a { color: var(--log-ink); }
.log-masthead__actions a:hover { color: var(--efu-main); }
.log-masthead__actions a span { margin-left: 12px; }
.log-masthead__actions .log-browse { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 18px; border: 1px solid var(--log-ink); border-radius: 4px; }
.log-masthead__actions .log-browse:hover { background: var(--log-ink); color: var(--log-paper); }
.log-colophon__meta { margin: 26px 0 0; color: var(--log-muted); font-size: 11px; }
.log-colophon__meta > span { margin: 0 8px; }
.log-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--style-border); border-bottom: var(--style-border); }
.log-section-link { display: flex; align-items: center; gap: 17px; padding: 24px; color: var(--log-ink); transition: background .2s; }
.log-section-link:first-child { padding-left: 0; }
.log-section-link:last-child { padding-right: 0; }
.log-section-link + .log-section-link { border-left: var(--style-border); }
.log-section-link__no { align-self: flex-start; color: var(--log-muted); font-family: var(--log-mono); font-size: 11px; }
.log-section-link__body { display: grid; gap: 4px; }
.log-section-link__body small { font-size: 9px; letter-spacing: .1em; color: var(--log-muted); }
.log-section-link__body strong { font-size: 17px; font-weight: 500; }
.log-section-link__body > span { font-size: 11px; color: var(--log-muted); }
.log-arrow { margin-left: auto; color: var(--log-ink); font-size: 22px; line-height: 1; }
.log-section-link:hover { background: #f2f0e8; }
.log-section-link:hover .log-arrow { color: var(--efu-main); }

.layout#content-inner.layout--home, .layout#content-inner, .layout.layout--archive { width: min(1280px, 100%); max-width: 1280px; padding: 0 48px; }
.home-layout-row, #recent-posts { display: block; }
#recent-posts { padding: 68px 0 0; }
#recent-posts::before { display: none; }
.log-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 24px; border: 0; }
.log-section-head h2 { margin: 0; color: var(--log-ink); font-family: var(--log-serif); font-size: 30px; line-height: 1.4; font-weight: 400; letter-spacing: -.025em; }
.log-section-head > a { color: var(--log-muted); font-size: 12px; white-space: nowrap; }
.log-section-head > a:hover { color: var(--efu-main); }

/* Featured notes use soft earth tones and an original line drawing. */
.log-reading { padding-top: 64px; }
.log-reading__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; }
.log-lead { min-width: 0; padding: 30px 34px 34px; border-radius: 4px; background: #ead7cb; color: #3e332b; }
.log-lead__eyebrow { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 11px; color: #675247; }
.log-lead__eyebrow > span:first-child { color: #3e332b; }
.log-lead__body { display: grid; grid-template-columns: minmax(0, 1fr) 38%; align-items: center; gap: 18px; margin-top: 22px; }
.log-lead__text { min-width: 0; }
.log-lead h3 { margin: 0 0 18px; font-family: var(--log-serif); font-size: clamp(25px, 2.6vw, 37px); font-weight: 400; line-height: 1.4; letter-spacing: -.035em; overflow-wrap: anywhere; }
.log-lead h3 a { color: #3e332b; }
.log-lead h3 a:hover { color: #7f412f; }
.log-lead__text > p { margin: 0 0 26px; color: #675247; font-size: 13px; line-height: 1.9; }
.log-read-link { display: inline-flex; align-items: center; gap: 26px; min-height: 39px; padding: 5px 14px; border: 1px solid #7c6253; border-radius: 4px; color: #3e332b; font-size: 12px; }
.log-read-link:hover { color: var(--log-paper); background: #3e332b; }
.log-study-art { display: block; width: 100%; height: auto; color: #76533f; }
.log-reading__side { display: grid; grid-template-rows: repeat(2, 1fr); gap: 20px; }
.log-side-note { display: flex; flex-direction: column; min-width: 0; padding: 24px 28px; border-radius: 4px; background: #e5e8db; }
.log-side-note + .log-side-note { background: #e9e4ed; }
.log-side-note .log-kicker { font-size: 9px; color: #56594b; }
.log-side-note + .log-side-note .log-kicker { color: #5d5264; }
.log-side-note h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 12px 0 20px; font-family: var(--log-serif); font-size: 21px; line-height: 1.5; font-weight: 400; overflow-wrap: anywhere; }
.log-side-note h3 a { color: var(--log-ink); }
.log-side-note h3 a:hover { color: var(--efu-main); }
.log-side-note__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 11px; color: #57564f; }
.log-side-note__meta:hover { color: var(--efu-main); }

/* Category index: generous space, small labels, no nested visual chrome. */
.log-nav { padding-top: 72px; }
.log-nav__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--style-border); border-bottom: var(--style-border); }
.log-nav-card { display: flex; gap: 18px; align-items: flex-start; min-width: 0; padding: 30px 24px; color: var(--log-ink); transition: background .2s; }
.log-nav-card:nth-child(3n + 1) { padding-left: 0; }
.log-nav-card:nth-child(3n) { padding-right: 0; }
.log-nav-card:nth-child(3n + 2), .log-nav-card:nth-child(3n + 3) { border-left: var(--style-border); }
.log-nav-card:nth-child(n + 4) { border-top: var(--style-border); }
.log-nav-card__no { font-family: var(--log-mono); color: var(--log-muted); font-size: 11px; }
.log-nav-card__body { display: grid; gap: 7px; min-width: 0; }
.log-nav-card__body small { color: var(--log-muted); font-size: 9px; letter-spacing: .1em; }
.log-nav-card__body strong { color: var(--log-ink); font-size: 19px; font-weight: 500; }
.log-nav-card__body > span { color: var(--log-muted); font-size: 11px; line-height: 1.7; }
.log-nav-card:hover { background: #f2f0e8; }
.log-nav-card:hover .log-arrow { color: var(--efu-main); }

/* The archive remains a scannable list with actual dates and reading times. */
.log-section-head--entries { padding-bottom: 24px; border-bottom: 1px solid var(--log-ink); scroll-margin-top: 116px; }
.recent-post-item, .recent-post-item:hover { position: relative; width: 100%; background: transparent; border-bottom: var(--style-border); }
.recent-post-item:hover { background: #f2f0e8; }
.recent-post-item::before { position: absolute; top: 29px; left: 0; content: attr(data-entry-number); font-family: var(--log-mono); color: var(--log-muted); font-size: 11px; }
.recent-post-item::after { position: absolute; top: 25px; right: 8px; content: "↗"; color: var(--log-ink); font-size: 21px; }
.recent-post-item > .recent-post-info { grid-template-columns: 80px minmax(0, 1fr); padding: 24px 0; row-gap: 12px; }
.recent-post-item > .recent-post-info::before { content: none; display: none; }
.recent-post-info-top { min-width: 0; padding-right: 36px; }
.recent-post-info .recent-post-info-top-tips { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; font-size: 10px; }
.recent-post-info .recent-post-info-top-tips .original { color: var(--log-muted); font-size: 10px; }
.recent-post-info .article-title { display: block; color: var(--log-ink); font-size: 20px; line-height: 1.55; font-weight: 500; overflow-wrap: anywhere; }
.recent-post-item .log-entry-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 880px; margin: 10px 0 0; color: var(--log-muted); font-size: 13px; line-height: 1.85; }
.recent-post-info .article-meta-wrap { align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; }
.recent-post-info .article-meta-wrap, .recent-post-info .article-meta-wrap a, .log-entry-time { color: var(--log-muted); font-size: 11px; }
.recent-post-info .article-meta-wrap .tags { flex-wrap: wrap; max-width: 100%; }
.log-entry-time { white-space: nowrap; }
.recent-post-item:hover::after { color: var(--efu-main); }
#pagination:not(.pagination-post) { margin: 36px 0 10px; }
#pagination:not(.pagination-post) .page-number, #pagination:not(.pagination-post) a.extend { border-radius: 4px; }
#pagination:not(.pagination-post) a.extend span { color: inherit !important; }

/* Reading pages share the same paper and typography, with code in mono. */
#post, #page, .archive-page-shell { margin-top: 42px; border: 0 !important; }
.layout > #post { width: 100%; max-width: 940px; margin-right: auto; margin-left: auto; }
.post .article-container, #page .article-container { padding: 24px 0; }
.post-content.article-container { max-width: 780px; margin: 0 auto; }
.article-container, .article-container p, .article-container li, .article-container table { font-size: 16px; line-height: 1.95; }
.article-container h1, .article-container h2, .article-container h3, .article-container h4 { color: var(--log-ink); font-family: var(--log-serif); font-weight: 500; }
.article-container h2 { margin-top: 2.6rem; padding-top: 22px; font-size: 28px; }
.article-container h3 { margin-top: 2rem; font-size: 23px; }
.article-container a { border-bottom-color: #bf8e7d; }
.article-container pre, .article-container code, figure.highlight, figure.highlight * { font-family: var(--log-mono); }
.article-container pre, figure.highlight { background: #f0eee5 !important; color: #34332d; border-radius: 4px !important; font-size: 13px; }
.highlight-tools { background: #e9e6db !important; color: #56544c; border-radius: 4px 4px 0 0 !important; }
figure.highlight .gutter pre { color: #757369; background: #e9e6db !important; }
.article-container code:not([class*="language-"]) { border: 0 !important; border-radius: 3px !important; padding: 2px 5px; }
figure.highlight code { padding: 0 !important; background: transparent !important; }
.article-container blockquote { padding: 18px 24px !important; color: #46463f; border: 0 !important; border-left: 2px solid #a04b35 !important; background: #f0eee5 !important; }
.article-container hr { height: 1px; border: 0; background: var(--log-rule); }
.article-container hr::before { display: none; }
#page-header.post-bg, .post #page-header.post-bg { display: block; height: auto; min-height: 96px; margin-bottom: 0; padding: 96px 0 0; background: var(--log-paper) !important; border-bottom: var(--style-border); overflow: visible; }
#page-header.post-bg::before, #page-header.post-bg::after, .post-cover-aside { display: none !important; }
#page-header.post-bg #nav { position: absolute; top: 0; }
#page-header.post-bg.nav-fixed #nav { position: fixed; }
#page-header #post-info { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: min(100%, 876px); max-width: 876px; height: auto; align-items: flex-start; justify-content: flex-start; gap: 16px; margin: 0 auto; padding: 60px 48px 44px; background: transparent; color: var(--log-ink); text-align: left; }
#page-header #post-info::after { display: none; }
#page-header #post-info #post-firstinfo, #page-header #post-info .post-title, #page-header #post-info #post-meta { width: 100%; margin-left: 0 !important; }
#page-header #post-info .post-title { display: block; height: auto; min-height: 0; overflow: visible; -webkit-line-clamp: unset; color: var(--log-ink); font-family: var(--log-serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; line-height: 1.45; text-align: left; text-shadow: none; overflow-wrap: anywhere; }
#page-header #post-info #post-firstinfo, #page-header #post-info #post-meta { justify-content: flex-start; color: var(--log-muted); text-align: left; }
#page-header #post-info .meta-firstline, #page-header #post-info .meta-secondline { justify-content: flex-start; flex-wrap: wrap; height: auto; gap: 8px; text-align: left; }
#page-header #post-info .meta-firstline a, #page-header #post-info .meta-secondline > span, #page-header #post-info .meta-secondline > a { color: var(--log-muted); background: #eeece2; border-radius: 3px; }
#page-header #post-info .meta-firstline .post-meta__tags { background: transparent; }
#post-info #post-meta, #post-info #post-meta a { color: var(--log-muted); }
#post-info .post-meta__tags, #post-info .post-meta-categories, #post-info .post-meta-original { background: #eeece2; color: #56544c; border-color: var(--log-rule); border-radius: 3px; }
/* Solitude puts posts without covers inside #post rather than the header. */
#post #post-info { position: static; width: 100%; max-width: 780px; height: auto; min-height: 0; align-items: flex-start; justify-content: flex-start; gap: 16px; margin: 0 auto 24px; padding: 30px 0; border-bottom: var(--style-border); border-radius: 0; background: transparent; color: var(--log-ink); text-align: left; }
#post #post-info::after { display: none; }
#post #post-info #post-firstinfo, #post #post-info .post-title, #post #post-info #post-meta { width: 100%; margin-left: 0 !important; }
#post #post-info .post-title { display: block; height: auto; min-height: 0; overflow: visible; -webkit-line-clamp: unset; color: var(--log-ink); font-family: var(--log-serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; line-height: 1.45; text-align: left; text-shadow: none; overflow-wrap: anywhere; }
#post #post-info #post-firstinfo, #post #post-info #post-meta { justify-content: flex-start; color: var(--log-muted); text-align: left; }
#post #post-info .meta-firstline, #post #post-info .meta-secondline { justify-content: flex-start; flex-wrap: wrap; height: auto; gap: 8px; text-align: left; }
#post #post-info .meta-firstline a, #post #post-info .meta-secondline > span, #post #post-info .meta-secondline > a { color: var(--log-muted); background: #eeece2; border-radius: 3px; }
#post #post-info .post-meta-categories { background: #eeece2; color: var(--log-muted); border-radius: 3px; }
#post #post-info .meta-firstline .post-meta__tags { background: transparent; }
#post-info #post-firstinfo a, #post-info #post-firstinfo span.post-meta-categories, #post-info #post-meta .meta-secondline > span, #post-info #post-meta .meta-secondline > a { color: var(--log-muted) !important; background: #eeece2 !important; border-radius: 3px !important; }
#post-info .tag_share .post-meta__tags { color: var(--log-muted) !important; background: transparent !important; }
.post .layout > #post { flex: 1 1 auto; min-width: 0; max-width: 780px; }
.post #aside-content { display: block; flex: 0 0 220px; width: 220px; margin-left: 40px; }
.post #aside-content .card-info, .post #aside-content .card-recent-post { display: none; }
.post #aside-content #card-toc { margin-top: 52px; padding: 16px 0 16px 22px; border: 0 !important; border-left: var(--style-border) !important; background: transparent !important; }
.post-title, .page-title { font-family: var(--log-serif); font-weight: 400; }
.archive-page-shell { background: transparent; }
.archive-page-item { padding: 22px 0; }
.archive-page-heading, .archive-page-title, .archive-page-year-title { font-family: var(--log-serif); font-weight: 400; }
.archive-page-item-title { font-size: 17px; }
.archive-year-button { border-radius: 4px; }
.category-list, .tag-cloud-list { color: var(--log-ink); }
.category-list a:hover { color: var(--efu-main); }

/* Personal profile, cinema, and training widgets retain their content. */
.player-dossier { background: var(--log-paper); border: 0; }
.player-dossier__header { padding-top: 16px; }
.player-dossier__identity h1 { font-family: var(--log-serif); font-size: 40px; font-weight: 400; }
.player-dossier__section h2 { font-family: var(--log-serif); font-size: 24px; font-weight: 400; }
.player-dossier__avatar { width: 92px; height: 92px; border-radius: 4px; filter: none; }
.player-dossier__tags span { border-radius: 3px; }
.player-dossier__tags span::before { content: none; }
.player-dossier__eyebrow, .player-dossier__section-head > span { color: var(--log-muted); font-size: 10px; font-weight: 400; letter-spacing: .06em; }
.player-dossier__skill-grid { border: 0; gap: 14px; }
.player-skill { padding: 20px; min-height: 100px; background: #f0eee5; border: 0; border-radius: 4px; }
.player-dossier__pair { margin-top: 30px; background: #e5e8db; border-radius: 4px; }
.player-dossier__statement { font-family: var(--log-serif); font-size: 23px; font-weight: 400; }
.training-stats { border-radius: 4px; }
.training-stats__value { font-family: var(--log-serif); font-size: 30px; font-weight: 400; }
.training-stats__chip { border-radius: 3px; }
.training-night-chip { border-radius: 4px; }
.movie-intro { padding: 24px 28px !important; border: 0 !important; background: #e5e8db !important; border-radius: 4px !important; }
.movie-grid { gap: 24px !important; border: 0; }
.movie-card { background: #f0eee5 !important; border: 0 !important; border-radius: 4px !important; }
.movie-card:hover { background: #e9e6db !important; transform: none !important; }
.movie-card img { height: 210px !important; filter: none; border: 0; }
.movie-card-body { padding: 22px !important; }
.movie-card h3 { font-family: var(--log-serif); font-size: 20px !important; font-weight: 400; }
.movie-card .movie-desc { color: var(--log-muted) !important; }

/* Search remains the theme's accessible dialog with a matching paper surface. */
#local-search .search-dialog { background: var(--log-paper); color: var(--log-ink); border: var(--style-border); border-radius: 8px; box-shadow: 0 16px 70px rgba(36, 35, 31, .15); }
#local-search input { font-family: var(--log-sans); background: #f0eee5; color: var(--log-ink); }
#local-search .search-dialog-title { font-family: var(--log-serif); font-weight: 400; }
#local-search .search-result-title { color: var(--log-ink); }
#local-search .search-keyword { color: var(--efu-main); }

/* A dark colophon provides the same deliberate ending as the reference site. */
#footer { margin-top: 100px; padding-top: 56px; color: var(--log-paper); background: var(--log-ink); border: 0; --efu-fontcolor: #faf9f5; --efu-secondtext: #c5c3b8; --efu-card-bg: #24231f; --efu-main: #e3b7a4; }
.log-footer-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; width: min(1280px, 100%); margin: 0 auto; padding: 0 48px 40px; text-align: left; }
.log-footer-intro > a { color: var(--log-paper); font-size: 27px; font-weight: 700; letter-spacing: -.04em; }
.log-footer-intro > a span { color: #c5c3b8; font-size: 16px; font-weight: 400; }
.log-footer-intro p { margin: 0; color: #dfddd3; font-family: var(--log-serif); font-size: 22px; line-height: 1.6; }
.log-footer-intro p span { color: #c5c3b8; font-size: 16px; }
#footer #footer_deal { margin: 0 auto 24px; }
#footer #footer_deal .deal_link { color: #dfddd3; background: transparent; }
#footer #st-footer { padding: 0 48px 36px; }
#footer .footer-title { color: #c5c3b8; font-size: 12px; font-weight: 400; }
#footer .footer-item { color: #faf9f5; font-size: 13px; }
#footer-bar { max-width: 1280px; padding: 20px 48px; color: #c5c3b8; background: transparent !important; border-top: 1px solid #48473f; }
#footer-bar a { color: #c5c3b8; }

@media (max-width: 1100px) {
  #page-header #nav #nav-group { padding: 0 32px; }
  #menus .menus_items { gap: 2px; }
  #page-header #nav #nav-right, #page-header.nav-fixed #nav #nav-right { gap: 8px; margin-left: 16px; }
  #site-name .title { font-size: 17px; }
  .log-masthead, .layout#content-inner.layout--home, .layout#content-inner, .layout.layout--archive { padding: 0 32px; }
  .log-masthead__body { gap: 40px; }
  .log-description { font-size: 15px; }
  .log-reading__grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .log-lead { padding: 26px; }
  .log-lead__body { grid-template-columns: minmax(0, 1fr) 30%; gap: 12px; }
  .log-side-note { padding: 22px; }
}
@media (max-width: 900px) {
  .post #aside-content { display: none; }
  .post .layout > #post { max-width: 780px; }
  #nav #site-name .title { font-size: 16px; }
  .log-nav-browse { padding: 6px 12px; gap: 10px; }
  .log-masthead__body { grid-template-columns: 1.25fr 1fr; gap: 30px; }
  .log-masthead h1 { font-size: 52px; }
  .log-desktop-break { display: none; }
  .log-section-link { padding: 22px 16px; gap: 12px; }
  .log-section-link__body > span { font-size: 10px; }
  .log-nav-card { padding: 26px 18px; gap: 12px; }
}
@media (max-width: 768px) {
  #page-header.not-top-img, #page-header #nav, #page-header.nav-fixed #nav { height: 72px; min-height: 72px; }
  #page-header #nav #nav-group { padding: 0 22px; }
  #nav #site-name .title { font-size: 16px; }
  #menus { margin-left: 0; }
  #page-header #nav #nav-right, #page-header.nav-fixed #nav #nav-right { gap: 5px; margin-left: auto; margin-right: 0; }
  #page-header #nav #nav-right .nav-button a { width: 32px; height: 36px; }
  .log-nav-browse { display: none; }
  .log-masthead, .layout#content-inner.layout--home, .layout#content-inner, .layout.layout--archive { padding: 0 22px; }
  .log-folio { padding-top: 28px; font-size: 9px; letter-spacing: .06em; }
  .log-folio > span:last-child { display: none; }
  .log-masthead__body { grid-template-columns: 1fr; gap: 26px; padding: 42px 0 40px; }
  .log-masthead__intro > .log-kicker { margin-bottom: 18px; font-size: 9px; }
  .log-masthead h1 { font-size: clamp(44px, 9vw, 64px); line-height: 1.3; }
  .log-hero-caption { margin-top: 16px; font-size: 20px; }
  .log-colophon { padding: 0; }
  .log-description { font-size: 14px; line-height: 1.85; }
  .log-masthead__actions { margin-top: 22px; }
  .log-colophon__meta { margin-top: 20px; font-size: 10px; }
  .log-sections { grid-template-columns: 1fr; }
  .log-section-link, .log-section-link:first-child, .log-section-link:last-child { padding: 18px 0; gap: 18px; }
  .log-section-link + .log-section-link { border-left: 0; border-top: var(--style-border); }
  .log-section-link__no { align-self: center; }
  .log-section-link__body { grid-template-columns: 110px minmax(0, 1fr); gap: 2px 18px; align-items: center; width: 100%; }
  .log-section-link__body small { grid-column: 1; grid-row: 1; font-size: 8px; }
  .log-section-link__body strong { grid-column: 1; grid-row: 2; font-size: 15px; }
  .log-section-link__body > span { grid-column: 2; grid-row: 1 / span 2; font-size: 10px; }
  .log-section-head { padding-bottom: 20px; gap: 14px; }
  .log-section-head h2 { font-size: 25px; }
  .log-section-head > .log-kicker { font-size: 8px; letter-spacing: .04em; }
  .log-section-head > a { font-size: 10px; }
  .log-reading { padding-top: 44px; }
  .log-reading__grid { grid-template-columns: 1fr; gap: 16px; }
  .log-lead { padding: 24px; }
  .log-lead__eyebrow { font-size: 10px; }
  .log-lead__body { grid-template-columns: minmax(0, 1fr) 28%; gap: 12px; }
  .log-lead h3 { font-size: 29px; }
  .log-lead__text > p { font-size: 12px; }
  .log-reading__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 16px; }
  .log-side-note { padding: 22px 18px; }
  .log-side-note h3 { font-size: 18px; }
  .log-side-note .log-kicker { font-size: 8px; letter-spacing: .035em; }
  .log-side-note__meta { flex-wrap: wrap; font-size: 10px; }
  .log-nav { padding-top: 48px; }
  .log-nav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-nav-card, .log-nav-card:nth-child(3n + 1), .log-nav-card:nth-child(3n) { padding: 22px 16px; gap: 11px; }
  .log-nav-card:nth-child(3n + 2), .log-nav-card:nth-child(3n + 3) { border-left: 0; }
  .log-nav-card:nth-child(odd) { padding-left: 0; }
  .log-nav-card:nth-child(even) { padding-right: 0; border-left: var(--style-border); }
  .log-nav-card:nth-child(n + 3) { border-top: var(--style-border); }
  .log-nav-card__body strong { font-size: 17px; }
  .log-nav-card__body > span { font-size: 10px; }
  .log-nav-card .log-arrow { font-size: 17px; }
  #recent-posts { padding-top: 48px; }
  .recent-post-item > .recent-post-info { grid-template-columns: 34px minmax(0, 1fr); padding: 22px 0; row-gap: 10px; }
  .recent-post-item::before { top: 26px; font-size: 9px; }
  .recent-post-item::after { top: 24px; right: 0; font-size: 17px; }
  .recent-post-info-top, .recent-post-info .article-meta-wrap { grid-column: 2; }
  .recent-post-info-top { padding-right: 23px; }
  .recent-post-info .article-title { font-size: 17px; }
  .recent-post-item .log-entry-summary { font-size: 12px; }
  .recent-post-info .article-meta-wrap { gap: 6px 12px; }
  .recent-post-info .article-meta-wrap, .recent-post-info .article-meta-wrap a, .log-entry-time { font-size: 10px; }
  .log-section-head--entries { scroll-margin-top: 92px; }
  #post, #page, .archive-page-shell { margin-top: 28px; }
  .post .article-container, #page .article-container { padding: 18px 0; }
  .article-container, .article-container p, .article-container li, .article-container table { font-size: 15px; }
  #page-header.post-bg, .post #page-header.post-bg { min-height: 72px; padding-top: 72px; }
  #page-header #post-info { padding: 38px 22px 30px; }
  #page-header #post-info .post-title { font-size: 29px; }
  #post #post-info { padding: 18px 0 26px; }
  #post #post-info .post-title { font-size: 29px; }
  .player-dossier__header, .player-dossier__section { padding: 22px 0; }
  .player-dossier__identity h1 { font-size: 32px; }
  .player-dossier__pair .player-dossier__section { padding: 24px; }
  .player-dossier__section h2 { font-size: 22px; }
  .player-dossier__skill-grid { gap: 10px; }
  .player-skill { padding: 16px 12px; min-height: 92px; }
  .player-skill strong { font-size: 14px; }
  .player-skill small { font-size: 11px; }
  #footer { margin-top: 64px; padding-top: 38px; }
  .log-footer-intro { flex-direction: column; gap: 24px; padding: 0 22px 28px; }
  .log-footer-intro > a { font-size: 24px; }
  .log-footer-intro > a span { font-size: 14px; }
  .log-footer-intro p { font-size: 20px; }
  #footer #st-footer { padding: 0 22px 24px; }
  #footer-bar { padding: 20px 22px; }
}
@media (max-width: 380px) {
  #nav #site-name .title { font-size: 13px; }
  .log-masthead h1 { font-size: 42px; }
  .log-section-link__body { grid-template-columns: 90px minmax(0, 1fr); gap: 2px 12px; }
  .log-section-head h2 { font-size: 23px; }
  .log-section-head > .log-kicker { display: none; }
  .log-lead__body { grid-template-columns: 1fr; }
  .log-study-art { width: 130px; margin-left: auto; }
  .log-reading__side { grid-template-columns: 1fr; }
  .log-nav-card { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
