.story-page { margin:0; background:var(--bg); color:var(--ink); font:16px/1.8 'Segoe UI','Microsoft YaHei',sans-serif; }
.story-page * { box-sizing:border-box; }
.story-page a { color:inherit; }
.story-wrap { width:min(1120px,calc(100% - 40px)); margin-inline:auto; }
.story-header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px 0; }
.story-header a { text-decoration:none; font-size:14px; padding-block:8px; }
.story-brand { display:flex; align-items:center; gap:10px; font-weight:700; }
.story-brand img { width:34px; height:34px; border-radius:50%; }
.story-kicker { color:var(--muted); font-size:11px; letter-spacing:1.8px; margin:0 0 12px; }
.story-hero { display:grid; grid-template-columns:1.5fr .7fr; gap:50px; align-items:center; padding:45px 0 42px; }
.story-hero h1 { font-size:clamp(32px,4.4vw,55px); line-height:1.35; margin:0 0 18px; overflow-wrap:anywhere; }
.story-hero p:not(.story-kicker) { color:var(--muted); font-size:14px; }
.story-seal { position:relative; display:grid; place-content:center; min-height:220px; padding:30px; background:#254a3a; border-radius:16px; color:#f4f1df; transform:rotate(2deg); text-align:center; }
.story-seal::before { content:''; position:absolute; inset:14px; border:1px dashed #d9e8bc66; border-radius:9px; }
.story-seal strong { font-size:30px; line-height:1.6; }.story-seal span { font-size:11px; letter-spacing:2px; color:#d9e8bc; }
.story-music { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:14px 20px; background:var(--soft); border:1px solid var(--line); border-radius:12px; }
.story-music strong { font-size:14px; }.story-music p { margin:2px 0 0; font-size:12px; color:var(--muted); }
.story-music-buttons { display:flex; flex-wrap:wrap; gap:8px; }
.story-music button { border:1px solid var(--line); background:#fff; color:var(--ink); padding:10px 15px; min-height:44px; border-radius:7px; font-family:inherit; font-size:12px; font-weight:600; line-height:1.5; cursor:pointer; }
.story-music button[data-music-action='play'] { background:var(--button); color:white; }
.story-music button:disabled { opacity:.55; cursor:default; }
.story-reading { display:grid; grid-template-columns:210px minmax(0,1fr); gap:28px; align-items:start; padding:12px 0 40px; }
.story-toc { position:sticky; top:24px; padding:22px 20px; border:1px solid var(--line); border-radius:12px; background:#edf0e67d; }
.story-toc h2 { margin:0 0 14px; font-size:15px; }.story-toc ol { margin:0; padding:0 0 0 18px; }
.story-toc li { margin:8px 0; font-size:13px; }.story-toc a { text-decoration:none; }.story-toc a:hover { text-decoration:underline; }
.story-paper { min-width:0; border:1px solid var(--line); border-radius:16px; padding:40px clamp(22px,4vw,56px); background:white; }
.story-paper h2 { font-size:25px; margin:35px 0 18px; scroll-margin-top:24px; line-height:1.5; }
.story-paper h3 { font-size:20px; margin:28px 0 16px; scroll-margin-top:24px; }
.story-paper p { margin:0 0 20px; line-height:2.05; overflow-wrap:anywhere; }
.story-paper blockquote { margin:24px 0; padding:5px 0 5px 20px; border-left:3px solid #bb4d2a; color:var(--muted); }
.story-paper img { max-width:100%; height:auto; border-radius:8px; }.story-paper figure { margin:28px 0; }.story-paper figcaption { color:var(--muted); font-size:12px; }
.story-paper pre { overflow-x:auto; padding:16px; background:var(--soft); border-radius:7px; font-size:13px; }.story-paper table { width:100%; border-collapse:collapse; }.story-paper td { border:1px solid var(--line); padding:8px; }
.story-paper .story-table { overflow-x:auto; }.story-paper hr { border:0; border-top:1px solid var(--line); margin:30px 0; }
.story-paper details { margin:20px 0; }.story-paper summary { cursor:pointer; }.story-paper .callout { padding:16px; background:var(--soft); border-radius:9px; margin:20px 0; }
.story-empty { padding:30px 0; color:var(--muted); }.story-empty h2 { margin-top:0; color:var(--ink); }
.story-end { border-top:1px solid var(--line); margin-top:40px; padding-top:22px; color:var(--muted); font-size:13px; display:flex; justify-content:space-between; gap:16px; }
.story-bottom { margin-bottom:32px; }
.story-home-card { display:grid; grid-template-columns:.65fr 1.35fr; gap:34px; align-items:center; padding:32px; border:1px solid var(--line); border-radius:15px; background:#fff; text-decoration:none; }
.story-home-art { padding:30px 18px; min-height:190px; border-radius:10px; display:grid; place-content:center; text-align:center; background:#254a3a; color:#f4f1df; }
.story-home-art strong { font-size:30px; line-height:1.7; }.story-home-art small { letter-spacing:2px; font-size:10px; color:#d9e8bc; }
.story-home-copy { min-width:0; overflow-wrap:anywhere; }.story-home-copy h3 { font-size:26px; line-height:1.5; margin:0 0 14px; }.story-home-copy p { color:var(--muted); font-size:14px; line-height:1.9; }
.story-home-copy .story-home-action { color:#ae4223; font-weight:700; display:block; margin-top:20px; }

.story-page .site-footer { margin-top:30px; }
@media(max-width:760px) {
 .story-hero { grid-template-columns:1fr; gap:24px; padding:28px 0; }.story-seal { min-height:150px; transform:none; }
 .story-reading { grid-template-columns:1fr; gap:18px; }.story-toc { position:static; padding:16px 20px; }.story-toc ol { columns:2; }
 .story-paper { padding:26px 22px; }.story-paper p { font-size:15px; }.story-hero h1 { font-size:34px; }
 .story-header { padding:16px 0; }.story-brand { font-size:14px; }.story-header>a { font-size:12px; }
 .story-home-card { grid-template-columns:1fr; padding:20px; gap:22px; }.story-home-art { min-height:140px; }.story-home-copy h3 { font-size:22px; }
 
 .story-music { padding:12px 14px; }.story-music-buttons { gap:6px; }.story-music button { padding:9px 12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Single-story reading layout. */
.story-page main.story-wrap { width:min(900px,calc(100% - 40px)); }
.story-hero { display:block; padding:40px 0 28px; }
.story-hero h1 { font-size:clamp(32px,4vw,46px); letter-spacing:-1px; margin-bottom:12px; }
.story-hero .story-hero-quote { font-size:15px; line-height:1.9; padding-left:15px; border-left:3px solid #bb4d2a; margin-top:22px; }
.story-reading { display:block; padding-top:0; }
.story-paper { padding:30px clamp(24px,5vw,64px) 36px; }
.story-entry-heading { text-align:center; padding:22px 0 24px; margin-bottom:26px; border-bottom:1px solid var(--line); }
.story-entry-heading > span { display:block; color:#bb4d2a; font-size:21px; margin-bottom:8px; }
.story-entry-heading h2 { margin:0; font-size:29px; line-height:1.5; letter-spacing:2px; }
.story-paper p { font-size:16px; line-height:2.05; }

@media(max-width:760px) {
 .story-hero { padding:28px 0 24px; }
 .story-hero h1 { font-size:32px; }
 .story-hero .story-hero-quote { font-size:13px; margin-top:18px; }
 .story-paper { padding:20px 22px 26px; }
 .story-entry-heading { padding:14px 0 20px; margin-bottom:22px; }
 .story-entry-heading h2 { font-size:26px; }
 .story-paper p { font-size:15px; }
}

/* Three photo categories, followed by two equally sized cards. */
.album-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
.album-card { grid-column:span 2; }
.album-card.game-album,.album-card.hamster-album { grid-column:span 3; aspect-ratio:5/3; }
.hamster-album { background:#294537; }
.hamster-album::after { display:none; }
.hamster-album .album-picture { position:absolute; inset:0 0 70px; display:block; background:#e7e8df; }
.hamster-album .album-picture img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.hamster-album .album-caption { inset:auto 18px 13px; align-items:center; gap:8px; }
.hamster-album .album-caption small { font-size:9px; line-height:1.3; }
.hamster-album .album-caption strong { line-height:1.25; }
.hamster-count { font-size:11px; padding:3px 8px; background:#ffffff1f; border-radius:5px; white-space:nowrap; }
@media(max-width:760px) {
 .album-grid { gap:10px; }
 .album-card.game-album,.album-card.hamster-album { aspect-ratio:4/5; }
 .album-card:nth-child(-n+3) .album-arrow,.album-card:nth-child(-n+3) .album-caption small { display:none; }
 .album-card:nth-child(-n+3) .album-caption { inset:auto 8px 9px; }
 .album-card:nth-child(-n+3) .album-caption strong { font-size:17px; }
 .album-card:nth-child(-n+3) .album-count { top:7px; right:7px; padding:2px 5px; font-size:9px; }
 .hamster-album .album-picture { bottom:60px; }
 .hamster-album .album-caption { inset:auto 10px 11px; gap:4px; }
 .hamster-album .album-caption small { font-size:7px; letter-spacing:0; }
 .hamster-album .album-caption strong { font-size:21px; }
 .hamster-count { font-size:10px; padding:2px 5px; }
}
