/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
:root {
  --white: #ffffff;
  --black: #111111;
  --ink: #1f2328;
  --muted: #5b6470;
  --line: #e2e5e9;
  --line-strong: #c9ced4;
  --paper: #f3f5f7;
  --blue: #1256f0;
  --blue-dark: #0b3fbf;
  --blue-soft: #e8efff;
  --yellow: #ffd400;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; }

img { max-width: 100%; height: auto; display: block; }
svg { display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--black); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }
code { font-family: Consolas, "Courier New", monospace; font-size: 0.95em; background: var(--paper); padding: 0.1em 0.35em; border-radius: 3px; }
button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--black); color: var(--yellow); border-radius: var(--radius); }
.skip:focus { top: 8px; }

/* Buttons and links */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 8px 18px;
  border-radius: var(--radius); font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); text-decoration: none; }
.btn-ghost { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--yellow); text-decoration: none; }

.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.sec-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }

/* Section heads */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 24px; border-bottom: 3px solid var(--black); }
.sec-head h1 { font-size: 1.75rem; }
.sec-head h2 { font-size: 1.5rem; }
.catalog-total { color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------
   Masthead: utility row, identity row, stepped strip
   ------------------------------------------------------------ */
.mast-util { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.mast-util-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; flex-wrap: wrap; }
.mast-stats { color: var(--muted); }
.mast-stats b { color: var(--black); }
.mast-util-links { display: flex; gap: 18px; }
.mast-util-links a { color: var(--ink); }

.mast-main { background: var(--white); }
.mast-main-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }

.brand-block { display: grid; gap: 4px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--black); text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--black); }
.brand-logo { display: block; background: var(--black); padding: 8px 12px; border-radius: var(--radius); }
.brand-logo img { width: 202px; height: auto; aspect-ratio: 404 / 94; }
.brand-name { font-size: 1.25rem; font-weight: 700; }
.brand-note { font-size: 0.8rem; color: var(--muted); padding-left: 4px; border-left: 3px solid var(--yellow); line-height: 1.3; }

.mast-search { display: flex; flex: 1 1 320px; max-width: 520px; }
.mast-search-input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; font: inherit; border: 2px solid var(--black); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--white); color: var(--ink); }
.mast-search-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 2px solid var(--black); background: var(--black); color: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600; cursor: pointer; }
.mast-search-btn:hover { background: var(--blue); border-color: var(--blue); }

/* Stepped strip */
.strip { background: var(--black); color: var(--white); border-top: 4px solid var(--yellow); }
.strip-row { display: flex; align-items: stretch; gap: 12px; }

.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; background: transparent; border: 0; color: var(--white); font-weight: 600; cursor: pointer; }
.menu-toggle:focus-visible { outline-color: var(--yellow); }
.menu-toggle .ico-close { display: none; }
.menu-toggle[aria-expanded="true"] .ico-menu { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: inline-block; }

.steps { display: flex; flex: 1 1 auto; counter-reset: none; }
.step { position: relative; display: flex; flex: 1 1 0; }
.step a {
  position: relative; display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 8px 22px 8px 18px;
  color: var(--white); font-weight: 600; text-decoration: none;
}
.step a:hover { color: var(--yellow); text-decoration: none; }
.step a:focus-visible { outline-color: var(--yellow); outline-offset: -4px; }
/* chevron edge: each step visually connects into the next */
.step::after {
  content: ""; position: absolute; right: -8px; top: 50%; z-index: 2;
  width: 14px; height: 14px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow);
  transform: translateY(-50%) rotate(45deg);
}
.step:last-child::after { display: none; }
.step-n {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--yellow); color: var(--black); font-size: 0.8rem; font-weight: 700;
}
.step.is-current a { background: var(--blue); color: var(--white); }
.step.is-current .step-n { background: var(--white); color: var(--blue); }

/* ------------------------------------------------------------
   Home
   ------------------------------------------------------------ */
