:root {
  color-scheme: light;
  --page: #faf8f2;
  --paper: #ffffff;
  --ink: #292b29;
  --muted: #62665f;
  --line: #e6e3d8;
  --gold: #a3772b;
  --gold-soft: #f5efdF;
  --link: #715014;
  --focus: #245e4b;
  --toc-width: 220px;
  --column-gap: 48px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 3px; }
::selection { color: var(--ink); background: #f0dfb9; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 10px 18px;
  transform: translateY(-180%);
  border: 1px solid var(--focus);
  background: var(--paper);
  color: var(--focus);
  font-weight: 700;
}
.skip-link:focus { transform: none; }
.site-header { border-top: 4px solid #d9bd7c; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 114px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-studio { font-size: 11px; line-height: 1.7; font-weight: 700; letter-spacing: 0.15em; }
.brand-game { display: flex; align-items: center; gap: 14px; font-size: 25px; line-height: 1.45; font-weight: 800; letter-spacing: -0.04em; }
.brand-caption { padding-left: 14px; border-left: 1px solid #d6cdb6; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.document-nav, .footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.document-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.document-nav a:hover { color: var(--link); text-decoration: underline; }
.document-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px #c6a55c; }

.document-page { padding-top: 62px; padding-bottom: 88px; }
.document-intro { margin-left: calc(var(--toc-width) + var(--column-gap)); padding-bottom: 34px; }
.document-kicker { margin: 0 0 12px; color: #7a622e; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; }
h1 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.4; letter-spacing: -0.045em; word-break: keep-all; overflow-wrap: anywhere; }
.document-date { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.document-date time { font-variant-numeric: tabular-nums; }
.reading-layout { display: grid; grid-template-columns: var(--toc-width) minmax(0, 1fr); gap: var(--column-gap); align-items: start; }
.document-toc { position: sticky; top: 28px; min-width: 0; padding-top: 20px; }
.document-toc nav { padding-left: 20px; border-left: 2px solid #decc9e; }
.document-toc h2 { margin: 0 0 14px; font-size: 13px; line-height: 1.6; font-weight: 700; }
.toc-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.toc-list li { padding: 0 0 12px 3px; }
.toc-list a { color: var(--muted); text-decoration: none; word-break: keep-all; overflow-wrap: anywhere; }
.toc-list a:hover { color: var(--link); text-decoration: underline; }
.document-paper { min-width: 0; padding: 44px 48px 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 4px 20px #4f402306; }
.policy-body { overflow-wrap: anywhere; word-break: keep-all; }
.policy-body > :first-child { margin-top: 0; }
.policy-body > :last-child { margin-bottom: 0; }
.policy-body section + section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.policy-body [id] { scroll-margin-top: 28px; }
.policy-body h2 { margin: 0 0 16px; font-size: 20px; line-height: 1.55; font-weight: 750; letter-spacing: -0.025em; }
.policy-body h3 { margin: 26px 0 10px; font-size: 17px; line-height: 1.6; font-weight: 700; }
.policy-body p { margin: 12px 0; }
.policy-body ul, .policy-body ol { margin: 12px 0; padding-left: 24px; }
.policy-body li { padding-left: 3px; margin: 7px 0; }
.policy-body li > ul, .policy-body li > ol { margin-block: 8px; }
.policy-body strong { font-weight: 750; }
.policy-body small, .policy-body .caption { color: var(--muted); font-size: 13px; }
.policy-body .note, .policy-body blockquote { margin: 20px 0; padding: 16px 20px; border-left: 3px solid #d2b574; border-radius: 0 6px 6px 0; background: #faf7ee; }
.policy-body .note > :first-child, .policy-body blockquote > :first-child { margin-top: 0; }
.policy-body .note > :last-child, .policy-body blockquote > :last-child { margin-bottom: 0; }
.policy-body dl { margin: 16px 0; }
.policy-body dt { margin-top: 16px; font-weight: 700; }
.policy-body dd { margin: 4px 0 0; }
.policy-body address { font-style: normal; }
.table-scroll { max-width: 100%; margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; overscroll-behavior-x: contain; }
.policy-body table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.75; text-align: left; }
.policy-body caption { padding: 12px 16px; color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; caption-side: top; }
.policy-body th, .policy-body td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-body thead th { background: var(--gold-soft); font-weight: 700; }
.policy-body tbody th { background: #fbfaf6; font-weight: 600; }
.policy-body tr:last-child > th, .policy-body tr:last-child > td { border-bottom: 0; }
.policy-body hr { margin: 30px 0; border: 0; border-top: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); background: #f3f0e7; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 30px 36px; }
.footer-studio { margin: 0 0 5px; font-size: 12px; font-weight: 750; letter-spacing: 0.1em; }
.footer-contact { margin: 0; color: var(--muted); font-size: 13px; }
.footer-contact a { margin-left: 6px; }
.footer-nav { gap: 4px 22px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  :root { --toc-width: 185px; --column-gap: 28px; }
  .shell { width: calc(100% - 48px); }
  .document-paper { padding: 32px; }
  .document-nav { gap: 18px; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: auto; padding-block: 22px 14px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .brand-game { font-size: 24px; }
  .document-nav { width: 100%; gap: 6px 24px; }
  .document-nav a { font-size: 13px; }
  .document-page { padding-top: 34px; padding-bottom: 48px; }
  .document-intro { margin-left: 0; padding-bottom: 24px; }
  .reading-layout { display: flex; flex-direction: column; gap: 26px; }
  .document-toc { position: static; width: 100%; padding-top: 0; }
  .document-toc nav { padding: 16px 18px 4px; border: 1px solid #e3d7b9; border-radius: 8px; background: #f7f2e6; }
  .toc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .document-paper { width: 100%; padding: 26px 24px 30px; border-radius: 10px; }
  .policy-body { font-size: 15px; line-height: 1.9; }
  .policy-body h2 { font-size: 19px; }
  .policy-body h3 { font-size: 16px; }
  .policy-body section + section { margin-top: 30px; padding-top: 26px; }
  .policy-body .note, .policy-body blockquote { padding: 14px 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 26px; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  .document-paper { padding-inline: 18px; }
  .toc-list { display: block; }
}

@media print {
  :root { font-size: 11pt; }
  body { background: #fff; color: #000; }
  .shell { width: 100%; }
  .skip-link, .document-nav, .document-toc, .footer-nav { display: none; }
  .site-header { border-top: 0; }
  .header-inner { min-height: 0; padding-bottom: 18px; }
  .document-page { padding-block: 26px; }
  .document-intro { margin-left: 0; }
  .reading-layout { display: block; }
  .document-paper { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .policy-body section + section { margin-top: 24px; padding-top: 20px; }
  .policy-body h2, .policy-body h3 { break-after: avoid; }
  .table-scroll { overflow: visible; border-radius: 0; }
  .policy-body table { min-width: 0; }
  .policy-body tr { break-inside: avoid; }
  a { color: inherit; }
  .site-footer { background: #fff; }
  .footer-inner { padding-block: 18px 0; }
}
:root { color-scheme: light; }
.review-banner { border: 1px solid #d6b878; background: #fff7e7; border-radius: 12px; padding: 18px 20px; margin-bottom: 28px; }
.review-banner p { margin-bottom: 0; }
.review-note { background: #fff7e7; padding: 12px 16px; border-left: 3px solid #bb8a31; }
.request-link { display: inline-flex; padding: 12px 18px; border-radius: 9px; background: #67501e; color: #fff !important; text-decoration: none !important; font-weight: 700; }
.request-link:hover { background: #4c3a14; }
.header-actions { display: flex; flex-direction: column; align-items: flex-end; }
.locale-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.locale-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.locale-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: none; }
.company-header .brand { white-space: normal; min-width: 0; }
.company-header .brand-game { display: block; max-width: 360px; white-space: normal; font-size: 20px; line-height: 1.6; letter-spacing: 0; overflow-wrap: anywhere; }
@media(max-width:700px) { .header-actions { align-items: flex-start; width: 100%; } }
