:root {
  --sky-0: #f9fdff;
  --sky-1: #e6f8ff;
  --sky-2: #bdefff;
  --water: #8fd8f5;
  --water-deep: #4aa6d8;
  --ink: #184d79;
  --soft-ink: #6d91ad;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.66);
  --line: rgba(86, 156, 196, 0.2);
  --shadow: 0 28px 70px rgba(65, 144, 191, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.9), transparent 24rem),
    linear-gradient(180deg, var(--sky-0), var(--sky-1) 45%, #d9f5ff);
}

body.is-intro {
  overflow: hidden;
}

body.is-preloading {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

.preload-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.48), transparent 13rem),
    linear-gradient(180deg, #dff8ff 0%, #aeeaff 100%);
  opacity: 1;
  transition:
    opacity 900ms ease,
    filter 900ms ease;
}

.preload-screen::before {
  position: absolute;
  inset: -20%;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96), transparent 34%);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.preload-screen.is-leaving {
  filter: brightness(1.18);
  opacity: 0;
}

.preload-screen.is-leaving::before {
  animation: preloadGlow 900ms ease both;
}

.preload-screen.is-hidden {
  display: none;
}

.preload-orb {
  position: relative;
  width: clamp(74px, 13vw, 118px);
  height: clamp(74px, 13vw, 118px);
  border: 8px solid rgba(255, 255, 255, 0.48);
  border-top-color: #ffffff;
  border-radius: 50%;
  box-shadow:
    0 18px 40px rgba(80, 180, 220, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.8);
  animation: preloadSpin 950ms linear infinite;
}

.preload-orb::after {
  position: absolute;
  inset: 16px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  background: #78c9ef;
  cursor: pointer;
  transition:
    transform 1s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.8s ease;
}

.intro-screen.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-20%);
}

.intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.intro-title {
  position: absolute;
  top: max(22px, env(safe-area-inset-top));
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 22px) clamp(22px, 3vw, 34px);
  color: var(--white);
  background: transparent;
  pointer-events: none;
  transform: translateX(-50%);
  text-shadow: 0 12px 38px rgba(32, 116, 167, 0.38);
}

.intro-title span {
  font-size: clamp(3rem, 8vw, 8.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.water-transition-root {
  --water-transition-duration: 1600ms;
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(234, 251, 255, 0.22), rgba(207, 245, 255, 0.44));
}

.water-transition-root.is-active {
  animation: water-transition-fade var(--water-transition-duration) ease both;
}

.water-transition-water {
  position: absolute;
  right: -5vw;
  bottom: -12vh;
  left: -5vw;
  height: 118vh;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.5), transparent 12rem),
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.32), transparent 14rem),
    linear-gradient(180deg, rgba(234, 251, 255, 0.84), rgba(142, 220, 255, 0.86) 34%, rgba(126, 211, 249, 0.76));
  box-shadow: inset 0 20px 36px rgba(255, 255, 255, 0.36);
  opacity: 0.98;
  transform: translateY(108%);
}

.water-transition-root.is-active .water-transition-water {
  animation: water-transition-rise var(--water-transition-duration) cubic-bezier(0.5, 0, 0.18, 1) both;
}

.water-transition-wave {
  position: absolute;
  top: -88px;
  left: -8%;
  width: 116%;
  height: 120px;
  filter: drop-shadow(0 -5px 10px rgba(255, 255, 255, 0.28));
}

.water-transition-root.is-active .water-transition-wave {
  animation: water-transition-wave calc(var(--water-transition-duration) * 0.9) ease-in-out infinite alternate;
}

.water-transition-wave-fill {
  fill: rgba(142, 220, 255, 0.9);
}

.water-transition-wave-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-linecap: round;
  stroke-width: 8;
}

.water-transition-shine {
  position: absolute;
  inset: 14vh 9vw auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.74), transparent);
  opacity: 0;
  transform: translateX(-24%);
}

.water-transition-root.is-active .water-transition-shine {
  animation: water-transition-shine var(--water-transition-duration) ease both;
}

.water-transition-bubbles {
  position: absolute;
  inset: 0;
}

