:root {
  --pink-50: #fff3fa;
  --pink-100: #ffe1f1;
  --pink-200: #ffc4df;
  --pink-300: #ff9ac8;
  --pink-500: #ff66a8;
  --rose-700: #7f3d55;
  --ink: #4a3340;
  --mint: #bdf7e7;
  --sky: #bcecff;
  --lemon: #fff2a8;
  --lilac: #d7c2ff;
  --shadow: rgba(146, 58, 98, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--pink-50);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.gallery-stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.gallery-page {
  position: relative;
  z-index: 2;
  width: min(64rem, 100%);
}

.gallery-back {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  margin-bottom: 0.85rem;
  padding: 0.42rem 0.9rem;
  border: 3px solid rgba(97, 181, 220, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--rose-700);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0.25rem 0 rgba(97, 181, 220, 0.16);
}

.gallery-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 4px solid rgba(255, 102, 168, 0.38);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 240, 140, 0.48) 0 4.2rem, transparent 4.35rem),
    radial-gradient(circle at 90% 18%, rgba(188, 236, 255, 0.58) 0 4.8rem, transparent 4.95rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 242, 249, 0.88));
  box-shadow:
    inset 0 0 0 0.35rem rgba(255, 255, 255, 0.48),
    0 1rem 2.2rem rgba(146, 58, 98, 0.16);
  text-align: center;
}

.gallery-kicker {
  margin: 0 0 0.35rem;
  color: #3da7d8;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-shell h1 {
  margin: 0;
  color: #ff66a8;
  /* previous handwritten font: "Hachi Maru Pop", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif; */
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: clamp(2.05rem, 6vw, 4.1rem);
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-shadow:
    0 0.12rem 0 #fff,
    0 0.35rem 0 rgba(255, 154, 200, 0.2);
}

.gallery-copy {
  margin: 0.75rem auto 1.45rem;
  max-width: 31rem;
  color: #684053;
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  font-weight: 900;
  line-height: 1.7;
}

.gallery-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.65rem, 2vw, 1rem);
  max-width: 54rem;
  margin: 0 auto;
}

.gallery-art {
  position: relative;
  appearance: none;
  width: 100%;
  margin: 0;
  padding: clamp(0.28rem, 1vw, 0.42rem);
  border: 3px solid rgba(255, 102, 168, 0.34);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 0 0 0.16rem rgba(255, 255, 255, 0.6),
    0 0.38rem 0 rgba(255, 143, 189, 0.15);
  cursor: zoom-in;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.gallery-art:hover,
.gallery-art:focus-visible {
  transform: translateY(-0.18rem);
  box-shadow:
    inset 0 0 0 0.16rem rgba(255, 255, 255, 0.6),
    0 0.55rem 0 rgba(255, 143, 189, 0.25);
}

.gallery-art:focus-visible {
  outline: 3px solid #71c7ed;
  outline-offset: 3px;
}

.gallery-art::before {
  position: absolute;
  display: block;
  content: "";
  z-index: 1;
  left: 50%;
  top: -0.28rem;
  width: 2.1rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 240, 140, 0.88);
  box-shadow: 0 0.14rem 0 rgba(255, 196, 95, 0.28);
  transform: translateX(-50%) rotate(-4deg);
}

.gallery-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.52rem;
  object-fit: cover;
}

.gallery-art-wide {
  grid-column: span 2;
}

.gallery-lightbox {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.2rem);
  background: rgba(80, 34, 60, 0.84);
  cursor: zoom-out;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-image {
  display: block;
  max-width: min(92vw, 72rem);
  max-height: 88vh;
  border: clamp(0.3rem, 1vw, 0.48rem) solid #fff;
  border-radius: 0.72rem;
  background: #fff;
  box-shadow: 0 1rem 2.4rem rgba(40, 12, 27, 0.44);
  cursor: default;
}

.gallery-lightbox-close {
  position: absolute;
  z-index: 1;
  top: clamp(0.6rem, 2vw, 1.3rem);
  right: clamp(0.6rem, 2vw, 1.3rem);
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 3px solid rgba(255, 102, 168, 0.42);
  border-radius: 999px;
  background: #fff;
  color: #d84f93;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-mascots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gallery-mascot {
  position: absolute;
  z-index: 1;
  width: clamp(4.6rem, 10vw, 7.2rem);
  height: auto;
  filter: drop-shadow(0 0.32rem 0.32rem rgba(123, 66, 96, 0.14));
}

.gallery-mascot-hamster {
  left: clamp(0.2rem, 2vw, 1.2rem);
  bottom: clamp(0.25rem, 2vw, 1rem);
  transform: rotate(-10deg);
}

.gallery-mascot-pinkster {
  right: clamp(0.2rem, 2vw, 1.2rem);
  top: clamp(0.25rem, 2vw, 1rem);
  transform: rotate(9deg);
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    url("../background-pink-heisei-rainbow-clean-desktop-v1.webp"),
    #ffd8ea;
  background-attachment: scroll, fixed, scroll;
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: auto, cover, auto;
}

.stage::before,
.stage::after {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
}

.stage::before {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22) 0 24%, transparent 64%);
}

.stage::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 239, 248, 0.16));
}

.pattern {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 102, 168, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(125, 218, 206, 0.2) 0 2px, transparent 3px);
  background-position: 18px 22px, 52px 58px;
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
}

.rainbow {
  position: absolute;
  display: none;
  left: 50%;
  top: -13rem;
  z-index: 1;
  width: min(92rem, 138vw);
  height: min(46rem, 70vw);
  transform: translateX(-50%);
  pointer-events: none;
}

