:root {
  --bg-top: #f4f6fb;
  --bg-mid: #fbf8f4;
  --bg-bottom: #edf1fb;
  --text: #171a21;
  --muted: #596273;
  --subtle: #707b8a;
  --card: rgba(255, 255, 255, 0.9);
  --card-border: rgba(20, 28, 40, 0.08);
  --shadow: 0 12px 40px rgba(22, 34, 56, 0.08), 0 2px 8px rgba(22, 34, 56, 0.04);
  --radius-lg: 28px;
  --radius-sm: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --accent: #8d4eb0;
  --link: #1f62ea;
  --dev: #b06f00;
}

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

body.creator-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(ellipse 120% 72% at 50% -14%, rgba(255, 255, 255, 0.98), transparent 58%),
    linear-gradient(165deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
  background-attachment: fixed;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: #fff;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
}

.site-header {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(1.15rem, 4vw, 1.75rem) clamp(1.25rem, 5vw, 2rem) 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--subtle);
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.22rem 0.4rem;
  border-radius: 7px;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.site-nav__sep {
  color: rgba(0, 0, 0, 0.12);
  user-select: none;
  font-weight: 400;
}

.page-hero {
  text-align: center;
  padding: clamp(1.75rem, 5vw, 2.75rem) 0 clamp(0.25rem, 2vw, 0.75rem);
}

.page-hero__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.page-hero__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 28, 40, 0.06);
  color: var(--accent);
  font-size: 28px;
}

.page-hero__title {
  margin: 0.85rem 0 0;
  font-size: clamp(2.1rem, 5.5vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.page-hero__intro {
  margin: 1.05rem auto 0;
  max-width: 52rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-note {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(20, 28, 40, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(22, 34, 56, 0.05);
}

.page-main {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 5vw, 2rem) clamp(3rem, 7vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 4vw, 2.4rem);
}

.creations-root {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.group-section__title {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.creation-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
    var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.creation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(141, 78, 176, 0.18);
  box-shadow: 0 20px 48px rgba(22, 34, 56, 0.12), 0 8px 20px rgba(141, 78, 176, 0.08);
}

.creation-card__title {
  margin: 0;
  font-size: clamp(1.08rem, 2.8vw, 1.2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #2a2438;
}

.creation-card__subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.45;
}

.creation-card__meta {
  margin: 0;
  font-size: 0.81rem;
  color: var(--subtle);
  line-height: 1.5;
}

.creation-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.creation-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status--active {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(22, 163, 74, 0.22);
  color: #166534;
}

.status--draft {
  background: rgba(130, 142, 158, 0.18);
  border-color: rgba(130, 142, 158, 0.28);
  color: #4a5568;
}

.status--concept {
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(180, 140, 40, 0.25);
  color: #7c5e10;
}

.status--default {
  background: rgba(141, 78, 176, 0.1);
  border-color: rgba(141, 78, 176, 0.18);
  color: #6f2f95;
}

.creation-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.26rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
  background: rgba(34, 104, 255, 0.07);
  border: 1px solid rgba(34, 104, 255, 0.14);
  color: #2d3d5a;
}

.creation-card__desc {
  margin: 0.15rem 0 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--muted);
}

.creation-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.35rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.action-btn--details {
  font-family: inherit;
  cursor: pointer;
  color: var(--accent);
  background: rgba(141, 78, 176, 0.1);
  border-color: rgba(141, 78, 176, 0.22);
}

.action-btn--open {
  color: #1b4bc2;
  background: rgba(34, 104, 255, 0.1);
  border-color: rgba(34, 104, 255, 0.22);
}

.action-btn:hover {
  text-decoration: none;
  filter: brightness(1.03);
}

.action-soon {
  font-size: 0.76rem;
  font-weight: 600;
  color: #8b95a5;
  font-style: italic;
}

.creation-card__details {
  margin-top: 0.3rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(20, 28, 40, 0.12);
}

.creation-summary {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #3c4351;
}

.creation-detail {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.state-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tile {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.dev-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 28, 40, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.05rem 1.15rem;
  margin-bottom: 0.75rem;
}

.dev-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dev-card__title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dev-card__desc {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
  color: #fff;
}

.badge--dev {
  background: var(--dev);
}

.page-footer {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem) clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
}

.page-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.page-footer a {
  color: var(--muted);
  font-weight: 700;
}

.page-footer a:hover {
  color: var(--accent);
}

.app-breadcrumb {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.85rem;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.app-breadcrumb a {
  color: var(--link);
  text-decoration: none;
}

.app-breadcrumb a:hover {
  text-decoration: underline;
}

.app-breadcrumb__sep {
  color: var(--subtle);
  font-weight: 500;
  user-select: none;
}

.app-breadcrumb__here {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 860px) {
  .creation-grid {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }
}
