:root {
  color-scheme: dark;
  --bg: #08090d;
  --bg-soft: #10131a;
  --bg-raised: #161a22;
  --ink: #f8f3ee;
  --muted: #b8afa8;
  --dim: #7f8794;
  --line: rgba(255, 255, 255, 0.12);
  --wine: #8d2447;
  --wine-strong: #be2e5d;
  --teal: #20c3b5;
  --teal-dark: #0b6d70;
  --gold: #e2b964;
  --green: #69d28f;
  --danger: #ff6d7a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(32, 195, 181, 0.12), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(226, 185, 100, 0.1), transparent 24rem),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--ink);
  color: #111;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 52px);
  background: rgba(8, 9, 13, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.03rem;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(190, 46, 93, 0.92), rgba(32, 195, 181, 0.88)),
    #222;
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0;
  box-shadow: 0 12px 26px rgba(32, 195, 181, 0.18);
}

.brand-logo-image {
  width: auto;
  height: 42px;
  max-width: 220px;
  object-fit: contain;
}

.brand-favicon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(32, 195, 181, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  color: #111;
  background: var(--gold);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  color: #111;
  background: #f1cb7b;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 10px;
}

#app {
  min-height: 64vh;
  outline: none;
}

.hero-section {
  min-height: min(790px, calc(100svh - 40px));
  display: grid;
  align-items: center;
  padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.78) 43%, rgba(8, 9, 13, 0.38) 100%),
    linear-gradient(0deg, rgba(8, 9, 13, 0.88), rgba(8, 9, 13, 0.12) 38%, rgba(8, 9, 13, 0.22)),
    url("assets/hero-lounge.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: min(760px, 100%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(226, 185, 100, 0.36);
  border-radius: var(--radius);
  background: rgba(226, 185, 100, 0.08);
  color: #f8d99a;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(105, 210, 143, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.ghost-button,
.danger-button,
.quiet-button,
.icon-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button {
  background: var(--gold);
  color: #111;
}

.button:hover,
.ghost-button:hover,
.danger-button:hover,
.quiet-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.ghost-button:disabled,
.danger-button:disabled,
.quiet-button:disabled,
.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.button.secondary {
  background: var(--teal);
  color: #041112;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.quiet-button {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.danger-button {
  background: rgba(255, 109, 122, 0.12);
  color: #ffc4ca;
  border: 1px solid rgba(255, 109, 122, 0.28);
}

.icon-button {
  min-width: 42px;
  min-height: 42px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
  max-width: 680px;
}

.metric {
  border-left: 2px solid rgba(32, 195, 181, 0.62);
  padding-left: 14px;
}

.metric strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1;
}

