:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --surface: #fbfbfd;
  --hairline: rgba(0, 0, 0, 0.12);
  --hairline-light: #e8e8ed;
  --white-90: #f5f5f7;
  --accent: #ffffff;
  --header-height: 52px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --stage-pad: clamp(16px, 4vw, 24px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #000;
  color: var(--white-90);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html[lang="ja"] body {
  font-feature-settings: "palt" 1;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(0, 113, 227, 0.35);
}

:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--white-90);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    color 0.45s var(--ease);
}

.site-header.is-light {
  background: rgba(251, 251, 253, 0.78);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding-inline: max(var(--stage-pad), env(safe-area-inset-left))
    max(var(--stage-pad), env(safe-area-inset-right));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  opacity: 0.94;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 1;
}

.brand-mark {
  flex: 0 0 auto;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-picker {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(245, 245, 247, 0.6);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.lang-trigger:hover,
.lang-picker.is-open .lang-trigger {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lang-trigger > svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  opacity: 0.72;
}

.lang-chevron {
  display: inline-flex;
  transition: transform 0.3s var(--ease);
}

.lang-chevron svg {
  width: 12px;
  height: 12px;
}

.lang-picker.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-current {
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 300;
  width: 238px;
  max-height: min(70vh, 540px);
  padding: 6px;
  overflow-y: auto;
  border-radius: 14px;
  background: rgba(30, 30, 32, 0.92);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.48),
    0 0 0 0.5px rgba(255, 255, 255, 0.14) inset;
  transform-origin: top right;
  animation: langIn 0.22s var(--ease);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  scrollbar-width: thin;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(245, 245, 247, 0.86);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.lang-option[aria-checked="true"] {
  color: #fff;
  font-weight: 600;
}

.lang-check {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  opacity: 0;
}

.lang-option[aria-checked="true"] .lang-check {
  opacity: 1;
}

@keyframes langIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-header.is-light .lang-trigger {
  color: rgba(29, 29, 31, 0.55);
}

.site-header.is-light .lang-trigger:hover,
.site-header.is-light .lang-picker.is-open .lang-trigger {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.site-header.is-light .lang-menu {
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.18),
    0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.site-header.is-light .lang-option {
  color: rgba(29, 29, 31, 0.8);
}

.site-header.is-light .lang-option:hover,
.site-header.is-light .lang-option:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.site-header.is-light .lang-option[aria-checked="true"] {
  color: var(--ink);
}

/* Stage */

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 24px) var(--stage-pad) 104px;
  overflow: hidden;
  isolation: isolate;
}

.stage-aura {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: -1;
  width: 72vmax;
  height: 72vmax;
  border-radius: 50%;
  background-color: var(--accent);
  filter: blur(90px);
  opacity: 0.16;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

.stage-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: rgba(245, 245, 247, 0.44);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.stage-title {
  margin: 16px 0 0;
  color: var(--white-90);
  font-size: clamp(40px, 6.4vw, 74px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.stage-sub {
  max-width: 38ch;
  margin: 14px auto 0;
  color: rgba(245, 245, 247, 0.54);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: -0.005em;
  line-height: 1.5;
  text-wrap: balance;
}

html[lang="ja"] .stage-title,
html[lang="zh"] .stage-title,
html[lang="ko"] .stage-title {
  letter-spacing: -0.02em;
}

/* Swatches */

.swatches {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 3.4vw, 40px);
  margin-top: clamp(30px, 5vh, 56px);
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  appearance: none;
  padding: 10px 0 0;
  border: 0;
  border-radius: 24px;
  background: none;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.color-item:focus-visible {
  outline: none;
}

.color-item:focus-visible .circle {
  outline: 2px solid #0071e3;
  outline-offset: 10px;
}

.circle {
  position: relative;
  display: block;
  width: clamp(50px, 9.4vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.32), transparent 46%),
    linear-gradient(150deg, var(--swatch), var(--swatch-deep));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    0 10px 30px -14px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}

.circle::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1.5px solid rgba(255, 255, 255, 0);
  border-radius: 50%;
  transform: scale(0.94);
  transition:
    border-color 0.45s var(--ease),
    transform 0.55s var(--ease);
}

.color-item:hover .circle {
  transform: translateY(-4px) scale(1.03);
}

.color-item:hover .circle::after {
  border-color: rgba(255, 255, 255, 0.16);
  transform: scale(1);
}

.color-item.is-active .circle {
  transform: translateY(-2px) scale(1.13);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 26px 60px -18px var(--glow);
}

.color-item.is-active .circle::after {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(245, 245, 247, 0.4);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    letter-spacing 0.4s var(--ease);
}

.label-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 245, 247, 0.42);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.color-item:hover .label-key {
  color: rgba(245, 245, 247, 0.7);
}

.color-item.is-active .label {
  color: var(--white-90);
  letter-spacing: 0.16em;
}

.color-item.is-active .label-key {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white-90);
}

html[lang="ja"] .label,
html[lang="zh"] .label,
html[lang="ko"] .label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

html[lang="ja"] .color-item.is-active .label,
html[lang="zh"] .color-item.is-active .label,
html[lang="ko"] .color-item.is-active .label {
  letter-spacing: 0.08em;
}

/* Primary action */

.stage-actions {
  margin-top: clamp(32px, 4.6vh, 46px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  appearance: none;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--white-90);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  color: #000;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    background 0.25s ease;
}

