:root {
  --ink: #0d1b2f;
  --muted: #657187;
  --panel: #fffffff0;
  --line: #0d1b2f24;
  --accent: #0ebd8a;
  --accent-ink: #063729;
  --danger: #c53324;
  --shadow: 0 26px 80px #0d1b2f1d;
}

body.cta-page {
  display: block;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #080808;
  font-family: Aptos, "Segoe UI", sans-serif;
}

.cta-page .gate-shell {
  width: 100%;
  max-width: none;
}

.cta-page .gate-card,
.cta-page .auto-card,
.cta-page .auto-card.cta-card {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cta-stage[hidden] {
  display: none;
}

body.chicken-page {
  display: block;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #111827;
}

.chicken-page .gate-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.chicken-page .gate-card,
.chicken-page .auto-card,
.chicken-page .auto-card.chicken-card {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.chicken-page .auto-card::before {
  display: none;
}

.chicken-stage[hidden] {
  display: none;
}

.chicken-stage {
  width: 100vw;
  min-height: 100vh;
}

body.tower-page {
  display: block;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #0d1d20;
}

.tower-page .gate-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.tower-page .gate-card,
.tower-page .auto-card,
.tower-page .auto-card.tower-card {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tower-page .auto-card::before {
  display: none;
}

.tower-stage[hidden] {
  display: none;
}

.tower-stage {
  width: 100vw;
  min-height: 100vh;
}

.cta-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 28px;
  place-items: center;
  overflow: hidden;
}

.cta-stage::before,
.cta-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.cta-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 480px);
  gap: 20px;
  padding: 26px 22px 22px;
  border-radius: 8px;
  text-align: center;
  animation: ctaReveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cta-page .cta-stage h1 {
  max-width: 18ch;
  margin: 0 auto;
  color: inherit;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: none;
  font-family: Aptos, "Segoe UI", sans-serif;
}

.cta-button {
  display: grid;
  width: 100%;
  min-height: 64px;
  padding: 14px 18px;
  place-items: center;
  border-radius: 6px;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-family: Aptos, "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.cta-stage.theme-tiktok {
  color: #fff;
  background: #080808;
}

.cta-stage.theme-tiktok::before {
  inset: -20%;
  background:
    linear-gradient(116deg, transparent 0 39%, rgba(37, 244, 238, 0.13) 40% 43%, transparent 44% 100%),
    linear-gradient(296deg, transparent 0 44%, rgba(254, 44, 85, 0.12) 45% 48%, transparent 49% 100%);
  transform: rotate(-4deg);
}

.cta-stage.theme-tiktok::after {
  right: 7%;
  bottom: 8%;
  width: 180px;
  height: 8px;
  background: #25f4ee;
  box-shadow: -18px -16px 0 #fe2c55, 24px 18px 0 #fff;
  transform: rotate(-12deg);
  opacity: 0.65;
}

.theme-tiktok .cta-panel {
  border: 1px solid #303036;
  color: #fff;
  background: #111116;
  box-shadow: -6px 0 0 #25f4ee, 6px 0 0 #fe2c55, 0 28px 70px rgba(0, 0, 0, 0.44);
}

.theme-tiktok .cta-button {
  color: #080808;
  background: #fff;
  box-shadow: 4px 4px 0 #25f4ee, -4px -4px 0 #fe2c55;
}

.theme-tiktok .cta-button:hover,
.theme-tiktok .cta-button:focus-visible {
  background: #f4f4f5;
  box-shadow: 6px 6px 0 #25f4ee, -6px -6px 0 #fe2c55;
}

.cta-stage.theme-classic {
  color: #1f2937;
  background: #eef1f5;
}

.cta-stage.theme-classic::before {
  inset: 26px;
  border: 1px solid #d8dde5;
}

.cta-stage.theme-classic::after {
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #1d4ed8;
}

.theme-classic .cta-panel {
  border: 1px solid #d3d9e1;
  color: #1f2937;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 34, 51, 0.13);
}

.theme-classic .cta-button {
  color: #fff;
  background: #1d4ed8;
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.24);
}

.theme-classic .cta-button:hover,
.theme-classic .cta-button:focus-visible {
  background: #173ea9;
  box-shadow: 0 10px 25px rgba(29, 78, 216, 0.3);
}

.cta-stage.theme-cyberpunk {
  color: #f8faff;
  background: #090b13;
}

.cta-stage.theme-cyberpunk::before {
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(43, 255, 223, 0.08) 26px),
    repeating-linear-gradient(90deg, transparent 0 43px, rgba(255, 232, 30, 0.06) 44px);
  transform: perspective(560px) rotateX(54deg) scale(1.35) translateY(26%);
  transform-origin: center bottom;
}

.cta-stage.theme-cyberpunk::after {
  left: 8%;
  right: 8%;
  bottom: 16%;
  height: 2px;
  background: #2bffdf;
  box-shadow: 0 0 24px #2bffdf, 0 -120px 0 rgba(254, 44, 85, 0.55);
  transform: skewY(-7deg);
}

.theme-cyberpunk .cta-panel {
  border: 1px solid #2bffdf;
  border-radius: 2px;
  color: #f8faff;
  background: #10131e;
  box-shadow: 9px 9px 0 #25210a, 0 0 36px rgba(43, 255, 223, 0.16);
  clip-path: polygon(0 0, 92% 0, 100% 14%, 100% 100%, 8% 100%, 0 86%);
}

.cta-page .cta-stage.theme-cyberpunk h1 {
  text-shadow: 3px 0 #fe2c55;
  text-transform: uppercase;
}

.theme-cyberpunk .cta-button {
  border-radius: 2px;
  color: #070910;
  background: #ffe81e;
  box-shadow: 5px 5px 0 #2bffdf;
  text-transform: uppercase;
}

.theme-cyberpunk .cta-button:hover,
.theme-cyberpunk .cta-button:focus-visible {
  background: #fff052;
  box-shadow: 7px 7px 0 #2bffdf;
}

.editor-cta-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 320px;
  padding: 28px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.editor-cta-preview::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.editor-cta-preview > div {
  display: grid;
  width: min(100%, 300px);
  gap: 15px;
  padding: 22px 18px 18px;
  border-radius: 7px;
  text-align: center;
}

