/* アプリくらべ / Clear Compare — token values live in design-tokens.json */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; color: var(--text); background: var(--bg); font: var(--type-body)/1.8 var(--font-sans); -webkit-text-size-adjust: 100%; }
img,video { max-width: 100%; height: auto; display: block; }
button,input,select,textarea { font: inherit; color: inherit; }
button,select { cursor: pointer; }
button { line-height: 1.4; }
a { color: var(--brand); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
:target { scroll-margin-top: 7rem; }
[hidden] { display: none !important; }
h1,h2,h3,h4,p,figure,blockquote,dl { margin: 0; }
h1,h2,h3,h4 { line-height: 1.45; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { font-size: var(--type-h1); font-weight: 800; }
h2 { font-size: var(--type-h2); }
h3 { font-size: 1.125rem; }
p,li,dd,td,th { overflow-wrap: anywhere; }
ul,ol { padding-left: 1.4em; }
input,select { min-height: var(--layout-touch); border: 1px solid var(--control-line); border-radius: var(--radius-sm); background: var(--surface); padding: .55rem .7rem; max-width: 100%; min-width: 0; }
input::placeholder { color: var(--muted); opacity: 1; }
select { padding-right: 1.7rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 1rem; }
summary { cursor: pointer; font-weight: 700; min-height: 2.75rem; padding: .75rem 0; }
summary::marker { color: var(--brand); }
code { font: .875em/1.5 var(--font-mono); overflow-wrap: anywhere; }
.container { width: min(var(--layout-page), calc(100% - 3rem)); margin-inline: auto; }
.reading { max-width: var(--layout-reading); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .8rem 1rem; color: var(--brand-ink); background: var(--brand); }
.skip-link:focus { top: 1rem; }
.js-only { display: none !important; }
.js .js-only { display: flex !important; }
.small { font-size: var(--type-small); }
.muted { color: var(--muted); }
.eyebrow { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; line-height: 1.7; }
.status-dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; background: var(--brand); }
.preview-ribbon { min-height: 2rem; padding: .3rem 1rem; background: var(--text); color: var(--bg); text-align: center; font-size: .75rem; font-weight: 700; }
.preview-ribbon span { font-weight: 400; margin-left: .7rem; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 2.5rem; min-height: 5.2rem; }
.brand { color: var(--text); font-size: 1.35rem; font-weight: 800; display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; width: 1.6rem; height: 1.6rem; display: inline-block; flex: 0 0 1.6rem; }
.brand-mark i { position: absolute; width: 1.15rem; height: 1.35rem; border: 2px solid var(--brand); border-radius: 4px; background: var(--surface); top: 0; left: 0; }
.brand-mark i+i { top: .35rem; left: .45rem; background: var(--brand); }
.primary-nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
.primary-nav a { padding: .7rem .05rem; color: var(--muted); font-size: .875rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover,.primary-nav a[aria-current] { color: var(--brand); }
.primary-nav a[aria-current] { box-shadow: inset 0 -2px var(--brand); }
.theme-control { gap: .4rem; align-items: center; font-size: .75rem; color: var(--muted); }
.theme-control select { font-size: .75rem; min-height: 2.75rem; padding-left: .5rem; width: 5.7rem; }
main { min-height: 55vh; padding-bottom: 5rem; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; padding: 4.5rem 0 3rem; align-items: center; }
.hero h1 { margin: .8rem 0 1.5rem; line-height: 1.45; font-size: clamp(2.4rem, 4.2vw, 3.6rem); letter-spacing: -.035em; }
.hero h1 span { color: var(--brand); }
.hero-lead { color: var(--muted); font-size: 1.0625rem; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: var(--layout-touch); border: 1px solid transparent; border-radius: var(--radius-sm); padding: .7rem 1rem; font-size: .875rem; font-weight: 700; text-decoration: none; text-align: center; transition: transform var(--motion-fast), background var(--motion-fast); }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--brand-ink); background: var(--brand); }
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--control-line); }
.button-subtle { color: var(--brand); background: transparent; text-decoration: underline; text-underline-offset: .2em; }
.button:disabled { color: var(--muted); background: var(--surface-alt); border-color: var(--line); transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0; }
.text-link { font-weight: 700; font-size: .875rem; }
.hero-note { font-size: .75rem; color: var(--muted); margin-top: 1.1rem; }
.decision-board { position: relative; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: 0 16px 0 -8px var(--surface-alt),0 16px 0 -7px var(--line); }
.decision-board-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; }
.board-symbol { font-size: 1.75rem; font-weight: 300; color: var(--brand); }
.decision-step { display: flex; gap: 1rem; padding: 1.2rem 0; align-items: center; border-bottom: 1px solid var(--line); }
.decision-step>span:last-child { margin-left: auto; color: var(--muted); }
.step-no { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; background: var(--tint); border-radius: 50%; font: .8rem var(--font-mono); color: var(--brand); flex-shrink: 0; }
.decision-step small { display: block; color: var(--muted); font-size: .75rem; }
.decision-step strong { font-size: 1rem; }
.board-result { display: flex; align-items: center; gap: .9rem; padding-top: 1.25rem; font-size: .875rem; }
.board-result>span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--success-bg); color: var(--success); font-weight: 800; }
.trust-strip { display: flex; justify-content: space-between; padding: 1.2rem 0; gap: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.trust-strip strong { color: var(--text); margin-right: .4rem; }
.section { margin-top: 4rem; }
.section-heading { margin-bottom: 1.6rem; }
.section-heading h2 { margin: .3rem 0 .5rem; }
.genre-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.genre-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; align-items: flex-start; gap: 1.3rem; text-decoration: none; color: var(--text); }
.genre-card:hover { border-color: var(--brand); }
.genre-card h3,.genre-card h2 { margin: .3rem 0 .45rem; font-size: 1.3rem; }
.genre-card p { color: var(--muted); font-size: .875rem; margin-bottom: .7rem; }
.genre-card .text-link { color: var(--brand); }
.genre-symbol { display: grid; place-items: center; flex: 0 0 3.5rem; height: 3.5rem; background: var(--tint); color: var(--brand); border-radius: var(--radius-md); font-size: 1.45rem; font-weight: 700; }
.article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; }
.article-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.card-cover { display: block; position: relative; min-height: 14rem; background: var(--tint); color: var(--text); text-decoration: none; padding: 1.7rem; overflow: hidden; }
.cover-kicker { font-size: .75rem; font-weight: 700; color: var(--brand); letter-spacing: .08em; }
.cover-title { display: block; font-size: 1.6rem; font-weight: 800; margin-top: .65rem; line-height: 1.5; }
.cover-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cover-pills>span { background: var(--surface); padding: .2rem .6rem; font-size: .75rem; border-radius: var(--radius-sm); }
.cover-comparison { position: absolute; bottom: 1.4rem; right: 1.4rem; display: flex; align-items: center; gap: .2rem; }
.cover-comparison>span { background: var(--surface); color: var(--brand); border: 1px dashed var(--control-line); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; font: .9rem var(--font-mono); border-radius: .6rem; }
.cover-comparison i { font-size: .65rem; color: var(--muted); }
.card-body { padding: 1.4rem; }
.card-body h3 { font-size: 1.125rem; margin: .8rem 0 .65rem; }
.card-body h3 a { color: var(--text); text-decoration: none; }
.card-body h3 a:hover { color: var(--brand); text-decoration: underline; }
.card-body>p { font-size: .875rem; color: var(--muted); }
.card-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: .9rem; font-size: .75rem; color: var(--muted); }
.card-bottom a { font-weight: 700; white-space: nowrap; }
.article-search { gap: .85rem; flex-wrap: wrap; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.2rem; margin-bottom: 1.3rem; }
.article-search label { display: flex; flex-direction: column; gap: .35rem; font-size: .8125rem; font-weight: 700; }
.article-search label:first-child { flex: 1 1 17rem; }
.article-search label:nth-child(2) { flex: 0 1 11rem; }
.article-search output { align-self: center; font-size: .8125rem; color: var(--muted); }
.method-callout { display: grid; grid-template-columns: 1fr 1.1fr; padding: 2.5rem; border-radius: var(--radius-lg); background: var(--tint); gap: 3rem; margin: 4rem 0 2rem; }
.method-callout h2 { margin-top: .5rem; }
.method-callout>div>p:not(.eyebrow) { margin: .8rem 0; font-size: .9375rem; }
.breadcrumbs { margin: 1.5rem 0; font-size: .75rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .65rem; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: .65rem; }
.breadcrumbs li+li:before { content: '/'; color: var(--muted); }
.breadcrumbs a { color: var(--muted); padding: .15rem 0; }
.page-heading { padding: 2.3rem 0 2.5rem; }
.page-heading h1 { margin: .6rem 0 1rem; }
.page-heading>p:last-child { max-width: 45rem; color: var(--muted); }
.purpose-tags { margin-bottom: 2rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.badge { display: inline-block; padding: .22rem .55rem; border: 1px solid var(--line); border-radius: .4rem; font-size: .6875rem; line-height: 1.6; font-weight: 700; color: var(--muted); background: var(--surface); vertical-align: middle; }
.badge-soft { color: var(--brand); border-color: transparent; background: var(--tint); }
.badge-pr { color: var(--warning); background: var(--warning-bg); border-color: transparent; }
.badge-success { color: var(--success); background: var(--success-bg); border-color: transparent; }
.pr-notice { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin: 1rem 0; }
.pr-notice .badge { flex-shrink: 0; }
.pr-inline { display: inline-block; font-size: .6875rem; color: var(--warning); background: var(--warning-bg); margin-left: .25rem; padding: 0 .3rem; border-radius: .25rem; }
.notice { margin: 1.2rem 0; padding: 1rem 1.1rem; font-size: .8125rem; border-left: 3px solid var(--warning); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--warning-bg); color: var(--warning); }
.notice strong { font-weight: 800; }
.notice-demo { background: var(--tint); border-color: var(--brand); color: var(--text); }
.article-hero { max-width: 58rem; padding: 1.5rem 0 2.5rem; }
.article-hero h1 { margin: 1rem 0 1.2rem; font-size: clamp(1.9rem,3.3vw,2.75rem); line-height: 1.5; }
.article-lead { color: var(--muted); max-width: 49rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .75rem; color: var(--muted); margin-top: 1.4rem; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 15.5rem; gap: 2.75rem; align-items: start; }
.article-content { min-width: 0; grid-column: 1; grid-row: 1; }
.article-sidebar { grid-column: 2; grid-row: 1; position: sticky; top: 7rem; font-size: .8125rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.25rem; margin-bottom: 1rem; }
.toc ol { padding-left: 1.15rem; font-size: .8125rem; margin-bottom: 0; }
.toc li { padding: .4rem 0; color: var(--muted); }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.article-content>h2 { margin: 3.2rem 0 1.2rem; padding-top: 1rem; border-top: 2px solid var(--line); font-size: 1.55rem; }
.article-content>h2:first-child { margin-top: 0; }
.article-content>h3 { margin: 2rem 0 1rem; }
.article-content>p { margin-bottom: 1.4rem; }
.article-content>ul { margin-bottom: 1.5rem; }
.conclusion-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.3rem 0 1.5rem; }
.conclusion-card { background: var(--surface); padding: 1.3rem; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius-md); }
.conclusion-card h3 { margin: .6rem 0 1rem; font-size: 1rem; }
.conclusion-card>p:not(.eyebrow) { font-size: .8125rem; margin-top: .8rem; }
.conclusion-choice { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1rem; font-weight: 700; }
.conclusion-choice small { display: block; margin-top: .2rem; font-weight: 400; font-size: .75rem; }
.conclusion-choice .app-icon { width: 2.6rem; height: 2.6rem; font-size: 1rem; flex-basis: 2.6rem; }
.mini-shots { display: flex; gap: .5rem; margin: .8rem 0; overflow-x: auto; }
.mini-shot { position: relative; flex: 0 0 4.75rem; display: block; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; background: var(--surface-alt); }
.mini-shot img { display: block; width: 100%; height: auto; }
.mini-shot-credit { position: absolute; left: 0; right: 0; bottom: 0; font-size: .625rem; line-height: 1.4; text-align: center; color: var(--text); background: var(--surface); opacity: .92; }
.app-icon { border-radius: .8rem; width: 3.25rem; height: 3.25rem; flex: 0 0 3.25rem; object-fit: contain; }
.icon-placeholder { display: grid; place-items: center; background: var(--surface-alt); border: 1px dashed var(--control-line); font: 1.1rem var(--font-mono); color: var(--muted); }
.character-comment { display: flex; align-items: flex-start; gap: 1rem; margin: 1.6rem 0; }
.character-person { flex: 0 0 4rem; text-align: center; font-size: .75rem; }
.avatar { width: 4rem; height: 4rem; object-fit: contain; border-radius: 50%; }
.avatar-placeholder { display: grid; place-items: center; border: 1px dashed var(--control-line); background: var(--surface); color: var(--muted); font-size: .65rem; }
.character-name { display: block; margin-top: .3rem; font-weight: 700; }
.speech { border: 1px solid var(--line); background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); padding: .95rem 1.1rem; flex: 1; }
.speech p { font-size: .875rem; margin-top: .25rem; }
.hinata .speech { background: var(--tint); }
.filter-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.3rem; }
.filter-form fieldset { width: 100%; }
.filter-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.filter-fields label { display: flex; flex-direction: column; gap: .35rem; font-size: .75rem; font-weight: 700; }
.filter-fields select { font-size: .8125rem; }
.filter-status { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; gap: .5rem; }
.filter-status output { font-size: .875rem; font-weight: 700; }
.compare-help { font-size: .75rem; color: var(--muted); margin: 1rem 0; }
.desktop-comparison { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--surface); }
caption { text-align: left; font-size: .75rem; font-weight: 700; color: var(--muted); padding: .8rem 1rem; background: var(--surface-alt); }
th,td { vertical-align: top; text-align: left; padding: .85rem .65rem; border-bottom: 1px solid var(--line); font-size: .8125rem; line-height: 1.8; }
tr:last-child th,tr:last-child td { border-bottom: 0; }
thead th { background: var(--tint); border-bottom: 1px solid var(--line); }
th[scope="row"] { width: 7rem; background: var(--surface-alt); font-size: .75rem; }
.desktop-comparison thead th:first-child { width: 7rem; }
.table-app { display: flex; flex-direction: column; gap: .6rem; }
.table-app .app-icon { width: 2.6rem; height: 2.6rem; flex-basis: 2.6rem; }
.mobile-comparison { display: none; }
.payment-main { font-size: .8125rem; font-weight: 700; display: block; margin-bottom: .45rem; }
.payment .badge-row { gap: .25rem; }
.fact-line { font-size: .75rem; margin-bottom: .25rem; }
.empty-state { padding: 1.5rem; margin: 1.2rem 0; background: var(--surface); border: 1px dashed var(--control-line); border-radius: var(--radius-md); text-align: center; }
.empty-state p { font-size: .875rem; color: var(--muted); margin: .5rem 0; }
.app-detail-list { display: grid; gap: 1.5rem; }
.app-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.app-detail-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.app-detail-heading h3 { font-size: 1.25rem; margin-top: .15rem; }
.app-detail-heading>.badge { margin-left: auto; flex-shrink: 0; }
.app-detail>p { font-size: .875rem; margin: .75rem 0; }
.app-detail>.payment { margin: 1.1rem 0; }
.facts-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1.1rem 0; font-size: .875rem; }
.facts-inner { padding-bottom: 1rem; }
.evidence-intro p { font-size: .75rem; margin: .4rem 0; }
.os-facts h4 { padding: .7rem 0; margin-top: .8rem; font-size: .875rem; }
.fact-list { border-top: 1px solid var(--line); }
.fact-list>div { display: grid; grid-template-columns: minmax(7.8rem,1fr) 2.1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.fact-list dt { font-size: .8125rem; font-weight: 700; }
.fact-list dd { margin: 0; font-size: .8125rem; }
.fact-value { font-weight: 500; }
.fact-meta { display: block; color: var(--muted); font-size: .6875rem; margin-top: .15rem; }
.hands-on { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 1rem; margin: 1rem 0; }
.hands-on p { font-size: .8125rem; }
.hands-on p+p { margin-top: .6rem; }
.hands-on ul { font-size: .875rem; }
.store-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: 1.2rem; }
.store-button { min-height: 4.1rem; display: flex; align-items: center; gap: .5rem; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-sm); padding: .65rem .9rem; text-decoration: none; line-height: 1.5; }
.store-button>span:first-child { margin-right: auto; }
.store-name { font-size: .95rem; font-weight: 700; white-space: nowrap; }
.store-button small { display: block; font-size: .625rem; }
.store-button.is-disabled { color: var(--muted); background: var(--surface-alt); border-color: var(--line); }
.cta-note { font-size: .6875rem !important; color: var(--muted); margin-bottom: 0 !important; }
.gallery-module { min-width: 0; }
.screenshot-rail { display: flex; align-items: flex-start; gap: 1rem; max-width: 100%; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; padding: 1rem .2rem 1.4rem; scrollbar-color: var(--control-line) var(--surface-alt); }
.screenshot,.quoted-screen { flex: 0 0 13.125rem; min-width: 0; scroll-snap-align: start; }
.quoted-screen { margin: 0; border-left: 3px solid var(--brand); padding-left: .65rem; }
.screenshot-link { display: block; border: 1px solid var(--control-line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; text-decoration: none; }
.screenshot-link img { width: 100%; aspect-ratio: 1080 / 2400; object-fit: contain; background: var(--surface-alt); }
.zoom-label { display: flex; justify-content: space-between; padding: .5rem .7rem; font-size: .75rem; font-weight: 700; border-top: 1px solid var(--line); }
.screenshot figcaption { margin: .8rem 0; font-size: .75rem; }
.screenshot figcaption p { color: var(--muted); font-size: .6875rem; margin: .5rem 0; }
.media-credit { display: block; font-size: .625rem; color: var(--muted); margin-top: .5rem; }
.video-module { display: grid; grid-template-columns: minmax(0,14rem) minmax(0,1fr); align-items: start; gap: 1.5rem; margin: 1.25rem 0; }
.video-frame { overflow: hidden; border: 1px solid var(--control-line); border-radius: var(--radius-md); background: var(--surface-alt); }
.video-frame video { width: 100%; aspect-ratio: 1080 / 2400; object-fit: contain; }
.video-module figcaption { padding-top: .7rem; font-size: .875rem; }
.video-module figcaption>p { margin-top: .6rem; }
.video-module details { border-top: 1px solid var(--line); margin-top: 1rem; font-size: .8125rem; }
.video-module details p { margin: .3rem 0 .8rem; }
.lightbox { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); width: min(94vw,72rem); max-width: 94vw; height: min(92dvh,70rem); max-height: 92dvh; background: var(--surface); color: var(--text); }
.lightbox::backdrop { background: rgb(8 15 30 / .82); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-shrink: 0; }
.lightbox-toolbar h2 { font-size: 1rem; }
.lightbox-toolbar>div { display: flex; gap: .5rem; }
.lightbox #lightbox-caption { font-size: .75rem; padding: .5rem 0; }
.lightbox-stage { min-height: 0; flex: 1; overflow: auto; background: var(--surface-alt); border-radius: var(--radius-sm); text-align: center; }
.lightbox-stage img { height: 100%; width: auto; max-width: 100%; object-fit: contain; margin-inline: auto; }
.lightbox-stage.is-zoomed img { width: var(--image-natural-width,1080px); max-width: none; height: auto; margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
.ad-slot { max-width: 100%; margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; background: var(--surface); }
.ad-original { max-width: 100%; overflow-x: auto; }
/* 原本コードは変更しない。スマホ適合の広告素材を選ぶ。固定幅素材の切り抜きはしない。 */
.ad-slot-placeholder { text-align: center; color: var(--muted); border-style: dashed; padding: 2rem 1rem; }
.ad-slot-placeholder>.badge { display: table; margin: 0 auto .75rem; }
.ad-slot-placeholder strong { display: block; color: var(--text); font-size: .875rem; }
.ad-slot-placeholder p { font-size: .75rem; margin: .5rem 0; }
.ad-slot-placeholder small { font-size: .6875rem; }
.ad-label { margin-bottom: .75rem; font-size: .75rem; }
.sources-empty { padding: 1.2rem; background: var(--surface); border: 1px dashed var(--control-line); border-radius: var(--radius-md); font-size: .8125rem; }
.sources-empty p { color: var(--muted); margin-top: .65rem; }
.source-list { padding-left: 1.3rem; font-size: .8125rem; }
.source-list li { padding: 1rem .3rem; border-bottom: 1px solid var(--line); }
.source-url { font-size: .75rem; }
.source-list p { margin: .35rem 0; }
.editorial-end { padding: 1.5rem; background: var(--tint); border-radius: var(--radius-md); margin-top: 2.5rem; }
.editorial-end p { font-size: .8125rem; margin-top: .6rem; }
.prose>h2 { margin: 2.5rem 0 1rem; font-size: 1.4rem; }
.prose>p { margin: 1rem 0; }
.prose .intro { font-size: 1.2rem; font-weight: 700; }
.policy-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 2rem 0; }
.policy-cards section { background: var(--surface); padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-md); }
.policy-cards h3 { font-size: 1rem; margin: .5rem 0; }
.policy-cards p { font-size: .8125rem; color: var(--muted); }
.not-found { padding: 4rem 0; text-align: center; }
.error-code { font: 6rem/1.3 var(--font-mono); color: var(--brand); }
.not-found h1 { font-size: 2rem; margin: 1rem 0; }
.not-found .hero-actions { justify-content: center; }
.link-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-bottom: 2rem; }
.link-directory a { display: flex; justify-content: space-between; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: .875rem; }
.catalog-section { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; display: grid; grid-template-columns: 15rem minmax(0,1fr); gap: 2rem; align-items: start; }
.catalog-label h2 { font-size: 1.25rem; margin: .5rem 0 .7rem; }
.catalog-label>p:last-child { font-size: .8125rem; color: var(--muted); }
.catalog-example { min-width: 0; }
.swatch-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.swatch { display: block; height: 3.5rem; border: 1px solid var(--control-line); border-radius: var(--radius-sm); margin-bottom: .3rem; }
.swatch-bg{background:var(--bg)}.swatch-surface{background:var(--surface)}.swatch-text{background:var(--text)}.swatch-muted{background:var(--muted)}.swatch-brand{background:var(--brand)}.swatch-tint{background:var(--tint)}.swatch-success{background:var(--success)}.swatch-warning{background:var(--warning)}
.site-footer { background: var(--surface); padding: 3rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.footer-grid p { font-size: .875rem; margin-top: .8rem; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem 1.5rem; align-content: start; }
.footer-grid nav a { font-size: .8125rem; color: var(--muted); padding: .2rem 0; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
@media (max-width: 63.99rem) {
 .hero { gap: 2rem; padding-top: 3rem; }
 .header-inner { gap: 1.3rem; }
 .primary-nav { gap: 1rem; }
 .article-layout { grid-template-columns: 1fr; gap: 1rem; }
 .article-sidebar { position: static; grid-column: 1; grid-row: 1; }
 .article-sidebar .toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .1rem 1.5rem; }
 .article-sidebar>.text-link { display: none; }
 .article-content { grid-row: 2; }
 .catalog-section { grid-template-columns: 1fr; gap: 1rem; }
 .catalog-label { max-width: 44rem; }
 .cover-comparison { display: none; }
}
@media (max-width: 47.99rem) {
 html { scroll-padding-top: 1rem; }
 :target { scroll-margin-top: 1rem; }
 .container { width: calc(100% - 2rem); }
 .site-header { position: static; }
 .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: .75rem 0 0; min-height: 0; }
 .brand { font-size: 1.2rem; }
 .primary-nav { grid-column: 1 / -1; grid-row: 2; margin: 0; justify-content: space-between; gap: 1rem; }
 .primary-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
 .theme-control { grid-column: 2; grid-row: 1; font-size: .6875rem; gap: .3rem; }
 .theme-control select { width: 5.7rem; }
 .hero { display: block; padding: 2rem 0; }
 .hero h1 { font-size: clamp(2rem,7.7vw,3rem); margin: .8rem 0 1rem; }
 .hero-lead { font-size: .9375rem; }
 .hero-actions { gap: .75rem 1.1rem; }
 .decision-board { margin-top: 2rem; padding: 1rem 1.25rem; box-shadow: 0 12px 0 -6px var(--surface-alt),0 12px 0 -5px var(--line); }
 .decision-board-head { padding-bottom: .2rem; }
 .decision-step { padding: .8rem 0; }
 .board-result { padding-top: 1rem; }
 .board-result p br { display: none; }
 .trust-strip { flex-direction: column; gap: .5rem; font-size: .75rem; padding: 1rem 0; }
 .trust-strip strong { display: inline-block; width: 3.5rem; }
 .section { margin-top: 2.6rem; }
 .genre-grid,.article-grid { grid-template-columns: 1fr; }
 .genre-card { padding: 1.15rem; gap: 1rem; }
 .genre-symbol { flex-basis: 3rem; height: 3rem; }
 .genre-card h3 { font-size: 1.2rem; }
 .card-cover { min-height: 12.7rem; padding: 1.4rem; }
 .cover-title { font-size: 1.5rem; }
 .cover-comparison { display: flex; gap: .2rem; }
 .cover-comparison>span { width: 1.8rem; height: 1.8rem; font-size: .75rem; }
 .cover-pills { padding-right: 5rem; }
 .card-body { padding: 1.25rem; }
 .card-bottom { flex-wrap: wrap; gap: .5rem; }
 .article-search { padding: 1rem; gap: .75rem; }
 .article-search label:first-child { flex-basis: 100%; }
 .article-search label:nth-child(2) { flex: 1 1 8rem; }
 .article-search output { flex-basis: 100%; }
 .method-callout { display: block; padding: 1.5rem; margin-top: 3rem; }
 .method-callout>div+div { margin-top: 1rem; }
 .page-heading { padding: 1.5rem 0 2rem; }
 .page-heading h1 { font-size: 1.9rem; }
 .page-heading>p:last-child { font-size: .9375rem; }
 .pr-notice { padding: .7rem; font-size: .6875rem; gap: .5rem; }
 .notice { font-size: .75rem; padding: .8rem; }
 .article-hero { padding: 1rem 0 1.75rem; }
 .article-hero h1 { font-size: 1.75rem; }
 .article-lead { font-size: .9375rem; }
 .article-meta { font-size: .6875rem; gap: .25rem 1rem; }
 .article-sidebar .toc ol { display: block; }
 .toc { padding: 1rem; }
 .toc li { padding: .5rem 0; }
 .article-content>h2 { font-size: 1.35rem; margin-top: 2.5rem; }
 .conclusion-grid { grid-template-columns: 1fr; gap: .9rem; }
 .conclusion-card { padding: 1.1rem; }
 .character-comment { gap: .65rem; }
 .character-person { flex-basis: 3.1rem; }
 .avatar { width: 3.1rem; height: 3.1rem; }
 .speech { padding: .8rem; }
 .speech p { font-size: .8125rem; }
 .filter-form { padding: 1rem; }
 .filter-fields { grid-template-columns: 1fr; gap: .8rem; }
 .filter-fields label { font-size: .8125rem; }
 .filter-fields select { font-size: .875rem; }
 .filter-status .button { font-size: .75rem; padding-inline: .4rem; }
 .desktop-comparison { display: none; }
 .mobile-comparison { display: grid; gap: 1rem; }
 .mobile-compare-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
 .mobile-compare-card h3 { display: flex; align-items: center; gap: .7rem; background: var(--tint); padding: 1rem; font-size: 1rem; }
 .mobile-compare-card h3 .app-icon { width: 2.5rem; height: 2.5rem; flex-basis: 2.5rem; }
 th,td { padding: .85rem .7rem; }
 th[scope="row"] { width: 6.4rem; }
 .app-detail { padding: 1.1rem; }
 .app-detail-heading { gap: .65rem; flex-wrap: wrap; }
 .app-detail-heading h3 { font-size: 1.15rem; }
 .app-detail-heading .eyebrow { font-size: .625rem; }
 .app-detail-heading>.badge { margin-left: 0; }
 .facts-details summary { font-size: .8125rem; }
 .fact-list>div { grid-template-columns: 6.6rem minmax(0,1fr); gap: .6rem; }
 .fact-list dt,.fact-list dd { font-size: .75rem; }
 .store-buttons { gap: .5rem; }
 .store-button { padding: .65rem .6rem; gap: .35rem; flex-wrap: wrap; }
 .store-name { font-size: .8125rem; }
 .store-button .badge { font-size: .625rem; padding: .1rem .3rem; }
 .screenshot,.quoted-screen { flex-basis: min(44vw,13.125rem); }
 .screenshot-rail { gap: .8rem; }
 .screenshot figcaption { font-size: .6875rem; }
 .video-module { grid-template-columns: minmax(0,1fr); gap: .75rem; }
 .video-frame { max-width: 16rem; width: 70%; margin-inline: auto; }
 .video-module figcaption { font-size: .8125rem; }
 .lightbox { padding: .7rem; }
 .lightbox-toolbar { align-items: flex-start; gap: .5rem; }
 .lightbox-toolbar h2 { padding-top: .6rem; font-size: .8125rem; }
 .lightbox-toolbar .button { font-size: .75rem; padding-inline: .65rem; }
 .policy-cards { grid-template-columns: 1fr; }
 .link-directory { grid-template-columns: 1fr; }
 .catalog-section { margin-top: 2rem; }
 .swatch-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; font-size: .75rem; }
 .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
 .footer-grid nav { gap: .7rem 1rem; }
 .footer-grid nav a { min-height: 2.75rem; }
 .footer-bottom { align-items: center; }
 main { padding-bottom: 3rem; }
}
@media (max-width: 22rem) {
 .container { width: calc(100% - 1.5rem); }
 .brand { font-size: 1.1rem; }
 .theme-control { gap: .15rem; }
 .hero-actions .button { width: 100%; }
 .hero h1 { font-size: 1.95rem; }
 .cover-comparison { display: none; }
 .cover-pills { padding-right: 0; }
 .store-buttons { grid-template-columns: 1fr; }
 .store-button { flex-wrap: nowrap; }
 .filter-status { align-items: flex-start; }
 .lightbox-toolbar h2 { display: none; }
 .lightbox-toolbar>div { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
 .button:hover { transform: none; }
}
@media (forced-colors: active) {
 .badge,.button,.conclusion-card,.screenshot-link { border: 1px solid CanvasText; }
 :focus-visible { outline: 3px solid Highlight; }
}
@media print {
 .site-header,.site-footer,.preview-ribbon,.article-sidebar,.filter-form,.ad-slot,.store-buttons,.theme-control { display: none !important; }
 body { color: #000; background: #fff; }
 .container { width: 100%; }
 .article-layout { display: block; }
 .article-content { width: 100%; }
 .facts-details .facts-inner { display: block; }
 .screenshot-rail { flex-wrap: wrap; overflow: visible; }
}

/* アプリカードの要点はdetailsを開かなくても確認できる。 */
.app-quick-facts { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding: .8rem 0; border-block: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.app-quick-facts>span { max-width: 100%; overflow-wrap: anywhere; }
