.creator-profile-page {
  --creator-panel: #ffffff;
  --creator-wash: #f8f0f8;
  --creator-pale-gold: #fff8e9;
}

.creator-profile-page [aria-current="page"] {
  color: var(--portal-rose);
}

.creator-draft-notice {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  color: var(--portal-night);
  border-bottom: 1px solid #ead9bc;
  background: var(--creator-pale-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.creator-draft-notice strong {
  color: #8a6422;
}

.creator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(290px, 0.84fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  min-height: min(660px, 76svh);
  padding: clamp(48px, 7vw, 88px) clamp(20px, 7vw, 96px) 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--portal-line);
  background: var(--portal-lilac);
}

.creator-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.creator-hero h1 {
  max-width: 780px;
  color: var(--portal-night);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.creator-hero h1 span {
  display: block;
}

.creator-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--portal-muted);
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  line-height: 1.95;
}

.creator-profile-divider {
  width: min(100%, 780px);
  margin: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--portal-line);
}

.creator-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.creator-role-list li {
  padding: 5px 10px;
  border: 1px solid rgba(112, 71, 123, 0.24);
  border-radius: 999px;
  color: var(--portal-plum);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.creator-portrait {
  position: relative;
  align-self: end;
  width: min(100%, 480px);
  min-height: 480px;
  margin: 0 auto;
}

.creator-portrait::before {
  position: absolute;
  inset: 9% 8% 2%;
  border: 1px solid rgba(112, 71, 123, 0.2);
  border-radius: 50% 50% 8px 8px;
  background: rgba(255, 255, 255, 0.42);
  content: "";
}

.creator-portrait img {
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: 22px;
  width: min(116%, 520px);
  height: 96%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 18px rgba(52, 47, 85, 0.14));
  transform: translateX(50%);
}

.creator-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 0;
  padding: 5px 9px;
  color: var(--portal-muted);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
}

.creator-local-nav {
  position: sticky;
  z-index: 8;
  top: 74px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 13px clamp(20px, 7vw, 96px);
  border-bottom: 1px solid var(--portal-line);
  background: rgba(255, 250, 253, 0.96);
}

.creator-local-nav a {
  color: var(--portal-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.creator-local-nav a:hover,
.creator-local-nav a:focus-visible {
  color: var(--portal-rose);
}

.creator-section {
  padding: clamp(56px, 7vw, 92px) clamp(20px, 7vw, 96px);
  scroll-margin-top: 132px;
}

.creator-section-tinted {
  border-block: 1px solid var(--portal-line);
  background: var(--creator-wash);
}

.creator-section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.creator-section-heading h2,
.creator-next-links h2 {
  color: var(--portal-night);
}

.creator-section-heading > p:last-child {
  max-width: 750px;
  margin: 12px 0 0;
  color: var(--portal-muted);
}

.creator-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--portal-line);
  border-left: 1px solid var(--portal-line);
}

.creator-activity-card {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--portal-line);
  border-bottom: 1px solid var(--portal-line);
  background: var(--creator-panel);
}

.creator-activity-card:nth-child(3n + 1) {
  border-top: 4px solid var(--portal-plum);
}

.creator-activity-card:nth-child(3n + 2) {
  border-top: 4px solid var(--portal-gold);
}

.creator-activity-card:nth-child(3n + 3) {
  border-top: 4px solid var(--portal-mint);
}

.creator-activity-card h3 {
  color: var(--portal-night);
  font-size: 1.1rem;
}

.creator-activity-role {
  margin: 12px 0;
  color: var(--portal-plum);
  font-weight: 800;
}

.creator-activity-card p:last-child {
  margin-bottom: 0;
  color: var(--portal-muted);
  font-size: 0.9rem;
}

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

.creator-work-card {
  position: relative;
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--portal-line);
  border-radius: 7px;
  background: var(--creator-panel);
}

.creator-work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.creator-work-year,
.creator-scope-badge,
.creator-pending-label {
  width: fit-content;
  color: var(--portal-plum);
  font-size: 0.72rem;
  font-weight: 900;
}

.creator-scope-badge,
.creator-pending-label {
  padding: 3px 8px;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  background: var(--portal-lilac);
}

.creator-work-card h3 {
  color: var(--portal-night);
  font-size: 1.13rem;
}

.creator-work-client {
  margin: 8px 0 0;
  color: var(--portal-muted);
}

.creator-work-role {
  margin: 8px 0 0;
  color: var(--portal-plum);
  font-weight: 900;
}

.creator-work-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--portal-line);
  color: var(--portal-muted);
  font-size: 0.82rem;
}

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

.creator-editorial-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--portal-line);
  border-radius: 7px;
  background: var(--creator-panel);
}

.creator-editorial-cover {
  display: grid;
  height: clamp(300px, 29vw, 420px);
  margin: 0;
  padding: 22px;
  place-items: center;
  border-bottom: 1px solid var(--portal-line);
  background: #f7f3f8;
}

.creator-editorial-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(49, 35, 70, 0.14);
}