.editor-cta-preview h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.editor-cta-preview b {
  display: grid;
  min-height: 50px;
  padding: 11px 14px;
  place-items: center;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.editor-cta-preview.theme-tiktok {
  color: #fff;
  background: #080808;
}

.editor-cta-preview.theme-tiktok::before {
  background: linear-gradient(120deg, transparent 0 42%, rgba(37, 244, 238, 0.14) 43% 47%, transparent 48% 100%);
}

.editor-cta-preview.theme-tiktok > div {
  border: 1px solid #303036;
  background: #111116;
  box-shadow: -5px 0 #25f4ee, 5px 0 #fe2c55;
}

.editor-cta-preview.theme-tiktok b {
  color: #080808;
  background: #fff;
  box-shadow: 3px 3px #25f4ee, -3px -3px #fe2c55;
}

.editor-cta-preview.theme-classic {
  color: #1f2937;
  background: #eef1f5;
}

.editor-cta-preview.theme-classic > div {
  border: 1px solid #d3d9e1;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 34, 51, 0.13);
}

.editor-cta-preview.theme-classic b {
  color: #fff;
  background: #1d4ed8;
}

.editor-cta-preview.theme-cyberpunk {
  color: #f8faff;
  background: #090b13;
}

.editor-cta-preview.theme-cyberpunk::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(43, 255, 223, 0.08) 19px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 232, 30, 0.06) 32px);
}

.editor-cta-preview.theme-cyberpunk > div {
  border: 1px solid #2bffdf;
  border-radius: 2px;
  background: #10131e;
  box-shadow: 7px 7px #25210a;
  clip-path: polygon(0 0, 92% 0, 100% 14%, 100% 100%, 8% 100%, 0 86%);
}

.editor-cta-preview.theme-cyberpunk h3 {
  text-shadow: 2px 0 #fe2c55;
  text-transform: uppercase;
}

.editor-cta-preview.theme-cyberpunk b {
  border-radius: 2px;
  color: #070910;
  background: #ffe81e;
  box-shadow: 4px 4px #2bffdf;
  text-transform: uppercase;
}

.cta-stage.has-custom-bg,
.editor-cta-preview.has-custom-bg {
  background-image: var(--cta-bg-image);
  background-position: center;
  background-size: cover;
}

.cta-stage.has-custom-bg::before,
.editor-cta-preview.has-custom-bg::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.36));
  transform: none;
}

.cta-stage.has-custom-bg::after {
  opacity: 0.22;
}

.cta-stage .cta-panel,
.editor-cta-preview > div {
  color: var(--cta-text-color, inherit);
}

.cta-subtitle,
.editor-cta-preview p {
  margin: -7px 0 0;
  color: inherit;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.88;
  overflow-wrap: anywhere;
}

.cta-text-top-left,
.editor-cta-preview.cta-text-top-left {
  place-items: start start;
}

.cta-text-top-center,
.editor-cta-preview.cta-text-top-center {
  place-items: start center;
}

.cta-text-top-right,
.editor-cta-preview.cta-text-top-right {
  place-items: start end;
}

.cta-text-center-left,
.editor-cta-preview.cta-text-center-left {
  place-items: center start;
}

.cta-text-center-center,
.editor-cta-preview.cta-text-center-center {
  place-items: center;
}

.cta-text-center-right,
.editor-cta-preview.cta-text-center-right {
  place-items: center end;
}

.cta-text-bottom-left,
.editor-cta-preview.cta-text-bottom-left {
  place-items: end start;
}

.cta-text-bottom-center,
.editor-cta-preview.cta-text-bottom-center {
  place-items: end center;
}

.cta-text-bottom-right,
.editor-cta-preview.cta-text-bottom-right {
  place-items: end end;
}

.cta-text-top-left .cta-panel,
.cta-text-center-left .cta-panel,
.cta-text-bottom-left .cta-panel,
.editor-cta-preview.cta-text-top-left > div,
.editor-cta-preview.cta-text-center-left > div,
.editor-cta-preview.cta-text-bottom-left > div {
  text-align: left;
}

.cta-text-top-right .cta-panel,
.cta-text-center-right .cta-panel,
.cta-text-bottom-right .cta-panel,
.editor-cta-preview.cta-text-top-right > div,
.editor-cta-preview.cta-text-center-right > div,
.editor-cta-preview.cta-text-bottom-right > div {
  text-align: right;
}

.cta-text-top-left h1,
.cta-text-center-left h1,
.cta-text-bottom-left h1 {
  margin-left: 0;
}

.cta-text-top-right h1,
.cta-text-center-right h1,
.cta-text-bottom-right h1 {
  margin-right: 0;
}

.cta-button-fixed-bottom .cta-panel {
  padding-bottom: 112px;
}

.cta-button-fixed-bottom .cta-button {
  position: fixed;
  right: 28px;
  bottom: 28px;
  left: 28px;
  width: min(480px, calc(100% - 56px));
  margin: 0 auto;
}

.editor-cta-preview.cta-button-fixed-bottom > div {
  min-height: 244px;
  padding-bottom: 78px;
}

.editor-cta-preview.cta-button-fixed-bottom b {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
}