.btn-primary:hover {
  background: #fff;
  transform: scale(1.03);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary svg {
  width: 15px;
  height: 15px;
}

/* Hints */

.stage-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 26px;
  color: rgba(245, 245, 247, 0.36);
  font-size: 12.5px;
  line-height: 1.4;
}

.hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

kbd {
  min-width: 20px;
  padding: 4px 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(245, 245, 247, 0.6);
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.hint-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hint-touch {
  display: none;
}

@media (pointer: coarse) {
  .stage-hints .hint:not(.hint-touch),
  .hint-dot {
    display: none;
  }

  .hint-touch {
    display: inline-flex;
  }
}

.scroll-cue {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(245, 245, 247, 0.32);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.3s ease;
}

.scroll-cue:hover {
  color: rgba(245, 245, 247, 0.72);
}

.scroll-cue svg {
  width: 14px;
  height: 14px;
  animation: cue 2.8s var(--ease) infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(-1px);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

/* Editorial content */

.explore {
  position: relative;
  padding: clamp(80px, 11vw, 144px) var(--stage-pad) clamp(72px, 9vw, 120px);
  background: var(--surface);
  color: var(--ink);
}

.explore::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: background 0.6s var(--ease);
}

.explore-inner {
  max-width: 940px;
  margin: 0 auto;
}

.eyebrow.dark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  background: var(--accent);
  transition: background 0.5s var(--ease);
}

.explore h1 {
  max-width: 20ch;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

html[lang="ja"] .explore h1,
html[lang="zh"] .explore h1,
html[lang="ko"] .explore h1 {
  max-width: 24ch;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.lede {
  max-width: 64ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.005em;
  line-height: 1.55;
}

.section-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

.how {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--hairline);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.step h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.step p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* Keyboard shortcuts */

.shortcuts {
  margin-top: clamp(56px, 8vw, 92px);
}

.shortcut-panel {
  margin-top: 24px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 22px;
  background: #f5f5f7;
}

.shortcut-letters h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.letter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.letter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 0 0 0.5px rgba(0, 0, 0, 0.05) inset;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.letter-chip kbd {
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.letter-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  background: var(--dot);
}

.shortcut-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.shortcut-action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
}

.shortcut-keys {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
}

.shortcut-panel .shortcut-actions kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  border: 1px solid #d2d2d7;
  border-radius: 7px;
  background: #fff;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.05),
    0 2px 0 rgba(0, 0, 0, 0.04);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

/* Color strip */

.color-strip {
  margin-top: clamp(56px, 8vw, 92px);
}

.strip-label {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.strip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    transform 0.35s var(--ease);
}

.strip-link:hover {
  border-color: #86868b;
  transform: translateY(-1px);
}

.strip-link.is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.strip-dot {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  background: var(--dot);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

/* FAQ */

.faq {
  margin-top: clamp(56px, 8vw, 92px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--hairline);
}

.faq .section-title {
  margin-bottom: 8px;
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 1.5px solid #86868b;
  border-bottom: 1.5px solid #86868b;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq summary:hover {
  color: #000;
}

.faq summary:focus-visible {
  border-radius: 4px;
  outline: 2px solid #0071e3;
  outline-offset: 4px;
}

.faq details p {
  max-width: 66ch;
  margin: 0;
  padding: 0 32px 24px 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.62;
}

/* Footer */

.site-footer {
  padding: 32px var(--stage-pad) 40px;
  border-top: 1px solid var(--hairline-light);
  background: var(--surface);
  color: #86868b;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: 1024px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-brand .brand-mark {
  width: 20px;
  height: 10px;
}

.footer-note,
.footer-legal {
  margin: 0;
  line-height: 1.5;
}

.footer-note {
  color: #86868b;
}

.footer-legal {
  color: #a1a1a6;
}

/* Fullscreen overlay */

.fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  cursor: none;
  touch-action: none;
}

.fs-overlay[hidden] {
  display: none;
}

.fs-hint {
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.045);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.fs-overlay.is-light .fs-hint {
  background: rgba(0, 0, 0, 0.055);
  color: rgba(0, 0, 0, 0.48);
}

.fs-overlay.is-hint .fs-hint {
  opacity: 1;
}

.fs-hint-touch {
  display: none;
}

@media (pointer: coarse) {
  .fs-hint-keyboard {
    display: none;
  }

  .fs-hint-touch {
    display: inline;
  }
}

html.is-immersive,
html.is-immersive body {
  overflow: hidden;
}

/* Responsive */

@media (max-width: 760px) {
  .stage {
    padding-bottom: 88px;
  }

  .stage-sub {
    max-width: 32ch;
  }

  .swatches {
    gap: clamp(8px, 3vw, 20px);
  }

  .color-item {
    gap: 12px;
    padding-top: 0;
  }

  .circle {
    width: clamp(46px, 13vw, 76px);
  }

  .circle::after {
    inset: -8px;
  }

  .label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .label-key {
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 4px;
    font-size: 8px;
  }

  .stage-hints {
    font-size: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .shortcut-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .faq details p {
    padding-right: 0;
  }
}

@media (max-width: 400px) {
  .lang-trigger {
    gap: 6px;
    padding: 6px 7px;
    font-size: 12px;
  }

  .lang-current {
    max-width: 96px;
  }

  .lang-menu {
    width: min(238px, calc(100vw - 20px));
  }

  .brand {
    gap: 7px;
  }

  .brand-name {
    font-size: 15px;
  }

  .circle {
    width: clamp(44px, 12.6vw, 60px);
  }

  .color-item {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
