:root {
  --bg: oklch(0.13 0.025 250);
  --surface: oklch(0.18 0.035 250);
  --surface-strong: oklch(0.22 0.045 250);
  --ink: oklch(0.96 0.015 250);
  --muted: oklch(0.76 0.035 250);
  --line: oklch(0.34 0.05 250);
  --primary: oklch(0.52 0.12 212);
  --primary-strong: oklch(0.62 0.14 212);
  --accent: oklch(0.71 0.18 340);
  --accent-soft: oklch(0.28 0.09 340);
  --success: oklch(0.72 0.14 155);
  --warning: oklch(0.78 0.14 88);
  --content: min(1180px, calc(100% - clamp(2rem, 8vw, 8rem)));
  --display: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --body: "BIZ UDPGothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  color-scheme: dark;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 84% 4%, oklch(0.36 0.12 334 / .16), transparent 32%), radial-gradient(circle at 8% 28%, oklch(0.32 0.1 215 / .12), transparent 27%); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3, .brand strong, .price { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 4.8vw, 5.2rem); line-height: 1.14; margin-bottom: 1.4rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.18; margin-bottom: .6rem; }
h3 { font-size: 1.28rem; line-height: 1.35; margin-bottom: .5rem; }
p { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; transform: translateY(-180%); background: var(--accent); color: oklch(.13 0 0); padding: .65rem 1rem; border-radius: 6px; z-index: 20; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid oklch(1 0 0 / .09); background: oklch(.13 .025 250 / .88); backdrop-filter: blur(14px); }
.site-header__inner { width: var(--content); min-height: 82px; margin: 0 auto; display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: max-content; }
.brand__mark { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--accent); color: var(--accent); font-family: var(--display); font-size: 1.15rem; transform: rotate(-7deg); }
.brand strong { display: block; font-size: 1.1rem; letter-spacing: -.04em; }
.brand small { display: block; color: var(--muted); font-size: .58rem; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.site-nav { display: flex; gap: clamp(.8rem, 2vw, 1.7rem); margin-left: auto; font-size: .82rem; color: var(--muted); }
.site-nav a, .footer-links a, .admin-header__actions a { transition: color .2s ease; }
.site-nav a:hover, .footer-links a:hover, .admin-header__actions a:hover { color: var(--ink); }
.header-search { display: flex; border: 1px solid var(--line); background: oklch(0 0 0 / .12); }
.header-search input { width: 180px; border: 0; padding: .58rem .7rem; color: var(--ink); background: transparent; font-size: .75rem; }
.header-search input::placeholder { color: var(--muted); }
.header-search button { border: 0; border-left: 1px solid var(--line); color: var(--ink); background: transparent; padding: .3rem .65rem; font-size: 1.3rem; }
.menu-toggle, .site-nav-mobile { display: none; }
.age-notice { width: var(--content); margin: 0 auto; padding: .72rem 0; display: flex; gap: 1rem; align-items: center; color: var(--muted); font-size: .68rem; border-bottom: 1px solid oklch(1 0 0 / .08); }
.age-notice span:first-child { color: var(--accent); font-weight: 700; }
.age-notice::after { content: "クリックで案内を閉じる"; margin-left: auto; opacity: .55; }
.age-notice.is-acknowledged { opacity: .56; }

.hero { width: var(--content); min-height: 650px; margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) 0 clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: minmax(0, .94fr) minmax(300px, .76fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.hero__kicker, .eyebrow { color: var(--accent); font-size: .7rem; letter-spacing: .16em; line-height: 1.3; margin-bottom: .8rem; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__lead { max-width: 38rem; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 2; }
.hero__actions, .detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 2rem 0 1.2rem; }
.hero__note { font-size: .72rem; max-width: 31rem; }
.hero__visual { position: relative; min-height: 0; display: grid; place-items: center; }
.hero__glow { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: oklch(.46 .14 335 / .18); filter: blur(48px); }
.hero-feature { position: relative; width: min(100%, 520px); aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); border-radius: 12px; box-shadow: 22px 22px 0 oklch(.28 .06 212 / .24); transform: rotate(2deg); }
.hero-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(.08 .025 250 / .04) 12%, oklch(.08 .025 250 / .78) 86%); }
.hero-feature img { width: 100%; height: 100%; object-fit: cover; opacity: .96; filter: brightness(1.1) saturate(1.08); }
.hero-feature__caption { position: absolute; z-index: 1; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; }
.hero-feature__caption span, .hero-feature__caption a { display: block; color: var(--accent); font-size: .7rem; letter-spacing: .08em; }
.hero-feature__caption strong { display: block; margin: .3rem 0 .65rem; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; }
.hero-empty { width: 100%; aspect-ratio: .8; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); }

