/*
Theme Name: ANICRE TOKYO MVP 11
Theme URI: https://anicre.miyabiya-japan.com/
Author: OpenAI Codex
Description: Original clean-room WordPress theme for ANICRE TOKYO, an anime creator network and media directory with abstract Tokyo/anime-inspired visuals.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: anicre-tokyo
*/

:root {
  --anicre-bg: #fff8fb;
  --anicre-surface: #ffffff;
  --anicre-surface-soft: #fff1f6;
  --anicre-border: #f2d8e2;
  --anicre-text: #211927;
  --anicre-text-soft: #746575;
  --anicre-accent: #f38fb3;
  --anicre-accent-strong: #ea648f;
  --anicre-accent-deep: #c94d75;
  --anicre-ink: #15101b;
  --anicre-sky: #dff5ff;
  --anicre-shadow: 0 24px 70px rgba(143, 72, 103, 0.13);
  --anicre-shadow-soft: 0 14px 36px rgba(143, 72, 103, 0.09);
  --anicre-radius-lg: 28px;
  --anicre-radius-md: 18px;
  --anicre-radius-sm: 12px;
  --anicre-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(243, 143, 179, 0.20), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(194, 234, 255, 0.40), transparent 28%),
    linear-gradient(180deg, #fffefe 0%, var(--anicre-bg) 100%);
  color: var(--anicre-text);
  line-height: 1.7;
}

a {
  color: var(--anicre-accent-deep);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--anicre-accent-strong);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 40px), var(--anicre-max));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.045em;
}

.section-subtitle {
  color: var(--anicre-text-soft);
  max-width: 760px;
  margin: 0 0 32px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(243, 215, 226, 0.7);
}

.site-header__inner,
.site-footer__inner,
.hero,
.stats-row,
.home-grid,
.cards-grid,
.directory-layout,
.creator-profile__top,
.archive-heading,
.page-shell {
  display: grid;
  gap: 24px;
}

.site-header__inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 0;
}

.brand-mark {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--anicre-text);
}

.brand-mark::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--anicre-accent), #ffd2e1);
  box-shadow: 0 0 0 5px rgba(243, 143, 179, 0.15);
}

.brand-mark small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--anicre-text-soft);
  letter-spacing: 0.04em;
  text-transform: none;
}

.main-nav ul,
.footer-nav ul,
.meta-list,
.social-links,
.filter-list,
.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.main-nav {
  justify-self: center;
}

.main-nav a,
.footer-nav a {
  color: var(--anicre-text);
  font-weight: 600;
}

.main-nav a {
  padding: 10px 2px;
}

.header-actions,
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button,
input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.button-primary,
input[type="submit"],
button {
  background: linear-gradient(135deg, var(--anicre-accent) 0%, var(--anicre-accent-strong) 100%);
  color: #fff;
  box-shadow: var(--anicre-shadow);
}

.button-secondary {
  background: var(--anicre-surface);
  color: var(--anicre-accent-deep);
  border: 1px solid var(--anicre-border);
  box-shadow: var(--anicre-shadow-soft);
}

.hero {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 88px 0 54px;
}

.hero__copy {
  padding: 22px 0;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--anicre-surface-soft);
  color: var(--anicre-accent-deep);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.3vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin: 0 0 20px;
  color: var(--anicre-ink);
}

.hero p {
  color: var(--anicre-text-soft);
  font-size: 1.08rem;
  max-width: 640px;
}

.hero__visual,
.panel,
.stat-card,
.creator-card,
.category-card,
.info-card,
.profile-panel,
.filter-panel,
.content-card,
.form-card {
  background: var(--anicre-surface);
  border: 1px solid rgba(243, 215, 226, 0.8);
  border-radius: var(--anicre-radius-lg);
  box-shadow: var(--anicre-shadow);
}

.hero__visual {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.88);
}

.hero__visual--art {
  min-height: 460px;
  padding: 0;
  box-shadow: 0 32px 100px rgba(201, 77, 117, 0.18);
}

.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__skyline {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.92) 0 7%, transparent 8%),
    linear-gradient(135deg, #dff5ff 0%, #fff2f7 48%, #ffe7f0 100%);
}

.hero__skyline::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background:
    linear-gradient(90deg, transparent 0 5%, rgba(255,255,255,0.72) 5% 9%, transparent 9% 13%, rgba(255,255,255,0.82) 13% 19%, transparent 19% 24%, rgba(255,255,255,0.72) 24% 31%, transparent 31% 36%, rgba(255,255,255,0.8) 36% 44%, transparent 44% 50%, rgba(255,255,255,0.76) 50% 58%, transparent 58% 64%, rgba(255,255,255,0.82) 64% 72%, transparent 72% 78%, rgba(255,255,255,0.74) 78% 86%, transparent 86%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.74));
}

.hero__sun,
.hero__tower,
.hero__cloud,
.hero__sakura,
.hero__figure {
  position: absolute;
  display: block;
}

.hero__sun {
  right: 17%;
  top: 12%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 44%, #ffd2e1 45% 100%);
  box-shadow: 0 0 80px rgba(243, 143, 179, 0.36);
}