.arc {
  position: absolute;
  inset: 0;
  border-style: solid;
  border-bottom: 0;
  border-radius: 999rem 999rem 0 0;
  filter: drop-shadow(0 12px 0 rgba(255, 255, 255, 0.55));
}

.arc-1 {
  border-color: #ff88bd;
  border-width: 30px;
}

.arc-2 {
  inset: 30px;
  border-color: #ffcc72;
  border-width: 28px;
}

.arc-3 {
  inset: 58px;
  border-color: #fff280;
  border-width: 26px;
}

.arc-4 {
  inset: 84px;
  border-color: #9ee9cf;
  border-width: 24px;
}

.arc-5 {
  inset: 108px;
  border-color: #a9d9ff;
  border-width: 22px;
}

.cat-motif-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}

.cat-motif {
  position: absolute;
  display: block;
  width: var(--motif-size);
  height: auto;
  opacity: 0.78;
  filter: drop-shadow(0 0.65rem 1rem rgba(207, 90, 144, 0.16));
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.cat-motif.is-dragging,
.balloon.is-dragging,
.string-anchor.is-dragging {
  cursor: grabbing;
  opacity: 0.9;
}

.cat-motif-paw {
  --motif-size: clamp(3.4rem, 7vw, 6rem);
  left: clamp(0.8rem, 7vw, 7rem);
  top: clamp(8rem, 15vh, 11rem);
  transform: rotate(-10deg);
}

.cat-motif-ear-left {
  --motif-size: clamp(2.8rem, 5vw, 4.8rem);
  right: clamp(4.2rem, 13vw, 12rem);
  top: clamp(7.5rem, 14vh, 10rem);
  transform: rotate(10deg);
}

.cat-motif-ear-right {
  --motif-size: clamp(2.8rem, 5vw, 4.8rem);
  right: clamp(0.6rem, 5vw, 4rem);
  top: clamp(9.5rem, 18vh, 13rem);
  transform: rotate(18deg);
}

.cat-motif-tail {
  --motif-size: clamp(4rem, 8vw, 7rem);
  left: clamp(0.8rem, 5vw, 5.5rem);
  bottom: clamp(7rem, 16vh, 11rem);
  transform: rotate(9deg);
}

.cat-motif-whisker {
  --motif-size: clamp(4.8rem, 9vw, 8rem);
  right: clamp(0.7rem, 5vw, 5rem);
  bottom: clamp(9rem, 21vh, 14rem);
  transform: rotate(-7deg);
}

.cat-motif-bell {
  --motif-size: clamp(3.2rem, 5.6vw, 5rem);
  left: clamp(1.6rem, 13vw, 12rem);
  bottom: clamp(1.5rem, 6vh, 4rem);
  transform: rotate(-8deg);
}

.cat-motif-heart-frame {
  --motif-size: clamp(3.2rem, 5.8vw, 5.2rem);
  left: clamp(0.4rem, 3vw, 3rem);
  top: clamp(23rem, 46vh, 31rem);
  transform: rotate(8deg);
}

.cat-motif-ear-ribbon {
  --motif-size: clamp(4.2rem, 7vw, 6.4rem);
  right: clamp(0.2rem, 3vw, 2.8rem);
  bottom: clamp(1rem, 5vh, 3rem);
  transform: rotate(7deg);
}

.cat-motif-sparkle-small {
  --motif-size: clamp(2.1rem, 3.5vw, 3.1rem);
  left: clamp(10rem, 22vw, 18rem);
  top: clamp(12rem, 23vh, 17rem);
  transform: rotate(-8deg);
}

.cat-motif-sparkle-large {
  --motif-size: clamp(2.4rem, 4.4vw, 3.8rem);
  right: clamp(9rem, 20vw, 17rem);
  bottom: clamp(2rem, 8vh, 5rem);
  transform: rotate(10deg);
}

.cat-motif-accent-lines {
  --motif-size: clamp(2.4rem, 4vw, 3.6rem);
  right: clamp(1rem, 8vw, 7rem);
  top: clamp(26rem, 50vh, 34rem);
  transform: rotate(-11deg);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  padding: 1rem 1rem 1.4rem;
  place-items: start center;
}

h1 {
  position: relative;
  z-index: 4;
  margin: 0;
  text-align: center;
}

h1 {
  margin-top: 0.25rem;
  line-height: 1;
}

.logo-title {
  margin-top: clamp(1rem, 3vh, 2rem);
  width: min(28rem, 88vw);
}

.logo-title img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.45rem 0 rgba(255, 255, 255, 0.68)) drop-shadow(0 0.8rem 1rem rgba(197, 73, 128, 0.2));
}

.scene {
  position: relative;
  container-type: inline-size;
  width: min(31rem, 100%);
  aspect-ratio: 358 / 560;
  height: auto;
  min-height: 0;
  margin-top: 0.1rem;
}

.profile-peek {
  position: relative;
  z-index: 7;
  display: grid;
  justify-items: center;
  gap: 0.08rem;
  margin-top: clamp(-8rem, -14vh, -6rem);
  padding: 0.55rem 1rem 0.62rem;
  border: 3px solid rgba(97, 181, 220, 0.68);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(224, 248, 255, 0.96), rgba(255, 255, 255, 0.92) 48%, rgba(241, 255, 220, 0.9));
  color: #2f6f91;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 0.18rem rgba(255, 255, 255, 0.58),
    0 0.45rem 0 rgba(97, 181, 220, 0.2);
  animation: profile-peek-bounce 2.8s ease-in-out infinite;
}

.profile-peek::after {
  width: 0.7rem;
  height: 0.7rem;
  border-right: 3px solid #4fa9d2;
  border-bottom: 3px solid #4fa9d2;
  content: "";
  transform: rotate(45deg);
}