.water-transition-bubbles span {
  position: absolute;
  bottom: -8vh;
  display: block;
  width: var(--bubble-size);
  height: var(--bubble-size);
  border: 2px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.96) 0 12%, transparent 13%),
    radial-gradient(circle at 62% 72%, rgba(234, 251, 255, 0.48), rgba(207, 245, 255, 0.08) 62%);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.78);
}

.water-transition-bubbles span:nth-child(1) {
  --bubble-size: 18px;
  left: 16%;
  animation-delay: 120ms;
}

.water-transition-bubbles span:nth-child(2) {
  --bubble-size: 28px;
  left: 30%;
  animation-delay: 260ms;
}

.water-transition-bubbles span:nth-child(3) {
  --bubble-size: 13px;
  left: 45%;
  animation-delay: 420ms;
}

.water-transition-bubbles span:nth-child(4) {
  --bubble-size: 24px;
  left: 62%;
  animation-delay: 180ms;
}

.water-transition-bubbles span:nth-child(5) {
  --bubble-size: 16px;
  left: 76%;
  animation-delay: 520ms;
}

.water-transition-bubbles span:nth-child(6) {
  --bubble-size: 34px;
  left: 88%;
  animation-delay: 340ms;
}

.water-transition-root.is-active .water-transition-bubbles span {
  animation: water-transition-bubble calc(var(--water-transition-duration) * 0.72) ease-out both;
}

.sc-bgm-player {
  --sc-bgm-accent: #8edcff;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  max-width: calc(100vw - 32px);
  color: #236d92;
}

.sc-bgm-pill,
.sc-bgm-card {
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background: linear-gradient(180deg, #eafbff 0%, #cff5ff 100%);
  box-shadow: 0 10px 28px rgba(80, 180, 220, 0.22);
}

.sc-bgm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  color: #1f84b6;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.sc-bgm-player.is-open .sc-bgm-pill {
  display: none;
}

.sc-bgm-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(80, 180, 220, 0.28);
}

.sc-bgm-note {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--sc-bgm-accent), #5abde8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.sc-bgm-card {
  position: absolute;
  top: 0;
  left: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 14px;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform-origin: top left;
  transform: translateY(-8px) scale(0.96);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.sc-bgm-player.is-open .sc-bgm-card {
  position: relative;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: sc-bgm-open 220ms ease both;
}

.sc-bgm-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.sc-bgm-header h2 {
  margin: 0;
  color: #2c8fbb;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sc-bgm-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #5abde8;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.sc-bgm-frame-wrap {
  position: relative;
  z-index: 1;
  min-height: 120px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
}

.sc-bgm-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #5abde8;
  font-size: 0.82rem;
  font-weight: 800;
}

.sc-bgm-loading.is-hidden {
  display: none;
}

.sc-bgm-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 120px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
}

.sc-bgm-volume {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #4f9fc5;
  font-size: 0.76rem;
  font-weight: 900;
}

.sc-bgm-volume input {
  width: 100%;
  accent-color: var(--sc-bgm-accent);
}

.sc-bgm-volume output {
  text-align: right;
  color: #2c8fbb;
  font-variant-numeric: tabular-nums;
}

.sc-bgm-notice {
  position: relative;
  z-index: 1;
  display: none;
  margin: 10px 2px 0;
  color: #4f9fc5;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
}

.sc-bgm-notice.is-visible {
  display: block;
}

.sc-bgm-bubble {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92) 0 18%, transparent 19%),
    rgba(142, 220, 255, 0.28);
  pointer-events: none;
}

.sc-bgm-bubble-a {
  right: 22px;
  bottom: 20px;
  width: 18px;
  height: 18px;
}

.sc-bgm-bubble-b {
  top: 42px;
  right: 74px;
  width: 10px;
  height: 10px;
}

.sc-bgm-bubble-c {
  bottom: 54px;
  left: 18px;
  width: 14px;
  height: 14px;
}

.site-shell {
  min-height: 100vh;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.site-shell.is-ready {
  opacity: 1;
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 253, 255, 0.72);
  backdrop-filter: blur(18px);
}

.home-logo {
  grid-column: 2;
  display: grid;
  place-items: center;
  width: clamp(142px, 16vw, 220px);
  padding: 0;
  background: transparent;
}

.home-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(80, 180, 220, 0.18));
}

