:root {
  --ink: #191727;
  --navy: #1d2445;
  --pink: #ef6f9b;
  --pink-dark: #c64275;
  --pink-soft: #ffe2ed;
  --lavender: #8d78c9;
  --lavender-soft: #eee8ff;
  --burgundy: #722344;
  --cream: #fffaf5;
  --paper: #fffefd;
  --line: rgba(42, 36, 67, 0.14);
  --muted: #736d80;
  --shadow: 0 18px 50px rgba(58, 33, 67, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(141, 120, 201, 0.045) 1px, transparent 1px) 0 42px / 100% 42px,
    var(--cream);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 8% 12%, rgba(255, 189, 214, 0.2), transparent 22%),
    radial-gradient(circle at 92% 36%, rgba(193, 179, 238, 0.17), transparent 24%);
  content: "";
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 10px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(20px, 4vw, 72px);
  background: rgba(255, 254, 253, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: "Outfit", sans-serif;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(145deg, var(--pink), var(--pink-dark));
  border-radius: 50% 50% 46% 54%;
  box-shadow: 4px 4px 0 var(--pink-soft);
  font-size: 21px;
  transform: rotate(-6deg);
}

.brand strong {
  display: block;
  font-size: 23px;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--pink-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 42px);
}

.desktop-nav a,
.nav-favorite {
  padding: 8px 0;
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.desktop-nav a:hover,
.nav-favorite:hover {
  color: var(--pink-dark);
}

.nav-favorite {
  padding: 8px 15px;
  color: var(--pink-dark);
  border: 1px solid rgba(198, 66, 117, 0.24);
  border-radius: 999px;
}

.nav-favorite span {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: 3px;
  color: #fff;
  background: var(--pink);
  border-radius: 50%;
  font-size: 10px;
}

.age-label {
  justify-self: end;
  color: var(--muted);
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero {
  position: relative;
  min-height: min(810px, calc(100svh - 76px));
  overflow: hidden;
  background: #d9cce2;
}

.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 33%;
}

.hero-wash {
  background: linear-gradient(90deg, rgba(255, 248, 249, 0.98) 0%, rgba(255, 248, 249, 0.86) 28%, rgba(255, 248, 249, 0.14) 61%, rgba(29, 36, 69, 0.16) 100%),
    linear-gradient(0deg, rgba(31, 27, 46, 0.28), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px, 52vw);
  padding: clamp(88px, 12vh, 150px) 0 80px clamp(24px, 7vw, 126px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow span {
  color: var(--lavender);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(44px, 5.7vw, 82px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.hero h1 em,
.gallery-manifesto h2 em {
  color: var(--pink-dark);
  font-style: normal;
}

.hero-copy {
  max-width: 510px;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 36px;
}

.primary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(198, 66, 117, 0.22);
  font-weight: 800;
}

.primary-button:hover {
  transform: translateY(-2px);
}

.text-button {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

.adult-note {
  max-width: 500px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.hero-sticker {
  position: absolute;
  right: clamp(22px, 5vw, 88px);
  bottom: 34px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: var(--navy);
  background: rgba(255, 252, 247, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-align: center;
  transform: rotate(8deg);
}

.hero-sticker span {
  position: absolute;
  top: -8px;
  padding: 4px 12px;
  color: #fff;
  background: var(--burgundy);
  border-radius: 999px;
  font-size: 8px;
}

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 42px);
  min-height: 58px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.intro-strip i {
  color: #f5a4c2;
  font-size: 16px;
  font-style: normal;
}

.content-section {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 130px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}

.section-heading h2,
.shop-heading h2,
.gallery-manifesto h2 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(29px, 3.3vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.section-heading h2 span,
.shop-heading h2 span {
  color: var(--pink);
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.character-card,
.artwork-card {
  animation: card-in 0.65s both;
  animation-delay: var(--delay);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.character-image-wrap,
.artwork-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--lavender-soft);
}

.character-image-wrap {
  aspect-ratio: 2 / 3;
  border-radius: 100px 100px 24px 24px;
}

.character-card:nth-child(4n + 2) .character-image-wrap {
  border-radius: 24px 100px 24px 24px;
}

.character-card:nth-child(4n + 3) .character-image-wrap {
  border-radius: 100px 24px 24px 24px;
}

.character-image-wrap img,
.artwork-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.character-card:hover img,
.artwork-card:hover img {
  transform: scale(1.035);
}

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 19, 39, 0.58), transparent 42%);
}

.character-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--burgundy);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.character-view {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.character-view i {
  margin-left: 6px;
  font-style: normal;
}

.character-card-copy {
  display: block;
  padding: 16px 5px 0;
}

.character-card-copy small {
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.character-card-copy strong {
  display: block;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 20px;
}

.character-card-copy strong i {
  color: var(--pink);
  font-style: normal;
}

.character-card-copy > span {
  color: var(--muted);
  font-size: 11px;
}

.gallery-section {
  width: 100%;
  padding-right: max(24px, calc((100% - 1380px) / 2));
  padding-left: max(24px, calc((100% - 1380px) / 2));
  background: rgba(238, 232, 255, 0.42);
  border-top: 1px solid rgba(141, 120, 201, 0.12);
  border-bottom: 1px solid rgba(141, 120, 201, 0.12);
}

.gallery-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(155px, 1fr)) auto auto;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 254, 253, 0.86);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.gallery-tools label {
  position: relative;
}

.gallery-tools label span {
  position: absolute;
  top: 5px;
  left: 14px;
  z-index: 1;
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  pointer-events: none;
}

.gallery-tools select,
.gallery-tools button {
  width: 100%;
  height: 54px;
  padding: 15px 36px 4px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
}

.gallery-tools button {
  width: auto;
  padding: 0 18px;
}

.gallery-tools .favorites-filter {
  color: var(--pink-dark);
}

.gallery-tools .favorites-filter.is-active {
  color: #fff;
  background: var(--pink-dark);
}

.gallery-tools .clear-filter {
  color: var(--muted);
  background: transparent;
}

.artwork-result {
  margin: 25px 0 13px;
  color: var(--muted);
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-align: right;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.artwork-card {
  position: relative;
  min-width: 0;
}

.artwork-image-wrap {
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(49, 35, 69, 0.1);
}

.artwork-card:nth-child(4n + 2) .artwork-image-wrap,
.artwork-card:nth-child(4n + 4) .artwork-image-wrap {
  border-radius: 70px 24px 24px;
}

.illustration-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 5px 9px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  backdrop-filter: blur(7px);
}

.artwork-card-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 4px 4px;
}

.artwork-card-copy > span:first-child {
  min-width: 0;
}

.artwork-card-copy small,
.artwork-card-copy strong,
.artwork-card-copy i {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artwork-card-copy small {
  color: var(--pink-dark);
  font-size: 10px;
  font-weight: 700;
}

.artwork-card-copy strong {
  margin: 2px 0;
  font-size: 15px;
}

.artwork-card-copy i {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.artwork-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.artwork-favorite,
.detail-favorite {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(40, 30, 52, 0.12);
}

.artwork-favorite {
  top: 13px;
  right: 13px;
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.artwork-favorite.is-favorite,
.detail-favorite.is-favorite {
  color: #fff;
  background: var(--pink-dark);
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
}

.empty-state span {
  color: var(--pink);
  font-size: 38px;
}

.empty-state h3 {
  margin: 5px 0;
}

.empty-state p {
  color: var(--muted);
}

.styles-section {
  padding-bottom: 110px;
}

.style-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.style-cloud button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-align: left;
}

.style-cloud button:hover,
.style-cloud button.is-accent {
  background: var(--pink-soft);
}

.style-cloud button.is-accent:hover {
  background: var(--lavender-soft);
}

.style-cloud span {
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 9px;
}

.style-cloud i {
  font-style: normal;
}

.gallery-manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 130px) 24px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(239, 111, 155, 0.35), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(141, 120, 201, 0.35), transparent 30%),
    var(--navy);
  text-align: center;
}

.gallery-manifesto::before,
.gallery-manifesto::after {
  position: absolute;
  color: rgba(255, 255, 255, 0.06);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 210px;
  font-weight: 800;
  content: "♡";
}

.gallery-manifesto::before {
  top: -100px;
  left: -10px;
}

.gallery-manifesto::after {
  right: -10px;
  bottom: -140px;
}

.manifesto-ribbon {
  color: #f7a6c5;
  font-size: 38px;
}

.gallery-manifesto .section-kicker {
  color: #f4afc8;
}

.gallery-manifesto h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 35px;
}