.metric span {
  display: block;
  color: var(--muted);
  margin-top: 7px;
  font-size: 0.92rem;
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section.alt {
  background: rgba(255, 255, 255, 0.03);
}

.section.compact {
  padding-top: clamp(34px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 54px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.5fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2,
.auth-card h1,
.page-title h1 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 0;
}

.section-heading p,
.page-title p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.77rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.feature-grid,
.companion-grid,
.game-grid,
.pricing-grid,
.admin-card-grid,
.stats-grid {
  display: grid;
  gap: 16px;
}

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

.use-case-band {
  display: grid;
  grid-template-columns: minmax(240px, 460px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.use-case-media {
  width: min(100%, 460px);
  min-height: 0;
  aspect-ratio: 1717 / 916;
  justify-self: start;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    url("assets/studio-use-cases.png") center / contain no-repeat,
    rgba(0, 0, 0, 0.28);
  box-shadow: var(--shadow);
}

.prompt-showcase-section {
  display: grid;
  gap: 22px;
}

.prompt-showcase-section h2 {
  width: min(100%, 860px);
  font-size: clamp(1.85rem, 3.2vw, 3.05rem);
  line-height: 1.08;
  margin: 0;
}

.prompt-showcase-image {
  width: min(100%, 1060px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.prompt-showcase-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.custom-landing-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.custom-landing-card.no-image {
  grid-template-columns: 1fr;
}

.custom-landing-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.custom-landing-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.custom-landing-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.custom-landing-copy p:last-child {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

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

.custom-admin-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.custom-admin-head {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 240px);
  gap: 12px;
  align-items: end;
}

.custom-admin-head h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.use-case-copy {
  min-width: 0;
  padding: 0;
}

.use-case-copy h2 {
  font-size: clamp(1.8rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  margin-bottom: 14px;
}

.use-case-copy p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 54ch;
}

.adult-alert {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 109, 122, 0.34);
  background: rgba(255, 109, 122, 0.12);
  color: #ffc2c8;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.adult-alert::before {
  content: "18+";
  min-width: 30px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.use-case-grid article {
  min-height: 112px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.use-case-grid strong,
.use-case-grid span {
  display: block;
}

.use-case-grid strong {
  margin-bottom: 7px;
}

.use-case-grid span {
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.9rem;
}

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

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

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

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

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

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

.feature-card,
.companion-card,
.plan-card,
.auth-card,
.contact-card,
.admin-panel,
.stat-card,
.dashboard-panel,
.mini-card,
.checkout-card,
.age-panel,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.034));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.feature-card,
.companion-card,
.stat-card,
.mini-card {
  padding: 20px;
}

.feature-card h3,
.companion-card h3,
.mini-card h3 {
  font-size: 1.04rem;
  margin-bottom: 9px;
}

.feature-card p,
.companion-card p,
.mini-card p {
  color: var(--muted);
  line-height: 1.56;
  margin-bottom: 0;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: rgba(32, 195, 181, 0.12);
  color: #9cf3eb;
  font-weight: 900;
}

.companion-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.companion-card::after {
  content: "";
  position: absolute;
  inset: auto -22px -36px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(226, 185, 100, 0.28), transparent 66%),
    radial-gradient(circle at 18% 26%, rgba(32, 195, 181, 0.34), transparent 38%);
  opacity: 0.9;
}

.cast-art {
  min-height: 620px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 9, 13, 0.08), rgba(8, 9, 13, 0.56)),
    url("assets/companion-cast.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.game-card {
  min-height: 420px;
  display: grid;
  grid-template-rows: 178px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.034));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.game-art {
  position: relative;
  display: flex;
  align-items: end;
  padding: 16px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74)),
    url("assets/companion-cast.png") center / cover no-repeat;
}

.game-art span {
  position: relative;
  z-index: 1;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffe3a8;
  font-size: 0.78rem;
  font-weight: 900;
}

.game-date {
  background-position: 8% center;
}

.game-secret {
  background-position: 36% center;
}

.game-cards {
  background-position: 66% center;
}

.game-neon {
  background-position: 92% center;
}

.game-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.game-body h3 {
  margin-bottom: 0;
}

.game-body p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.game-body .button {
  width: 100%;
  margin-top: auto;
}

.companion-top {
  position: relative;
  z-index: 1;
}

.avatar-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(141, 36, 71, 0.96), rgba(32, 195, 181, 0.72)),
    #222;
  color: #fff;
  font-weight: 900;
}

.tag-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag,
.pill,
.status,
.rule-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.status.active,
.status.approved,
.status.published {
  color: #c2ffd5;
  border-color: rgba(105, 210, 143, 0.35);
  background: rgba(105, 210, 143, 0.12);
}

.status.pending {
  color: #ffe3a8;
  border-color: rgba(226, 185, 100, 0.4);
  background: rgba(226, 185, 100, 0.12);
}

.status.suspended,
.status.paused,
.status.blocked {
  color: #ffc2c8;
  border-color: rgba(255, 109, 122, 0.38);
  background: rgba(255, 109, 122, 0.12);
}

.plan-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 500px;
}

.plan-card.featured {
  border-color: rgba(226, 185, 100, 0.58);
  background:
    linear-gradient(180deg, rgba(226, 185, 100, 0.12), rgba(255, 255, 255, 0.04)),
    var(--bg-raised);
}

.plan-badge {
  align-self: flex-start;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(226, 185, 100, 0.14);
  color: #ffe0a3;
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0;
}

.plan-price strong {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
}

.plan-card ul,
.safety-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan-card li,
.safety-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  color: var(--muted);
  line-height: 1.42;
}

.plan-card li::before,
.safety-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.plan-card .button,
.plan-card .ghost-button {
  margin-top: auto;
  width: 100%;
}

.page-title {
  max-width: 1180px;
  margin: 0 auto 28px;
}

.page-shell {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 52px);
}

.auth-shell {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: clamp(34px, 8vw, 84px) 18px;
}

.auth-card {
  width: min(490px, 100%);
  padding: clamp(24px, 5vw, 38px);
}

.auth-card p {
  color: var(--muted);
  line-height: 1.56;
}

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