.catbar { border-bottom: 1px solid var(--line); background: var(--white); }
.catbar-row { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.catbar-title { font-size: 0.9rem; letter-spacing: 0; color: var(--muted); font-weight: 600; flex: none; }
.catbar-list { display: flex; flex-wrap: wrap; gap: 8px 6px; }
.catbar-list a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 0.9rem; }
.catbar-list a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.catbar-all { border-color: var(--black) !important; background: var(--black); color: var(--white) !important; }
.catbar-all:hover { background: var(--blue); }
.catbar-count { font-size: 0.75rem; color: var(--muted); }
.catbar-all .catbar-count { color: var(--yellow); }

.picks { padding: 28px 0 24px; }
.picks-head { align-items: flex-start; }
.picks-head .sec-more { margin-top: 8px; }
.picks-intro { flex: 1 1 420px; min-width: 0; }
.picks-lead { margin-top: 8px; max-width: 760px; color: var(--muted); line-height: 1.7; }

/* Staggered two-column unframed pairs */
.pairs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 40px; }
.pair { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.pair:nth-child(even) { margin-top: 56px; }
.pair:nth-child(4n+3), .pair:nth-child(4n) { grid-template-columns: 1fr 220px; }
.pair:nth-child(4n+3) .pair-cover, .pair:nth-child(4n) .pair-cover { order: 2; }
.pair-cover { display: block; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.pair-cover img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.pair-cat { font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; }
.pair-cat a { color: var(--blue); }
.pair-name { font-size: 1.25rem; }
.pair-name a { color: var(--black); }
.pair-name a:hover { color: var(--blue); }
.pair-en { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.pair-desc { margin-top: 10px; color: var(--ink); }
.pair-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }

/* Start flow band */
.flow { background: var(--black); color: var(--white); padding: 20px 0; margin-top: 16px; }
.flow-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.flow-title { font-size: 1rem; color: var(--yellow); font-weight: 700; }
.flow-steps { display: flex; gap: 28px; flex-wrap: wrap; }
.flow-steps li { display: inline-flex; align-items: center; gap: 10px; }
.flow-steps a { color: var(--white); font-weight: 600; }
.flow-steps a:hover { color: var(--yellow); }
.flow-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--yellow); border-radius: 50%; font-size: 0.8rem; font-weight: 700; color: var(--yellow); }