.home-section, .listing-section, .tag-index, .circle-list, .prose-page, .empty-page { width: var(--content); margin: 0 auto; }
.home-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.home-section--wide { max-width: 1320px; width: min(1320px, calc(100% - 2rem)); }
.home-section--split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.home-section--sale { margin-bottom: 2rem; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading > span { color: var(--muted); font-size: .78rem; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 1.4rem; }
.game-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid oklch(1 0 0 / .08); border-radius: 12px; transition: transform .25s ease, border-color .25s ease; }
.game-card:hover { transform: translateY(-5px); border-color: oklch(.62 .14 212 / .85); }
.game-card__image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-strong); }
.game-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-card__image img { transform: scale(1.04); }
.age-badge, .sale-badge { position: absolute; z-index: 1; top: .65rem; padding: .22rem .42rem; font-size: .62rem; letter-spacing: .04em; }
.age-badge { right: .65rem; background: oklch(.1 .02 250 / .8); color: var(--ink); }
.sale-badge { left: .65rem; background: var(--accent); color: oklch(.13 0 0); font-weight: 800; }
.game-card__body { padding: 1.1rem 1.1rem 1.15rem; }
.game-card__body .eyebrow { margin-bottom: .35rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: .6rem; letter-spacing: .05em; }
.game-card h3 { margin-bottom: .4rem; }
.game-card h3 a:hover, .article-card h3 a:hover { color: var(--accent); }
.game-card__description { min-height: 3.3em; margin-bottom: .75rem; font-size: .78rem; line-height: 1.65; }
.tag-row { display: flex; flex-wrap: wrap; gap: .38rem; min-height: 1.55rem; }
.tag { display: inline-flex; align-items: center; border: 1px solid var(--line); padding: .2rem .52rem; color: var(--muted); font-size: .68rem; line-height: 1.25; }
.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag small { margin-left: .4rem; color: var(--accent); }
.tag-row--detail { margin: 1.4rem 0; }
.tag--large { padding: .55rem .72rem; font-size: .76rem; }
.game-card__meta { display: flex; justify-content: space-between; align-items: end; gap: .6rem; margin-top: 1rem; color: var(--muted); font-size: .67rem; }
.price { color: var(--ink); font-size: 1.1rem; }
.price--sale { color: var(--accent); }
.article-list { display: grid; gap: 0; }
.article-card { display: grid; grid-template-columns: 5px minmax(0, 1fr); gap: 1.4rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.article-card:last-child { border-bottom: 1px solid var(--line); }
.article-card__rule { background: var(--primary); }
.article-card__body .eyebrow { color: var(--muted); font-size: .62rem; letter-spacing: .08em; }
.article-card__body p { font-size: .82rem; }
.article-card--compact { padding: .8rem 0; }
.inline-link, .text-button { color: var(--accent); font-size: .78rem; }
.inline-link:hover, .text-button:hover { text-decoration: underline; text-underline-offset: .25rem; }
.tag-panel { padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); }
.tag-panel h2 { font-size: 1.8rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; min-height: 46px; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: 7px; font-size: .78rem; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--accent); color: oklch(.13 0 0); }
.button--primary:hover { background: oklch(.78 .16 340); }
.button--secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.button--secondary:hover { border-color: var(--accent); color: var(--accent); }

