﻿:root {
  --bg: #07080d;
  --bg-soft: #0b0c12;
  --surface: #111218;
  --surface-strong: #151720;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(160, 110, 255, 0.34);
  --text: #f7f4ff;
  --muted: #a4a0ad;
  --muted-strong: #d6d0df;
  --primary: #8b4dff;
  --primary-2: #c24bff;
  --accent: #51d6ff;
  --success: #49e6a2;
  --shadow: 0 22px 70px rgba(91, 40, 190, 0.2);
  --radius: 8px;
  --max: 1120px;
  --fs-body: 15px;
  --fs-h1: 34px;
  --fs-h2: 30px;
  --fs-h3: 17.50px;
  --fs-lead: 18px;
  --fs-button: 14px;
  --fs-caption: 13px;
  --fs-small: 12px;
  --fs-display: 36px;
  --lh-body: 1.55;
  --lh-heading: 1.16;
  --section-panel-padding: clamp(2rem, 4vw, 2.7rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Mulish", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.narrow {
  width: min(calc(100% - 32px), 640px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 8, 13, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.app-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 14px;
  color: var(--text);
  background: rgba(17, 18, 24, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: var(--fs-caption);
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.app-notice.is-success {
  border-color: rgba(73, 230, 162, 0.3);
}

.app-notice.is-warning {
  border-color: rgba(255, 214, 107, 0.32);
}

.nav-shell {
  min-height: 68px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(139, 77, 255, 0.36);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: var(--fs-button);
  font-weight: 600;
}

.nav-links a,
.ghost-link,
.text-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.ghost-link:hover,
.text-link:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-button);
}

.ghost-link {
  color: var(--muted);
  font-weight: 600;
}

.cart-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  transition: color 180ms ease;
}

.cart-link:hover {
  color: var(--text);
}

.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  color: var(--text);
  background: rgba(139, 77, 255, 0.22);
  border: 1px solid rgba(174, 100, 255, 0.45);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 0 18px rgba(139, 77, 255, 0.22);
}

.login-button {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(139, 77, 255, 0.28);
}

.login-button:hover {
  background: linear-gradient(135deg, #9b5cff, #c066ff);
}

.login-button svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.pill-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  font-size: var(--fs-button);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pill-button:hover {
  transform: translateY(-1px);
}

.pill-button.light {
  color: #111218;
  background: #fff;
}

.pill-button.dark {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.pill-button.subtle {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--line);
}

.pill-button.large {
  min-height: 42px;
  padding: 0 20px;
  font-size: var(--fs-button);
}

.pill-button svg {
  width: 18px;
  height: 18px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  max-height: 380px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(139, 77, 255, 0.28), transparent 32%),
    radial-gradient(circle at 52% 18%, rgba(81, 214, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #0c0c14 0%, #090a10 72%, var(--bg) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 22%, black, transparent 66%);
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 26%;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 77, 255, 0.42), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 24px 0 19px;
  text-align: center;
}

.announcement {
  width: fit-content;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: 600;
}

.announcement span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px var(--success);
}

.hero-content h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
  font-weight: 800;
}