.form-grid h3 {
  margin: 12px 0 0;
  font-size: 1rem;
  color: var(--gold);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: #dfd8d3;
  font-weight: 800;
  font-size: 0.88rem;
}

.field input,
.field select,
.field textarea,
.table-wrap input,
.table-wrap select,
.table-wrap textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.table-wrap textarea {
  min-width: 240px;
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.table-wrap input:focus,
.table-wrap select:focus,
.table-wrap textarea:focus {
  border-color: rgba(32, 195, 181, 0.76);
  box-shadow: 0 0 0 3px rgba(32, 195, 181, 0.12);
}

.field select option,
.table-wrap select option {
  color: #111;
}

.field small {
  color: var(--dim);
  line-height: 1.4;
}

.legal-content {
  width: min(850px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.legal-content p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0 0 18px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  line-height: 1.45;
}

.checkbox-field input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.form-footer {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.form-footer a {
  color: #9cf3eb;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.52fr);
  gap: 18px;
}

.contact-card,
.checkout-card {
  padding: clamp(22px, 4vw, 32px);
}

.contact-card p,
.checkout-card p {
  color: var(--muted);
  line-height: 1.62;
}

.faq-stack {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

.faq-item p {
  color: var(--muted);
  padding: 0 22px 22px;
  line-height: 1.62;
  margin: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.52fr);
  gap: 18px;
  align-items: start;
}

.wallet-box {
  display: grid;
  gap: 9px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.wallet-box code {
  color: #ddfff9;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.dashboard-shell {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
}

.game-room-shell {
  background:
    radial-gradient(circle at 20% 10%, rgba(190, 46, 93, 0.12), transparent 28rem),
    radial-gradient(circle at 80% 18%, rgba(32, 195, 181, 0.1), transparent 26rem);
}

.game-room {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  background: none;
}

.studio-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.studio-sidebar,
.studio-main {
  display: grid;
  align-content: start;
  gap: 18px;
}

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

.history-list,
.upload-list {
  display: grid;
  gap: 10px;
}

.history-item {
  width: 100%;
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
}

.history-item span,
.upload-list a {
  color: var(--muted);
  font-size: 0.88rem;
}

.upload-list a {
  overflow-wrap: anywhere;
}

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

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-card div {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.gallery-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  font-size: 0.9rem;
}

.studio-console {
  display: grid;
  gap: 16px;
}

.studio-message-list {
  min-height: 160px;
  max-height: 520px;
  padding: 4px;
}

.prompt-composer {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.composer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.composer-tools select,
.composer-tools input,
.negative-row input,
.prompt-row textarea {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  padding: 9px 10px;
  outline: none;
}

.composer-tools select {
  max-width: 220px;
}

.composer-tools select option {
  color: #111;
}

.file-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 185, 100, 0.32);
  background: rgba(226, 185, 100, 0.12);
  color: #ffe3a8;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.file-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mini-input {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-input input {
  width: 58px;
  min-height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
}

.seed-input {
  width: 84px;
}

.prompt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.prompt-row textarea {
  width: 100%;
  min-height: 64px;
  resize: vertical;
  line-height: 1.45;
}

.prompt-row .button {
  min-width: 128px;
  min-height: 64px;
}

.negative-row input {
  width: 100%;
  color: var(--muted);
}

.simple-composer {
  gap: 12px;
}

.simple-composer.is-upload-mode .prompt-row,
.simple-composer.is-upload-mode .simple-tools {
  display: none;
}

.simple-tools {
  align-items: stretch;
}

.advanced-tools {
  flex: 1 1 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.advanced-tools summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 10px;
}

.advanced-grid input,
.advanced-grid select {
  width: 100%;
  max-width: none;
}

.reference-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(32, 195, 181, 0.24);
  background: rgba(32, 195, 181, 0.08);
}

.reference-preview img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  object-fit: cover;
}

.reference-preview strong,
.reference-preview span {
  display: block;
}

.reference-preview span {
  color: var(--muted);
  font-size: 0.88rem;
}

.message.loading {
  border-color: rgba(226, 185, 100, 0.32);
  color: #ffe3a8;
}

.message.loading::after {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 0.9s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.75);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.chat-image {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.chat-image img {
  width: min(100%, 560px);
  max-height: 620px;
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-image figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-image figcaption a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #111;
  font-weight: 900;
}

.game-sidebar {
  display: grid;
  align-self: start;
  gap: 14px;
}

.play-stage {
  display: grid;
  gap: 18px;
}

.companion-visual {
  min-height: clamp(360px, 44vw, 620px);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 9, 13, 0.04), rgba(8, 9, 13, 0.8)),
    url("assets/companion-cast.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.motion-aura,
.motion-scan,
.motion-breathe {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.generated-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.motion-aura {
  z-index: 1;
  background:
    radial-gradient(circle at 32% 32%, rgba(226, 185, 100, 0.18), transparent 22rem),
    radial-gradient(circle at 78% 70%, rgba(32, 195, 181, 0.2), transparent 24rem);
  mix-blend-mode: screen;
  animation: auraShift 5.4s ease-in-out infinite alternate;
  opacity: calc(0.35 + var(--intensity, 0.24));
}

.motion-scan {
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  opacity: 0.45;
  transform: translateY(-18%);
  animation: scanMove 4.8s linear infinite;
}

.motion-breathe {
  z-index: 3;
  box-shadow: inset 0 0 calc(80px + 120px * var(--intensity, 0.24)) rgba(190, 46, 93, 0.34);
  animation: breatheGlow 3.2s ease-in-out infinite;
}

.portrait-one {
  background-position: 9% center;
}

.portrait-two {
  background-position: 37% center;
}

.portrait-three {
  background-position: 64% center;
}

.portrait-four {
  background-position: 91% center;
}

.companion-card.portrait-one,
.companion-card.portrait-two,
.companion-card.portrait-three,
.companion-card.portrait-four {
  background:
    linear-gradient(180deg, rgba(8, 9, 13, 0.28), rgba(8, 9, 13, 0.88)),
    url("assets/companion-cast.png") center / cover no-repeat;
}

.companion-card.portrait-one {
  background-position: 9% center;
}

.companion-card.portrait-two {
  background-position: 37% center;
}

.companion-card.portrait-three {
  background-position: 64% center;
}

.companion-card.portrait-four {
  background-position: 91% center;
}

.stage-0 {
  filter: saturate(0.86) brightness(0.92);
}

.stage-1 {
  filter: saturate(1) brightness(0.98);
}

.stage-2 {
  filter: saturate(1.12) brightness(1.04);
}

.stage-3 {
  filter: saturate(1.2) brightness(1.08);
}

.stage-4 {
  filter: saturate(1.34) brightness(1.12);
}

.visual-overlay {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-overlay span,
.visual-overlay strong {
  display: block;
}

.visual-overlay span {
  color: var(--muted);
  font-weight: 800;
}

.visual-overlay strong {
  color: #ffe3a8;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
}

.visual-status {
  max-width: min(46%, 360px);
  text-align: right;
}

.visual-status span {
  color: #d8f8f4;
  font-size: 0.88rem;
  line-height: 1.4;
}

.game-control-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

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

.visual-frame {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(8, 9, 13, 0.16), rgba(8, 9, 13, 0.88)),
    url("assets/companion-cast.png") center / cover no-repeat;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.14) 48%, transparent 68%),
    radial-gradient(circle at 78% 16%, rgba(226, 185, 100, 0.2), transparent 12rem);
  transform: translateX(-100%);
  animation: frameGlint 4.6s ease-in-out infinite;
}

.visual-frame > * {
  position: relative;
  z-index: 1;
}

.visual-frame span,
.visual-frame strong {
  display: block;
}

.visual-frame span {
  color: #ffe3a8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-frame strong {
  margin-top: 5px;
  font-size: 1.15rem;
}

.visual-frame p {
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  font-size: 0.9rem;
}

.unlock-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unlock-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(105, 210, 143, 0.32);
  background: rgba(105, 210, 143, 0.12);
  color: #c9ffd9;
  font-size: 0.8rem;
  font-weight: 900;
}

