@font-face {
  font-family: Nunito;
  src: url('/fonts/nunito-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('/fonts/nunito-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'M PLUS Rounded';
  src: url('/fonts/m-plus-rounded-900.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
:root {
  --night: #1a1630;
  --ink: #30274d;
  --muted: #70647f;
  --white: #fffefa;
  --panel: #faf9ff;
  --line: #e8e4f1;
  --violet: #8d79db;
  --violet-dark: #5c4a9d;
  --lavender: #f1eef9;
  --coral: #ff646e;
  --orange: #ff9a53;
  --yellow: #ffcf3f;
  --font: Nunito,'PingFang SC','Hiragino Kaku Gothic ProN','Microsoft YaHei',sans-serif;
  --display: 'M PLUS Rounded',Nunito,'PingFang SC','Microsoft YaHei',sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; color: var(--ink); background: var(--night); font: 700 15px/1.75 var(--font); -webkit-font-smoothing: antialiased; position: relative; isolation: isolate; }
/* 原创夜景只承担装饰，页面内容、导航与广告容器都使用独立的可访问 HTML。 */
body::before { content: ''; position: fixed; inset: 0; z-index: -2; background: linear-gradient(180deg,rgba(25,19,48,.12),rgba(25,19,48,.28) 60%,rgba(25,19,48,.8)),url('/images/enchanted-forest-v2.webp') center top/cover no-repeat; pointer-events: none; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 5%,transparent 20%,rgba(13,9,32,.38)); pointer-events: none; }
a { color: inherit; text-decoration: none; }
button,summary,a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
button:disabled { cursor: wait; }
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-weight: 900; line-height: 1.22; letter-spacing: -.035em; }
p { color: var(--muted); }
.icon { vertical-align: middle; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--yellow); padding: 12px 20px; border-radius: 14px; }
.skip-link:focus { top: 12px; }
/* 导航借鉴游戏的白色胶囊与粗圆按钮，语言切换与手机菜单保留原有交互。 */
.site-header { position: sticky; top: 18px; z-index: 30; max-width: 1320px; margin: 24px auto 0; padding: 0 18px; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 80px; padding: 13px 22px; border: 2px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,254,255,.97); box-shadow: 0 6px 0 #17102c3d,0 15px 35px #17102c25; }
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f0ecfa; transform: rotate(-12deg); }
.brand-mark img { width: 30px; height: 30px; image-rendering: pixelated; }
.brand strong { display: block; font: 900 27px/1.15 var(--display); color: #fff; letter-spacing: -1.4px; -webkit-text-stroke: 3px #3b2d63; paint-order: stroke fill; filter: drop-shadow(0 2px 0 #3b2d6320); }
.brand strong>span { color: var(--yellow); }
.brand strong b { margin-left: 1px; color: var(--coral); font-size: 24px; }
.brand small { display: block; margin-top: 4px; font-size: 7px; font-weight: 900; letter-spacing: 1px; color: #9b8db6; }
.primary-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; min-width: 0; }
.nav-link { display: flex; align-items: center; gap: 6px; border-radius: 14px; padding: 10px 11px; font-size: 12px; font-weight: 900; white-space: nowrap; color: #827695; transition: background .2s,color .2s; }
.nav-link>.icon { width: 16px; height: 16px; }
.nav-link:hover { background: #f4f1fa; color: var(--violet-dark); }
.nav-link.active { color: #765eb4; background: #eeE9fa; box-shadow: inset 0 -2px 0 #ded4f3; }
.header-actions { display: flex; align-items: center; gap: 13px; }
.language-switch { position: relative; }
.language-switch summary { display: flex; align-items: center; gap: 7px; min-height: 38px; font-size: 11px; font-weight: 900; list-style: none; cursor: pointer; white-space: nowrap; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary>.icon:first-child { width: 17px; height: 17px; color: #9785c6; }
.language-switch summary>.icon:last-child { width: 12px; height: 12px; }
.language-menu { position: absolute; top: calc(100% + 17px); right: -12px; z-index: 40; width: 215px; max-height: 70vh; overflow: auto; padding: 8px; border: 2px solid #e8e0f6; border-radius: 20px; background: var(--white); box-shadow: 0 6px 0 #46376230,0 20px 36px #17102c35; }
.language-menu a { display: flex; align-items: center; justify-content: space-between; padding: 9px 13px; border-radius: 12px; font-size: 13px; }
.language-menu a:hover,.language-menu a.selected { color: #7c60b5; background: #f0eafa; }
.language-menu .icon { width: 16px; height: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; padding: 11px 20px; border-radius: 999px; font-size: 13px; font-weight: 900; line-height: 1.35; position: relative; transition: transform .18s,box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(2px); box-shadow: 0 1px 0 #ba3b5040; }
.button .icon { width: 17px; height: 17px; }
/* 斜纹、暖色渐变与底边压感对应原游戏的主要操作按钮。 */
.button-dark,.button-coral { color: #fff; background: repeating-linear-gradient(-45deg,#ffffff12 0 10px,transparent 10px 20px),linear-gradient(#ff8287,#ff606c 65%,#ee4c5a); box-shadow: 0 4px 0 #c64658,0 7px 14px #ef5d7133; text-shadow: 0 1px 1px #c03f4e50; }
.button-lime { color: #664020; background: repeating-linear-gradient(-45deg,#ffffff15 0 10px,transparent 10px 20px),linear-gradient(#ffdf75,#ffc945); box-shadow: 0 4px 0 #cf923c,0 7px 14px #0002; }
.header-play { min-height: 40px; padding: 10px 18px; font-size: 12px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: transparent; flex-shrink: 0; }
.icon-button:hover { background: #e8e0f7; }
.menu-toggle { display: none; }
.site-main { max-width: 1240px; margin: auto; padding: 0 0 34px; }
.prelude { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 24px 5px 4px; color: #ddd4f0; font-size: 10px; font-weight: 800; text-shadow: 0 2px 4px #1a1630; }
.prelude>span:first-child { background: #3e315a70; border: 1px solid #afa0ce50; border-radius: 999px; padding: 4px 11px; backdrop-filter: blur(6px); }
.prelude>span:last-child { display: flex; align-items: center; gap: 7px; }
.prelude i { width: 5px; height: 5px; border-radius: 50%; background: #ffce51; box-shadow: 0 0 8px #ffce5170; }
.game-shell { scroll-margin-top: 120px; border-radius: 25px; }
.game-viewport { position: relative; min-height: 586px; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; gap: 55px; min-height: inherit; padding: 38px 6px 35px; }
.hero-content { position: relative; padding: 0 0 10px 8px; min-width: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #b4a0d350; border-radius: 99px; padding: 6px 12px; background: #38254690; color: #f9dc87; font-size: 9px; letter-spacing: 1px; text-shadow: 0 1px 2px #0005; }
.hero-eyebrow img { image-rendering: pixelated; width: 18px; height: 18px; }
.hero h1 { margin-top: 18px; }
.hero-wordmark { display: block; position: relative; width: max-content; max-width: 100%; font: 900 clamp(76px,8vw,112px)/1.3 var(--display); letter-spacing: -6px; color: #fff; -webkit-text-stroke: 8px #302457; paint-order: stroke fill; filter: drop-shadow(0 8px 0 #20173780); transform: rotate(-4deg); white-space: nowrap; }
.hero-wordmark>span { color: var(--yellow); }
.hero-wordmark>img { position: absolute; right: -22px; top: -12px; width: 45px; height: 45px; image-rendering: pixelated; transform: rotate(22deg); }
.hero-tagline { display: block; max-width: 560px; margin-top: 24px; color: #fff; font-size: 28px; line-height: 1.4; letter-spacing: -.6px; font-weight: 1000; text-shadow: 0 3px 0 #2d1d4b,0 4px 15px #1a163080; }
.hero-tagline>span { color: #ffdf81; }
.hero-content>p { max-width: 440px; margin: 16px 0 0; font-size: 14px; line-height: 1.85; font-weight: 800; color: #e3dbf2; text-shadow: 0 2px 5px #221735; }
.hero-trainers { display: flex; align-items: flex-end; justify-content: center; position: relative; width: 390px; max-width: 95%; height: 130px; margin: 9px 0 -4px 2px; background: radial-gradient(ellipse at 50% 83%,#b9a0fa36,transparent 65%); }
.trainer { object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 7px 0 #17102c55); transition: transform .2s; }
.trainer:hover { transform: translateY(-9px); }
.trainer-grass { transform: rotate(-9deg); margin-right: -8px; }
.trainer-water { transform: rotate(9deg); margin-left: -8px; }
.trainer-fire { align-self: center; margin-top: -18px; }
.trainer-spark { position: absolute; color: #ffdb6b; font-size: 25px; text-shadow: 0 2px 0 #4f336b; }
.spark-one { left: 21px; top: 26px; font-size: 17px; }
.spark-two { right: 30px; top: 18px; }
.launch-card { border: 3px solid #fff8; border-radius: 27px; overflow: hidden; background: #fffefbf7; box-shadow: 0 7px 0 #20133765,0 23px 45px #130b2d45; transform: rotate(1deg); min-width: 0; }
.launch-card-header { display: flex; align-items: center; gap: 11px; padding: 15px 23px; color: white; background: repeating-linear-gradient(-45deg,#ffffff1a 0 10px,transparent 10px 20px),linear-gradient(100deg,#ff626e,#ffa149); }
.launch-card-header>img { image-rendering: pixelated; width: 24px; height: 24px; }
.launch-card-header h2 { font-size: 23px; letter-spacing: -.6px; text-shadow: 0 2px 0 #ca534d50; }
.launch-card-spark { margin-left: auto; color: #ffe7b5; font-size: 22px; }
.launch-card-body { padding: 23px 24px 21px; }
.launch-game-badge { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 2px solid #ece6f4; border-radius: 999px; background: #f2eef8; font-size: 12px; box-shadow: inset 0 2px 4px #44316204; }
.launch-game-badge>strong { color: #665382; font-weight: 1000; }
.launch-game-badge>span:last-child { margin-left: auto; font-size: 7px; color: #a397b4; letter-spacing: .7px; text-align: right; }
.launch-game-dot { width: 7px; height: 7px; border-radius: 50%; background: #8b73db; box-shadow: 0 0 0 3px #e7ddf7; flex-shrink: 0; }
.launch-caption { font-size: 18px; font-weight: 1000; line-height: 1.45; color: #55436e; margin: 19px 4px 14px; }
.launch-features { padding: 0; margin: 0 0 22px; list-style: none; display: grid; gap: 8px; }
.launch-features li { display: flex; align-items: center; gap: 11px; border-radius: 13px; background: #f3f0f8; padding: 10px 13px; font-size: 12px; font-weight: 900; color: #716385; }
.launch-features img { width: 23px; height: 23px; image-rendering: pixelated; flex-shrink: 0; }
.button-large { width: 100%; min-height: 59px; padding: 16px 20px; font-size: 18px; gap: 12px; }
.button-large img { width: 25px; height: 25px; image-rendering: pixelated; }
.button-large>.icon { width: 17px; margin-left: auto; }
.button-large>img { margin-right: auto; }
.hero-guide-link { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 17px; padding: 9px 12px; border: 2px solid #ece5f5; border-radius: 99px; color: #8e79b2; background: #fff; font-size: 11px; font-weight: 900; text-align: center; }
.hero-guide-link:hover { background: #f4effb; }
.hero-guide-link>.icon { width: 15px; height: 15px; }
.hero-fineprint { display: flex; align-items: center; justify-content: center; gap: 7px; color: #a79bb8; font-size: 8px; font-weight: 900; margin-top: 16px; letter-spacing: .6px; text-align: center; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #a899cf; flex-shrink: 0; }
.game-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 53px; padding: 7px 14px 7px 17px; border: 1px solid #a995cf55; border-radius: 16px; background: #211738a6; backdrop-filter: blur(16px); box-shadow: 0 3px 0 #17102c40; color: #e0d5f4; }
.game-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mini-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #ffffff12; color: #c4aff4; }
.game-identity>strong { font-size: 14px; font-weight: 1000; }
.game-subtitle { font-size: 8px; letter-spacing: .7px; color: #ab98c4; }
.browser-tag { display: flex; align-items: center; gap: 4px; border: 1px solid #b5a0cf45; border-radius: 5px; padding: 0 5px; font-size: 7px; font-weight: 900; line-height: 17px; color: #d1bfec; }
.browser-tag i { width: 4px; height: 4px; border-radius: 50%; background: #bda7e2; }
.game-actions { display: flex; align-items: center; gap: 3px; }
.game-actions .icon-button:hover { background: #ffffff15; }
.game-actions .icon { width: 17px; height: 17px; }
.toolbar-divider { height: 17px; width: 1px; margin: 0 6px; background: #b09ac933; }
.game-frame-mount { position: absolute; inset: 0; border: 3px solid #e6d9ff; border-radius: 23px 23px 0 0; overflow: hidden; background: var(--night); }
.game-frame-mount iframe { border: 0; width: 100%; height: 100%; display: block; background: var(--night); }
.game-connecting { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 10px 15px; border-radius: 12px; background: #30234bed; color: #ffdc81; font-size: 12px; pointer-events: none; }
.game-help { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 9px; padding: 12px 16px; border-radius: 14px; background: #f6effff5; font-size: 11px; }
.game-help a { display: inline-flex; align-items: center; gap: 7px; color: #785eac; font-weight: 1000; flex-shrink: 0; }
.game-help .icon { width: 14px; height: 14px; }
.status-message { padding: 12px 16px; margin-top: 9px; border-radius: 14px; background: #fff3cf; color: #85642d; font-size: 12px; }
/* 全屏只容纳游戏与工具栏，广告始终在游戏区域外。 */
.game-shell:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--night); border-radius: 0; overflow: auto; }
.game-shell:fullscreen .game-viewport { flex: 1; min-height: 0; }
.game-shell:fullscreen .hero { min-height: 100%; padding: 25px 7%; }
.game-shell:fullscreen .game-toolbar { border-radius: 0; flex-shrink: 0; }
.game-shell:fullscreen .game-frame-mount { border: 0; border-radius: 0; }
.game-shell:fullscreen .game-help,.game-shell:fullscreen .status-message { border-radius: 0; margin: 0; flex-shrink: 0; }
/* 游戏加载后独立适配可用高度；导航和工具栏不能叠到游戏画面上。 */
body.game-active .site-header { position: relative; top: 0; }
.game-shell.is-playing .game-viewport { min-height: 0; height: var(--game-height, 70vh); }
.game-shell.is-playing iframe { position: absolute; left: 50%; top: 50%; width: var(--frame-width, 1600px); height: var(--frame-height, 900px); max-width: none; transform: translate(-50%, -50%) scale(var(--frame-scale, .5)); transform-origin: center; }
.game-shell.is-playing .game-toolbar { border-radius: 0 0 16px 16px; }
.game-shell.is-playing:fullscreen { overflow: hidden; }
.game-shell.is-playing:fullscreen .game-viewport { flex: 1; min-height: 0; }
.game-shell.is-playing:fullscreen .game-help { display: none; }
.game-shell.is-playing:fullscreen .game-toolbar { border-radius: 0; }
.feature-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding: 25px 4px 0; }
.feature-strip>div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.feature-strip .icon { color: #c2a4ed; width: 23px; height: 23px; filter: drop-shadow(0 2px 0 #241637); }
.feature-strip strong { display: block; color: #eee6fb; font-size: 11px; font-weight: 1000; }
.feature-strip small { display: block; color: #b6a5cc; font-size: 9px; line-height: 1.7; margin-top: 2px; }
/* 广告保留约定尺寸，使用独立标识，不能与可操作的游戏按钮混淆。 */
.ad-slot { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; margin: 39px auto 0; border: 1px dashed #b49cd966; border-radius: 15px; background: #22183088; color: #b8a3d1; }
.ad-leaderboard { width: 970px; height: 90px; }
.ad-inline { width: 728px; height: 90px; margin: 43px auto; }
.ad-sidebar { width: 300px; height: 250px; margin: 25px 0; }
.ad-label { position: absolute; left: 50%; top: 0; transform: translate(-50%,-50%); padding: 1px 12px; border-radius: 99px; background: #362645; color: #c7b4e2; text-transform: uppercase; font-size: 7px; letter-spacing: 1.5px; white-space: nowrap; }
.ad-placeholder { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 10px; }
.ad-cross { font-size: 20px; font-weight: 600; color: #b39ace; }
.ad-size { border-left: 1px solid #b39ace35; padding-left: 11px; font-size: 9px; }
.ad-mobile-size { display: none; }
.ad-sidebar .ad-placeholder { flex-direction: column; }
.ad-sidebar .ad-size { border: 0; padding: 0; }
.eyebrow { display: block; font-size: 9px; font-weight: 1000; line-height: 1.6; letter-spacing: 1.3px; text-transform: uppercase; color: #b19acb; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 24px; }
.section-heading h2,.section-intro h2 { margin-top: 10px; font-size: 34px; font-weight: 1000; color: #fff; text-shadow: 0 3px 0 #38224970; }
.section-heading .eyebrow,.section-intro .eyebrow,.faq-heading>.eyebrow { color: #f3ca78; }
.section-heading>p { max-width: 290px; color: #c7b8da; font-size: 12px; padding-bottom: 4px; }
.guides-section { padding-top: 42px; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.guide-card { display: flex; flex-direction: column; position: relative; min-width: 0; overflow: hidden; padding: 25px 27px 22px; border: 3px solid #f5f0ff; border-radius: 24px; background: #fffefcf7; box-shadow: 0 5px 0 #120c2340,0 15px 25px #130c221a; transition: transform .2s,box-shadow .2s; }
.guide-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 7px 0 #120c2330,0 20px 30px #130c222a; }
.guide-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 7px; background: repeating-linear-gradient(-45deg,#ffffff20 0 7px,transparent 7px 14px),#9c82df; }
.guide-card-1::before { background-color: #7cabe5; }
.guide-card-2::before { background-color: #ffa564; }
.guide-card-top { display: flex; align-items: center; justify-content: space-between; margin: 1px 0 20px; }
.card-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; color: #9c7bd2; background: #f0e9fa; box-shadow: inset 0 -3px 0 #e4d8f5; }
.guide-card-1 .card-icon { color: #76a1d3; background: #eaf3fd; box-shadow: inset 0 -3px 0 #dbe9f7; }
.guide-card-2 .card-icon { color: #e4a159; background: #fff2df; box-shadow: inset 0 -3px 0 #f6e2c8; }
.card-number { font-size: 29px; font-weight: 1000; color: #e4dded; transform: rotate(5deg); }
.card-eyebrow { color: #a293b3; font-size: 8px; font-weight: 1000; letter-spacing: 1px; }
.guide-card h3 { margin: 10px 0 12px; font-size: 24px; font-weight: 1000; color: #4b3c66; }
.guide-card>p { margin-bottom: 23px; font-size: 12px; line-height: 1.9; font-weight: 700; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 2px dashed #eee7f4; color: #9474bd; font-size: 11px; font-weight: 1000; }
.card-link>span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f0e9fa; }
.card-link .icon { width: 15px; height: 15px; }
.discovery-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 25px; margin-top: 35px; }
.overview-card,.quick-controls { position: relative; min-width: 0; overflow: hidden; padding: 32px 34px; border: 3px solid #fff7; border-radius: 25px; background: #fffefcf7; box-shadow: 0 5px 0 #120c2335; }
.overview-card { display: flex; flex-direction: column; background: linear-gradient(140deg,#fffefc,#f2ecfd); }
.overview-card h2 { margin: 16px 0 19px; max-width: 390px; font-size: 39px; color: #53406e; font-weight: 1000; }
.overview-card p { max-width: 470px; font-size: 13px; line-height: 1.9; }
.overview-card .overview-note { margin: 16px 0 24px; font-size: 11px; color: #70647f; }
.overview-doodle { position: absolute; right: 21px; bottom: -6px; font-size: 110px; color: #e4d9f2; line-height: 1; transform: rotate(15deg); pointer-events: none; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 11px; width: max-content; max-width: 100%; color: #7c5c9c; font-size: 12px; font-weight: 1000; }
.text-link:hover { color: #c063a7; }
.text-link .icon { width: 16px; height: 16px; }
.overview-card>.text-link { margin-top: auto; position: relative; z-index: 1; }
.quick-controls h2 { margin: 13px 0 20px; font-size: 31px; color: #53406e; font-weight: 1000; }
.controls-table-wrap { min-width: 0; }
.controls-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.controls-table th { padding: 0 0 10px; text-align: left; color: #b0a3bd; font-size: 8px; font-weight: 1000; letter-spacing: 1px; }
.controls-table th:first-child,.controls-table td:first-child { width: 47%; }
.controls-table td { padding: 10px 0; color: #857591; border-top: 1px solid #eee7f4; }
.controls-table kbd { display: inline-flex; justify-content: center; align-items: center; min-width: 31px; padding: 3px 9px; border: 1px solid #ded3ec; border-bottom: 3px solid #d6c8e7; border-radius: 7px; background: #f3eef9; color: #8c75ad; font: 900 10px/1.4 var(--font); }
.quick-controls .text-link { margin-top: 19px; }
.starter-section { padding-top: 43px; }
.section-intro { max-width: 750px; }
.section-intro>p { max-width: 640px; margin: 14px 0 25px; color: #c7b8da; font-size: 12px; line-height: 1.9; }
.starter-explorer { display: grid; grid-template-columns: 224px minmax(0,1fr); gap: 20px; }
.starter-tabs { display: flex; flex-direction: column; gap: 12px; }
.starter-tab { display: flex; align-items: center; flex: 1; gap: 8px; min-width: 0; min-height: 90px; padding: 13px 18px 13px 10px; border: 3px solid #ffffffc0; border-radius: 19px; background: #f9f6fff2; box-shadow: 0 4px 0 #120c2330; text-align: left; transition: background .2s,transform .2s; }
.starter-tab.selected { color: #fff; border-color: #c8b4ee; background: repeating-linear-gradient(-45deg,#ffffff09 0 9px,transparent 9px 18px),#9a7ad3; box-shadow: 0 4px 0 #60468e; }
.starter-tab:hover { transform: translateY(-2px); }
.starter-tab img { width: 48px; height: 48px; object-fit: contain; }
.starter-tab>span { font-size: 13px; font-weight: 1000; }
.starter-tab>.icon { width: 16px; height: 16px; margin-left: auto; color: #c2acd8; }
.starter-tab.selected>.icon { color: #eee3ff; }
.starter-panel { display: grid; grid-template-columns: .8fr 1.2fr; height: 100%; min-width: 0; min-height: 300px; overflow: hidden; border: 3px solid #ffffffa0; border-radius: 25px; background: #f8f6fff7; box-shadow: 0 5px 0 #120c2335; }
.starter-art { display: grid; place-items: center; position: relative; padding: 28px; min-width: 0; background: linear-gradient(140deg,#e8e3f3,#f7f4fc); }
.starter-art>img { position: relative; z-index: 2; max-height: 260px; object-fit: contain; filter: drop-shadow(0 10px 5px #73648320); transition: transform .2s; }
.starter-panel:hover .starter-art>img { transform: translateY(-5px) rotate(-3deg); }
.starter-art-ring { position: absolute; width: 190px; height: 190px; max-width: 85%; border: 3px solid #fff9; border-radius: 50%; background: repeating-conic-gradient(from 0deg,#ffffff22 0deg 20deg,transparent 20deg 40deg); }
.starter-index { position: absolute; left: 19px; top: 10px; color: #d8cfe7; font-size: 38px; font-weight: 1000; letter-spacing: -1px; }
.starter-info { padding: 31px 30px; min-width: 0; }
.type-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; background: #e4f1dd; color: #7e9e64; font-size: 8px; font-weight: 1000; letter-spacing: .5px; }
.type-badge .icon { width: 11px; height: 11px; }
.starter-1 .type-badge { background: #ffe8dc; color: #d68d64; }
.starter-2 .type-badge { background: #e0efff; color: #6d9bcc; }
.starter-info h3 { margin: 14px 0; font-size: 28px; color: #594473; font-weight: 1000; }
.starter-info>p { font-size: 12px; line-height: 1.9; }
.starter-focus { display: block; margin: 17px 0; color: #b099c3; font-size: 8px; font-weight: 1000; letter-spacing: .5px; }
.starter-info .text-link { font-size: 11px; }
.starter-disclaimer { color: #af9bc4; font-size: 9px; margin-top: 12px; text-align: right; }
.faq-section { display: grid; grid-template-columns: .85fr 1.4fr; gap: 70px; margin-top: 12px; padding-bottom: 10px; }
.faq-heading { padding: 13px 0; }
.faq-heading h2 { margin: 15px 0 20px; max-width: 320px; color: #fff; font-size: 37px; font-weight: 1000; text-shadow: 0 3px 0 #38224970; }
.faq-spark { display: block; width: 70px; color: #b595da; font-size: 75px; line-height: 1; transform: rotate(-10deg); text-shadow: 0 4px 0 #50346660; }
.faq-list { display: grid; align-content: start; gap: 10px; }
.faq-item { padding: 0 22px; border: 2px solid #fff8; border-radius: 17px; background: #fffefcf5; box-shadow: 0 3px 0 #130c2330; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; list-style: none; color: #6b527f; cursor: pointer; font-size: 13px; font-weight: 900; line-height: 1.65; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border-radius: 50%; background: #f0e6fa; color: #b596d2; font-size: 21px; font-weight: 800; transition: transform .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); color: #a285be; background: #e8ddf3; }
.faq-item>p { padding: 0 25px 19px 0; color: #70647f; font-size: 12px; line-height: 1.9; font-weight: 700; }
.bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; position: relative; overflow: hidden; margin-top: 35px; padding: 32px 37px; border: 3px solid #d0b8ec88; border-radius: 25px; background: repeating-linear-gradient(-45deg,#ffffff03 0 14px,transparent 14px 28px),linear-gradient(110deg,#73509d,#9774bb); box-shadow: 0 5px 0 #180e2c70; }
.bottom-cta .eyebrow { color: #dac7ed; font-size: 8px; }
.bottom-cta h2 { margin: 10px 0; color: #fff; font-size: 32px; font-weight: 1000; text-shadow: 0 2px 0 #66438160; }
.bottom-cta p { color: #e5d7f2; font-size: 12px; }
.bottom-cta>.button { flex-shrink: 0; position: relative; z-index: 1; }
.bottom-cta::after { content: '✦'; position: absolute; right: 275px; top: -40px; color: #ffffff0a; font-size: 200px; transform: rotate(15deg); pointer-events: none; }
.sources { margin-top: 26px; padding-top: 22px; border-top: 1px solid #a88ac332; }
.sources h2 { color: #bfa8d5; font-size: 12px; font-weight: 1000; letter-spacing: 0; }
.sources p { max-width: 920px; color: #9d87b3; font-size: 10px; font-weight: 700; line-height: 1.9; margin-top: 7px; }
.sources>div { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 10px; }
.sources a { display: inline-flex; align-items: center; gap: 4px; color: #c0a9d3; font-size: 9px; }
.sources a:hover { text-decoration: underline; }
.sources .icon { width: 11px; height: 11px; }
.site-footer { max-width: 1240px; margin: 0 auto; padding: 25px 0; border-top: 1px solid #a88ac333; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-top .brand-mark { width: 34px; height: 34px; background: #ffffff15; }
.footer-top .brand-mark img { width: 26px; height: 26px; }
.footer-top .brand strong { font-size: 23px; }
.footer-top .brand small { color: #a48aba; font-size: 6px; }
.footer-top>p { color: #b19ac8; font-size: 10px; max-width: 210px; }
.footer-top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-left: auto; font-size: 10px; color: #c3aed6; }
.footer-top nav>a { display: inline-flex; align-items: center; gap: 5px; }
.footer-top nav>a:hover { color: #ffe1a1; }
.footer-top nav .icon { width: 12px; height: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 35px; margin-top: 21px; padding-top: 16px; border-top: 1px solid #a88ac326; }
.footer-bottom p { color: #8e759f; font-size: 8px; line-height: 1.9; max-width: 580px; font-weight: 700; }
/* 攻略与法律页面沿用游戏里的白色说明面板，而不是继承深底正文颜色。 */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 3px 15px; color: #b69dcd; font-size: 11px; }
.breadcrumbs a { color: #f2d18b; }
.article-header { max-width: 880px; padding: 21px 0 17px; }
.article-header>.eyebrow { color: #e8c179; }
.article-header h1 { margin: 15px 0 18px; color: #fff; font-size: clamp(38px,4.1vw,57px); font-weight: 1000; text-shadow: 0 3px 0 #38224990; }
/* 俄语等长单词优先自动断词，兜底按字符换行，避免移动视口被文字撑宽。 */
.article-header h1,.error-main h1 { hyphens: auto; overflow-wrap: anywhere; }
.article-header>p { max-width: 790px; color: #d4c3e4; font-size: 15px; line-height: 1.9; }
.article-date { display: block; margin-top: 18px; color: #a58ab9; font-size: 10px; }
.article-main>.ad-slot { margin-top: 27px; margin-bottom: 35px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 30px; align-items: start; }
.article-content { min-width: 0; padding: 34px 36px; border: 3px solid #fff9; border-radius: 25px; background: #fffefcf7; box-shadow: 0 5px 0 #120c2340; }
.article-content>section { margin-bottom: 35px; scroll-margin-top: 130px; }
.article-content>section h2 { margin-bottom: 17px; color: #68507e; font-size: 27px; font-weight: 1000; }
.article-content>section p { margin-bottom: 16px; color: #70647f; font-size: 14px; line-height: 1.95; font-weight: 700; }
.article-content ul { list-style: none; padding: 0; margin: 18px 0; }
.article-content li { position: relative; padding-left: 20px; margin: 12px 0; color: #70647f; font-size: 13px; line-height: 1.9; font-weight: 700; }
.article-content li::before { content: ''; position: absolute; left: 1px; top: 9px; width: 7px; height: 7px; border-radius: 3px; background: #c7a8e2; transform: rotate(-12deg); }
.article-content>section h3 { margin: 25px 0 12px; color: #806190; font-size: 21px; }
.article-content>.button { margin-top: 25px; }
.article-content .ad-slot { background: #f4eff9; color: #b99cca; border-color: #d5bde5; }
.article-content .ad-label { background: #f7f2fb; color: #b599c9; }
.article-content .ad-size { border-color: #dac6e5; }
.article-content .sources { border-color: #e9ddef; }
.article-content .sources h2 { color: #70647f; }
.article-content .sources p { color: #70647f; font-size: 11px; }
.article-content .sources a { color: #7c5c9c; }
.article-content .controls-table { margin: 23px 0; font-size: 14px; }
.article-content .controls-table th { font-size: 10px; }
.article-content .controls-table td { padding: 12px 0; }
.article-content .controls-table kbd { font-size: 12px; min-width: 38px; }
.article-content .info-note { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid #ecdef6; border-radius: 15px; background: #f4ebfb; color: #70647f; font-size: 12px; }
.article-sidebar { min-width: 0; }
.article-toc { padding: 23px; border: 3px solid #fff8; border-radius: 22px; background: #fbf5fff7; box-shadow: 0 4px 0 #120c2335; }
.article-toc>.eyebrow { color: #b195c6; margin-bottom: 8px; }
.article-toc>a { display: block; padding: 11px 0; border-bottom: 1px solid #e9dbf1; color: #9474aa; font-size: 12px; line-height: 1.8; }
.article-toc>a:last-child { border: 0; padding-bottom: 0; }
.article-toc>a:hover { color: #d285b0; }
.sidebar-card { padding: 25px 24px; border: 3px solid #d3b8e888; border-radius: 22px; background: #9977bb; box-shadow: 0 4px 0 #49326060; }
.sidebar-card>.icon { color: #e3c9f9; width: 28px; height: 28px; }
.sidebar-card h3 { margin: 14px 0 12px; color: #fff; font-size: 23px; }
.sidebar-card p { margin-bottom: 19px; color: #e1d0ef; font-size: 12px; }
.sidebar-card .text-link { color: #ffe49e; }
.related-guides { padding-top: 33px; margin-top: 20px; }
.guide-grid-compact .guide-card { padding: 22px; }
.guide-grid-compact h3 { font-size: 22px; }
.legal-main { max-width: 1050px; padding-top: 28px; }
.back-link { color: #cfb4e3; font-size: 11px; }
.legal-main .article-header { padding-top: 32px; padding-bottom: 28px; }
.legal-content { padding: 35px 39px; border: 3px solid #fff8; border-radius: 26px; background: #fffdfbf7; box-shadow: 0 5px 0 #120c2340; }
.legal-content>section { margin-bottom: 31px; }
.legal-content>section h2 { margin-bottom: 14px; color: #765786; font-size: 24px; }
.legal-content>section p { color: #70647f; font-size: 14px; line-height: 1.95; font-weight: 700; }
.legal-content .sources { border-color: #ecdeef; }
.legal-content .sources h2 { color: #70647f; }
.legal-content .sources p { color: #70647f; }
.legal-content .sources a { color: #7c5c9c; }
.error-main { padding: 100px 0 150px; min-height: 65vh; }
.error-main>.eyebrow { color: #ffd479; }
.error-main h1 { color: #fff; font-size: 60px; margin: 22px 0; }
.error-main p { color: #d1b9e3; max-width: 600px; margin-bottom: 30px; }
@media (max-width: 1320px) {
  .site-main,.site-footer { margin-left: 35px; margin-right: 35px; }
  .header-inner { gap: 15px; padding-left: 18px; padding-right: 18px; }
  .nav-link { padding: 9px; font-size: 11px; }
  .header-actions { gap: 12px; }
  .header-play { padding: 10px 15px; }
  .hero { gap: 35px; }
  .hero-wordmark { font-size: 100px; }
  .launch-card-body { padding: 21px; }
  .hero-tagline { font-size: 26px; }
}
/* 提前收起导航，保证十种语言在中屏都能容纳，不硬裁文案。 */
@media (min-width: 801px) and (max-width: 1200px) {
  .menu-toggle { display: inline-flex; order: 3; }
  .header-actions { margin-left: auto; }
  .header-play { display: none; }
  .primary-nav { display: none; position: absolute; top: calc(100% + 8px); left: 18px; right: 18px; padding: 16px; border: 2px solid #e3d5f4; border-radius: 22px; background: #fffefbf7; box-shadow: 0 5px 0 #17102c40,0 15px 30px #17102c35; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .primary-nav.is-open { display: grid; }
  .nav-link { padding: 13px; background: #f4effa; white-space: normal; font-size: 12px; }
}
@media (max-width: 1100px) {
  .site-main,.site-footer { margin-left: 28px; margin-right: 28px; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px; padding-top: 36px; padding-bottom: 33px; }
  .game-viewport { min-height: 566px; }
  .hero-wordmark { font-size: 82px; letter-spacing: -4px; }
  .hero-wordmark>img { width: 35px; height: 35px; right: -17px; top: -9px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .5px; }
  .hero-tagline { font-size: 24px; }
  .hero-content>p { font-size: 13px; }
  .hero-trainers { height: 120px; }
  .launch-card-body { padding: 19px; }
  .launch-card-header { padding: 15px 20px; }
  .launch-caption { font-size: 17px; }
  .launch-features li { font-size: 11px; padding: 10px; }
  .launch-game-badge>span:last-child { font-size: 6px; }
  .button-large { font-size: 16px; }
  .hero-guide-link { font-size: 10px; }
  .ad-leaderboard { width: 728px; }
  .section-heading h2,.section-intro h2 { font-size: 31px; }
  .guide-grid { gap: 17px; }
  .guide-card { padding: 23px; }
  .guide-card h3 { font-size: 23px; }
  .discovery-grid { gap: 20px; }
  .overview-card,.quick-controls { padding: 28px; }
  .overview-card h2 { font-size: 34px; }
  .starter-explorer { grid-template-columns: 200px minmax(0,1fr); gap: 17px; }
  .starter-tab { padding-right: 12px; }
  .starter-tab>span { font-size: 12px; }
  .starter-tab img { width: 43px; height: 43px; }
  .starter-info { padding: 27px 24px; }
  .starter-info h3 { font-size: 26px; }
  .starter-art { padding: 20px; }
  .starter-art-ring { width: 170px; height: 170px; }
  .faq-section { gap: 45px; }
  .faq-heading h2 { font-size: 34px; }
  .article-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 23px; }
  .article-sidebar .ad-sidebar { width: 300px; }
  .article-content { padding: 30px; }
  .article-content .ad-inline { width: 320px; height: 100px; }
  .article-content .ad-desktop-size { display: none; }
  .article-content .ad-mobile-size { display: inline; }
}
@media (max-width: 800px) {
  .site-header { margin-top: 15px; top: 10px; padding: 0 16px; }
  .header-inner { min-height: 72px; padding: 11px 16px; border-radius: 21px; gap: 10px; }
  .brand strong { font-size: 26px; }
  .brand small { font-size: 6px; }
  .header-actions { margin-left: auto; }
  .header-play { display: none; }
  .menu-toggle { display: inline-flex; order: 3; }
  .primary-nav { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); margin: 0; padding: 12px; border: 2px solid #e3d5f4; border-radius: 20px; background: #fffefbf7; box-shadow: 0 5px 0 #17102c40,0 15px 30px #17102c35; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .primary-nav.is-open { display: grid; }
  .nav-link { padding: 13px; white-space: normal; background: #f4effa; font-size: 12px; }
  .site-main,.site-footer { margin-left: 23px; margin-right: 23px; }
  .prelude { padding-top: 20px; font-size: 8px; }
  .hero { gap: 25px; padding: 32px 0; }
  .hero-content { padding-left: 2px; }
  .hero-wordmark { font-size: 68px; letter-spacing: -4px; -webkit-text-stroke-width: 6px; }
  .hero-wordmark>img { width: 29px; height: 29px; right: -13px; top: -7px; }
  .hero-eyebrow { font-size: 6px; padding: 5px 8px; gap: 5px; }
  .hero-eyebrow img { width: 14px; height: 14px; }
  .hero-tagline { font-size: 22px; margin-top: 22px; }
  .hero-content>p { font-size: 12px; }
  .hero-trainers { height: 100px; margin-top: 10px; }
  .trainer-grass,.trainer-water { width: 100px; height: 100px; }
  .trainer-fire { width: 110px; height: 110px; }
  .launch-card { border-radius: 24px; }
  .launch-card-header { padding: 14px 17px; }
  .launch-card-header h2 { font-size: 21px; }
  .launch-card-body { padding: 17px 16px; }
  .launch-game-badge { padding: 9px 12px; }
  .launch-game-badge>span:last-child { display: none; }
  .launch-caption { font-size: 16px; margin-top: 16px; }
  .launch-features { gap: 7px; margin-bottom: 18px; }
  .launch-features li { gap: 8px; font-size: 10px; padding: 9px; }
  .launch-features img { width: 20px; height: 20px; }
  .button-large { min-height: 53px; font-size: 15px; padding: 13px; gap: 8px; }
  .button-large img { width: 23px; height: 23px; }
  .hero-guide-link { gap: 6px; padding: 8px; font-size: 9px; margin-top: 15px; }
  .hero-fineprint { font-size: 6px; letter-spacing: .2px; }
  .game-viewport { min-height: 510px; }
  .game-subtitle { display: none; }
  .feature-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 25px; padding-top: 22px; }
  .feature-strip>div { padding-left: 10px; }
  .ad-leaderboard,.ad-inline,.article-content .ad-inline { width: 320px; height: 100px; }
  .ad-desktop-size { display: none; }
  .ad-mobile-size { display: inline; }
  .section-heading { align-items: flex-start; gap: 25px; }
  .section-heading h2,.section-intro h2 { font-size: 29px; }
  .section-heading>p { max-width: 220px; font-size: 11px; }
  .guide-grid { gap: 13px; }
  .guide-card { padding: 22px 18px; border-radius: 21px; }
  .guide-card h3 { font-size: 21px; }
  .guide-card>p { font-size: 11px; }
  .card-eyebrow { font-size: 6px; letter-spacing: .6px; }
  .card-link { font-size: 10px; }
  .card-icon { width: 39px; height: 39px; border-radius: 12px; }
  .card-number { font-size: 25px; }
  .discovery-grid { gap: 17px; }
  .overview-card,.quick-controls { padding: 25px; border-radius: 22px; }
  .overview-card h2 { font-size: 31px; }
  .overview-card p { font-size: 12px; }
  .overview-card .overview-note { font-size: 10px; }
  .quick-controls h2 { font-size: 28px; }
  .quick-controls .text-link { font-size: 10px; }
  .starter-explorer { grid-template-columns: 1fr; }
  .starter-tabs { flex-direction: row; gap: 12px; }
  .starter-tab { padding: 10px; min-height: 77px; gap: 6px; border-radius: 16px; }
  .starter-tab>span { font-size: 11px; }
  .starter-tab>.icon { display: none; }
  .starter-panel { grid-template-columns: .8fr 1.2fr; min-height: 280px; }
  .starter-art { padding: 25px; }
  .starter-info { padding: 26px; }
  .faq-section { grid-template-columns: .85fr 1.4fr; gap: 28px; }
  .faq-heading h2 { font-size: 31px; }
  .faq-item { padding: 0 17px; }
  .faq-item summary { font-size: 12px; padding: 16px 0; }
  .faq-item>p { font-size: 11px; }
  .bottom-cta { padding: 29px; gap: 25px; }
  .bottom-cta h2 { font-size: 28px; }
  .bottom-cta>.button { font-size: 11px; max-width: 210px; }
  .footer-top nav { width: 100%; margin-left: 0; }
  .footer-top>p { margin-left: auto; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .article-layout { grid-template-columns: minmax(0,1fr); }
  .article-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 22px; }
  .article-toc { display: none; }
  .article-sidebar .ad-sidebar { width: 300px; margin: 0; grid-column: 2; }
  .sidebar-card { grid-column: 1; grid-row: 1; min-height: 250px; }
  .article-header h1 { font-size: 43px; }
  .article-header>p { font-size: 14px; }
  .article-content { padding: 28px; }
  .legal-content { padding: 30px; }
}
@media (max-width: 580px) {
  html { scroll-padding-top: 105px; }
  body::before { background-image: linear-gradient(180deg,rgba(25,19,48,.12),rgba(25,19,48,.28) 60%,rgba(25,19,48,.8)),url('/images/enchanted-forest-v2-mobile.webp'); background-position: 61% top; }
  .site-header { margin-top: 12px; padding: 0 12px; top: 9px; }
  .header-inner { min-height: 66px; gap: 6px; padding: 10px 11px; border-radius: 20px; }
  .brand { gap: 5px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark img { width: 25px; height: 25px; }
  .brand strong { font-size: 23px; letter-spacing: -1.3px; -webkit-text-stroke-width: 2.5px; }
  .brand strong b { font-size: 19px; }
  .brand small { font-size: 5px; letter-spacing: .5px; margin-top: 2px; }
  .language-switch summary { gap: 5px; font-size: 10px; }
  .language-switch summary>.icon:first-child { width: 15px; height: 15px; }
  .language-switch summary>.icon:last-child { width: 10px; height: 10px; }
  .language-menu { right: -30px; }
  .menu-toggle { width: 28px; height: 33px; }
  .menu-toggle .icon { width: 19px; height: 19px; }
  .primary-nav { left: 12px; right: 12px; }
  .site-main,.site-footer { margin-left: 17px; margin-right: 17px; }
  .prelude { font-size: 7px; padding: 19px 0 0; gap: 11px; align-items: start; }
  .prelude>span:first-child { padding: 3px 8px; max-width: 55%; }
  .prelude>span:last-child { max-width: 43%; text-align: right; padding-top: 3px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 21px; padding: 26px 0 25px; }
  .hero-content { padding: 0 8px; text-align: center; }
  .hero-eyebrow { font-size: 7px; padding: 5px 9px; }
  .hero h1 { margin-top: 7px; }
  .hero-wordmark { font-size: 74px; line-height: 1.35; letter-spacing: -4.5px; margin: 0 auto; transform: rotate(-4deg); }
  .hero-wordmark>img { width: 30px; height: 30px; right: -10px; top: 0; }
  .hero-tagline { font-size: 21px; margin-top: 11px; line-height: 1.5; }
  .hero-content>p { max-width: 315px; font-size: 11px; line-height: 1.85; margin: 10px auto 0; }
  .hero-trainers { width: 280px; height: 67px; max-width: 90%; margin: 0 auto -13px; }
  .trainer-grass,.trainer-water { width: 86px; height: 86px; }
  .trainer-fire { width: 97px; height: 97px; margin-top: -8px; }
  .trainer-spark { font-size: 18px; }
  .spark-one { left: 0; top: 14px; font-size: 13px; }
  .spark-two { top: 9px; right: 6px; }
  .launch-card { border-radius: 23px; transform: rotate(0); }
  .launch-card-header { padding: 12px 19px; }
  .launch-card-header h2 { font-size: 21px; }
  .launch-card-body { padding: 18px 20px; }
  .launch-game-badge { padding: 9px 12px; }
  .launch-game-badge>span:last-child { display: inline; max-width: 57%; font-size: 6px; }
  .launch-caption { font-size: 17px; margin: 14px 3px 12px; }
  .launch-features { gap: 7px; margin-bottom: 19px; }
  .launch-features li { font-size: 11px; padding: 9px 11px; gap: 10px; }
  .launch-features img { width: 22px; height: 22px; }
  .button-large { min-height: 54px; font-size: 17px; padding: 14px 18px; }
  .hero-guide-link { font-size: 10px; padding: 9px; margin-top: 15px; }
  .hero-fineprint { margin-top: 15px; font-size: 7px; }
  .game-viewport { min-height: 480px; }
  .game-shell { scroll-margin-top: 105px; }
  .game-toolbar { min-height: 49px; padding: 6px 9px 6px 12px; border-radius: 13px; gap: 8px; }
  .game-identity { gap: 7px; }
  .mini-mark { width: 26px; height: 26px; }
  .mini-mark>.icon { width: 17px; height: 17px; }
  .game-identity>strong { font-size: 13px; }
  .browser-tag { font-size: 6px; }
  .game-actions { gap: 0; }
  .game-actions .icon-button { width: 30px; height: 32px; }
  .game-actions .icon { width: 15px; height: 15px; }
  .toolbar-divider { margin: 0 3px; }
  .game-help { display: block; padding: 12px; font-size: 10px; }
  .game-help a { margin-top: 8px; font-size: 11px; }
  .feature-strip { padding: 21px 2px 0; gap: 16px 12px; }
  .feature-strip>div { padding: 0; gap: 8px; }
  .feature-strip .icon { width: 20px; height: 20px; }
  .feature-strip strong { font-size: 10px; }
  .feature-strip small { font-size: 8px; }
  .ad-slot { margin-top: 30px; border-radius: 12px; }
  .ad-inline { margin: 33px auto; }
  .ad-label { font-size: 6px; letter-spacing: 1px; }
  .ad-placeholder { font-size: 9px; gap: 8px; }
  .ad-size { font-size: 8px; }
  .guides-section { padding-top: 32px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .section-heading h2,.section-intro h2 { font-size: 29px; margin-top: 10px; }
  .section-heading>p { max-width: 300px; margin-top: 12px; font-size: 11px; }
  .guide-grid { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .guide-card { padding: 22px 24px; border-radius: 22px; }
  .guide-card-top { margin-bottom: 17px; }
  .card-icon { width: 40px; height: 40px; }
  .card-number { font-size: 27px; }
  .card-eyebrow { font-size: 7px; letter-spacing: 1px; }
  .guide-card h3 { font-size: 26px; margin: 11px 0; }
  .guide-card>p { font-size: 12px; line-height: 1.85; margin-bottom: 19px; }
  .card-link { font-size: 11px; padding-top: 14px; }
  .discovery-grid { grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: 26px; }
  .overview-card,.quick-controls { padding: 27px; border-radius: 23px; }
  .overview-card h2 { font-size: 35px; max-width: 285px; }
  .overview-card p { font-size: 12px; }
  .overview-card .overview-note { font-size: 11px; }
  .overview-doodle { font-size: 90px; }
  .quick-controls h2 { font-size: 30px; }
  .quick-controls .text-link { font-size: 11px; }
  .controls-table td { padding: 11px 0; font-size: 12px; }
  .starter-section { padding-top: 32px; }
  .section-intro>p { font-size: 11px; margin-bottom: 20px; }
  .starter-tabs { gap: 8px; }
  .starter-tab { flex-direction: column; padding: 9px 4px; gap: 4px; min-height: 89px; border-radius: 15px; }
  .starter-tab img { width: 41px; height: 41px; }
  .starter-tab>span { font-size: 10px; line-height: 1.45; text-align: center; }
  .starter-panel { grid-template-columns: minmax(0,1fr); border-radius: 23px; }
  .starter-art { min-height: 210px; padding: 12px 25px 3px; }
  .starter-art>img { width: 200px; height: 200px; object-fit: contain; }
  .starter-index { left: 20px; top: 8px; font-size: 40px; }
  .starter-info { padding: 22px 25px 27px; }
  .starter-info h3 { font-size: 29px; }
  .starter-focus { font-size: 7px; }
  .starter-disclaimer { text-align: left; font-size: 8px; line-height: 1.8; }
  .faq-section { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .faq-heading { position: relative; padding-top: 7px; }
  .faq-heading h2 { font-size: 33px; max-width: 285px; margin: 13px 0 4px; }
  .faq-heading>.eyebrow { max-width: 250px; font-size: 7px; }
  .faq-spark { position: absolute; top: 30px; right: 0; width: 60px; font-size: 63px; opacity: .65; }
  .faq-item summary { font-size: 12px; padding: 17px 0; }
  .faq-item>p { padding-right: 5px; font-size: 11px; }
  .bottom-cta { display: block; margin-top: 28px; padding: 27px; border-radius: 23px; }
  .bottom-cta h2 { font-size: 31px; }
  .bottom-cta p { font-size: 11px; max-width: 280px; }
  .bottom-cta>.button { margin-top: 23px; font-size: 12px; max-width: 100%; }
  .bottom-cta::after { right: -20px; top: -10px; }
  .sources { margin-top: 24px; padding-top: 19px; }
  .sources h2 { font-size: 11px; }
  .sources p { font-size: 9px; }
  .sources>div { gap: 12px; }
  .sources a { font-size: 8px; }
  .site-footer { padding-top: 22px; }
  .footer-top { gap: 17px; }
  .footer-top .brand strong { font-size: 21px; }
  .footer-top .brand small { font-size: 5px; }
  .footer-top .brand-mark { width: 30px; height: 30px; }
  .footer-top>p { max-width: 125px; font-size: 9px; line-height: 1.8; }
  .footer-top nav { gap: 10px 17px; font-size: 9px; }
  .footer-bottom { margin-top: 17px; padding-top: 14px; }
  .footer-bottom p { font-size: 7px; }
  .breadcrumbs { padding-top: 23px; padding-bottom: 12px; font-size: 10px; }
  .article-header { padding-top: 13px; padding-bottom: 8px; }
  .article-header h1 { font-size: 38px; line-height: 1.2; }
  .article-header>p { font-size: 13px; }
  .article-date { font-size: 9px; }
  .article-content { padding: 24px 22px; border-radius: 23px; }
  .article-content .ad-inline { max-width: calc(100% + 44px); margin-left: 50%; transform: translateX(-50%); }
  .article-content>section h2 { font-size: 25px; }
  .article-content>section p { font-size: 13px; }
  .article-content li { font-size: 12px; }
  .article-content .controls-table th:first-child,.article-content .controls-table td:first-child { width: 50%; }
  .article-content .controls-table td { font-size: 12px; }
  .article-content .controls-table kbd { font-size: 10px; }
  .article-content .info-note { padding: 12px; font-size: 11px; }
  .article-sidebar { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .article-sidebar .ad-sidebar { grid-column: 1; width: 300px; margin: 0 auto; }
  .sidebar-card { grid-column: 1; grid-row: 2; min-height: 0; padding: 24px; }
  .related-guides { padding-top: 24px; margin-top: 10px; }
  .legal-main { padding-top: 24px; }
  .legal-main .article-header { padding-top: 25px; }
  .legal-content { padding: 27px 23px; border-radius: 24px; }
  .legal-content>section h2 { font-size: 23px; }
  .legal-content>section p { font-size: 13px; }
  .error-main { padding-top: 70px; padding-bottom: 90px; }
  .error-main h1 { font-size: 39px; }
  .error-main p { font-size: 13px; }
}
@media (max-width: 360px) {
  .header-inner { padding-left: 8px; padding-right: 8px; }
  .brand strong { font-size: 21px; }
  .brand-mark { width: 27px; height: 27px; }
  .brand small { font-size: 4.5px; letter-spacing: .3px; }
  .language-switch summary>span { max-width: 62px; overflow: hidden; text-overflow: ellipsis; }
  .site-main,.site-footer { margin-left: 12px; margin-right: 12px; }
  .hero-wordmark { font-size: 62px; letter-spacing: -4px; }
  .hero-tagline { font-size: 19px; }
  .hero-eyebrow { font-size: 6px; }
  .launch-card-body { padding: 17px 16px; }
  .launch-features li { font-size: 10px; }
  .button-large { font-size: 16px; }
  .game-identity .browser-tag { display: none; }
  .game-toolbar { padding-left: 8px; padding-right: 6px; }
  .guide-card { padding: 21px; }
  .footer-top>p { max-width: 108px; font-size: 8px; }
  .starter-tab>span { font-size: 9px; }
  .article-content { padding-left: 18px; padding-right: 18px; }
  .article-content .ad-inline { max-width: calc(100% + 36px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}