.creator-editorial-cover-placeholder {
  display: grid;
  width: min(100%, 260px);
  aspect-ratio: 294 / 421;
  padding: 28px;
  place-content: center;
  gap: 12px;
  border: 1px solid var(--portal-line);
  color: var(--portal-plum);
  text-align: center;
  background: linear-gradient(160deg, #fff 0 68%, var(--portal-lilac) 68% 100%);
}

.creator-editorial-cover-placeholder span,
.creator-editorial-cover-placeholder small {
  color: var(--portal-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.creator-editorial-cover-placeholder strong {
  color: var(--portal-night);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.35rem;
}

.creator-editorial-body {
  min-width: 0;
  padding: 24px;
}

.creator-editorial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--portal-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.creator-editorial-status {
  color: var(--portal-plum);
}

.creator-editorial-card h3 {
  color: var(--portal-night);
  font-size: 1.2rem;
}

.creator-editorial-theme {
  margin: 10px 0 0;
  color: var(--portal-plum);
  font-weight: 900;
}

.creator-editorial-description {
  margin: 14px 0 0;
  color: var(--portal-muted);
  font-size: 0.88rem;
}

.creator-editorial-facts {
  display: grid;
  margin: 20px 0 0;
}

.creator-editorial-facts div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--portal-line);
}

.creator-editorial-facts dt {
  color: var(--portal-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.creator-editorial-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--portal-night);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.creator-editorial-body .creator-inline-link + .creator-inline-link {
  margin-left: 16px;
}

.creator-editorial-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--portal-line);
}

.creator-editorial-contact p {
  max-width: 760px;
  margin: 0;
  color: var(--portal-muted);
}

.creator-editorial-contact .portal-button {
  flex: 0 0 auto;
}

.creator-inline-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--portal-rose);
  font-size: 0.86rem;
  font-weight: 900;
}

.creator-pending-list {
  display: grid;
  border-top: 1px solid var(--portal-line);
}

.creator-pending-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) auto minmax(280px, 1.3fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--portal-line);
}

.creator-pending-row h3 {
  color: var(--portal-night);
  font-size: 0.98rem;
}

.creator-pending-row p {
  margin: 0;
  color: var(--portal-muted);
  font-size: 0.88rem;
}

.creator-academic-thumbnail {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 220px;
  margin-bottom: 12px;
  object-fit: contain;
  object-position: left center;
  background: #f6f1f8;
}

.creator-archive {
  border-top: 1px solid var(--portal-line);
}

.creator-archive-group {
  border-bottom: 1px solid var(--portal-line);
}

.creator-archive-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 19px 4px;
  color: var(--portal-night);
  font-weight: 900;
  cursor: pointer;
}

.creator-archive-group summary small {
  color: var(--portal-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.creator-archive-body {
  padding: 0 4px 22px;
  color: var(--portal-muted);
}

.creator-archive-body ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.25rem;
}

.creator-archive-body p {
  margin: 0;
}

.creator-other-works {
  margin-top: 28px;
  border-top: 1px solid var(--portal-line);
}

.creator-other-works-body {
  padding: 4px 0 24px;
}

.creator-other-works-body > p {
  margin: 0 0 20px;
  color: var(--portal-muted);
}

.creator-next-links {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
  padding: clamp(52px, 7vw, 82px) clamp(20px, 7vw, 96px);
}

.creator-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--portal-line);
  border-left: 1px solid var(--portal-line);
}

.creator-link-list a {
  min-height: 64px;
  padding: 18px;
  border-right: 1px solid var(--portal-line);
  border-bottom: 1px solid var(--portal-line);
  color: var(--portal-plum);
  background: var(--creator-panel);
  font-weight: 900;
}

.creator-link-list a:hover,
.creator-link-list a:focus-visible {
  color: var(--portal-rose);
  background: #fff5fa;
}

@media (max-width: 900px) {
  .creator-hero {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.65fr);
  }

  .creator-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-activity-card:nth-child(n) {
    border-top-color: var(--portal-line);
  }

  .creator-activity-card:nth-child(2n + 1) {
    border-top: 4px solid var(--portal-plum);
  }

  .creator-activity-card:nth-child(2n + 2) {
    border-top: 4px solid var(--portal-gold);
  }

  .creator-pending-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .creator-pending-row p {
    grid-column: 1 / -1;
  }

  .creator-academic-detail {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .creator-draft-notice {
    display: grid;
    gap: 1px;
    padding-inline: 14px;
  }

  .creator-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .creator-hero h1 {
    font-size: clamp(2rem, 8.7vw, 2.35rem);
  }

  .creator-lead {
    line-height: 1.85;
  }

  .creator-portrait {
    width: min(100%, 340px);
    min-height: 360px;
  }

  .creator-portrait img {
    height: 100%;
  }

  .creator-local-nav {
    top: 73px;
    justify-content: flex-start;
    gap: 8px 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .creator-local-nav a {
    flex: 0 0 auto;
  }

  .creator-section {
    scroll-margin-top: 128px;
  }

  .creator-activity-grid,
  .creator-work-grid,
  .creator-editorial-grid,
  .creator-next-links,
  .creator-link-list {
    grid-template-columns: 1fr;
  }

  .creator-activity-card {
    min-height: 0;
  }

  .creator-activity-card:nth-child(n) {
    border-top: 4px solid var(--portal-plum);
  }

  .creator-pending-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .creator-academic-detail {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .creator-archive-group summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .creator-editorial-cover {
    height: 380px;
  }

  .creator-editorial-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .creator-editorial-contact .portal-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creator-profile-page * {
    scroll-behavior: auto;
  }
}