.hero__tower {
  left: 47%;
  bottom: 13%;
  width: 72px;
  height: 260px;
  clip-path: polygon(45% 0, 55% 0, 60% 34%, 76% 36%, 70% 43%, 64% 43%, 88% 100%, 12% 100%, 36% 43%, 30% 43%, 24% 36%, 40% 34%);
  background: linear-gradient(180deg, #f48aac, #d94d78);
  opacity: 0.86;
}

.hero__cloud {
  width: 150px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
}

.hero__cloud--one { left: 12%; top: 18%; }
.hero__cloud--two { right: 9%; top: 38%; transform: scale(0.74); }

.hero__sakura {
  width: 18px;
  height: 18px;
  border-radius: 100% 0 100% 0;
  background: #f38fb3;
  opacity: 0.72;
  transform: rotate(36deg);
}

.hero__sakura--one { left: 18%; top: 26%; }
.hero__sakura--two { right: 24%; top: 55%; transform: rotate(68deg) scale(1.4); }

.hero__figure {
  bottom: 10%;
  width: 54px;
  height: 128px;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, #2b2130 0 24%, #ffffff 24% 36%, #f38fb3 36% 100%);
  box-shadow: 0 18px 34px rgba(43, 33, 48, 0.16);
}

.hero__figure::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -28px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffd6bd;
}

.hero__figure--one { left: 20%; }
.hero__figure--two { left: 31%; transform: scale(0.86); filter: hue-rotate(35deg); }

.hero__art-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 252, 0.88) 0%, rgba(255, 250, 252, 0.24) 46%, rgba(255, 250, 252, 0.06) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.12));
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(243, 143, 179, 0.18);
}

.visual-stack {
  display: grid;
  gap: 18px;
  position: relative;
}

.visual-stack--floating {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.mini-card,
.badge,
.stat-chip {
  border-radius: var(--anicre-radius-md);
  background: var(--anicre-surface-soft);
  border: 1px solid rgba(243, 215, 226, 0.9);
}

.mini-card {
  padding: 18px;
}

.mini-card--glass {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
}

.mini-card strong,
.metric strong {
  display: block;
  font-size: 1.15rem;
}

.stats-row {
  grid-template-columns: repeat(4, 1fr);
  margin-top: -16px;
}

.stat-card {
  padding: 28px;
}

.stat-card h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.stat-card p {
  margin: 0;
  color: var(--anicre-text-soft);
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 6px;
}

.section-link {
  white-space: nowrap;
  font-weight: 700;
}

.mobile-market-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(100%, 720px);
  margin: 22px 0 14px;
  padding: 8px;
  border: 1px solid rgba(243, 215, 226, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(219, 110, 151, 0.12), inset 0 1px 0 rgba(255,255,255,0.96);
}

.mobile-market-search input[type="text"] {
  border: 0;
  background: transparent;
  padding: 10px 14px;
}

.mobile-market-search button {
  padding: 10px 18px;
}

.quick-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
}

.quick-filter-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--anicre-surface-soft);
  border: 1px solid var(--anicre-border);
  color: var(--anicre-accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(201, 77, 117, 0.08);
}

.mobile-action-bar {
  display: none;
}

.mobile-result-strip {
  display: none;
}

.creator-card,
.category-card,
.info-card,
.content-card {
  padding: 22px;
}

.creator-card {
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 100, 143, 0.48);
  box-shadow: 0 28px 78px rgba(143, 72, 103, 0.16);
}

.creator-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.creator-card__image,
.creator-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(243, 143, 179, 0.28), rgba(234, 100, 143, 0.08));
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 18px;
}

.creator-visual {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.86) 0 10%, transparent 11%),
    linear-gradient(135deg, #ffe1ec 0%, #dff5ff 54%, #fff 100%);
}

