/* R5 original visual system. No external font or asset requests. */
:root{--paper:#fffdf7;--surface:#fff;--ink:#173d35;--muted:#53665e;--line:#d8e2d9;--green:#176347;--yellow:#f8d15e;--pink:#f4d4d6;--blue:#d6e9f4;--mint:#dcebcf;--focus:#a3294d;color:var(--ink);background:var(--paper);font-family:"BIZ UDPGothic","Yu Gothic UI",Meiryo,sans-serif;font-size:16px;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,a,summary,select{-webkit-tap-highlight-color:transparent}
a,button,summary{touch-action:manipulation}
button,summary,select{cursor:pointer}
h1,h2,h3,p,figure,dl{margin:0}
h1,h2,h3{overflow-wrap:anywhere}
p{line-height:1.85}
img{display:block;width:100%;height:auto;aspect-ratio:40/21;object-fit:contain}
small,.subtle{font-size:.8125rem;line-height:1.7;color:var(--muted)}
a:hover{text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
a,button{transition:background .16s,transform .16s,box-shadow .16s}
button:active,.button:active,.category-grid a:active,.category-peek a:active,.surprise-entry:active{transform:translateY(3px);box-shadow:none}
a:hover h2{text-decoration:underline;text-underline-offset:5px}
.icon{width:26px;height:26px;flex-shrink:0;vertical-align:middle}
.skip{position:absolute;top:-100px;left:10px;z-index:100;background:white;padding:16px}
.skip:focus{top:32px}
.site-header{max-width:1248px;margin:auto;padding:28px 32px 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px}
.wordmark{display:inline-flex;flex-direction:column;align-items:flex-start;width:fit-content}
.brand-name{font-weight:900;font-size:2rem;letter-spacing:-.08em;line-height:1.2;white-space:nowrap}
.brand-name>span:not(.brand-dot){color:var(--green)}
.brand-dot{color:#ab3c42}
.wordmark small{font-family:system-ui,sans-serif;font-weight:600;font-size:.69rem;letter-spacing:.12em;margin:6px 0 0 2px}
.menu-trigger{display:flex;gap:9px;align-items:center;font-size:.8125rem;min-height:48px;padding:0 14px;border:1px solid var(--line);border-radius:50px;background:white}
.menu-trigger .icon{width:20px;height:20px}
.global-nav{grid-column:1/-1;display:flex;border-bottom:1px solid var(--line);gap:8px}
.global-nav a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px 20px;font-weight:700;font-size:.875rem;border-radius:16px 16px 0 0;border-bottom:3px solid transparent}
.global-nav a[aria-current]{background:var(--mint);border-bottom-color:var(--green)}
.global-nav a:hover{background:#eff4e9}
.global-nav .icon{width:23px;height:23px}
main{max-width:1248px;margin:auto;padding:0 32px 80px}
.page-heading{padding:36px 0 28px}
.page-heading h1{font-size:2.2rem;line-height:1.5;letter-spacing:-.04em;text-wrap:pretty}
.page-heading p{margin-top:10px;color:var(--muted);font-size:.9375rem}
.home-discover{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;margin-bottom:38px}
.category-peek{display:flex;gap:22px;align-items:center}
.category-peek a{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:.75rem;font-weight:700;min-width:56px;min-height:76px}
.category-mark{display:inline-flex;justify-content:center;align-items:center;width:52px;height:52px;background:var(--yellow);border-radius:42% 52% 45% 48%;color:var(--ink);flex-shrink:0}
.category-mark .icon{width:31px;height:31px}
.category-peek .all-categories{justify-content:center;border:1px solid var(--line);border-radius:16px;padding:10px}
.surprise-entry{display:flex;align-items:center;gap:16px;background:var(--yellow);padding:20px 24px;border-radius:20px;box-shadow:0 4px 0 #dbc389}
.surprise-entry>.icon:first-child{width:48px;height:48px;transform:rotate(-8deg)}
.surprise-entry strong{display:block;font-size:1rem;line-height:1.5}
.surprise-entry small{display:block;margin-top:5px;color:var(--ink)}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:24px 0 20px}
.section-heading h2{font-size:1.125rem}
.section-heading>span{font-size:.75rem;color:var(--muted)}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.story{min-width:0;scroll-margin-top:24px}
.story-open{display:block;height:100%;padding-bottom:20px;border-bottom:1px solid var(--line)}
.cover{border-radius:20px;overflow:hidden;margin-bottom:16px;background:#f1eee3}
.story-copy{padding:0 4px}
.story .meta{margin:0 0 10px}
.story h2{font-size:1.25rem;line-height:1.75;letter-spacing:-.025em;overflow-wrap:anywhere;text-wrap:pretty}
.meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:.6875rem;color:var(--muted)}
.meta span:first-child{color:var(--green);font-weight:700}
.story:not(:has(img)){padding-top:6px}
.story:not(:has(img)) h2{font-size:1.0625rem;font-weight:600}
.catalog-number{font-family:system-ui,sans-serif}
.story-open:hover .cover{box-shadow:0 0 0 3px var(--yellow)}
.list-end{padding:32px 0;text-align:center}
.list-end p{font-size:.75rem;color:var(--muted);margin-bottom:8px}
.list-end a,.back-link{display:inline-flex;align-items:center;min-height:44px;font-size:.8125rem;color:var(--green);text-decoration:underline;text-underline-offset:4px}
.site-footer{border-top:1px solid var(--line);max-width:1248px;margin:auto;padding:30px 32px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 28px}
.site-footer a{font-size:.75rem;min-height:44px;display:flex;align-items:center}
.site-footer small{flex-basis:100%;text-align:center;margin-top:16px}
.button,button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--green);border-radius:100px;min-height:48px;padding:13px 22px;background:var(--green);color:#fff;font-size:.875rem;font-weight:700;line-height:1.6;text-align:center}
.button.secondary{background:white;color:var(--green)}
.button:hover,button:hover{background:#124a36;color:white}
.button .icon{width:23px;height:23px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.narrow{max-width:700px;margin:auto}
.narrow>p{margin:0 0 20px}
.narrow>.button{margin:12px 8px 0 0}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:44px}
.category-grid a{display:flex;align-items:center;gap:12px;padding:16px;background:white;border:1px solid var(--line);border-radius:22px;font-weight:700;min-height:96px;box-shadow:0 3px 0 #e7ece2}
.category-grid a>.icon{margin-left:auto;width:18px}
.category-grid a:hover{background:#f4f7ec}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.section-label{margin:24px 0}
.explore-more{background:var(--mint);border-radius:24px;padding:26px;margin-top:40px}
.explore-more h2{font-size:1.25rem;margin-bottom:12px}
.explore-more a,.menu-row{display:block;padding:14px 0;min-height:48px}
.filter-context{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px;font-size:.875rem;gap:12px}
.filter-context a{padding:14px 0;color:var(--green)}
.filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;padding:20px;border-radius:20px;background:var(--mint);margin-bottom:24px}
.filters label{display:grid;gap:8px;font-size:.875rem;flex:1;min-width:130px}
input,select{padding:14px;max-width:100%;min-height:48px;border:1px solid #70887a;border-radius:12px;background:white;color:var(--ink)}
.article-layout{display:grid;grid-template-columns:minmax(0,780px) 260px;gap:60px;justify-content:center}
.reader{min-width:0}
.article-context{display:flex;justify-content:space-between;align-items:center;padding-top:12px;font-size:.8125rem}
.article-context>a:last-child{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.article-head{padding:28px 0 26px}
.article-kicker{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.category-label{font-size:.8125rem;background:var(--mint);border-radius:9px;padding:8px 12px;display:inline-flex;align-items:center;min-height:38px;font-weight:700}
.article-head h1{font-size:2rem;line-height:1.65;letter-spacing:-.035em;text-wrap:pretty}
.article-image{margin-bottom:36px}
.article-image img,.image-fallback{border-radius:24px}
.article-image figcaption{font-size:.6875rem;line-height:1.7;color:var(--muted);margin-top:10px}
.article-body{font-size:1.125rem;line-height:2.05}
.article-body p{line-height:2.05;margin:0 0 1.65em}
.article-body .intro{font-size:1.1875rem;font-weight:500}
.article-body h2{font-size:1.5rem;line-height:1.65;letter-spacing:-.025em;margin:2.3em 0 1em;padding-left:18px;border-left:6px solid var(--yellow)}
.article-body h3{font-size:1.2rem;line-height:1.7;margin:2em 0 1em}
.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin:32px 0 24px}
.article-tags a{font-size:.8125rem;padding:12px 16px;border-radius:50px;border:1px solid var(--line);min-height:44px}
.sources{margin:28px 0}
.source-disclosure{border:1px solid var(--line);border-radius:18px;background:white}
.source-disclosure summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:18px;font-size:.875rem;cursor:pointer}
.source-disclosure summary:after{content:'＋';font-size:20px}
.source-disclosure[open] summary:after{content:'−'}
.source-disclosure summary>span{font-size:.6875rem;color:var(--muted);margin-left:auto}
.source-disclosure ol{padding:0 24px 16px 42px}
.source-disclosure li{padding:14px 0;font-size:.875rem;line-height:1.7;border-top:1px solid var(--line)}
.source-disclosure li span,.source-disclosure li p{font-size:.75rem;color:var(--muted)}
.scores{padding:28px 0}
.scores h2{font-size:1.25rem;margin-bottom:8px}
.scores dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}
.scores dl>div{border-radius:18px;padding:16px 10px;background:var(--blue)}
.scores dl>.score-triviality{background:var(--mint)}
.scores dl>.score-talkability{background:var(--pink)}
.scores dl>.score-usefulness{background:#f8e6b9}
.scores dt{display:flex;flex-direction:column;gap:8px;align-items:center;font-size:.6875rem;font-weight:700;text-align:center;line-height:1.6}
.scores dt .icon{width:30px;height:30px}
.scores dd{margin:12px 0 0;font-size:1.5rem;font-family:system-ui,sans-serif;font-weight:750;text-align:center}
.scores dd small{font-size:.625rem;margin-left:3px;color:var(--ink)}
.scores>a{display:inline-flex;align-items:center;font-size:.8125rem;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.reading-end{margin-top:32px;padding:28px;background:var(--mint);border-radius:26px}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.04em;color:var(--green);margin-bottom:10px}
.end-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.end-heading h2{font-size:1.5rem;line-height:1.6;letter-spacing:-.04em}
.share-link{display:inline-flex;align-items:center;gap:8px;min-height:48px;border-radius:100px;padding:12px 16px;background:var(--green);color:white;font-size:.8125rem;font-weight:700}
.share-link .icon{width:22px;height:22px}
.neighbors{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:26px 0}
.neighbor-story{display:block;padding:18px;background:white;border-radius:18px}
.neighbor-story>small{display:block;margin-bottom:12px;font-size:.6875rem;color:var(--green)}
.neighbor-content{display:flex;align-items:flex-start;gap:14px;font-size:.875rem;line-height:1.75}
.neighbor-content .cover{width:104px;flex-shrink:0;border-radius:10px;margin:0}
.random-primary{display:flex;align-items:center;gap:16px;padding:20px;background:var(--yellow);border-radius:18px}
.random-primary>span{flex:1}
.random-primary strong{font-size:.9375rem}
.random-primary small{display:block;color:var(--ink);margin-top:6px}
.random-primary>.icon{width:36px;height:36px}
.reading-end>.back-link{margin-top:20px}
.notification-invite{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:var(--blue);border-radius:24px;padding:26px;margin:28px 0 0}
.notification-invite p{font-size:1.0625rem;font-weight:700}
.notification-invite a{font-size:.8125rem;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.reader-rail{padding-top:76px}
.reader-folio{padding:28px 22px;border-radius:24px;background:#f1f3e8}
.reader-folio p{margin:14px 0 4px;font-weight:700;font-size:1rem}
.reader-rail nav{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.reader-rail nav a{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px;min-height:48px;font-size:.8125rem}
.image-fallback{aspect-ratio:40/21;background:#eef0e8;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.875rem}
.ranking-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:40px}
.axis-options{display:flex;flex-direction:column;gap:12px}
.axis-options a{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:16px;border-radius:18px;min-height:56px;font-size:.875rem;font-weight:700;background:white}
.axis-options a[aria-current]{background:var(--yellow);border-color:#8c702a}
.axis-options .icon{width:30px;height:30px}
.period-options{display:flex;gap:5px;margin:24px 0}
.period-options a{display:flex;align-items:center;justify-content:center;min-height:44px;flex:1;font-size:.8125rem;padding:8px;border:1px solid var(--line);border-radius:50px}
.period-options a[aria-current]{background:var(--green);color:white}
.ranking-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.result-title{font-size:1.25rem;line-height:1.6}
.ranking-heading>span{font-size:.75rem;color:var(--muted)}
.ranking-meaning{margin:8px 0 24px}
.ranked-story{display:grid;grid-template-columns:40px minmax(0,1fr) 54px;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid var(--line)}
.rank{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#eef1e8;border-radius:50%;font-family:system-ui,sans-serif;font-weight:750;font-size:1.125rem}
.ranked-story:first-child>.rank{background:var(--yellow)}
.ranked-story:nth-child(2)>.rank{background:var(--pink)}
.ranked-story:nth-child(3)>.rank{background:var(--blue)}
.ranked-open{display:flex;align-items:center;gap:20px;min-width:0}
.ranked-open .cover{width:190px;flex-shrink:0;margin:0;border-radius:16px}
.ranked-copy h2{font-size:1.125rem;line-height:1.75;letter-spacing:-.02em}
.ranked-copy .meta{margin-top:10px}
.ranked-score{text-align:center;font-family:system-ui,sans-serif}
.ranked-score strong{display:block;font-size:1.75rem;line-height:1.25}
.ranked-score small{font-size:.625rem}
.random-intro{display:flex;align-items:center;gap:20px}
.random-intro>.icon{width:62px;height:62px;background:var(--yellow);border-radius:20px;padding:9px}
.random-refresh{margin:24px 0 30px}
.random-refresh .button{background:var(--yellow);color:var(--ink);border-color:#9b7d30}
.feedback{display:flex;align-items:center;gap:10px;background:var(--mint);padding:18px;border-radius:16px;font-size:.875rem;line-height:1.8}
.feedback.compact{margin-top:16px;display:inline-flex}
.share-preview{background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden}
.share-preview>div{padding:24px}
.share-preview h2{font-size:1.25rem;line-height:1.75;margin:12px 0}
.share-page .feedback{margin:24px 0}
.share-page .actions{display:grid;grid-template-columns:1fr 1fr}
.share-page>.button{display:flex;width:fit-content}
.url-disclosure{border-top:1px solid var(--line);margin:28px 0 10px;padding:8px 0}
.url-disclosure summary{font-size:.8125rem;padding:14px 0;min-height:44px}
.url-disclosure label{display:block;font-size:.75rem;margin:16px 0 8px}
.url-disclosure input{width:100%;font-size:.875rem}
.notice-state{border:1px solid var(--line);border-radius:26px;overflow:hidden;background:white}
.notice-message{padding:32px;background:var(--blue)}
.notice-message>.icon{width:52px;height:52px;background:white;border-radius:18px;padding:10px;margin-bottom:16px}
.notice-message h2{font-size:1.5rem;line-height:1.65;margin-bottom:14px}
.notice-message p:not(.eyebrow){font-size:.9375rem}
.notice-options{padding:28px}
.notice-options details{margin:20px 0}
.notice-options summary{padding:14px 0;min-height:44px;font-size:.875rem}
.settings>div{display:flex;gap:20px;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);font-size:.8125rem}
.settings dd{margin:0}
.empty{text-align:center;padding:40px 0}
.empty h2{font-size:1.5rem;line-height:1.6;margin-bottom:16px}
.empty p{margin-bottom:24px}
.empty .button{margin:8px}
.empty .page-heading{padding-top:12px}
.review-links{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0}
dialog{color:var(--ink);border:1px solid var(--line);border-radius:24px;padding:24px;width:min(600px,90vw);max-height:85vh;background:var(--paper)}
dialog::backdrop{background:#16382e80}
.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.dialog-head h2{font-size:1.25rem}
dialog .global-nav{flex-wrap:wrap}
dialog .global-nav a{border-radius:14px;flex:1 1 40%}
.dialog-head button{padding:10px 16px}
/* Fixed ad candidates never stretch or crop. All reserved modes keep the same boxes. */
.ad-region{text-align:center;margin:24px auto;color:var(--muted);font-size:11px}
.ad-region>small{display:block;font-size:10px;margin-bottom:5px}
.ad-unit{display:flex;align-items:center;justify-content:center;background:#edf0e9;border:1px dashed #94a494;color:#53665e;max-width:none}
.ad-top .ad-unit,.ad-end .ad-unit{width:728px;height:90px;margin:auto}
.ad-side{display:none}
.ad-side .ad-unit{width:300px;height:250px}
.ad-middle .ad-unit{width:300px;height:250px;margin:auto}
.ad-region[data-mode="no-fill"] .ad-unit,.ad-region[data-mode="late"] .ad-unit{background:transparent}
:root:has(.text-large){font-size:32px}
.text-large{font-size:1rem}
.text-large .article-layout{display:block;max-width:780px;margin:auto}
.text-large .reader-rail{display:none}
.text-large .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.text-large .home-discover{display:block}
.text-large .surprise-entry{margin-top:24px}
.text-large .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.text-large .ranking-layout{display:block}
.text-large .axis-options{display:grid;grid-template-columns:1fr 1fr}
.text-large .share-page .actions{grid-template-columns:1fr}
.text-large .global-nav{flex-wrap:wrap}
.text-large .global-nav a{flex:1 1 40%}
.text-large .scores dl{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1200px){.article-layout{grid-template-columns:minmax(0,780px) 300px;gap:56px}
.ad-side{display:block}
.text-large .ad-side{display:none}}
@media(max-width:1199px){.article-layout{grid-template-columns:minmax(0,780px)}
.reader-rail{display:none}
.home-discover{grid-template-columns:1fr}
.surprise-entry{max-width:480px}
.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ranking-layout{grid-template-columns:220px minmax(0,1fr);gap:24px}
.ranked-open .cover{width:140px}
.ranked-story{gap:10px}
.ranked-open{gap:14px}
.ad-top .ad-unit,.ad-end .ad-unit{width:320px;height:50px}}
@media(max-width:800px){.site-header{padding:24px 24px 0}
main{padding:0 24px 60px}
.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}
.home-catalog .story:first-child{grid-column:1/-1}
.home-catalog .story:first-child .story-open{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.home-catalog .story:first-child .cover{margin:0}
.topic-grid{gap:18px}
.topic-grid .story h2{font-size:1rem}
.ranking-layout{display:block}
.axis-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.period-options{max-width:340px}
.ranked-open .cover{width:160px}
.page-heading h1{font-size:1.875rem}
.article-head h1{font-size:1.8rem}
.neighbors{gap:12px}
.neighbor-content{display:block}
.neighbor-content .cover{width:100%;margin-bottom:12px}
.category-grid a{padding:14px;gap:10px}
.category-grid a>.icon{display:none}}
@media(max-width:599px){.site-header{padding:19px 20px 0;gap:16px}
.brand-name{font-size:1.75rem}
.wordmark small{font-size:.6rem}
.menu-trigger{padding:0 11px;min-height:44px;gap:5px}
.menu-trigger span{font-size:.6875rem}
.global-nav{gap:3px;justify-content:space-between}
.global-nav a{flex:1;flex-direction:column;gap:5px;min-height:64px;padding:10px 2px;font-size:.6875rem;white-space:nowrap}
.global-nav .icon{width:22px;height:22px}
main{padding:0 20px 52px}
.page-heading{padding:28px 0 22px}
.page-heading h1{font-size:1.5rem;letter-spacing:-.035em;line-height:1.6}
.page-heading p{font-size:.8125rem;line-height:1.85}
.home-discover{gap:18px;margin-bottom:28px}
.category-peek{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;align-items:stretch}
.category-peek a{min-width:0;min-height:65px;font-size:.625rem;gap:6px}
.category-peek .category-mark{width:42px;height:42px}
.category-peek .icon{width:26px;height:26px}
.category-peek .all-categories{padding:7px 1px;font-size:.56rem;border-radius:13px;gap:7px}
.surprise-entry{padding:16px 18px;border-radius:18px;gap:14px;max-width:none}
.surprise-entry>.icon:first-child{width:40px;height:40px}
.surprise-entry strong{font-size:.9375rem}
.surprise-entry small{font-size:.6875rem}
.surprise-entry>.icon:last-child{margin-left:auto;width:22px}
.section-heading{margin:24px 0 18px}
.section-heading h2{font-size:1rem}
.section-heading>span{font-size:.6875rem}
.catalog-grid{grid-template-columns:1fr;gap:24px}
.home-catalog .story:first-child{grid-column:auto}
.home-catalog .story:first-child .story-open{display:block}
.home-catalog .story:first-child .cover{margin-bottom:18px}
.home-catalog .story:first-child h2{font-size:1.375rem;line-height:1.7}
.home-catalog .story:nth-child(2) .story-open,.home-catalog .story:nth-child(3) .story-open{display:grid;grid-template-columns:116px minmax(0,1fr);gap:14px;align-items:start}
.home-catalog .story:nth-child(2) .cover,.home-catalog .story:nth-child(3) .cover{margin:0;border-radius:12px}
.home-catalog .story:nth-child(2) h2,.home-catalog .story:nth-child(3) h2{font-size:1rem;line-height:1.75}
.cover{border-radius:18px}
.story h2{font-size:1.25rem}
.story-copy{padding:0}
.meta{gap:6px 10px;font-size:.625rem}
.home-catalog .story:nth-child(2) .catalog-number,.home-catalog .story:nth-child(3) .catalog-number{display:none}
.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:32px}
.category-grid a{flex-direction:column;justify-content:center;text-align:center;padding:14px 5px;gap:10px;min-height:112px;font-size:.75rem;border-radius:18px}
.category-grid .category-mark{width:46px;height:46px}
.topic-grid{grid-template-columns:1fr;gap:24px}
.topic-grid .story-open{display:grid;grid-template-columns:116px minmax(0,1fr);gap:14px}
.topic-grid .cover{margin:0;border-radius:12px}
.explore-more{padding:22px}
.article-context{padding-top:9px}
.article-head{padding:20px 0 24px}
.article-kicker{margin-bottom:18px;gap:10px}
.article-head h1{font-size:1.5rem;line-height:1.75;letter-spacing:-.025em}
.category-label{font-size:.6875rem;min-height:36px}
.article-image{margin-bottom:28px}
.article-image img,.image-fallback{border-radius:18px}
.article-image figcaption{font-size:.625rem}
.article-body{font-size:1.0625rem}
.article-body .intro{font-size:1.125rem}
.article-body h2{font-size:1.3rem;padding-left:13px;border-left-width:5px}
.article-body h3{font-size:1.125rem}
.source-disclosure summary{padding:16px 12px;font-size:.8125rem;gap:8px}
.source-disclosure summary>span{font-size:.625rem}
.scores{padding:20px 0}
.scores h2{font-size:1.125rem}
.scores dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.scores dl>div{padding:18px 10px}
.scores dt{flex-direction:row;justify-content:center;font-size:.6875rem;gap:6px}
.scores dt .icon{width:25px;height:25px}
.scores dd{margin-top:8px}
.reading-end{padding:24px 18px;margin-top:24px;border-radius:22px}
.end-heading{gap:18px}
.end-heading h2{font-size:1.3rem}
.share-link{font-size:.8125rem}
.neighbors{grid-template-columns:1fr;margin:22px 0}
.neighbor-story{padding:15px}
.neighbor-content{display:flex;font-size:.8125rem;gap:12px}
.neighbor-content .cover{width:94px;margin:0}
.random-primary{padding:16px 14px;gap:10px}
.random-primary>.icon{width:28px;height:28px}
.random-primary strong{font-size:.8125rem}
.random-primary small{font-size:.6875rem}
.random-primary>.icon:last-child{width:18px}
.notification-invite{padding:22px;gap:12px}
.notification-invite p{font-size:.9375rem}
.axis-options{gap:10px}
.axis-options a{padding:12px 10px;gap:8px;font-size:.75rem;min-height:58px;border-radius:16px}
.axis-options .icon{width:24px;height:24px}
.ranking-heading{align-items:start}
.result-title{font-size:1.0625rem}
.ranking-heading>span{font-size:.625rem;white-space:nowrap;padding-top:4px}
.ranking-meaning{font-size:.6875rem}
.ranked-story{grid-template-columns:28px minmax(0,1fr) 38px;gap:10px;padding:20px 0;align-items:start}
.rank{width:28px;height:28px;font-size:.875rem}
.ranked-open{display:block}
.ranked-open .cover{width:100%;margin-bottom:12px;border-radius:14px}
.ranked-copy h2{font-size:1rem;line-height:1.8}
.ranked-score strong{font-size:1.375rem}
.ranked-score small{font-size:.56rem}
.random-intro{gap:12px;align-items:start}
.random-intro>.icon{width:46px;height:46px;border-radius:15px;margin-top:28px;padding:6px}
.random-intro .page-heading{min-width:0}
.random-intro .page-heading h1{font-size:1.4rem}
.random-intro .page-heading p{font-size:.75rem}
.random-refresh .button{width:100%}
.share-preview>div{padding:20px}
.share-preview h2{font-size:1.125rem}
.share-page .actions{grid-template-columns:1fr}
.notice-message,.notice-options{padding:24px 20px}
.notice-message h2{font-size:1.25rem}
.notice-message p:not(.eyebrow){font-size:.875rem}
.notice-options .actions{flex-direction:column}
.site-footer{padding:24px 20px;gap:4px 18px}
.site-footer a{font-size:.6875rem}
.text-large .catalog-grid,.text-large .topic-grid{grid-template-columns:1fr}
.text-large .home-catalog .story-open{display:block!important}
.text-large .home-catalog .cover{margin-bottom:18px!important}

.text-large .category-peek{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}
.text-large .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.text-large .category-peek .all-categories{font-size:.6rem}
.text-large .category-grid a{min-height:132px}

.text-large .site-header{grid-template-columns:1fr;gap:10px}
.text-large .menu-trigger{justify-self:start}
.text-large .global-nav a{white-space:normal}
.text-large .scores dl{grid-template-columns:1fr}
.text-large .scores dt{font-size:.75rem}
.text-large .axis-options{grid-template-columns:1fr}
.text-large .ranking-heading{display:block}
.text-large .ranked-story{grid-template-columns:28px minmax(0,1fr)}
.text-large .ranked-score{grid-column:2;text-align:left;display:flex;gap:6px;align-items:baseline}

.text-large .neighbor-content{display:block}
.text-large .neighbor-content .cover{width:100%;margin-bottom:16px}
.text-large .random-primary{flex-wrap:wrap}
.text-large .random-primary>span{flex-basis:70%}
.text-large .surprise-entry{flex-wrap:wrap}
.text-large .surprise-entry>span{flex:1}
.text-large .surprise-entry>.icon:last-child{display:none}

.text-large .source-disclosure summary{flex-wrap:wrap}
.text-large .source-disclosure summary>span{margin-left:0}
.text-large .section-heading{flex-wrap:wrap}
.text-large .topic-grid .story-open{display:block}
.text-large .topic-grid .cover{margin-bottom:16px}
.text-large .settings>div{display:block}
.text-large .settings dd{margin-top:8px}}
@media(max-width:359px){.site-header{padding-left:16px;padding-right:16px}
main{padding-left:16px;padding-right:16px}
.brand-name{font-size:1.5rem}
.category-peek{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}
.category-peek a{font-size:.6875rem}
.category-peek .all-categories{font-size:.625rem}
.category-grid{gap:9px}
.category-grid a{font-size:.6875rem}
.home-catalog .story:nth-child(2) .story-open,.home-catalog .story:nth-child(3) .story-open{grid-template-columns:96px minmax(0,1fr);gap:12px}
.home-catalog .story:first-child h2{font-size:1.25rem}
.article-head h1{font-size:1.375rem}
.article-body{font-size:1rem}
.source-disclosure summary{flex-wrap:wrap}
.scores dt{font-size:.625rem}
.ad-top .ad-unit,.ad-end .ad-unit{width:300px;height:50px}
.ad-top,.ad-end{margin-left:-6px;margin-right:-6px}
.ad-middle .ad-unit{margin-left:-6px}
.random-intro{display:block}
.random-intro>.icon{margin:24px 0 0}
.random-intro .page-heading{padding-top:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Representative composition refinements after live rendering. */
.article-head h1,.share-preview h2{text-wrap:balance}
@media(min-width:600px){.share-preview{display:grid;grid-template-columns:40% minmax(0,1fr);align-items:center}.share-preview>img{border-radius:18px;margin:16px;width:calc(100% - 16px)}.share-preview>div{padding:24px}.share-preview h2{font-size:1.125rem}}
.reader-rail nav a[href^="/share"]{background:var(--green);color:white;border-color:var(--green)}

/* Review correction round 1: focus, fixed ad centering and enlarged menu. */
.source-disclosure summary{border-radius:18px}
.ad-region .ad-unit{position:relative;left:50%;transform:translateX(-50%);margin-left:0;margin-right:0}

/* TL2: article subjects lead; yellow invites discovery, green marks a selection.
   Category identities use labels/icons. The shared yellow badge is decorative. */
.site-header{padding-top:18px;gap:12px}
.global-nav a{min-height:48px;padding:10px 18px}
.home-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:24px 0 18px}
.home-title h1{font-size:1.25rem;line-height:1.6}
.home-title>span{font-size:.8125rem;color:var(--muted);white-space:nowrap}
.home-discover{padding:24px 0;margin:12px 0 30px;border-block:1px solid var(--line)}
.category-peek{gap:18px;flex-wrap:wrap}
.category-peek a{font-size:.8125rem;min-height:76px}
.category-peek .all-categories{font-size:.8125rem;min-width:84px;min-height:76px}
.category-grid a{font-size:.9375rem}
.meta{font-size:.75rem}
.page-heading{padding:24px 0 18px}
.page-heading h1{font-size:1.8rem}
.page-heading p{font-size:.875rem;margin-top:6px}
.article-stage{container-type:inline-size;container-name:article-stage}
.article-layout{display:grid;grid-template-columns:minmax(0,780px);gap:32px;justify-content:center}
.reader-rail{display:none;padding-top:24px}
.article-head{padding:0 0 22px}
.article-context{padding:8px 0 12px;justify-content:flex-start;gap:18px;flex-wrap:wrap}
.article-context .category-label{min-height:44px;background:transparent;padding:0;font-weight:700;text-decoration:none}
.article-byline{margin-top:14px}
.article-byline a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.article-image figcaption{font-size:.75rem}
.reader-rail nav{padding:24px 0;border-top:1px solid var(--line)}
.reader-rail nav a{min-height:48px}
.reading-end{padding:28px 0 0;background:transparent;border-radius:0;border-top:3px solid var(--green);margin-top:32px}
.reading-end h2{font-size:1.5rem;line-height:1.6}
.neighbors{margin:20px 0;gap:24px;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.neighbor-story{padding:0 0 18px;background:transparent;border-radius:0;border-bottom:1px solid var(--line)}
.neighbor-story>small{font-size:.8125rem;margin-bottom:10px}
.neighbor-content{display:block;font-size:1.0625rem;font-weight:700;line-height:1.75}
.neighbor-content .cover{width:100%;margin:0 0 14px;border-radius:18px}
.edge-note{font-size:.75rem;color:var(--muted);margin-bottom:18px}
.random-primary{padding:16px 20px;border-radius:14px}
.random-primary>.icon{width:28px;height:28px}
.random-primary small{margin-top:2px;font-size:.8125rem}
.share-after{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:26px 0;border-block:1px solid var(--line);margin-top:24px}
.share-after h2{font-size:1.125rem;line-height:1.7}
.share-after p{font-size:.8125rem;color:var(--muted)}
.share-after .share-link{background:white;border:1px solid var(--green);color:var(--green)}
.share-notice{flex-basis:100%}
.notification-invite{background:transparent;border-radius:0;padding:16px 0;margin-top:8px}
.notification-invite p{font-size:.9375rem}
.scores dt{font-size:.8125rem}
.axis-options a{background:white;border-radius:10px;min-height:48px;font-size:.8125rem}
.axis-options a[aria-current],.period-options a[aria-current]{background:var(--green);color:white;border-color:var(--green)}
.ranking-layout{display:block;max-width:960px;margin:auto}
.ranking-controls{margin-bottom:16px}
.ranking-controls .axis-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.ranking-controls summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-size:.875rem;text-decoration:underline;text-underline-offset:4px}
.ranking-controls summary:after{content:'＋';margin-left:12px}
.ranking-controls[open] summary:after{content:'−'}
.ranking-controls .axis-options{margin-top:8px}
.ranking-meaning{margin-bottom:12px}
.random-intro{gap:12px;margin:24px 0 8px}
.random-intro>.icon{width:36px;height:36px}
.random-intro .page-heading h1{font-size:1.6rem}
.random-refresh{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:12px 0 24px}
.random-refresh .button{width:auto;background:var(--yellow);color:var(--ink);border-color:transparent;border-radius:12px}
.random-refresh .feedback{padding:0;background:transparent;color:var(--muted);font-size:.8125rem;margin:0}
.notice-state{background:transparent;border:0;border-radius:0}
.notice-message{background:transparent;padding:0 0 20px}
.notice-message>.icon,.notice-message>.eyebrow{display:none}
.notice-message h2{font-size:1.25rem}
.notice-options{padding:20px 0;border-top:1px solid var(--line)}
.notification-example .share-preview{margin:10px 0 24px}
.notification-example h3{font-size:1.125rem;line-height:1.8;margin-bottom:12px}
.notification-example small{display:block}
.ad-region{margin:24px auto;display:flex;flex-direction:column;align-items:center}
.ad-region small{font-size:12px;color:var(--muted)}
.ad-region .ad-unit{left:auto;transform:none;margin-inline:0;flex:none}
.ad-top .ad-unit,.ad-end .ad-unit{width:320px;height:50px}
.ad-side{display:block}
.ad-side .ad-unit,.ad-middle .ad-unit{width:300px;height:250px}
.ad-region:is([data-mode="pending"],[data-mode="failure"],[data-mode="blocked"]) .ad-unit{background:transparent}
@media(min-width:1200px){
  @container article-stage (min-width:1060px){
    .article-layout{grid-template-columns:minmax(728px,780px) 300px}
    .reader-rail{display:block}
    .ad-top .ad-unit,.ad-end .ad-unit{width:728px;height:90px}
  }
}
.text-large .article-layout{grid-template-columns:minmax(0,780px)}
.text-large .reader-rail{display:none}
@media(max-width:699px){
  .site-header{padding:14px 20px 0;gap:12px}
  .brand-name{font-size:1.55rem}
  .wordmark small{font-size:.625rem;margin-top:4px}
  .menu-trigger{padding:0 12px;min-height:44px}
  .global-nav{gap:0}
  .global-nav a{flex-direction:row;gap:6px;padding:8px 4px;min-height:48px;font-size:.75rem}
  .global-nav .icon{width:20px;height:20px}
  .home-title{padding:18px 0 14px}
  .home-title h1{font-size:1.0625rem}
  .home-discover{display:block;margin-top:24px;padding:20px 0}
  .category-peek{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px;margin-bottom:22px}
  .category-peek a,.category-peek .all-categories{font-size:.875rem;min-height:76px}
  .category-peek .category-mark{width:44px;height:44px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-grid a{font-size:.9375rem;min-height:100px}
  .category-grid .category-mark{width:44px;height:44px}
  .article-head{padding:0 0 18px}
  .article-head h1{font-size:1.5rem;line-height:1.75;text-wrap:pretty}
  .article-context{padding:6px 0;gap:18px}
  .article-byline{margin-top:6px;gap:6px 12px}
  .article-context a{font-size:.8125rem}
  .neighbors{display:grid;grid-template-columns:1fr}
  .neighbor-content .cover{width:100%}
  .reading-end h2{font-size:1.375rem}
  .share-after{padding:22px 0;gap:14px}
  .scores dt{font-size:.8125rem}
  .page-heading h1{font-size:1.6rem}
  .ranking-layout{gap:10px}
  .ranking-controls .axis-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .random-intro{align-items:flex-start}
  .random-refresh .button{padding:10px 14px;font-size:.8125rem}
  .notification-example .share-preview{display:block}
}
@media(max-width:359px){
  .page-article main{padding-inline:10px}
  .ad-top,.ad-end{margin-inline:auto}
  .ad-top .ad-unit,.ad-end .ad-unit{width:300px}
  .global-nav a{font-size:.75rem;gap:4px}
  .global-nav .icon{width:16px;height:16px}
}
dialog{max-width:calc(100vw - 32px)}
.text-large dialog .dialog-head{flex-wrap:wrap;align-items:flex-start}
.text-large dialog .dialog-head h2{flex:1 0 100%}
.text-large dialog .dialog-head button{white-space:nowrap}
.text-large dialog .global-nav{display:grid;grid-template-columns:1fr}
.text-large dialog .global-nav a{flex-direction:row;justify-content:flex-start;white-space:normal}
@media(min-width:1200px){.home-discover{background:#f1f4e9;padding:20px 24px;border-radius:24px;grid-template-columns:minmax(0,1fr) 340px;gap:36px}.category-peek{justify-content:space-between}}
.ranked-copy h2{text-wrap:balance}

/* Creative bounds do not change the reserved slot dimensions. */
.ad-unit{overflow:hidden}.ad-unit>img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.guide-copy{overflow-wrap:anywhere}.guide-copy h2{margin-top:2rem}.guide-copy p{margin-block:1rem}
.image-error{display:block;aspect-ratio:40/21;padding:24px;background:var(--surface)}[hidden]{display:none!important}

/* Content-driven wrapping also works for native text enlargement, without QA classes. */
.site-header{display:flex;flex-wrap:wrap}.wordmark{flex:1 1 auto;max-width:100%}.brand-name{white-space:normal;overflow-wrap:anywhere}.site-header>.global-nav{flex:1 0 100%;min-width:0;flex-wrap:wrap}.global-nav a{min-width:0;white-space:normal}
@media(max-width:699px){.global-nav a{flex:1 1 auto}.scores dt{flex-wrap:wrap}.article-byline{flex-wrap:wrap}.random-primary{flex-wrap:wrap}.source-disclosure summary{flex-wrap:wrap}}
/* W4 notification controls use the accepted Reader spacing and button tokens. */
[data-push-settings] [hidden] { display:none!important }
[data-push-settings] .notice-value {font-weight:700;font-size:1.15rem}
[data-push-settings] .push-actions {min-height:62px;margin:16px 0}
[data-push-settings] .push-actions button,[data-push-settings] .notice-state>.button {display:block;width:100%;min-height:48px;text-align:center}
[data-push-settings] button:disabled {opacity:.55;cursor:not-allowed}
[data-push-settings] button:focus-visible {outline:3px solid var(--green);outline-offset:3px}
[data-push-settings] .push-result {border:1px solid var(--line);border-radius:14px;padding:20px;margin:24px 0 0;min-height:170px;overflow-wrap:anywhere;background:var(--blue);outline-offset:3px}
[data-push-settings] .push-result h2 {font-size:1.25rem;margin:0;line-height:1.5}
[data-push-settings] .push-result p {margin:12px 0 0;line-height:1.7}
[data-push-settings] .push-result:focus {outline:3px solid var(--green)}
[data-push-settings] .push-privacy {margin:24px 0;line-height:1.8;font-size:.9rem}
@media(max-width:480px){[data-push-settings] .push-result {min-height:270px}}
@media(max-width:599px){[data-push-settings] .settings>div { display:block }[data-push-settings] .settings dd { margin-top:8px }}

.analytics-consent{margin:2rem auto;padding:1.25rem;border:1px solid var(--line,#d4d7ce);border-radius:12px;background:var(--paper,#fff)}
.analytics-consent[hidden]{display:none}
.analytics-consent .actions{flex-wrap:wrap;gap:.75rem}
.analytics-consent .button{white-space:normal;max-width:100%}
