:root {
  --paper: #c8cfbb;
  --ink: #252c42;
  --muted: #536064;
  --line: #353b4b;
  --blue: #1238d4;
  --cream: #f0e2c5;
  --mint: #b2c3b3;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  border-top: 8px solid var(--blue);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(#38423614 .7px, transparent .8px);
  background-size: 5px 5px;
  font: 16px "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 96px); max-width: 1320px; margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 20px; padding: 14px 18px; background: var(--blue); color: #fff; z-index: 100; }
.skip:focus { top: 12px; }

/* A printed arcade sign with a thin cobalt divider. */
.header { position: relative; text-align: center; padding: 26px 0; }
.header .site-title { position: relative; width: 90%; max-width: 864px; aspect-ratio: 5 / 1; overflow: hidden; margin: 0 auto; line-height: 0; }
/* Restore the compact framing of the original pixel artwork. */
.site-title img { position: absolute; top: 50%; left: 0; display: block; width: 100%; height: auto; transform: translateY(-50%) scaleY(.9); }
/* An in-page system message, with a native collapsible title bar. */
.site-intro { max-width: 1100px; margin: 20px auto 7px; padding: 4px; border: 1px solid #343b4b; background: #d9d9c9; box-shadow: inset 2px 2px 0 #fff8e6, inset -2px -2px 0 #8a9182, 4px 4px 0 #6f7b6b; color: var(--ink); text-align: left; letter-spacing: -.3px; word-break: keep-all; }
.intro-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; padding: 4px 6px 4px 10px; background: var(--blue); color: #fff5d9; font-size: 13px; font-weight: 800; line-height: 1.4; list-style: none; cursor: pointer; }
.intro-titlebar::-webkit-details-marker { display: none; }
.intro-titlebar:focus-visible { outline: 2px dotted #fff5d9; outline-offset: -4px; }
.intro-window-toggle { position: relative; flex: none; width: 22px; height: 21px; border: 1px solid #27314d; background: #dedfce; box-shadow: inset 1px 1px 0 #fff9e6, inset -1px -1px 0 #8d9687; }
.intro-window-toggle::before, .intro-window-toggle::after { content: ""; position: absolute; background: #293449; }
.intro-window-toggle::before { width: 10px; height: 2px; top: 9px; left: 5px; }
.intro-window-toggle::after { width: 2px; height: 10px; top: 5px; left: 9px; }
.site-intro[open] .intro-window-toggle::after { display: none; }
.intro-copy { padding: 16px 20px 15px; background: #eee6d2; }
.site-intro p { margin: 0; }
.intro-context { color: #414a50; font-size: 16px; font-weight: 600; line-height: 1.75; }
.site-intro .intro-feature { margin-top: 7px; font-size: 18px; font-weight: 700; line-height: 1.7; letter-spacing: -.5px; }
.intro-feature strong { font-weight: 900; }
.intro-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; }
.site-intro .intro-invite { color: #414a50; font-size: 15px; font-weight: 600; line-height: 1.7; }
.site-intro mark { background: #f4df9e; color: #203c9e; font: inherit; padding: .06em .13em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.intro-start { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 18px; min-height: 42px; padding: 8px 19px; border: 1px solid #263656; background: #dedfce; box-shadow: inset 2px 2px 0 #fff9e5, inset -2px -2px 0 #949b8a, 1px 1px 0 #6e786a; color: #233975; font-size: 14px; font-weight: 800; white-space: nowrap; }
.intro-start:hover { background: #f2ecd8; }
.intro-start:active { box-shadow: inset 2px 2px 0 #949b8a, inset -1px -1px 0 #fff9e5; }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue); pointer-events: none; }
.arcade { padding-block: 32px 42px; scroll-margin-top: 16px; }
.arcade-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, .9fr); gap: 42px; align-items: stretch; }

/* Cream beveled housing, cobalt title strip, and a muted green map display. */
.map-column { --map-top: 35px; --map-side: 13px; --map-bottom: 15px; position: relative; min-width: 0; padding: var(--map-top) var(--map-side) var(--map-bottom); background: var(--cream); border: 2px solid var(--line); border-radius: 3px; box-shadow: inset 2px 2px 0 #fff8e7, inset -2px -2px 0 #aaa18e, 6px 6px 0 #687567; overflow: hidden; }
.map-column::before { content: ""; position: absolute; top: 6px; left: 6px; right: 6px; height: 20px; background: var(--blue); border: 1px solid #122766; box-shadow: inset 0 1px 0 #a7bbff; }
.map-column::after { content: ""; position: absolute; top: 12px; right: 14px; width: 28px; height: 8px; background: repeating-linear-gradient(90deg, #f0e2c5 0 6px, transparent 6px 10px); opacity: .9; }
.map-stage { position: relative; width: 100%; background: #252f3b; border: 2px solid #626863; outline: 2px solid #fff8e0; box-shadow: inset 0 0 28px #050b1a80; }
.map-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: repeating-linear-gradient(0deg, transparent 0 3px, #f5f5d70a 3px 4px); }
.map-canvas { position: relative; width: 100%; aspect-ratio: 690 / 650; }
/* The frame follows the entire right column; map and markers share one fitted plane. */
@media (min-width: 641px) {
  .map-stage { position: absolute; inset: var(--map-top) var(--map-side) var(--map-bottom); width: auto; display: grid; place-items: center; container-type: size; }
  .map-canvas { width: min(100cqw, calc(100cqh * 690 / 650)); }
}
.korea-map { display: block; width: 100%; height: 100%; object-fit: contain; }
.map-marker { position: absolute; transform: translate(-50%, -100%); display: flex; align-items: center; flex-direction: column; padding: 3px; background: none; z-index: 2; isolation: isolate; }
.map-marker svg { width: 42px; height: 57px; filter: drop-shadow(3px 3px 0 #10182390); transition: transform .18s ease, filter .18s ease; }
.map-marker:hover svg, .map-marker:focus-visible svg, .map-marker.active svg { transform: translateY(-4px); filter: drop-shadow(3px 5px 0 #506cfb); }
.map-marker::after { content: ""; position: absolute; bottom: -7px; width: 8px; height: 8px; border: 2px solid #f2e2bf; background: #4160ff; box-shadow: 0 0 0 3px #192532; }
.marker-label { position: absolute; bottom: 4px; padding: 8px 10px; text-align: left; white-space: nowrap; background: #eee1c4; border: 1px solid #232e42; box-shadow: inset 1px 1px 0 #fff9e8, inset -1px -1px 0 #aaa48a, 3px 3px 0 #141f2b80; }
.marker-label strong { display: block; font-size: 17px; font-weight: 750; letter-spacing: -.5px; line-height: 1.3; color: #293349; }
.map-marker:hover .marker-label, .map-marker.active .marker-label { background: var(--blue); border-color: #e2e6c8; box-shadow: inset 1px 1px 0 #93b1ff, 3px 3px 0 #101a2e90; }
.map-marker:hover .marker-label strong, .map-marker.active .marker-label strong { color: #fff5d9; }
.map-marker[data-id=seongnam] .marker-label, .map-marker[data-id=jeonju] .marker-label { right: 49px; }
.map-marker[data-id=gangwon] .marker-label, .map-marker[data-id=daegu] .marker-label, .map-marker[data-id=busan] .marker-label { left: 49px; }
.map-marker[data-id=daegu] .marker-label { bottom: 7px; }

/* The center remains the primary label; each game keeps its own faded body color. */
.feature { min-width: 0; --machine: #b4c9e8; --light: #e1e9f6; }
.feature-header { margin-bottom: 16px; padding-bottom: 13px; border-bottom: 3px solid var(--blue); }
.feature-header .region { display: inline-block; margin: 0 0 9px; padding: 4px 8px; background: var(--blue); color: #fff5d9; font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .2px; }
.feature-header h2 { margin: 0; color: #26334b; font-size: 29px; font-weight: 800; line-height: 1.4; letter-spacing: -1.1px; word-break: keep-all; }
.big-cabinet { display: block; width: 100%; position: relative; padding: 0; background: none; text-align: left; }
.machine { position: relative; overflow: hidden; border: 2px solid #353c47; border-radius: 16px 16px 4px 4px; background: linear-gradient(110deg, #f6e9cbaa, #f4e4bd44 65%, #7a795522), var(--machine); box-shadow: inset 3px 3px 0 #fff9e0b3, inset -5px -3px 0 #4c525a33, 7px 7px 0 #7e8d7c; }
.machine::before { content: ""; position: absolute; top: 14px; bottom: 8px; left: 6px; width: 3px; background: #fff8e58c; pointer-events: none; }
.machine::after { content: ""; position: absolute; top: 14px; bottom: 8px; right: 6px; width: 2px; background: #343e4e33; pointer-events: none; }
.marquee { margin: 14px 16px 12px; padding: 12px 8px; border: 2px solid #25304f; background: var(--blue); color: #fff4d1; text-align: center; font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -.7px; box-shadow: inset 0 2px 0 #8aabff, inset 0 -2px 0 #0b226f, 0 2px 0 #fff1d588; }
.screen-bezel { margin: 0 16px; padding: 13px; border: 2px solid #565e62; border-radius: 12px; background: #343d43; box-shadow: inset 3px 3px 0 #111d28, 0 2px 0 #fff7dc; }
.screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 2px solid #101927; border-radius: 15px / 11px; background: #1d2c36; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(130deg, #fff8d91f, transparent 45%); }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; background: repeating-linear-gradient(0deg, #12212e16 0 1px, transparent 1px 4px); box-shadow: inset 0 0 22px #020a2780; }
.screen-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: #11265845; opacity: 0; transition: opacity .15s; }
.screen-play span { padding: 11px 16px; border: 2px solid #152353; background: #eee2c7; color: #1736b6; box-shadow: inset 1px 1px 0 #fff9e9, 3px 3px 0 #142749; font-size: 16px; font-weight: 800; }
.big-cabinet:hover .screen-play, .big-cabinet:focus-visible .screen-play { opacity: 1; }
.control-deck { height: 70px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; margin-top: 13px; border-top: 2px solid #fff8df; border-bottom: 2px solid #4e5962; background: linear-gradient(#f0e2c8, #c9c5ac); box-shadow: 0 3px 0 #fff4d777; }
.joystick { position: relative; width: 45px; height: 34px; margin-top: 6px; }
.joystick::before { content: ""; position: absolute; bottom: 0; width: 42px; height: 12px; border: 1px solid #172333; border-radius: 50%; background: #3e4d55; }
.joystick-stick { position: absolute; inset: 0; transform-origin: 20px 29px; }
.joystick-stick::before { content: ""; position: absolute; bottom: 5px; left: 16px; width: 7px; height: 22px; background: #78817f; border-left: 2px solid #e2dfc7; transform: rotate(-8deg); }
.joystick i { position: absolute; top: -7px; left: 4px; z-index: 1; width: 26px; height: 26px; border: 2px solid #623b41; border-radius: 50%; background: #b85f69; box-shadow: inset 3px 3px 0 #e8aaa3, inset -3px -3px 0 #864751; }
.machine-buttons { display: flex; gap: 13px; }
.machine-buttons i { display: block; width: 27px; height: 27px; border: 2px solid #74603d; border-radius: 50%; background: #e8c572; box-shadow: inset 2px 2px 0 #fff0ad, 0 4px 0 #87794e; }
.machine-buttons i:last-child { transform: translateY(-6px); border-color: #1a326e; background: #3152d9; box-shadow: inset 2px 2px 0 #92a9f6, 0 4px 0 #273d73; }
.machine-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 19px; }
.speaker { display: block; width: 38px; height: 24px; background: repeating-linear-gradient(0deg, transparent 0 3px, #3a4a5599 3px 5px); }
.play-label { display: flex; align-items: center; gap: 23px; padding: 10px 19px; border: 2px solid #1b2e5f; background: var(--blue); color: #fff6dd; font-size: 17px; font-weight: 800; box-shadow: inset 1px 1px 0 #a1b8ff, inset -1px -1px 0 #091f82, 3px 3px 0 #59668a; }
.big-cabinet:hover .play-label { background: #254af0; }
.machine-feet { display: flex; justify-content: space-between; height: 8px; padding-inline: 28px; }
.machine-feet::before, .machine-feet::after { content: ""; width: 34px; height: 8px; background: #38434d; box-shadow: 4px 3px 0 #7f8b78; }
.feature-copy { margin-top: 21px; padding: 15px 17px; border: 1px solid #667369; background: #eee3cd; box-shadow: inset 1px 1px 0 #fff9e8, 3px 3px 0 #9ba48f; }
.feature-copy .desc { margin: 0; color: #2a3847; font-size: 18px; font-weight: 700; line-height: 1.8; letter-spacing: -.3px; word-break: keep-all; }
.genre { display: inline-block; margin: 12px 0 0; padding: 4px 8px; border: 1px solid #6e817c; background: #c3d0bb; color: #354b47; font-size: 12px; font-weight: 700; }

/* Invisible text alternatives reserve equal rows at every viewport width. */
.text-slot { display: grid; grid-template-columns: minmax(0, 1fr); }
.text-slot > span { grid-area: 1 / 1; min-width: 0; align-self: start; }
.text-slot > .text-reserve { visibility: hidden; pointer-events: none; user-select: none; }

/* Keep both original logos on a dark cobalt footer without a white panel. */
.site-copyright.wrap { width: 100%; max-width: none; padding: 32px max(24px, calc((100% - 1320px) / 2)); border-top: 4px solid #293551; background: #1837ae; color: #d0d9f1; font-size: 11px; line-height: 1.8; text-align: center; box-shadow: inset 0 3px 0 #8295e3; }
.partner-logos { display: flex; align-items: center; justify-content: center; gap: 22px; width: fit-content; max-width: 100%; margin: 0 auto 23px; }
.partner-logos .palette-logo, .partner-logos .foundation-logo { display: block; flex: none; width: auto; height: 54.6px; object-fit: contain; }
.logo-divider { flex: none; height: 28px; width: 1px; background: #acb9ec70; }
.site-copyright strong { display: block; margin-bottom: 9px; color: #faf0d6; font-size: 13px; }
.site-copyright p { margin: 3px 0; word-break: keep-all; }
.site-copyright .copyright-meta { margin-bottom: 12px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 99; transform: translateX(-50%); max-width: 90vw; padding: 13px 20px; border: 2px solid #e3d4af; background: var(--blue); color: #fff5df; font-size: 14px; box-shadow: 4px 4px 0 #17264e; }

/* Game frames stay unfiltered; only the surrounding chrome uses the retro palette. */
dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: #182337cc; backdrop-filter: blur(4px); }
.player { width: 96vw; max-width: 1600px; height: 94dvh; max-height: 94dvh; overflow: hidden; border: 2px solid #202c44; border-radius: 3px; background: var(--cream); box-shadow: inset 2px 2px 0 #fff8df, 8px 8px 0 #07112477; }
.player-shell { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 9px; background: var(--cream); }
.player-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 12px; background: var(--blue); color: #fff8df; }
.player-top > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.player-top h2 { margin: 0; font-size: 19px; line-height: 1.4; }
.player-top #player-center { color: #d6e1ff; font-size: 12px; }
.player-actions { display: flex; gap: 7px; }
.player-actions button { padding: 8px 10px; border: 1px solid #202d60; background: #e7dcc1; color: #27334b; font-size: 17px; white-space: nowrap; box-shadow: inset 1px 1px 0 #fff9eb, inset -1px -1px 0 #a69e8d, 2px 2px 0 #0d247a; }
.player-actions button span { margin-left: 5px; font-size: 12px; }
.player-actions button:hover { background: #fff3d4; }
.player-actions button:focus-visible { outline-color: #fff5d6; }
.viewport { position: relative; flex: 1; min-height: 0; overflow: hidden; border: 4px solid #293641; background: #152534; }
.viewport iframe { display: block; width: 100%; height: 100%; border: 0; background: #172635; }
.load-state { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 25px; background: #eee2c7; color: #253653; text-align: center; }
.loader { width: 26px; height: 26px; border: 3px solid #b7bea9; border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
.load-state b { font-size: 18px; }
.load-state p { max-width: 600px; margin: 0; color: #536276; font-size: 14px; line-height: 1.7; }
.load-state button { padding: 10px 20px; border: 2px solid #1d2e66; background: var(--blue); color: #fff7de; font-weight: 700; }
.load-state a { color: #1837b2; font-size: 13px; text-decoration: underline; }
.load-state.error .loader { display: none; }
.player-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 4px; color: #334358; font-size: 13px; }
.player-bottom p { margin: 0; line-height: 1.7; }
.player-bottom > span { color: #596779; font-size: 11px; white-space: nowrap; }
.compatibility { margin: 0; padding: 7px 12px; border: 1px solid #91a19a; background: #d8dfc8; color: #334858; font-size: 12px; line-height: 1.5; }
.player-shell:fullscreen { height: 100dvh; width: 100vw; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Small, clipped cabinet details keep the page and its text in place. */
.title-sheen { position: absolute; top: 50%; left: 0; width: 100%; aspect-ratio: 3 / 1; transform: translateY(-50%) scaleY(.9); pointer-events: none; -webkit-mask: url("assets/arcade-title.png?v=15") center / 100% 100% no-repeat; mask: url("assets/arcade-title.png?v=15") center / 100% 100% no-repeat; }
.title-sheen::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 35%; opacity: 0; background: linear-gradient(110deg, transparent 20%, #fff6d5a6 50%, transparent 80%); }
.screen-scan { position: absolute; top: -25%; left: 0; right: 0; height: 22%; z-index: 1; opacity: 0; pointer-events: none; background: linear-gradient(transparent, #fff5d52b, transparent); }
.screen-switch { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, #f0e2c533 3px 4px, #1238d422 4px 7px); }
.machine-buttons i, .play-label { transition: transform .1s steps(2, end); }
.big-cabinet:active .machine-buttons i { transform: translateY(2px); box-shadow: inset 2px 2px 0 #fff0ad, 0 2px 0 #87794e; }
.big-cabinet:active .machine-buttons i:last-child { transform: translateY(-4px); box-shadow: inset 2px 2px 0 #92a9f6, 0 2px 0 #273d73; }
.big-cabinet:active .play-label { transform: translate(2px, 2px); }
@media (prefers-reduced-motion: no-preference) {
  .site-title { animation: title-on .48s steps(6, end) both; }
  .title-sheen::after { animation: title-sheen 5s linear .8s infinite; }
  .screen-scan { animation: crt-scan 7.6s linear infinite; }
  .screen::after { animation: crt-texture 4s steps(4, end) infinite; }
  .map-marker.active::after { animation: cabinet-led 2.6s steps(3, end) infinite; }
  .game-switch .screen img { animation: channel-in .26s steps(5, end); }
  .game-switch .screen-switch { animation: channel-noise .28s steps(4, end); }
  .big-cabinet .joystick-stick { animation: joystick-attract 4s steps(4, end) .6s infinite; }
  .big-cabinet .machine-buttons i:first-child { animation: yellow-button-attract 4s steps(2, end) .6s infinite; }
  .big-cabinet .machine-buttons i:last-child { animation: blue-button-attract 4s steps(2, end) .6s infinite; }
}
/* A real press takes precedence over the decorative loop. */
.big-cabinet:active .machine-buttons i:first-child,
.big-cabinet:active .machine-buttons i:last-child { animation: none; }
@keyframes title-on { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes title-sheen { 0% { transform: translateX(-120%); opacity: 0; } 4% { opacity: .6; } 32% { transform: translateX(360%); opacity: .6; } 36%, 100% { transform: translateX(360%); opacity: 0; } }
@keyframes crt-scan { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: .8; } 64% { transform: translateY(590%); opacity: .8; } 66%, 100% { transform: translateY(590%); opacity: 0; } }
@keyframes crt-texture { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes cabinet-led { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes channel-in { from { opacity: .45; } to { opacity: 1; } }
@keyframes channel-noise { 0% { opacity: .6; transform: translateY(-2px); } 35% { opacity: .25; transform: translateY(2px); } 70% { opacity: .15; transform: translateY(-1px); } 100% { opacity: 0; transform: translateY(0); } }
/* Joystick, yellow button, blue button, then a quiet beat in one four-second loop. */
@keyframes joystick-attract { 0%, 32%, 100% { transform: rotate(0); } 8% { transform: rotate(13deg); } 16% { transform: rotate(-9deg); } 24% { transform: rotate(5deg); } }
@keyframes yellow-button-attract {
  0%, 36%, 48%, 100% { transform: translateY(0); box-shadow: inset 2px 2px 0 #fff0ad, 0 4px 0 #87794e; }
  40%, 44% { transform: translateY(3px); box-shadow: inset 2px 2px 0 #fff0ad, 0 1px 0 #87794e; }
}
@keyframes blue-button-attract {
  0%, 52%, 64%, 100% { transform: translateY(-6px); box-shadow: inset 2px 2px 0 #92a9f6, 0 4px 0 #273d73; }
  56%, 60% { transform: translateY(-3px); box-shadow: inset 2px 2px 0 #92a9f6, 0 1px 0 #273d73; }
}
/* The game iframe and loading indicator stay live while decorative motion pauses. */
.arcade-paused :is(.header, .arcade) *,
.arcade-paused :is(.header, .arcade) *::before,
.arcade-paused :is(.header, .arcade) *::after { animation-play-state: paused !important; }

@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .arcade-layout { grid-template-columns: minmax(0, 1.2fr) minmax(315px, .9fr); gap: 30px; }
  .map-column { --map-top: 34px; --map-side: 10px; --map-bottom: 12px; }
  .marker-label { padding: 7px 9px; }
  .marker-label strong { font-size: 15px; }
  .map-marker svg { width: 34px; height: 46px; }
  .map-marker[data-id=seongnam] .marker-label, .map-marker[data-id=jeonju] .marker-label { right: 40px; }
  .map-marker[data-id=gangwon] .marker-label, .map-marker[data-id=daegu] .marker-label, .map-marker[data-id=busan] .marker-label { left: 40px; }
  .feature-header h2 { font-size: 25px; }
  .feature-copy .desc { font-size: 17px; }
  .marquee { font-size: 21px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .header { padding-top: 24px; }
  .intro-context { font-size: 15px; }
  .site-intro .intro-feature { font-size: 17px; }
  .arcade-layout { grid-template-columns: 1fr 1fr; gap: 22px; }
  .map-column { --map-top: 32px; --map-side: 8px; --map-bottom: 11px; box-shadow: inset 2px 2px 0 #fff8e7, inset -2px -2px 0 #aaa18e, 4px 4px 0 #687567; }
  .marker-label { padding: 6px 7px; }
  .marker-label strong { font-size: 13px; }
  .map-marker svg { width: 28px; height: 38px; }
  .map-marker[data-id=seongnam] .marker-label, .map-marker[data-id=jeonju] .marker-label { right: 32px; }
  .map-marker[data-id=gangwon] .marker-label, .map-marker[data-id=daegu] .marker-label, .map-marker[data-id=busan] .marker-label { left: 32px; }
  .feature-header h2 { font-size: 24px; }
  .marquee { margin: 10px; padding: 10px 5px; font-size: 20px; }
  .screen-bezel { margin-inline: 10px; padding: 9px; }
  .control-deck { height: 59px; padding-inline: 23px; margin-top: 10px; }
  .machine-bottom { padding: 12px 13px; }
  .play-label { padding: 9px 14px; gap: 16px; font-size: 15px; }
  .speaker { width: 27px; }
  .feature-copy { margin-top: 17px; padding: 13px; }
  .feature-copy .desc { font-size: 16px; }
  .player-actions button span { display: none; }
  .player-actions button { width: 38px; height: 38px; padding: 0; }
  .player-top h2 { font-size: 17px; }
}
@media (max-width: 640px) {
  .header { padding: 18px 0 22px; }
  .site-intro { max-width: 480px; margin-top: 16px; margin-bottom: 4px; }
  .intro-copy { padding: 15px 14px; }
  .intro-context { font-size: 15px; }
  .site-intro .intro-feature { margin-top: 10px; font-size: 16px; }
  .intro-bottom { align-items: flex-start; flex-direction: column; margin-top: 10px; }
  .site-intro .intro-invite { font-size: 14px; }
  .intro-start { align-self: flex-end; min-height: 44px; padding-inline: 18px; }
  .arcade { padding-block: 24px 32px; }
  .arcade-layout { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .map-column { width: 100%; max-width: 480px; margin-inline: auto; }
  .map-marker svg { width: 30px; height: 41px; }
  .marker-label strong { font-size: 14px; }
  .map-marker[data-id=seongnam] .marker-label, .map-marker[data-id=jeonju] .marker-label { right: 34px; }
  .map-marker[data-id=gangwon] .marker-label, .map-marker[data-id=daegu] .marker-label, .map-marker[data-id=busan] .marker-label { left: 34px; }
  .map-marker[data-id=daegu] .marker-label { bottom: 5px; }
  .map-marker[data-id=busan] .marker-label { bottom: 0; }
  .feature { width: 100%; max-width: 440px; margin-inline: auto; }
  .feature-header h2 { font-size: 27px; }
  .feature-copy .desc { font-size: 18px; }
  .marquee { padding: 12px 7px; font-size: 23px; }
  .screen-bezel { padding: 11px; }
  .control-deck { height: 66px; padding-inline: 28px; }
  .machine-bottom { padding: 14px 17px; }
  .play-label { font-size: 17px; }
  .site-copyright.wrap { padding: 28px 20px; font-size: 10px; }
  .site-copyright strong { font-size: 12px; }
  .partner-logos { gap: 18px; margin-bottom: 20px; }
  .partner-logos .palette-logo, .partner-logos .foundation-logo { height: 46.8px; }
  .logo-divider { height: 24px; }
  .player { width: 98vw; max-width: 98vw; height: 98dvh; max-height: 98dvh; }
  .player-shell { padding: 5px; gap: 7px; }
  .player-top { padding: 8px; }
  .player-top h2 { font-size: 16px; }
  .player-top #player-center { font-size: 11px; }
  .player-actions { gap: 4px; }
  .player-actions button { width: 32px; height: 32px; font-size: 17px; }
  .viewport { border-width: 2px; }
  .player-bottom { font-size: 11px; }
  .player-bottom > span { display: none; }
  .compatibility { padding: 6px 8px; font-size: 11px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .map-column { --map-side: 6px; }
  .marker-label { padding: 5px 6px; }
  .marker-label strong { font-size: 12px; }
  .map-marker svg { width: 25px; height: 34px; }
  .map-marker[data-id=seongnam] .marker-label, .map-marker[data-id=jeonju] .marker-label { right: 29px; }
  .map-marker[data-id=gangwon] .marker-label, .map-marker[data-id=daegu] .marker-label, .map-marker[data-id=busan] .marker-label { left: 29px; }
  .partner-logos { gap: 16px; }
  .partner-logos .palette-logo, .partner-logos .foundation-logo { height: 44.2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
