:root {
  color-scheme: dark;
  --page: #050505;
  --surface: #0e0e0f;
  --panel: #161618;
  --line: #28282b;
  --white: #f8f8fa;
  --muted: #a0a0a8;
  --accent: #e6ca73;
  --heading: Arial, Helvetica, sans-serif;
  --body: Arial, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--page); color: var(--white); font: 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
.wrap { width: min(100% - 112px, 1216px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 12px; z-index: 40; padding: 8px 16px; color: #050505; background: var(--white); translate: 0 -150%; }
.skip:focus { translate: 0; }
.site-header { position: sticky; top: 0; z-index: 20; background: #050505f2; backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; gap: clamp(26px, 4vw, 60px); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: .86rem; letter-spacing: -.025em; line-height: 1.05; }
.brand img { flex: none; border-radius: 50%; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 46px); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: .88rem; color: var(--muted); transition: color .18s; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--white); }
.header-socials { display: flex; align-items: center; flex: none; margin-inline-start: auto; }
.header-socials .social-icon { width: 40px; height: 44px; background: transparent; }
.header-socials svg { width: 17px; height: 17px; }
.header-socials a:hover { color: var(--accent); }
.menu-toggle { display: none; }
.hero { background: #030303; border-bottom: 1px solid var(--line); }
.hero-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: min(660px, calc(100svh - 72px)); padding-block: 64px; text-align: center; }
.eyebrow { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .16em; line-height: 1.5; }
.hero h1 { margin: 0 0 18px; font: 800 clamp(3rem, 7.5vw, 7rem)/.98 var(--heading); letter-spacing: -.075em; white-space: nowrap; }
.hero-sub { color: #e2e2e6; font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 500; letter-spacing: -.04em; }
.hero-stage { display: grid; align-items: center; width: min(100%, 1152px); }
.hero-copy, .hero-art { grid-area: 1 / 1; }
.hero-art { position: relative; width: 100%; aspect-ratio: 760 / 340; overflow: hidden; visibility: hidden; pointer-events: none; }
.hero-art img, .hero-art video { position: absolute; inset: 0; width: 100%; height: auto; }
.hero-stage.has-pinball .hero-art { visibility: visible; }
.hero-stage.has-pinball .hero-copy > * { clip-path: inset(50%); }
.text-link { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 44px; padding-block: 6px; font-size: .9rem; font-weight: 600; border-bottom: 1px solid #707075; }
.text-link:hover { border-color: var(--white); }
.section { padding-block: clamp(72px, 9.5vw, 140px); }
.section h2 { font-family: var(--heading); font-weight: 700; font-size: clamp(3rem, 5.6vw, 5.4rem); letter-spacing: -.065em; line-height: 1; }
.studio-section { border-bottom: 1px solid var(--line); }
.studio-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.studio-statement { font-weight: 650; font-size: clamp(1.65rem, 2.8vw, 2.6rem); letter-spacing: -.06em; line-height: 1.45; word-break: keep-all; }
.studio-copy > p:last-child { max-width: 45ch; margin-top: 28px; color: var(--muted); font-size: .98rem; word-break: keep-all; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 50px; }
.game-position { color: var(--muted); font: 500 .9rem/1.5 var(--body); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.game-carousel { display: grid; grid-template: "prev game next" auto / auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 2vw, 28px); }
.game-carousel:has(.game-prev[hidden]) { display: block; }
#project-showcase { grid-area: game; }
#project-showcase .game-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.game-arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #626269; border-radius: 50%; background: transparent; color: var(--white); font: 400 1.45rem/1 var(--heading); }
.game-arrow:hover:enabled { background: var(--white); color: var(--page); }
.game-arrow:disabled { opacity: .4; cursor: default; }
.game-prev { grid-area: prev; justify-self: start; }
.game-next { grid-area: next; justify-self: end; }
.empty-feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--surface); border-radius: 14px; border: 1px solid #212124; }
.empty-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; min-height: 340px; border-right: 1px solid #212124; background: #0b0b0c; }
.empty-emblem { display: grid; place-items: center; width: 86px; height: 86px; color: #616168; border: 1px solid #343438; border-radius: 23px; font: 400 3rem/1 var(--heading); }
.empty-art-label { color: #606068; font-size: .62rem; letter-spacing: .2em; }
.empty-copy { align-self: center; padding: clamp(28px, 5vw, 72px); }
.empty-copy h2, .empty-copy h3 { margin: 19px 0; font: 650 clamp(1.6rem, 2.5vw, 2.4rem)/1.35 var(--body); letter-spacing: -.06em; word-break: keep-all; }
.empty-copy > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; word-break: keep-all; }
.empty-copy .text-link { margin-top: 20px; }
.play-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.play-banner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.play-banner p:last-child { margin-top: 24px; color: var(--muted); font-size: 1.08rem; }
.circle-link { display: grid; place-items: center; flex: none; width: 96px; height: 96px; border: 1px solid #626269; border-radius: 50%; font: 400 2.5rem/1 var(--heading); transition: color .18s, background-color .18s; }
.circle-link:hover { color: #050505; background: var(--white); }
.site-footer { background: var(--page); color: var(--white); }
.footer-inner { display: grid; grid-template-columns: minmax(240px, 2fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 80px); max-width: 1120px; padding-block: clamp(56px, 6vw, 88px); }
.footer-brand .brand { font-size: 1.12rem; letter-spacing: -.045em; }
.footer-brand > p[lang] { margin-top: 10px; font-size: .94rem; }
.footer-socials { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.social-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #20242c; color: var(--white); }
.copyright { margin-top: 26px; color: var(--muted); font-size: .78rem; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 24px; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-group h2 { margin: 10px 0 12px; font-size: 1.02rem; font-weight: 700; }
.footer-group a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: .94rem; line-height: 1.4; }
.site-footer a:hover, .footer-group a[aria-current] { color: var(--white); text-decoration: underline; text-underline-offset: .22em; }
.back-link:hover { color: var(--white); }
.inner-page { min-height: calc(100svh - 72px - 280px); padding-top: 56px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: .82rem; }
.page-heading { margin-block: 38px 48px; }
.page-heading .eyebrow { margin: 0 0 19px; }
.page-heading h1 { font: 700 clamp(2.8rem, 6vw, 6rem)/1.08 var(--heading); letter-spacing: -.065em; overflow-wrap: anywhere; }
.page-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 24px; max-width: 67ch; white-space: pre-line; font-size: .98rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 28px; font-size: .86rem; font-weight: 600; line-height: 1.4; transition: background-color .18s, border-color .18s, color .18s; }
.button-primary { color: #080808; background: var(--white); }
.button-primary:hover { background: #d3d3d9; }
.button-outline { color: var(--white); background: transparent; border-color: #626269; }
.button-outline:hover { color: #080808; background: var(--white); border-color: var(--white); }
.button-quiet { color: var(--white); background: var(--panel); border-color: var(--line); }
.button-quiet:hover { background: #28282b; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px; }
.game-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.game-card:hover { border-color: #626269; }
.game-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.game-card h2, .game-card h3 { margin: 12px 0; font: 700 1.5rem/1.2 var(--body); letter-spacing: -.04em; }
.game-card-body > p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }
.game-card-body .actions { margin-top: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.game-media { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #111113; }
.game-media > img, .game-grid .game-media:has(> img) { aspect-ratio: auto; }
.game-grid .game-media > img { height: auto; }
.game-banners { margin: 160px auto 0; width: min(100%, 1120px); display: grid; gap: 24px; }
.game-banners > ins { display: block; min-width: 0; }
.game-banners > ins[data-ad-status="unfilled"] { display: none !important; }
.game-banners:has(> ins):not(:has(> ins:not([data-ad-status="unfilled"]))) { display: none; }
.game-media > video { width: 100%; height: 100%; object-fit: cover; }
.game-grid .game-media:has(> img) { aspect-ratio: auto; }
.game-grid .game-media > img { height: auto; }
.game-banners { margin: 160px auto 0; width: min(100%, 1120px); display: grid; gap: 24px; }
.game-banners > ins { display: block; min-width: 0; }
.game-banners > ins[data-ad-status="unfilled"] { display: none !important; }
.game-banners:has(> ins):not(:has(> ins:not([data-ad-status="unfilled"]))) { display: none; }
.game-media > video { object-fit: contain; }
.game-media > span { color: #75757d; font-size: 2rem; }
.search-label { display: block; margin-bottom: 10px; font-weight: 600; }
#game-search { width: min(100%, 400px); margin-bottom: 28px; padding: 12px 18px; border: 1px solid #45454d; border-radius: 6px; color: var(--white); background: var(--surface); }
.search-empty { color: var(--muted); }
.inner-page.play-layout {
  width: min(calc(100% - clamp(24px, 6vw, 112px)), 1600px);
  padding-block: 12px 56px;
}
.player-wrap { overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.player-stage {
  position: relative;
  display: grid;
  place-items: center;
  container-type: size;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 10rem);
  background: #000;
}
.player-screen {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #141416;
}
.player-stage--portrait .player-screen {
  width: min(100cqw, 56.25cqh);
  height: min(100cqh, 177.777778cqw);
}
.player-screen iframe, .player-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { object-fit: contain; opacity: .55; z-index: -1; }
.player-screen iframe { background: #000; }
.player-stage:fullscreen { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
.player-stage .loading { position: absolute; top: 12px; left: 12px; padding: 3px 12px; background: #111; color: var(--white); }
.player-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 8px 16px; background: #18181b; }
.player-toolbar h1 { font: 700 1.05rem/1.3 var(--heading); }
.player-controls { display: flex; flex-wrap: wrap; gap: 4px; }
.player-controls .button { min-height: 40px; padding: 7px 12px; gap: 6px; }
.game-guide { max-width: 68ch; margin-block: 2rem; font-size: 1rem; line-height: 1.65; }
.game-guide h2 { font: 700 1.6rem/1.25 var(--heading); }
.game-guide h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.game-guide p, .game-guide dd { margin: .4rem 0 0; color: var(--muted); }
.game-guide dl { margin: .5rem 0 0; }
.game-guide dt { margin-top: .6rem; font-weight: 650; }
.game-guide dd { margin-top: 0; }
.player-description { margin-block: 16px; color: var(--muted); }
@media (max-width: 760px) {
  .inner-page.play-layout { width: 100%; padding-top: 0; }
  .player-wrap { border-radius: 0; border-inline: 0; }
  .player-toolbar { padding: 8px 12px; }
  .play-layout > .game-guide, .player-description, .play-layout > .actions { margin-inline: 16px; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .player-stage--portrait { aspect-ratio: 9 / 16; }
}
.fullscreen-status { color: var(--muted); margin-top: 8px; }
.detail-media { margin-top: 40px; width: min(100%, 880px); }
.detail-media h2 { font: 700 1.45rem/1.2 var(--body); margin-bottom: 16px; letter-spacing: -.03em; }
.legal-page .page-heading h1 { font-size: clamp(2rem, 4.4vw, 4rem); letter-spacing: -.065em; word-break: keep-all; }
.legal-empty { padding: clamp(30px, 5vw, 64px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.legal-empty h2 { font: 600 clamp(1.2rem, 2vw, 1.8rem)/1.45 var(--body); letter-spacing: -.045em; }
.legal-empty p { color: var(--muted); margin-top: 14px; }
.legal-empty .text-link { margin-top: 26px; }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: start; }
.policy-nav { display: grid; gap: 8px; margin-bottom: 36px; }
.policy-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.policy-nav a[aria-current], .policy-nav a:hover { color: var(--white); }
.policy-document { max-width: 760px; overflow-wrap: anywhere; }
.policy-document > h2 { font: 700 1.8rem/1.4 var(--body); letter-spacing: -.045em; margin-bottom: 12px; }
.policy-date { color: var(--muted); font-size: .85rem; }
.policy-document section { margin-top: 38px; }
.policy-document section :is(h2, h3) { font: 600 1.16rem/1.5 var(--body); margin-bottom: 14px; }
.policy-document section p, .policy-document li { color: #bdbdc4; }
.policy-document section p + p, #studio-policy > .policy-date + p { margin-top: 14px; }
.policy-document section h2 { letter-spacing: -.025em; }
.policy-document .policy-help { margin-top: 16px; }
.policy-document a { text-decoration: underline; text-underline-offset: .2em; color: var(--white); }
.policy-document ul { padding-left: 20px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 72px); }
  .header-inner { gap: 20px; }
  .site-header nav { gap: 24px; }
  .site-header .brand { font-size: .75rem; }
  .studio-inner { grid-template-columns: .75fr 1.25fr; gap: 36px; }
  .empty-copy { padding: 36px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 8px; position: relative; }
  .site-header .brand { font-size: .85rem; }
  .site-header .brand img { width: 36px; height: 36px; }
  .menu-toggle { display: flex; flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 44px; height: 44px; padding: 8px; color: var(--white); border: 0; background: transparent; }
  .menu-line { display: block; width: 23px; height: 1px; background: currentColor; transition: transform .18s; }
  .menu-toggle[aria-expanded="true"] .menu-line:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-line:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header nav { display: none; position: absolute; top: 100%; left: -20px; right: -20px; padding: 12px 20px 24px; background: #080808; }
  .site-header nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav a { min-height: 52px; font-size: 1rem; }
  .header-socials .social-icon { width: 36px; }
  .hero-inner { min-height: min(540px, calc(100svh - 68px)); }
  .hero h1 { white-space: normal; max-width: 10ch; font-size: clamp(3.45rem, 12vw, 5.3rem); line-height: .96; margin-bottom: 24px; }
  .hero-sub { font-size: 1.1rem; }
  .section { padding-block: 74px; }
  .studio-inner { grid-template-columns: 1fr; gap: 36px; }
  .studio-statement { font-size: clamp(1.6rem, 4.7vw, 2rem); }
  .studio-copy > p:last-child { margin-top: 22px; font-size: .92rem; }
  .section-heading { align-items: center; margin-bottom: 30px; }
  .game-carousel { grid-template: "game game" auto "prev next" auto / 1fr 1fr; gap: 16px; }
  #project-showcase .game-card { grid-template-columns: 1fr; }
  .empty-feature { grid-template-columns: 1fr; }
  .empty-art { min-height: 205px; border-right: 0; border-bottom: 1px solid #212124; gap: 20px; }
  .empty-emblem { width: 70px; height: 70px; font-size: 2.4rem; border-radius: 19px; }
  .empty-copy { padding: 32px 28px 38px; }
  .empty-copy h2, .empty-copy h3 { font-size: 1.8rem; }
  .desktop-break { display: none; }
  .play-banner { gap: 20px; }
  .play-banner h2 { font-size: clamp(2.3rem, 8vw, 3.4rem); }
  .play-banner p:last-child { font-size: .88rem; margin-top: 19px; }
  .circle-link { width: 62px; height: 62px; font-size: 1.8rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
  .footer-socials { margin-top: 18px; }
  .copyright { margin-top: 20px; }
  .footer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  .footer-group h2 { margin: 0 0 8px; }
  .footer-group a { min-height: 44px; font-size: .88rem; }
  .inner-page { padding-top: 32px; }
  .page-heading { margin-block: 28px 36px; }
  .page-heading h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .page-heading > p:not(.eyebrow) { font-size: .9rem; }
  .policy-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-empty { padding: 30px 24px; }
  .legal-empty p { font-size: .9rem; }
}
@media (max-width: 560px) {
  .hero-stage { display: flex; flex-direction: column; }
  .hero-stage.has-pinball h1 { clip-path: none; font-size: clamp(2.05rem, 9vw, 3.2rem); letter-spacing: -.055em; white-space: nowrap; max-width: none; margin: 0; }
  .hero-stage.has-pinball .hero-sub { position: absolute; }
  /* Frame the playfield and its tagline closely under the live mobile heading. */
  .hero-art { aspect-ratio: 390 / 205; }
  .hero-art img, .hero-art video { inset: -49% auto auto 50%; width: 195%; max-width: none; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.home-tools { border-bottom: 1px solid var(--line); }
.home-tool-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); margin-top: clamp(32px, 5vw, 64px); }
.home-tool-groups > div { padding-top: 16px; border-top: 1px solid var(--line); }
.home-tool-groups h3 { margin-bottom: 10px; font-size: 1.15rem; }
.home-tool-groups a { display: table; padding: 7px 0; color: var(--muted); }
.home-tool-groups a:hover, .home-tool-groups a:focus-visible { color: var(--white); text-decoration: underline; }
.site-language { margin-top: 18px; width: fit-content; max-width: 100%; font-size: .95rem; }
.site-language summary { display: flex; align-items: center; gap: 8px; min-height: 44px; width: fit-content; cursor: pointer; list-style: none; }
.site-language summary::-webkit-details-marker { display: none; }
.site-language summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); margin: -3px 4px 0; }
.site-language[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.site-language nav { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.site-language a { padding-block: 5px; }
.site-language [aria-current] { font-weight: 700; }
@media (max-width: 620px) {
  .home-tool-groups { grid-template-columns: 1fr; gap: 22px; }
  .home-tool-groups a { padding-block: 10px; }
}
.home-image-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.home-tool-groups h3 a { display: inline; color: inherit; padding: 0; }
@media (min-width: 1060px) { .home-tool-groups { grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(24px, 3vw, 48px); } }
@media (min-width: 621px) and (max-width: 799px) { .home-image-links { grid-template-columns: 1fr; } }
