/* =========================================================
   璃猫点歌簿 · 樱花主题覆盖
   在 styles.css 之后加载，专门服务新的角色物料与视觉。
   ========================================================= */

:root {
  --bg-image: url("assets/bg-limao.svg");
  --sky: #eaf8ff;
  --sky-deep: #bfe6f7;
  --sakura: #f6b3ca;
  --sakura-soft: #ffe5ee;
  --gold: #c89a51;
  --gold-light: #f5dfad;
  --ink: #402c39;
  --ink-soft: #70505d;
  --rose: #d66b8f;
  --rose-deep: #a64768;
  --paper: rgba(255, 251, 248, 0.78);
  --line: rgba(150, 91, 112, 0.14);
}

body {
  background: #e9f6fc;
}

.site-bg {
  overflow: hidden;
}

html {
  overflow-x: clip;
}

::selection {
  color: #fff;
  background: #c86184;
}

.site-header {
  background: linear-gradient(180deg, rgba(247, 253, 255, 0.9), rgba(255, 245, 250, 0.58));
  border-bottom-color: rgba(166, 116, 130, 0.12);
}

.site-header.is-scrolled {
  background: rgba(250, 253, 255, 0.82);
  box-shadow: 0 10px 35px rgba(77, 91, 120, 0.08);
}

.brand__mark--avatar {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 2px solid rgba(216, 177, 105, 0.72);
  box-shadow: 0 5px 16px rgba(107, 68, 84, 0.14), inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.brand__mark--avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.header-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  flex: 0 1 auto;
}

.bili-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bili-link {
  position: relative;
  display: inline-flex;
  height: 29px;
  padding: 0 9px;
  align-items: center;
  gap: 5px;
  color: #347b91;
  background: rgba(255, 252, 249, 0.58);
  border: 1px solid rgba(0, 164, 210, 0.22);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.bili-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.bili-link:hover {
  color: #007e9f;
  background: rgba(230, 249, 255, 0.86);
  border-color: rgba(0, 164, 210, 0.38);
  transform: translateY(-1px);
}

.bili-link--live {
  color: #b95b75;
  border-color: rgba(217, 107, 138, 0.24);
}

.bili-link--live:hover {
  color: #b44363;
  background: rgba(255, 238, 244, 0.9);
  border-color: rgba(217, 107, 138, 0.4);
}

.bili-link--live::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 1px;
  background: #eb5e7f;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(235, 94, 127, 0.14);
}

@media (max-width: 1100px) {
  .bili-link {
    width: 29px;
    padding: 0;
    justify-content: center;
  }

  .bili-link span {
    display: none;
  }

  .bili-link--live::after {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 3px;
    height: 3px;
    margin: 0;
  }
}

@media (max-width: 820px) {
  .header-left {
    gap: 8px;
  }

  .bili-links {
    flex-direction: column;
    gap: 3px;
  }

  .bili-link {
    position: relative;
    width: 28px;
    height: 28px;
    border-width: 1px;
  }

  .bili-link svg {
    width: 14px;
    height: 14px;
  }

  .bili-link--live::after {
    top: 2px;
    right: 2px;
  }
}

.rail {
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(173, 101, 122, 0.3) transparent;
}

.rail::-webkit-scrollbar {
  width: 5px;
}

.rail::-webkit-scrollbar-thumb {
  background: rgba(173, 101, 122, 0.28);
  border-radius: 999px;
}

.main-nav a {
  position: relative;
}

.main-nav a:nth-child(2)::after {
  content: "♡";
  position: absolute;
  top: -11px;
  right: -10px;
  color: #e28aa8;
  font-size: 9px;
  transform: rotate(10deg);
}

/* ---------- Hero ---------- */

.hero::before {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, rgba(255, 245, 250, 0.28) 52%, transparent 72%);
}

.hero-stage {
  position: relative;
  display: flex;
  min-height: 640px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
}

.hero-stage__sun {
  position: absolute;
  top: 4%;
  right: 0;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 246, 206, 0.9), rgba(255, 229, 239, 0.55) 42%, transparent 70%);
  border-radius: 50%;
  filter: blur(12px);
  z-index: -2;
}

.hero-stage__orbit {
  position: absolute;
  top: 12%;
  right: -1%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  transform: rotate(-16deg);
  z-index: -1;
}