/* Category groups on home */
.groups { padding: 36px 0 40px; }
.group-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.group-title { display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; padding-bottom: 8px; border-bottom: 2px solid var(--yellow); margin-bottom: 10px; }
.group-title a { color: var(--black); }
.group-count { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.group-names li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.group-names a { color: var(--ink); }
.group-names a:hover { color: var(--blue); }

/* ------------------------------------------------------------
   Games catalog
   ------------------------------------------------------------ */
.catalog { padding: 28px 0 40px; }
.catalog-head { margin-bottom: 16px; }

.tools { display: grid; gap: 12px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tools-search { position: relative; max-width: 560px; }
.tools-search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.tools-input { width: 100%; height: 46px; padding: 0 14px 0 42px; font: inherit; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.tools-input:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px var(--blue-soft); }
.tools-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 14px; border: 2px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip-count { font-size: 0.75rem; opacity: 0.85; }
.tools-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tools-count { color: var(--muted); }
.tools-count b { color: var(--black); font-size: 1.1rem; }
.tools-reset { min-height: 36px; padding: 4px 14px; }

.empty { padding: 28px 16px; text-align: center; color: var(--muted); border: 2px dashed var(--line-strong); border-radius: var(--radius); margin: 16px 0; }

/* Large two-column entries: cover left third, hierarchy right */
.entries { display: block; }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.entry:last-child { border-bottom: 0; }
.entry:target { box-shadow: inset 6px 0 0 var(--yellow); padding-left: 16px; }
.entry-cover { background: var(--paper); border-radius: var(--radius); overflow: hidden; align-self: start; }
.entry-cover img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.entry-body { min-width: 0; }
.entry-cat { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.entry-name { font-size: 1.5rem; margin-top: 4px; }
.entry-en { color: var(--muted); margin-top: 2px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.entry-tags li { font-size: 0.78rem; padding: 2px 8px; background: var(--paper); border-left: 3px solid var(--yellow); border-radius: 3px; color: var(--ink); }
.entry-desc { margin-top: 14px; line-height: 1.75; }
.entry-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------------
   Category page
   ------------------------------------------------------------ */
.cats { padding: 28px 0 40px; }
.cat-jump ol { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cat-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); }
.cat-jump a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.cat-jump-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: var(--yellow); font-size: 0.75rem; font-weight: 700; }
.cat-jump-count { font-size: 0.75rem; color: var(--muted); }

.cat-group { padding: 24px 0 28px; border-top: 3px solid var(--black); scroll-margin-top: 16px; }
.cat-group-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-group-head h2 { font-size: 1.35rem; }
.cat-group-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 700; }
.cat-group-count { color: var(--muted); font-weight: 600; }
.cat-group-head .link-more { margin-left: auto; }

.cat-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.cat-item-link { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.cat-item-link:hover { text-decoration: none; color: var(--blue); }
.cat-item-link img { width: 80px; height: 80px; object-fit: contain; background: var(--paper); border-radius: var(--radius); }
.cat-item-text { display: grid; gap: 2px; min-width: 0; }
.cat-item-name { font-weight: 700; color: var(--black); }
.cat-item-link:hover .cat-item-name { color: var(--blue); }
.cat-item-en { font-size: 0.85rem; color: var(--muted); }

/* ------------------------------------------------------------
   Supporting pages: numbered vertical reading sequence
   ------------------------------------------------------------ */
.support { padding: 32px 0 48px; }
.support-wrap { max-width: 860px; }
.support-head { padding-bottom: 16px; margin-bottom: 28px; border-bottom: 3px solid var(--black); }
.support-head h1 { font-size: 1.9rem; }
.support-lead { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }

.seq { position: relative; padding-left: 56px; counter-reset: seq; }
.seq::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.seq > * { position: relative; }
.seq-title { font-size: 1.5rem; margin: 0 0 16px; }
.seq-h2 { font-size: 1.3rem; margin: 32px 0 12px; counter-increment: seq; }
.seq-h2:first-child { margin-top: 0; }
.seq-h2::before {
  content: counter(seq); position: absolute; left: -56px; top: -2px;
  display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--black); color: var(--yellow); border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700;
}
.seq-h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--blue-dark); }
.seq-h3::before { content: ""; position: absolute; left: -44px; top: 0.55em; width: 12px; height: 12px; background: var(--blue); border-radius: 2px; }
.seq-p { margin: 0 0 14px; line-height: 1.8; }
.seq-list { margin: 0 0 16px; padding-left: 24px; }
ol.seq-list { list-style: decimal; }
ul.seq-list { list-style: disc; }
.seq-list li { margin: 6px 0; line-height: 1.75; }
.seq-list li::marker { color: var(--blue); font-weight: 700; }