.page-intro { width: var(--content); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 0 3rem; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 12ch; }
.page-intro > p:not(.eyebrow) { max-width: 42rem; }
.filter-search { display: flex; max-width: 640px; margin-top: 2rem; gap: .6rem; }
.filter-search input { flex: 1; min-width: 0; border: 1px solid var(--line); padding: .8rem 1rem; color: var(--ink); background: var(--surface); }
.filter-search input::placeholder { color: var(--muted); }
.listing-section { padding: 3rem 0 6rem; }
.listing-header { display: flex; justify-content: space-between; margin-bottom: 1.4rem; color: var(--muted); font-size: .75rem; }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.page-link { min-width: 36px; padding: .45rem .65rem; text-align: center; border: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.page-link:hover, .page-link.is-current { border-color: var(--accent); color: var(--accent); }
.tag-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem; padding: 3rem 0 7rem; }
.tag-index__item, .circle-item { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.tag-index__item span, .circle-item span { margin-left: auto; color: var(--muted); font-size: .75rem; }
.tag-index__item:hover strong, .circle-item:hover strong { color: var(--accent); }
.circle-list { padding: 3rem 0 7rem; }
.circle-item { font-family: var(--display); font-size: 1.15rem; }
.circle-item span:last-child { margin-left: 0; color: var(--accent); }
.search-summary { margin-top: 1rem; color: var(--accent); }

.game-detail { width: var(--content); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0 4rem; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.game-detail__media { width: 100%; max-width: 560px; overflow: hidden; background: var(--surface); border-radius: 12px; box-shadow: 20px 20px 0 oklch(.28 .06 212 / .2); }
.game-detail__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.game-detail__copy { min-width: 0; padding-top: clamp(1rem, 4vw, 4rem); }
.game-detail__copy h1 { max-width: 100%; font-size: clamp(2.35rem, 4.5vw, 4.6rem); line-height: 1.14; text-wrap: balance; }
.lede { max-width: 40rem; font-size: 1.05rem; line-height: 1.95; }
.detail-price { display: flex; flex-wrap: wrap; gap: 2.8rem; margin: 2rem 0; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price > div { display: grid; gap: .15rem; }
.detail-price span, .detail-price small { color: var(--muted); font-size: .7rem; }
.detail-price strong { font-size: 1.25rem; }
.detail-note { font-size: .72rem; }
.detail-content { width: var(--content); margin: 0 auto; padding: 4rem 0 6rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); gap: clamp(2rem, 8vw, 8rem); border-top: 1px solid var(--line); }
.detail-content h2 { font-size: 1.8rem; }
.detail-aside { padding-top: .35rem; }
.info-list { border-top: 1px solid var(--line); }
.info-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .75rem; }
.info-list span { color: var(--muted); }
.info-list a { color: var(--accent); }
.related-section { width: var(--content); margin: 0 auto; padding: 3rem 0 8rem; border-top: 1px solid var(--line); }
.prose { max-width: 72ch; font-size: .98rem; line-height: 2; }
.prose h2 { margin-top: 2.7rem; }
.prose h3 { margin-top: 2rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.prose blockquote { margin: 1.6rem 0; padding: .4rem 1.2rem; border: 1px solid var(--line); color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.5rem; color: var(--muted); }
.article-detail { width: var(--content); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0 7rem; }
.article-detail__header { max-width: min(100%, 1080px); padding-bottom: 3.2rem; border-bottom: 1px solid var(--line); }
.article-detail__header h1 { max-width: 100%; font-size: clamp(2.2rem, 4.5vw, 4.5rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: pretty; }
.article-detail__image { max-width: 1080px; margin: 2.4rem 0 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.article-detail__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-detail__excerpt { font-size: 1.05rem; line-height: 1.9; }
.article-detail__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); gap: clamp(2rem, 8vw, 8rem); padding-top: 3.6rem; }
.article-detail__aside { display: grid; gap: 1rem; align-content: start; }
.notice { padding: 1.1rem; background: var(--accent-soft); border: 1px solid oklch(.5 .13 340 / .7); }
.notice strong { color: var(--accent); font-size: .78rem; }
.notice p { margin: .6rem 0 0; font-size: .75rem; }
.aside-game { display: grid; gap: .35rem; padding: 1rem; border: 1px solid var(--line); }
.aside-game span { color: var(--muted); font-size: .7rem; }
.aside-game span:last-child { color: var(--accent); }
.prose-page { max-width: 860px; padding: clamp(4rem, 9vw, 8rem) 0 8rem; }
.prose-page h1 { max-width: 12ch; }
.prose-page .prose { margin-top: 3rem; }
.empty-state { padding: 3rem 1rem; text-align: center; border: 1px dashed var(--line); }
.empty-state__mark { display: block; margin-bottom: .5rem; color: var(--accent); }
.empty-page { min-height: 70vh; padding: 12vh 0; }
.empty-page h1 { max-width: 11ch; }

.site-footer { border-top: 1px solid var(--line); background: oklch(.1 .025 250); }
.site-footer__inner, .site-footer__bottom { width: var(--content); margin: 0 auto; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem 0; }
.brand--footer { margin-bottom: 1rem; }
.site-footer p { font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-content: start; justify-content: end; color: var(--muted); font-size: .72rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.5rem; border-top: 1px solid oklch(1 0 0 / .08); color: var(--muted); font-size: .65rem; }

.admin-page { background: oklch(.11 .018 250); }
.admin-header { min-height: 76px; padding: 0 var(--content); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--surface); }
.admin-header__actions { display: flex; gap: 1.2rem; align-items: center; color: var(--muted); font-size: .78rem; }
.admin-main { width: var(--content); margin: 0 auto; padding: 3.5rem 0 6rem; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.admin-heading h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: .5rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.6rem; }
.admin-stat { padding: 1rem 1.2rem; border: 1px solid var(--line); background: var(--surface); }
.admin-stat span { display: block; color: var(--muted); font-size: .7rem; }
.admin-stat strong { display: block; margin-top: .35rem; font-family: var(--display); font-size: 2rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem; }
.admin-panel { padding: 1.4rem; border: 1px solid var(--line); background: var(--surface); }
.admin-panel__heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.admin-panel h2 { margin: 0; font-size: 1.4rem; }
.admin-panel__heading p { margin: .3rem 0 0; font-size: .72rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .73rem; }
.admin-table th, .admin-table td { padding: .7rem .5rem; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.admin-table th { color: var(--muted); font-weight: 400; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td small { color: var(--muted); margin-top: .2rem; }
.status { padding: .18rem .4rem; font-size: .65rem; border: 1px solid var(--line); color: var(--muted); }
.status--published { color: var(--success); border-color: oklch(.5 .1 155); }
.status--draft { color: var(--warning); border-color: oklch(.56 .1 88); }
.table-action { border: 0; padding: .2rem .4rem; color: var(--accent); background: transparent; font-size: .67rem; }
.table-action:disabled { color: var(--muted); cursor: default; }
.table-action--danger { color: var(--warning); }
.settings-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.settings-list > div { display: grid; gap: .2rem; padding: .8rem; border: 1px solid var(--line); }
.settings-list span { color: var(--muted); font-size: .68rem; }
.settings-list strong { font-size: .82rem; }
.settings-editor { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.settings-editor label { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .72rem; }
.settings-editor input { width: 76px; border: 1px solid var(--line); padding: .35rem .45rem; color: var(--ink); background: var(--bg); }
.settings-editor input[type="checkbox"] { width: auto; accent-color: var(--accent); }
.dialog-close { float: right; border: 0; color: var(--muted); background: transparent; font-size: 1.4rem; }
dialog { width: min(580px, calc(100% - 2rem)); border: 1px solid var(--line); padding: 1.4rem; color: var(--ink); background: var(--surface); }
dialog::backdrop { background: oklch(.05 .015 250 / .78); }
.admin-form-grid { display: grid; gap: .8rem; }
.admin-form-grid label { display: grid; gap: .3rem; color: var(--muted); font-size: .72rem; }
.admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select { width: 100%; border: 1px solid var(--line); padding: .65rem; color: var(--ink); background: var(--bg); }
.admin-form-grid textarea { min-height: 160px; resize: vertical; }
.admin-form-grid h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.admin-toast { position: fixed; right: 1.2rem; bottom: 1.2rem; max-width: 320px; padding: .8rem 1rem; border: 1px solid var(--accent); background: var(--surface-strong); color: var(--ink); font-size: .75rem; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.admin-toast.is-visible { opacity: 1; transform: translateY(0); }
.admin-login { width: min(440px, calc(100% - 2rem)); min-height: 80vh; margin: 0 auto; display: grid; align-content: center; gap: .8rem; }
.admin-login__mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-family: var(--display); font-size: 1.4rem; }
.admin-login h1 { font-size: 3rem; margin-bottom: .3rem; }
.admin-login__form { display: grid; gap: .5rem; margin: 1rem 0; }
.admin-login__form label { color: var(--muted); font-size: .75rem; }
.admin-login__form input { border: 1px solid var(--line); padding: .8rem; color: var(--ink); background: var(--surface); }
.form-error { color: var(--warning); font-size: .75rem; }
.dialog-close { float: right; border: 0; color: var(--muted); background: transparent; font-size: 1.4rem; }

@media (max-width: 940px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; border: 1px solid var(--line); padding: .55rem .7rem; color: var(--ink); background: transparent; font-size: .72rem; }
  .header-search { order: 2; }
  .site-nav-mobile { width: var(--content); margin: 0 auto; padding: 0; border-top: 1px solid var(--line); }
  .site-nav-mobile.is-open { display: grid; padding: .6rem 0 1rem; gap: .7rem; }
  .site-nav-mobile a { color: var(--muted); font-size: .85rem; }
  .hero { grid-template-columns: 1fr .74fr; gap: 2rem; }
  .home-section--split, .detail-content, .article-detail__layout { grid-template-columns: 1fr; }
  .tag-panel { max-width: 600px; }
  .game-detail { gap: 3rem; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --content: calc(100% - 2rem); }
  h1 { font-size: clamp(2.5rem, 13vw, 4.2rem); }
  .site-header__inner { min-height: 70px; gap: .45rem; min-width: 0; }
  .brand { min-width: 0; }
  .brand > span:last-child { min-width: 0; }
  .brand strong, .brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand strong { font-size: .98rem; }
  .header-search { margin-left: auto; }
  .header-search input { width: 64px; }
  .menu-toggle { padding: .55rem .45rem; font-size: .66rem; white-space: nowrap; }
  .age-notice { display: block; padding: .7rem 0; font-size: .62rem; }
  .age-notice span { display: block; }
  .age-notice::after { display: block; margin-top: .25rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 4rem; }
  .hero__visual { margin-top: 1rem; }
  .hero-feature { width: 72%; margin-left: auto; margin-right: 5%; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .game-card__body { padding: .8rem; }
  .game-card h3 { font-size: 1rem; }
  .game-card__description { display: none; }
  .game-card__meta { display: block; }
  .game-card__meta .price { display: block; margin-top: .25rem; }
  .tag { font-size: .61rem; }
  .filter-search { display: grid; }
  .game-detail { display: flex; flex-direction: column; align-items: stretch; padding-top: 4rem; }
  .game-detail__media { max-width: none; width: 100%; margin: 0 auto; }
  .game-detail__copy { padding-top: 0; }
  .game-detail__copy h1 { max-width: none; }
  .article-detail__header h1 { font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.25; }
  .site-footer__inner, .site-footer__bottom { display: grid; gap: 1.4rem; }
  .footer-links { justify-content: start; }
  .admin-header { padding: 0 1rem; }
  .admin-header__actions a { display: none; }
  .admin-main { width: calc(100% - 2rem); padding-top: 2.5rem; }
  .admin-heading { display: grid; align-items: start; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .settings-list { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
