/*
Theme Name: Kigaku Renewal 20261103
Template: blogus
Version: 1.1.0-rc1
*/

:root{
/* DESIGN.md web-2026-11-02. Keep semantic board colors in their own renderer. */
--paper:#fff;--editorial:#f5f5f5;--ink:#222;--text:#444;--muted:#666;--rule:#d0cbc3;--gold:#9a7d4a;--warm:#333;--slate:#6f8585;
--surface-header:#efebdd;--surface-footer:#f6f4ef;--action:#444;
--serif:'Yu Mincho','YuMincho','Hiragino Mincho ProN','Noto Serif JP',serif;
--sans:'Yu Gothic','YuGothic','Hiragino Kaku Gothic ProN','Meiryo',sans-serif;
}
*{box-sizing:border-box}
/* Selection stays legible on the warm, quiet header surface. */
::selection{background:var(--surface-header);color:var(--ink)}
/* 子の見出し・日付にも、リンクの細い下線指定を引き継ぐ。 */
body.renewal-site a,
body.renewal-site a :not(svg,svg *){text-decoration-thickness:1px!important;text-underline-offset:4px!important}
/* 人物の基本配置名・盤の見出しを共通の明朝体へ統一。 */
body.renewal-site .kigaku-profile-trait strong,
body.renewal-site .kigaku-profile-board-title{font-family:var(--serif)!important;font-weight:400!important;color:var(--ink)!important}
/* Neutral scrollbars; no new meaning is assigned to the board palette. */
*{scrollbar-color:var(--rule) var(--paper)}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:var(--paper)}
::-webkit-scrollbar-thumb{background:var(--rule);border:3px solid var(--paper);border-radius:2px}
::-webkit-scrollbar-corner{background:var(--paper)}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--text);font:500 18px/1.9 var(--sans);-webkit-text-size-adjust:100%}
a{color:inherit}
button,input,select{font:16px/1.6 var(--sans)}
button{cursor:pointer}
a,button,input,select{touch-action:manipulation}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
h1,h2,h3{font-family:var(--serif);font-weight:500;color:var(--ink);letter-spacing:.02em}
p{margin:0 0 20px}
[hidden]{display:none!important}

/* 確認用バナー */
.reviewbar{background:var(--ink);color:#efe9e1;font-size:14px;line-height:1.7;padding:9px 20px}
.reviewbar span{display:block;max-width:1180px;margin:auto}

/* ヘッダ */
header{border-bottom:1px solid var(--rule);background:var(--paper)}
.wrap{max-width:1180px;margin:auto;padding:0 40px}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0 18px}
.brand{display:inline-flex;flex-direction:column;gap:3px;text-decoration:none;min-height:44px;justify-content:center}
.brand b{font:400 25px/1.3 var(--serif);color:var(--ink)}
.brand small{font-size:14px;color:var(--muted)}
.cta-head{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;background:var(--gold);color:#fff;text-decoration:none;font-size:16px;border:1px solid var(--gold)}
.cta-head:hover{background:#876a3d}
nav{display:flex;flex-wrap:wrap;gap:4px 28px;border-top:1px solid var(--rule);padding:4px 0}
nav a{display:inline-flex;align-items:center;min-height:48px;font-size:16px;text-decoration:none;color:var(--text)}
nav a[aria-current]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--gold)}
nav .sep{margin-left:auto}
nav .ghost{color:var(--muted)}

main{max-width:1180px;margin:auto;padding:0 40px}

/* ステップ見出し */
.step{padding:72px 0;border-top:1px solid var(--rule)}
.step:first-of-type{border-top:none}
.step-head{display:flex;align-items:baseline;gap:22px;margin-bottom:34px}
.step-num{font:400 46px/1 var(--serif);color:var(--gold);flex:0 0 auto}
.step-tag{font-size:16px;color:var(--muted);letter-spacing:.14em;margin:0 0 6px}
:is(.step-head h2,.step-head h1){font-size:33px;line-height:1.5;margin:0}