.creator-visual--sakura { background: linear-gradient(135deg, #ffdce9, #fff9fb 48%, #dff5ff); }
.creator-visual--sky { background: linear-gradient(135deg, #dff5ff, #fff 48%, #ffe1ec); }
.creator-visual--tower { background: linear-gradient(135deg, #fff5e8, #ffdce9 48%, #f3f0ff); }
.creator-visual--mint { background: linear-gradient(135deg, #e7fff7, #fff 50%, #ffdce9); }
.creator-visual--sunset { background: linear-gradient(135deg, #ffe7ca, #ffdce9 52%, #e7f3ff); }
.creator-visual--lilac { background: linear-gradient(135deg, #eee8ff, #fff 46%, #ffdce9); }

.creator-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.54) 0 9%, transparent 9% 14%, rgba(255,255,255,0.7) 14% 24%, transparent 24% 31%, rgba(255,255,255,0.6) 31% 42%, transparent 42% 50%, rgba(255,255,255,0.66) 50% 62%, transparent 62% 70%, rgba(255,255,255,0.58) 70% 82%, transparent 82%),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.6));
}

.creator-visual__orb {
  position: absolute;
  right: 14%;
  top: 18%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 0 60px rgba(243, 143, 179, 0.28);
}

.creator-visual__tower {
  position: absolute;
  left: 14%;
  bottom: 14%;
  width: 42px;
  height: 126px;
  clip-path: polygon(45% 0, 55% 0, 60% 34%, 76% 36%, 70% 43%, 64% 43%, 88% 100%, 12% 100%, 36% 43%, 30% 43%, 24% 36%, 40% 34%);
  background: linear-gradient(180deg, #f38fb3, #c94d75);
  opacity: 0.78;
}

.creator-visual__label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: var(--anicre-accent-deep);
  font-weight: 800;
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(43, 33, 48, 0.08);
}

.creator-visual--wide {
  min-height: 320px;
}

.creator-card__image img,
.creator-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-photo {
  position: relative;
  background: #fff;
}

.creator-photo__img,
.creator-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-avatar__img {
  border-radius: inherit;
}

.creator-card__meta,
.creator-profile__meta,
.archive-meta {
  color: var(--anicre-text-soft);
  font-size: 0.95rem;
}

.badge,
.stat-chip,
.tag-list a,
.tag-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--anicre-accent-deep);
  font-weight: 700;
  font-size: 0.82rem;
}

.badge-muted {
  background: #f8f5f7;
  border-color: #ebe3e8;
  color: #7b6b78;
}

.tag-list {
  gap: 10px;
}

.category-card h3,
.creator-card h3,
.info-card h3,
.content-card h3,
.profile-panel h3,
.form-card h3 {
  margin-top: 0;
}

.home-grid {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

.directory-layout {
  grid-template-columns: 280px 1fr;
  align-items: start;
}

.filter-panel,
.profile-panel,
.form-card {
  padding: 24px;
}

.community-visual {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.community-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-visual__art {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,0.9) 0 10%, transparent 11%),
    linear-gradient(135deg, #dff5ff, #fff2f7 52%, #ffdce9);
}

.community-visual__art::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(90deg, rgba(255,255,255,0.72) 0 12%, transparent 12% 18%, rgba(255,255,255,0.82) 18% 30%, transparent 30% 38%, rgba(255,255,255,0.72) 38% 52%, transparent 52% 60%, rgba(255,255,255,0.78) 60% 78%, transparent 78%);
}

.community-visual__art span {
  position: absolute;
  bottom: 16%;
  width: 38px;
  height: 88px;
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(180deg, #2b2130 0 24%, #fff 24% 38%, #f38fb3 38% 100%);
}

.community-visual__art span:nth-child(1) { left: 18%; }
.community-visual__art span:nth-child(2) { left: 34%; transform: scale(0.9); filter: hue-rotate(40deg); }
.community-visual__art span:nth-child(3) { left: 50%; transform: scale(0.78); filter: hue-rotate(85deg); }

.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.how-step {
  position: relative;
  padding: 18px 12px 12px 0;
}

.how-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--anicre-accent) 0%, var(--anicre-accent-strong) 100%);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.how-step strong {
  display: block;
  margin-bottom: 8px;
}

.how-step p {
  margin: 0;
  color: var(--anicre-text-soft);
}

.tokyo-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.tokyo-cta__card {
  border-radius: 28px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(243, 143, 179, 0.95), rgba(234, 100, 143, 0.88)),
    linear-gradient(135deg, #ffd7e5, #f38fb3);
  color: #fff;
  box-shadow: var(--anicre-shadow);
}

.tokyo-cta__card p {
  color: rgba(255, 255, 255, 0.92);
}

.tokyo-cta__card .button-primary {
  background: #fff;
  color: var(--anicre-accent-deep);
}

.filter-group + .filter-group,
.profile-panel + .profile-panel,
.form-card__section + .form-card__section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--anicre-border);
}

.filter-group h4,
.form-card__section h4 {
  margin: 0 0 10px;
}

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

.creator-profile__top {
  grid-template-columns: 1.2fr 0.8fr;
}

.creator-profile__intro {
  margin-top: -110px;
  padding: 0 24px 24px;
  position: relative;
}

.creator-avatar {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  border: 6px solid #fff;
  overflow: hidden;
  background: var(--anicre-surface-soft);
  box-shadow: var(--anicre-shadow);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, #ffdce9);
  color: var(--anicre-accent-deep);
  font-size: 3.2rem;
  font-weight: 900;
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-avatar span {
  transform: translateY(-2px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  padding: 18px;
  border-radius: var(--anicre-radius-md);
  background: var(--anicre-surface-soft);
  border: 1px solid var(--anicre-border);
}

.campaign-card {
  position: relative;
  overflow: hidden;
}

.campaign-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 143, 179, 0.22), rgba(243, 143, 179, 0));
  pointer-events: none;
}

.campaign-card h2,
.campaign-card h3 {
  position: relative;
  margin-bottom: 10px;
}

.status-board {
  margin-top: 24px;
}

.status-board .metric strong {
  color: var(--anicre-accent-deep);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--anicre-border);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: var(--anicre-text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 18px;
}

.notice-success {
  background: #effcf4;
  border: 1px solid #b9efca;
  color: #1f6a38;
}

.notice-error {
  background: #fff2f4;
  border: 1px solid #f2bec8;
  color: #8f2545;
}

.site-footer {
  margin-top: auto;
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid rgba(243, 215, 226, 0.8);
}

.site-footer__inner {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-copy {
  color: var(--anicre-text-soft);
}

.archive-heading,
.page-shell {
  padding: 56px 0 28px;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.post-card {
  padding: 26px;
  border: 1px solid var(--anicre-border);
  border-radius: var(--anicre-radius-md);
  background: rgba(255, 255, 255, 0.92);
}

.schema-note {
  font-size: 0.85rem;
  color: var(--anicre-text-soft);
}

/* MVP9 premium marketplace refresh. */
:root {
  --anicre-bg: #ffffff;
  --anicre-surface: #ffffff;
  --anicre-surface-soft: #fff4f8;
  --anicre-border: #e5e7eb;
  --anicre-text: #111827;
  --anicre-text-soft: #6b7280;
  --anicre-accent: #ec4f91;
  --anicre-accent-strong: #db2777;
  --anicre-accent-deep: #be185d;
  --anicre-ink: #111827;
  --anicre-footer: #050816;
  --anicre-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  --anicre-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.06);
  --anicre-radius-lg: 30px;
  --anicre-radius-md: 18px;
  --anicre-max: 1240px;
}

body {
  font-family: Inter, "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 84% 4%, rgba(236, 79, 145, 0.09), transparent 28%),
    radial-gradient(circle at 12% 8%, rgba(219, 234, 254, 0.62), transparent 30%),
    #fff;
}

.mobile-menu-icon {
  display: none;
}

.button-primary,
input[type="submit"],
button {
  background: linear-gradient(135deg, var(--anicre-accent), var(--anicre-accent-strong));
  box-shadow: 0 14px 32px rgba(236, 79, 145, 0.22);
}

.button-secondary {
  color: var(--anicre-text);
  border-color: var(--anicre-border);
  box-shadow: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.brand-mark::before {
  background: var(--anicre-accent);
  box-shadow: 0 0 0 5px rgba(236, 79, 145, 0.10);
}

.market-hero {
  padding: 54px 0 26px;
}

.market-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: 40px;
  align-items: center;
}

.market-hero__copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--anicre-text);
  font-size: clamp(3.2rem, 6.2vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.market-hero__copy mark {
  color: var(--anicre-accent);
  background: transparent;
}

.market-hero__lead {
  max-width: 680px;
  margin: 0 0 10px;
  color: #374151;
  font-size: 1.18rem;
  line-height: 1.72;
}

.market-hero__support {
  max-width: 690px;
  margin: 0 0 24px;
  color: var(--anicre-text-soft);
}

.market-hero__visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--anicre-border);
  border-radius: 34px;
  background: #f8fbff;
  box-shadow: var(--anicre-shadow);
}