.support-next { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.foot { background: var(--black); color: var(--white); margin-top: 24px; border-top: 4px solid var(--yellow); }
.foot-row { display: flex; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 24px; flex-wrap: wrap; }
.foot-brand { max-width: 420px; }
.foot-brand img { width: 162px; height: auto; aspect-ratio: 404 / 94; }
.foot-name { margin-top: 12px; font-size: 1.05rem; font-weight: 700; color: var(--white); }
.foot-note { margin-top: 4px; padding-left: 8px; border-left: 3px solid var(--yellow); color: #c8ccd2; font-size: 0.9rem; }
.foot-stats { margin-top: 10px; color: #c8ccd2; font-size: 0.9rem; }
.foot-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { color: var(--white); }
.foot-nav a:hover { color: var(--yellow); }
.foot-nav a:focus-visible, .foot-top:focus-visible { outline-color: var(--yellow); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 18px; border-top: 1px solid #333; font-size: 0.85rem; color: #c8ccd2; flex-wrap: wrap; }
.foot-top { color: var(--yellow); }

/* ------------------------------------------------------------
   Download checkpoint: native dialog framing the same-origin gate.
   Header strip continues the masthead's numbered step sequence.
   ------------------------------------------------------------ */
.pass {
  width: min(100% - 24px, 540px); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--white); color: var(--ink); overflow: visible;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}
.pass::backdrop { background: rgba(17, 17, 17, 0.72); }
.pass[open] { animation: pass-in 160ms ease-out; }
@keyframes pass-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pass-panel { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; border-radius: var(--radius); outline: 0; }
.pass-panel:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }

.pass-strip { display: flex; background: var(--black); border-top: 4px solid var(--yellow); }
.pass-step {
  position: relative; display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0;
  min-height: 48px; padding: 6px 18px 6px 14px;
  color: #c8ccd2; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.pass-step::after {
  content: ""; position: absolute; right: -7px; top: 50%; z-index: 2;
  width: 12px; height: 12px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow);
  transform: translateY(-50%) rotate(45deg);
}
.pass-step:last-child::after { display: none; }
.pass-n {
  display: inline-grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #5b6470;
  color: #c8ccd2; font-size: 0.75rem; font-weight: 700;
}
.pass-step.is-done .pass-n { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.pass-step.is-done { color: var(--white); }
.pass-step.is-current { background: var(--blue); color: var(--white); }
.pass-step.is-current .pass-n { background: var(--white); border-color: var(--white); color: var(--blue); }

.pass-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 10px; }
.pass-head-text { min-width: 0; flex: 1 1 auto; }
.pass-title { font-size: 1.15rem; }
.pass-game { margin-top: 2px; color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.pass-close {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border: 2px solid var(--black); border-radius: var(--radius);
  background: var(--white); color: var(--black); cursor: pointer;
}
.pass-close:hover { background: var(--black); color: var(--yellow); }

.pass-frame { margin: 0 18px; border: 2px solid var(--black); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.pass-iframe { display: block; width: 100%; height: 240px; border: 0; background: var(--white); }

.pass-status { min-height: 1.6em; padding: 10px 18px 16px; color: var(--muted); font-size: 0.9rem; }
.pass.is-complete .pass-status { color: var(--blue-dark); font-weight: 600; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .pairs { column-gap: 32px; }
  .pair { grid-template-columns: 180px 1fr; }
  .pair:nth-child(4n+3), .pair:nth-child(4n) { grid-template-columns: 1fr 180px; }
  .group-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mast-util-links { display: none; }
  .mast-main-row { gap: 12px; }
  .brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand-name { font-size: 1.1rem; }
  .mast-search { flex-basis: 100%; max-width: none; }

  /* Strip collapses to a vertical step list once JS attaches */
  .menu-toggle { display: inline-flex; }
  .strip-row { flex-wrap: wrap; }
  .steps { flex-direction: column; flex-basis: 100%; }
  .step::after { display: none; }
  .step a { min-height: 48px; border-top: 1px solid #333; }
  .js .steps { display: none; }
  .js .steps.is-open { display: flex; }

  .pairs { grid-template-columns: 1fr; row-gap: 28px; }
  .pair, .pair:nth-child(4n+3), .pair:nth-child(4n) { grid-template-columns: 1fr; }
  .pair:nth-child(even) { margin-top: 0; }
  .pair:nth-child(4n+3) .pair-cover, .pair:nth-child(4n) .pair-cover { order: 0; }
  .pair-cover { max-width: 320px; }

  .flow-row, .flow-steps { flex-direction: column; align-items: flex-start; gap: 12px; }
  .group-cols { grid-template-columns: 1fr; }

  .entry { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .entry-cover { max-width: 320px; }
  .entry-name { font-size: 1.3rem; }

  .cat-items { grid-template-columns: 1fr; }

  .seq { padding-left: 44px; }
  .seq::before { left: 13px; }
  .seq-h2::before { left: -44px; width: 28px; height: 28px; font-size: 0.85rem; }
  .seq-h3::before { left: -36px; }
  .support-head h1 { font-size: 1.5rem; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 14px; }
  .brand-logo img { width: 160px; }
  .sec-head h1 { font-size: 1.4rem; }

  .pass { width: calc(100% - 16px); }
  .pass-step { gap: 6px; padding: 6px 12px 6px 10px; font-size: 0.78rem; }
  .pass-n { width: 20px; height: 20px; font-size: 0.7rem; }
  .pass-head { padding: 14px 14px 8px; }
  .pass-frame { margin: 0 14px; }
  .pass-status { padding: 10px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