/* 一：自分を知る */
.lead{max-width:640px}
.lead p{font-size:19px}
.formcard{margin:40px auto 0;max-width:680px;background:#fff;border:1px solid var(--rule);border-top:4px solid var(--gold);padding:34px 36px}
.formcard h3{font-size:22px;margin:0 0 6px}
.formcard .hint{font-size:16px;color:var(--muted);margin:0 0 24px}
.fields{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.field{flex:1 1 90px;min-width:84px}
.field.yr{flex:1.5 1 140px}
label{display:block;font-size:16px;color:var(--ink);margin-bottom:8px}
input,select{width:100%;min-height:52px;padding:10px 12px;background:var(--paper);border:1px solid var(--rule);border-radius:0;color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 28px;font-size:16px;border:1px solid var(--ink);background:var(--ink);color:#fff;text-decoration:none}
.btn:hover{background:#000}
.btn.block{width:100%;margin-top:22px}
.caption{font-size:14px;line-height:1.75;color:var(--muted);margin:14px 0 0}
.textlink{display:inline-flex;align-items:center;min-height:44px;font-size:16px;color:var(--warm);text-decoration:underline;text-underline-offset:5px;margin-top:14px}

/* 結果の表示例 */
.result{display:none;margin-top:44px;scroll-margin-top:20px}
.result.visible{display:block}
.result-flag{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline;background:#fff;border:1px solid var(--rule);border-left:4px solid var(--slate);padding:14px 18px}
.result-flag b{font-family:var(--serif);font-weight:500;color:var(--ink);font-size:18px}
.result-flag span{font-size:14px;color:var(--muted)}
.starbox{display:grid;grid-template-columns:270px 1fr;gap:48px;background:#fff;border:1px solid var(--rule);padding:38px;margin-top:16px}
.starlabel{font-size:16px;color:var(--muted)}
.star{font:400 42px/1.4 var(--serif);color:var(--ink);margin:8px 0}
.starsub{font-size:14px;color:var(--muted);margin:0}
.meaning{max-width:620px}
.meaning h3{font-size:24px;margin:0 0 16px}
.workbox{display:grid;grid-template-columns:270px 1fr;gap:48px;margin-top:28px;padding:0 38px 10px}
.workbox h3{font-size:22px;line-height:1.6;margin:0}
.question{font-family:var(--serif);font-size:23px;line-height:1.75;color:var(--ink);border-left:3px solid var(--gold);padding-left:18px;margin:4px 0 20px}

/* 二：用件カード */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--rule);border-top:4px solid var(--gold);padding:28px 26px}
.card .for{font-size:14px;color:var(--muted);letter-spacing:.1em;margin:0 0 10px}
.card h3{font-size:22px;margin:0 0 12px}
.card p{font-size:18px;line-height:1.8;margin:0 0 20px}
.card .act{margin-top:auto}
.card a.go{display:inline-flex;align-items:center;min-height:48px;font-size:16px;color:var(--warm);text-decoration:underline;text-underline-offset:5px}
.card button[disabled]{display:inline-flex;align-items:center;min-height:48px;padding:0 14px;font-size:16px;background:var(--editorial);border:1px dashed var(--rule);color:var(--muted);cursor:not-allowed}
.cards-note{font-size:14px;color:var(--muted);margin-top:22px}

/* 三：個別鑑定 */
.consult{background:var(--ink);color:#e9e2d8;margin-top:0}
.consult .wrap{padding:76px 40px}
.consult .step-head{margin-bottom:38px}
.consult .step-num{color:var(--gold)}
.consult .step-tag{color:#b5a890}
.consult h2{color:#fff;font-size:33px}
.consult-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:start}
.consult p{font-size:18px;line-height:1.9;max-width:520px;color:#e2dacd}
.btn.light{background:transparent;border:1px solid #8c8073;color:#fff;cursor:not-allowed;min-height:54px;margin-top:8px;opacity:.9}
.consult .caption{color:#b5a890}
.cases{list-style:none;margin:0 0 24px;padding:0}
.cases li{font-family:var(--serif);font-size:21px;line-height:1.7;color:#f2ece1;border-top:1px solid #3a3a3a;padding:16px 0}
.cases li:last-child{border-bottom:1px solid #3a3a3a}
.consult-note{font-size:16px;line-height:1.85;color:#c9bfae}

/* フッタ */
footer{border-top:1px solid var(--rule);padding:40px 0 56px;background:var(--paper)}
footer p{font-size:14px;line-height:1.85;color:var(--muted);max-width:860px;margin:0 0 18px}
footer a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;margin-right:26px;color:var(--warm)}

@media(max-width:850px){
.wrap,main{padding-left:24px;padding-right:24px}
.masthead{padding:22px 0 14px}
nav{gap:2px 20px}
nav .sep{margin-left:0;width:100%;border-top:1px dotted var(--rule);margin-top:2px}
.step{padding:52px 0}
.step-head{gap:16px}
.step-num{font-size:38px}
:is(.step-head h2,.step-head h1),.consult h2{font-size:28px}
.formcard{padding:28px 24px}
.starbox,.workbox{grid-template-columns:1fr;gap:20px;padding:28px 24px}
.workbox{padding-bottom:4px}
.cards{grid-template-columns:1fr;gap:18px}
.consult .wrap{padding:56px 24px}
.consult-grid{grid-template-columns:1fr;gap:34px}
}
@media(max-width:400px){
.wrap,main{padding-left:18px;padding-right:18px}
.masthead{flex-wrap:wrap;gap:14px}
.cta-head{padding:0 16px}
.brand b{font-size:22px}
.step-head{flex-wrap:wrap;gap:4px 14px}
:is(.step-head h2,.step-head h1),.consult h2{font-size:25px}
.lead p{font-size:18px}
.formcard{padding:24px 18px}
.fields{gap:8px}
.field{min-width:64px}
.starbox{padding:24px 18px}
.star{font-size:36px}
.question{font-size:21px}
}
#self > .step-head{justify-content:center;text-align:center}#self > .lead{margin:0 auto}#self > .step-head .step-num{display:none}
/* New layout around unchanged plugin output */
.genderfield{margin-top:20px;max-width:340px}.genderfield .caption{margin-top:8px}#formError{font-size:18px;color:#8c3027}#result{padding-top:46px;border-top:1px solid var(--rule);outline:none}#result p{font-size:18px;line-height:1.9}#result h2{font:500 30px/1.5 var(--serif)}#result h3{font:500 24px/1.55 var(--serif)}#result .kigaku-result-stars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}#result .kigaku-result-stars__item{background:transparent;box-shadow:none;border:0;border-top:1px solid var(--rule);border-radius:0;padding:20px 0}#result .kigaku-result-stars__item--primary{grid-column:1/-1}#result .kigaku-result-stars__name{font:500 30px/1.5 var(--serif)}#result .kigaku-result-stars__label,#result .kigaku-result-stars__hint{font-size:16px;line-height:1.7}#result .kigaku-personality,#result .kigaku-reading,#result .kigaku-caution{background:none;border:0;border-top:1px solid var(--rule);box-shadow:none;border-radius:0;padding:36px 0;margin-top:36px}#result .kigaku-section-icon{display:none}#result .kigaku-term-section{background:none;border-radius:0;border:0;border-bottom:1px solid var(--rule);box-shadow:none;padding:24px 0}#result .kigaku-term-section__heading,#result .kigaku-term-name{font-size:24px}#result .kigaku-term-label{font-size:16px}#result .kigaku-result-table{width:100%;table-layout:fixed}#result th,#result td{font-size:18px;overflow-wrap:anywhere}#result summary{font-size:16px;min-height:48px;padding:12px;cursor:pointer}#result a,#result button{font-size:16px;min-height:44px;display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere}#result .kigaku-result-intro__eyebrow{display:none}#result .kigaku-star-guide-cta{background:none;border:0;border-bottom:1px solid var(--rule);box-shadow:none}#result .kigaku-work-note{font-size:18px}#result .kigaku-caution p{font-size:18px}#result .kigaku-result-intro__footnote{font-size:14px}#result .kigaku-personality ul,#result .kigaku-term-keywords{font-size:18px}#result .kigaku-result-intro{padding:0;max-width:none}#result .kigaku-term-header{flex-wrap:wrap}@media(max-width:700px){#result .kigaku-result-stars{grid-template-columns:1fr}#result .kigaku-result-stars__item--primary{grid-column:auto}#result h2{font-size:28px}#result h3{font-size:22px}#result .kigaku-reading-list{display:block}#result .kigaku-term-body{font-size:18px}#result .kigaku-personality{padding:28px 0}}

#result{border:0;padding-top:24px}.reading-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.reading-top h2{margin:0!important}.reading-date{color:var(--warm);font-size:16px}.reading-top button{background:none;border:1px solid var(--rule);padding:10px 18px;color:var(--ink)}
.star-overview{display:grid;grid-template-columns:1.25fr 1fr;background:#fff;border:1px solid var(--rule)}.main-star{background:var(--ink);color:var(--paper);padding:42px;position:relative}.main-star .star-kind{font-size:16px;color:#d8c6a5;letter-spacing:.15em}.main-star .star-title{font:500 54px/1.4 var(--serif);margin:12px 0 22px;color:var(--paper)}.main-star p{color:#eee5d8}.main-star .kigaku-result-stars__hint{color:#d8c6a5}.support-stars{display:grid;grid-template-columns:1fr 1fr;padding:28px;gap:26px}.support-stars .support-item{padding:12px 0;border-bottom:1px solid var(--rule)}.support-stars .support-item:last-child{grid-column:1/-1;border:0}.support-stars .kigaku-result-stars__name{font-size:27px!important}.support-stars .kigaku-result-stars__hint{font-size:14px!important}.support-stars .kigaku-result-stars__label{color:var(--warm)}
.reading-tabs{display:flex;border-bottom:1px solid var(--rule);margin:36px 0 0;gap:10px}.reading-tabs button{border:0;background:none;color:var(--warm);padding:18px 24px;font-size:18px!important;min-height:60px!important}.reading-tabs button[aria-selected=true]{color:var(--ink);box-shadow:inset 0 -3px var(--gold);font-weight:600}.reading-panel{background:#fff;padding:36px 42px;border:1px solid var(--rule);border-top:0}.reading-panel .kigaku-personality,.reading-panel .kigaku-reading{margin:0!important;padding:0!important;border:0!important}.reading-panel h3{margin-top:32px}.reading-panel h3:first-child{margin-top:0}.reading-panel p{max-width:800px}.reading-panel .kigaku-personality h3{padding-top:28px;border-top:1px solid var(--rule)}.reading-panel .kigaku-personality h3:first-child{border:0;padding-top:0}.reading-panel .kigaku-personality__title{font-size:28px}.birth-board{float:right;width:250px;margin:0 0 28px 32px;padding:16px;background:var(--paper);border:1px solid var(--rule)}.birth-board svg{width:100%;height:auto;display:block}.birth-board figcaption{font-size:14px;line-height:1.7;color:var(--warm);margin-top:12px}.reading-panel::after{content:'';display:block;clear:both}.calendar-alert{background:#fff5e5;border-left:4px solid var(--gold);padding:18px 24px;margin:24px 0;font-size:18px}.reading-bottom{margin-top:24px}#result .kigaku-caution{margin-top:20px;padding:20px 0}#result .kigaku-result-intro__footnote{font-size:14px}.result-end{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--rule);padding-top:20px;margin-top:28px;gap:20px}.result-end p{margin:0;font-family:var(--serif)}
@media(max-width:700px){.reading-top{align-items:flex-start}.reading-top h2{font-size:26px!important}.reading-top button{padding:8px 12px}.star-overview{grid-template-columns:1fr}.main-star{padding:28px 24px}.main-star .star-title{font-size:42px}.support-stars{padding:18px 24px;gap:18px}.support-stars .kigaku-result-stars__name{font-size:24px!important}.reading-tabs{gap:0;margin-top:26px}.reading-tabs button{flex:1;padding:14px 6px;font-size:16px!important;line-height:1.5}.reading-panel{padding:26px 22px}.birth-board{float:none;width:260px;max-width:100%;margin:0 auto 28px}.result-end{display:block}.result-end a{margin-top:12px}.calendar-alert{padding:16px 18px}.support-stars .support-item:last-child .kigaku-result-stars__hint{max-width:100%}}
@media(max-width:700px){.reading-top{flex-wrap:wrap}.reading-top h2{white-space:nowrap}.reading-top button{white-space:nowrap}}

#result #reading-panel-2{padding:36px 0 0;background:transparent;border:0}
#reading-panel-2 .kigaku-reading-title,#reading-panel-2 .kigaku-reading-note{margin-left:0;margin-right:0}
#result #reading-panel-2 .kigaku-reading-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:28px 0 0}
#result #reading-panel-2 .kigaku-term-section{background:#fff;border:1px solid var(--rule);padding:0;overflow:hidden}
#result #reading-panel-2 .kigaku-term-name{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:0;padding:26px 30px;background:var(--ink);border:0;border-radius:0;line-height:1.5}
#result #reading-panel-2 .kigaku-term-ja{font:400 16px/1.6 var(--sans);color:#d8c6a5;letter-spacing:.12em;background:none;padding:0;border:0;border-radius:0}
#result #reading-panel-2 .kigaku-term-reading{font:500 34px/1.5 var(--serif);color:var(--paper);padding:0;border:0;background:none}
#result #reading-panel-2 .kigaku-term-content{padding:28px 30px}
#result #reading-panel-2 .kigaku-term-context{font-size:18px;line-height:1.9;color:var(--warm);margin:0 0 24px}
#result #reading-panel-2 .kigaku-term-keywords{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:0 0 24px;padding:18px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
#result #reading-panel-2 .kigaku-term-keywords li{font:500 18px/1.8 var(--serif);padding:0;background:none;border:0;border-radius:0;color:var(--ink)}
#result #reading-panel-2 .kigaku-term-body{font-size:18px;line-height:1.9;margin:0 0 20px;color:var(--text)}
#result #reading-panel-2 .kigaku-reading-more{margin:24px 0 0;padding-top:18px;border-top:1px solid var(--rule)}
#result #reading-panel-2 .kigaku-reading-more a{color:var(--warm);font-size:16px;min-height:44px;text-underline-offset:5px}
@media(max-width:700px){#result #reading-panel-2 .kigaku-reading-list{grid-template-columns:1fr;gap:24px}#result #reading-panel-2 .kigaku-term-name{padding:24px}#result #reading-panel-2 .kigaku-term-content{padding:24px}#result #reading-panel-2 .kigaku-term-reading{font-size:32px}}

.reading-tabs{border:0;gap:10px;padding:8px;background:#eae4da}
#result .reading-tabs button{flex:1;justify-content:center;border:1px solid var(--rule);background:#fff;color:var(--warm);padding:14px 18px;box-shadow:none;font-size:16px!important;transition:background .15s,color .15s}
#result .reading-tabs button:hover{background:var(--paper);border-color:var(--gold)}
#result .reading-tabs button[aria-selected=true]{background:var(--ink);color:var(--paper);border-color:var(--ink);box-shadow:inset 0 -3px var(--gold)}
.reading-tabs button::after{content:'＋';margin-left:12px;font-size:18px;font-weight:400}
.reading-tabs button[aria-selected=true]::after{content:'−'}
@media(max-width:700px){.reading-tabs{gap:6px;padding:6px}#result .reading-tabs button{padding:12px 6px;flex-direction:column;gap:4px}.reading-tabs button::after{margin-left:0;font-size:18px}}

header nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;gap:0;border:1px solid var(--rule);padding:0;margin-bottom:20px;background:#fff}
header nav a{justify-content:center;padding:12px 16px;border-right:1px solid var(--rule);min-height:56px;color:var(--ink)}
header nav a:hover{background:var(--editorial)}header nav a[aria-current]{background:var(--ink);color:var(--paper);box-shadow:inset 0 -3px var(--gold)}header nav .sep{margin:0}header nav a:last-child{border-right:0}header nav .ghost{font-size:14px}
.route-view{padding:54px 0 72px;min-height:480px}.route-view h1{font-size:34px;margin:0 0 20px}.route-view .route-card{max-width:760px;border:1px solid var(--rule);border-top:4px solid var(--gold);padding:32px;background:#fff;margin-top:28px}.route-view .route-status{font-size:16px;color:var(--warm);margin-bottom:10px}.route-view p{font-size:18px}.route-view a{min-height:48px}.route-back{background:none;border:1px solid var(--rule);padding:12px 20px;min-height:48px;color:var(--ink);font-size:16px;margin-top:24px}
@media(max-width:850px){header nav{grid-template-columns:repeat(2,minmax(0,1fr))}header nav a{border-bottom:1px solid var(--rule);font-size:16px}header nav .sep{width:auto;border-top:0}header nav .ghost{font-size:16px}.route-view{padding:36px 0 52px}.route-view h1{font-size:28px}.route-view .route-card{padding:24px}}

#result #reading-panel-2 .kigaku-term-section{display:block;grid-template-columns:none}
#result #reading-panel-2 .kigaku-term-name{width:100%;max-width:none;min-width:0}
#result #reading-panel-2 .kigaku-term-reading{white-space:nowrap;word-break:normal;overflow-wrap:normal}
#result #reading-panel-2 .kigaku-term-content{width:100%;max-width:none;min-width:0}

.consult .cases h3{font:500 23px/1.6 var(--serif);color:var(--paper);margin:0 0 12px}
.consult .cases li{padding:24px 0}
.consult .cases li p{font:400 18px/1.9 var(--sans);color:#e2dacd;margin:0;max-width:none}
@media(max-width:700px){.consult .cases h3{font-size:22px}}

.consult-grid{display:block}
.consult-grid>div:first-child>p{max-width:none}
.consult .btn.light{background:var(--gold);border:1px solid var(--gold);color:#fff;opacity:1;min-height:64px;min-width:300px;padding:16px 32px;font-size:18px;font-weight:600;margin:8px 0 0}
.consult .consult-grid>div:first-child>.caption{font-size:14px;line-height:1.8;margin-top:16px}
.consult .cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:44px 0 24px}
.consult .cases li,.consult .cases li:last-child{background:var(--paper);color:var(--ink);border:1px solid var(--rule);border-top:4px solid var(--gold);padding:28px 24px}
.consult .cases h3{color:var(--ink);font-size:22px;min-height:70px}
.consult .cases li p{color:var(--text);font-size:18px;line-height:1.9}
.consult .consult-note{max-width:none;font-size:16px}
@media(max-width:850px){.consult .cases{grid-template-columns:1fr;gap:20px}.consult .cases h3{min-height:0}.consult .btn.light{min-width:0;width:100%}.consult-grid>div:first-child>p{white-space:normal}}

#result #reading-panel-2 .kigaku-term-name{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;background:var(--paper);border-bottom:1px solid var(--rule)}
#result #reading-panel-2 .kigaku-term-ja{color:var(--warm);letter-spacing:0;font-size:16px}
#result #reading-panel-2 .kigaku-term-reading{color:var(--ink);font-size:26px;line-height:1.5}
@media(max-width:700px){#result #reading-panel-2 .kigaku-term-name{padding:16px 20px;gap:10px}#result #reading-panel-2 .kigaku-term-reading{font-size:24px}}

.personality-progress{display:block;margin:0 0 24px;font-size:16px;color:var(--warm);scroll-margin-top:96px}
.personality-controls{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:24px}
.personality-controls button{background:var(--paper);border:1px solid var(--rule);padding:10px 18px;color:var(--ink);min-height:48px}
.personality-controls button:disabled{opacity:.4;cursor:default}
.personality-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain;gap:24px}.personality-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;padding-bottom:12px}.personality-slide h3{border:0!important;padding-top:0!important;margin-top:0!important}.personality-slides p{max-width:none!important}
@media(prefers-reduced-motion:reduce){.personality-slides{scroll-behavior:auto}}

.home-hero{padding:70px 0 58px;display:grid;grid-template-columns:1.3fr .7fr;gap:70px;align-items:center;border-bottom:1px solid var(--rule)}.home-hero h1{font-size:46px;line-height:1.5;margin:12px 0 24px}.home-hero p{font-size:18px}.hero-note{padding:30px;border-left:3px solid var(--gold);background:#fff}.hero-note h2{font-size:26px;margin:0 0 16px}.hero-note .btn{width:100%}.eyebrow{color:var(--warm);font-size:16px;letter-spacing:.08em}.purpose-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:36px 0 56px}.purpose-links a{display:block;text-decoration:none;border-bottom:1px solid var(--rule);padding:0 0 20px;min-height:44px}.purpose-links h2{font-size:24px;margin:0 0 12px}.purpose-links p{font-size:18px;margin:0 0 12px}.purpose-links span{color:var(--warm);font-size:16px}.article-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--ink);margin-bottom:28px}.article-heading h2{font-size:30px}.article-heading a{font-size:16px;min-height:44px;display:flex;align-items:center}.stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 28px;padding-bottom:60px}.story{text-decoration:none;display:block}.story img{width:100%;height:auto;aspect-ratio:1.91;object-fit:cover;border:1px solid var(--rule)}.story h3{font-size:23px;line-height:1.65;margin:14px 0}.story .meta{font-size:14px;color:var(--warm)}.site-about{padding:48px 0;border-top:1px solid var(--rule);max-width:820px}.site-about h2{font-size:28px}.site-about p{font-size:18px}
.article-shell{max-width:960px;margin:auto;padding:52px 40px 72px}.breadcrumb{font-size:16px;color:var(--warm);display:flex;align-items:center;min-height:44px}.article-shell h1{font-size:36px;line-height:1.6;margin:24px 0}.article-meta{font-size:14px;color:var(--warm);margin-bottom:28px}.article-shell .cover{width:100%;height:auto;margin-bottom:38px}.article-body{font-size:18px;line-height:2}.article-body p{font-size:18px!important;line-height:2!important}.article-body h2{font:500 28px/1.6 var(--serif)!important;margin:52px 0 26px!important;padding:0 0 14px!important;border-bottom:1px solid var(--rule)!important;background:none!important;color:var(--ink)!important}.article-body h3{font:500 23px/1.6 var(--serif)!important;margin:32px 0 18px!important;color:var(--ink)!important}.article-body img{max-width:100%;height:auto}.article-body table{max-width:100%;font-size:16px}.article-body a{overflow-wrap:anywhere}.article-body svg{max-width:100%;height:auto}.article-return{margin-top:48px;border-top:1px solid var(--rule);padding-top:24px}.article-return h2{font-size:26px}.article-body [style*="font-size"]{min-width:0}.article-body>style{display:none}
@media(max-width:850px){.home-hero{grid-template-columns:1fr;gap:28px;padding:44px 0}.home-hero h1{font-size:32px}.purpose-links{grid-template-columns:1fr;gap:24px}.stories{grid-template-columns:1fr;gap:32px}.article-shell{padding:32px 24px 52px}.article-shell h1{font-size:28px}.article-body h2{font-size:24px!important}.article-body h3{font-size:22px!important}.article-heading h2{font-size:26px}.article-heading{gap:16px}.hero-note{padding:24px}}

header nav{grid-template-columns:repeat(5,minmax(0,1fr))}.home-hero{grid-template-columns:minmax(0,1fr) minmax(340px,.75fr);gap:44px}.hero-note h2{white-space:nowrap;font-size:24px}@media(max-width:850px){header nav{grid-template-columns:repeat(2,minmax(0,1fr))}header nav a:last-child{grid-column:1/-1}.home-hero{grid-template-columns:1fr}.hero-note{padding:22px 18px}.hero-note h2{font-size:24px;letter-spacing:0}}

.purpose-links{gap:24px;padding:36px 0 56px}.purpose-links a{display:flex;flex-direction:column;padding:28px 26px;background:#fff;border:1px solid var(--rule);border-top:3px solid var(--gold);transition:background .15s,border-color .15s}.purpose-links a:first-child{background:var(--ink);border-color:var(--ink);border-top-color:var(--gold)}.purpose-links a:first-child h2{color:var(--paper)}.purpose-links a:first-child p{color:#e2dacd}.purpose-links a:first-child span{color:#d8c6a5}.purpose-links h2{margin:0 0 18px;font-size:26px}.purpose-links p{margin:0 0 24px;line-height:1.9}.purpose-links span{margin-top:auto;border-top:1px solid var(--rule);padding-top:18px;min-height:44px;display:flex;align-items:center;font-size:16px}.purpose-links a:first-child span{border-color:#56504a}.purpose-links a:hover{background:var(--editorial);border-color:var(--gold)}.purpose-links a:first-child:hover{background:#333}.purpose-links a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}@media(max-width:850px){.purpose-links a{padding:26px 24px}.purpose-links h2{font-size:24px}}

:root{--font-long:18px;--font-ui:16px;--font-meta:14px;--font-card-title:22px;--font-story-title:18px;--space-card:20px}
.purpose-links{gap:20px;padding:28px 0 40px}.purpose-links a{padding:var(--space-card)}.purpose-links h2{font-size:var(--font-card-title);line-height:1.5;margin-bottom:12px}.purpose-links p{font-size:var(--font-ui);line-height:1.7;margin-bottom:16px}.purpose-links span{font-size:var(--font-ui);padding-top:12px}.story h3{font-size:var(--font-story-title);line-height:1.65;margin:10px 0 0}.stories{gap:32px 24px}.article-heading h2{font-size:28px}@media(max-width:850px){.purpose-links a{padding:20px}.purpose-links h2{font-size:22px}.article-heading h2{font-size:24px}}

header nav a{font-family:var(--sans);font-size:16px;font-weight:500}header nav a[aria-current="page"]{font-weight:600}

.site-about{max-width:none;width:100%}

footer p{max-width:none;width:100%}.footer-links{display:flex;flex-wrap:wrap;gap:4px 24px}.footer-links a{margin-right:0;font-size:14px;min-height:44px}.footer-copyright{margin-top:18px;font-size:14px}

.forecast-shell{padding-top:40px;padding-bottom:60px}.forecast-shell .kigaku-fixed-page-hero{margin:0;padding:36px 32px;background:var(--ink);text-align:left}.forecast-shell .kigaku-fixed-page-hero::before{display:none}.forecast-shell .kigaku-fixed-page-hero__inner{max-width:none}.forecast-shell .kigaku-fixed-page-hero h1{font:500 36px/1.5 var(--serif)}.forecast-shell .kigaku-fixed-page-hero__label{font-size:14px;letter-spacing:.06em}.forecast-shell .kigaku-fixed-page-hero__lead{font-size:18px;line-height:1.9;max-width:850px;margin-left:0}.forecast-shell .monthly-forecast{max-width:none;margin:0;padding:0;background:none}.forecast-shell h2{font:500 28px/1.6 var(--serif);margin:44px 0 24px;border-bottom:1px solid var(--rule);padding-bottom:14px}.forecast-shell h3{font:500 24px/1.5 var(--serif)}.forecast-shell h4{font:500 22px/1.6 var(--serif)}.forecast-shell p{font-size:18px;line-height:1.9}.forecast-shell .monthly-forecast-overall{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;background:#fff;border:1px solid var(--rule);padding:28px}.forecast-shell .monthly-forecast-chart{margin:0;max-width:100%;background:#fff;padding:0;border:0;box-shadow:none}.forecast-shell .monthly-forecast-chart__svg svg{max-width:100%;height:auto;display:block;margin:auto}.forecast-shell figcaption,.forecast-shell .monthly-forecast-chart-legend{font-size:14px;line-height:1.7;margin-top:12px}.forecast-shell .monthly-forecast-chart-legend{display:flex;flex-wrap:wrap;gap:12px}.forecast-shell .monthly-forecast-chart-legend br{display:none}.forecast-shell .monthly-forecast-lookup{padding:24px;background:#fff;border:1px solid var(--rule)}.forecast-shell .monthly-forecast-star-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.forecast-shell .monthly-forecast-star-card{background:#fff;border:1px solid var(--rule);border-top:3px solid var(--gold);padding:22px}.forecast-shell .monthly-forecast-star-card h3{margin:0 0 12px}.forecast-shell .monthly-forecast-star-card p{font-size:16px;line-height:1.7}.forecast-shell .monthly-forecast-meta,.forecast-shell .monthly-forecast-eyebrow{font-size:14px;line-height:1.7;color:var(--warm)}.forecast-shell a{font-size:16px;min-height:44px;display:inline-flex;align-items:center;overflow-wrap:anywhere}.forecast-shell .monthly-forecast-star-detail{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px 36px;border-top:1px solid var(--rule);padding:32px 0;margin:0;background:none}.forecast-shell .monthly-forecast-star-detail>h3,.forecast-shell .monthly-forecast-star-detail>.monthly-forecast-eyebrow,.forecast-shell .monthly-forecast-star-detail>.monthly-forecast-meta{grid-column:1/-1;margin:0}.forecast-shell .monthly-forecast-star-detail__body{min-width:0}.forecast-shell .monthly-forecast-archive,.forecast-shell .monthly-forecast-disclaimer{background:none;padding:0;border:0}.forecast-shell .kigaku-wrap{max-width:none;border:0;background:none;padding:0}
@media(max-width:850px){.forecast-shell .monthly-forecast-overall,.forecast-shell .monthly-forecast-star-detail{grid-template-columns:1fr;gap:24px}.forecast-shell .monthly-forecast-star-grid{grid-template-columns:1fr}.forecast-shell .monthly-forecast-chart{max-width:320px;margin:auto}.forecast-shell .kigaku-fixed-page-hero{padding:28px 24px}.forecast-shell .kigaku-fixed-page-hero h1{font-size:28px}.forecast-shell h2{font-size:24px}.forecast-shell .monthly-forecast-overall{padding:24px}}

.forecast-shell .monthly-forecast-star-card h3 a{font:500 22px/1.5 var(--serif);text-decoration:none;min-height:44px}.forecast-shell .monthly-forecast-star-card h3 a:hover{text-decoration:underline;text-underline-offset:5px}.forecast-shell .monthly-forecast-lookup{padding:24px 28px;border-left:3px solid var(--gold)}.forecast-shell .monthly-forecast-lookup .kigaku-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px}.forecast-shell .monthly-forecast-lookup p{margin:0;font-size:16px;line-height:1.7}.forecast-shell .monthly-forecast-lookup .btn{flex-shrink:0;min-height:52px}.forecast-shell .monthly-forecast-star-details{display:grid;gap:28px}.forecast-shell .monthly-forecast-star-detail{background:#fff;border:1px solid var(--rule);border-top:3px solid var(--gold);padding:28px 32px;gap:12px 36px}.forecast-shell .monthly-forecast-star-detail>h3{font:500 28px/1.5 var(--serif);color:var(--ink);padding-bottom:16px;border-bottom:1px solid var(--rule)}.forecast-shell .monthly-forecast-star-detail>.monthly-forecast-eyebrow{font-size:14px;color:var(--warm)}.forecast-shell .monthly-forecast-star-detail>.monthly-forecast-meta{font-size:16px;line-height:1.7;color:var(--warm);font-weight:400;padding:4px 0 12px}.forecast-shell .monthly-forecast-star-detail__body h4{font:500 22px/1.6 var(--serif);color:var(--ink);margin:0 0 16px}.forecast-shell .monthly-forecast-star-detail__body p{font-size:18px;line-height:1.9;color:var(--text);margin:0 0 20px}.forecast-shell .monthly-forecast-star-guide-link{margin-top:24px!important;border-top:1px solid var(--rule);padding-top:16px}.forecast-shell .monthly-forecast-star-guide-link a{background:none;border:0;padding:0;color:var(--warm);font-size:16px;text-decoration:underline;text-underline-offset:5px}.forecast-shell .monthly-forecast-star-detail figure{align-self:start}.forecast-shell .monthly-forecast-star-card{display:flex;flex-direction:column}.forecast-shell .monthly-forecast-star-card .monthly-forecast-readmore{margin-top:auto}
@media(max-width:850px){.forecast-shell .monthly-forecast-lookup{padding:22px}.forecast-shell .monthly-forecast-lookup .kigaku-wrap{flex-direction:column;align-items:stretch;gap:16px}.forecast-shell .monthly-forecast-star-detail{padding:24px 22px;gap:16px}.forecast-shell .monthly-forecast-star-detail>h3{font-size:26px}.forecast-shell .monthly-forecast-star-detail__body h4{font-size:22px}}

.forecast-shell .monthly-forecast-star-detail .monthly-forecast-star-detail__body>h3{font:500 28px/1.5 var(--serif);margin:8px 0 20px;color:var(--ink)}

.forecast-shell .monthly-forecast-lookup .kigaku-wrap{display:block}#forecastBirth{width:100%}.forecast-birth-fields{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:16px;align-items:end;margin-top:18px}.forecast-birth-fields label{font-size:16px}.forecast-birth-fields input,.forecast-birth-fields select{font-size:16px;min-height:52px}#forecastBirth .caption{font-size:14px;margin-top:16px}#forecastBirthResult{margin-top:24px;padding:20px;background:var(--paper);border-left:3px solid var(--gold)}#forecastBirthResult strong{font:500 22px/1.6 var(--serif)}#forecastBirthResult p{font-size:18px;margin-top:12px}@media(max-width:850px){.forecast-birth-fields{grid-template-columns:1.4fr 1fr 1fr;gap:10px}.forecast-birth-fields button{grid-column:1/-1;width:100%}}

#forecastDialog{width:min(1040px,calc(100vw - 64px));max-height:calc(100dvh - 64px);padding:0;border:1px solid var(--rule);background:var(--paper);color:var(--text)}#forecastDialog::backdrop{background:rgba(28,28,28,.65)}.forecast-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 24px;background:var(--ink);color:var(--paper);position:sticky;top:0;z-index:1;font-size:16px}.forecast-dialog-top button{border:1px solid #d0cbc3;background:transparent;color:var(--paper);min-height:44px;padding:8px 18px;font-size:16px}#forecastDialogBody{padding:28px}#forecastDialogBody .monthly-forecast-star-detail{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;border:0;background:#fff;padding:28px;margin:0}#forecastDialogBody .monthly-forecast-star-detail__body>h3{font:500 28px/1.5 var(--serif);margin:8px 0 20px;color:var(--ink)}#forecastDialogBody h4{font:500 22px/1.6 var(--serif);margin:16px 0}#forecastDialogBody p{font-size:18px;line-height:1.9;margin:0 0 20px;color:var(--text)}#forecastDialogBody .monthly-forecast-eyebrow{font-size:14px;color:var(--warm)}#forecastDialogBody .monthly-forecast-meta{font-size:16px;line-height:1.7;color:var(--warm)}#forecastDialogBody figure{margin:0;max-width:100%}#forecastDialogBody svg{width:100%;height:auto}#forecastDialogBody figcaption,#forecastDialogBody .monthly-forecast-chart-legend{font-size:14px;line-height:1.7}#forecastDialogBody .monthly-forecast-chart-legend{display:flex;flex-wrap:wrap;gap:10px}#forecastDialogBody .monthly-forecast-chart-legend br{display:none}#forecastDialogBody a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;color:var(--warm)}

.renewal-page{max-width:1180px;margin:auto;padding:40px}.renewal-page .main{max-width:none}.renewal-page p{font-size:18px;line-height:1.9}.renewal-page .page-header{margin:0;background:#1c1c1c}.renewal-page .page-header h1{color:#f7f3ee}.renewal-page .page-header::before{display:none}.renewal-page h1{font-size:36px}.renewal-page h2{font-size:28px}.renewal-page h3{font-size:22px}.renewal-page img{max-width:100%;height:auto}.renewal-page svg{max-width:100%;height:auto}.renewal-page a{overflow-wrap:anywhere}.renewal-page input,.renewal-page select,.renewal-page button{font-size:16px;min-height:44px}.renewal-search{display:flex;gap:12px}.renewal-search label{flex:1}.renewal-search input{width:100%}.renewal-page .page-header .desc{font-size:18px!important}.renewal-page .term-body{font-size:18px!important}.renewal-page .toc a{font-size:16px;min-height:44px;display:inline-flex;align-items:center}@media(max-width:850px){.renewal-page{padding:32px 20px}.renewal-page h1{font-size:28px}.renewal-page h2{font-size:24px}.renewal-page .term-item{display:block}.renewal-page .section-icon{display:none}}

body.renewal-site .article-body .kigaku-summary-table{display:block;max-width:100%;min-width:0;overflow-x:auto}body.renewal-site .renewal-page{width:100%;min-width:0;overflow-wrap:anywhere}body.renewal-site .renewal-page *{min-width:0;box-sizing:border-box}body.renewal-site .renewal-page .page-header::before,body.renewal-site .renewal-page .section::before{display:none!important}body.renewal-site .renewal-page .main{width:100%;padding-left:0;padding-right:0}body.renewal-site .article-shell{width:100%;min-width:0}body.renewal-site header nav{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:850px){body.renewal-site header nav{grid-template-columns:repeat(2,minmax(0,1fr))}body.renewal-site header nav a:last-child{grid-column:1/-1}}

body.renewal-site .article-body .kigaku-summary-table{min-width:0!important;width:100%!important;display:block!important;overflow:auto!important}body.renewal-site .article-body .kigaku-summary-table-wrap{max-width:100%;overflow:auto}body.renewal-site .article-body{min-width:0;overflow-wrap:anywhere}

/* Shared archive width follows the navigation content edges. */
body.renewal-site > header{border-bottom:0!important}
body.renewal-site .renewal-page{max-width:1180px;padding-left:40px;padding-right:40px}
@media(max-width:850px){body.renewal-site .renewal-page{padding-left:20px;padding-right:20px}}
body.renewal-site .renewal-page .story h3{font-size:18px;line-height:1.65}
@media(max-width:850px){body.renewal-site .renewal-page{padding-left:18px;padding-right:18px}}

/* Pagination is a compact control, independent of header navigation. */
body.renewal-site .renewal-page nav.pagination{display:block;width:100%;margin:12px 0 24px;padding:0;border:0;background:none;box-shadow:none}
body.renewal-site .renewal-page .pagination .nav-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px}
body.renewal-site .renewal-page .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;margin:0;border:1px solid var(--rule);background:#fff;color:var(--ink);font:500 16px/1.5 var(--sans);text-decoration:none;box-shadow:none;border-radius:0}
body.renewal-site .renewal-page .pagination .page-numbers.current{background:var(--ink);color:var(--paper);border-color:var(--ink)}
body.renewal-site .renewal-page .pagination a.page-numbers:hover{border-color:var(--gold);background:var(--paper)}
body.renewal-site .renewal-page .pagination .page-numbers.dots{border:0;background:none;padding:8px;min-width:24px}

body.renewal-site .archive-intro{font-size:18px;line-height:1.9;margin:0 0 32px;max-width:100%}
/* Absolute centering must retain the full SVG canvas width. */
body.renewal-site .article-body .kigaku-ban-wrap .ban-svg-inner{width:100%;max-width:100%}
body.renewal-site .article-body .ban-svg-inner svg{display:block;width:100%;height:auto;max-width:100%}
/* Leave breathing room between the octagon and surrounding direction labels. */
body.renewal-site .article-body .kigaku-ban-wrap .ban-svg-inner{width:92%;max-width:92%}

.article-toc,.board-guide{border:1px solid var(--rule);padding:16px 20px;margin:24px 0;background:#fff;font-size:18px}
.article-toc summary,.board-guide summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:16px}.article-toc a{display:block;padding:10px 0;min-height:44px;font-size:16px}
.article-body button.term-help{font:inherit;color:var(--warm);background:none;border:0;border-bottom:1px dotted var(--warm);padding:0;cursor:pointer;min-height:44px}
.term-dialog{width:min(520px,calc(100% - 36px));padding:24px;border:1px solid var(--rule);background:var(--paper);color:var(--text)}.term-dialog::backdrop{background:#0008}.term-dialog p{font-size:18px;line-height:1.9}.term-dialog h2{font-size:24px}.term-dialog a,.term-close{font-size:16px;min-height:44px;display:inline-flex;align-items:center}.term-close{float:right;background:none;border:1px solid var(--rule);padding:8px 12px}
.back-to-top{position:fixed;right:18px;bottom:18px;width:48px;height:48px;background:var(--ink);color:var(--paper);border:1px solid var(--gold);font-size:24px;z-index:50}.article-shell{padding-bottom:90px}.article-related{margin-top:48px;border-top:1px solid var(--rule);padding-top:24px}.article-related .story h3{font-size:18px}.article-related .stories{padding-bottom:20px}.board-guide a{min-height:44px;display:inline-flex;align-items:center;font-size:16px}

body.renewal-site .article-body h2.article-faq-heading{border-bottom:0!important;padding-bottom:0!important}
body.renewal-site .article-body .article-faq-body{border-top:0!important}

body.renewal-site .back-to-top{width:auto;min-width:156px;height:48px;padding:10px 16px;font:600 16px/1.5 var(--sans);background:var(--ink);color:#fff;border:2px solid var(--gold);box-shadow:0 3px 12px #0003;bottom:24px;right:24px}
@media(max-width:850px){body.renewal-site .back-to-top{bottom:16px;right:16px;min-width:148px}}

.article-toc ul{margin:8px 0 0;padding-left:24px}.article-toc li{margin:0}.article-toc a{padding:6px 0;line-height:1.5;min-height:36px}@media(max-width:850px){.article-toc a{min-height:44px;display:flex;align-items:center}}
/* Links use a quiet fill instead of a solid focus rectangle. */
body.renewal-site a:focus,body.renewal-site a:focus-visible{outline:none!important;box-shadow:none!important}
body.renewal-site a:focus-visible{background-color:#e8dfce!important;color:var(--ink)!important;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}

body.renewal-site a:focus-visible{text-decoration-style:dotted;text-decoration-color:#b6a78d;text-decoration-thickness:1px;text-underline-offset:4px}
body.renewal-site .article-body button.board-guide{display:flex;align-items:center;min-height:44px;padding:8px 0;margin:20px 0 12px;border:0;border-bottom:1px dotted var(--warm);background:none;color:var(--warm);font:500 16px/1.6 var(--sans);cursor:pointer;width:auto}
/* Keep publication date and title together in archive cards. */
body.renewal-site .renewal-page .story .meta{margin:6px 0 4px;line-height:1.5;font-size:14px}
body.renewal-site .renewal-page .story h3{margin-top:0}

body.renewal-site #birthForm .genderfield{display:grid;grid-template-columns:auto 120px;align-items:center;justify-content:start;gap:10px 16px;width:100%;max-width:none}body.renewal-site #birthForm .genderfield label{margin:0;font-size:16px}body.renewal-site #birthForm #gender{width:120px;min-height:48px}body.renewal-site #birthForm .genderfield .caption{grid-column:1/-1;margin:0 0 16px}

#result .result-reading{display:block;font:400 14px/1.5 var(--sans);letter-spacing:.04em;margin:2px 0 12px;color:var(--warm)}#result .main-star .result-reading{color:#d9c8a9;margin-top:0}

#result #reading-panel-1 .kigaku-personality > p {
  max-width: none;
  word-break: auto-phrase;
  text-wrap: pretty;
}

body.renewal-site #birthForm .fields{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:12px;align-items:end}body.renewal-site #birthForm .fields .field{min-width:0}body.renewal-site #birthForm .fields .genderfield{display:block;width:auto;margin:0}body.renewal-site #birthForm .fields label{display:block;margin:0 0 8px}body.renewal-site #birthForm .fields select,body.renewal-site #birthForm #gender{width:100%;min-width:0;min-height:48px}@media(max-width:850px){body.renewal-site #birthForm .fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
.modern-static{font:400 18px/1.9 var(--sans);color:var(--text)}
body.renewal-site .modern-static .page-header{background:var(--ink);padding:32px;text-align:left;color:var(--paper)}
body.renewal-site .modern-static .page-header h1{font:500 36px/1.5 var(--serif);margin:8px 0 16px;color:var(--paper)}
.modern-static .page-header .desc{max-width:none;color:#e4ddd3!important;margin:0;font-size:18px!important;line-height:1.9}
.modern-static .page-header .label{color:#d9c8a9;font-size:14px;letter-spacing:.05em}
.modern-static .toc{display:flex;flex-wrap:wrap;gap:8px;padding:20px 0;background:none;border-bottom:1px solid var(--rule);margin-bottom:32px}
.modern-static .toc a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;background:#fff;border:1px solid var(--rule);font:500 16px/1.5 var(--sans);text-decoration:none;color:var(--ink)}
.modern-static .toc a:hover{border-color:var(--gold)}
.modern-static .main{max-width:none;margin:0;padding:0!important}
.modern-static .section{margin:0 0 44px;scroll-margin-top:24px}
.modern-static .section-header{border-bottom:1px solid var(--rule);margin:0 0 20px;padding:0 0 12px}
.modern-static .section-title{font:500 28px/1.5 var(--serif);margin:0}
.modern-static p,.modern-static .prose,.modern-static .star-desc,.modern-static .qa-a,.modern-static .concept-body,.modern-static .timeline-body,.modern-static .cta-desc{font-size:18px;line-height:1.9}
.modern-static .prose p{margin-bottom:20px}
.modern-static .concept-grid,.modern-static .star-grid,.modern-static .cta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.modern-static .cta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.modern-static .concept-card,.modern-static .star-card,.modern-static .cta-card{background:#fff;border:1px solid var(--rule);border-top:3px solid var(--gold);padding:24px;min-width:0}
.modern-static .concept-title,.modern-static .star-name,.modern-static .cta-title,.modern-static .guide-step-title,.modern-static .timeline-title{font:500 22px/1.5 var(--serif);margin:8px 0 12px}
.modern-static .star-reading,.modern-static .footnote,.modern-static .star-gogyou,.modern-static .cta-label{font-size:14px;line-height:1.7}
.modern-static .star-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.modern-static .star-tag{font-size:14px;background:var(--paper);padding:4px 8px}
.modern-static .star-number,.modern-static .concept-number,.modern-static .guide-step-num{font:500 24px/1.5 var(--serif);color:var(--warm)}
.modern-static .timeline-item,.modern-static .guide-step,.modern-static .qa-item,.modern-static .question-item{padding:20px 0;border-bottom:1px solid var(--rule)}
.modern-static .qa-q{font-weight:600;font-size:18px;margin-bottom:12px}.modern-static .timeline-era{font-size:16px;color:var(--warm)}
.modern-static .blockquote{border-left:3px solid var(--gold);padding:16px 24px;margin:24px 0;background:#fff}
.modern-static .cta-btn,.modern-static .guide-step-link,.modern-static .kigaku-link-btn{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;font-size:16px}
@media(max-width:850px){body.renewal-site .modern-static .page-header{padding:24px}body.renewal-site .modern-static .page-header h1{font-size:28px}.modern-static .section-title{font-size:24px}.modern-static .concept-grid,.modern-static .star-grid,.modern-static .cta-grid{grid-template-columns:1fr}.modern-static .concept-card,.modern-static .star-card,.modern-static .cta-card{padding:20px}}
body.renewal-site footer .footer-directory{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:40px;margin:0 0 32px;border:0;background:none;padding:0}
.footer-directory h2{font:500 20px/1.5 var(--serif);margin:0 0 12px;color:var(--ink)}.footer-directory ul{list-style:none;margin:0;padding:0}.footer-directory li{margin:0}.footer-directory a{display:inline-flex;align-items:center;min-height:44px;font:400 16px/1.6 var(--sans);text-decoration:none;color:var(--warm)}.footer-directory a:hover{text-decoration:underline}.footer-directory section:nth-child(2) ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.footer-note{font-size:14px!important;line-height:1.8}
@media(max-width:850px){body.renewal-site footer .footer-directory{grid-template-columns:1fr;gap:28px}.footer-directory section ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}}

/* Beginner guide: numbered rows and compact, aligned destinations. */
.modern-static .guide-step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:24px 0}
.modern-static .guide-step-num{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--ink);color:var(--paper);font-size:22px}
.modern-static .guide-step-title{margin:4px 0 12px}
.modern-static .guide-step-body{margin:0 0 12px}
.modern-static .guide-step-body .guide-step-link{display:inline;padding:0;min-height:0;font-size:inherit}
.modern-static .cta-card{display:flex;flex-direction:column;gap:12px}
.modern-static .cta-card .cta-title,.modern-static .cta-card .cta-desc{margin:0}
.modern-static .cta-card .cta-title{font-size:24px}
.modern-static .cta-card .cta-desc{flex:1}
.modern-static .cta-card>div{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:8px 20px!important;align-items:flex-start!important}
.modern-static .cta-card .cta-btn{align-self:flex-start;margin:0;padding:8px 0;min-height:44px;line-height:1.5;background:none;color:var(--warm)}
@media(max-width:850px){.modern-static .guide-step{gap:12px}.modern-static .cta-card .cta-title{font-size:22px}}

.modern-static .cta-card>div{margin:0}.modern-static .cta-card>.cta-btn,.modern-static .cta-card>div{margin-top:auto}

/* The page shell already supplies the space below global navigation. */
body.renewal-site .renewal-page>#self.step{padding-top:0}

/* Direction primer follows the renewed static-page system. */
.modern-static .houi-guide{background:transparent;color:var(--text);font:400 18px/1.9 var(--sans)}
body.renewal-site .houi-guide .hg-hero{background:var(--ink);color:var(--paper);padding:32px;border:0;text-align:left}
body.renewal-site .houi-guide .hg-hero h1{font:500 36px/1.5 var(--serif);color:var(--paper);margin:0 0 16px}
.houi-guide .hg-hero p{margin:0;color:#e4ddd3;font-size:18px}
.houi-guide .hg-toc{display:flex;flex-wrap:wrap;gap:8px;padding:20px 0;margin:0 0 32px;border:0;border-bottom:1px solid var(--rule);background:none}
.houi-guide .hg-toc a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;background:#fff;border:1px solid var(--rule);font:500 16px/1.5 var(--sans);text-decoration:none}
.houi-guide .hg-wrap{max-width:none;margin:0;padding:0}
.houi-guide section{margin:44px 0;scroll-margin-top:24px}
.houi-guide h2{font:500 28px/1.5 var(--serif);padding-bottom:12px;border-bottom:1px solid var(--rule);margin:0 0 24px}
.houi-guide h3{font:500 22px/1.5 var(--serif);margin:28px 0 16px}
.houi-guide p{font-size:18px;line-height:1.9;margin:0 0 20px}
.houi-guide .hg-figure{margin:28px auto;max-width:720px}
.houi-guide .hg-figure svg{display:block;width:100%;height:auto;border:1px solid var(--rule)}
.houi-guide figcaption{font-size:14px;line-height:1.8;color:var(--warm);margin-top:12px}
.houi-guide table{width:100%;border-collapse:collapse;margin:24px 0;font-size:18px;table-layout:fixed}
.houi-guide th,.houi-guide td{padding:16px;border:1px solid var(--rule);vertical-align:top;overflow-wrap:anywhere}
.houi-guide th{background:var(--ink);color:var(--paper);text-align:left}
.houi-guide td{background:#fff}
.houi-guide .hg-related a{display:flex;align-items:center;min-height:44px;padding:12px 0;font-size:16px;color:var(--warm)}
@media(max-width:850px){body.renewal-site .houi-guide .hg-hero{padding:24px}body.renewal-site .houi-guide .hg-hero h1{font-size:28px}.houi-guide h2{font-size:24px}.houi-guide th,.houi-guide td{padding:12px}}

/* Shared fixed-page links: prose, local navigation, and action links. */
body.renewal-site .renewal-page a:not(svg a){color:var(--warm);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body.renewal-site .renewal-page :is(.toc,.hg-toc,.kg-toc,.sg-jump) a{color:var(--ink);text-decoration:none}
body.renewal-site .renewal-page a:hover{color:var(--ink);text-decoration:underline}
body.renewal-site .renewal-page :is(.cta-btn,.guide-step-link,.kg-action,.sg-action,.sg-button,.kigaku-link-btn,.textlink){display:inline-flex;align-items:center;justify-content:flex-start;min-height:44px;min-width:44px;padding:8px 0;font:500 16px/1.5 var(--sans);color:var(--warm);background:none;border:0;text-decoration:none}
body.renewal-site .renewal-page :is(.cta-btn,.guide-step-link,.kg-action,.sg-action,.sg-button,.kigaku-link-btn,.textlink):hover{text-decoration:underline}
body.renewal-site .renewal-page .guide-step-body a{display:inline;min-height:0;padding:0;font:inherit;text-decoration:underline}
body.renewal-site .renewal-page a.btn{color:#fff;background:var(--ink);text-decoration:none}
.modern-static .term-item{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:24px 0;border-bottom:1px solid var(--rule)}
.modern-static .term-ja{display:block;font:500 22px/1.5 var(--serif)}
.modern-static :is(.term-reading,.term-note){display:block;font-size:14px;line-height:1.8;color:var(--warm)}
.modern-static .term-body{margin:0}
.modern-static .kigaku-table{width:100%;border-collapse:collapse;font-size:18px}.modern-static .kigaku-table :is(th,td){padding:12px;border:1px solid var(--rule)}
/* Star and inclination guides use the same hero and navigation as other pages. */
body.renewal-site .modern-static :is(.sg-hero,.kg-hero){background:var(--ink);padding:32px;color:var(--paper);border:0;text-align:left}
body.renewal-site .modern-static :is(.sg-hero,.kg-hero) h1{font:500 36px/1.5 var(--serif);color:var(--paper);margin:0 0 16px}
.modern-static :is(.sg-hero,.kg-hero) p{color:#e4ddd3;margin-bottom:0}
.modern-static .sg-meta{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:20px;font-size:16px;color:#d9c8a9}
.modern-static :is(.sg-jump,.kg-toc){padding:20px 0;margin-bottom:32px;border:0;border-bottom:1px solid var(--rule);background:none}
.modern-static :is(.sg-jump__inner,.kg-toc){display:flex;flex-wrap:wrap;gap:8px}
.modern-static :is(.sg-jump,.kg-toc) a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;background:#fff;border:1px solid var(--rule);font:500 16px/1.5 var(--sans)}
.modern-static :is(.sg-main,.kg-wrap){padding:0;max-width:none;margin:0}
.modern-static :is(.sg-section,.keisha-guide section){margin:44px 0;scroll-margin-top:24px}
.modern-static :is(.sg-section,.keisha-guide) h2{font:500 28px/1.5 var(--serif);margin:0 0 24px;padding-bottom:12px;border-bottom:1px solid var(--rule)}
.modern-static :is(.sg-section,.keisha-guide) h3{font:500 22px/1.5 var(--serif);margin:24px 0 12px}
.modern-static :is(.sg-section__number,.kg-related-label){display:none}
.modern-static :is(.sg-profile,.sg-summary-grid,.sg-articles){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.modern-static :is(.sg-profile__item,.sg-summary,.sg-article){background:#fff;border-top:2px solid var(--gold);padding:20px;min-width:0}
.modern-static :is(.sg-profile__label,.sg-summary__label,.sg-footnote,.sg-combo__stars,.sg-choice__palace){font-size:14px;line-height:1.8;color:var(--warm)}
.modern-static .sg-profile__value{font-size:22px}
.modern-static .sg-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.modern-static .sg-choice{display:flex;flex-direction:column;padding:16px;background:#fff;border:1px solid var(--rule);min-height:44px;font-size:18px}
.modern-static .sg-combo{padding:24px 0;border-bottom:1px solid var(--rule);scroll-margin-top:24px}
.modern-static :is(.sg-actions,.kg-links){display:flex;flex-wrap:wrap;gap:12px 24px;margin:20px 0}
.modern-static :is(.kg-board){max-width:560px;margin:24px auto}
.modern-static :is(.kg-board) svg{display:block;width:100%;height:auto}
.modern-static :is(.kg-note,.sg-note){font-size:14px;line-height:1.8;color:var(--warm)}
.modern-static :is(.sg-article img){width:100%;height:auto}
@media(max-width:850px){.modern-static .term-item{display:block}.modern-static .term-name{margin-bottom:12px}body.renewal-site .modern-static :is(.sg-hero,.kg-hero){padding:24px}body.renewal-site .modern-static :is(.sg-hero,.kg-hero) h1{font-size:28px}.modern-static :is(.sg-section,.keisha-guide) h2{font-size:24px}.modern-static :is(.sg-profile,.sg-summary-grid,.sg-articles){grid-template-columns:1fr}.modern-static .sg-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.modern-static .kigaku-table{display:block;overflow-x:auto}}

body.renewal-site .forecast-shell a:not(svg a){color:var(--warm);text-decoration:none;text-underline-offset:4px}body.renewal-site .forecast-shell a:hover{text-decoration:underline}body.renewal-site .modern-static .sg-choice{text-decoration:none}.modern-static .sg-choice:hover{border-color:var(--gold)}

body.renewal-site .renewal-page a.renewal-action-link{display:inline-flex;align-items:center;min-width:44px;min-height:44px;padding:8px 0;font:500 16px/1.5 var(--sans);color:var(--warm);background:none;border:0;text-decoration:none}
body.renewal-site .renewal-page a.renewal-action-link:hover{text-decoration:underline}
body.renewal-site .renewal-page a.renewal-action-link:focus-visible{text-decoration:underline dotted #b6a78d 1px}

/* Editorial entrances: type and space rather than framed cards. */
body.renewal-site .home-hero .hero-note{padding:0 0 0 32px;background:none;border:0;border-left:1px solid var(--rule);box-shadow:none}
body.renewal-site .home-hero .hero-note .btn{display:inline-flex;width:auto;min-height:44px;padding:8px 0;background:none;color:var(--warm);border:0;text-decoration:none}
body.renewal-site .home-hero .hero-note .btn:hover{text-decoration:underline}
body.renewal-site .purpose-links{gap:32px;padding:28px 0 40px}
body.renewal-site .purpose-links a,body.renewal-site .purpose-links a:first-child,body.renewal-site .purpose-links a:hover,body.renewal-site .purpose-links a:first-child:hover{padding:0;background:none;border:0;box-shadow:none}
body.renewal-site .purpose-links a h2,body.renewal-site .purpose-links a:first-child h2{color:var(--ink)}
body.renewal-site .purpose-links a p,body.renewal-site .purpose-links a:first-child p{color:var(--text)}
body.renewal-site .purpose-links a span,body.renewal-site .purpose-links a:first-child span{color:var(--warm);border:0;padding-top:0;min-height:44px}
body.page .modern-static #concept .concept-grid{display:block;margin:28px 0}
body.page .modern-static #concept .concept-card{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.7fr);gap:24px;padding:24px 0;background:none;border:0;border-top:1px solid var(--rule);box-shadow:none}
body.page .modern-static #concept .concept-number{display:none}
body.page .modern-static #concept .concept-title{margin:0;font-size:22px}
body.page .modern-static #concept .concept-title br{display:none}
body.page .modern-static #concept .concept-body{margin:0}
@media(max-width:850px){body.renewal-site .home-hero .hero-note{padding:24px 0 0;border-left:0;border-top:1px solid var(--rule)}body.renewal-site .purpose-links{gap:24px}body.renewal-site .purpose-links a{padding:0 0 20px;border-bottom:1px solid var(--rule)}body.page .modern-static #concept .concept-card{grid-template-columns:1fr;gap:12px}}

/* Home entrances: plain white cards, without decorative accent borders. */
body.renewal-site .home-hero .hero-note{padding:28px;background:#fff;border:1px solid var(--rule);box-shadow:none}
body.renewal-site .purpose-links{gap:20px}
body.renewal-site .purpose-links a,body.renewal-site .purpose-links a:first-child,body.renewal-site .purpose-links a:hover,body.renewal-site .purpose-links a:first-child:hover{padding:24px;background:#fff;border:1px solid var(--rule);box-shadow:none}
@media(max-width:850px){body.renewal-site .home-hero .hero-note,body.renewal-site .purpose-links a{padding:20px}}

body.renewal-site .home-hero{border-bottom:0}

body.renewal-site .home-hero .hero-note .btn{width:100%;min-height:54px;justify-content:center;padding:12px 28px;background:var(--ink);color:#fff;border:1px solid var(--ink);text-decoration:none}body.renewal-site .home-hero .hero-note .btn:hover{background:#000;text-decoration:none}

body.renewal-site .modern-static #origin .blockquote{border-left:0}

body.renewal-site .modern-static #stars .star-card{border-top:1px solid var(--rule)}

/* Star guides: editorial overview, compact facts, clear combination readings. */
body.renewal-site .star-guide .sg-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
body.renewal-site .star-guide .sg-summary{background:none;border:0;padding:12px 0}
body.renewal-site .star-guide .sg-summary__label{margin:0 0 10px;font-size:14px}
body.renewal-site .star-guide .sg-summary__title{font:500 24px/1.5 var(--serif);margin:0 0 14px}
body.renewal-site .star-guide .sg-summary__body{margin:0;font-size:18px}
body.renewal-site .star-guide .sg-profile{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;border-top:1px solid var(--rule)}
body.renewal-site .star-guide .sg-profile__item{display:flex;flex-direction:column;gap:6px;background:none;border:0;border-bottom:1px solid var(--rule);padding:18px 0}
body.renewal-site .star-guide .sg-profile__label{margin:0;font-size:14px}
body.renewal-site .star-guide .sg-profile__value{margin:0;font:500 22px/1.5 var(--serif)}
body.renewal-site .star-guide .sg-keisha-intro{max-width:850px}
body.renewal-site .star-guide .sg-choices{gap:12px}
body.renewal-site .star-guide .sg-choice{padding:18px 20px;position:relative;gap:4px;min-height:88px;text-decoration:none;border:1px solid var(--rule);background:#fff}
body.renewal-site .star-guide .sg-choice__month{font-size:18px;color:var(--ink)}
body.renewal-site .star-guide .sg-choice__palace{font-size:14px;color:var(--warm)}
body.renewal-site .star-guide .sg-choice:hover{border-color:var(--warm)}
body.renewal-site .star-guide .sg-combo{padding:28px 0;border:0;border-top:1px solid var(--rule)}
body.renewal-site .star-guide .sg-combo summary{cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:8px 20px;min-height:44px;list-style:none}
body.renewal-site .star-guide .sg-combo summary::-webkit-details-marker{display:none}
body.renewal-site .star-guide .sg-combo__stars{font-size:16px;grid-column:1;color:var(--warm)}
body.renewal-site .star-guide .sg-combo__palace{font-size:16px;grid-column:2;grid-row:1;color:var(--warm)}
body.renewal-site .star-guide .sg-combo__headline{grid-column:1/-1;font:500 26px/1.5 var(--serif);color:var(--ink)}
body.renewal-site .star-guide .sg-combo__headline::after{content:' ＋';font:400 16px var(--sans);color:var(--warm)}
body.renewal-site .star-guide .sg-combo[open] .sg-combo__headline::after{content:' −'}
body.renewal-site .star-guide .sg-combo__body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:20px 0}
body.renewal-site .star-guide .sg-combo__body h3{font-size:20px;margin:0 0 12px}
body.renewal-site .star-guide .sg-combo__body p{margin:0;font-size:18px;line-height:1.9}
body.renewal-site .star-guide .sg-combo__back{margin:12px 0 0}
body.renewal-site .star-guide .sg-combo__back a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;text-decoration:none}
body.renewal-site .star-guide .sg-article{padding:0;background:none;border:0}
body.renewal-site .star-guide .sg-article h3{font-size:20px;margin:12px 0}
@media(max-width:850px){body.renewal-site .star-guide .sg-summary-grid{grid-template-columns:1fr;gap:0}body.renewal-site .star-guide .sg-summary{padding:20px 0;border-bottom:1px solid var(--rule)}body.renewal-site .star-guide .sg-profile{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}body.renewal-site .star-guide .sg-choice{padding:14px 12px}body.renewal-site .star-guide .sg-choice__month{font-size:16px}body.renewal-site .star-guide .sg-combo summary{grid-template-columns:1fr}.star-guide .sg-combo__palace{grid-column:1!important;grid-row:auto!important}body.renewal-site .star-guide .sg-combo__headline{font-size:24px}body.renewal-site .star-guide .sg-combo__body{grid-template-columns:1fr;gap:24px}}

/* Explicit placement prevents legacy anchor rules from creating grid holes. */
body.renewal-site .star-guide .sg-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:12px;padding:20px;background:#eee8df;margin:28px 0 40px}
body.renewal-site .star-guide .sg-choices>a.sg-choice{grid-column:auto!important;grid-row:auto!important;margin:0!important;align-self:stretch;width:auto;float:none;min-height:88px}
body.renewal-site .star-guide .sg-choices>p,body.renewal-site .star-guide .sg-choices>br{display:none}
body.renewal-site .star-guide .sg-combo__headline{font-weight:600}
body.renewal-site .star-guide .sg-combo__palace{color:var(--ink);font-weight:600}
body.renewal-site .star-guide .sg-combo__body{background:#fff;padding:28px;margin:24px 0 12px}
body.renewal-site .star-guide .sg-combo__body h3{font-family:var(--sans);font-weight:600;font-size:18px}
@media(max-width:850px){body.renewal-site .star-guide .sg-choices{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}body.renewal-site .star-guide .sg-combo__body{padding:20px}}

/* Site-wide link states: role, not page-specific legacy selectors, owns decoration. */
body.renewal-site a[data-link-role]{text-decoration:none!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important}
body.renewal-site a[data-link-role="prose"]{text-decoration-line:underline!important;text-decoration-style:solid!important;text-decoration-color:currentColor!important}
body.renewal-site a[data-link-role="action"]:hover:not(:focus):not(:active){text-decoration-line:underline!important;text-decoration-style:solid!important}
body.renewal-site a[data-link-role]:focus:not(:focus-visible),body.renewal-site a[data-link-role]:active{outline:none!important;box-shadow:none!important}
body.renewal-site a[data-link-role="action"]:focus:not(:focus-visible),body.renewal-site a[data-link-role="action"]:active{ text-decoration:none!important }
body.renewal-site a[data-link-role]:focus-visible{outline:none!important;box-shadow:none!important;text-decoration-line:underline!important;text-decoration-style:dotted!important;text-decoration-color:#b6a78d!important;background-color:#e8dfce!important}
body.renewal-site a[data-link-role="button"]:focus-visible{outline:2px solid var(--gold)!important;outline-offset:3px;text-decoration:none!important}
body.renewal-site a[data-link-role="action"][data-pointer-activated="true"]{text-decoration:none!important;outline:none!important;box-shadow:none!important}
body.renewal-site a[data-link-role="action"][data-pointer-activated="true"]:hover:not(:focus):not(:active){text-decoration:none!important}

/* All article heroes use the approved compact nine-star series. */
.renewal-article-hero{width:100%;height:190px;margin:30px 0 38px;background-position:center right;background-size:cover;background-repeat:no-repeat}
@media(max-width:760px){.renewal-article-hero{height:130px;margin:24px 0 30px}}

/* Minimal shared navigation, approved October 2026. */
body.renewal-site .renewal-header{background:var(--editorial);border:0}
body.renewal-site .renewal-header-inner{display:flex;align-items:center;gap:30px;min-height:105px;position:relative;border-bottom:1px solid var(--rule)}
body.renewal-site .renewal-header .brand{margin-right:auto;flex-shrink:0}
body.renewal-site .renewal-header nav.renewal-desktop-nav{display:flex;gap:18px;padding:0;border:0;background:none}
body.renewal-site .renewal-header nav a{display:flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:16px/1.6 var(--sans);text-decoration:none;white-space:nowrap}
body.renewal-site .renewal-header nav a[aria-current=page]{background:none;border:0;color:var(--warm)}
body.renewal-site .renewal-header nav a:hover{text-decoration:underline;text-underline-offset:5px}
body.renewal-site .renewal-header .renewal-nav-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:30px;background:var(--ink);color:white;font:16px/1.5 var(--sans);text-decoration:none;white-space:nowrap}
.renewal-mobile-menu,.nav-cta-sp{display:none}
@media(max-width:1199px){body.renewal-site .renewal-header-inner{gap:12px;min-height:86px;flex-wrap:wrap;padding-top:15px;padding-bottom:15px}body.renewal-site .renewal-header nav.renewal-desktop-nav{display:none}.nav-cta-pc{display:none}.nav-cta-sp{display:inline}.renewal-mobile-menu{display:block}.renewal-mobile-menu summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font:16px/1.5 var(--sans);list-style:none}.renewal-mobile-menu summary::-webkit-details-marker{display:none}.renewal-mobile-menu[open] summary span{transform:rotate(45deg)}body.renewal-site .renewal-header .renewal-mobile-menu nav{position:absolute;left:0;right:0;top:100%;z-index:100;display:flex;flex-direction:column;gap:0;padding:16px 24px 24px;background:var(--editorial);border-bottom:1px solid var(--rule);box-shadow:0 12px 18px #1c1c1c08}body.renewal-site .renewal-header .renewal-mobile-menu nav a{justify-content:space-between;min-height:52px;border-bottom:1px solid var(--rule)}}
@media(max-width:600px){body.renewal-site .renewal-header-inner{gap:8px;padding-left:18px;padding-right:18px}body.renewal-site .renewal-header .brand b{font-size:20px}body.renewal-site .renewal-header .renewal-nav-cta{padding:8px 12px}.renewal-mobile-menu{margin-left:auto}.renewal-mobile-menu summary{font-size:16px}}

.renewal-mobile-menu summary{width:44px;justify-content:center}.nav-menu-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.renewal-mobile-menu:not([open]) nav{display:none!important}

/* Shared editorial paths, archive and footer. */
body.renewal-site .renewal-breadcrumb{display:block;background:none;border:0;padding:0;margin:0 0 24px}
.renewal-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;list-style:none;padding:0;margin:0;font:14px/1.8 var(--sans);color:var(--muted)}
.renewal-breadcrumb li{display:flex;align-items:center;min-width:0;gap:12px}.renewal-breadcrumb li+li:before{content:'／';color:var(--rule)}.renewal-breadcrumb li:last-child{flex:1;min-width:100px}.renewal-breadcrumb li:last-child span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}.renewal-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;color:var(--warm);text-decoration:none}.renewal-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
body.renewal-site .renewal-archive{padding-top:36px;padding-bottom:80px}.renewal-archive>h1{font-size:36px;line-height:1.5;margin:24px 0}.renewal-archive .archive-intro{max-width:720px!important;margin-bottom:48px!important}
body.renewal-site .renewal-archive .stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 36px;padding:0}.renewal-archive .story{background:none;border:0;padding:0;min-width:0;text-decoration:none}.story img.story-art{display:block;width:100%;height:190px;object-fit:cover;object-position:right center;border-radius:0;margin:0 0 16px}.renewal-archive .story h2{font:400 22px/1.65 var(--serif);margin:4px 0 0}.renewal-archive .story:hover h2{text-decoration:underline;text-underline-offset:5px}.renewal-archive .pagination{margin-top:48px}.renewal-archive .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:16px}
body.renewal-site footer.renewal-footer{background:var(--editorial);border-top:1px solid var(--rule);padding:56px 0 30px}.footer-brand-row{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin-bottom:44px}.footer-brand{font:26px/1.5 var(--serif);text-decoration:none;color:var(--ink);min-height:44px;display:inline-flex;align-items:center}.footer-brand-row p{width:auto;font:16px/1.7 var(--sans);margin:0;color:var(--muted)}body.renewal-site footer .footer-directory{gap:48px;margin-bottom:40px}.footer-directory h2{font:400 18px/1.6 var(--sans);margin-bottom:18px}.footer-directory a{color:var(--muted)}.footer-note{border-top:1px solid var(--rule);padding-top:24px;max-width:800px}.footer-copyright{margin:18px 0 0}
@media(max-width:760px){body.renewal-site .renewal-archive .stories{grid-template-columns:1fr;gap:36px}.renewal-archive>h1{font-size:28px}.renewal-archive .story h2{font-size:22px}.story img.story-art{height:130px}.footer-brand-row{display:block;margin-bottom:32px}.footer-brand-row p{margin-top:10px}body.renewal-site footer.renewal-footer{padding:36px 0 28px}.renewal-breadcrumb li:last-child{flex-basis:100%}.renewal-breadcrumb li:last-child:before{display:none}}

@media(max-width:760px){.footer-directory section:last-child li:last-child{grid-column:1/-1}}

/* Editorial article discovery: one lead, then a readable index. */
.editorial-list{max-width:960px;margin:0 auto}.editorial-story{display:grid;grid-template-columns:180px minmax(0,1fr);gap:32px;padding:30px 0;border-bottom:1px solid var(--rule);text-decoration:none;min-width:0;color:var(--ink)}.editorial-story img{display:block;width:180px;height:112px;object-fit:cover;object-position:right center;border:0}.renewal-page .editorial-person{font:24px/1.5 var(--serif);margin:0 0 8px}.editorial-person span{display:inline-block;font:14px/1.8 var(--sans);margin-left:18px;color:var(--muted)}.editorial-story h2{font:400 22px/1.6 var(--serif);margin:0 0 10px;letter-spacing:0}.renewal-page .editorial-topic{font:18px/1.8 var(--sans);color:var(--muted);margin:0 0 12px}.renewal-page .editorial-date{font:14px/1.8 var(--sans);color:var(--muted);margin:0;display:flex;justify-content:space-between;gap:20px}.editorial-date span{font-size:16px}.editorial-story:hover h2{text-decoration:underline;text-underline-offset:5px}.editorial-story-featured{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;padding:0 0 48px;margin-bottom:10px}.editorial-story-featured img{width:100%;height:240px}.editorial-story-featured h2{font-size:28px}.renewal-page .editorial-feature-label{font:16px/1.7 var(--sans);color:var(--muted);margin:0 0 18px}
@media(max-width:760px){.editorial-story{grid-template-columns:88px minmax(0,1fr);gap:18px;padding:24px 0}.editorial-story img{width:88px;height:88px}.renewal-page .editorial-person{font-size:22px}.editorial-person span{display:block;margin-left:0;margin-top:4px}.editorial-story h2{font-size:20px}.renewal-page .editorial-topic{font-size:18px}.renewal-page .editorial-date{flex-wrap:wrap;gap:8px}.editorial-story-featured{grid-template-columns:1fr;gap:24px;padding:0 0 32px}.editorial-story-featured img{width:100%;height:130px}.editorial-story-featured h2{font-size:26px}}

/* Person-specific glass boards: source geometry and semantic color retained. */
.editorial-glass-stage{display:flex;align-items:center;justify-content:center;min-height:190px;background:radial-gradient(ellipse at 40% 30%,rgba(255,255,255,.85),transparent 68%);position:relative}
.editorial-story .editorial-glass-board{width:200px;height:200px;object-fit:contain;filter:drop-shadow(0 9px 7px rgba(83,71,54,.13))}
.editorial-story{grid-template-columns:220px minmax(0,1fr);align-items:center}
.editorial-story-featured{grid-template-columns:360px minmax(0,1fr)}
.editorial-story-featured .editorial-glass-stage{min-height:320px}
.editorial-story-featured .editorial-glass-board{width:340px;height:340px}
@media(max-width:760px){.editorial-story{grid-template-columns:116px minmax(0,1fr);gap:16px}.editorial-glass-stage{min-height:132px}.editorial-story .editorial-glass-board{width:132px;height:132px;max-width:none}.editorial-story-featured{grid-template-columns:1fr;gap:12px}.editorial-story-featured .editorial-glass-stage{min-height:250px}.editorial-story-featured .editorial-glass-board{width:280px;height:280px}.editorial-story h2{font-size:20px}.editorial-story-featured h2{font-size:26px}}

/* Clear panel transmits each article's existing motif. */
.editorial-glass-stage{isolation:isolate;background:none;overflow:hidden}
.editorial-glass-stage:before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--story-art);background-size:cover;background-position:65% center;opacity:.24;mask-image:radial-gradient(ellipse at center,#000 30%,transparent 73%);-webkit-mask-image:radial-gradient(ellipse at center,#000 30%,transparent 73%)}
.editorial-story .editorial-glass-board{position:relative;filter:drop-shadow(0 6px 4px rgba(65,67,62,.12))}
.editorial-story-featured .editorial-glass-stage:before{opacity:.32;background-position:center}

.home-glass-stage{height:230px;min-height:230px;width:100%}.home-glass-stage .home-glass-board{width:230px;height:230px;object-fit:contain;filter:drop-shadow(0 6px 4px rgba(65,67,62,.12))}.home-glass-stage:before{opacity:.3}.story .home-glass-stage img{display:block;margin:0;max-width:100%}@media(max-width:760px){.home-glass-stage{height:240px;min-height:240px}.home-glass-stage .home-glass-board{width:240px;height:240px}}

/* Home: editorial text first; symbolism appears only on intentional focus. */
.home-text-stories{row-gap:24px}.home-text-story{padding:18px 0 24px;border-bottom:1px solid var(--rule);min-height:140px}.home-text-story h3{position:relative;isolation:isolate;margin:4px 0 0;padding:12px 14px 12px 0;font-size:18px;line-height:1.8}.home-text-story h3:before{content:"";position:absolute;inset:-8px -8px -12px;z-index:-1;background-image:var(--story-art);background-size:cover;background-position:65% center;opacity:0;transition:opacity .35s ease;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent)}
@media(hover:hover) and (pointer:fine){.home-text-story:hover h3:before{opacity:.16}}.home-text-story:focus-visible h3:before{opacity:.16}.home-text-story:focus-visible{outline:2px dotted var(--warm-accent);outline-offset:5px}
@media(prefers-reduced-motion:reduce){.home-text-story h3:before{transition:none}}@media(max-width:760px){.home-text-story{min-height:100px;padding:14px 0 20px}.home-text-stories{row-gap:12px}}
/* Background canvas follows the story, independent of title line count. */
.home-text-story{display:flex;flex-direction:column}.home-text-story h3{flex:1}.home-text-story h3:before{transition:opacity 1s cubic-bezier(.22,.61,.36,1)}
@media(prefers-reduced-motion:reduce){.home-text-story h3:before{transition:none}}

/* Two-column archive shares the quiet title background used on the home page. */
.editorial-text-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;max-width:1100px}.editorial-text-columns .editorial-story{display:flex;flex-direction:column;align-items:stretch;padding:28px 0;position:relative;isolation:isolate;min-width:0;gap:0}.editorial-text-columns .editorial-story-copy{display:flex;flex-direction:column;flex:1}.editorial-text-columns .editorial-person{font-size:24px}.editorial-text-columns .editorial-story h2{font-size:22px;line-height:1.6;position:relative;isolation:isolate;flex:1;padding:8px 0;margin:0 0 12px}.editorial-text-columns .editorial-story h2:before{content:"";position:absolute;inset:-8px -8px;z-index:-1;background-image:var(--story-art);background-size:cover;background-position:65% center;opacity:0;transition:opacity 1s cubic-bezier(.22,.61,.36,1);pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent)}
@media(hover:hover) and (pointer:fine){.editorial-text-columns .editorial-story:hover h2:before{opacity:.16}}.editorial-text-columns .editorial-story:focus-visible h2:before{opacity:.16}.editorial-text-columns .editorial-story:focus-visible{outline:2px dotted var(--warm-accent);outline-offset:5px}@media(max-width:760px){.editorial-text-columns{grid-template-columns:1fr;gap:0}.editorial-text-columns .editorial-story{padding:24px 0}.editorial-text-columns .editorial-story h2{font-size:22px}.editorial-text-columns .editorial-person{font-size:24px}}@media(prefers-reduced-motion:reduce){.editorial-text-columns .editorial-story h2:before{transition:none}}
/* Expand symbolism from headline to the complete story copy. */
.editorial-text-columns .editorial-story-copy{position:relative;isolation:isolate}
.editorial-text-columns .editorial-story h2:before{content:none}
.editorial-text-columns .editorial-story-copy:before{content:"";position:absolute;inset:-8px 0;z-index:-1;background-image:var(--story-art);background-size:cover;background-position:65% center;opacity:0;transition:opacity 1s cubic-bezier(.22,.61,.36,1);pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent)}
@media(hover:hover) and (pointer:fine){.editorial-text-columns .editorial-story:hover .editorial-story-copy:before{opacity:.16}}
.editorial-text-columns .editorial-story:focus-visible .editorial-story-copy:before{opacity:.16}
@media(prefers-reduced-motion:reduce){.editorial-text-columns .editorial-story-copy:before{transition:none}}
/* Story hover uses the image reveal rather than repeated underlines. */
body.renewal-site .editorial-text-columns a.editorial-story:hover:not(:focus-visible),
body.renewal-site .editorial-text-columns a.editorial-story:hover:not(:focus-visible) *,
body.renewal-site a.home-text-story:hover:not(:focus-visible),
body.renewal-site a.home-text-story:hover:not(:focus-visible) *{text-decoration:none!important}
/* Quiet editorial pagination, with a line marking the current page. */
body.renewal-site .renewal-archive nav.pagination{margin:48px 0 12px;padding:0;border:0;background:none}
body.renewal-site .renewal-archive .pagination .nav-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;background:none;border:0}
body.renewal-site .renewal-archive .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;position:relative;min-width:44px;min-height:48px;margin:0;padding:8px 12px;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:var(--muted)!important;font:16px/1.6 var(--sans);text-decoration:none!important}
body.renewal-site .renewal-archive .pagination .page-numbers.current{color:var(--ink)!important;font-weight:600}
body.renewal-site .renewal-archive .pagination .page-numbers.current:after{content:"";position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:22px;height:1px;background:var(--gold)}
body.renewal-site .renewal-archive .pagination a.page-numbers:hover{color:var(--ink)!important;text-decoration:none!important;background:#eae3d8!important}
body.renewal-site .renewal-archive .pagination a.page-numbers:focus-visible{outline:2px dotted var(--gold)!important;outline-offset:3px;background:#eae3d8!important;text-decoration:none!important}
@media(max-width:760px){body.renewal-site .renewal-archive .pagination .nav-links{gap:4px}body.renewal-site .renewal-archive nav.pagination{margin-top:32px}}
/* Bring the headline directly beneath its publication date. */
body.renewal-site .home-text-story .meta{margin:0 0 4px;line-height:1.6}
body.renewal-site .home-text-story h3{margin-top:0;padding-top:0}

/* Approved layered fabric spans the introduction and three entry points. */
.home-fabric-entry{position:relative;isolation:isolate}.home-fabric-entry:before{content:"";position:absolute;inset:0 -40px;z-index:-1;background:url('assets/journey-preview/timeflow.png') center right/cover no-repeat;opacity:.24;pointer-events:none;mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 80%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 80%,transparent)}
@media(max-width:760px){.home-fabric-entry:before{inset:0 -18px;background-position:70% center;opacity:.18}}
/* Entry cards gently reveal the fabric beneath them. */
body.renewal-site .home-fabric-entry .purpose-links a{transition:background-color 1s ease,border-color 1s ease;text-decoration:none!important}
body.renewal-site .home-fabric-entry .purpose-links a span{display:inline-block;transition:transform .8s ease}
@media(hover:hover) and (pointer:fine){body.renewal-site .home-fabric-entry .purpose-links a:hover{background-color:rgba(255,255,255,.58);border-color:#b9aa94;text-decoration:none!important}body.renewal-site .home-fabric-entry .purpose-links a:hover span{transform:translateX(3px)}}
body.renewal-site .home-fabric-entry .purpose-links a:focus-visible{background-color:rgba(255,255,255,.58)!important;outline:2px dotted var(--gold)!important;outline-offset:4px;text-decoration:none!important}
@media(prefers-reduced-motion:reduce){body.renewal-site .home-fabric-entry .purpose-links a,body.renewal-site .home-fabric-entry .purpose-links a span{transition:none}body.renewal-site .home-fabric-entry .purpose-links a:hover span{transform:none}}
body.renewal-site .home-fabric-entry .purpose-links a[data-link-role]:hover,body.renewal-site .home-fabric-entry .purpose-links a[data-link-role]:hover *{text-decoration:none!important}
/* The birth lookup card shares the entry cards' fabric reveal. */
body.renewal-site .home-fabric-entry .home-hero .hero-note{transition:background-color 1s ease,border-color 1s ease}
@media(hover:hover) and (pointer:fine){body.renewal-site .home-fabric-entry .home-hero .hero-note:hover{background-color:rgba(255,255,255,.58);border-color:#b9aa94}}
body.renewal-site .home-fabric-entry .home-hero .hero-note:focus-within{background-color:rgba(255,255,255,.58);border-color:#b9aa94}
@media(prefers-reduced-motion:reduce){body.renewal-site .home-fabric-entry .home-hero .hero-note{transition:none}}
/* Remove inherited nav spacing so all header controls share a center. */
body.renewal-site .renewal-header nav.renewal-desktop-nav{margin:0;align-items:center}

/* Forecast shares the editorial paper, fabric and quiet reveals. */
body.renewal-site .forecast-shell .kigaku-fixed-page-hero{position:relative;isolation:isolate;background:transparent!important;padding:42px 0 44px!important;color:var(--ink)!important}
body.renewal-site .forecast-shell .kigaku-fixed-page-hero:after{content:"";position:absolute;inset:0 -20px;z-index:-1;background:url('assets/journey-preview/timeflow.png') center right/cover no-repeat;opacity:.22;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 55%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 55%)}
body.renewal-site .forecast-shell .kigaku-fixed-page-hero h1{color:var(--ink)!important;font-weight:400!important}
body.renewal-site .forecast-shell .kigaku-fixed-page-hero__label{color:var(--muted)!important;font-size:14px!important}
body.renewal-site .forecast-shell .kigaku-fixed-page-hero__lead{color:var(--text)!important;font-size:18px!important;line-height:1.9!important}
body.renewal-site .forecast-shell h2{font-weight:400;border-bottom:1px solid var(--rule)}
body.renewal-site .forecast-shell .monthly-forecast-overall{background:transparent;border:0;padding:0;gap:48px;align-items:start}
body.renewal-site .forecast-shell .monthly-forecast-lookup{position:relative;isolation:isolate;background:#fff;border:1px solid var(--rule);padding:28px;transition:background-color 1s ease}
body.renewal-site .forecast-shell .monthly-forecast-lookup:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/journey-preview/timeflow.png') right center/cover no-repeat;opacity:0;transition:opacity 1s ease;pointer-events:none}
body.renewal-site .forecast-shell .monthly-forecast-star-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.renewal-site .forecast-shell .monthly-forecast-star-card{position:relative;isolation:isolate;background:#fff;border:1px solid var(--rule);padding:24px;box-shadow:none}
body.renewal-site .forecast-shell .monthly-forecast-star-card:before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--star-art);background-size:cover;background-position:65% center;opacity:0;transition:opacity 1s ease;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 25%,#000);-webkit-mask-image:linear-gradient(90deg,transparent,#000 25%,#000)}
body.renewal-site .forecast-shell .monthly-forecast-star-card p{font-size:18px!important;line-height:1.8!important}
body.renewal-site .forecast-shell .monthly-forecast-star-card .monthly-forecast-meta{font-size:14px!important;line-height:1.7!important;color:var(--muted)!important}
body.renewal-site .forecast-shell .monthly-forecast-star-detail{background:none;border:0;border-top:1px solid var(--rule);padding:32px 0}
body.renewal-site #forecastDialog{background:var(--paper);border:1px solid var(--rule)}
body.renewal-site .forecast-dialog-top{background:var(--paper);color:var(--ink);border-bottom:1px solid var(--rule)}
body.renewal-site .forecast-dialog-top button{background:none;color:var(--ink);border:1px solid var(--rule)}
body.renewal-site #forecastDialogBody .monthly-forecast-star-detail{background:none;padding:8px;border:0}
@media(hover:hover) and (pointer:fine){body.renewal-site .forecast-shell .monthly-forecast-star-card:hover:before{opacity:.16}body.renewal-site .forecast-shell .monthly-forecast-lookup:hover:before{opacity:.13}body.renewal-site .forecast-shell .monthly-forecast-star-card a:hover,body.renewal-site .forecast-shell .monthly-forecast-star-card a:hover *{text-decoration:none!important}}
body.renewal-site .forecast-shell .monthly-forecast-star-card:focus-within:before{opacity:.16}
body.renewal-site .forecast-shell .monthly-forecast-lookup:focus-within:before{opacity:.13}
@media(max-width:850px){body.renewal-site .forecast-shell .monthly-forecast-star-grid{grid-template-columns:1fr}body.renewal-site .forecast-shell .monthly-forecast-overall{gap:24px}body.renewal-site .forecast-shell .monthly-forecast-lookup{padding:22px}body.renewal-site .forecast-shell .kigaku-fixed-page-hero{padding:28px 0!important}body.renewal-site #forecastDialogBody .monthly-forecast-star-detail{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.renewal-site .forecast-shell .monthly-forecast-star-card:before,body.renewal-site .forecast-shell .monthly-forecast-lookup:before{transition:none}}
.monthly-forecast-star-card--ippaku{--star-art:url('assets/article-heroes/01-ippaku.png')}
.monthly-forecast-star-card--jikoku{--star-art:url('assets/article-heroes/02-jikoku.png')}
.monthly-forecast-star-card--sanpeki{--star-art:url('assets/article-heroes/03-sanpeki.png')}
.monthly-forecast-star-card--shiroku{--star-art:url('assets/article-heroes/04-shiroku.png')}
.monthly-forecast-star-card--goou{--star-art:url('assets/article-heroes/05-goou.png')}
.monthly-forecast-star-card--roppaku{--star-art:url('assets/article-heroes/06-roppaku.png')}
.monthly-forecast-star-card--shichiseki{--star-art:url('assets/article-heroes/07-shichiseki.png')}
.monthly-forecast-star-card--happaku{--star-art:url('assets/article-heroes/08-happaku.png')}
.monthly-forecast-star-card--kyushi{--star-art:url('assets/article-heroes/09-kyushi.png')}
/* October's Kyushi-centered forecast uses the existing fire motif. */
body.renewal-site .forecast-shell .kigaku-fixed-page-hero:after{background-image:var(--forecast-center-art,url('assets/article-heroes/09-kyushi.png'));background-position:right center;opacity:.28}
body.renewal-site .forecast-shell .monthly-forecast-lookup:before{background-image:var(--forecast-center-art,url('assets/article-heroes/09-kyushi.png'))}

/* The water drifts and refracts slowly; all readable content stays still. */
body.renewal-site .forecast-shell .kigaku-fixed-page-hero{overflow:hidden}
body.renewal-site .forecast-shell .kigaku-fixed-page-hero:after{
 filter:url('#forecastWaterRefraction');
 transform-origin:75% 65%;
 animation:forecast-water-drift 20s ease-in-out infinite;
}
@keyframes forecast-water-drift{
 0%,100%{transform:scale(1.035) translate3d(-3px,1px,0)}
 50%{transform:scale(1.06) translate3d(3px,-2px,0)}
}
@media(prefers-reduced-motion:reduce){
 body.renewal-site .forecast-shell .kigaku-fixed-page-hero:after{animation:none;filter:none;transform:none}
}

/* Overall reading leads; the verified chart remains supporting material. */
body.renewal-site .forecast-shell .monthly-forecast-overall{grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:center}
body.renewal-site .forecast-shell .forecast-overall-heading{margin:0 0 20px;font-size:26px;line-height:1.5;font-weight:400}
body.renewal-site .forecast-shell .monthly-forecast-overall-body p{margin:0 0 18px;font-size:18px;line-height:1.9}
body.renewal-site .forecast-shell .monthly-forecast-overall-body p:last-child{margin-bottom:0}
body.renewal-site .forecast-shell .monthly-forecast-overall-chart{background:transparent;width:360px;max-width:100%;margin:0 auto}
body.renewal-site .forecast-shell .monthly-forecast-overall-chart svg{width:100%;height:auto}
body.renewal-site .forecast-shell .monthly-forecast-overall-chart svg>rect{fill:transparent;stroke:none}
body.renewal-site .forecast-shell .monthly-forecast-overall-chart svg>text:first-of-type{fill:var(--warm);font-weight:400}
body.renewal-site .forecast-shell .forecast-chart-guide{border-top:1px solid var(--rule);margin-top:4px;padding-top:4px}
body.renewal-site .forecast-shell .forecast-chart-guide summary{cursor:pointer;font-size:16px;line-height:1.6;min-height:44px;align-content:center;color:var(--warm)}
body.renewal-site .forecast-shell .forecast-chart-guide p{font-size:14px;line-height:1.7;margin:8px 0}
@media(max-width:850px){
 body.renewal-site .forecast-shell .monthly-forecast-overall{grid-template-columns:1fr;gap:24px}
 body.renewal-site .forecast-shell .forecast-overall-heading{font-size:22px}
}

@media(max-width:850px){body.renewal-site .forecast-shell .monthly-forecast-overall-chart{width:320px}}

/* 共通リンク状態のショートハンド適用後も下線は1pxを保つ。 */
body.renewal-site a[data-link-role],
body.renewal-site a[data-link-role] :not(svg,svg *){text-decoration-thickness:1px!important;text-underline-offset:4px!important}
body.renewal-site a[data-link-role]:is(:hover,:focus,:active),
body.renewal-site a[data-link-role]:is(:hover,:focus,:active) :not(svg,svg *){text-decoration-thickness:1px!important;text-underline-offset:4px!important}

/* 予報盤は記事盤と同じ紙色・金茶タイトル。盤面の意味色は触らない。 */
body.renewal-site :is(.forecast-shell,#forecastDialogBody) .monthly-forecast-chart,
body.renewal-site :is(.forecast-shell,#forecastDialogBody) .monthly-forecast-chart__svg{background:transparent!important;border:0!important;box-shadow:none!important}
body.renewal-site :is(.forecast-shell,#forecastDialogBody) .monthly-forecast-chart__svg>svg>rect:nth-of-type(-n+2){fill:transparent!important;stroke:none!important}
body.renewal-site :is(.forecast-shell,#forecastDialogBody) .monthly-forecast-chart__svg>svg>text:first-of-type{fill:var(--warm)!important;font-family:var(--serif)!important;font-weight:400!important}
body.renewal-site a.home-text-story[data-link-role]:hover,
body.renewal-site a.home-text-story[data-link-role]:hover *,
body.renewal-site .editorial-text-columns a.editorial-story[data-link-role]:hover,
body.renewal-site .editorial-text-columns a.editorial-story[data-link-role]:hover *{text-decoration-thickness:1px!important;text-underline-offset:4px!important}

/* Fire-paper artwork retains its original texture without water refraction. */
body.renewal-site .forecast-shell .kigaku-fixed-page-hero:after{filter:none}

/* Calculation reference and its contextual note share one expandable row. */
#result .calculation-reference-summary{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;min-height:44px;list-style:none;cursor:pointer}
#result .calculation-reference-summary::-webkit-details-marker{display:none}
#result .calculation-reference-label{flex-shrink:0;font-size:16px;line-height:1.6}
#result .calculation-reference-label::before{content:"▸ ";}
#result details[open] .calculation-reference-label::before{content:"▾ ";}
#result .calculation-reference-summary .kigaku-result-intro__footnote{font-size:14px;line-height:1.6;font-weight:400;text-align:right;margin:0;color:#626262}
@media(max-width:850px){#result .calculation-reference-summary{flex-wrap:wrap;padding:10px 0}#result .calculation-reference-summary .kigaku-result-intro__footnote{flex-basis:100%;text-align:left}}

#result :is(#kigaku-reading-tsukimei,#kigaku-reading-keisha){scroll-margin-top:120px}

/* Contextual explanation: anchored panel on desktop, bottom sheet on mobile. */
.kigaku-term-dialog{position:fixed;inset:auto;margin:0;width:min(460px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--rule);background:var(--paper,#f7f4ef);color:var(--ink,#222);box-shadow:0 12px 36px #0002;overflow:hidden}
.kigaku-term-dialog::backdrop{background:#0003}
.term-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--rule)}
.term-dialog-head h2{font:500 24px/1.5 var(--serif);margin:0}
.term-dialog-close{min-width:64px;min-height:44px;font:16px/1.6 var(--sans);background:transparent;border:1px solid var(--rule);color:inherit;cursor:pointer}
.term-dialog-body{padding:24px;max-height:calc(100dvh - 160px);overflow-y:auto;overscroll-behavior:contain;font:18px/1.9 var(--sans)}
.term-dialog-body p{font-size:18px;line-height:1.9;margin:0 0 20px}
.term-dialog-body h3{font:500 20px/1.5 var(--serif);margin:24px 0 16px}
.term-dialog-body a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;line-height:1.6;color:var(--warm,#866345);text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.kigaku-term-dialog{left:0;right:0;top:auto;bottom:0;width:100%;max-width:none;max-height:85dvh;border-radius:16px 16px 0 0;border-bottom:0}.term-dialog-head{padding:16px 20px}.term-dialog-body{padding:20px 20px calc(20px + env(safe-area-inset-bottom));max-height:calc(85dvh - 90px)}}

.kigaku-term-dialog .kigaku-term-context{color:#555}

/* Article archive: inclusive entry and category navigation. */
.article-category-nav{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 18px;font-family:var(--kigaku-font-body)}
body.renewal-site .renewal-archive .article-category-nav a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;border:1px solid #D0CBC3;background:#fff;color:#333;font-size:16px;line-height:1.5;text-decoration:none;box-sizing:border-box}
body.renewal-site .renewal-archive .article-category-nav a[aria-current="page"]{background:#1C1C1C;color:#fff;border-color:#1C1C1C}
.article-category-nav span{font-size:14px;line-height:1.5}
.article-list-count,.article-category-label{font-family:var(--kigaku-font-body);font-size:14px;line-height:1.6;color:#7A6A5A}
body.renewal-site .editorial-story .article-category-label{margin:0 0 10px;font-size:14px;line-height:1.6}
@media(max-width:600px){.article-category-nav{gap:8px;margin-top:24px}body.renewal-site .renewal-archive .article-category-nav a{padding:10px 12px}.renewal-archive .archive-intro{font-size:18px;line-height:1.8}}

/* Article hub: editorial paper and cloth, shared fixed-page spacing. */
body.renewal-site .renewal-archive .article-index-hero{position:relative;isolation:isolate;padding:36px 0;margin-bottom:24px}
body.renewal-site .renewal-archive .article-index-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/article-heroes/article-index-paper-cloth-v1.png') right center/cover no-repeat;opacity:.55;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 70%)}
body.renewal-site .renewal-archive .article-index-hero h1{font-size:36px;line-height:1.5;margin:0 0 20px}
body.renewal-site .renewal-archive .article-index-hero .archive-intro{font-size:18px;line-height:1.9;max-width:42em;margin:0}
@media(max-width:850px){body.renewal-site .renewal-archive .article-index-hero{padding:28px 0}body.renewal-site .renewal-archive .article-index-hero h1{font-size:28px}body.renewal-site .renewal-archive .article-index-hero:before{opacity:.3;background-position:75% center}}


/* People and work archive heroes share the same text and background layout. */
body.renewal-site .renewal-archive .article-index-hero:is(:has(> .person-profile-purpose), .work-kigaku-hero) {
  display: grid;
  align-content: center;
  min-height: 256px;
}
body.renewal-site .renewal-archive .article-index-hero:has(> .person-profile-purpose)::before {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 38%, rgba(255,255,255,.76) 62%, transparent 86%),
    url('assets/article-heroes/people-profile-relief.png') right center / cover no-repeat;
  opacity: 1;
  mask-image: none;
}
@media (max-width: 690px) {
  body.renewal-site .renewal-archive .article-index-hero:is(:has(> .person-profile-purpose), .work-kigaku-hero) {
    min-height: 0;
    padding-block: 18px 150px;
  }
  body.renewal-site .renewal-archive .article-index-hero:is(:has(> .person-profile-purpose), .work-kigaku-hero) h1 {
    margin-bottom: 12px;
  }
  body.renewal-site .renewal-archive .article-index-hero:is(:has(> .person-profile-purpose), .work-kigaku-hero)::before {
    inset: auto 0 0;
    height: 134px;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.24) 38%, transparent 70%),
      var(--archive-hero-image) right bottom / auto 165px no-repeat;
    opacity: 1;
    mask-image: none;
  }
  body.renewal-site .renewal-archive .article-index-hero:has(> .person-profile-purpose) {
    --archive-hero-image: url('assets/article-heroes/people-profile-relief.png');
  }
  body.renewal-site .renewal-archive .work-kigaku-hero {
    --archive-hero-image: url('assets/article-heroes/article-index-paper-cloth-v1.png');
  }
  body.renewal-site .renewal-archive .article-index-hero.work-kigaku-hero::before { opacity: .88; }
}

/* The header identity stays unadorned as a CI mark. */
body.renewal-site header a.brand,body.renewal-site header a.brand:is(:hover,:focus,:active),body.renewal-site header a.brand :not(svg,svg *){text-decoration:none!important}

/* CI overrides the more specific shared action-link states. */
body.renewal-site header.renewal-header a.brand[data-link-role]:is(:hover,:focus,:focus-visible,:active),body.renewal-site header.renewal-header a.brand[data-link-role]:is(:hover,:focus,:focus-visible,:active) :not(svg,svg *){text-decoration:none!important}

/* Footer CI follows the header identity rule. */
body.renewal-site footer.renewal-footer a.footer-brand,body.renewal-site footer.renewal-footer a.footer-brand[data-link-role]:is(:hover,:focus,:focus-visible,:active),body.renewal-site footer.renewal-footer a.footer-brand :not(svg,svg *){text-decoration:none!important}

/* Footer divider spans the same width as the directory above. */
body.renewal-site footer.renewal-footer .footer-note{max-width:none;width:100%}

/* Approved 70% / 60fps loop; the original still remains the fallback. */
.home-fabric-motion{position:absolute;inset:0 -40px;z-index:-1;opacity:0;pointer-events:none;overflow:hidden;mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 80%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 80%,transparent)}
.home-fabric-video{display:block;width:100%;height:100%;object-fit:cover;object-position:right center}
.home-fabric-entry.is-video-ready .home-fabric-motion{opacity:.24}
.home-fabric-entry.is-video-ready:before{opacity:0}
.home-fabric-toggle{position:absolute;right:0;bottom:0;min-width:44px;min-height:44px;padding:8px 0 8px 12px;border:0;background:transparent;color:var(--muted);font:16px/1.6 var(--sans);cursor:pointer}
.home-fabric-toggle[hidden]{display:none}
.home-fabric-toggle:focus-visible{outline:2px dotted var(--gold);outline-offset:3px}
@media(max-width:760px){.home-fabric-motion{inset:0 -18px}.home-fabric-video{object-position:70% center}.home-fabric-entry.is-video-ready .home-fabric-motion{opacity:.18}.home-fabric-entry{padding-bottom:48px}}
@media(prefers-reduced-motion:reduce){.home-fabric-entry .home-fabric-motion,.home-fabric-entry .home-fabric-toggle{display:none}.home-fabric-entry.is-video-ready:before{opacity:.24}}
@media(max-width:760px) and (prefers-reduced-motion:reduce){.home-fabric-entry.is-video-ready:before{opacity:.18}}

/* Article starts follow the approved reference: top rule and short accent. */
body.renewal-site a.home-text-story,
body.renewal-site .editorial-text-columns a.editorial-story{
  border:0;
  border-top:1px solid #D0CBC3;
  position:relative;
  background:transparent;
  padding:28px 0;
  box-sizing:border-box;
}
body.renewal-site a.home-text-story:before,
body.renewal-site .editorial-text-columns a.editorial-story:before{
  content:"";position:absolute;top:-2px;left:0;width:40px;height:3px;
  background:#A58A68;pointer-events:none;
}
body.renewal-site .home-text-stories{row-gap:20px}
body.renewal-site .editorial-text-columns{gap:24px 48px}
@media(max-width:760px){
  body.renewal-site a.home-text-story,
  body.renewal-site .editorial-text-columns a.editorial-story{padding:28px 0}
  body.renewal-site .home-text-stories,
  body.renewal-site .editorial-text-columns{row-gap:20px}
}

.home-text-story .home-story-read{display:block;align-self:flex-end;margin-top:12px;font:16px/1.6 var(--sans);color:var(--warm,#8B6F55)}

body.renewal-site .home-fabric-toggle,body.renewal-site .home-fabric-toggle:is(:hover,:focus,:active){background:transparent;color:var(--muted);border:0;box-shadow:none}

/* Keep each star chart centered when the forecast stacks on smaller screens. */
@media(max-width:850px){body.renewal-site .forecast-shell .monthly-forecast-star-detail .monthly-forecast-chart{margin-inline:auto;justify-self:center}}

/* Forecast issue art follows the central star already recorded in its board SVG. */
body.renewal-site .forecast-shell [data-forecast-center="ippaku"]{--forecast-center-art:url('assets/article-heroes/01-ippaku.png')}
body.renewal-site .forecast-shell [data-forecast-center="jikoku"]{--forecast-center-art:url('assets/article-heroes/02-jikoku.png')}
body.renewal-site .forecast-shell [data-forecast-center="sanpeki"]{--forecast-center-art:url('assets/article-heroes/03-sanpeki.png')}
body.renewal-site .forecast-shell [data-forecast-center="shiroku"]{--forecast-center-art:url('assets/article-heroes/04-shiroku.png')}
body.renewal-site .forecast-shell [data-forecast-center="goou"]{--forecast-center-art:url('assets/article-heroes/05-goou.png')}
body.renewal-site .forecast-shell [data-forecast-center="roppaku"]{--forecast-center-art:url('assets/article-heroes/06-roppaku.png')}
body.renewal-site .forecast-shell [data-forecast-center="shichiseki"]{--forecast-center-art:url('assets/article-heroes/07-shichiseki.png')}
body.renewal-site .forecast-shell [data-forecast-center="happaku"]{--forecast-center-art:url('assets/article-heroes/08-happaku.png')}
body.renewal-site .forecast-shell [data-forecast-center="kyushi"]{--forecast-center-art:url('assets/article-heroes/09-kyushi.png')}

/* Monthly issue entry: the published forecast supplies both the month and its theme. */
body.renewal-site .home-fabric-entry .purpose-links--monthly {grid-template-columns:repeat(2,minmax(0,1fr));}
body.renewal-site .home-fabric-entry .purpose-links--monthly a.home-monthly-forecast {
  grid-column:1/-1;display:grid;grid-template-columns:152px minmax(0,1fr) auto;align-items:center;gap:32px;padding:28px 32px;background:#fff;border:1px solid var(--rule,#D0CBC3);
}
body.renewal-site .home-fabric-entry .home-monthly-forecast span {display:block;border:0;padding:0;margin:0;min-height:0;color:var(--ink,#222222);transform:none!important;}
body.renewal-site .home-fabric-entry .home-monthly-forecast__date {display:block;border-right:1px solid var(--rule,#D0CBC3);padding-right:24px;}
body.renewal-site .home-fabric-entry .home-monthly-forecast .home-monthly-forecast__year {font:500 14px/1.6 var(--kigaku-font-body,var(--sans));}
body.renewal-site .home-fabric-entry .home-monthly-forecast .home-monthly-forecast__month {display:flex;align-items:baseline;gap:8px;font:400 64px/1.1 var(--kigaku-font-heading,var(--serif));margin-top:4px;}
body.renewal-site .home-fabric-entry .home-monthly-forecast .home-monthly-forecast__unit {font:500 16px/1.6 var(--kigaku-font-body,var(--sans));white-space:nowrap;}
body.renewal-site .home-fabric-entry .home-monthly-forecast p.home-monthly-forecast__cadence {font-size:16px;line-height:1.6;color:var(--text,#444444);margin:0 0 6px;}
body.renewal-site .home-fabric-entry .home-monthly-forecast h2 {font-size:28px;line-height:1.5;margin:0 0 8px;color:var(--ink,#222222);}
body.renewal-site .home-fabric-entry .home-monthly-forecast p.home-monthly-forecast__theme {font-size:18px;line-height:1.9;margin:0;max-width:38em;}
body.renewal-site .home-fabric-entry .home-monthly-forecast .home-monthly-forecast__action {font-size:16px;line-height:1.6;display:flex;align-items:center;min-height:44px;white-space:nowrap;color:var(--text-link,#333333);}
@media(max-width:850px){
  body.renewal-site .home-fabric-entry .purpose-links--monthly {grid-template-columns:1fr;}
  body.renewal-site .home-fabric-entry .purpose-links--monthly a.home-monthly-forecast {grid-template-columns:80px minmax(0,1fr);gap:16px;padding:24px 20px;}
  body.renewal-site .home-fabric-entry .home-monthly-forecast__date {align-self:start;padding-right:12px;}
  body.renewal-site .home-fabric-entry .home-monthly-forecast .home-monthly-forecast__month {font-size:48px;gap:4px;flex-wrap:wrap;}
  body.renewal-site .home-fabric-entry .home-monthly-forecast h2 {font-size:24px;}
  body.renewal-site .home-fabric-entry .home-monthly-forecast .home-monthly-forecast__action {grid-column:2;white-space:normal;}
}
