:root {
  --ys-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --ys-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "D2Coding", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans, var(--ys-font));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, figure, blockquote) { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, td, th, figcaption, blockquote, label, summary, button, a) {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
:where(h1, h2, h3) { text-wrap: balance; }
:where(p, li, dd) { text-wrap: pretty; }

.ys-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ys-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--ys-skip-bg, #111);
  color: var(--ys-skip-fg, #fff);
  transform: translateY(calc(-100% - 16px));
}
.ys-skip:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--focus, var(--accent, #3155D4)); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
a, button, [role="button"], summary, label {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
html.js .ys-no-js { display: none; }
html:not(.js) .ys-js-only { display: none; }

.ys-studio {
  border-top: 1px solid var(--ys-line, currentColor);
  color: var(--ys-muted, inherit);
  font-size: 13px;
  line-height: 1.5;
}
.ys-studio__in {
  width: min(var(--ys-container, 1200px), 100% - 2 * var(--ys-gutter, 20px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding-block: 20px;
}
.ys-studio a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.ys-studio a:hover { color: var(--ys-ink, inherit); text-decoration: underline; text-underline-offset: 3px; }
.ys-studio__mark { font-weight: 700; color: var(--ys-ink, inherit); margin-right: auto; }
.ys-studio__copy { width: 100%; }
@media (min-width: 600px) {
  .ys-studio__copy { width: auto; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Web experiences: static row above the studio footer. */
.ys-web { border-top: 1px solid var(--ys-line, currentColor); color: var(--ys-muted, inherit); font-size: 13px; line-height: 1.5; }
.ys-web__in { width: min(var(--ys-container, 1200px), 100% - 2 * var(--ys-gutter, 20px)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-block: 16px; }
.ys-web__h { font-weight: 600; }
.ys-web a, .ys-web [aria-current="page"] { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.ys-web a:hover { color: var(--ys-ink, inherit); text-decoration: underline; text-underline-offset: 3px; }