.unlock-chip.locked {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dim);
}

.director-note {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.message-source {
  float: right;
  margin-left: 10px;
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(32, 195, 181, 0.16);
  color: #b9fff8;
  font-size: 0.72rem;
  font-weight: 900;
}

@keyframes auraShift {
  from {
    opacity: 0.55;
    transform: translate3d(-1.5%, -1%, 0);
  }
  to {
    opacity: 0.9;
    transform: translate3d(1.5%, 1%, 0);
  }
}

@keyframes scanMove {
  from {
    transform: translateY(-24%);
  }
  to {
    transform: translateY(24%);
  }
}

@keyframes breatheGlow {
  0%,
  100% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.92;
  }
}

@keyframes frameGlint {
  0%,
  45% {
    transform: translateX(-110%);
  }
  75%,
  100% {
    transform: translateX(110%);
  }
}

.progress-stack {
  display: grid;
  gap: 10px;
}

.progress-stack label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--wine-strong));
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 14px;
}

.dashboard-panel {
  padding: 20px;
}

.member-sidebar {
  display: grid;
  gap: 14px;
  align-self: start;
}

.chat-panel {
  min-height: 660px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.chat-header h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.chat-header p {
  margin: 0;
  color: var(--muted);
}

.message-list {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  min-height: 380px;
  max-height: 500px;
  padding: 18px 4px;
}

.message {
  width: min(86%, 720px);
  padding: 13px 15px;
  border-radius: var(--radius);
  line-height: 1.55;
  border: 1px solid var(--line);
}

.message.ai {
  background: rgba(32, 195, 181, 0.09);
}

.message.user {
  justify-self: end;
  background: rgba(226, 185, 100, 0.11);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-card {
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.034)),
    transparent;
}