.profile-peek span {
  color: #2f8ebc;
  font-size: 1rem;
}

.profile-peek small {
  color: #4d7180;
  font-size: 0.72rem;
}

.strings,
.balloons,
.vtuber,
.hero-sidekicks {
  position: absolute;
}

.strings {
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.strings path {
  fill: none;
  stroke-width: 3.4;
  stroke-linecap: round;
}

.string-anchor {
  position: absolute;
  z-index: 8;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  transform: translate(-50%, -50%);
  touch-action: none;
}

.string-anchor-left {
  background: transparent;
}

.string-anchor-right {
  background: transparent;
}

.balloons {
  left: -5%;
  right: -5%;
  top: 0;
  z-index: 5;
  width: auto;
  height: 100%;
  pointer-events: none;
}

.balloon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  width: calc(22.5% / 1.1);
  aspect-ratio: 6.5 / 7.2;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 0.72rem;
  border: 3px solid rgba(117, 65, 84, 0.18);
  border-radius: 54% 46% 51% 49% / 48% 47% 53% 52%;
  background:
    radial-gradient(ellipse at 30% 22%, rgba(255, 255, 255, 0.42) 0 5%, rgba(255, 255, 255, 0.22) 6%, transparent 17%),
    radial-gradient(ellipse at 68% 75%, rgba(116, 55, 88, 0.1), transparent 44%),
    linear-gradient(145deg, color-mix(in srgb, var(--balloon-color) 72%, #fff 28%) 0%, var(--balloon-color) 58%, color-mix(in srgb, var(--balloon-color) 88%, #b96f93 12%) 100%);
  box-shadow:
    inset -0.42rem -0.62rem 0.75rem rgba(125, 62, 92, 0.1),
    inset 0.46rem 0.62rem 0.75rem rgba(255, 255, 255, 0.5);
  color: #684053;
  text-align: center;
  text-decoration: none;
  filter: drop-shadow(0 18px 22px rgba(169, 69, 109, 0.2));
  transform-origin: center 105%;
  animation: bob 4.4s ease-in-out infinite;
  animation-delay: var(--delay);
  cursor: pointer;
  pointer-events: auto;
  touch-action: auto;
}

.balloon::before {
  position: absolute;
  left: 25%;
  top: 18%;
  width: 18%;
  height: 9%;
  border-radius: 58% 42% 55% 45%;
  background: radial-gradient(ellipse at 42% 45%, rgba(255, 255, 255, 0.82) 0 42%, rgba(255, 255, 255, 0.38) 62%, transparent 100%);
  content: "";
  filter: blur(0.35px);
  transform: rotate(-32deg);
}

.balloon::after {
  position: absolute;
  bottom: -5.2%;
  left: 50%;
  width: 9%;
  height: 9%;
  border: 2px solid rgba(117, 65, 84, 0.14);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 28% 24% 36% 30%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.36), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--balloon-color) 94%, #fff 6%), color-mix(in srgb, var(--balloon-color) 90%, #b96f93 10%));
  content: "";
  box-shadow: inset -0.06rem -0.08rem 0.16rem rgba(125, 62, 92, 0.1);
  transform: translateX(-50%) rotate(45deg);
}

.balloon-label {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0.08rem 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: #684053;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: clamp(0.52rem, 2.45cqw, 0.66rem);
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  letter-spacing: 0;
}

.balloon-icon {
  position: relative;
  z-index: 1;
  display: block;
  justify-self: center;
  align-self: center;
  width: 68%;
  height: 54%;
  max-height: 54%;
  object-fit: contain;
  filter: drop-shadow(0 0.18rem 0 rgba(255, 255, 255, 0.66)) drop-shadow(0 0.22rem 0.2rem rgba(126, 62, 92, 0.16));
  pointer-events: none;
}

.balloon-wishlist .balloon-icon,
.balloon-booth .balloon-icon,
.balloon-fanart .balloon-icon,
.balloon-marshmallow .balloon-icon {
  width: 74%;
  height: 57%;
  max-height: 57%;
}

.balloon-twitter .balloon-icon,
.balloon-mail .balloon-icon {
  width: 70%;
  height: 54%;
  max-height: 54%;
}

.balloon:focus-visible {
  outline: 4px solid #ffeb75;
  outline-offset: 6px;
}

.balloon:hover {
  transform: translateY(-0.45rem) rotate(2deg) scale(1.04);
}

.balloon-youtube {
  left: 32.92% !important;
  top: 8.22% !important;
  --balloon-color: #ffadc8;
}

.balloon-wishlist {
  left: 3.08% !important;
  top: 34.99% !important;
  --balloon-color: #fff08c;
}

.balloon-booth {
  left: 16.53% !important;
  top: 20.34% !important;
  --balloon-color: #badfff;
}

.balloon-fanart {
  left: 79.29% !important;
  top: 39.74% !important;
  --balloon-color: #c7f5df;
}

.balloon-twitter {
  left: 54.28% !important;
  top: 10.72% !important;
  --balloon-color: #d9c2ff;
}

.balloon-mail {
  left: 68.85% !important;
  top: 23.47% !important;
  --balloon-color: #ffc6ff; /* メール用のパステルラベンダーピンク */
}

.balloon-marshmallow {
  left: 78.25% !important;
  top: 4.96% !important;
  --balloon-color: #ffd3eb; /* マシュマロ用の淡いパステルピンク（旧メール色） */
}

.vtuber {
  left: 50%;
  bottom: 8%;
  z-index: 3;
  width: 96%;
  max-width: 96%;
  height: auto;
  transform: translateX(-50%);
  filter: none;
  pointer-events: none;
}

