:root {
  color-scheme: light;
  --ink: #17243b;
  --muted: #626d80;
  --brand: #285be8;
  --line: #e4e9f1;
  --soft: #f5f7fb;
  --f-body:
    "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", "Malgun Gothic", sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 15px/1.8 var(--f-body);
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: var(--brand);
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  letter-spacing: -0.025em;
}
html[data-engine="unity"] .ue,
html[data-engine="unreal"] .un {
  display: none !important;
}
.skip {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 10px 20px;
  background: #fff;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.top .in {
  max-width: 1280px;
  min-height: 80px;
  margin: auto;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font:
    700 24px Arial,
    var(--f-body);
  letter-spacing: -1px;
}
.brand-mark {
  width: 30px;
  height: 30px;
}
.doc-label {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
}
.back {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.back:hover {
  color: var(--brand);
}
.layout {
  max-width: 1280px;
  margin: auto;
  padding-inline: 28px;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 64px;
}
aside {
  position: sticky;
  top: 80px;
  align-self: start;
  height: calc(100dvh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 30px 20px 30px 0;
  border-right: 1px solid var(--line);
}
.sidebar-label {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
  font-weight: 500;
}
.engine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 7px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.engine button {
  font-size: 12px;
  font-weight: 600;
  border: 0;
  border-radius: 4px;
  padding: 7px 5px;
  background: none;
  color: var(--muted);
}
.engine button[aria-pressed="true"] {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 4px #17243b15;
}
.search {
  margin: 18px 0 22px;
}
.search label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.search-field {
  position: relative;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 30px 9px 11px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}
.search input::-webkit-search-cancel-button {
  display: none;
}
.search-clear {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 30px;
  height: 32px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 18px;
}
aside h4 {
  margin: 22px 10px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
aside a {
  display: block;
  padding: 6px 10px;
  border-radius: 5px;
  color: #46536a;
  text-decoration: none;
  font-size: 12px;
}
aside a:hover {
  background: var(--soft);
}
aside a.on {
  background: #edf2ff;
  color: var(--brand);
  font-weight: 600;
}
aside a code {
  background: none;
  font-size: 11px;
  padding: 0;
}
aside a small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.search-status {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0;
}
.search-result {
  border-bottom: 1px solid var(--line);
  padding-block: 11px;
}
.search-result b {
  display: block;
  color: var(--brand);
  font-size: 12px;
}
.search-result span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.mobile-bar {
  display: none;
}
main {
  min-width: 0;
  padding: 44px 0 70px;
  display: grid;
  gap: 56px;
}
section {
  min-width: 0;
  display: grid;
  gap: 18px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.intro h1 {
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 700;
  margin-top: 4px;
}
.intro > p {
  color: var(--muted);
  max-width: 75ch;
}
.intro .intro-lead {
  font-size: 17px;
  color: var(--ink);
}
.version {
  display: inline-block;
  color: var(--brand);
  background: #edf2ff;
  border: 1px solid #dce6ff;
  font: 500 10px/1.5 var(--f-body);
  padding: 4px 8px;
  border-radius: 4px;
  vertical-align: middle;
  letter-spacing: 0;
  margin-left: 8px;
}
.start-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block: 6px;
}
.start-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
}
.start-card:hover {
  border-color: #a7baf1;
  background: #f9fbff;
}
.start-card > span {
  display: block;
  font: 11px var(--f-mono);
  color: var(--brand);
  margin-bottom: 12px;
}
.start-card b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.start-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.start-card::after {
  content: "↗";
  position: absolute;
  right: 16px;
  top: 13px;
  color: var(--muted);
}
h2 {
  font-size: 25px;
  font-weight: 650;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
h3 {
  font-size: 18px;
  font-weight: 650;
}
pre,
code {
  letter-spacing: 0;
}
section ul,
section ol {
  margin: 0;
  padding-left: 1.3em;
  display: grid;
  gap: 7px;
}
.heading-link {
  margin-left: 9px;
  color: #77859b;
  font: 400 15px var(--f-mono);
  text-decoration: none;
}
.heading-link:hover {
  color: var(--brand);
}
code {
  font-family: var(--f-mono);
  font-size: 0.85em;
  font-variant-ligatures: none;
  background: var(--soft);
  padding: 2px 5px;
  border-radius: 4px;
}
pre {
  min-width: 0;
  font-variant-ligatures: none;
  margin: 0;
  background: #19253c;
  color: #e1e8f4;
  border: 1px solid #19253c;
  border-radius: 8px;
  padding: 22px;
  overflow-x: auto;
  font: 12px/1.9 var(--f-mono);
  tab-size: 4;
}
pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}
.k {
  color: var(--brand);
}
.s {
  color: #986010;
}
.c {
  color: var(--muted);
}
pre .k {
  color: #bca9ff;
}
pre .s {
  color: #95dcc0;
}
pre .c {
  color: #a4b2ca;
}
.file {
  font: 11px var(--f-mono);
  color: var(--muted);
  margin-bottom: -8px;
}
.code-block {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #253550;
  border-radius: 8px;
  background: #19253c;
}
.code-block pre {
  border: 0;
  border-radius: 0;
}
.code-toolbar {
  padding: 9px 14px 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ffffff17;
  color: #b4c0d4;
  font: 11px var(--f-mono);
}
.copy-button {
  background: #ffffff08;
  color: #e1e8f4;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  padding: 5px 10px;
  font: 11px var(--f-body);
}
.copy-button:hover {
  background: #ffffff18;
}
.copy-button:focus-visible {
  outline-color: #bca9ff;
}
.api {
  border-top: 1px solid var(--line);
  padding-top: 27px;
  display: grid;
  gap: 18px;
  min-width: 0;
}
#setup .api,
#ue-setup .api {
  border-top: 0;
  padding-top: 4px;
}
.api h3 {
  font-family: var(--f-mono);
  font-size: 22px;
  letter-spacing: -0.04em;
}
.sig {
  min-width: 0;
  font: 12px/1.8 var(--f-mono);
  background: #f0f4fb;
  color: #34538a;
  border-left: 3px solid #96b2f6;
  border-radius: 0 5px 5px 0;
  padding: 13px 16px;
  overflow-x: auto;
  white-space: pre;
}
.api > p {
  color: #46536a;
}
.api h4 {
  font-size: 12px;
  font-weight: 600;
}
.tbl {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th,
td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--soft);
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  white-space: nowrap;
}
td:not(:first-child) {
  min-width: 100px;
}
td:last-child {
  min-width: 210px;
}
.note {
  border: 1px solid #dce6fa;
  border-left: 3px solid #7ba0ef;
  border-radius: 5px;
  padding: 16px 18px;
  background: #f5f8ff;
  font-size: 13px;
}
.note.warn {
  background: #fffaf0;
  border-color: #eee1c3;
  border-left-color: #d8b668;
}
.note b {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #edf2ff;
  color: var(--brand);
  white-space: nowrap;
}
.pill.http {
  background: #fff3de;
  color: #905c0d;
}
.steps {
  counter-reset: s;
  list-style: none;
  padding: 0 !important;
  gap: 18px !important;
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.steps li::before {
  content: counter(s);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.doc-footer {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.doc-footer a {
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1050px) {
  .layout {
    gap: 36px;
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .start-card {
    padding: 14px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 134px;
  }
  .top .in {
    min-height: 68px;
    padding-inline: 22px;
  }
  .wordmark {
    font-size: 21px;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  .brand {
    gap: 14px;
  }
  .doc-label {
    padding-left: 14px;
    font-size: 11px;
  }
  .back {
    font-size: 11px;
  }
  .layout {
    display: block;
    padding-inline: 22px;
  }
  aside {
    position: static;
    height: auto;
    padding: 22px 0;
    border-right: 0;
  }
  html.js aside {
    display: none;
    position: fixed;
    top: 113px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 133px);
    height: auto;
    z-index: 15;
    padding: 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 30px #17243b18;
  }
  html.js aside.is-open {
    display: block;
  }
  .engine {
    max-width: 340px;
  }
  html.js .mobile-bar {
    display: flex;
    position: sticky;
    top: 68px;
    z-index: 16;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    min-height: 45px;
    border-bottom: 1px solid var(--line);
    background: #f8faff;
    color: var(--muted);
    font-size: 11px;
  }
  .menu-toggle {
    padding: 10px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 12px;
  }
  .menu-toggle span {
    margin-right: 7px;
    color: var(--brand);
  }
  main {
    padding-block: 30px 50px;
    gap: 42px;
  }
  .intro h1 {
    font-size: 32px;
  }
  .intro .intro-lead {
    font-size: 16px;
  }
  h2 {
    font-size: 23px;
  }
  .start-card small {
    font-size: 10px;
  }
  pre {
    padding: 16px;
    font-size: 11px;
  }
  .api h3 {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .top .in {
    padding-inline: 18px;
    gap: 10px;
  }
  .brand {
    gap: 10px;
  }
  .doc-label {
    padding-left: 10px;
  }
  .back {
    font-size: 0;
  }
  .back::after {
    content: "홈 ↗";
    font-size: 11px;
  }
  .layout {
    padding-inline: 18px;
  }
  .start-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .start-card {
    padding: 12px 16px 12px 46px;
  }
  .start-card > span {
    position: absolute;
    left: 16px;
    top: 18px;
    margin: 0;
  }
  .start-card small {
    font-size: 11px;
    margin-top: 1px;
  }
  .intro h1 {
    font-size: 29px;
  }
  .version {
    margin-left: 0;
  }
  .intro h1 .version {
    display: table;
    margin-top: 12px;
  }
  .doc-footer {
    flex-wrap: wrap;
  }
}