.mini-card.is-selected {
  border-color: rgba(32, 195, 181, 0.72);
  box-shadow: 0 0 0 3px rgba(32, 195, 181, 0.12);
}

.admin-shell {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
}

.admin-nav {
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.admin-nav button {
  min-height: 42px;
  text-align: left;
  justify-content: flex-start;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-nav button:hover,
.admin-nav button.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.admin-panel {
  padding: clamp(18px, 3vw, 26px);
}

.admin-panel + .admin-panel {
  margin-top: 18px;
}

.admin-panel h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.admin-panel > p {
  color: var(--muted);
  line-height: 1.56;
}

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

.stat-card strong {
  display: block;
  font-size: 1.9rem;
}

.stat-card span {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

th {
  color: #d8f8f4;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.045);
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

td strong {
  color: var(--ink);
}

.table-action {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.52fr);
  gap: 18px;
  align-items: start;
}

.rule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.site-footer {
  padding: clamp(38px, 7vw, 64px) clamp(18px, 4vw, 52px) 28px;
  background: #07080b;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(160px, 0.45fr));
  gap: 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer h2 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #d8f8f4;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.toast {
  padding: 13px 15px;
  border-radius: var(--radius);
  background: rgba(15, 18, 24, 0.96);
  border: 1px solid rgba(32, 195, 181, 0.32);
  box-shadow: var(--shadow);
  color: var(--ink);
  line-height: 1.45;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(8, 9, 13, 0.92), rgba(8, 9, 13, 0.98)),
    url("assets/hero-lounge.png") center / cover no-repeat;
}

.age-panel {
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 42px);
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(18px);
}

.age-panel h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.age-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.hidden {
  display: none !important;
}

@media (max-width: 1060px) {
  .feature-grid,
  .companion-grid,
  .game-grid,
  .pricing-grid,
  .stats-grid,
  .admin-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .contact-layout,
  .checkout-layout,
  .dashboard-shell,
  .game-room,
  .studio-layout,
  .studio-sidebar,
  .use-case-band,
  .custom-landing-card,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .use-case-media {
    width: min(100%, 560px);
    justify-self: center;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

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

  .admin-nav button {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 12px 16px;
  }

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

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 90;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: rgba(8, 9, 13, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero-section {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 62px;
    background-position: center;
  }

  h1 {
    max-width: 9ch;
  }

  .hero-metrics,
  .feature-grid,
  .use-case-grid,
  .advanced-grid,
  .companion-grid,
  .game-grid,
  .game-grid.large,
  .visual-reel,
  .gallery-grid,
  .pricing-grid,
  .stats-grid,
  .admin-card-grid,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }

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

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form .button {
    width: 100%;
  }

  .prompt-row {
    grid-template-columns: 1fr;
  }

  .prompt-row .button {
    width: 100%;
    min-height: 48px;
  }

  .composer-tools select,
  .composer-tools input,
  .file-pill,
  .mini-input {
    flex: 1 1 130px;
  }

  .custom-admin-head {
    grid-template-columns: 1fr;
  }

  .message {
    width: 100%;
  }

  .visual-overlay {
    display: grid;
  }

  .visual-status {
    max-width: 100%;
    text-align: left;
  }

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

@media (max-width: 430px) {
  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-actions,
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .ghost-button,
  .danger-button,
  .quiet-button {
    width: 100%;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }
}