.hero-sidekicks {
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-sidekick {
  position: absolute;
  width: var(--sidekick-size);
  transform: translate(-50%, -50%) rotate(var(--sidekick-tilt));
  transform-origin: 50% 90%;
  animation: sidekick-float 4.6s ease-in-out infinite;
  animation-delay: var(--sidekick-delay);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
}

.hero-sidekick.is-dragging {
  z-index: 7;
  cursor: grabbing;
}

.hero-sidekick img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.28rem 0.28rem rgba(123, 66, 96, 0.14));
}

.hero-sidekick-balloon {
  position: absolute;
  left: var(--sidekick-balloon-x);
  top: var(--sidekick-balloon-y);
  z-index: 1;
  display: block;
  width: 28%;
  aspect-ratio: 0.86;
  border: 2px solid rgba(117, 65, 84, 0.16);
  border-radius: 52% 48% 50% 50% / 47% 47% 54% 53%;
  background:
    radial-gradient(ellipse at 31% 22%, rgba(255, 255, 255, 0.78) 0 12%, transparent 22%),
    linear-gradient(145deg, color-mix(in srgb, var(--sidekick-balloon-color) 68%, #fff 32%), var(--sidekick-balloon-color));
  box-shadow:
    inset -0.18rem -0.25rem 0.35rem rgba(125, 62, 92, 0.12),
    inset 0.18rem 0.22rem 0.32rem rgba(255, 255, 255, 0.48);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.hero-sidekick-balloon::after {
  position: absolute;
  left: 50%;
  bottom: -7%;
  width: 16%;
  height: 14%;
  border-radius: 26% 28% 36% 28%;
  background: color-mix(in srgb, var(--sidekick-balloon-color) 88%, #fff 12%);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.hero-sidekick-string {
  position: absolute;
  left: calc(var(--sidekick-balloon-x) + var(--sidekick-string-offset-x, 14%));
  top: calc(var(--sidekick-balloon-y) + var(--sidekick-string-offset-y, 34.84%));
  z-index: 3;
  display: block;
  width: 1px;
  height: var(--sidekick-string-height);
  background: color-mix(in srgb, var(--sidekick-balloon-color) 74%, #a45f82 26%);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transform: rotate(var(--sidekick-string-tilt));
  transform-origin: top center;
}

.hero-sidekick-string::before {
  position: absolute;
  inset: -0.6rem;
  content: "";
}

.hero-sidekick-balloon.is-dragging,
.hero-sidekick-string.is-dragging {
  cursor: grabbing;
}

.hero-sidekick-hamster {
  --sidekick-size: 31.5%;
  --sidekick-tilt: -8deg;
  --sidekick-delay: -0.6s;
  --sidekick-balloon-color: #fff08c;
  --sidekick-balloon-x: 16.14%;
  --sidekick-balloon-y: -30.48%;
  --sidekick-string-offset-x: 12.45%;
  --sidekick-string-offset-y: 30.92%;
  --sidekick-string-height: 58%;
  --sidekick-string-tilt: -8deg;
  left: 15.73%;
  top: 78%;
}

.hero-sidekick-whitester {
  --sidekick-size: 30%;
  --sidekick-tilt: 5deg;
  --sidekick-delay: -1.9s;
  --sidekick-balloon-color: #badfff;
  --sidekick-balloon-x: 50.33%;
  --sidekick-balloon-y: -46.33%;
  --sidekick-string-offset-x: 13.93%;
  --sidekick-string-offset-y: 34.68%;
  --sidekick-string-height: 62%;
  --sidekick-string-tilt: 5deg;
  left: 84.98%;
  top: 78.36%;
}

.hero-sidekick-pinkster {
  --sidekick-size: 30%;
  --sidekick-tilt: 9deg;
  --sidekick-delay: -2.8s;
  --sidekick-balloon-color: #ffadc8;
  --sidekick-balloon-x: 15.52%;
  --sidekick-balloon-y: -20.66%;
  --sidekick-string-offset-x: 13.95%;
  --sidekick-string-offset-y: 34.67%;
  --sidekick-string-height: 33%;
  --sidekick-string-tilt: 8deg;
  left: 54.04%;
  top: 36.11%;
}

@keyframes sidekick-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -0.28rem;
  }
}

.office-assistant {
  position: fixed;
  right: clamp(0.9rem, 3vw, 2.2rem);
  bottom: clamp(0.8rem, 3vw, 2rem);
  z-index: 8;
  width: min(17rem, 42vw);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 0.8rem 1rem rgba(118, 68, 91, 0.18));
  transition:
    opacity 0.62s ease,
    transform 0.62s ease,
    visibility 0.62s ease;
}

.office-assistant img {
  display: block;
  width: 100%;
  height: auto;
}

.office-assistant:hover {
  transform: translateY(-0.2rem);
}

.office-assistant.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem) scale(0.96);
}

.profile-zone {
  position: relative;
  z-index: 3;
  padding: 3rem 1rem 5rem;
}

.profile-book {
  position: relative;
  width: min(62rem, 100%);
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem) clamp(2.5rem, 5vw, 4.2rem);
  border: 4px solid rgba(97, 181, 220, 0.72);
  border-radius: 1.2rem 1.2rem 2.4rem 1.2rem;
  background:
    radial-gradient(circle at 18% 22%, rgba(61, 167, 216, 0.08) 0 1px, transparent 2px) 0 0 / 13px 15px,
    radial-gradient(circle at 72% 64%, rgba(255, 102, 168, 0.06) 0 1px, transparent 2px) 0 0 / 17px 19px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 100%) 0 0 / 2.6rem 2.6rem,
    url("../profile-sky-cloud-rainbow-simple-v1.webp") center / cover no-repeat,
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1.2rem 2.4rem rgba(119, 80, 116, 0.2),
    inset 0 0 0 0.55rem rgba(255, 255, 255, 0.52),
    inset 0.08rem -0.08rem 0 rgba(57, 154, 202, 0.18);
}