.market-hero__visual > img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.market-hero__float-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.market-hero__float-card strong,
.market-hero__float-card span {
  display: block;
}

.market-hero__float-card span {
  margin-top: 4px;
  color: var(--anicre-text-soft);
}

.market-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 145px 145px auto;
  gap: 10px;
  width: min(100%, 840px);
  margin: 26px 0 14px;
  padding: 8px;
  border: 1px solid var(--anicre-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--anicre-shadow-soft);
}

.market-search input,
.market-search select {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  background: #f9fafb;
}

.market-search button {
  min-height: 46px;
  padding-inline: 24px;
  box-shadow: none;
}

.stats-row--premium {
  margin-top: 18px;
}

.stats-row--premium .stat-card {
  border-color: var(--anicre-border);
  box-shadow: none;
}

.stats-row--premium .stat-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--anicre-surface-soft);
  color: var(--anicre-accent);
  font-weight: 900;
}

.section--compact {
  padding: 54px 0;
}

.marketplace-tabs {
  margin: 0 0 22px;
}

.market-creator-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.market-creator-card,
.package-card,
.spotlight-card,
.visual-category-card,
.collab-panel {
  border: 1px solid var(--anicre-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--anicre-shadow-soft);
}

.market-creator-card {
  overflow: hidden;
}

.market-creator-card__visual {
  min-height: 170px;
  border-radius: 0;
}

.market-creator-card__visual--image {
  position: relative;
  overflow: hidden;
  background: #f9fafb;
}

.market-creator-card__visual--image > img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.market-creator-card__body {
  padding: 16px;
}

.market-creator-card__trust span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f9fafb;
  color: #374151;
  font-size: 0.74rem;
  font-weight: 800;
}

.market-creator-card h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
}

.market-creator-card p {
  margin: 0;
  color: var(--anicre-text-soft);
  font-size: 0.9rem;
}

.market-creator-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0;
  color: var(--anicre-text-soft);
  font-size: 0.86rem;
}

.collab-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(255,244,248,0.75), rgba(255,255,255,1) 42%),
    #fff;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px;
  border: 1px solid var(--anicre-border);
  border-radius: 18px;
  background: #fff;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 5px;
  color: var(--anicre-text-soft);
  font-size: 0.92rem;
}

.package-grid,
.visual-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.package-card,
.visual-category-card {
  padding: 20px;
}

.package-card h3,
.visual-category-card h3 {
  margin: 14px 0 8px;
}

.package-card p,
.visual-category-card p {
  color: var(--anicre-text-soft);
}

.package-card strong {
  display: block;
  margin: 16px 0 8px;
}

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

.spotlight-card {
  overflow: hidden;
}

.spotlight-card > div:last-child {
  padding: 18px;
}

.spotlight-card__thumb {
  min-height: 160px;
}

.visual-category-card > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: var(--anicre-surface-soft);
  color: var(--anicre-accent);
  font-weight: 900;
}

.visual-category-card small {
  color: var(--anicre-text-soft);
  font-weight: 800;
}

.how-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.how-it-works--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.how-it-works--cards .how-step {
  padding: 18px;
  border: 1px solid var(--anicre-border);
  border-radius: 18px;
  background: #fff;
}

.tokyo-cta--premium {
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.30), transparent 24%),
    linear-gradient(135deg, #ec4f91, #f58ab6);
  color: #fff;
}