.hero-content h1 strong,
.quality-copy h2 strong {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.search-panel {
  width: min(100%, 600px);
  min-height: 52px;
  margin: 16px auto 0;
  padding: 6px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  background: rgba(7, 8, 13, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.search-panel svg {
  width: 22px;
  height: 22px;
  margin-left: 12px;
  color: var(--muted);
}

.search-panel input {
  min-width: 0;
  height: 44px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-panel input::placeholder {
  color: #6f6a78;
}

.search-panel button {
  min-width: 84px;
  height: 44px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.model-strip {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: #080710;
}

.model-strip-track {
  min-height: 90px;
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  color: rgba(139, 134, 226, 0.28);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.section {
  padding: var(--section-panel-padding) 0;
}

.bordered {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.quality-copy h2 {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}

.section-heading p,
.quality-copy p,
.site-footer p {
  color: var(--muted);
  margin: 12px 0 0;
}

.text-link {
  color: var(--primary-2);
  font-weight: 800;
  white-space: nowrap;
}

.text-link::after {
  content: " ->";
}

.prompt-carousel,
.category-carousel {
  position: relative;
}

.prompt-grid,
.category-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.prompt-grid {
  --prompt-card-width: calc((100% - 54px) / 4);
  gap: 18px;
}

.category-grid {
  --category-tile-width: calc((100% - 70px) / 6);
  gap: 14px;
}

.prompt-grid::-webkit-scrollbar,
.category-grid::-webkit-scrollbar {
  display: none;
}

.prompt-card,
.category-tile,
.benefit-card,
.faq-list details {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
}

.prompt-card {
  flex: 0 0 var(--prompt-card-width);
  overflow: hidden;
  min-width: 0;
  scroll-snap-align: start;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.prompt-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.prompt-card.is-highlighted {
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(139, 77, 255, 0.14);
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: rgba(7, 8, 13, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(14px);
  transition: opacity 260ms ease, transform 260ms ease, background 180ms ease, border-color 180ms ease;
}

.slider-button:hover {
  background: rgba(17, 18, 24, 0.82);
  border-color: rgba(255, 255, 255, 0.24);
}

.slider-button svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.slider-prev {
  left: 12px;
  transform: translate(-8px, -50%);
}

.slider-next {
  right: 12px;
  transform: translate(8px, -50%);
}

.prompt-carousel:hover .slider-button,
.prompt-carousel:focus-within .slider-button,
.category-carousel:hover .slider-button,
.category-carousel:focus-within .slider-button {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.related-prompts-section {
  margin-top: var(--section-panel-padding);
}

.related-prompts-section .section-heading {
  margin-bottom: 20px;
}

.related-grid.is-static {
  overflow: visible;
  scroll-snap-type: none;
}

.related-grid.is-static .prompt-card {
  flex-grow: 0;
}

.section-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.prompt-art {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #161821;
}

.prompt-art::before,
.prompt-art::after {
  content: "";
  position: absolute;
  inset: 0;
}

.prompt-art::after {
  background: linear-gradient(180deg, transparent 36%, rgba(7, 8, 13, 0.92));
}

.art-saas::before {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 45%),
    repeating-linear-gradient(90deg, rgba(81, 214, 255, 0.18) 0 16px, transparent 16px 34px),
    linear-gradient(135deg, #26384d, #111218 64%);
}

.art-code::before {
  background:
    linear-gradient(140deg, transparent 0 22%, rgba(73, 230, 162, 0.18) 22% 42%, transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 16px),
    linear-gradient(135deg, #0f2a24, #191421 70%);
}

.art-image::before {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.22), transparent 18%),
    radial-gradient(circle at 50% 42%, #3578ff 0 14%, transparent 15%),
    linear-gradient(135deg, #c4b8ff, #1b2546 60%, #0b0c12);
}

.art-pitch::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, #191421, #0a0b10);
  background-size: 24px 24px, 24px 24px, auto;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.favorite-button:hover {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.favorite-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.favorite-button.is-favorite,
.favorite-button[aria-pressed="true"] {
  color: #ff5f8f;
  background: rgba(255, 95, 143, 0.16);
  border-color: rgba(255, 95, 143, 0.34);
}

.favorite-button.is-favorite svg,
.favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.owned-badge {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 10px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #b9f5d0;
  background: rgba(73, 230, 162, 0.16);
  border: 1px solid rgba(185, 245, 208, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.owned-inline-badge,
.owned-text {
  color: #b9f5d0;
}

.card-body {
  padding: 12px 14px 14px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
}

.badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.model-badge,
.category-badge {
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.model-chatgpt {
  color: #b9f5d0;
  background: rgba(91, 214, 143, 0.18);
  border: 1px solid rgba(185, 245, 208, 0.24);
}

.model-claude {
  color: #ffd2a8;
  background: rgba(255, 166, 92, 0.18);
  border: 1px solid rgba(255, 210, 168, 0.24);
}

.model-midjourney {
  color: #decaff;
  background: rgba(170, 124, 255, 0.2);
  border: 1px solid rgba(222, 202, 255, 0.25);
}

.category-badge {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.prompt-card h3,
.benefit-card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: 1.25;
}

.prompt-card h3 {
  font-size: 13px;
  line-height: 1.28;
  min-height: calc(13px * 1.28 * 2);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.prompt-card p,
.benefit-card p,
.faq-list p {
  color: var(--muted);
  margin: 10px 0 0;
}

.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: var(--fs-caption);
}

.card-meta strong {
  color: var(--text);
  font-size: var(--fs-button);
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.category-tile {
  flex: 0 0 var(--category-tile-width);
  min-height: 130px;
  padding: 20px 12px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted-strong);
  scroll-snap-align: start;
  transition: border-color 180ms ease, background 180ms ease;
}

.category-tile:hover {
  border-color: var(--line-strong);
  background: rgba(139, 77, 255, 0.1);
}

.icon-shell {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.icon-shell svg {
  width: 22px;
  height: 22px;
}

.category-tile strong {
  margin-top: 10px;
}

.category-tile small {
  color: var(--muted);
}

.quality-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.quality-copy p {
  max-width: 500px;
  margin-bottom: 24px;
}

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

.benefit-card {
  padding: 22px;
}

.mini-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #d9c8ff;
  background: rgba(139, 77, 255, 0.24);
}

.mini-icon svg {
  width: 18px;
  height: 18px;
}

.faq-section {
  background: #080910;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.faq-column {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 22px 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0b10;
}

.footer-grid {
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 48px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: var(--fs-caption);
}

.site-footer a:not(.brand) {
  display: block;
  color: var(--muted);
  margin-top: 10px;
}

.copyright {
  min-height: 64px;
  display: flex;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--fs-caption);
}

.page-shell {
  min-height: 64vh;
  padding: var(--section-panel-padding) 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: var(--bg);
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 520px;
  background:
    radial-gradient(780px 360px at 50% 0%, rgba(139, 77, 255, 0.09), transparent 72%),
    linear-gradient(180deg, rgba(139, 77, 255, 0.035), transparent 76%);
  pointer-events: none;
}

.page-shell > .container {
  position: relative;
  z-index: 1;
}

.page-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.page-heading p {
  margin: 0 0 8px;
  color: var(--primary-2);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.page-heading h1 {
  margin: 0;
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
}

.page-heading span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.prompts-toolbar {
  margin: 0 0 22px;
  position: sticky;
  top: 68px;
  z-index: 16;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
  padding: 8px 0 12px;
  background: transparent;
  border-radius: 999px;
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.prompts-toolbar.is-stuck {
  background: rgba(7, 8, 13, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.prompt-type-tabs {
  width: fit-content;
  min-height: 58px;
  padding: 6px;
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  overflow: visible;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}

.filter-pill {
  min-height: 44px;
  min-width: 60px;
  padding: 0 10px;
  flex: 0 0 auto;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-button);
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-pill:hover {
  color: var(--text);
}

.filter-pill.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.prompt-filter-row {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-select {
  width: 152px;
  min-width: 0;
  flex: 0 0 152px;
  position: relative;
  display: grid;
  gap: 0;
  color: var(--muted-strong);
  font-size: var(--fs-button);
  font-weight: 800;
}

.filter-select select,
.filter-dropdown-button {
  min-height: 58px;
  min-width: 0;
  width: 100%;
  padding: 0 30px 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-select select {
  background:
    linear-gradient(45deg, transparent 50%, var(--muted-strong) 50%) right 15px center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted-strong) 50%, transparent 50%) right 10px center / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.045);
}

.filter-dropdown-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}

.filter-dropdown-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-dropdown-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.filter-dropdown.is-open .filter-dropdown-button svg {
  transform: rotate(180deg);
}

.filter-select select:focus,
.filter-dropdown-button:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(139, 77, 255, 0.16);
}

.filter-select select:hover,
.filter-dropdown-button:hover {
  color: var(--text);
}

.filter-select option {
  color: var(--text);
  background: var(--surface);
}

.filter-dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: 100%;
  min-width: 100%;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  padding: 6px;
  border-radius: var(--radius);
  background: rgba(17, 18, 24, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  overscroll-behavior: contain;
  scrollbar-color: rgba(139, 77, 255, 0.5) rgba(255, 255, 255, 0.05);
}

.filter-dropdown.is-open .filter-dropdown-menu {
  display: grid;
  gap: 4px;
}

.filter-dropdown-option {
  min-height: 38px;
  width: 100%;
  padding: 0 10px;
  overflow: hidden;
  color: var(--muted-strong);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--fs-caption);
  font-weight: 800;
  cursor: pointer;
}

.filter-dropdown-option:hover,
.filter-dropdown-option.is-selected {
  color: var(--text);
  background: rgba(139, 77, 255, 0.16);
  border-color: rgba(139, 77, 255, 0.22);
}

.sort-select {
  width: 220px;
  flex-basis: 220px;
  margin-left: auto;
}

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

.listing-grid .prompt-card {
  flex: initial;
}

.prompts-load-state {
  min-height: 60px;
  margin-top: 28px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.route-card {
  cursor: pointer;
}

.detail-layout,
.cart-layout,
.checkout-layout,
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.product-detail-shell {
  padding-top: clamp(2.6rem, 5vw, 4rem);
}

.product-detail-shell .detail-layout {
  align-items: stretch;
}

.product-detail-shell .detail-panel {
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.detail-gallery,
.detail-panel,
.product-detail-card,
.form-panel,
.summary-panel,
.stack-panel,
.prompt-content-panel,
.empty-panel,
.status-panel,
.dashboard-card,
.library-row {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
}

.detail-gallery,
.detail-panel,
.product-detail-card,
.form-panel,
.summary-panel,
.prompt-content-panel,
.empty-panel,
.status-panel {
  padding: 22px;
}

.detail-art.prompt-art {
  height: 420px;
  border-radius: var(--radius);
}

.detail-thumbs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.detail-thumbs span,
.cart-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #161821;
  border: 1px solid var(--line);
}

.detail-thumbs span {
  min-height: 82px;
}

.detail-price {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1;
}

.detail-price-block {
  display: grid;
  gap: 6px;
}

.detail-price-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.detail-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-original-price {
  color: rgba(214, 208, 223, 0.48);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  text-decoration-thickness: 2px;
}

.discount-badge {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #b9f5d0;
  background: rgba(73, 230, 162, 0.14);
  border: 1px solid rgba(185, 245, 208, 0.24);
  font-size: var(--fs-caption);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.detail-title {
  margin: 0 0 10px;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}

.product-detail-shell .detail-badges {
  margin: 0 0 12px;
}

.detail-description {
  max-width: 58ch;
  margin: 14px 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.product-action-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-action-row .pill-button {
  width: 100%;
}

.product-action-row .full-button {
  grid-column: 1 / -1;
}

.detail-badges {
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badges {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.trust-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.trust-badge svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #964DFF;
  stroke-width: 2.2;
}

.detail-panel p,
.product-detail-card p,
.summary-panel p,
.empty-panel p,
.status-panel p,
.prompt-content-panel pre,
.library-row small {
  color: var(--muted);
}

.product-extra-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.product-detail-card {
  height: clamp(280px, 34vw, 360px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-detail-card h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
}

.product-detail-card > p {
  min-height: 0;
  margin: 16px 0 0;
  padding-right: 8px;
  overflow-y: auto;
  line-height: var(--lh-body);
}

.review-list {
  min-height: 0;
  margin-top: 16px;
  display: grid;
  gap: 12px;
  padding-right: 8px;
  overflow-y: auto;
}

.product-detail-card > p,
.review-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 77, 255, 0.48) rgba(255, 255, 255, 0.045);
}

.product-detail-card > p::-webkit-scrollbar,
.review-list::-webkit-scrollbar {
  width: 7px;
}

.product-detail-card > p::-webkit-scrollbar-track,
.review-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
}

.product-detail-card > p::-webkit-scrollbar-thumb,
.review-list::-webkit-scrollbar-thumb {
  background: rgba(139, 77, 255, 0.48);
  border-radius: 999px;
}

.review-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.review-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--muted-strong);
  background: rgba(139, 77, 255, 0.16);
  border: 1px solid rgba(139, 77, 255, 0.22);
}

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

.review-avatar svg {
  width: 18px;
  height: 18px;
}

.review-content {
  min-width: 0;
}

.review-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.review-head strong,
.review-head span {
  display: block;
}

.review-head strong {
  color: var(--text);
  font-size: var(--fs-caption);
  line-height: 1.25;
}

.review-head span {
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.25;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: rgba(214, 208, 223, 0.32);
  flex: 0 0 auto;
}

.review-stars span {
  display: inline-flex;
}

.review-stars .is-filled {
  color: #ffd66b;
}

.review-stars svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke-width: 1.7;
}

.review-card p {
  margin: 10px 0 0;
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.review-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.review-actions button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.review-actions button:hover {
  color: var(--text);
  background: rgba(139, 77, 255, 0.12);
  border-color: rgba(139, 77, 255, 0.22);
}

.review-actions svg {
  width: 13px;
  height: 13px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.full-button {
  width: 100%;
}

.auth-page-shell {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
}

.auth-page-shell .container {
  display: grid;
  justify-items: center;
}

.auth-page-shell .page-heading {
  max-width: 520px;
  margin: 0 auto 24px;
  text-align: center;
}

.auth-layout {
  width: min(100%, 460px);
  display: grid;
  justify-items: center;
}

.auth-panel {
  width: 100%;
}

.google-auth-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.google-auth-button:hover {
  color: var(--text);
  background: rgba(139, 77, 255, 0.12);
  border-color: rgba(139, 77, 255, 0.26);
}

.google-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #111218;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.auth-side-link {
  width: fit-content;
  margin-top: -6px;
  justify-self: end;
  font-size: var(--fs-caption);
}

.password-strength {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.password-strength span {
  height: 5px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.password-strength span::before {
  content: "";
  display: block;
  height: 100%;
  width: 34%;
  border-radius: inherit;
  background: #ff7a7a;
}

.password-strength[data-level="orta"] span::before {
  width: 66%;
  background: #ffd66b;
}

.password-strength[data-level="güçlü"] span::before {
  width: 100%;
  background: #49e6a2;
}

.form-message {
  margin: 0;
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: 700;
}

.form-panel {
  display: grid;
  gap: 16px;
}

.form-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.form-panel input {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  color: var(--text);
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.form-panel input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(139, 77, 255, 0.16);
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.check-row input {
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.captcha-placeholder {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.checkout-user-box,
.mock-payment-box {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.checkout-user-box span,
.mock-payment-box span {
  color: var(--muted);
  font-size: var(--fs-caption);
}

.checkout-user-box strong,
.mock-payment-box strong {
  color: var(--text);
}

.centered-link {
  width: fit-content;
  margin: 0 auto;
}

.cart-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-thumb {
  width: 76px;
  height: 62px;
}

.cart-row h2,
.detail-panel h2,
.prompt-content-panel h2,
.empty-panel h2,
.status-panel h2 {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: 1.25;
}

.cart-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--fs-caption);
}

.icon-text-button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.summary-panel {
  display: grid;
  gap: 14px;
}

.summary-panel > span {
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.summary-panel > strong {
  font-size: var(--fs-h2);
  line-height: 1;
}

.summary-panel p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.empty-panel,
.status-panel {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.status-panel {
  min-height: 260px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.status-panel.is-success {
  border-color: rgba(73, 230, 162, 0.28);
}

.status-panel.is-failed {
  border-color: rgba(255, 95, 143, 0.28);
}

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

.dashboard-card {
  min-height: 150px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-card:hover,
.library-row:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.dashboard-card span {
  color: var(--muted);
  font-weight: 700;
}

.dashboard-card strong {
  font-size: var(--fs-h2);
}

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

.profile-form {
  max-width: 560px;
}

.profile-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--muted-strong);
  background: rgba(139, 77, 255, 0.16);
  border: 1px solid rgba(139, 77, 255, 0.24);
}

.profile-avatar svg {
  width: 30px;
  height: 30px;
}

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

.purchased-detail-head {
  margin-bottom: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
}

.purchased-detail-head .cart-thumb {
  width: 96px;
  height: 76px;
}

.purchased-detail-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: var(--fs-caption);
}

.order-status {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: var(--fs-caption);
  font-weight: 800;
}

.order-status.is-paid {
  color: #b9f5d0;
  background: rgba(73, 230, 162, 0.14);
  border: 1px solid rgba(185, 245, 208, 0.22);
}

.order-status.is-failed {
  color: #ffc0c0;
  background: rgba(255, 122, 122, 0.14);
  border: 1px solid rgba(255, 192, 192, 0.22);
}

.library-list {
  display: grid;
  gap: 12px;
}

.library-row {
  padding: 14px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.library-row span:not(.cart-thumb, .order-status) {
  display: grid;
  gap: 3px;
}

.library-row em {
  color: var(--primary-2);
  font-style: normal;
  font-weight: 800;
  font-size: var(--fs-caption);
}

.prompt-content-panel pre {
  margin: 16px 0 0;
  padding: 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  border-radius: var(--radius);
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid var(--line);
  font-family: "Mulish", Arial, sans-serif;
  line-height: 1.55;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 5, 9, 0.72);
  backdrop-filter: blur(16px);
}

.modal-backdrop[hidden] {
  display: none;
}

.variable-modal {
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 23, 31, 0.98), rgba(13, 14, 20, 0.98));
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

.modal-head {
  padding: 20px 22px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.modal-head span {
  color: var(--primary-2);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.modal-head h2 {
  margin: 4px 0 0;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
}

.modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.variable-form {
  min-height: 0;
  padding: 22px;
  display: grid;
  gap: 14px;
  overflow-y: auto;
}

.variable-form label {
  display: grid;
  gap: 7px;
}

.variable-form label > span {
  color: var(--text);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.variable-form input {
  min-height: 46px;
  width: 100%;
  padding: 0 13px;
  color: var(--text);
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.variable-form input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(139, 77, 255, 0.16);
}

.variable-form small,
.variable-form em {
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.45;
}

.variable-form em {
  font-style: normal;
  color: var(--muted-strong);
}

.modal-actions {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.admin-page-shell .page-heading {
  max-width: 820px;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-sidebar,
.admin-panel,
.admin-stats article {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
}

.admin-sidebar {
  position: sticky;
  top: 88px;
  z-index: 8;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  backdrop-filter: blur(18px);
}

.admin-sidebar a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: var(--fs-caption);
  font-weight: 800;
  text-align: center;
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
  color: var(--text);
  background: rgba(139, 77, 255, 0.12);
}

.admin-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.admin-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-list-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.admin-search input {
  width: min(260px, 34vw);
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

.admin-search input:focus {
  outline: 2px solid rgba(139, 77, 255, 0.45);
  outline-offset: 2px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.admin-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-image-picker {
  display: grid;
  gap: 10px;
}

.admin-image-picker > span {
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.admin-image-picker > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-image-option {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  padding: 8px;
  display: grid;
  gap: 8px;
}

.admin-image-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-image-option i {
  width: 100%;
  height: 58px;
}

.admin-image-option strong {
  color: var(--text);
  font-size: var(--fs-caption);
}

.admin-image-option:has(input:checked) {
  border-color: rgba(139, 77, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(139, 77, 255, 0.28);
}

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

.admin-stats article {
  min-height: 112px;
  padding: 18px;
  display: grid;
  align-content: space-between;
}

.admin-stats span,
.admin-panel-head p,
.admin-table th,
.admin-table td,
.taxonomy-list span {
  color: var(--muted);
}

.admin-stats strong {
  color: var(--text);
  font-size: var(--fs-h2);
  line-height: 1;
}

.admin-panel {
  padding: 18px;
  min-width: 0;
}

.admin-panel-head {
  margin-bottom: 16px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
}

.admin-panel-head p {
  margin: 6px 0 0;
  font-size: var(--fs-caption);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: var(--fs-caption);
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  color: var(--muted-strong);
  font-weight: 800;
}

.admin-product-cell {
  min-width: 260px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-product-cell .cart-thumb {
  width: 68px;
  height: 52px;
}

.admin-product-cell strong {
  color: var(--text);
}

.admin-status {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-status.is-live {
  color: #b9f5d0;
  background: rgba(73, 230, 162, 0.14);
  border: 1px solid rgba(185, 245, 208, 0.22);
}

.admin-status.is-draft {
  color: #ffd66b;
  background: rgba(255, 214, 107, 0.12);
  border: 1px solid rgba(255, 214, 107, 0.22);
}

.admin-status.is-archived {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  color: var(--text);
  background: rgba(7, 8, 13, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  font: inherit;
}

.admin-form textarea {
  min-height: 108px;
  padding-top: 12px;
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(139, 77, 255, 0.16);
}

.taxonomy-list {
  display: grid;
  gap: 14px;
}

.taxonomy-form {
  margin-top: 16px;
}

.admin-detail-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.taxonomy-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.taxonomy-list strong {
  width: 100%;
  color: var(--text);
  font-size: var(--fs-caption);
}

.taxonomy-list span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 980px) {
  :root {
    --fs-h1: 32px;
    --fs-h2: 28px;
    --fs-h3: 17.50px;
    --fs-display: 32px;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: none;
    background: rgba(17, 18, 24, 0.98);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .nav-links {
    top: 80px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-actions {
    top: 292px;
    padding: 16px;
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    flex-direction: column;
    align-items: stretch;
  }

  .menu-open .nav-links,
  .menu-open .nav-actions {
    display: flex;
  }

  .prompt-grid {
    --prompt-card-width: calc((100% - 18px) / 2);
  }

  .category-grid {
    --category-tile-width: calc((100% - 28px) / 3);
  }

  .quality-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .prompts-toolbar {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .prompts-toolbar::-webkit-scrollbar {
    display: none;
  }

  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .content-layout,
  .settings-grid,
  .admin-shell,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    top: 78px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-sidebar a {
    min-width: 128px;
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

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

  .product-extra-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-card {
    height: 320px;
  }

  .product-detail-shell .detail-panel {
    min-height: auto;
  }

  .model-strip-track {
    min-height: 90px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 24px;
    gap: 42px;
    scrollbar-width: none;
  }

  .model-strip-track::-webkit-scrollbar {
    display: none;
  }

  .admin-panel-head,
  .admin-panel-actions,
  .admin-list-tools {
    align-items: stretch;
  }

  .admin-panel-actions,
  .admin-list-tools {
    width: 100%;
  }

  .admin-search,
  .admin-search input {
    width: 100%;
  }

  .admin-image-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --fs-body: 15px;
    --fs-h1: 28px;
    --fs-h2: 24px;
    --fs-h3: 17.50px;
    --fs-lead: 16px;
    --fs-caption: 12px;
    --fs-display: 24px;
  }

  .container,
  .narrow,
  .nav-shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-section {
    min-height: 380px;
    max-height: 380px;
  }

  .hero-content {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .announcement {
    margin-bottom: 8px;
    padding: 5px 10px;
    font-size: var(--fs-caption);
  }

  .hero-copy {
    margin-top: 8px;
  }

  .hero-actions {
    margin-top: 10px;
    align-items: center;
    flex-direction: row;
  }

  .pill-button.large {
    width: auto;
    padding: 0 14px;
  }

  .search-panel {
    grid-template-columns: 22px 1fr auto;
    margin-top: 12px;
  }

  .search-panel button {
    grid-column: auto;
    width: auto;
  }

  .model-strip-track {
    min-height: 90px;
    gap: 32px;
    font-size: 20px;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .benefit-grid,
  .faq-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    --category-tile-width: calc((100% - 12px) / 2);
    gap: 12px;
  }

  .prompt-grid {
    --prompt-card-width: calc((100% - 12px) / 2);
    gap: 12px;
  }

  .prompts-toolbar {
    display: grid;
    position: static;
    top: auto;
    z-index: auto;
    gap: 12px;
    overflow: visible;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
  }

  .prompt-type-tabs {
    width: 100%;
    overflow-x: auto;
    border-radius: 22px;
    scrollbar-width: none;
  }

  .prompt-type-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    min-width: 74px;
    padding: 0 14px;
  }

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

  .filter-select {
    width: 100%;
    flex-basis: auto;
  }

  .sort-select {
    display: none;
  }

  .prompt-carousel .slider-button,
  .category-carousel .slider-button {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
  }

  .prompt-art {
    height: 150px;
  }

  .detail-art.prompt-art {
    height: 300px;
  }

  .trust-badges {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .trust-badges::-webkit-scrollbar {
    display: none;
  }

  .trust-badge {
    flex: 0 0 auto;
    padding-inline: 9px;
  }

  .cart-row,
  .library-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-row > strong,
  .cart-row .icon-text-button,
  .library-row em,
  .library-row .pill-button,
  .library-row .icon-text-button {
    grid-column: 2;
    justify-self: start;
  }

  .purchased-detail-head {
    grid-template-columns: 1fr;
  }

  .cart-thumb {
    width: 64px;
    height: 56px;
  }

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

  .admin-form-row,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