.profile-book::before {
  position: absolute;
  content: "";
  inset: 0.7rem;
  border: 3px dashed rgba(255, 102, 168, 0.42);
  border-radius: 0.8rem 0.8rem 1.8rem 0.8rem;
  pointer-events: none;
  filter: drop-shadow(0.04rem 0.04rem 0 rgba(255, 255, 255, 0.64));
}

.binder-holes {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  z-index: 1;
  display: grid;
  height: min(72%, 44rem);
  align-content: space-between;
  transform: translateY(-50%);
}

.binder-holes span {
  display: block;
  width: clamp(1rem, 2.8vw, 1.45rem);
  aspect-ratio: 1;
  border: 3px solid rgba(57, 154, 202, 0.72);
  border-radius: 999px;
  background: #fff;
  box-shadow:
    inset 0 0 0 0.18rem rgba(211, 244, 255, 0.8),
    0.06rem 0.05rem 0 rgba(57, 154, 202, 0.16);
}

.profile-character-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.profile-character {
  position: absolute;
  display: block;
  width: var(--profile-character-size);
  height: auto;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  filter: drop-shadow(0 0.45rem 0.65rem rgba(87, 143, 172, 0.22));
}

.profile-character.is-dragging {
  cursor: grabbing;
  opacity: 0.9;
}

.profile-character-hamster {
  --profile-character-size: clamp(4.4rem, 9vw, 7.2rem);
  left: 0%;
  top: 87.5%;
  right: auto;
  bottom: auto;
  transform: rotate(-8deg);
}

.profile-character-bear {
  --profile-character-size: clamp(4.4rem, 8.4vw, 6.8rem);
  left: 58.17%;
  top: 0.805%;
  right: auto;
  bottom: auto;
  transform: rotate(7deg);
}

.profile-character-cat {
  --profile-character-size: clamp(4.4rem, 8.8vw, 7rem);
  left: 57.31%;
  top: 65.54%;
  right: auto;
  bottom: auto;
  transform: rotate(8deg);
}

.profile-decor-layer {
  position: absolute;
  inset: 0;
  z-index: 19;
  overflow: hidden;
  pointer-events: none;
}

.profile-decor {
  position: absolute;
  display: block;
  width: var(--profile-decor-size);
  height: auto;
  cursor: grab;
  opacity: 0.92;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  filter:
    drop-shadow(0.05rem 0.06rem 0 rgba(255, 255, 255, 0.74))
    drop-shadow(0 0.35rem 0.45rem rgba(87, 143, 172, 0.15));
}

.profile-decor.is-dragging {
  z-index: 21;
  cursor: grabbing;
  opacity: 1;
}

.profile-decor-shooting-star {
  --profile-decor-size: clamp(4rem, 9vw, 6.8rem);
  left: 33.815%;
  top: 2.2%;
  transform: rotate(-10deg);
}

.profile-decor-music-note {
  --profile-decor-size: clamp(2.8rem, 6vw, 4.5rem);
  left: 87%;
  top: 30.93%;
  right: auto;
  bottom: auto;
  transform: rotate(9deg);
}

.profile-decor-double-notes {
  --profile-decor-size: clamp(2.6rem, 5.4vw, 4.2rem);
  visibility: hidden;
  left: -36.64%;
  top: -80.85%;
  pointer-events: none;
  transform: none;
}

.profile-decor-star-charm {
  --profile-decor-size: clamp(3.3rem, 6.4vw, 5rem);
  left: 87.37%;
  top: 41.67%;
  right: auto;
  bottom: auto;
  transform: rotate(8deg);
}

.profile-decor-crayon-sparkle {
  --profile-decor-size: clamp(2.8rem, 5.8vw, 4.5rem);
  left: 92.74%;
  top: 0.01%;
  transform: rotate(6deg);
}

.profile-decor-cloud-rainbow {
  --profile-decor-size: clamp(5.2rem, 11vw, 8rem);
  left: 47.48%;
  top: 59.91%;
  transform: rotate(-3deg);
}

.profile-decor-rainbow-heart {
  --profile-decor-size: clamp(3.5rem, 6.4vw, 5.2rem);
  left: 63.24%;
  top: 61.775%;
  right: auto;
  bottom: auto;
  transform: rotate(5deg);
}

.profile-decor-glossy-star {
  --profile-decor-size: clamp(3rem, 6vw, 4.8rem);
  visibility: hidden;
  left: 50.3%;
  top: 61.13%;
  right: auto;
  bottom: auto;
  pointer-events: none;
  transform: rotate(-8deg);
}

.profile-decor-candy-flower {
  --profile-decor-size: clamp(3.5rem, 6.8vw, 5.5rem);
  visibility: hidden;
  left: -36.64%;
  top: -80.85%;
  right: auto;
  bottom: auto;
  pointer-events: none;
  transform: none;
}

.profile-decor-dotted-swirl {
  --profile-decor-size: clamp(4rem, 7.6vw, 6.2rem);
  visibility: hidden;
  left: -36.64%;
  top: -80.85%;
  right: auto;
  bottom: auto;
  pointer-events: none;
  transform: none;
}

.profile-decor-pastel-ribbon {
  --profile-decor-size: clamp(3.5rem, 6.8vw, 5.6rem);
  left: 51.6%;
  top: 12.72%;
  right: auto;
  bottom: auto;
  transform: rotate(7deg);
}