.tokyo-cta--premium .section-subtitle,
.tokyo-cta--premium .eyebrow {
  color: rgba(255,255,255,0.86);
}

.tokyo-cta--premium .eyebrow {
  background: rgba(255,255,255,0.14);
}

.tokyo-cta--premium .button-secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.site-footer--premium {
  background: var(--anicre-footer);
  color: #fff;
}

.site-footer--premium .site-footer__inner {
  grid-template-columns: 0.9fr 1.8fr;
}

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

.footer-columns h3 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-columns a {
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 1180px) {
  .market-creator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-grid,
  .visual-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .market-hero__inner,
  .collab-panel,
  .how-split,
  .site-footer--premium .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .market-search {
    grid-template-columns: 1fr auto;
  }

  .market-search select {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .home-grid,
  .creator-profile__top,
  .directory-layout,
  .site-footer__inner,
  .tokyo-cta {
    grid-template-columns: 1fr;
  }

  .stats-row,
  .cards-grid,
  .creator-grid,
  .how-it-works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .main-nav {
    justify-self: start;
  }

  .site-header__inner {
    gap: 14px;
  }

  .main-nav,
  .main-nav ul {
    width: 100%;
  }

  .main-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: none;
  }

  .main-nav ul::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    display: inline-flex;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 241, 246, 0.8);
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 92px;
    background:
      radial-gradient(circle at 50% -6%, rgba(243, 143, 179, 0.24), transparent 34%),
      radial-gradient(circle at 96% 18%, rgba(194, 234, 255, 0.48), transparent 30%),
      linear-gradient(180deg, #fffefe 0%, #fff8fb 100%);
  }

  .stats-row,
  .cards-grid,
  .creator-grid,
  .form-grid,
  .metric-grid,
  .how-it-works {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(calc(100% - 28px), var(--anicre-max));
  }

  .section {
    padding: 34px 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(43, 33, 48, 0.06);
  }

  .site-header__inner {
    gap: 10px;
    padding: 10px 0 8px;
  }

  .brand-mark {
    font-size: 0.98rem;
    letter-spacing: 0.06em;
  }

  .brand-mark small {
    font-size: 0.66rem;
  }

  .brand-mark::before {
    width: 9px;
    height: 9px;
    margin-right: 7px;
    box-shadow: 0 0 0 4px rgba(243, 143, 179, 0.14);
  }

  .main-nav ul {
    gap: 8px;
    margin-inline: -14px;
    padding: 0 14px 8px;
  }

  .main-nav a {
    min-height: 34px;
    font-size: 0.8rem;
    padding: 7px 11px;
    border: 1px solid rgba(243, 215, 226, 0.85);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 20px rgba(143, 72, 103, 0.06);
  }

  .header-actions {
    display: none;
  }

  .hero {
    padding: 28px 0 18px;
    gap: 18px;
  }

  .hero__copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14.5vw, 4rem);
    line-height: 0.91;
    letter-spacing: -0.075em;
  }

  .hero p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .eyebrow {
    font-size: 0.72rem;
    padding: 7px 10px;
    margin-bottom: 14px;
  }

  .hero__visual--art {
    min-height: 230px;
    border-radius: 26px;
  }

  .hero__tower {
    height: 190px;
    width: 52px;
    left: 51%;
  }

  .hero__sun {
    width: 64px;
    height: 64px;
  }

  .hero__figure {
    width: 38px;
    height: 92px;
  }

  .hero__figure::before {
    left: 8px;
    top: -20px;
    width: 22px;
    height: 22px;
  }

  .visual-stack--floating {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .mini-card {
    padding: 14px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: clamp(1.7rem, 8.5vw, 2.35rem);
    line-height: 1.02;
  }

  .section-heading-row {
    display: block;
  }

  .mobile-market-search {
    grid-template-columns: 1fr auto;
    margin: 18px 0 13px;
    padding: 7px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(245, 206, 221, 0.95);
    box-shadow: 0 18px 44px rgba(143, 72, 103, 0.12);
  }

  .mobile-market-search input[type="text"] {
    min-width: 0;
    min-height: 44px;
    font-size: 0.95rem;
  }

  .mobile-market-search button {
    width: auto;
    min-width: 92px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.86rem;
    box-shadow: none;
  }

  .hero-search {
    margin-top: 20px;
  }

  .quick-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -14px;
    padding: 0 14px 10px;
    scrollbar-width: none;
  }

  .quick-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .quick-filter-bar a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.82);
  }

  .mobile-result-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin-top: 2px;
    padding: 9px 12px;
    border: 1px solid rgba(243, 215, 226, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--anicre-text-soft);
    font-size: 0.78rem;
    box-shadow: 0 10px 26px rgba(143, 72, 103, 0.08);
  }

  .mobile-result-strip strong {
    color: var(--anicre-accent-deep);
    font-size: 0.98rem;
  }

  .mobile-result-strip em {
    font-style: normal;
    color: #8b7b88;
  }

  .section-link {
    display: inline-flex;
    margin: -12px 0 20px;
  }

  .filter-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .filter-panel {
    position: relative;
    order: 2;
    margin-top: -2px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 42px rgba(143, 72, 103, 0.09);
  }

  .filter-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(243, 215, 226, 0.75);
  }

  .filter-panel__head h3 {
    margin: 0 0 2px;
    font-size: 1rem;
  }

  .filter-panel__head p {
    margin: 0;
    color: var(--anicre-text-soft);
    font-size: 0.78rem;
  }

  .filter-panel form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-group + .filter-group {
    margin-top: 0;
    padding-top: 12px;
  }

  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .stat-card,
  .creator-card,
  .category-card,
  .info-card,
  .content-card,
  .filter-panel,
  .profile-panel,
  .form-card {
    border-radius: 24px;
    padding: 18px;
  }

  .archive-heading {
    padding-top: 28px;
    gap: 12px;
  }

  .archive-heading .section-subtitle {
    margin-bottom: 4px;
    font-size: 0.94rem;
  }

  .directory-layout {
    gap: 18px;
    padding-top: 18px;
  }

  .directory-layout > div {
    order: 1;
  }

  .creator-grid {
    gap: 18px;
  }

  .creator-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,250,252,0.96));
  }

  .creator-card:hover {
    transform: none;
  }

  .creator-card__image,
  .creator-cover {
    margin-bottom: 0;
    border-radius: 22px;
  }

  .creator-card__image {
    grid-row: 1 / span 5;
    width: 100%;
    height: 100%;
    min-height: 164px;
    aspect-ratio: auto;
  }

  .creator-card__badges,
  .creator-card h3,
  .creator-card__meta,
  .creator-card .tag-list {
    min-width: 0;
  }

  .creator-card h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .creator-card__meta {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .creator-card .tag-list {
    margin: 0 !important;
  }

  .creator-card .button {
    margin-top: 2px;
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .creator-card .badge-muted {
    display: none;
  }

  .creator-card .tag-list span:nth-child(n+2) {
    display: none;
  }

  .creator-visual__orb {
    right: 10%;
    top: 13%;
    width: 46px;
    height: 46px;
  }

  .creator-visual__tower {
    left: 13%;
    height: 112px;
    width: 36px;
  }

  .creator-visual--wide {
    min-height: 230px;
  }

  .creator-profile__intro {
    margin-top: -58px;
  }

  .creator-avatar {
    width: 112px;
    height: 112px;
    font-size: 2.5rem;
    border-width: 5px;
  }

  .metric {
    padding: 14px;
  }

  .tokyo-cta {
    gap: 16px;
  }

  .tokyo-cta__card {
    border-radius: 22px;
    padding: 20px;
  }

  .community-visual {
    aspect-ratio: 16 / 10;
  }

  .button-group {
    width: 100%;
  }

  .button,
  button,
  input[type="submit"] {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
  }

  .creator-profile__intro {
    padding-inline: 18px;
  }

  input[type="text"],
  input[type="email"],
  input[type="url"],
  select,
  textarea {
    border-radius: 14px;
    padding: 12px 14px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 50px rgba(43, 33, 48, 0.18), inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(18px);
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 20px;
    background: var(--anicre-surface-soft);
    color: var(--anicre-accent-deep);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: -0.01em;
  }

  .mobile-action-bar__primary {
    background: linear-gradient(135deg, var(--anicre-accent) 0%, var(--anicre-accent-strong) 100%) !important;
    color: #fff !important;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 88px;
    background: #fff;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .main-nav {
    grid-column: 1 / -1;
  }

  .header-actions {
    display: flex;
    width: auto;
  }

  .header-actions .button {
    display: none;
  }

  .mobile-menu-icon {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--anicre-border);
    border-radius: 999px;
    color: var(--anicre-text);
    font-size: 0.82rem;
    font-weight: 800;
    background: #fff;
  }

  .market-hero {
    padding: 30px 0 12px;
  }

  .market-hero__inner {
    gap: 20px;
  }

  .market-hero__copy h1 {
    font-size: clamp(2.65rem, 15vw, 3.9rem);
  }

  .market-hero__lead {
    font-size: 1rem;
  }

  .market-hero__support {
    font-size: 0.92rem;
  }

  .market-hero__visual {
    min-height: 245px;
    border-radius: 26px;
  }

  .market-hero__visual > img {
    min-height: 245px;
  }

  .market-hero__float-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px;
    border-radius: 18px;
    font-size: 0.88rem;
  }

  .market-search {
    position: sticky;
    top: 103px;
    z-index: 14;
    grid-template-columns: 1fr auto;
    margin: 18px 0 12px;
    padding: 7px;
    border-radius: 22px;
  }

  .market-search input {
    min-width: 0;
    min-height: 44px;
    font-size: 0.92rem;
  }

  .market-search button {
    min-height: 44px;
    padding-inline: 14px;
  }

  .stats-row--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }

  .stats-row--premium .stat-card {
    padding: 16px;
    border-radius: 18px;
  }

  .stats-row--premium .stat-card h3 {
    font-size: 1.5rem;
  }

  .section--compact {
    padding: 34px 0;
  }

  .market-creator-grid,
  .spotlight-grid,
  .package-grid,
  .visual-category-grid,
  .feature-list,
  .how-it-works--cards,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .market-creator-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 0;
  }

  .market-creator-card__visual {
    min-height: 100%;
    border-radius: 0;
  }

  .market-creator-card__visual--image > img {
    min-height: 100%;
  }

  .market-creator-card__body {
    padding: 14px;
  }

  .market-creator-card__body .button {
    min-height: 40px;
    padding: 10px 14px;
  }

  .collab-panel {
    padding: 20px;
  }

  .package-card,
  .visual-category-card,
  .how-it-works--cards .how-step {
    padding: 16px;
  }

  .tokyo-cta--premium {
    padding: 22px;
  }

  .tokyo-cta--premium .button-group {
    width: 100%;
  }

  .site-footer--premium {
    padding-bottom: 90px;
  }
}

