/* Theme editions share a quiet paper layout; the brand owns the accents. */
body[data-theme]{--paper:var(--theme-paper);--red:var(--theme-ink)}
body[data-theme] .site-header{border-top:4px solid var(--theme-accent)}
body[data-theme] .header-inner{min-height:92px}
body[data-theme] .brand{gap:14px}
.theme-emblem{position:relative;display:block;flex:none;width:56px;height:56px;overflow:hidden;border-radius:50%;background:#171717}
.theme-emblem img{width:100%;height:100%;object-fit:contain}
.theme-emblem-code img{position:absolute;width:230%;height:230%;max-width:none;left:50%;top:50%;transform:translate(-50%,-50%)}
body[data-theme] .brand-sub{font:10px var(--mono);letter-spacing:1px;margin-top:5px}
body[data-theme] .header-inner nav>a.active:after{height:4px;background:var(--theme-accent)}
body[data-theme] .button.primary{background:var(--theme-accent);border-color:var(--theme-accent);color:#171717}
body[data-theme="rrzxs"] .button.primary{color:#fff}
body[data-theme] .button.primary:hover{background:var(--ink);border-color:var(--ink);color:#fff}
body[data-theme] .button.secondary:hover{background:var(--theme-tint)}
body[data-theme] ::selection{background:var(--theme-tint)}
.theme-masthead{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:34px 0 28px}
.theme-masthead .eyebrow{color:var(--muted);font-size:11px}
.theme-masthead h1{font-size:46px;line-height:1.25;font-weight:600;letter-spacing:-1.5px;margin:8px 0}
.theme-masthead p{font-size:15px;color:var(--muted)}
.theme-today{text-align:right;font:14px var(--mono);flex:none;padding-bottom:4px}
.theme-today span{display:block;font:13px var(--sans);color:var(--muted);margin-top:4px}
/* The current edition uses the same reading layout as historical details. */
.theme-feature{border-top:1px solid var(--ink)}
.theme-feature .detail-art{background:var(--theme-tint)}
.theme-pending{font-size:12px;color:var(--muted);margin-top:12px}
body[data-theme="xwds"] .theme-feature .detail-quote{font-family:"Songti SC","Noto Serif CJK SC",serif;font-weight:600}
.theme-recent .section-title{align-items:flex-end;margin-top:52px;padding-bottom:22px}
.theme-recent .section-title .eyebrow{font-size:10px;color:var(--muted)}
.theme-recent .section-title h2{margin-top:5px;font-size:26px}
.theme-recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.theme-recent .card-topline{display:none}
.theme-recent .poster-stage{padding:18px 30px;background:var(--theme-tint)}
.theme-recent .card-content h3{font-size:18px;margin:7px 0 4px}
.theme-recent .card-content p{font-size:13px;line-height:1.8;min-height:0}
.theme-recent .card-content .eyebrow{font-size:10px;letter-spacing:0}
.theme-recent .reading-available{display:none}
.theme-community{display:flex;justify-content:space-between;align-items:center;gap:40px;border-top:1px solid var(--ink);padding-top:30px;margin-top:56px}
.theme-community .eyebrow{font-size:10px;color:var(--muted)}
.theme-community h2{font-size:25px;font-weight:550;margin:12px 0 8px}
.theme-community-copy>p{font-size:14px;line-height:1.9;color:var(--muted);max-width:540px}
.theme-community-copy>a{display:inline-block;border-bottom:1px solid var(--ink);font-size:13px;margin-top:15px}
.theme-community-copy .theme-code-hint{font-size:12px;margin-top:13px}
.theme-community-code{margin:0;flex:none;width:140px}
.theme-community-code img{width:140px;height:140px}
.theme-community-code figcaption{text-align:center;font-size:11px;color:var(--muted);margin-top:8px}
.theme-community-mark .theme-emblem{width:92px;height:92px}
body[data-theme] .archive-collection{border-top-color:var(--theme-accent)}
body[data-theme] .archive-sidebar{display:block}
body[data-theme] .sidebar-series a.active{background:var(--theme-accent);color:#171717}
body[data-theme="rrzxs"] .sidebar-series a.active{color:white}
body[data-theme] .sidebar-series a.active span:last-child{color:inherit}
body[data-theme] .calendar-day.selected,body[data-theme] .calendar-week-button[aria-pressed=true]{background:var(--theme-accent);border-color:var(--theme-accent);color:#171717}
body[data-theme="rrzxs"] .calendar-day.selected,body[data-theme="rrzxs"] .calendar-week-button[aria-pressed=true]{color:#fff}
body[data-theme] .calendar-day.selected:after{background:currentColor}
@media(max-width:1100px){.theme-recent-grid{gap:26px 18px}.theme-recent .poster-stage{padding:14px 20px}}
@media(max-width:760px){body[data-theme] .header-inner{min-height:75px;padding-bottom:0}.theme-emblem{width:44px;height:44px}body[data-theme] .brand-name{font-size:20px}body[data-theme] .brand-sub{font-size:9px;letter-spacing:.5px}.theme-masthead{padding:25px 0 21px;gap:14px}.theme-masthead h1{font-size:35px;letter-spacing:-1px}.theme-masthead p{font-size:13px}.theme-today{font-size:12px}.theme-today span{font-size:11px}.theme-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}.theme-recent .poster-stage{padding:20px 34px}.theme-community{gap:25px}.theme-community-code,.theme-community-code img{width:120px;height:auto}}
@media(max-width:520px){body[data-theme] .brand{gap:9px}body[data-theme] .brand-name{font-size:19px}body[data-theme] .brand-sub{font-size:8px}.theme-masthead{align-items:center;gap:10px;padding:22px 0 20px}.theme-masthead .eyebrow{font-size:8px;letter-spacing:.4px}.theme-masthead h1{font-size:31px}.theme-masthead p{font-size:12px}.theme-today{font-size:10px}.theme-recent .section-title{margin-top:35px;padding:18px 0}.theme-recent .section-title h2{font-size:23px}.theme-recent .section-title>a{font-size:12px;white-space:nowrap}.theme-recent-grid{gap:24px 14px}.theme-recent .poster-stage{padding:12px 15px}.theme-recent .card-content h3{font-size:16px;line-height:1.5}.theme-recent .card-content p{font-size:12px}.theme-community{align-items:flex-start;gap:20px;margin-top:35px;padding-top:24px}.theme-community h2{font-size:20px}.theme-community-copy>p{font-size:13px}.theme-community .eyebrow{font-size:8px;letter-spacing:.4px}.theme-community-code,.theme-community-code img{width:94px}.theme-community-mark .theme-emblem{width:64px;height:64px}}