.outline-button {
  position: relative;
  z-index: 1;
  color: var(--navy);
  background: #fff;
}

.character-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  min-height: calc(100svh - 76px);
}

.character-hero-art {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--lavender-soft);
}

.character-hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 19, 39, 0.3), transparent 40%);
  content: "";
}

.character-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-hero-art > span,
.artwork-ai-badge {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  padding: 7px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.character-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 8vw, 120px);
  background:
    linear-gradient(rgba(141, 120, 201, 0.07) 1px, transparent 1px) 0 32px / 100% 40px,
    var(--paper);
}

.back-link {
  display: inline-block;
  width: fit-content;
  margin-bottom: 55px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.character-profile h1 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(45px, 5vw, 78px);
  letter-spacing: -0.06em;
}

.character-profile h1 span {
  color: var(--pink);
}

.character-bio {
  max-width: 550px;
  margin: 25px 0 35px;
  font-size: 16px;
}

.profile-sheet {
  margin: 0;
  background: rgba(255, 255, 255, 0.73);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.profile-sheet div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 14px 18px;
  border-bottom: 1px dashed var(--line);
}

.profile-sheet div:last-child {
  border: 0;
}

.profile-sheet dt {
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.profile-sheet dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.profile-tags span,
.tag-list a {
  padding: 5px 10px;
  color: var(--burgundy);
  background: var(--pink-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.profile-notice {
  margin-top: 25px;
  padding-left: 13px;
  color: var(--muted);
  border-left: 2px solid var(--pink);
  font-size: 10px;
}

.character-gallery {
  width: min(1180px, calc(100% - 48px));
}

.character-artwork-grid {
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
}

.artwork-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
  min-height: calc(100svh - 76px);
  background: var(--paper);
}

.artwork-stage {
  position: relative;
  max-height: calc(100svh - 76px);
  overflow: hidden;
  background: var(--navy);
}

.artwork-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-link.floating {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  margin: 0;
  padding: 8px 13px;
  color: #fff;
  background: rgba(22, 19, 39, 0.42);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.artwork-ai-badge {
  left: 22px;
  right: auto;
}

.detail-favorite {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 23px;
}

.artwork-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(239, 111, 155, 0.08) 1px, transparent 1px) 44px 0 / 44px 100%,
    var(--paper);
}

.artwork-info h1 {
  margin: 0 0 28px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(35px, 4vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1.3;
}

.character-pill {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(45, 30, 60, 0.06);
}

.character-pill img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
}

.character-pill span {
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.character-pill strong,
.character-pill small {
  display: block;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

.character-pill strong {
  font-size: 15px;
}

.character-pill small {
  color: var(--muted);
  font-size: 8px;
}

.character-pill i {
  margin-right: 8px;
  font-style: normal;
}

.artwork-meta {
  border-top: 1px solid var(--line);
}

.artwork-meta > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.artwork-meta > div > span {
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.artwork-meta strong {
  font-size: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.tag-list a {
  padding: 3px 8px;
}

.artwork-description {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.artwork-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.artwork-pager a {
  padding: 17px 10px 0 0;
}

.artwork-pager a:last-child {
  padding-right: 0;
  text-align: right;
}

.artwork-pager span,
.artwork-pager strong {
  display: block;
}

.artwork-pager span {
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.artwork-pager strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-style {
  padding: clamp(80px, 9vw, 130px) max(24px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #fff7fa, #f4f0ff);
}

.shop-heading {
  margin-bottom: 30px;
  text-align: center;
}

.shop-heading > p:last-child {
  color: var(--muted);
}

.ai-disclaimer {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 17px 22px;
  background: #fff;
  border: 1px solid rgba(198, 66, 117, 0.2);
  border-radius: 16px;
}

.ai-disclaimer > span,
.site-notice > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--pink-dark);
  border-radius: 50%;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.ai-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.ai-disclaimer strong {
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(49, 33, 62, 0.07);
}

.product-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f8f2f5;
}

.product-card-copy {
  padding: 18px;
}

.product-card-copy > span {
  color: var(--pink-dark);
  font-size: 9px;
  font-weight: 800;
}

.product-card h3 {
  min-height: 3.3em;
  margin: 5px 0;
  font-size: 14px;
}

.product-card p {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.product-card p small,
.product-card-copy > small {
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
  font-weight: 400;
}

.product-links {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.product-links a {
  padding: 9px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.product-links a:nth-child(2) {
  background: var(--burgundy);
}

.style-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.style-total span {
  color: var(--pink-dark);
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.style-total strong {
  font-family: "Outfit", sans-serif;
  font-size: 27px;
}

.style-total small,
.affiliate-note {
  color: var(--muted);
  font-size: 9px;
}

.affiliate-note {
  text-align: center;
}

.related-section {
  width: min(1180px, calc(100% - 48px));
}

.compact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.site-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 24px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.site-notice p {
  margin: 0;
}

.site-notice strong {
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 35px;
  padding: 38px clamp(24px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.65);
  background: var(--navy);
  font-size: 10px;
}

.footer-brand {
  color: #fff;
}

.footer-note {
  max-width: 300px;
}

.mobile-nav {
  display: none;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  padding: 12px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.25s;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  body {
    padding-bottom: 65px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 65px;
    background: rgba(255, 254, 253, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .mobile-nav a,
  .mobile-nav button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0;
    padding: 4px;
    color: var(--muted);
    background: none;
    border: 0;
    font-size: 8px;
    font-weight: 700;
  }

  .mobile-nav span {
    color: var(--pink-dark);
    font-size: 18px;
    line-height: 1.2;
  }

  .mobile-nav i {
    display: inline-grid;
    place-items: center;
    min-width: 13px;
    height: 13px;
    color: #fff;
    background: var(--pink);
    border-radius: 50%;
    font-size: 7px;
    font-style: normal;
  }

  .toast {
    right: 14px;
    bottom: 78px;
  }

  .character-grid,
  .artwork-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-tools {
    grid-template-columns: repeat(3, 1fr);
  }

  .style-cloud {
    grid-template-columns: repeat(3, 1fr);
  }

  .character-hero,
  .artwork-detail {
    grid-template-columns: 1fr 1fr;
  }

  .character-profile,
  .artwork-info {
    padding: 50px;
  }

  .compact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .site-header {
    min-height: 62px;
    padding: 8px 17px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 6px;
  }

  .age-label {
    max-width: 120px;
    font-size: 6px;
    text-align: right;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-wash {
    background: linear-gradient(0deg, rgba(255, 248, 249, 0.99) 2%, rgba(255, 248, 249, 0.9) 38%, rgba(255, 248, 249, 0.1) 72%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-height: 700px;
    padding: 280px 23px 43px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .hero-copy {
    margin-top: 15px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 22px;
  }

  .primary-button {
    min-height: 50px;
    padding: 0 19px;
    font-size: 12px;
  }

  .text-button {
    display: none;
  }

  .adult-note {
    margin-top: 18px;
    font-size: 9px;
  }

  .hero-sticker {
    top: 25px;
    right: 19px;
    bottom: auto;
    width: 78px;
    height: 78px;
    font-size: 10px;
  }

  .intro-strip {
    justify-content: flex-start;
    min-height: 47px;
    padding: 0 18px;
    font-size: 8px;
  }

  .content-section {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .shop-heading h2,
  .gallery-manifesto h2 {
    font-size: 29px;
  }

  .section-heading > p {
    margin-top: 12px;
    font-size: 11px;
  }

  .character-grid,
  .artwork-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 11px;
  }

  .character-image-wrap {
    border-radius: 60px 60px 18px 18px;
  }

  .character-card:nth-child(4n + 2) .character-image-wrap,
  .character-card:nth-child(4n + 3) .character-image-wrap {
    border-radius: 60px 60px 18px 18px;
  }

  .character-number {
    top: 9px;
    left: 9px;
    width: 32px;
    height: 32px;
    font-size: 9px;
  }

  .character-card-copy {
    padding-top: 10px;
  }

  .character-card-copy strong {
    font-size: 15px;
  }

  .character-card-copy > span {
    font-size: 8px;
  }

  .gallery-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .gallery-tools {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }

  .gallery-tools label:first-child {
    grid-column: span 2;
  }

  .gallery-tools select,
  .gallery-tools button {
    height: 50px;
    font-size: 10px;
  }

  .gallery-tools .clear-filter {
    display: none;
  }

  .artwork-result {
    margin-top: 17px;
  }

  .artwork-image-wrap,
  .artwork-card:nth-child(4n + 2) .artwork-image-wrap,
  .artwork-card:nth-child(4n + 4) .artwork-image-wrap {
    border-radius: 16px 40px 16px 16px;
  }

  .artwork-favorite {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .illustration-label {
    bottom: 9px;
    left: 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    font-size: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .artwork-card-copy {
    align-items: flex-start;
    padding: 9px 2px 0;
  }

  .artwork-card-copy strong {
    font-size: 12px;
  }

  .artwork-card-copy small,
  .artwork-card-copy i {
    font-size: 8px;
  }

  .artwork-arrow {
    width: 26px;
    height: 26px;
    font-size: 9px;
  }

  .style-cloud {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-cloud button {
    min-height: 64px;
    padding: 10px;
    font-size: 11px;
  }

  .gallery-manifesto {
    padding: 80px 20px;
  }

  .character-hero,
  .artwork-detail {
    display: block;
    min-height: 0;
  }

  .character-hero-art {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .character-profile,
  .artwork-info {
    padding: 50px 23px 65px;
  }

  .character-profile .back-link {
    margin-bottom: 36px;
  }

  .character-profile h1 {
    font-size: 48px;
  }

  .character-bio {
    font-size: 14px;
  }

  .profile-sheet div {
    grid-template-columns: 68px 1fr;
  }

  .character-artwork-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artwork-stage {
    max-height: none;
    aspect-ratio: 2 / 3;
  }

  .artwork-stage > img {
    object-fit: cover;
  }

  .artwork-ai-badge {
    left: 13px;
    bottom: 12px;
    font-size: 6px;
  }

  .detail-favorite {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .back-link.floating {
    top: 14px;
    left: 14px;
  }

  .artwork-info h1 {
    font-size: 37px;
  }

  .artwork-meta > div {
    grid-template-columns: 70px 1fr;
  }

  .artwork-pager strong {
    max-width: 125px;
  }

  .shop-style {
    padding: 75px 16px;
  }

  .ai-disclaimer {
    align-items: flex-start;
    padding: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 38% 1fr;
  }

  .product-card > img {
    height: 100%;
    aspect-ratio: auto;
  }

  .product-card h3 {
    min-height: 0;
  }

  .style-total {
    flex-wrap: wrap;
  }

  .site-notice {
    align-items: flex-start;
    padding: 20px 17px;
    font-size: 9px;
  }

  .site-footer {
    display: block;
    padding: 35px 20px;
    text-align: center;
  }

  .footer-brand {
    margin: 0 auto 22px;
  }

  .footer-note {
    margin: 0 auto 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