@media (max-width: 430px) {
  .market-creator-card {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .market-creator-card h3 {
    font-size: 1.02rem;
  }

  .market-creator-card p,
  .market-creator-card__meta {
    font-size: 0.8rem;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 20px), var(--anicre-max));
  }

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

  .site-header__inner {
    padding-top: 9px;
  }

  .brand-mark {
    font-size: 0.9rem;
  }

  .brand-mark small {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-market-search {
    grid-template-columns: 1fr auto;
    border-radius: 22px;
    position: sticky;
    top: 101px;
    z-index: 15;
  }

  .mobile-market-search button {
    width: auto;
    min-width: 78px;
    padding-inline: 12px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 16.5vw, 3.45rem);
  }

  .hero__visual--art {
    min-height: 210px;
  }

  .stats-row {
    gap: 12px;
  }

  .stat-card h3 {
    font-size: 1.55rem;
  }

  .cards-grid,
  .creator-grid {
    gap: 14px;
  }

  .creator-card {
    padding: 12px;
    border-radius: 25px;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .creator-card__image {
    min-height: 142px;
  }

  .creator-card__badges {
    gap: 6px;
  }

  .creator-card h3 {
    font-size: 1.16rem;
  }

  .creator-card__meta {
    font-size: 0.82rem;
  }

  .creator-card .tag-list span {
    padding: 6px 9px;
  }

  .mobile-result-strip {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .creator-visual__label {
    right: 10px;
    bottom: 10px;
    font-size: 0.7rem;
    padding: 6px 9px;
  }

  .creator-visual__tower {
    height: 104px;
    width: 34px;
  }

  .main-nav a,
  .badge,
  .stat-chip,
  .tag-list a,
  .tag-list span {
    font-size: 0.76rem;
  }

  .mobile-action-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 6px;
    border-radius: 24px;
  }

  .mobile-action-bar a {
    min-height: 44px;
    font-size: 0.78rem;
  }
}