.top-nav {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.top-nav button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.top-nav button.is-current {
  border-color: rgba(74, 166, 216, 0.24);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.page {
  display: none;
  min-height: 100vh;
  padding: 162px clamp(18px, 5vw, 76px) 150px;
}

.page.is-active {
  display: block;
  animation: pageRise 0.85s ease both;
}

.profile-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.95), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(215, 246, 255, 0.5));
}

.profile-page::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(71, 155, 203, 0.08) 55px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(71, 155, 203, 0.06) 55px);
  mask-image: linear-gradient(180deg, transparent, black 14%, black 88%, transparent);
}

.profile-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(34px, 4.8vw, 72px);
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
}

.profile-portrait {
  position: relative;
  display: grid;
  gap: 20px;
  min-height: min(76vh, 720px);
}

.portrait-stack {
  position: relative;
  min-height: min(76vh, 720px);
  perspective: 1200px;
}

.portrait-card {
  position: absolute;
  inset: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(84, 159, 201, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), rgba(230, 248, 255, 0.94) 52%, rgba(207, 239, 252, 0.98)),
    var(--sky-1);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate3d(0, 18px, 0) rotate(-1deg) scale(0.94);
  transition:
    opacity 1.45s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.45s ease;
  will-change: opacity, transform, filter;
}

.portrait-card:nth-child(1) {
  transform: translate3d(-18px, 16px, 0) rotate(-4deg) scale(0.92);
}

.portrait-card:nth-child(2) {
  transform: translate3d(18px, 20px, 0) rotate(4deg) scale(0.9);
}

.portrait-card:nth-child(3) {
  transform: translate3d(-6px, -10px, 0) rotate(2deg) scale(0.88);
}

.portrait-card:nth-child(4) {
  transform: translate3d(10px, 12px, 0) rotate(-2deg) scale(0.9);
}

.portrait-card.is-active {
  z-index: 4;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  filter: saturate(1) brightness(1);
  animation: floatSoft 5.8s ease-in-out infinite;
}

.portrait-card.is-behind {
  z-index: 2;
  opacity: 0.24;
  filter: saturate(0.88) brightness(1.04);
}

.portrait-card.is-leaving {
  z-index: 3;
  opacity: 0.5;
  filter: saturate(0.92) brightness(1.02);
}

.portrait-card.is-behind:nth-child(1) {
  transform: translate3d(-30px, 26px, -80px) rotate(-6deg) scale(0.92);
}

.portrait-card.is-behind:nth-child(2) {
  transform: translate3d(28px, 30px, -100px) rotate(5deg) scale(0.9);
}

.portrait-card.is-behind:nth-child(3) {
  transform: translate3d(-16px, -20px, -120px) rotate(3deg) scale(0.88);
}

.portrait-card.is-behind:nth-child(4) {
  transform: translate3d(20px, 18px, -100px) rotate(-3deg) scale(0.9);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), rgba(230, 248, 255, 0.98) 58%, rgba(210, 241, 252, 0.98)),
    var(--sky-1);
}