.profile-decor-rainbow-corner {
  --profile-decor-size: clamp(5.2rem, 10vw, 8.5rem);
  left: 86.29%;
  top: 88.15%;
  right: auto;
  bottom: auto;
  transform: rotate(2deg);
}

.profile-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.6rem 1rem;
  padding-bottom: 0.9rem;
}

.profile-kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: #ff66a8;
  font-size: 0.82rem;
  font-weight: 900;
  text-shadow: 0.04rem 0.04rem 0 rgba(255, 255, 255, 0.9), -0.03rem 0.02rem 0 rgba(255, 102, 168, 0.18);
}

.profile-header h2 {
  margin: 0;
  color: #3da7d8;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 0.95;
  text-shadow:
    0 3px 0 #fff,
    0.08rem 0.06rem 0 rgba(61, 167, 216, 0.16),
    -0.04rem 0.03rem 0 rgba(255, 102, 168, 0.14),
    0 0.35rem 0 rgba(255, 154, 200, 0.2);
}

.profile-date {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 3px solid rgba(97, 181, 220, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #4a3340;
  font-weight: 900;
  text-shadow: 0.04rem 0.04rem 0 rgba(255, 255, 255, 0.85);
}

.profile-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.profile-panel {
  position: relative;
  min-width: 0;
  padding: 1rem;
  border: 3px solid rgba(97, 181, 220, 0.44);
  border-radius: 0.8rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(61, 167, 216, 0.06) 0 1px, transparent 2px) 0 0 / 12px 14px,
    rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 0 0 0.25rem rgba(255, 255, 255, 0.45),
    0.08rem 0.1rem 0 rgba(57, 154, 202, 0.12);
}

.profile-panel h3 {
  margin: 0 0 0.75rem;
  color: #ff66a8;
  font-size: 1.15rem;
  line-height: 1.1;
  text-shadow: 0 2px 0 #fff, 0.06rem 0.04rem 0 rgba(255, 102, 168, 0.16);
}

.profile-main {
  grid-row: span 2;
}

.profile-sentences {
  display: grid;
  gap: 0.6rem 0.8rem;
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
  font-weight: 900;
  line-height: 1.75;
}

.profile-sentences p {
  margin: 0;
  color: var(--profile-line-color);
  text-shadow:
    -0.07rem -0.07rem 0 #fff,
    0.07rem -0.07rem 0 #fff,
    -0.07rem 0.07rem 0 #fff,
    0.07rem 0.07rem 0 #fff,
    0 0.11rem 0 rgba(255, 255, 255, 0.9);
}

.profile-sentences p:nth-child(6n + 1) {
  --profile-line-color: #e188a9;
}

.profile-sentences p:nth-child(6n + 2) {
  --profile-line-color: #e3b254;
}

.profile-sentences p:nth-child(6n + 3) {
  --profile-line-color: #67b0d8;
}

.profile-sentences p:nth-child(6n + 4) {
  --profile-line-color: #99bc67;
}

.profile-sentences p:nth-child(6n + 5) {
  --profile-line-color: #c498bf;
}

.profile-sentences p:nth-child(6n) {
  --profile-line-color: #db8ea9;
}

.fill-in {
  display: inline-block;
  min-width: 7.2em;
  margin: 0 0.18rem;
  padding: 0 0.42rem 0.04rem;
  border-bottom: 5px dotted rgba(61, 167, 216, 0.58);
  color: inherit;
  font-family: "Yusei Magic", "Yomogi", "Hannotate SC", "HanziPen SC", "Tsukushi A Round Gothic", cursive;
  font-size: 1.12em;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0;
  text-align: center;
  text-shadow: inherit;
  transform: rotate(-1deg);
}

.profile-sentences p:nth-child(2n) .fill-in {
  transform: rotate(0.8deg);
}

.profile-id p {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  font-weight: 900;
}

.profile-avatar {
  display: grid;
  width: min(10rem, 100%);
  aspect-ratio: 1;
  margin: 0 auto 0.6rem;
  place-items: center;
  border: 0.55rem solid #fff;
  border-radius: 0.6rem;
  background: #ffe9f5;
  box-shadow: 0 0 0 2px rgba(97, 181, 220, 0.42);
}

.profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.25rem;
  object-fit: cover;
}

.radar-card {
  position: relative;
  width: min(14rem, 100%);
  min-height: 13.75rem;
  margin: 0 auto;
}

.radar-card svg {
  display: block;
  width: 100%;
  margin: 0;
  overflow: visible;
}

.radar-bg {
  fill: url("#radar-rainbow");
  opacity: 0.44;
  stroke: rgba(61, 167, 216, 0.34);
  stroke-width: 2;
}

.radar-bg-2 {
  opacity: 0.34;
}

.radar-bg-3 {
  opacity: 0.24;
}

.radar-line {
  fill: rgba(255, 102, 168, 0.14);
  stroke: #7f3d55;
  stroke-linejoin: round;
  stroke-width: 3;
}

.radar-card circle {
  fill: #fff;
  stroke: #ff66a8;
  stroke-width: 3;
}

.radar-label {
  position: absolute;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: #fff;
  color: #7f3d55;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 0.25rem 0.5rem rgba(146, 58, 98, 0.12);
}

.radar-label-1 {
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}

.radar-label-2 {
  left: calc(85.45% + 0.35rem);
  top: 32.5%;
  transform: translateY(-50%);
}

.radar-label-3 {
  left: calc(70.9% + 0.35rem);
  top: 73%;
  transform: translateY(-50%);
}