/* MVP 11: iPhone-first structural responsiveness fixes. */
:root {
  --mobile-bottom-bar-height: 82px;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-hero-mobile: clamp(2.25rem, 9vw, 3.25rem);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.mobile-menu {
  display: none;
}

.site-main {
  min-width: 0;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
    font-size: var(--text-base);
    line-height: 1.6;
    background:
      radial-gradient(circle at 48% -8%, rgba(236, 79, 145, 0.14), transparent 30%),
      linear-gradient(180deg, #fff 0%, #fff8fb 52%, #fff 100%);
  }

  .site-main {
    padding-bottom: calc(var(--mobile-bottom-bar-height) + env(safe-area-inset-bottom) + 18px);
  }

  .container,
  .site-header__inner,
  .market-hero__inner,
  .stats-row,
  .page-shell,
  .archive-heading,
  .directory-layout {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 16px;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(229, 231, 235, 0.88);
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.05);
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 58px;
    padding-block: 8px;
  }

  .brand-mark {
    min-width: 0;
    font-size: 0.98rem;
    line-height: 1.05;
    letter-spacing: 0.055em;
    white-space: nowrap;
  }

  .brand-mark::before {
    width: 9px;
    height: 9px;
    margin-right: 7px;
    vertical-align: 1px;
  }

  .brand-mark small {
    max-width: 230px;
    margin-top: 3px;
    overflow: hidden;
    color: #6b7280;
    font-size: 0.68rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav,
  .header-actions,
  .mobile-menu-icon {
    display: none !important;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--anicre-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    cursor: pointer;
    list-style: none;
  }

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

  .mobile-menu summary span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 99px;
    background: var(--anicre-text);
  }

  .mobile-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(286px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid var(--anicre-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  }

  .mobile-menu__panel ul {
    display: grid;
    gap: 4px;
    padding: 0;
    margin: 0 0 12px;
    list-style: none;
  }

  .mobile-menu__panel a:not(.button) {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--anicre-text);
    font-size: 0.95rem;
    font-weight: 750;
  }

  .mobile-menu__panel .button {
    display: flex;
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    padding: 11px 14px;
    font-size: 0.92rem;
  }

  .market-hero {
    padding: 22px 0 12px;
  }

  .market-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .market-hero__copy,
  .market-hero__visual,
  .collab-panel,
  .market-creator-card,
  .package-card,
  .visual-category-card,
  .spotlight-card,
  .tokyo-cta--premium {
    min-width: 0;
  }

  .eyebrow {
    margin-bottom: 12px;
    padding: 7px 10px;
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
  }

  .market-hero__copy h1 {
    max-width: 100%;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    color: #111827;
    font-size: var(--text-hero-mobile);
    line-height: 0.98;
    letter-spacing: -0.045em;
    word-break: normal;
  }

  .market-hero__lead {
    max-width: 34ch;
    margin-bottom: 8px;
    font-size: var(--text-base);
    line-height: 1.65;
  }

  .market-hero__support {
    max-width: 38ch;
    margin-bottom: 18px;
    font-size: var(--text-sm);
    line-height: 1.62;
  }

  .button-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .button,
  button,
  input[type="submit"] {
    min-height: 46px;
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.1;
  }

  .market-search {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    margin: 18px 0 10px;
    padding: 7px;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  }

  .market-search input {
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .market-search select {
    display: none;
  }

  .market-search button {
    width: auto;
    min-width: 78px;
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.9rem;
  }

  .quick-filter-bar,
  .filter-list,
  .marketplace-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
    margin-inline: -16px;
    overflow-x: auto;
    padding: 0 16px 8px;
    scrollbar-width: none;
  }

  .quick-filter-bar::-webkit-scrollbar,
  .filter-list::-webkit-scrollbar,
  .marketplace-tabs::-webkit-scrollbar {
    display: none;
  }

  .quick-filter-bar a,
  .filter-list .badge,
  .marketplace-tabs .badge {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 11px 15px;
    border-radius: 999px;
    font-size: 0.88rem;
    line-height: 1;
    white-space: nowrap;
  }

  .market-hero__visual {
    min-height: auto;
    border-radius: 24px;
  }

  .market-hero__visual > img {
    width: 100%;
    min-height: 232px;
    height: 232px;
    object-fit: cover;
  }

  .market-hero__float-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: 88px;
    padding: 12px 13px;
    border-radius: 18px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .market-hero__float-card strong {
    font-size: 0.94rem;
  }

  .market-hero__float-card span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .stats-row--premium,
  .stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
    margin-top: 12px;
  }

  .stats-row--premium .stat-card,
  .stat-card {
    min-width: 0;
    padding: 18px 15px;
    border-radius: 22px;
  }

  .stats-row--premium .stat-card span {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border-radius: 11px;
  }

  .stats-row--premium .stat-card h3,
  .stat-card h3 {
    margin-bottom: 4px;
    font-size: clamp(1.72rem, 7vw, 2.15rem);
    line-height: 1;
  }

  .stats-row--premium .stat-card p,
  .stat-card p {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .section,
  .section--compact {
    padding: 42px 0;
  }

  .section-title {
    font-size: clamp(1.75rem, 7.5vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .section-subtitle {
    margin-bottom: 20px;
    font-size: var(--text-base);
    line-height: 1.62;
  }

  .section-heading-row {
    display: block;
  }

  .section-link {
    margin: -6px 0 16px;
    font-size: 0.9rem;
  }

  .market-creator-grid,
  .package-grid,
  .visual-category-grid,
  .spotlight-grid,
  .feature-list,
  .how-it-works--cards,
  .footer-columns {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .market-creator-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 22px;
  }

  .market-creator-card__visual,
  .market-creator-card__visual--image > img {
    min-height: 100%;
    height: 100%;
  }

  .market-creator-card__body {
    padding: 14px;
  }

  .market-creator-card__trust span {
    margin-bottom: 7px;
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  .market-creator-card h3 {
    font-size: 1.08rem;
    line-height: 1.12;
  }

  .market-creator-card p,
  .market-creator-card__meta {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .market-creator-card__meta {
    display: grid;
    gap: 3px;
    margin: 10px 0;
  }

  .market-creator-card__body .button {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .collab-panel,
  .package-card,
  .visual-category-card,
  .how-it-works--cards .how-step,
  .tokyo-cta--premium {
    padding: 20px;
    border-radius: 22px;
  }

  .collab-panel {
    gap: 16px;
    background: linear-gradient(180deg, #fff, #fff7fa);
  }

  .feature-list li {
    padding: 14px;
    border-radius: 16px;
  }

  .package-card h3,
  .visual-category-card h3 {
    margin: 10px 0 7px;
    font-size: 1.18rem;
  }

  .package-card p,
  .visual-category-card p,
  .feature-list span {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .spotlight-card__thumb {
    min-height: 130px;
  }

  .spotlight-card > div:last-child {
    padding: 16px;
  }

  .tokyo-cta--premium .button-group {
    width: 100%;
  }

  .site-footer--premium {
    padding-bottom: calc(var(--mobile-bottom-bar-height) + env(safe-area-inset-bottom) + 28px);
  }

  .mobile-action-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.06fr;
    gap: 6px;
    height: auto;
    padding: 8px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.16);
    backdrop-filter: blur(18px);
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 8px;
    border-radius: 18px;
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .container,
  .site-header__inner,
  .market-hero__inner,
  .stats-row,
  .page-shell,
  .archive-heading,
  .directory-layout {
    padding-inline: 14px;
  }

  .market-hero__copy h1 {
    font-size: clamp(2.12rem, 8.85vw, 2.65rem);
    letter-spacing: -0.04em;
  }

  .brand-mark {
    font-size: 0.9rem;
    letter-spacing: 0.045em;
  }

  .brand-mark small {
    max-width: 205px;
    font-size: 0.64rem;
  }

  .market-search button {
    min-width: 72px;
    padding-inline: 10px;
  }

  .stats-row--premium,
  .stats-row {
    gap: 12px;
  }

  .stats-row--premium .stat-card,
  .stat-card {
    padding: 16px 13px;
  }

  .market-creator-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .mobile-action-bar a {
    min-height: 44px;
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .market-hero__copy h1 {
    font-size: clamp(2rem, 8.4vw, 2.35rem);
  }

  .market-search {
    grid-template-columns: 1fr;
  }

  .market-search button {
    width: 100%;
  }

  .market-creator-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .mobile-action-bar {
    left: 8px;
    right: 8px;
  }
}