.hero-stage__orbit::before,
.hero-stage__orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(214, 176, 111, 0.24);
  border-radius: 50%;
}

.hero-stage__orbit::before {
  inset: 24px;
}

.hero-stage__orbit::after {
  inset: 56px;
  border-style: dashed;
}

.hero-portrait {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  padding: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 239, 246, 0.85));
  border: 1px solid rgba(211, 170, 99, 0.55);
  border-radius: 38px;
  box-shadow: 0 36px 80px rgba(109, 68, 87, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.62) inset;
  transform: rotate(0.7deg);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  pointer-events: none;
  z-index: 3;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 29px;
}

.hero-portrait__shine {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 55%;
  height: 45%;
  background: radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.42), transparent 68%);
  border-radius: 30px;
  pointer-events: none;
}

.hero-portrait__tag {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 4;
  padding: 6px 10px;
  color: #7b5365;
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.16em;
  backdrop-filter: blur(8px);
}

.hero-portrait__seal {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 4;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff9f5;
  background: rgba(197, 100, 131, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.hero-portrait__caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 4;
  padding: 8px 13px;
  color: #fffdfb;
  background: rgba(74, 48, 59, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  backdrop-filter: blur(9px);
}

.hero-stage__cat {
  position: absolute;
  bottom: 8px;
  left: -18px;
  z-index: 4;
  width: 150px;
  height: 150px;
  object-fit: cover;
  background: #fff;
  border: 7px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(93, 54, 71, 0.18);
  transform: rotate(-7deg);
  animation: limao-float 5.5s ease-in-out infinite;
}

.hero-stage__sticker {
  position: absolute;
  z-index: 5;
  width: 86px;
  height: 86px;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(99, 55, 72, 0.16);
}

.hero-stage__sticker--one {
  top: 36px;
  left: -24px;
  transform: rotate(-9deg);
  animation: limao-float 6.5s ease-in-out infinite 0.4s;
}

.hero-stage__sticker--two {
  right: -25px;
  bottom: 135px;
  width: 74px;
  height: 74px;
  transform: rotate(8deg);
  animation: limao-float 5.8s ease-in-out infinite 0.9s;
}

.hero-stage .hero__sticker--top {
  top: 4%;
  right: -4%;
  z-index: 6;
  background: rgba(255, 252, 249, 0.86);
  border-color: rgba(215, 174, 99, 0.36);
}

.hero-stage .hero__sticker--bottom {
  right: 0;
  bottom: 4%;
  left: auto;
  z-index: 6;
  background: rgba(255, 252, 249, 0.82);
}

.hero-stage__note {
  position: absolute;
  top: 14%;
  right: 6%;
  z-index: 1;
  color: rgba(199, 145, 92, 0.42);
  font-family: var(--serif);
  font-size: 70px;
  line-height: 1;
  transform: rotate(12deg);
}

@keyframes limao-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

/* ---------- Character / materials ---------- */

.limao {
  position: relative;
  z-index: 2;
  padding: 0 0 96px;
}

.limao__inner {
  position: relative;
  display: grid;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 54px 54px 38px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 96% 0%, rgba(185, 227, 247, 0.5), transparent 62%),
    radial-gradient(50% 70% at 0% 100%, rgba(255, 213, 228, 0.42), transparent 65%),
    rgba(255, 253, 250, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 36px;
  box-shadow: 0 34px 80px rgba(87, 103, 122, 0.11);
  backdrop-filter: blur(16px);
  grid-template-columns: 0.64fr 1.36fr;
  gap: 48px;
}

.limao__inner::before {
  content: "♡";
  position: absolute;
  right: 32px;
  bottom: -30px;
  color: rgba(205, 117, 145, 0.08);
  font-family: var(--serif);
  font-size: 260px;
  line-height: 1;
  pointer-events: none;
}

.limao__intro {
  position: relative;
  z-index: 1;
  align-self: center;
}

.limao__intro h2 {
  margin-top: 16px;
  color: #45303d;
  font-family: var(--serif);
  font-size: clamp(35px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.limao__intro h2 em {
  position: relative;
  color: var(--rose-deep);
  font-style: normal;
}

.limao__intro h2 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 5px;
  background: rgba(228, 161, 183, 0.4);
  border-radius: 50%;
  transform: rotate(-1deg);
}

.limao__quote {
  margin-top: 25px;
  color: #664452;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.05em;
  line-height: 1.9;
}

.limao__text {
  margin-top: 16px;
  max-width: 390px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 2;
}

.limao__facts {
  display: grid;
  margin-top: 26px;
  padding-top: 19px;
  border-top: 1px solid rgba(158, 98, 117, 0.14);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 19px;
}

.limao__facts dt {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.limao__facts dd {
  margin-top: 2px;
  color: #5d3d4b;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.limao__signature {
  display: flex;
  margin-top: 27px;
  align-items: center;
  gap: 10px;
  color: #a3785d;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.limao__signature i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(197, 153, 84, 0.6), transparent);
}

.limao__signature small {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.limao__gallery {
  display: grid;
  height: 540px;
  grid-template-columns: 1.06fr 0.97fr 0.97fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.art-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fff9f6;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(107, 71, 83, 0.09);
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.art-card:hover img {
  transform: scale(1.035);
}

.art-card--full {
  background: #2f2b31;
  grid-row: span 2;
}

.art-card--full img {
  object-position: center;
}

.art-card--cat img,
.art-card--chibi img {
  background: #fff;
}

.art-card--sheet img {
  padding: 13px 13px 54px;
  object-fit: contain;
  background: #fff;
}

.art-card figcaption {
  position: absolute;
  right: 9px;
  bottom: 9px;
  left: 9px;
  display: grid;
  padding: 7px 10px;
  align-items: center;
  color: #523844;
  background: rgba(255, 250, 247, 0.83);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 11px;
  backdrop-filter: blur(9px);
  grid-template-columns: auto 1fr;
  column-gap: 8px;
}

.art-card--full figcaption {
  color: #fff8f2;
  background: rgba(53, 39, 47, 0.62);
  border-color: rgba(255, 255, 255, 0.17);
}

.art-card figcaption span {
  color: #b1818f;
  font-family: var(--latin);
  font-size: 8px;
  grid-row: 1 / 3;
}

.art-card--full figcaption span {
  color: #ecc4d1;
}

.art-card figcaption strong {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.art-card figcaption small {
  color: var(--muted);
  font-family: var(--latin);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.art-card--full figcaption small {
  color: rgba(255, 247, 240, 0.58);
}

.limao__emotions {
  display: flex;
  margin-top: 7px;
  padding-top: 22px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(151, 99, 116, 0.12);
  grid-column: 1 / -1;
  gap: 18px 24px;
}

.limao__emotions-head {
  flex: 0 0 175px;
}

.limao__emotions-head span {
  color: #a87561;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.limao__emotions-head p {
  margin-top: 4px;
  color: #6d4b58;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.limao__emotion-row {
  display: flex;
  flex: 1;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.limao__emotion-row img {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  object-fit: cover;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 21px;
  box-shadow: 0 9px 22px rgba(110, 65, 81, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.limao__emotion-row img:nth-child(1) { transform: rotate(-3deg); }
.limao__emotion-row img:nth-child(2) { transform: translateY(3px) rotate(2deg); }
.limao__emotion-row img:nth-child(3) { transform: rotate(-2deg); }
.limao__emotion-row img:nth-child(4) { transform: translateY(-2px) rotate(4deg); }
.limao__emotion-row img:nth-child(5) { transform: translateY(2px) rotate(3deg); }
.limao__emotion-row img:nth-child(6) { transform: translateY(-1px) rotate(-3deg); }

.limao__emotion-row img:hover {
  z-index: 2;
  box-shadow: 0 16px 30px rgba(110, 65, 81, 0.2);
  transform: translateY(-5px) rotate(0);
}

.limao__emotions-note {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.03em;
}

/* ---------- Equal-height workspace + nested wheel scrolling ---------- */

@media (min-width: 821px) {
  .library__inner {
    align-items: stretch;
  }

  .rail {
    height: calc(100vh - 124px);
    max-height: calc(100vh - 124px);
    overscroll-behavior: contain;
  }

  .panel {
    display: flex;
    height: calc(100vh - 124px);
    max-height: calc(100vh - 124px);
    flex-direction: column;
  }

  .panel__hero {
    flex: 0 0 auto;
  }

  .panel__body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
  }

  .panel__body > .toolbar,
  .panel__body > .results-line {
    flex: 0 0 auto;
  }

  .song-list {
    min-height: 0;
    padding-right: 7px;
    padding-bottom: 18px;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(173, 101, 122, 0.3) transparent;
  }

  .song-list::-webkit-scrollbar {
    width: 6px;
  }

  .song-list::-webkit-scrollbar-thumb {
    background: rgba(173, 101, 122, 0.26);
    border-radius: 999px;
  }

  .song-list::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* ---------- Old scroll / character lore ---------- */

.limao__lore {
  position: relative;
  margin-top: 7px;
  padding: 31px 40px 21px;
  overflow: hidden;
  background:
    radial-gradient(85% 120% at 100% 0%, rgba(255, 213, 227, 0.34), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(204, 232, 246, 0.28), transparent 65%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(255, 246, 241, 0.74));
  border: 1px solid rgba(190, 148, 91, 0.28);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 16px 36px rgba(105, 73, 82, 0.08);
  grid-column: 1 / -1;
}

.limao__lore::before {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 151, 82, 0.6), transparent);
}

.limao__lore::after {
  content: "❀";
  position: absolute;
  right: 66px;
  bottom: -54px;
  color: rgba(201, 125, 149, 0.07);
  font-family: var(--serif);
  font-size: 230px;
  line-height: 1;
  pointer-events: none;
}

.limao__lore-seal {
  position: absolute;
  top: 30px;
  right: 34px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 51px;
  place-items: center;
  color: #a84d61;
  background: rgba(176, 84, 98, 0.045);
  border: 1.5px solid rgba(169, 79, 95, 0.58);
  border-radius: 5px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 1.35;
  writing-mode: vertical-rl;
}

.limao__lore-head {
  position: relative;
  z-index: 1;
  padding-right: 72px;
}

.limao__lore-head .eyebrow {
  color: #ad7d5b;
}

.limao__lore-head h3 {
  margin-top: 10px;
  color: #4b303d;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
}

.limao__lore-lead {
  margin-top: 8px;
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.13em;
  line-height: 1.8;
}

.limao__lore-chips {
  display: flex;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 7px;
}

.limao__lore-chips span {
  padding: 3px 9px;
  color: #9b6e58;
  background: rgba(255, 250, 243, 0.66);
  border: 1px solid rgba(193, 153, 105, 0.26);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.limao__lore-body {
  position: relative;
  z-index: 1;
  margin-top: 21px;
  color: #624955;
  columns: 2;
  column-gap: 48px;
  column-rule: 1px solid rgba(176, 132, 123, 0.17);
  font-size: 12.5px;
  line-height: 2.12;
  text-align: justify;
}

.limao__lore-body p {
  margin: 0 0 1.05em;
  text-indent: 2em;
  break-inside: avoid;
}

.limao__lore-body p:first-child {
  text-indent: 0;
}

.limao__lore-body p:first-child::first-letter {
  float: left;
  margin: 6px 8px 0 0;
  color: #a94e63;
  font-family: var(--serif);
  font-size: 43px;
  line-height: 0.8;
}

.limao__lore-body p:last-child {
  color: #814a5c;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 2;
}

.limao__lore-foot {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 12px;
  padding-top: 11px;
  align-items: center;
  justify-content: space-between;
  color: #aa8371;
  border-top: 1px solid rgba(181, 139, 104, 0.18);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.limao__lore-foot i {
  color: rgba(180, 126, 95, 0.6);
  font-family: var(--serif);
  font-size: 13px;
  font-style: normal;
}

/* ---------- Empty state mascot ---------- */

.empty__mascot {
  width: 116px;
  height: 116px;
  margin: 0 auto 8px;
  object-fit: contain;
  opacity: 0.92;
}

/* ---------- About: twilight edition ---------- */

.about__inner {
  background:
    radial-gradient(80% 100% at 96% 0%, rgba(241, 176, 196, 0.2), transparent 55%),
    radial-gradient(50% 60% at 0% 100%, rgba(154, 194, 228, 0.12), transparent 60%),
    linear-gradient(125deg, #2d2b42 0%, #443247 54%, #59384a 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.about .eyebrow {
  color: #f0c3d1;
}

.about__head h2 em {
  color: #ffd1df;
}

.about__cards {
  gap: 12px;
}

.about__cards article {
  background: rgba(255, 250, 245, 0.055);
  border-color: rgba(255, 245, 238, 0.11);
}

.about__cards span {
  color: #e9b3c3;
}

.about__cards h3 {
  color: #fff2eb;
}

.about__cards p {
  color: rgba(255, 246, 240, 0.55);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  }

  .hero-stage {
    min-height: 580px;
  }

  .hero-portrait {
    width: min(100%, 430px);
  }

  .hero-stage__cat {
    width: 132px;
    height: 132px;
  }

  .hero-stage__sticker--one {
    left: -14px;
  }

  .hero-stage__sticker--two {
    right: -15px;
  }

  .limao__inner {
    padding: 45px 36px 30px;
    gap: 30px;
    grid-template-columns: 0.62fr 1.38fr;
  }

  .limao__gallery {
    height: 500px;
  }
}

@media (max-width: 1020px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(325px, 0.8fr);
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-portrait {
    width: min(100%, 355px);
    padding: 8px;
    border-radius: 29px;
  }

  .hero-portrait img {
    border-radius: 22px;
  }

  .hero-portrait::before {
    inset: 4px;
    border-radius: 26px;
  }

  .hero-portrait__caption {
    right: 17px;
    bottom: 17px;
    left: auto;
    padding: 6px 9px;
    font-size: 8px;
  }

  .hero-portrait__tag {
    top: 18px;
    right: 18px;
    font-size: 6.5px;
  }

  .hero-portrait__seal {
    top: 16px;
    left: 16px;
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .hero-stage__cat {
    bottom: -1px;
    left: -9px;
    width: 112px;
    height: 112px;
    border-width: 5px;
  }

  .hero-stage__sticker {
    width: 70px;
    height: 70px;
    border-width: 4px;
    border-radius: 19px;
  }

  .hero-stage__sticker--one {
    top: 18px;
    left: -8px;
  }

  .hero-stage__sticker--two {
    right: -8px;
    bottom: 100px;
    width: 61px;
    height: 61px;
  }

  .hero-stage .hero__sticker--top {
    top: 1%;
    right: -1%;
  }

  .hero-stage .hero__sticker--bottom {
    bottom: 1%;
  }

  .hero-stage__note {
    display: none;
  }

  .limao__inner {
    padding: 38px 30px 26px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .limao__intro {
    max-width: 660px;
  }

  .limao__text {
    max-width: 590px;
  }

  .limao__gallery {
    height: 520px;
  }
}

@media (max-width: 820px) {
  .hero-stage {
    width: min(100%, 470px);
    min-height: 530px;
    margin: 8px auto -18px;
  }

  .hero-portrait {
    width: min(100%, 430px);
    padding: 8px;
  }

  .hero-stage__cat {
    bottom: -5px;
    left: 0;
    width: 108px;
    height: 108px;
  }

  .hero-stage__sticker {
    width: 62px;
    height: 62px;
    border-width: 3px;
    border-radius: 16px;
  }

  .hero-stage__sticker--one {
    top: 0;
    left: 0;
  }

  .hero-stage__sticker--two {
    right: 0;
    bottom: 75px;
    width: 55px;
    height: 55px;
  }

  .hero-stage .hero__sticker--top {
    top: 1%;
    right: 0;
    padding: 8px 10px;
  }

  .hero-stage .hero__sticker--top span {
    font-size: 6.5px;
  }

  .hero-stage .hero__sticker--top strong {
    font-size: 10px;
  }

  .hero-stage .hero__sticker--bottom {
    right: 0;
    bottom: 0;
    padding: 7px 9px;
  }

  .hero-stage .hero__sticker--bottom > span:last-child {
    font-size: 7.5px;
  }

  .rail {
    max-height: none;
    overflow: visible;
  }

  .playlist-list {
    display: grid;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .playlist-card {
    width: auto;
    flex: none;
    min-width: 0;
  }

  .playlist-card__text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .limao {
    padding: 0 0 70px;
  }

  .limao__inner {
    width: min(100% - 32px, 680px);
    padding: 29px 20px 22px;
    border-radius: 26px;
  }

  .limao__lore {
    padding: 23px 20px 17px;
  }

  .limao__lore-seal {
    top: 22px;
    right: 20px;
    width: 32px;
    height: 44px;
    font-size: 11px;
  }

  .limao__lore-head {
    padding-right: 54px;
  }

  .limao__lore-head h3 {
    margin-top: 7px;
    font-size: 28px;
  }

  .limao__lore-lead {
    margin-top: 5px;
    font-size: 12.5px;
  }

  .limao__lore-chips {
    margin-top: 9px;
  }

  .limao__lore-body {
    margin-top: 15px;
    columns: 1;
    font-size: 11.5px;
    line-height: 2;
    text-align: left;
  }

  .limao__lore-body p:first-child {
    text-indent: 0;
  }

  .limao__lore-body p:last-child {
    font-size: 12px;
  }

  .limao__intro h2 {
    margin-top: 11px;
    font-size: 34px;
  }

  .limao__quote {
    margin-top: 15px;
    font-size: 15px;
  }

  .limao__text {
    margin-top: 12px;
    font-size: 10.5px;
    line-height: 1.9;
  }

  .limao__facts {
    margin-top: 18px;
    padding-top: 14px;
    gap: 9px 14px;
  }

  .limao__facts dd {
    font-size: 11px;
  }

  .limao__signature {
    margin-top: 18px;
  }

  .limao__gallery {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 9px;
  }

  .art-card--full {
    height: 440px;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .art-card--cat,
  .art-card--keychain,
  .art-card--chibi,
  .art-card--sheet {
    height: 160px;
  }

  .art-card--sheet img {
    padding: 8px 8px 40px;
  }

  .art-card figcaption {
    right: 6px;
    bottom: 6px;
    left: 6px;
    padding: 6px 8px;
  }

  .art-card figcaption strong {
    font-size: 9.5px;
  }

  .art-card figcaption small {
    font-size: 5.5px;
  }

  .limao__emotions {
    margin-top: 2px;
    padding-top: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .limao__emotions-head {
    flex: none;
  }

  .limao__emotion-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .limao__emotion-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-width: 3px;
    border-radius: 17px;
    transform: none !important;
  }

  .limao__emotions-note {
    display: none;
  }

  .empty__mascot {
    width: 94px;
    height: 94px;
  }
}

@media (max-width: 480px) {
  .hero-stage {
    min-height: 440px;
  }

  .hero-portrait {
    width: min(100%, 315px);
  }

  .hero-portrait__caption {
    font-size: 8px;
  }

  .hero-stage__cat {
    width: 88px;
    height: 88px;
    border-width: 4px;
  }

  .hero-stage__sticker {
    width: 52px;
    height: 52px;
  }

  .hero-stage__sticker--two {
    width: 46px;
    height: 46px;
  }

  .hero-stage .hero__sticker--top {
    top: -2%;
    right: -2%;
  }

  .hero-stage .hero__sticker--bottom {
    bottom: 2%;
    left: -1%;
    right: auto;
  }

  .limao__intro h2 {
    font-size: 30px;
  }

  .limao__lore {
    padding: 20px 15px 14px;
  }

  .limao__lore-seal {
    top: 18px;
    right: 15px;
    width: 28px;
    height: 40px;
    font-size: 10px;
  }

  .limao__lore-head {
    padding-right: 43px;
  }

  .limao__lore-head h3 {
    font-size: 26px;
  }

  .limao__lore-lead {
    font-size: 11.5px;
    letter-spacing: 0.09em;
  }

  .limao__lore-chips span {
    padding: 2px 7px;
    font-size: 7px;
  }

  .limao__lore-body {
    font-size: 10.5px;
    line-height: 1.95;
  }

  .limao__lore-body p:first-child::first-letter {
    font-size: 35px;
  }

  .limao__lore-body p:last-child {
    font-size: 11px;
  }

  .limao__lore-foot {
    font-size: 7px;
  }

  .art-card--full {
    height: 380px;
  }

  .art-card--cat,
  .art-card--keychain,
  .art-card--chibi,
  .art-card--sheet {
    height: 138px;
  }

  .art-card figcaption small {
    display: none;
  }

  .limao__emotion-row img {
    width: 100%;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage__cat,
  .hero-stage__sticker {
    animation: none;
  }
}