.cta-font-trebuchet .cta-panel,
.editor-cta-preview.cta-font-trebuchet > div {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.cta-font-impact .cta-panel,
.editor-cta-preview.cta-font-impact > div {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
}

.cta-font-georgia .cta-panel,
.editor-cta-preview.cta-font-georgia > div {
  font-family: Georgia, "Times New Roman", serif;
}

.cta-font-verdana .cta-panel,
.editor-cta-preview.cta-font-verdana > div {
  font-family: Verdana, Geneva, sans-serif;
}

.cta-font-courier .cta-panel,
.editor-cta-preview.cta-font-courier > div {
  font-family: "Courier New", Courier, monospace;
}

.cta-font-black .cta-panel,
.editor-cta-preview.cta-font-black > div {
  font-family: "Arial Black", Impact, sans-serif;
}

.cta-button-font-trebuchet .cta-button,
.editor-cta-preview.cta-button-font-trebuchet b {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.cta-button-font-impact .cta-button,
.editor-cta-preview.cta-button-font-impact b {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
}

.cta-button-font-georgia .cta-button,
.editor-cta-preview.cta-button-font-georgia b {
  font-family: Georgia, "Times New Roman", serif;
}

.cta-button-font-verdana .cta-button,
.editor-cta-preview.cta-button-font-verdana b {
  font-family: Verdana, Geneva, sans-serif;
}

.cta-button-font-courier .cta-button,
.editor-cta-preview.cta-button-font-courier b {
  font-family: "Courier New", Courier, monospace;
}

.cta-button-font-black .cta-button,
.editor-cta-preview.cta-button-font-black b {
  font-family: "Arial Black", Impact, sans-serif;
}

.cta-size-small h1 {
  font-size: clamp(1rem, 3vw, 1.35rem);
}

.cta-size-medium h1 {
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
}

.cta-size-large h1 {
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
}

.cta-size-xl h1 {
  font-size: clamp(1.8rem, 5.2vw, 3rem);
}

.editor-cta-preview.cta-size-small h3 {
  font-size: 0.98rem;
}

.editor-cta-preview.cta-size-medium h3 {
  font-size: 1.12rem;
}

.editor-cta-preview.cta-size-large h3 {
  font-size: 1.28rem;
}

.editor-cta-preview.cta-size-xl h3 {
  font-size: 1.55rem;
}

.cta-button-style-tiktok .cta-button,
.editor-cta-preview.cta-button-style-tiktok b {
  color: var(--cta-button-color, #080808);
  background: var(--cta-button-bg, #fff);
  box-shadow: 4px 4px 0 #25f4ee, -4px -4px 0 #fe2c55;
}

.cta-button-style-neon .cta-button,
.editor-cta-preview.cta-button-style-neon b {
  border: 1px solid #62fff3;
  color: var(--cta-button-color, #07111f);
  background: var(--cta-button-bg, #6dffef);
  box-shadow: 0 0 22px rgba(98, 255, 243, 0.45), 0 0 0 4px rgba(98, 255, 243, 0.12);
}

.cta-button-style-dark .cta-button,
.editor-cta-preview.cta-button-style-dark b {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--cta-button-color, #fff);
  background: var(--cta-button-bg, #111827);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.cta-button-style-gradient .cta-button,
.editor-cta-preview.cta-button-style-gradient b {
  color: var(--cta-button-color, #fff);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 44%),
    linear-gradient(90deg, var(--cta-button-bg, #fe2c55), #25f4ee);
  box-shadow: 0 16px 34px rgba(37, 244, 238, 0.22);
}

.editor-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.editor-check input {
  width: 18px;
  height: 18px;
}

.link-item .landing-badge[data-landing="cta"] {
  border-color: #24cfc9;
  color: #075f64;
  background: #e1fbfa;
}

.cta-theme-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd3de;
  border-radius: 7px;
  color: #14233a;
  background: #fff;
  font: inherit;
}

@keyframes ctaReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .cta-stage {
    padding: 18px;
  }

  .cta-panel {
    gap: 17px;
    padding: 22px 16px 16px;
  }

  .cta-button {
    min-height: 58px;
  }

  .cta-stage.theme-classic::before {
    inset: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-panel {
    animation: none;
  }

  .cta-button {
    transition: none;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, #ffd16640 0 130px, transparent 280px),
    radial-gradient(circle at 88% 8%, #4cc9f040 0 130px, transparent 280px),
    linear-gradient(135deg, #eef5ff 0%, #fffaf0 46%, #e9fff8 100%);
}

a {
  color: inherit;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shell,
.admin-shell,
.auth-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.shell,
.admin-shell {
  padding: 44px 0;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 0;
}

.hero,
.admin-topbar {
  margin-bottom: 24px;
}

.hero h1,
.auth-card h1,
.admin-topbar h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 7vw, 5.2rem);
  line-height: 0.94;
}

.lead,
.auth-card p,
.hint {
  color: var(--muted);
  line-height: 1.55;
}

.workspace,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.panel,
.result,
.history,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel,
.history,
.auth-card {
  padding: 24px;
}

.panel,
.auth-form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 900;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffffdb;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}

input {
  min-height: 48px;
  padding: 12px 14px;
}

textarea:focus,
input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px #0ebd8a24;
}

select {
  min-height: 42px;
  padding: 9px 38px 9px 12px;
  font-weight: 900;
}

.alias-row {
  display: grid;
  grid-template-columns: max-content 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.alias-row span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.alias-row input {
  border: 0;
  border-radius: 0;
}

button,
.auth-card a,
.admin-user a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border: 1px solid #073729;
  border-radius: 8px;
  padding: 0 18px;
  color: #041c15;
  background: var(--accent);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

button:hover,
.auth-card a:hover,
.admin-user a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px #0ebd8a40;
}

.message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.message[data-tone="success"] {
  color: #087c5a;
}

.message[data-tone="error"] {
  color: var(--danger);
}

.hint {
  margin: -4px 0 4px;
  font-size: 0.94rem;
}

.result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(145deg, #0d1b2f 0%, #182943 100%);
  color: #fffaf0;
}

.result-label {
  color: #b7f6df;
  font-weight: 900;
  text-transform: uppercase;
}

.short-url {
  display: grid;
  gap: 7px;
  min-height: 120px;
  overflow-wrap: anywhere;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 1.18rem;
  line-height: 1.25;
}

.short-url span {
  margin-top: 8px;
  color: #fff0c2;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.short-url a {
  color: #b7f6df;
}

.history {
  margin-top: 18px;
}

.stats-panel,
.clicks-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffffd9;
  box-shadow: var(--shadow);
}

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

.stats-head h2 {
  margin: 0;
}

.stats-head > span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.day-stats {
  display: grid;
  gap: 8px;
}

.day-stat {
  display: grid;
  grid-template-columns: 96px minmax(120px, 1fr) 44px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.day-stat i {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #0d1b2f14;
}

.day-stat b {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ffb454);
}

.day-stat strong {
  color: var(--ink);
  text-align: right;
}

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

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

.daily-analytics-row time {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.daily-metrics {
  display: grid;
  gap: 7px;
}

.daily-metric {
  display: grid;
  grid-template-columns: 88px minmax(80px, 1fr) 42px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.daily-metric i {
  display: block;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #0d1b2f14;
}

.daily-metric b {
  display: block;
  min-width: 2px;
  height: 100%;
  border-radius: inherit;
  background: #4f8fe8;
}

.daily-metric[data-tone="unique"] b {
  background: #0ebd8a;
}

.daily-metric[data-tone="clicks"] b {
  background: #ffb454;
}

.daily-metric strong {
  color: var(--ink);
  text-align: right;
}

.clicks-list {
  display: grid;
  gap: 8px;
}

.click-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.9fr) minmax(128px, 0.75fr) 54px 82px minmax(240px, 1.8fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffffb8;
  color: var(--muted);
  font-size: 0.86rem;
}

.click-row strong {
  display: block;
  color: var(--accent-ink);
  overflow-wrap: anywhere;
}

.click-row small {
  color: #7d8799;
}

.click-row span {
  overflow-wrap: anywhere;
}

.event-client {
  display: grid;
  gap: 3px;
}

.click-model,
.click-platform,
.click-browser {
  color: #7d8799;
  font-size: 0.72rem;
  font-weight: 700;
}

.click-model {
  color: #43536a;
}

.click-details {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.click-row p,
.click-agent {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.35;
}

.click-referrer {
  color: var(--muted);
}

.click-agent {
  display: block;
  color: #7d8799;
  font-size: 0.78rem;
}

.click-action {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #24486d;
  font-size: 0.72rem;
  font-weight: 800;
}

.history-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.sort-form {
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.sort-form label {
  color: var(--muted);
  font-size: 0.84rem;
}

.sort-form select {
  width: min(220px, 100%);
}

.sort-form button {
  min-height: 42px;
}

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

.link-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffffb8;
}

.link-item p {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.link-item small {
  display: block;
  margin-top: 5px;
  color: #7d8799;
  font-size: 0.82rem;
}

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

.link-url-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.link-url-row .link-slug,
.short-url.link-url-row a {
  flex: 1;
  min-width: 0;
}

.copy-link-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #87a5c5;
  border-radius: 7px;
  background: #eef6ff;
  color: #174f82;
  font-size: 0.8rem;
  font-weight: 900;
}

.copy-link-button:hover {
  background: #dceeff;
}

.copy-link-button[data-state="success"] {
  border-color: #59a98c;
  background: #e1f7ed;
  color: #176448;
}

.copy-link-button[data-state="error"] {
  border-color: #cf7777;
  background: #fff0f0;
  color: #8b2929;
}

.link-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(78px, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.link-metrics > span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7fbff;
}

.link-metrics small {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.link-metrics strong {
  color: var(--ink);
  font-size: 1rem;
}

.link-slug {
  display: block;
  color: var(--accent-ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.edit-link-button {
  min-height: 38px;
  margin-top: 10px;
  padding: 7px 13px;
  border-color: #87a5c5;
  color: #174f82;
  background: #eef6ff;
  font-size: 0.82rem;
}

.edit-link-button:hover {
  background: #dceeff;
  box-shadow: 0 9px 22px #174f8224;
}

body.modal-open {
  overflow: hidden;
}

.landing-editor-modal[hidden],
.editor-tab-panel[hidden],
.editor-content-fields[hidden],
.editor-slots-empty[hidden],
[data-editor-preview][hidden] {
  display: none;
}

.landing-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #07111fb8;
  backdrop-filter: blur(5px);
}

.landing-editor-dialog {
  overflow: hidden;
  width: min(1040px, 100%);
  max-height: calc(100vh - 40px);
  border: 1px solid #ffffff38;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 32px 90px #02081770;
}

.landing-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.landing-editor-head .eyebrow {
  margin-bottom: 5px;
}

.landing-editor-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.landing-editor-head small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: Consolas, "Liberation Mono", monospace;
}

.landing-editor-close {
  flex: 0 0 auto;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-color: var(--line);
  color: var(--ink);
  background: #f3f6fa;
  font-size: 1.55rem;
  line-height: 1;
}

.landing-editor-form {
  min-width: 0;
}

.landing-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  min-height: 560px;
}

.landing-editor-controls,
.landing-editor-preview {
  min-width: 0;
}

.landing-editor-controls {
  overflow-y: auto;
  max-height: calc(100vh - 130px);
  padding: 20px;
}

.editor-section-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-type-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf0f6;
}

.editor-type-switch button {
  min-height: 40px;
  padding: 0 10px;
  border-color: transparent;
  color: #536176;
  background: transparent;
  font-size: 0.84rem;
}

.editor-type-switch button:hover {
  box-shadow: none;
}

.editor-type-switch button.active {
  border-color: #0b8f69;
  color: #041c15;
  background: var(--accent);
  box-shadow: 0 5px 14px #0ebd8a2b;
}

.editor-tabs {
  display: flex;
  gap: 22px;
  margin: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}

.editor-tabs button {
  min-height: 40px;
  margin-bottom: -1px;
  padding: 0 2px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.88rem;
}

.editor-tabs button:hover {
  color: var(--ink);
  box-shadow: none;
}

.editor-tabs button.active {
  border-bottom-color: var(--accent);
  color: var(--accent-ink);
}

.editor-tab-panel > label,
.editor-content-fields label {
  display: grid;
  gap: 6px;
  color: #344258;
  font-size: 0.78rem;
}

.editor-tab-panel textarea,
.editor-content-fields textarea {
  min-height: 112px;
}

.editor-content-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.editor-field-wide {
  grid-column: 1 / -1;
}

.editor-slots-empty {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px dashed #87a5c5;
  border-radius: 8px;
  color: #344258;
  background: #eef6ff;
}

.editor-slots-empty span {
  color: var(--muted);
  line-height: 1.45;
}

.landing-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.editor-cancel {
  border-color: var(--line);
  color: #3e4d63;
  background: #fff;
}

.editor-cancel:hover {
  box-shadow: 0 8px 20px #0d1b2f18;
}

.landing-editor-preview {
  overflow-y: auto;
  max-height: calc(100vh - 130px);
  padding: 20px;
  border-left: 1px solid var(--line);
  background: #e9eff6;
}

.editor-promo-preview {
  overflow: hidden;
  max-width: 330px;
  margin: 0 auto;
  padding: 9px 9px 14px;
  border: 3px solid #fff;
  border-radius: 26px;
  color: #fff;
  background: #000;
  box-shadow: 0 16px 42px #07111f38;
}

.editor-promo-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.35;
  border-radius: 18px;
  background: #07111f;
}

.editor-promo-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, #020817 12%, transparent 100%);
}

.editor-promo-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-promo-art strong,
.editor-promo-art span {
  position: absolute;
  right: 10px;
  left: 10px;
  z-index: 1;
  color: #ffe061;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  text-align: center;
  text-shadow: 0 3px 0 #8c2a00, 0 5px 14px #000;
  overflow-wrap: anywhere;
}

.editor-promo-art strong {
  bottom: 46px;
  font-size: 2.45rem;
}

.editor-promo-art span {
  bottom: 18px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.editor-promo-copy {
  display: grid;
  gap: 9px;
  padding: 15px 8px 0;
  text-align: center;
}

.editor-promo-copy h3,
.editor-promo-copy p {
  margin: 0;
  overflow-wrap: anywhere;
}

.editor-promo-copy p {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.editor-promo-copy b,
.editor-game-hero > b {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: #4d91ec;
  overflow-wrap: anywhere;
}

.editor-game-preview {
  overflow: hidden;
  max-width: 390px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  color: #202124;
  background: #fff;
  box-shadow: 0 16px 42px #07111f1c;
}

.editor-game-hero {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.editor-game-hero img {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  object-fit: cover;
}

.editor-game-hero h3,
.editor-game-hero p {
  margin: 0;
  overflow-wrap: anywhere;
}

.editor-game-hero h3 {
  font-size: 1.18rem;
}

.editor-game-hero p {
  margin-top: 3px;
  color: #0b57d0;
  font-size: 0.78rem;
  font-weight: 700;
}

.editor-game-hero small {
  color: #70757a;
}

.editor-game-hero > b {
  grid-column: 1 / -1;
  min-height: 38px;
  background: #1769e0;
}

.editor-game-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 18px 0;
}

.editor-game-stats span {
  display: grid;
  gap: 2px;
  color: #70757a;
  font-size: 0.62rem;
}

.editor-game-stats strong {
  color: #202124;
  font-size: 0.72rem;
}

.editor-game-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.editor-game-shots i {
  aspect-ratio: 9 / 14;
  border-radius: 6px;
  background: center / cover url("relic-rush-run.webp");
}

.editor-game-shots i:nth-child(2) {
  background-image: url("relic-rush-bonus.webp");
}

.editor-game-shots i:nth-child(3) {
  background-image: url("relic-rush-temple.webp");
}

.editor-game-description {
  display: grid;
  gap: 6px;
  margin: 17px 0 0;
  color: #70757a;
  font-size: 0.76rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.editor-game-description strong {
  color: #3c4043;
  font-size: 0.88rem;
}

.editor-slots-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(50px, 1fr));
  gap: 8px;
  max-width: 360px;
  margin: 70px auto 0;
  padding: 14px;
  border: 1px solid #ffffff2e;
  border-radius: 8px;
  background: #10192b;
  box-shadow: 0 18px 48px #07111f38;
}

.editor-slots-preview span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  background: #1a263d;
  font-size: 1.75rem;
}

.editor-ggbet-preview {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  max-width: 390px;
  margin: 56px auto 0;
  padding: 18px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  color: #202124;
  background: #fff;
  box-shadow: 0 16px 42px #07111f1c;
}

.editor-ggbet-preview img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px #07111f24;
}

.editor-ggbet-preview h3,
.editor-ggbet-preview p {
  margin: 0;
}

.editor-ggbet-preview h3 {
  font-size: 1.18rem;
}

.editor-ggbet-preview p {
  margin-top: 3px;
  color: #1b5fd2;
  font-size: 0.8rem;
}

.editor-ggbet-preview small {
  color: #70757d;
}

.editor-ggbet-preview b {
  padding: 9px 15px;
  border-radius: 999px;
  color: #fff;
  background: #1b5fd2;
  font-size: 0.78rem;
}

.editor-firstwheel-preview {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  max-width: 390px;
  margin: 42px auto 0;
  padding: 18px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  color: #202a37;
  background: #fff;
  box-shadow: 0 16px 42px #07111f1c;
}

.editor-firstwheel-preview img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px #07111f24;
}

.editor-firstwheel-preview h3,
.editor-firstwheel-preview p {
  margin: 0;
}

.editor-firstwheel-preview h3 {
  font-size: 1.12rem;
}

.editor-firstwheel-preview p {
  margin-top: 3px;
  color: #e91e2b;
  font-size: 0.8rem;
  font-weight: 700;
}

.editor-firstwheel-preview small {
  color: #737b86;
}

.editor-firstwheel-preview b {
  padding: 9px 15px;
  border-radius: 999px;
  color: #fff;
  background: #e91e2b;
  font-size: 0.78rem;
}

.editor-chicken-preview {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  max-width: 420px;
  margin: 42px auto 0;
  padding: 18px;
  border: 1px solid #f5b034;
  border-radius: 8px;
  color: #fff6d8;
  background: radial-gradient(circle at 20% 10%, #7b0d1e, #120105 72%);
  box-shadow: 0 18px 48px #07111f38;
}

.editor-chicken-preview img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: contain;
  background: #2c050b;
  box-shadow: 0 8px 22px #0000004d;
}

.editor-chicken-preview h3,
.editor-chicken-preview p {
  margin: 0;
}

.editor-chicken-preview h3 {
  font-size: 1.14rem;
}

.editor-chicken-preview p {
  margin-top: 3px;
  color: #ffd36a;
  font-size: 0.82rem;
  font-weight: 800;
}

.editor-chicken-preview small {
  color: #ffeab0;
}

.editor-chicken-preview b {
  padding: 9px 16px;
  border-radius: 999px;
  color: #210803;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  font-size: 0.78rem;
}

.editor-tower-preview {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  max-width: 420px;
  margin: 42px auto 0;
  padding: 18px;
  border: 1px solid #84f7b1;
  border-radius: 8px;
  color: #fff7dc;
  background: linear-gradient(135deg, #111827, #123f46 62%, #2c5b52);
  box-shadow: 0 18px 48px #07111f38;
}

.editor-tower-mark {
  display: grid;
  align-items: end;
  justify-items: center;
  width: 68px;
  height: 68px;
  padding: 12px;
  border: 2px solid #071114;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff2b3, #84f7b1);
  box-shadow: 0 8px 22px #0000004d;
}

.editor-tower-mark i {
  display: block;
  width: 34px;
  height: 9px;
  border: 2px solid #071114;
  border-radius: 3px;
  background: #5bd6ff;
  box-shadow: 3px 3px 0 #071114;
}

.editor-tower-mark i:nth-child(2) {
  width: 28px;
  background: #f4bf4f;
}

.editor-tower-mark i:nth-child(3) {
  width: 22px;
  background: #ff6f59;
}

.editor-tower-preview h3,
.editor-tower-preview p {
  margin: 0;
}

.editor-tower-preview h3 {
  color: #ffe66d;
  font-size: 1.14rem;
}

.editor-tower-preview p {
  margin-top: 3px;
  color: #84f7b1;
  font-size: 0.82rem;
  font-weight: 800;
}

.editor-tower-preview small {
  color: #fff2b3;
}

.editor-tower-preview b {
  padding: 9px 16px;
  border-radius: 999px;
  color: #071114;
  background: linear-gradient(180deg, #fff06f, #ffc84a);
  font-size: 0.78rem;
}

.editor-age21-preview {
  max-width: 340px;
  margin: 42px auto 0;
  padding: 34px 24px 28px;
  border: 1px solid #ffffff24;
  border-radius: 24px;
  color: #f7fbff;
  background: linear-gradient(145deg, #101526, #070811 66%, #160c22);
  box-shadow: 0 20px 48px #07111f45;
  text-align: center;
}

.editor-age21-preview small {
  color: #5df7ff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.editor-age21-preview h3 {
  margin: 15px 0 22px;
  font-size: 1.35rem;
  line-height: 1.12;
}

.editor-age21-preview h3 strong {
  display: block;
  margin-top: 4px;
  color: #89e7ff;
}

.editor-age21-preview b {
  display: block;
  padding: 11px 16px;
  border-radius: 13px;
  color: #07101b;
  background: linear-gradient(110deg, #5df7ff, #8d9cff 58%, #c581ff);
  font-size: 0.82rem;
}

.landing-select {
  background-color: #fff;
}

.link-item .landing-badge {
  display: inline-flex;
  width: max-content;
  margin-top: 8px;
  padding: 4px 8px;
  border: 1px solid #87a5c5;
  border-radius: 999px;
  color: #24486d;
  background: #eaf4ff;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.landing-badge[data-landing="promo"] {
  border-color: #dfad4f;
  color: #6d4400;
  background: #fff2c8;
}

.landing-badge[data-landing="game"] {
  border-color: #8fa934;
  color: #35480b;
  background: #eef8c8;
}

.landing-badge[data-landing="ggbet"] {
  border-color: #7aa6e8;
  color: #164f9e;
  background: #eaf2ff;
}

.landing-badge[data-landing="age21"] {
  border-color: #91a9d8;
  color: #273f75;
  background: #edf3ff;
}

.landing-badge[data-landing="firstwheel"] {
  border-color: #ee9299;
  color: #9f1520;
  background: #fff0f1;
}

.landing-badge[data-landing="chicken"] {
  border-color: #f0b13d;
  color: #6a3300;
  background: #fff4cf;
}

.landing-badge[data-landing="tower"] {
  border-color: #63c9a2;
  color: #0d4d3b;
  background: #e7fff5;
}

.link-slug-auto {
  margin-top: 4px;
  color: #2367a8;
  font-size: 0.93rem;
}

.link-item span,
.empty {
  color: var(--muted);
}

.auth-card {
  width: min(540px, 100%);
  padding: 34px;
}

.auth-form {
  margin-top: 22px;
}

.auth-switch {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffffd9;
  box-shadow: 0 12px 34px #0d1b2f14;
  white-space: nowrap;
}

.admin-user span {
  font-weight: 900;
}

.admin-user a {
  min-height: 34px;
  border-radius: 999px;
  background: #fff;
}

.admin-shell {
  padding: 24px 0 32px;
}

.admin-topbar {
  margin-bottom: 14px;
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1;
}

.admin-topbar .eyebrow {
  margin-bottom: 7px;
}

.admin-tabs {
  position: sticky;
  top: 8px;
  z-index: 20;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbffed;
  box-shadow: 0 10px 28px #0d1b2f14;
  scrollbar-width: thin;
}

.admin-tab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 15px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 0.92rem;
}

.admin-tab:hover {
  transform: none;
  background: #eaf3fc;
  box-shadow: none;
}

.admin-tab[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-tab-panel.stats-panel,
.admin-tab-panel.clicks-panel,
.users-panel {
  margin-top: 0;
}

.compact-create {
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.65fr);
  gap: 12px;
}

.compact-create .panel,
.compact-create .result,
.admin-history,
.admin-tab-panel.stats-panel,
.admin-tab-panel.clicks-panel,
.users-panel {
  padding: 16px;
}

.compact-create .create-panel textarea {
  min-height: 88px;
}

.create-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.7fr);
  gap: 10px;
}

.create-options > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-result {
  min-height: 0;
}

.admin-result .short-url {
  min-height: 76px;
  font-size: 1rem;
}

.history-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-bottom: 12px;
}

.history-toolbar h2 {
  margin: 0;
}

.history-toolbar .sort-form {
  margin: 0;
}

.admin-history .links-list,
.clicks-panel .clicks-list,
.users-list {
  max-height: 58vh;
  overflow: auto;
  padding-right: 4px;
}

.users-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffffd9;
  box-shadow: var(--shadow);
}

.users-list {
  display: grid;
  gap: 8px;
}

.user-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) 72px minmax(150px, 0.9fr) minmax(150px, 0.9fr);
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffffc7;
}

.user-row strong {
  color: var(--accent-ink);
  overflow-wrap: anywhere;
}

.user-row > div {
  display: grid;
  gap: 3px;
}

.user-row small,
.user-id {
  color: #7d8799;
  font-size: 0.78rem;
}

.user-row div > span:not(.current-user-badge) {
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.user-identity {
  justify-items: start;
}

.current-user-badge {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  color: #064331;
  background: #c9f6e7;
  font-size: 0.7rem;
  font-weight: 900;
}

.not-found {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 18vh;
}

body.gate-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  color: #fff7df;
  background:
    radial-gradient(circle at 50% 20%, #274b7a 0 0.5px, transparent 1px),
    linear-gradient(135deg, #0d1b2f 0%, #13233a 52%, #07111f 100%);
  font-family: Verdana, "Trebuchet MS", sans-serif;
}

.gate-shell {
  width: min(560px, calc(100% - 32px));
}

.gate-card {
  display: grid;
  gap: 34px;
  padding: 38px 22px 34px;
  border: 2px solid #ffb454;
  border-radius: 16px;
  background: #121827;
  box-shadow: 0 26px 74px #00000066, 0 0 0 7px #ffb4540f;
  text-align: center;
}

.gate-card h1 {
  margin: 0;
  color: #fff7df;
  font-family: Verdana, "Trebuchet MS", sans-serif;
  font-size: clamp(1.45rem, 5vw, 1.8rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 2px 0 #050914;
}

.gate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border-radius: 9px;
  color: #152033;
  background: #fff0c2;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 0 #d28a32;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.gate-button:hover {
  transform: translateY(-2px);
  background: #fff7df;
  box-shadow: 0 8px 0 #d28a32;
}

.gate-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #d28a32;
}

.auto-gate {
  background:
    radial-gradient(circle at 22% 20%, #0ebd8a3b 0 150px, transparent 310px),
    radial-gradient(circle at 82% 18%, #ffb45442 0 120px, transparent 280px),
    linear-gradient(135deg, #07111f 0%, #13233a 56%, #0d1b2f 100%);
}

.auto-card {
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  padding: 34px;
  border-color: #0ebd8a;
  background:
    radial-gradient(circle at 50% 52%, #0ebd8a16 0 118px, transparent 210px),
    #121827;
  box-shadow: 0 28px 80px #00000075, 0 0 0 7px #0ebd8a12;
}

.auto-card::before {
  content: "";
  position: absolute;
  inset: -90px auto auto -70px;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #ffb45426;
  filter: blur(4px);
}

.slot-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
  width: 100%;
}

.slot-stage[hidden],
.promo-stage[hidden],
.game-stage[hidden] {
  display: none;
}

body.promo-page {
  place-items: start center;
  padding: 34px 0;
  background: #000;
}

.auto-card.promo-card {
  overflow: visible;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auto-card.promo-card::before {
  display: none;
}

.promo-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

.promo-frame {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 16px 16px 20px;
  border: 4px solid #fff;
  border-radius: 38px;
  background: #000;
  box-shadow: 0 24px 70px #00000080;
}

.promo-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: #061127;
}

.promo-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, #020817 10%, #020817d6 42%, transparent 100%);
}

.promo-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-offer {
  position: absolute;
  right: 14px;
  bottom: 30px;
  left: 14px;
  z-index: 2;
  display: grid;
  justify-items: center;
  color: #ffe061;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 3px 0 #8c2a00, 0 7px 18px #000;
}

.promo-offer strong {
  font-size: clamp(2.75rem, 12vw, 4.5rem);
}

.promo-offer span {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.8rem, 8vw, 3rem);
}

.promo-copy {
  display: grid;
  min-width: 0;
  gap: 18px;
  padding: 28px 12px 8px;
  text-align: center;
}

.promo-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  line-height: 1.1;
  text-shadow: none;
}

.promo-copy p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 5.5vw, 1.8rem);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
  justify-self: center;
  max-width: 390px;
}

.promo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-top: 4px;
  border-radius: 999px;
  color: #fff;
  background: #4d91ec;
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 1px 0 #ffffff4d, 0 8px 0 #2867bd;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.promo-cta:hover {
  transform: translateY(-2px);
  background: #63a4f7;
  box-shadow: inset 0 1px 0 #ffffff66, 0 10px 0 #2867bd;
}

.promo-cta:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 #ffffff4d, 0 3px 0 #2867bd;
}