.vertical-note {
  position: absolute;
  top: 8%;
  right: -28px;
  margin: 0;
  color: rgba(24, 77, 121, 0.42);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.profile-copy {
  padding-top: clamp(8px, 2.2vw, 32px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--water-deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-title-ko,
.page-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.86;
}

.profile-title-ko {
  position: relative;
  display: inline-flex;
  gap: clamp(0.04em, 1vw, 0.12em);
  font-family:
    "Arial Black", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  text-shadow:
    0 12px 36px rgba(74, 166, 216, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.95);
}

.profile-title-ko::before {
  position: absolute;
  z-index: -1;
  top: 0.1em;
  left: 0.05em;
  color: rgba(141, 219, 249, 0.32);
  content: attr(data-text);
  filter: blur(0.5px);
}

.profile-title-ko::after {
  position: absolute;
  right: -0.28em;
  bottom: 0.08em;
  width: 0.58em;
  height: 0.58em;
  border: 2px solid rgba(74, 166, 216, 0.28);
  border-radius: 50%;
  content: "";
  box-shadow:
    -0.42em -0.18em 0 -0.22em rgba(141, 219, 249, 0.9),
    0.14em -0.34em 0 -0.2em rgba(255, 255, 255, 0.95);
}

.profile-title-ko span:first-child {
  transform: translateY(-0.035em) rotate(-2deg);
}

.profile-title-ko span:last-child {
  transform: translateY(0.035em) rotate(2deg);
}

.lead,
.page-heading p {
  max-width: 680px;
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.8;
}

.lead {
  margin: 18px 0 34px;
  color: rgba(92, 174, 218, 0.72);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.profile-facts {
  display: grid;
  gap: 18px;
  max-width: 520px;
  margin: 0 0 34px;
}

.profile-facts div {
  display: block;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(86, 156, 196, 0.16);
}

.profile-facts dt {
  margin-bottom: 12px;
  color: rgba(24, 77, 121, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0;
  color: var(--water-deep);
  font-family:
    "Arial Rounded MT Bold", "Trebuchet MS", "Apple SD Gothic Neo", "Malgun Gothic", system-ui,
    sans-serif;
  font-size: clamp(1.28rem, 2.7vw, 1.95rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

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

.official-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(74, 166, 216, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.official-links svg {
  width: 19px;
  height: 19px;
  fill: var(--water-deep);
}

.profile-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  max-width: 700px;
  margin-top: 28px;
}

.profile-day-card {
  min-width: 0;
  padding: clamp(16px, 2.3vw, 24px) clamp(16px, 2.8vw, 28px);
  border: 1px solid rgba(86, 156, 196, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(234, 251, 255, 0.18)),
    rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 42px rgba(80, 180, 220, 0.1);
}

.profile-day-card p {
  margin: 0 0 14px;
  color: rgba(24, 77, 121, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.78rem, 1.3vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.24em;
}

.profile-day-card p span {
  margin-left: 12px;
  letter-spacing: 0.32em;
}

.profile-day-card strong {
  display: block;
  color: var(--water-deep);
  font-family:
    Impact, "Arial Black", "Arial Rounded MT Bold", "Trebuchet MS", "Apple SD Gothic Neo", "Malgun Gothic",
    system-ui, sans-serif;
  font-size: clamp(2.7rem, 5.1vw, 4.7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 10px 24px rgba(80, 180, 220, 0.12);
}

.duck-dock {
  position: fixed;
  z-index: 32;
  right: clamp(14px, 4vw, 48px);
  left: clamp(14px, 4vw, 48px);
  bottom: clamp(18px, 4vh, 42px);
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  justify-content: center;
  max-width: none;
  overflow-x: auto;
  pointer-events: none;
  scrollbar-width: none;
}

.duck-dock::-webkit-scrollbar {
  display: none;
}

.duck-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 70px;
  padding: 0 28px 0 70px;
  border: 1px solid rgba(86, 156, 196, 0.2);
  border-radius: 999px 999px 999px 48px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(52, 134, 184, 0.18);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  animation: floatSoft 4.4s ease-in-out infinite;
  pointer-events: auto;
  white-space: nowrap;
  word-break: keep-all;
}

.duck-button:nth-child(2) {
  animation-delay: -1.2s;
}

.duck-button:nth-child(3) {
  animation-delay: -2.3s;
}

.duck-button::before {
  position: absolute;
  left: 17px;
  top: 13px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 -1px 0 rgba(86, 156, 196, 0.12) inset;
  content: "";
}

.duck-button::after {
  position: absolute;
  left: 10px;
  top: 31px;
  width: 22px;
  height: 11px;
  border-radius: 999px 0 0 999px;
  background: #ffd98f;
  content: "";
}

.duck-button span::before {
  position: absolute;
  top: 24px;
  left: 43px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.duck-button.is-current {
  outline: 3px solid rgba(74, 166, 216, 0.18);
}

.listing-page {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.9), transparent 18rem),
    linear-gradient(180deg, #f9fdff, #e4f7ff);
}

.page-heading {
  max-width: 1120px;
  margin: 0 auto 36px;
}

.page-heading h2 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 9vw, 8rem);
}

.clip-grid,
.playlist-grid,
.cover-grid,
.extra-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.content-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(74, 166, 216, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 38px rgba(78, 149, 188, 0.12);
}

.content-card a,
.content-card .card-inner {
  display: grid;
  min-height: 230px;
  padding: 20px;
}

.thumb {
  min-height: 148px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(151, 221, 247, 0.7)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.34) 0 4px, transparent 4px 18px);
}

.content-card h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
}

.content-card p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.88rem;
  line-height: 1.55;
}

.content-card small {
  margin-top: 10px;
  color: var(--water-deep);
  font-weight: 900;
}

.extra-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.playlist-grid,
.cover-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.playlist-grid .content-card,
.cover-grid .content-card,
.extra-grid .content-card {
  min-height: 330px;
}

.playlist-grid .content-card a,
.playlist-grid .content-card .card-inner,
.cover-grid .content-card a,
.cover-grid .content-card .card-inner,
.extra-grid .content-card a,
.extra-grid .content-card .card-inner {
  min-height: 330px;
}

.playlist-grid .thumb,
.cover-grid .thumb,
.extra-grid .thumb {
  min-height: 210px;
}

.playlist-grid .content-card h3,
.cover-grid .content-card h3,
.extra-grid .content-card h3 {
  font-size: 1.18rem;
}

@keyframes water-transition-fade {
  0% {
    opacity: 0;
  }

  10%,
  66% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes water-transition-rise {
  0% {
    transform: translateY(108%);
  }

  45% {
    transform: translateY(8%);
  }

  65%,
  100% {
    transform: translateY(0);
  }
}

@keyframes water-transition-wave {
  from {
    transform: translateX(-2.5%) skewX(-1deg);
  }

  to {
    transform: translateX(2.5%) skewX(1deg);
  }
}

@keyframes water-transition-bubble {
  0%,
  22% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.72);
  }

  42% {
    opacity: 0.82;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--bubble-drift, 12px), -78vh, 0) scale(1.14);
  }
}

