/* theme: petrol · sand · franklin · home split */
:root{--bg:#FAF6EE;--panel:#F2EBDD;--panel-2:#E9E0CE;--ink:#262117;--ink-2:#484031;--muted:#6C6250;--rule:#DCD0B9;--accent:#0F5560;--accent-soft:#DEE3DD;--accent-hover:#0D4953;--mark:#1A5FD0;--on-accent:#FFFFFF;--second:#1A5FD0;--ad-bg:#E9E0CE;--ad-line:#BBB09C;--btn-bg:#0F5560;--btn-fg:#FFFFFF;--btn-radius:12px;--rk:0.3;--r:4px;--w-grid:1100px;--head-bg:#FAF6EE;--head-fg:#262117;--band:#0F5560;--font-display:"Libre Franklin",system-ui,-apple-system,"Segoe UI","Helvetica Neue",sans-serif;--font-body:"Libre Franklin",system-ui,-apple-system,"Segoe UI","Helvetica Neue",sans-serif;--font-ui:var(--font-body);--font-read:"Libre Caslon Text",Georgia,"Times New Roman",serif;--font-mono:"Libre Franklin",ui-monospace,Menlo,Consolas,monospace;color-scheme:light}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#171C1F;--panel:#1F262B;--panel-2:#273036;--ink:#E9EBEE;--ink-2:#BFC4CB;--muted:#9AA1AA;--rule:#374148;--accent:#8CADB3;--accent-soft:#15292D;--accent-hover:#A9C2C6;--mark:#91B2E8;--on-accent:#171C1F;--second:#91B2E8;--ad-bg:#273036;--ad-line:#646C72;--btn-bg:#8CADB3;--btn-fg:#171C1F;--head-bg:#171C1F;--head-fg:#E9EBEE;--band:#0A3B43;--warn:#FDD663;--warn-soft:#3A2F12;--ok:#81C995;--ok-soft:#1E3325;--bad:#F28B82;--bad-soft:#3B2321;color-scheme:dark}}
:root[data-theme="dark"]{--bg:#171C1F;--panel:#1F262B;--panel-2:#273036;--ink:#E9EBEE;--ink-2:#BFC4CB;--muted:#9AA1AA;--rule:#374148;--accent:#8CADB3;--accent-soft:#15292D;--accent-hover:#A9C2C6;--mark:#91B2E8;--on-accent:#171C1F;--second:#91B2E8;--ad-bg:#273036;--ad-line:#646C72;--btn-bg:#8CADB3;--btn-fg:#171C1F;--head-bg:#171C1F;--head-fg:#E9EBEE;--band:#0A3B43;--warn:#FDD663;--warn-soft:#3A2F12;--ok:#81C995;--ok-soft:#1E3325;--bad:#F28B82;--bad-soft:#3B2321;color-scheme:dark}
html[lang="ja"]{--font-display:"Libre Franklin","Hiragino Mincho ProN","Yu Mincho","Noto Serif JP","Noto Serif CJK JP",serif;--font-body:"Libre Franklin","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic","Noto Sans JP","Noto Sans CJK JP","Meiryo",sans-serif;--font-read:"Libre Franklin","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic","Noto Sans JP","Noto Sans CJK JP","Meiryo",sans-serif;--font-mono:"Libre Franklin","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic","Noto Sans JP","Noto Sans CJK JP","Meiryo",sans-serif}

/* production: the GPT container replaces the placeholder; no frame, the box keeps its minimum height */
.ad-live .ad-box{height:auto;min-height:280px;border:0;background:transparent;cursor:default;display:block}
.ad-live.ad-300 .ad-box{height:auto;min-height:250px}
.ad-live .ad-box>div{margin:0 auto}