body.game-page {
  display: block;
  padding: 0;
  color: #202124;
  background: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.game-page .gate-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.auto-card.game-card {
  display: block;
  overflow: visible;
  min-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #202124;
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.auto-card.game-card::before {
  display: none;
}

.game-stage {
  width: 100%;
  padding: 26px 42px 54px;
  background: #fff;
}

.tracked-game-link {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.tracked-game-link:focus-visible {
  outline: 3px solid #1769e0;
  outline-offset: 4px;
}

.game-toolbar {
  display: grid;
  grid-template-columns: 48px 1fr 48px 48px;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.game-toolbar-action {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #5f6368;
  font-size: 1.8rem;
  line-height: 1;
  transition: background 140ms ease, transform 140ms ease;
}

.game-toolbar-action:hover {
  background: #f1f3f4;
  transform: translateY(-1px);
}

.game-search-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.game-search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(48deg);
}

.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 36%);
  align-items: start;
  gap: 36px;
}

.game-identity {
  display: flex;
  min-width: 0;
  gap: 24px;
  border-radius: 8px;
}

.game-icon {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 8px 22px #17233f24;
}

.game-title-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.game-title-copy strong {
  color: #202124;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.06;
}

.game-title-copy em {
  margin-top: 8px;
  color: #0b57d0;
  font-size: 1.28rem;
  font-style: normal;
  font-weight: 600;
}

.game-title-copy small {
  margin-top: 7px;
  color: #70757a;
  font-size: 1.08rem;
}

.game-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 8px;
  border-radius: 999px;
  color: #fff;
  background: #1769e0;
  font-size: 1.28rem;
  font-weight: 700;
  box-shadow: 0 5px 14px #1769e02b;
  transition: background 140ms ease, transform 140ms ease;
}