.radar-label-4 {
  right: calc(70.9% + 0.35rem);
  top: 73%;
  transform: translateY(-50%);
}

.radar-label-5 {
  right: calc(85.45% + 0.35rem);
  top: 32.5%;
  transform: translateY(-50%);
}

.profile-best {
  grid-column: 1 / -1;
}

.best-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  color: #4a3340;
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}

.best-list li {
  --best-accent: #ff8fbd;
  --best-accent-soft: rgba(255, 143, 189, 0.18);
  display: grid;
  grid-template-rows: auto repeat(3, minmax(2.8rem, 1fr));
  gap: 0.48rem;
  min-width: 0;
  padding: 0.65rem;
  border: 3px solid color-mix(in srgb, var(--best-accent) 58%, #fff 42%);
  border-radius: 0.65rem;
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--best-accent) 22%, transparent) 0 1.8rem, transparent 1.9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), color-mix(in srgb, var(--best-accent) 10%, #fff 90%));
  box-shadow:
    inset 0 0 0 0.18rem rgba(255, 255, 255, 0.62),
    0 0.42rem 0 color-mix(in srgb, var(--best-accent) 24%, transparent);
}

.best-list li:nth-child(2) {
  --best-accent: #71c7ed;
}

.best-list li:nth-child(3) {
  --best-accent: #ffc85f;
}

.best-list span {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.62rem;
  border: 2px solid rgba(97, 181, 220, 0.28);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.72);
  color: #4a3340;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 0.18rem 0 rgba(97, 181, 220, 0.12);
}

.best-category {
  min-height: 2.45rem;
  border-color: transparent;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--best-accent) 82%, #fff 18%), color-mix(in srgb, var(--best-accent) 58%, #fff 42%));
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
  text-shadow: 0 0.08rem 0 color-mix(in srgb, var(--best-accent) 72%, #6e3d56 28%);
  box-shadow: 0 0.24rem 0 color-mix(in srgb, var(--best-accent) 28%, transparent);
}

.best-list .best-item {
  position: relative;
  justify-content: flex-start;
  padding-left: 2rem;
  font-family: "Yusei Magic", "Yomogi", "Hannotate SC", "HanziPen SC", "Tsukushi A Round Gothic", cursive;
  font-size: 1.12rem;
  font-weight: 800;
  text-align: left;
}

.best-list .best-item::before {
  display: inline-grid;
  position: absolute;
  left: 0.58rem;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 999px;
  background: var(--best-accent);
  color: #fff;
  content: "";
  font-size: 0.68rem;
  line-height: 1;
}

.best-list .best-item:nth-child(2)::before {
  content: "1";
}

.best-list .best-item:nth-child(3)::before {
  content: "2";
}

.best-list .best-item:nth-child(4)::before {
  content: "3";
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-0.7rem) rotate(1.8deg);
  }
}

@keyframes profile-peek-bounce {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 0.28rem;
  }
}