@keyframes water-transition-shine {
  0%,
  42%,
  100% {
    opacity: 0;
  }

  56% {
    opacity: 0.88;
    transform: translateX(24%);
  }
}

@keyframes sc-bgm-open {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes preloadSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloadGlow {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  42% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.26);
  }
}

@keyframes pageRise {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1000px) {
  .profile-layout,
  .clip-grid,
  .playlist-grid,
  .cover-grid,
  .extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-copy {
    align-self: start;
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .sc-bgm-player {
    top: 16px;
    left: 16px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
  }

  .home-logo,
  .top-nav {
    grid-column: 1;
  }

  .home-logo {
    width: min(176px, 54vw);
  }

  .top-nav {
    justify-content: center;
  }

  .page {
    padding-top: 134px;
    padding-bottom: 210px;
  }

  .profile-layout,
  .clip-grid,
  .playlist-grid,
  .cover-grid,
  .extra-grid {
    grid-template-columns: 1fr;
  }

  .vertical-note {
    display: none;
  }

  .profile-title-ko {
    font-size: clamp(4.2rem, 24vw, 7rem);
  }

  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-days {
    grid-template-columns: 1fr;
  }

  .duck-dock {
    right: 10px;
    left: 14px;
    bottom: 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    max-width: none;
    padding: 4px 4px 10px;
    scrollbar-width: none;
  }

  .duck-dock::-webkit-scrollbar {
    display: none;
  }

  .duck-button {
    min-width: 0;
    flex: 0 0 auto;
    min-width: 156px;
    min-height: 58px;
    padding-right: 22px;
    padding-left: 60px;
    font-size: 0.84rem;
  }

  .duck-button::before {
    left: 14px;
    top: 10px;
    width: 36px;
    height: 36px;
  }

  .duck-button::after {
    left: 8px;
    top: 26px;
    width: 19px;
    height: 10px;
  }

  .duck-button span::before {
    top: 20px;
    left: 37px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .water-transition-root,
  .water-transition-water,
  .water-transition-wave,
  .water-transition-shine,
  .water-transition-bubbles span,
  .preload-screen,
  .preload-screen::before,
  .preload-orb,
  .sc-bgm-pill,
  .sc-bgm-card {
    animation-duration: 220ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }

  .water-transition-bubbles span {
    display: none;
  }

  .water-transition-water {
    transform: translateY(0);
  }

  .sc-bgm-pill:hover {
    transform: none;
  }
}

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