.game-cta:hover {
  background: #0b57d0;
  transform: translateY(-2px);
}

.game-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(560px, 68%);
  margin: 48px 0 54px;
}

.game-stat {
  display: grid;
  gap: 8px;
  padding: 0 22px;
  border-right: 1px solid #dadce0;
}

.game-stat:first-child {
  padding-left: 0;
}

.game-stat:last-child {
  border-right: 0;
}

.game-stat strong {
  color: #202124;
  font-size: 1.12rem;
}

.game-stat span {
  color: #70757a;
  font-size: 0.96rem;
}

.game-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 58px;
}

.game-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  background: #15220c;
  box-shadow: 0 2px 5px #2021242b;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-shot:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px #2021242e;
}

.game-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-shot::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22%;
  background: linear-gradient(180deg, #000 0%, #000000e6 48%, transparent 100%);
}

.game-shot strong {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  max-width: calc(100% - 28px);
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 0.95;
  text-shadow: 0 2px 5px #000;
}

.game-about {
  margin-bottom: 52px;
}

.game-about-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #0b57d0;
  font-size: 1.08rem;
  font-weight: 600;
}

.game-about-link:first-child {
  margin-bottom: 22px;
  color: #3c4043;
  font-size: 1.35rem;
}

.game-about-link:first-child span {
  color: #5f6368;
  font-size: 2.2rem;
  font-weight: 300;
}

