body[data-market=kr]{--bg:#101522;--surface:#182131;--surface-2:#222F43;--text:#F1F6FF;--muted:#C0CDE0;--line:#70839B;--accent:#83E4D3;--accent-ink:#10262B;}
body[data-market="kr"] {
  --font: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body[data-market="kr"] .hero-copy h1 {
  font-family: var(--font);
  font-size: clamp(2.15rem, 4.1vw, 3.9rem);
  line-height: 1.18;
  max-width: 10em;
  letter-spacing: -.045em;
  text-wrap: balance;
}
body[data-market="kr"] :is(.hero-description, .welcome-body, .footer-grid .footer-note) {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 33em;
}
body[data-market="kr"] .welcome-copy {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: clamp(.85rem, 2vw, 1.75rem);
}
body[data-market="kr"] .desktop-nav .nav-link {
  font-size: .9375rem;
}
body[data-market="kr"] :is(.license-option small, .footer-grid h2, .footer-grid > div > a:not(.brand), .footer-grid small, .welcome-signature, .welcome-copy .eyebrow, .region-badge) {
  font-size: .875rem;
  line-height: 1.55;
}
body[data-market="kr"] .license-option strong {
  font-size: 1rem;
  line-height: 1.45;
}
body[data-market="kr"] .plan-price {
  font-variant-numeric: tabular-nums;
}
body[data-market="kr"] .license-option:has(input:checked) {
  box-shadow: inset 3px 0 var(--accent);
}
body[data-market="kr"] .license-option:focus-within {
  outline: 2px solid var(--text);
  outline-offset: -3px;
}
body[data-market="kr"] .nav-link:focus-visible::after {
  transform: scaleX(1);
}
@media (max-width: 450px) {
  body[data-market="kr"] .footer-grid > div:last-child {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-market="kr"] .mobile-nav .nav-link {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-market="kr"] .nav-link::after,
  body[data-market="kr"] .license-option {
    transition: none;
  }
}

body[data-market="kr"] .kr-news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  margin-block: 2.5rem;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: 1rem;
  background: var(--surface);
}
body[data-market="kr"] .kr-news h2 { font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.4; }
body[data-market="kr"] .kr-news p { font-size: 1rem; line-height: 1.75; }
body[data-market="kr"] :is(button, a, input, select, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
body[data-market="kr"] :is(.small-note, .checkout-note, .spec-list dd, .rich-content, .product-intro) {
  font-size: 1rem;
  line-height: 1.75;
}
body[data-market="kr"] :is(.brand small, .footer-bottom, .license-option small) { font-size: .875rem; }
@media (max-width: 700px) {
  body[data-market="kr"] .kr-news { flex-direction: column; align-items: stretch; gap: 1rem; }
  body[data-market="kr"] .kr-news .button { white-space: normal; text-align: center; }
}

body[data-market="kr"] .guide-controls .sort-control {
  flex-direction: column;
  align-items: stretch;
  gap: .45rem;
}
body[data-market="kr"] .guide-controls .sort-control > span {
  font-size: .875rem;
  white-space: nowrap;
}
body[data-market="kr"] :is(.feature-group ul, .feature-group summary, .guide-card p:not(.eyebrow)) {
  font-size: 1rem;
  line-height: 1.75;
}
body[data-market="kr"] :is(.spec-list dt, .feature-group summary small, .guide-card .eyebrow, .guide-games span, .game-tile-bottom > div > span) {
  font-size: .875rem;
  line-height: 1.55;
}

/* Korean game-slot composition. Motion runs only after a visitor action. */
body[data-market="kr"] .kr-home-top {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: 48px 56px;
}
body[data-market="kr"] .kr-home-copy { min-width: 0; }
body[data-market="kr"] .kr-home-region {
  font-size: 14px;
  color: var(--accent);
  margin: 0 0 24px;
}
body[data-market="kr"] .kr-home-welcome { font-size: 16px; margin: 0 0 12px; }
body[data-market="kr"] .kr-home-copy h1 {
  font: 700 clamp(36px, 4.1vw, 60px)/1.2 var(--font);
  letter-spacing: -.04em;
  margin: 0 0 24px;
  word-break: keep-all;
}
body[data-market="kr"] .kr-home-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 36em;
  margin: 0 0 24px;
}
body[data-market="kr"] .kr-home-search {
  display: flex;
  padding: 8px;
  gap: 8px;
  margin: 0;
  width: 100%;
  min-width: 0;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
body[data-market="kr"] .kr-home-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  font-size: 16px;
  padding-inline: 8px;
}
body[data-market="kr"] .kr-home-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  min-width: 80px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 16px;
}
body[data-market="kr"] .kr-home-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: var(--accent);
  gap: 24px;
  font-size: 16px;
  text-underline-offset: 5px;
}
body[data-market="kr"] .kr-home-all:hover { text-decoration: underline; }
body[data-market="kr"] .kr-game-slots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px;
  min-width: 0;
}
body[data-market="kr"] .kr-slot-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  touch-action: pan-y;
  min-width: 0;
}
body[data-market="kr"] .kr-slot-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  background: var(--bg);
}
body[data-market="kr"] .kr-slot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
}
body[data-market="kr"] .kr-slot-footer h2 {
  font: 700 clamp(22px, 2vw, 28px)/1.3 var(--font);
  margin: 0;
}
body[data-market="kr"] .kr-slot-footer .button { min-height: 44px; font-size: 16px; }
body[data-market="kr"] .kr-slot-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 8px 12px 8px 20px;
  color: var(--muted);
  font-size: 14px;
}
body[data-market="kr"] .kr-slot-controls > div { display: flex; gap: 8px; }
body[data-market="kr"] .kr-slot-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--surface-2);
  font-size: 22px;
  cursor: pointer;
}
body[data-market="kr"] .kr-slot-tabs { display: grid; gap: 12px; align-content: stretch; min-width: 0; }
body[data-market="kr"] .kr-slot-tab {
  text-align: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  min-width: 0;
  min-height: 44px;
  font: 500 14px/1.45 var(--font);
  overflow-wrap: anywhere;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
body[data-market="kr"] .kr-slot-tab img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 6px;
}
body[data-market="kr"] .kr-slot-tab[aria-selected="true"] {
  box-shadow: inset 0 0 0 1px var(--accent);
  border-color: var(--accent);
  color: var(--text);
  background: var(--surface-2);
}
body[data-market="kr"] .kr-slot-tab:hover,
body[data-market="kr"] .kr-slot-tab:focus-visible { transform: translateY(-3px); border-color: var(--accent); }
body[data-market="kr"] .kr-slot-panel.is-changing .kr-slot-image { animation: kr-slot-change 300ms ease-out both; }
@keyframes kr-slot-change { from { opacity: .7; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 1000px) {
  body[data-market="kr"] .kr-home-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  body[data-market="kr"] .kr-game-slots { display: flex; flex-direction: column; }
  body[data-market="kr"] .kr-slot-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 700px) {
  body[data-market="kr"] .kr-home-top { grid-template-columns: minmax(0, 1fr); padding-block: 28px 40px; }
  body[data-market="kr"] .kr-home-region { margin-bottom: 16px; }
  body[data-market="kr"] .kr-home-copy h1 { font-size: clamp(32px, 8.7vw, 42px); margin-bottom: 20px; }
  body[data-market="kr"] .kr-slot-footer { padding: 16px; }
  body[data-market="kr"] .kr-slot-controls { padding-inline: 16px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-market="kr"] .kr-slot-tab { transition: none; }
  body[data-market="kr"] .kr-slot-panel.is-changing .kr-slot-image { animation: none; }
}

body[data-market="kr"] .kr-slot-panel { grid-column: 1; grid-row: 1; }
body[data-market="kr"] .kr-slot-tabs { grid-column: 2; grid-row: 1; }
@media (max-width: 700px) {
  body[data-market="kr"] .kr-slot-tab { min-height: 56px; text-align: center; }
  body[data-market="kr"] .kr-slot-tab img { display: none; }
}
body[data-market="kr"] :is(button, .button, .help-float) { min-width: 44px; min-height: 44px; }
body[data-market="kr"] :is(input[type="search"], select, textarea) { min-height: 44px; font-size: 16px; }
body[data-market="kr"] main :is(p, li) { font-size: 16px; line-height: 1.75; }
body[data-market="kr"] main .button { font-size: 16px; }
body[data-market="kr"] .product-heading h1 { font: 700 clamp(28px, 3vw, 40px)/1.3 var(--font); letter-spacing: -.025em; }
body[data-market="kr"] .page-heading h1 { font: 700 clamp(30px, 3.8vw, 48px)/1.3 var(--font); letter-spacing: -.025em; }
body[data-market="kr"] .help-float > span:last-child { font-size: 14px; }
body[data-market="kr"] :is(.recommendation-badge, .status-pill, .pc-platform, .pc-art-label, .pc-gallery, .pc-preview-caption) { font-size: 14px; }