@media (max-width: 760px) {
  .gallery-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
      url("../background-pink-heisei-rainbow-clean-mobile-v1.webp"),
      linear-gradient(180deg, #ffe6f1, #ffd3e8);
    background-position: center, center, center;
    background-size: auto, cover, auto;
  }

  .cat-motif-paw {
    --motif-size: 3.9rem;
    left: 0.65rem;
    top: 9.2rem;
  }

  .cat-motif-ear-left {
    --motif-size: 3.2rem;
    right: 2.8rem;
    top: 10rem;
  }

  .cat-motif-ear-right {
    --motif-size: 3rem;
    right: 0.1rem;
    top: 12.5rem;
  }

  .cat-motif-tail {
    --motif-size: 4.8rem;
    left: -1.1rem;
    bottom: 9.8rem;
  }

  .cat-motif-whisker {
    --motif-size: 5.3rem;
    right: -0.5rem;
    bottom: 13.2rem;
  }

  .cat-motif-bell {
    --motif-size: 3.3rem;
    left: 0.8rem;
    bottom: 1rem;
  }

  .cat-motif-heart-frame {
    --motif-size: 3.4rem;
    left: -0.4rem;
    top: 27rem;
  }

  .cat-motif-ear-ribbon {
    --motif-size: 4.1rem;
    right: -0.7rem;
    bottom: 1.3rem;
  }

  .cat-motif-sparkle-small {
    --motif-size: 2.3rem;
    left: 6.3rem;
    top: 13.8rem;
  }

  .cat-motif-sparkle-large {
    --motif-size: 2.8rem;
    right: 5.2rem;
    bottom: 3.3rem;
  }

  .cat-motif-accent-lines {
    --motif-size: 2.9rem;
    right: 0.2rem;
    top: 35rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 0.75rem;
  }

  .rainbow {
    top: -6rem;
    width: 58rem;
    height: 29rem;
  }

  .arc-1 {
    border-width: 20px;
  }

  .arc-2 {
    inset: 20px;
    border-width: 18px;
  }

  .arc-3 {
    inset: 38px;
    border-width: 17px;
  }

  .arc-4 {
    inset: 55px;
    border-width: 16px;
  }

  .arc-5 {
    inset: 71px;
    border-width: 15px;
  }

  h1 {
    margin-top: 0.15rem;
  }

  .logo-title {
    margin-top: 1.35rem;
    width: min(21.5rem, 88vw);
  }

  .scene {
    width: min(31rem, 100%);
  }

  .balloon-youtube {
    left: 33.43% !important;
    top: 9.82% !important;
  }

  .balloon-wishlist {
    left: 3.08% !important;
    top: 34.90% !important;
  }

  .balloon-booth {
    left: 16.50% !important;
    top: 20.30% !important;
  }

  .balloon-fanart {
    left: 79.17% !important;
    top: 39.65% !important;
  }

  .balloon-twitter {
    left: 54.19% !important;
    top: 10.69% !important;
  }

  .balloon-mail {
    left: 68.73% !important;
    top: 23.41% !important;
  }

  .balloon-marshmallow {
    left: 78.25% !important;
    top: 4.96% !important;
  }

  .profile-peek {
    margin-top: -1rem;
    padding: 0.48rem 0.86rem 0.54rem;
  }

  .profile-peek span {
    font-size: 0.92rem;
  }

  .profile-peek small {
    font-size: 0.66rem;
  }

  .strings {
    transform: translateY(0.1rem);
  }

  .strings path {
    stroke-width: 5;
  }

  .office-assistant {
    right: 0.55rem;
    bottom: 0.6rem;
    width: min(13rem, 48vw);
  }

  .profile-zone {
    padding: 2rem 0.72rem 4rem;
  }

  .profile-book {
    padding: 1.1rem 0.85rem 1.2rem 2.35rem;
    border-radius: 0.9rem 0.9rem 1.6rem 0.9rem;
  }

  .profile-character-hamster {
    --profile-character-size: 4.6rem;
    left: 10.3%;
    top: 64.89%;
    right: auto;
    bottom: auto;
  }

  .profile-character-bear {
    --profile-character-size: 4.4rem;
    left: 69.83%;
    top: 3.47%;
    right: auto;
    bottom: auto;
  }

  .profile-character-cat {
    --profile-character-size: 4.7rem;
    left: 75.84%;
    top: 78.91%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-shooting-star {
    --profile-decor-size: 4.6rem;
    left: 49.69%;
    top: 1.03%;
  }

  .profile-decor-music-note {
    --profile-decor-size: 3.4rem;
    left: 71.03%;
    top: 56.23%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-double-notes {
    --profile-decor-size: 3.2rem;
    left: -0.77%;
    top: -24.04%;
  }

  .profile-decor-star-charm {
    --profile-decor-size: 3.4rem;
    left: 75.22%;
    top: 63.11%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-crayon-sparkle {
    --profile-decor-size: 3rem;
    left: 83.03%;
    top: 0.47%;
  }

  .profile-decor-cloud-rainbow {
    --profile-decor-size: 5.2rem;
    left: 74.6%;
    top: 42.52%;
  }

  .profile-decor-rainbow-heart {
    --profile-decor-size: 3.4rem;
    left: 10.73%;
    top: 75.00%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-glossy-star {
    --profile-decor-size: 3.2rem;
    left: 72.47%;
    top: 64.36%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-candy-flower {
    --profile-decor-size: 3.2rem;
    left: -0.77%;
    top: -24.04%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-dotted-swirl {
    --profile-decor-size: 4.2rem;
    left: 39.75%;
    top: 41.56%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-pastel-ribbon {
    --profile-decor-size: 3.6rem;
    left: 78.24%;
    top: 9.09%;
    right: auto;
    bottom: auto;
  }

  .profile-decor-rainbow-corner {
    --profile-decor-size: 5.6rem;
    left: 75.33%;
    top: 93.64%;
    right: auto;
    bottom: auto;
  }

  .binder-holes {
    left: 0.65rem;
    top: 50%;
    height: min(74%, 52rem);
    gap: 0;
  }

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

  .profile-date {
    justify-self: start;
    font-size: 0.78rem;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .profile-main,
  .profile-best {
    grid-column: auto;
    grid-row: auto;
  }

  .profile-panel {
    padding: 0.85rem;
  }

  .profile-sentences {
    gap: 0.74rem;
    font-size: 0.95rem;
  }

  .fill-in {
    min-width: 6.2em;
    padding-inline: 0.24rem;
  }

  .radar-card {
    min-height: 13.5rem;
  }

  .hero-sidekick-hamster {
    --sidekick-balloon-x: 16.26%;
    --sidekick-balloon-y: -32.56%;
    --sidekick-string-offset-x: 14.12%;
    --sidekick-string-offset-y: 35.10%;
    left: 15.7%;
    top: 79.06%;
  }

  .hero-sidekick-whitester {
    --sidekick-balloon-x: 49.13%;
    --sidekick-balloon-y: -41.9%;
    --sidekick-string-offset-x: 14.13%;
    --sidekick-string-offset-y: 35.19%;
    left: 84.98%;
    top: 78.49%;
  }

  .hero-sidekick-pinkster {
    --sidekick-balloon-x: 19.37%;
    --sidekick-balloon-y: -27.98%;
    --sidekick-string-offset-x: 14.14%;
    --sidekick-string-offset-y: 35.14%;
    left: 53.45%;
    top: 36.38%;
  }

  .best-list {
    grid-template-columns: 1fr;
    gap: 0.72rem;
    font-size: 0.95rem;
  }

  .best-list li {
    grid-template-columns: minmax(4.8rem, 0.72fr) repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
    align-items: stretch;
    gap: 0.38rem;
    padding: 0.52rem;
  }

  .best-list span {
    min-height: 3.25rem;
    padding: 0.48rem 0.42rem;
  }

  .best-category {
    min-height: 3.25rem;
    font-size: 0.9rem;
  }

  .best-list .best-item {
    justify-content: center;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    text-align: center;
  }

  .best-list .best-item::before {
    left: 0.34rem;
    width: 0.78rem;
    height: 0.78rem;
    font-size: 0.56rem;
  }
}

@media (max-width: 420px) {
  .gallery-board {
    grid-template-columns: 1fr;
  }

  .gallery-art-wide {
    grid-column: auto;
  }

  .vtuber {
    width: 25rem;
  }
}