.game-about p {
  max-width: 880px;
  margin-bottom: 18px;
  color: #70757a;
  font-size: 1.06rem;
  line-height: 1.55;
}

.game-category {
  display: inline-flex;
  margin-top: 24px;
  padding: 10px 28px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  color: #5f6368;
}

.game-ratings-link {
  display: block;
  border-radius: 8px;
}

.game-ratings header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: #3c4043;
  font-size: 1.35rem;
}

.game-ratings header span {
  color: #5f6368;
  font-size: 1.25rem;
}

.game-rating-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.game-rating-score {
  display: grid;
  justify-items: start;
  color: #5f6368;
}

.game-rating-score strong {
  color: #5f6368;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
}

.game-rating-score span {
  margin-top: 10px;
  color: #1769e0;
  letter-spacing: 0.08em;
}

.game-rating-score small {
  margin-top: 7px;
}

.game-rating-bars {
  display: grid;
  gap: 12px;
}

.game-rating-bars > span {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 12px;
}

.game-rating-bars small {
  color: #5f6368;
  font-size: 0.88rem;
}

.game-rating-bars i {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #e2e5e9;
}

.game-rating-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1769e0;
}

.emoji-loader {
  position: relative;
}

.slot-progress {
  position: relative;
  width: min(390px, calc(100% - 34px));
  height: 8px;
  overflow: hidden;
  border: 1px solid #ffffff20;
  border-radius: 999px;
  background: #050b16b8;
  box-shadow: inset 0 1px 4px #00000070, 0 8px 24px #00000032;
}

