:root {
  color-scheme: dark;
  --page: #090d19;
  --page-raised: #101629;
  --surface: #11182a;
  --surface-soft: #151e32;
  --ink: #f4f6ff;
  --muted: #aab4ca;
  --subtle: #75829e;
  --line: #26324b;
  --violet: #aa99ff;
  --blue: #86baff;
  --cyan: #75e5dd;
  --gold: #f5d59b;
  --focus: #f5d59b;
  --rpg-accent: var(--cyan);
  --ease: cubic-bezier(.2,.75,.25,1);
  font-family: var(--rpg-font-body, "Inter", system-ui, sans-serif);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; background: var(--page); color: var(--ink); font: 16px/1.65 var(--rpg-font-body, "Inter", system-ui, sans-serif); }
body::before { position: fixed; z-index: -1; inset: 0; pointer-events: none; content: ""; background: radial-gradient(ellipse at 77% 4%, #6359bc12, transparent 32%), radial-gradient(ellipse at 8% 65%, #3cc4d30a, transparent 33%); }
h1,h2,h3,.wordmark strong { font-family: var(--rpg-font-display, "Manrope", system-ui, sans-serif); letter-spacing: -.04em; }
h1,h2,h3,p,figure { margin-top: 0; }
a { color: inherit; }
a,button { -webkit-tap-highlight-color: transparent; }
a:focus-visible,button:focus-visible,input:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; border-radius: 9px; background: #fff; color: #101525; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }
.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; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #ffffff0c; background: #090d19dc; backdrop-filter: blur(18px); }
.header-inner { width: min(1190px, calc(100% - 56px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 34px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; }
.wordmark-mark { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #a99bff67; border-radius: 13px; background: linear-gradient(145deg,#9283f327,#6ce1db10); color: var(--cyan); font: 700 17px/1 var(--rpg-font-display, sans-serif); box-shadow: 0 0 25px #8e82ed1a; }
.wordmark-copy { display: grid; line-height: 1.05; gap: 5px; }
.wordmark-copy strong { font-size: 15px; letter-spacing: -.035em; }
.wordmark-copy small { color: var(--subtle); font-size: 9px; font-weight: 750; letter-spacing: .17em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px,3vw,38px); margin-left: auto; }
.nav-link { position: relative; padding: 9px 0; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 550; transition: color .18s ease; }
.nav-link::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; content: ""; background: linear-gradient(90deg,var(--violet),var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav-link:hover,.nav-link:focus-visible { color: var(--ink); }
.nav-link:hover::after,.nav-link:focus-visible::after { transform: scaleX(1); }
.header-action { display: inline-flex; align-items: center; gap: 14px; min-height: 39px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 700; transition: border-color .2s,background .2s,transform .2s; }
.header-action span { color: var(--cyan); font-size: 16px; }
.header-action:hover { transform: translateY(-1px); border-color: #75e5dd77; background: #75e5dd0a; }
.menu-toggle { display: none; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0,.94fr) minmax(410px,1.06fr); align-items: center; gap: 30px; width: min(1190px,calc(100% - 56px)); min-height: 620px; margin: 0 auto; padding: 66px 0 84px; }
.hero-copy { position: relative; z-index: 2; padding: 0 0 14px 16px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow-orb { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px #75e5dd9c; }
.hero h1 { max-width: 650px; margin: 0 0 22px; font-size: clamp(48px,6vw,78px); font-weight: 750; line-height: 1.06; }
.hero h1 em { color: transparent; background: linear-gradient(100deg,var(--violet),var(--cyan)); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.hero-lede { max-width: 480px; margin-bottom: 29px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 18px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 12px; font-weight: 750; transition: transform .2s var(--ease),border-color .2s,background .2s,box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(110deg,#a395ff,#72dfe1); color: #11162a; box-shadow: 0 7px 26px #827be42b; }
.button-primary:hover { box-shadow: 0 10px 32px #827be44a; }
.button-primary span { font-size: 16px; }
.button-secondary { border-color: var(--line); background: #ffffff04; color: var(--ink); }
.button-secondary:hover { border-color: #a99bff70; background: #a99bff0b; }
.hero-caption { display: flex; align-items: center; gap: 8px; margin: 24px 0 0; color: var(--subtle); font-size: 11px; }
.hero-caption span { color: var(--gold); }
.hero-art { position: relative; min-width: 0; margin: 0; aspect-ratio: 1.18; isolation: isolate; }
.hero-art::before { position: absolute; z-index: -1; inset: 12% 8% 8%; border-radius: 46%; content: ""; background: #6965db26; filter: blur(80px); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 42px #03071288); animation: hero-arrive .9s var(--ease) both; }
.hero-art figcaption { position: absolute; right: 4%; bottom: 3%; display: grid; gap: 4px; padding: 11px 14px; border: 1px solid #ffffff1b; border-radius: 10px; background: #0b1020c9; backdrop-filter: blur(12px); }
.hero-art figcaption span:first-child { color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.hero-art figcaption span:last-child { color: var(--muted); font-size: 11px; }
.art-orbit { position: absolute; border: 1px solid #a99bff24; border-radius: 50%; pointer-events: none; }
.orbit-one { width: 74px; height: 74px; top: 10%; right: 15%; }
.orbit-two { width: 13px; height: 13px; top: 8%; right: 27%; border: 0; background: var(--gold); box-shadow: 0 0 20px #f5d59b8c; }
.hero-index { position: absolute; bottom: 34px; left: 17px; display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.hero-index span:first-child { color: var(--violet); }
.hero-index i { width: 37px; height: 1px; background: var(--line); }
.section { width: min(1080px,calc(100% - 56px)); margin: 0 auto; padding: 94px 0; }
.systems-section { border-top: 1px solid #ffffff0c; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 31px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2,.trainer-copy h2,.community-section h2 { margin: 0; font-size: clamp(30px,4vw,43px); font-weight: 720; line-height: 1.15; }
.section-head > p { max-width: 390px; margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 17px; margin-bottom: 12px; }
.search-box { display: flex; flex: 0 1 360px; min-height: 44px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #111827a6; color: var(--subtle); }
.search-box > span:first-child { color: var(--cyan); font-size: 22px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 12px; }
.search-box input::placeholder { color: var(--subtle); }
.search-box:focus-within { border-color: #75e5dd88; box-shadow: 0 0 0 3px #75e5dd12; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { min-height: 35px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font: 650 11px var(--rpg-font-body,system-ui); cursor: pointer; transition: border-color .18s,background .18s,color .18s; }
.filter-chip:hover { color: var(--ink); background: #ffffff08; }
.filter-chip.is-active { border-color: #a99bff42; background: #a99bff13; color: #d6cfff; }
.catalog-count { min-height: 18px; margin: 0 0 13px; color: var(--subtle); font-size: 10px; }
.system-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.system-card { --card-accent: var(--cyan); position: relative; display: flex; min-height: 246px; flex-direction: column; overflow: hidden; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(155deg,#141d32,#101625 72%); text-decoration: none; transition: transform .22s var(--ease),border-color .22s,box-shadow .22s; }
.system-card::before { position: absolute; top: -38px; right: -34px; width: 115px; height: 115px; border: 1px solid color-mix(in srgb,var(--card-accent) 21%,transparent); border-radius: 50%; content: ""; transition: transform .25s var(--ease); }
.system-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb,var(--card-accent) 52%,var(--line)); box-shadow: 0 15px 42px #0002; }
.system-card:hover::before { transform: scale(1.15); }
.system-card:focus-visible { outline-offset: 3px; }
.system-card[data-accent="bank"] { --card-accent: #74e4cf; }
.system-card[data-accent="arena"] { --card-accent: #83bcff; }
.system-card[data-accent="showdown"] { --card-accent: #aa99ff; }
.system-card[data-accent="bot"] { --card-accent: #75e5dd; }
.system-card[data-accent="dex"] { --card-accent: #92b9ff; }
.system-card[data-accent="staff"] { --card-accent: #f5d59b; }
.system-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.system-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid color-mix(in srgb,var(--card-accent) 36%,transparent); border-radius: 11px; background: color-mix(in srgb,var(--card-accent) 9%,transparent); color: var(--card-accent); font-size: 18px; font-weight: 750; }
.system-category { color: var(--subtle); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.system-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 720; }
.system-card-summary { margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.system-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid #ffffff0e; }
.system-availability { color: var(--subtle); font-size: 10px; }
.system-open { display: inline-flex; align-items: center; gap: 8px; color: var(--card-accent); font-size: 11px; font-weight: 750; }
.system-open span { transition: transform .18s; }
.system-card:hover .system-open span { transform: translate(2px,-2px); }
.no-results { grid-column: 1/-1; padding: 34px 20px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.start-section { border-top: 1px solid #ffffff0c; }
.start-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,.8fr); gap: 34px; align-items: stretch; }
.start-list { border-top: 1px solid var(--line); }
.start-step { display: grid; grid-template-columns: 43px 1fr 20px; align-items: start; gap: 14px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.step-no { padding-top: 2px; color: var(--violet); font: 700 11px var(--rpg-font-display, sans-serif); letter-spacing: .08em; }
.start-step h3 { margin: 0 0 4px; font-size: 15px; }
.start-step p { max-width: 530px; margin: 0; color: var(--muted); font-size: 12px; }
.start-step code { padding: 2px 5px; border: 1px solid #75e5dd25; border-radius: 5px; background: #75e5dd0a; color: var(--cyan); font: 700 11px var(--rpg-font-body,monospace); }
.step-mark { color: var(--subtle); font-size: 14px; }
.starter-note { align-self: stretch; padding: 22px; border: 1px solid #8c7feb32; border-radius: 12px; background: linear-gradient(145deg,#a99bff0f,#75e5dd07); }
.note-icon { display: grid; width: 35px; height: 35px; margin-bottom: 18px; place-items: center; border: 1px solid #a99bff45; border-radius: 10px; color: var(--violet); }
.starter-note .eyebrow { margin-bottom: 9px; font-size: 9px; }
.starter-note h3 { margin: 0 0 8px; font-size: 19px; }
.starter-note > p:not(.eyebrow) { margin-bottom: 15px; color: var(--muted); font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--cyan); text-decoration: none; font-size: 11px; font-weight: 750; }
.text-link span { transition: transform .18s; }
.text-link:hover span { transform: translateX(3px); }
.trainer-section { position: relative; display: flex; width: min(1080px,calc(100% - 56px)); align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; margin: 0 auto 90px; padding: 31px 34px; border: 1px solid #75e5dd25; border-radius: 15px; background: linear-gradient(105deg,#10192b,#12172a 60%,#15172c); }
.trainer-glow { position: absolute; top: -130px; right: 8%; width: 350px; height: 250px; border-radius: 50%; background: #5a92d112; filter: blur(50px); pointer-events: none; }
.trainer-copy,.trainer-state { position: relative; z-index: 1; }
.trainer-copy .eyebrow { margin-bottom: 10px; }
.trainer-copy h2 { font-size: clamp(27px,3vw,35px); }
.trainer-copy > p:last-child { max-width: 530px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.trainer-state { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #f5d59b22; border-radius: 10px; background: #f5d59b08; }
.trainer-state > div { display: grid; gap: 2px; }
.trainer-state strong { font-size: 11px; }
.trainer-state span:last-child { color: var(--subtle); font-size: 10px; }
.state-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px #f5d59b66; }
.community-section { display: flex; align-items: center; justify-content: space-between; gap: 26px; width: min(1080px,calc(100% - 56px)); margin: 0 auto; padding: 2px 0 82px; }
.community-section .eyebrow { margin-bottom: 9px; }
.community-section h2 { font-size: clamp(24px,3vw,32px); }
.community-section > div:first-child > p:last-child { max-width: 460px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.community-state { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; padding: 13px 16px; border-left: 1px solid var(--line); }
.community-state > span { color: var(--gold); font-size: 18px; }
.community-state strong { font-size: 11px; }
.community-state p { margin: 3px 0 0; color: var(--subtle); font-size: 10px; }
.site-footer { display: flex; min-height: 91px; align-items: center; justify-content: space-between; gap: 20px; padding: 20px max(28px,calc((100vw - 1080px)/2)); border-top: 1px solid #ffffff0d; background: #080b14; }
.site-footer > p { max-width: 460px; margin: 0; color: var(--subtle); font-size: 10px; text-align: center; }
.back-top { color: var(--muted); text-decoration: none; font-size: 10px; }
.back-top:hover { color: var(--cyan); }
.copy-status { position: fixed; right: 20px; bottom: 82px; z-index: 100; max-width: min(380px,calc(100vw - 40px)); margin: 0; padding: 0; border: 0 solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--ink); font-size: 12px; box-shadow: 0 10px 30px #0004; opacity: 0; transform: translateY(8px); transition: opacity .18s,transform .18s,padding .18s; }
.copy-status:not(:empty) { padding: 11px 14px; border-width: 1px; opacity: 1; transform: none; }
.notice { color: var(--muted); }
.notice a { color: var(--cyan); }
/* System detail pages */
.detail-main { width: min(900px,calc(100% - 48px)); margin: 0 auto; padding: 64px 0 90px; }
.detail-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 32px; color: var(--muted); text-decoration: none; font-size: 12px; }
.detail-back:hover { color: var(--cyan); }
.detail-hero { position: relative; overflow: hidden; padding: clamp(24px,5vw,46px); border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(130deg,#141e33,#111626 72%); }
.detail-hero::after { position: absolute; top: -110px; right: -55px; width: 310px; height: 310px; border: 1px solid #a99bff20; border-radius: 50%; content: ""; box-shadow: 0 0 0 36px #a99bff05,0 0 0 72px #75e5dd04; }
.detail-hero > * { position: relative; z-index: 1; }
.detail-kicker { display: flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.detail-hero h1 { max-width: 620px; margin: 15px 0 12px; font-size: clamp(37px,6vw,60px); line-height: 1.08; }
.detail-summary { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; }
.detail-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; padding: 8px 11px; border: 1px solid #75e5dd2b; border-radius: 999px; background: #75e5dd08; color: var(--cyan); font-size: 10px; font-weight: 700; }
.detail-status::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.detail-content { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; margin-top: 25px; }
.detail-panel { padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.detail-panel h2 { margin: 0 0 14px; font-size: 17px; }
.detail-panel p,.detail-panel li { color: var(--muted); font-size: 12px; }
.detail-panel ul,.detail-panel ol { display: grid; gap: 11px; margin: 0; padding-left: 18px; }
.detail-panel li::marker { color: var(--violet); }
.detail-panel .button { margin-top: 18px; }
.detail-caution { margin-top: 18px; padding: 13px 14px; border-left: 2px solid var(--gold); background: #f5d59b09; color: var(--muted); font-size: 11px; }
.detail-feature-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.detail-feature-list li { display: flex; gap: 9px; align-items: start; }
.detail-feature-list li::before { color: var(--cyan); content: "✓"; }
html[data-site-theme="light"] { color-scheme: light; }
html[data-site-theme="light"] body { --page:#f4f6fb; --page-raised:#fff; --surface:#fff; --surface-soft:#f8f9fd; --ink:#1d293c; --muted:#536178; --subtle:#728098; --line:#dce3ee; --violet:#6652cb; --blue:#296ac2; --cyan:#167f88; --gold:#94630b; --focus:#7958d2; background:var(--page); color:var(--ink); }
html[data-site-theme="light"] .site-header { border-color:#19274412; background:#f7f8fbe8; }
html[data-site-theme="light"] .header-action,html[data-site-theme="light"] .button-secondary { background:#fff; }
html[data-site-theme="light"] .system-card,html[data-site-theme="light"] .detail-panel { background:linear-gradient(155deg,#fff,#f8faff); }
html[data-site-theme="light"] .search-box { background:#fff; }
html[data-site-theme="light"] .search-box input { color:var(--ink); }
html[data-site-theme="light"] .filter-chip.is-active { color:#4e3aa9; }
html[data-site-theme="light"] .trainer-section { background:linear-gradient(105deg,#fff,#f4f5fc 60%,#f4fbfb); }
html[data-site-theme="light"] .site-footer { background:#eef1f7; }
html[data-site-theme="light"] .detail-hero { background:linear-gradient(130deg,#fff,#f2f4fa 72%); }
html[data-site-theme="light"] .copy-status { background:#fff; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 540px; }
  .hero h1 { font-size: clamp(44px,7vw,64px); }
  .system-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .header-inner { position: relative; width: calc(100% - 34px); min-height: 66px; gap: 11px; }
  .wordmark { margin-right: auto; }
  .header-action { min-height: 35px; gap: 7px; padding: 0 9px; font-size: 10px; }
  .menu-toggle { display: grid; width: 38px; height: 38px; place-content: center; gap: 5px; order: 2; border: 1px solid var(--line); border-radius: 9px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .18s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 2px; padding: 9px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--page-raised); box-shadow: 0 15px 25px #0003; }
  .primary-nav.is-open { display: grid; }
  .nav-link { padding: 11px; border-radius: 7px; }
  .nav-link:hover { background: #ffffff09; }
  .nav-link::after { display: none; }
  .hero { grid-template-columns: 1fr; gap: 4px; width: calc(100% - 36px); min-height: auto; padding: 59px 0 67px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(46px,12vw,64px); }
  .hero-lede { max-width: 490px; font-size: 14px; }
  .hero-art { width: min(100%,540px); margin: -2px auto -10px; aspect-ratio: 1.3; }
  .hero-art figcaption { right: 0; bottom: 2%; }
  .hero-index { left: 0; bottom: 20px; }
  .section { width: calc(100% - 36px); padding: 65px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head > p { font-size: 12px; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .search-box { flex-basis: auto; }
  .filter-list { overflow-x: auto; padding-bottom: 3px; }
  .filter-chip { flex: 0 0 auto; }
  .system-grid { gap: 9px; }
  .system-card { min-height: 220px; padding: 15px; }
  .system-card-top { margin-bottom: 18px; }
  .system-card h3 { font-size: 16px; }
  .system-card-summary { font-size: 11px; }
  .system-card-bottom { align-items: start; flex-direction: column; gap: 7px; }
  .system-open { align-self: end; }
  .start-layout { grid-template-columns: 1fr; gap: 17px; }
  .start-step { grid-template-columns: 32px 1fr 16px; gap: 8px; padding: 17px 1px; }
  .trainer-section { width: calc(100% - 36px); align-items: start; flex-direction: column; gap: 17px; margin-bottom: 65px; padding: 22px 19px; }
  .trainer-state { max-width: 100%; }
  .community-section { width: calc(100% - 36px); align-items: start; flex-direction: column; padding-bottom: 58px; }
  .community-state { border-left: 0; border-top: 1px solid var(--line); padding: 13px 0 0; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; padding: 19px 18px; }
  .site-footer > p { order: 3; width: 100%; text-align: left; }
  .detail-main { width: calc(100% - 34px); padding-top: 36px; }
  .detail-content { grid-template-columns: 1fr; gap: 12px; }
  .detail-panel { padding: 19px; }
}
@media (max-width: 420px) {
  .header-action { font-size: 0; gap: 0; width: 36px; justify-content: center; padding: 0; }
  .header-action span { font-size: 17px; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 200px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