.slot-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ebd8a 0%, #45e5b4 72%, #ffb454 100%);
  box-shadow: 0 0 14px #0ebd8a99;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.slot-stage.is-loading .slot-progress span {
  animation: slotProgress 2200ms linear forwards;
}

.emoji-slots {
  --reel-height: clamp(78px, 18vw, 98px);
  display: grid;
  grid-template-columns: repeat(4, minmax(52px, 74px));
  gap: clamp(8px, 2.5vw, 14px);
  justify-content: center;
  width: min(430px, 100%);
  padding: 16px;
  border: 1px solid #ffffff18;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff10 0%, #ffffff04 100%),
    #0d1424;
  box-shadow: inset 0 1px 0 #ffffff14, 0 22px 54px #00000045;
}

.emoji-slots::before,
.emoji-slots::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 2;
  height: 35%;
}

.emoji-slots::before {
  top: 16px;
  background: linear-gradient(180deg, #0d1424 0%, #0d142400 100%);
}

.emoji-slots::after {
  bottom: 16px;
  background: linear-gradient(0deg, #0d1424 0%, #0d142400 100%);
}

.emoji-reel {
  position: relative;
  z-index: 1;
  height: var(--reel-height);
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 50%, #0ebd8a12 0 26px, transparent 58px),
    linear-gradient(180deg, #1a263d 0%, #10192b 100%);
  box-shadow: inset 0 12px 24px #00000038, inset 0 -12px 24px #00000038;
}

.emoji-track {
  display: grid;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: slotReel var(--duration) cubic-bezier(0.12, 0.72, 0.2, 1);
  animation-delay: calc(var(--delay) * 55ms);
  animation-fill-mode: forwards;
}

.emoji-symbol {
  display: grid;
  place-items: center;
  height: var(--reel-height);
  font-size: clamp(2rem, 8vw, 2.85rem);
  text-shadow: 0 8px 14px #00000055;
}

@keyframes slotReel {
  to {
    transform: translate3d(0, calc(var(--reel-height) * -6), 0);
  }
}

@keyframes slotProgress {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 780px) {
  .shell,
  .admin-shell {
    padding: 28px 0;
  }

  .workspace,
  .dashboard-grid,
  .link-item,
  .click-row {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .auth-switch,
  .stats-head,
  .sort-form,
  .history-toolbar {
    flex-direction: column;
  }

  .admin-shell {
    width: min(100% - 18px, 1160px);
    padding: 16px 0 24px;
  }

  .admin-topbar {
    align-items: stretch;
  }

  .admin-user {
    justify-content: space-between;
    border-radius: 8px;
  }

  .admin-tabs {
    top: 4px;
    margin-right: -2px;
    margin-left: -2px;
  }

  .create-options,
  .user-row {
    grid-template-columns: 1fr;
  }

  .history-toolbar,
  .history-toolbar .sort-form {
    align-items: stretch;
  }

  .sort-form select {
    width: 100%;
  }

  .admin-history .links-list,
  .clicks-panel .clicks-list,
  .views-panel .clicks-list,
  .users-list {
    max-height: 62vh;
  }

  .day-stat {
    grid-template-columns: 82px minmax(80px, 1fr) 36px;
  }

  .daily-analytics-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .daily-metric {
    grid-template-columns: 78px minmax(70px, 1fr) 34px;
  }

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

  .link-url-row {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-link-button {
    width: 100%;
  }

  .landing-editor-modal {
    padding: 0;
  }

  .landing-editor-dialog {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .landing-editor-head {
    padding: 14px 16px;
  }

  .landing-editor-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .landing-editor-controls {
    max-height: calc(100vh - 88px);
    padding: 16px;
  }

  .landing-editor-preview {
    display: none;
  }

  .editor-content-fields {
    grid-template-columns: 1fr;
  }

  .editor-field-wide {
    grid-column: auto;
  }

  .landing-editor-actions {
    position: sticky;
    bottom: -16px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 14px 16px 16px;
    background: #f7fbff;
  }

  .click-row p {
    white-space: normal;
  }

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

  .alias-row span {
    min-height: 38px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .game-stage {
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    padding: 14px 18px 40px;
  }

  .game-toolbar {
    grid-template-columns: 40px minmax(0, 1fr) 40px 40px;
    width: 100%;
    margin-bottom: 24px;
  }

  .game-toolbar-action {
    width: 40px;
    height: 40px;
  }

  .game-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .game-identity {
    gap: 16px;
  }

  .game-icon {
    width: 88px;
    height: 88px;
    border-radius: 19px;
  }

  .game-title-copy strong {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .game-title-copy em {
    font-size: 1rem;
  }

  .game-cta {
    min-height: 54px;
    margin-top: 0;
  }

  .game-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 36px 0 38px;
  }

  .game-stat {
    min-width: 0;
    padding: 0 12px;
  }

  .game-stat strong {
    font-size: 0.94rem;
  }

  .game-stat span {
    font-size: 0.78rem;
  }

  .game-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 68vw);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 44px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .game-gallery::-webkit-scrollbar {
    display: none;
  }

  .game-shot {
    scroll-snap-align: start;
  }

  .game-about {
    margin-bottom: 42px;
  }

  .game-about p {
    font-size: 0.98rem;
  }

  .game-rating-grid {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
  }

  .game-rating-score strong {
    font-size: 3.25rem;
  }

  .game-rating-bars {
    gap: 9px;
  }

  .game-rating-bars i {
    height: 9px;
  }

  body.promo-page {
    padding: 18px 0;
  }

  .promo-page .gate-shell {
    width: calc(100% - 20px);
    max-width: 520px;
    min-width: 0;
  }

  .promo-frame {
    padding: 10px 10px 16px;
    border-width: 3px;
    border-radius: 30px;
  }

  .promo-visual {
    border-radius: 20px;
  }

  .promo-copy {
    gap: 14px;
    padding: 22px 8px 6px;
  }

  .promo-cta {
    min-height: 64px;
  }
}
