﻿:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080c14;
  color: #f6f8fb;
  --page: #080c14;
  --page-2: #0b1220;
  --panel: rgba(14, 20, 32, 0.88);
  --panel-2: rgba(18, 27, 43, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(150, 170, 205, 0.18);
  --line-strong: rgba(132, 180, 255, 0.34);
  --text: #f6f8fb;
  --muted: #9ba8bf;
  --soft: #c8d2e6;
  --blue: #5ba7ff;
  --blue-strong: #3768ff;
  --mint: #75e4b1;
  --rose: #ff6f8d;
  --amber: #f1c86b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(23, 38, 66, 0.76) 0%, rgba(8, 12, 20, 0.98) 37rem),
    linear-gradient(90deg, rgba(7, 20, 29, 0.58), rgba(13, 12, 26, 0.58)),
    var(--page);
  color: var(--text);
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 75%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button,
a,
input,
textarea {
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

button:hover,
a:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

a {
  color: inherit;
}

.isHidden {
  display: none !important;
}

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

.app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 1.45rem 1rem 2.2rem;
}

.hero {
  width: min(1160px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.heroIcon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(91, 167, 255, 0.56);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(91, 167, 255, 0.14), rgba(91, 167, 255, 0.04)),
    rgba(8, 14, 24, 0.72);
  color: #7db8ff;
  box-shadow: 0 14px 44px rgba(55, 104, 255, 0.2);
}

.heroIcon svg,
.downloadButton svg,
.shieldIcon svg,
.copyButton svg,
.linkIcon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #8fc3ff;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 970px;
  margin: 0;
  color: var(--text);
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 960px;
  margin: 1.25rem auto 1.25rem;
  color: #b7c5de;
  font-size: 1.28rem;
  line-height: 1.55;
  font-weight: 450;
}

.lead span {
  display: block;
}

.qualityBadges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 1.65rem;
}

.qualityBadges span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  border: 1px solid rgba(91, 167, 255, 0.24);
  border-radius: 999px;
  background: rgba(91, 167, 255, 0.08);
  color: #dbe9ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.downloadPanel {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 0.7rem;
  margin: 0 auto;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 14, 24, 0.78);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.downloadPanel:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 22px 80px rgba(55, 104, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.urlField {
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1rem;
  border: 1px solid rgba(154, 174, 210, 0.2);
  border-radius: var(--radius);
  background: rgba(5, 10, 18, 0.66);
}

.linkIcon {
  flex: 0 0 auto;
  color: #8392ad;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
}

input {
  font-size: 1.05rem;
  font-weight: 500;
}

input::placeholder,
textarea::placeholder {
  color: #8794ac;
}

.downloadButton {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(91, 167, 255, 1), rgba(55, 104, 255, 1));
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 16px 44px rgba(55, 104, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.downloadButton:hover {
  box-shadow: 0 18px 52px rgba(55, 104, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.status {
  min-height: 1.6rem;
  margin: 1rem auto 0;
  color: #c9d6ef;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 600;
}

.status.error {
  color: #ff9eb2;
}

.status.success {
  color: #9cf0c4;
}

.telegramBotPanel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 0.86rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(56, 189, 248, 0.08), transparent 62%),
    rgba(15, 23, 42, 0.58);
  text-align: left;
}

.telegramBotPanel div {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.telegramBotPanel span {
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.telegramBotPanel strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.telegramBotPanel a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: var(--radius);
  background: rgba(56, 189, 248, 0.09);
  color: #bae6fd;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.modalOpen {
  overflow: hidden;
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}

.adsSection {
  display: contents;
  text-align: left;
}

.adRails {
  display: contents;
}

.adRail {
  display: grid;
  gap: 0.65rem;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.adRail.isSwitching {
  opacity: 0;
}

.adRailLeft.isSwitching {
  transform: translateX(-10px);
}

.adRailRight.isSwitching {
  transform: translateX(10px);
}

.adCard {
  width: 100%;
  min-width: 0;
  height: 156px;
  min-height: 156px;
  display: grid;
  grid-template-rows: 42px auto minmax(1.35em, auto) 28px;
  align-items: center;
  justify-items: center;
  gap: 0.56rem;
  padding: 1rem;
  border: 1px solid rgba(137, 164, 205, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(21, 32, 50, 0.94), rgba(12, 18, 29, 0.94));
  color: var(--text);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.adCard:hover {
  border-color: rgba(91, 167, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(24, 38, 61, 0.96), rgba(13, 20, 32, 0.96));
}

.adCard img,
.emptyAdIcon,
.adFallbackIcon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.075);
}

.adCard img {
  padding: 0.34rem;
}

.emptyAdIcon {
  display: grid;
  place-items: center;
  color: #a9f2cd;
  background: rgba(117, 228, 177, 0.12);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.adFallbackIcon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background:
    radial-gradient(circle at 32% 24%, rgba(125, 211, 252, 0.34), transparent 2rem),
    linear-gradient(145deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.1)),
    rgba(15, 23, 42, 0.82);
  color: #dff6ff;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(2, 6, 23, 0.26);
}

.adText {
  min-width: 0;
  max-width: 100%;
  display: contents;
  text-align: center;
}

.adText strong,
.adText small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adText strong {
  color: #f8fbff;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.adText small {
  display: -webkit-box;
  min-height: 1.35em;
  max-height: 1.35em;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #b8c4d8;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.adTimer {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  border-radius: var(--radius);
  background: rgba(117, 228, 177, 0.13);
  color: #a9f2cd;
  font-size: 0.72rem;
  font-weight: 700;
}

.emptyAdCard {
  cursor: pointer;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 0.75rem;
}

.emptyAdCard .adText {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
}

.adForm {
  position: fixed;
  z-index: 30;
  left: 50%;
  top: 50%;
  width: min(720px, calc(100vw - 1.5rem));
  max-height: min(92vh, 760px);
  overflow: auto;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(158, 181, 218, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(18, 28, 45, 0.98), rgba(9, 14, 24, 0.99));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.62);
}

.adFormHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.adFormHeader > div {
  min-width: 0;
  display: grid;
  gap: 0.42rem;
}

.adFormHeader h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.adFormStep {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.68rem;
  border: 1px solid rgba(91, 167, 255, 0.3);
  border-radius: 999px;
  background: rgba(91, 167, 255, 0.1);
  color: #9ccaff;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.modalCloseButton {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(158, 181, 218, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: #dce8fb;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
}

.modalCloseButton:hover {
  background: rgba(255, 255, 255, 0.09);
}

.adPaymentCard {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  padding: 0.9rem;
  border: 1px solid rgba(91, 167, 255, 0.23);
  border-radius: var(--radius);
  background: rgba(91, 167, 255, 0.07);
}

.adPaymentCard > div:first-child {
  display: grid;
  gap: 0.16rem;
}

.adPaymentCard > div:first-child span,
.adFields span {
  color: #aab8ce;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.adPaymentCard strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.adPaymentCard p {
  margin: 0;
  color: #c8d2e6;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

#adPricingText {
  display: grid;
  gap: 0.55rem;
}

#adPricingText > span:not(.adRateBadge) {
  color: #c8d2e6;
}

.adRateBadge {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0 0.68rem;
  border: 1px solid rgba(117, 228, 177, 0.16);
  border-radius: var(--radius);
  background: rgba(117, 228, 177, 0.1);
  color: #69e89f;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1;
  text-transform: none;
}

.adRateBadge span {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(241, 200, 107, 0.16);
  color: #f1c86b;
  font-size: 0.72rem;
  font-weight: 700;
}

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

.adFields label {
  min-width: 0;
  display: grid;
  gap: 0.38rem;
}

.adFields input,
.adFields textarea {
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(158, 181, 218, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 10, 18, 0.72);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
}

.adFields textarea {
  min-height: 74px;
  resize: vertical;
  line-height: 1.4;
}

.adFields input:focus,
.adFields textarea:focus {
  border-color: rgba(91, 167, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(91, 167, 255, 0.12);
}

.wideField {
  grid-column: 1 / -1;
}

.walletRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  overflow: hidden;
  border: 1px solid rgba(158, 181, 218, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 10, 18, 0.72);
}

.walletRow code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 1rem;
  color: #d8e2f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.94rem;
}

.copyButton {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(158, 181, 218, 0.18);
  background: rgba(91, 167, 255, 0.12);
  color: #dce8fb;
}

.copyButton:hover {
  background: rgba(91, 167, 255, 0.18);
}

.copyButton.copied {
  background:
    linear-gradient(180deg, rgba(24, 47, 39, 0.98), rgba(15, 33, 29, 0.98));
  color: #69e89f;
  box-shadow: inset 0 0 0 1px rgba(105, 232, 159, 0.28);
}

.copyButton svg {
  width: 25px;
  height: 25px;
}

.adFormActions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.adFormActions .downloadButton {
  min-width: 152px;
  min-height: 46px;
  font-size: 0.98rem;
}

.adFormActions p {
  margin: 0;
  color: #aab8ce;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}

.copyStatus {
  min-height: 1.2rem;
  margin-top: 0.62rem;
  color: #a9f2cd;
  font-size: 0.92rem;
  font-weight: 600;
}

.contentSection,
.platformSection,
.supportPanel {
  width: 100%;
  margin-top: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 16, 27, 0.72);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.contentSection {
  padding: 1.7rem;
  text-align: left;
  color: var(--soft);
  line-height: 1.68;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.comparisonGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.comparisonCard {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgba(158, 181, 218, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.comparisonCard h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.comparisonCard.negative h3::before,
.comparisonCard.positive h3::before {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1;
}

.comparisonCard.negative h3::before {
  content: "x";
  background: rgba(255, 111, 141, 0.14);
  color: #ff8ca2;
}

.comparisonCard.positive h3::before {
  content: "v";
  background: rgba(117, 228, 177, 0.16);
  color: #a9f2cd;
}

.comparisonCard ul {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding-left: 1.05rem;
}

.comparisonCard li {
  color: #c3cee0;
  font-size: 0.96rem;
  font-weight: 450;
}

.comparisonCard.negative {
  border-color: rgba(255, 111, 141, 0.22);
}

.comparisonCard.positive {
  border-color: rgba(117, 228, 177, 0.24);
}

.platformSection {
  padding: 1.2rem;
}

.sectionTitle {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.sectionTitle span {
  display: none;
}

.platformGrid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.7rem;
}

.platformCard {
  min-width: 0;
  min-height: 94px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid rgba(158, 181, 218, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: #ccd6e8;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 550;
  text-decoration: none;
}

.platformIcon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 650;
}

.youtube { color: #ff6b7c; }
.tiktok { color: #f5fbff; }
.instagram { color: #ff83c3; }
.xIcon { color: #f6f8fb; }
.facebook { color: #8fc3ff; }
.vimeo { color: #65d5ff; }
.dailymotion { color: #fff; }
.reddit { color: #ff9b6a; }
.more { color: #cdd6e7; }

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.contentSection p {
  margin: 1rem 0 0;
}

.supportPanel {
  display: grid;
  grid-template-columns: 1fr 1px 1.35fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.25rem;
}

.benefitBlock {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
}

.shieldIcon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 228, 177, 0.26);
  border-radius: var(--radius);
  background: rgba(117, 228, 177, 0.08);
  color: #a9f2cd;
}

.shieldIcon svg {
  width: 31px;
  height: 31px;
}

.benefitBlock p {
  margin: 0.38rem 0 0;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 450;
}

.supportDivider {
  width: 1px;
  height: 112px;
  background: linear-gradient(transparent, rgba(158, 181, 218, 0.28), transparent);
}

.supportMethodCard {
  min-width: 0;
}

.supportCryptoCard {
  display: grid;
  gap: 0.75rem;
}

.supportWalletRow code {
  font-size: 0.9rem;
}


.extensionDownloadPanel,
.sharePanel {
  width: 100%;
  margin: 1.2rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 16, 27, 0.72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.extensionDownloadPanel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.25rem;
}

.extensionDownloadIcon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 167, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(91, 167, 255, 0.1);
  color: #8fc3ff;
}

.extensionDownloadIcon svg {
  width: 44px;
  height: 44px;
}

.chromeRed { fill: #ff5f57; }
.chromeGreen { fill: #39d98a; }
.chromeYellow { fill: #ffd166; }
.chromeBlue { fill: #5ba7ff; }
.chromeCenter { fill: #09111f; stroke: #dbeafe; stroke-width: 2; }

.extensionDownloadCopy p {
  margin: 0 0 0.25rem;
  color: #9cf0c4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.extensionDownloadCopy h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
}

.extensionDownloadCopy span {
  display: block;
  margin-top: 0.35rem;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.extensionDownloadButton {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, rgba(91, 167, 255, 1), rgba(55, 104, 255, 1));
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(55, 104, 255, 0.24);
}

.extensionDownloadButton.isDisabled {
  color: rgba(255, 255, 255, 0.58);
  background: rgba(91, 151, 220, 0.58);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.sharePanel {
  padding: 1.45rem;
}

.sharePanel .sectionTitle {
  margin-bottom: 0.35rem;
}

.sharePanel > p {
  margin: 0 0 1.25rem;
  color: var(--soft);
  font-size: 1rem;
  font-weight: 560;
}

.shareGrid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.72rem;
}

.shareGrid a,
.shareGrid button {
  width: 100%;
  aspect-ratio: 1;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(137, 164, 205, 0.24);
  border-radius: var(--radius);
  color: #f4f8ff;
  background: rgba(8, 14, 24, 0.42);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.shareGrid svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shareGrid a:hover,
.shareGrid button:hover {
  border-color: rgba(91, 167, 255, 0.42);
  background: rgba(91, 167, 255, 0.08);
}
.footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.85rem;
  margin-top: 2rem;
  color: #909db3;
  font-size: 0.92rem;
  font-weight: 450;
}

.footer a {
  color: #8fc3ff;
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  color: #b8d9ff;
}

.simplePage {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  color: var(--soft);
  line-height: 1.72;
}

.simplePage a {
  color: #8fc3ff;
  font-weight: 600;
  text-decoration: none;
}

.simplePage h1 {
  margin-top: 1.2rem;
  font-size: 3rem;
  line-height: 1.05;
}

.simpleCard {
  margin-top: 1.1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 16, 27, 0.72);
}

.legalContent p {
  margin: 0 0 1rem;
}

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

@media (min-width: 1500px) {
  .app {
    padding-top: 1rem;
  }

  .hero {
    width: min(1120px, calc(100vw - 700px));
  }

  .adRail {
    position: fixed;
    z-index: 5;
    top: 12px;
    width: clamp(252px, 14.2vw, 292px);
    gap: clamp(0.42rem, 0.82vh, 0.7rem);
  }

  .adRailLeft {
    left: clamp(14px, 1.7vw, 28px);
  }

  .adRailRight {
    right: clamp(14px, 1.7vw, 28px);
  }

  .adCard {
    height: clamp(146px, calc((100vh - 66px) / 5), 176px);
    min-height: 146px;
  }

  @media (max-height: 820px) {
    .adRail {
      top: 8px;
      gap: 0.38rem;
    }

    .adCard {
      height: clamp(126px, calc((100vh - 48px) / 5), 150px);
      min-height: 126px;
      grid-template-rows: 36px auto 1.3em 24px;
      gap: 0.38rem;
      padding: 0.68rem 0.76rem;
    }

    .adCard img,
    .emptyAdIcon,
    .adFallbackIcon {
      width: 36px;
      height: 36px;
    }

    .adText strong {
      font-size: 0.88rem;
    }

    .adText small {
      font-size: 0.72rem;
    }

    .adTimer {
      min-height: 24px;
      font-size: 0.68rem;
    }
  }
}

@media (max-width: 1499px) {
  .adsSection {
    display: block;
    width: 100vw;
    order: -1;
    overflow: hidden;
    margin: -0.5rem calc(50% - 50vw) 1.15rem;
  }

  .adRails {
    display: flex;
    overflow: hidden;
    padding: 0.7rem 0;
  }

  .adRail {
    display: flex;
    flex: 0 0 max-content;
    gap: 0.65rem;
    padding-left: 0.75rem;
    animation: adMarquee 42s linear infinite;
    will-change: transform;
  }

  .adRailRight {
    display: none;
  }

  .adCard {
    flex: 0 0 230px;
    height: 76px;
    min-height: 76px;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: start;
    align-items: center;
    gap: 0.18rem 0.75rem;
    padding: 0.78rem;
    text-align: left;
  }

  .adCard img,
  .emptyAdIcon,
  .adFallbackIcon {
    grid-row: 1 / 3;
  }

  .adText {
    display: contents;
  }

  .adText strong {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .adText small {
    min-height: 1.25em;
    max-height: 1.25em;
    font-size: 0.73rem;
  }

  .adTimer {
    display: none;
  }

  .emptyAdCard {
    align-content: center;
  }
}

@keyframes adMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1180px) {
  .platformGrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  h1 {
    font-size: 4rem;
  }

  .lead {
    font-size: 1.14rem;
  }

  .downloadPanel {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
  }

  .downloadButton {
    width: 100%;
  }

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

  .filterControls {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.45fr);
    grid-template-rows: auto;
    align-items: end;
  }

  .exchangeCheckGroup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
  }

  .comparisonGrid,
  .supportPanel {
    grid-template-columns: 1fr;
  }

  .supportDivider {
    width: 100%;
    height: 1px;
  }

  .supportPanel {
    gap: 1rem;
  }
}

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

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

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

@media (max-width: 620px) {
  .app {
    padding: 0.9rem 0.78rem 1.6rem;
  }

  .hero {
    align-items: stretch;
  }

  .heroIcon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.85rem;
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  h1 {
    font-size: 3rem;
  }

  .lead {
    margin-top: 1rem;
    font-size: 1.02rem;
  }

  .qualityBadges {
    gap: 0.45rem;
  }

  .qualityBadges span {
    min-height: 34px;
    padding: 0 0.72rem;
    font-size: 0.82rem;
  }

  .urlField {
    min-height: 58px;
    padding: 0 0.85rem;
  }

  input {
    font-size: 0.98rem;
  }

  .downloadButton {
    min-height: 58px;
    font-size: 0.96rem;
  }

  .filterControls,
  .telegramBotPanel {
    grid-template-columns: 1fr;
  }

  .filterPanel {
    gap: 0.7rem;
    padding: 0.75rem;
  }

  .exchangeCheckGroup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 236px;
    overflow: auto;
    padding-right: 0.2rem;
  }

  .exchangeCheckGroup label {
    min-height: 40px;
    padding: 0 0.52rem;
    font-size: 0.76rem;
  }

  .exchangeCheckGroup label::before {
    margin-right: 0.34rem;
  }

  .telegramBotPanel {
    align-items: stretch;
    flex-direction: column;
  }

  .telegramBotPanel a {
    width: 100%;
  }

  .contentSection,
  .platformSection,
  .supportPanel {
    margin-top: 1rem;
  }

  .contentSection,
  .supportPanel {
    padding: 1rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .platformSection {
    padding: 1rem;
  }

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

  .platformCard {
    min-height: 82px;
  }

  .benefitBlock {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .walletRow {
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  .walletRow code {
    padding: 0.9rem;
    font-size: 0.82rem;
  }

  .copyButton {
    min-height: 52px;
  }


  .extensionDownloadPanel {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.95rem;
    padding: 1.05rem;
    text-align: center;
  }

  .extensionDownloadIcon {
    width: 64px;
    height: 64px;
  }

  .extensionDownloadIcon svg {
    width: 40px;
    height: 40px;
  }

  .extensionDownloadCopy p {
    font-size: 0.72rem;
  }

  .extensionDownloadCopy h2 {
    max-width: 13rem;
    margin: 0 auto;
    font-size: 1.42rem;
    line-height: 1.12;
  }

  .extensionDownloadCopy span {
    max-width: 20rem;
    margin: 0.55rem auto 0;
    font-size: 0.96rem;
  }

  .extensionDownloadButton {
    width: 100%;
    min-height: 56px;
  }

  .sharePanel {
    padding: 1rem;
  }

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

  .shareGrid a,
  .shareGrid button {
    min-height: 58px;
  }
  .adForm {
    width: min(440px, calc(100vw - 1rem));
    padding: 0.8rem;
  }

  .adFormHeader {
    align-items: flex-start;
  }

  .adFormHeader h3 {
    font-size: 1.45rem;
  }

  .modalCloseButton {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .adPaymentCard {
    padding: 0.78rem;
  }

  .adFields input,
  .adFields textarea {
    min-height: 43px;
    padding: 0.66rem 0.74rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.55rem;
  }

  .lead {
    font-size: 0.98rem;
  }

  .qualityBadges span {
    width: 100%;
  }

  .adCard {
    flex-basis: 210px;
  }
}

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

/* ApeNope theme layer */
:root {
  --page: #0b0d0b;
  --page-2: #11140f;
  --panel: rgba(20, 24, 20, 0.9);
  --panel-2: rgba(27, 32, 26, 0.94);
  --line: rgba(196, 207, 177, 0.18);
  --line-strong: rgba(66, 214, 164, 0.42);
  --text: #f7f5eb;
  --muted: #aeb4a2;
  --soft: #d2d7c7;
  --blue: #42d6a4;
  --blue-strong: #caa55b;
  --mint: #66e0b7;
  --rose: #ec766b;
  --amber: #d9b668;
}

body {
  background:
    linear-gradient(180deg, rgba(26, 35, 25, 0.92) 0%, rgba(11, 13, 11, 0.99) 35rem),
    linear-gradient(90deg, rgba(8, 36, 28, 0.58), rgba(41, 31, 16, 0.56)),
    var(--page);
}

body::before {
  background-image:
    linear-gradient(rgba(218, 226, 201, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 226, 201, 0.026) 1px, transparent 1px);
  background-size: 42px 42px;
}

.heroIcon {
  border-color: rgba(66, 214, 164, 0.5);
  background: rgba(66, 214, 164, 0.08);
  color: #7be5bd;
  box-shadow: 0 14px 44px rgba(66, 214, 164, 0.16);
}

.eyebrow,
.footer a {
  color: #91e6c6;
}

.qualityBadges span {
  border-color: rgba(217, 182, 104, 0.32);
  background: rgba(217, 182, 104, 0.09);
  color: #f3dfae;
}

.downloadPanel,
.contentSection,
.platformSection,
.supportPanel,
.extensionDownloadPanel,
.sharePanel,
.exchangeBoard,
.signalPanel {
  background: rgba(18, 22, 18, 0.78);
  border-color: rgba(196, 207, 177, 0.18);
}

.urlField {
  background: rgba(8, 12, 9, 0.72);
}

.downloadButton,
.extensionDownloadButton {
  background: linear-gradient(135deg, #2fc88e, #d1a753);
  box-shadow: 0 16px 44px rgba(47, 200, 142, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.downloadButton:hover,
.extensionDownloadButton:hover {
  box-shadow: 0 18px 52px rgba(209, 167, 83, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.signalPanel {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.signalKicker {
  margin: 0 0 0.35rem;
  color: #91e6c6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signalPanel h2 {
  font-size: 1.55rem;
}

.signalPanel p:last-child {
  margin: 0.45rem 0 0;
  color: var(--soft);
  line-height: 1.5;
}

.signalMetric {
  min-width: 142px;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid rgba(102, 224, 183, 0.22);
  border-radius: var(--radius);
  background: rgba(102, 224, 183, 0.1);
}

.signalMetric span {
  color: #78efc3;
  font-size: 2rem;
  font-weight: 820;
  line-height: 1;
}

.signalMetric small {
  color: #d9c48e;
  font-weight: 700;
}

.filterPanel,
.arbitragePanel {
  width: min(1060px, 100%);
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(56, 189, 248, 0.07), transparent 62%),
    rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.filterPanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 0.85rem;
  padding: 0.9rem;
  align-items: stretch;
  text-align: left;
}

.filterPanel label,
.exchangeCheckGroup,
.filterControls {
  display: grid;
  gap: 0.35rem;
}

.exchangeCheckGroup {
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  align-content: start;
  max-height: 202px;
  overflow: auto;
  padding-right: 0.2rem;
}

.exchangeCheckGroup > span {
  grid-column: 1 / -1;
}

.exchangeCheckGroup label {
  min-height: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.72rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(2, 6, 23, 0.42);
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 780;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
}

.exchangeCheckGroup label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exchangeCheckGroup label::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.08);
}

.exchangeCheckGroup input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.exchangeCheckGroup label:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.42);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.08)),
    rgba(15, 23, 42, 0.72);
  color: #e0f2fe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(56, 189, 248, 0.08);
}

.exchangeCheckGroup label:has(input:checked)::before {
  background: #67e8f9;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.12), 0 0 18px rgba(103, 232, 249, 0.46);
}

.exchangeCheckGroup label:focus-within {
  border-color: rgba(56, 189, 248, 0.58);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.filterPanel span,
.arbitragePanel span {
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.filterPanel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(2, 6, 23, 0.54);
  color: var(--text);
  font: inherit;
  font-weight: 720;
  padding: 0 0.75rem;
}

.filterControls {
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(2, 6, 23, 0.28);
}

.filterControls label {
  align-content: start;
}

.filterPanel button {
  min-height: 48px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: var(--radius);
  background: rgba(56, 189, 248, 0.09);
  color: #bae6fd;
  font-weight: 850;
}

.arbitragePanel {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  text-align: left;
}

.arbitragePanel p {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.45;
}

.arbitragePanel small {
  color: #94a3b8;
  font-size: 0.78rem;
}

.autoScannerPanel {
  width: min(1060px, 100%);
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(56, 189, 248, 0.08), transparent 62%),
    rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.autoScannerPanel.isScanning {
  border-color: rgba(56, 189, 248, 0.32);
}

.autoScannerHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.autoScannerHeader span {
  color: #7dd3fc;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.autoScannerHeader h2 {
  margin: 0.24rem 0 0;
  font-size: 1.18rem;
  line-height: 1.1;
}

.autoScannerHeader button {
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius);
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
  font-size: 0.84rem;
  font-weight: 850;
}

.autoScannerHeader button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.autoSignalGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.autoSignalCard {
  min-width: 0;
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.24rem;
  padding: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 62%),
    rgba(15, 23, 42, 0.7);
  color: var(--text);
  text-align: left;
}

.autoSignalCard.isFeatured {
  border-color: rgba(56, 189, 248, 0.42);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.14), transparent 58%),
    rgba(15, 23, 42, 0.78);
}

.autoSignalCard span {
  width: fit-content;
  padding: 0.28rem 0.44rem;
  border-radius: 7px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.autoSignalCard strong {
  font-size: 1.16rem;
  line-height: 1;
}

.autoSignalCard em {
  color: #67e8f9;
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.autoSignalCard small {
  color: var(--soft);
  font-weight: 700;
  line-height: 1.25;
}

.autoScannerEmpty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  color: var(--soft);
  text-align: center;
  font-weight: 700;
}

.exchangeBoard {
  width: min(1060px, 100%);
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.exchangeToolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.exchangeCard {
  min-width: 0;
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(196, 207, 177, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.exchangeCard.isTop {
  border-color: rgba(102, 224, 183, 0.46);
  background: linear-gradient(180deg, rgba(48, 88, 66, 0.36), rgba(255, 255, 255, 0.035));
}

.exchangeCard > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.exchangeRank {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.55rem;
  border-radius: var(--radius);
  background: rgba(217, 182, 104, 0.12);
  color: #f0ce82;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.exchangeCard strong {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.05;
}

.exchangeCard p,
.exchangeCard small {
  margin: 0;
  color: var(--soft);
  font-weight: 600;
}

.exchangeCard small {
  color: #91e6c6;
}

.exchangeActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.exchangeActions span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.exchangeActions .isOk {
  border-color: rgba(103, 232, 249, 0.26);
  background: rgba(56, 189, 248, 0.09);
  color: #a5f3fc;
}

.exchangeActions .isNo {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.09);
  color: #fecdd3;
}

.exchangeActions .isCheck {
  border-color: rgba(248, 250, 252, 0.2);
  background: rgba(248, 250, 252, 0.08);
  color: #e2e8f0;
}

.comparisonCard.negative h3::before {
  content: "-";
  background: rgba(236, 118, 107, 0.14);
  color: #f39a92;
}

.comparisonCard.positive h3::before {
  content: "+";
  background: rgba(102, 224, 183, 0.16);
  color: #91e6c6;
}

.platformIcon {
  background: rgba(217, 182, 104, 0.1);
}

@media (max-width: 960px) {
  .exchangeGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

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

  .signalMetric {
    width: 100%;
  }

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

  .autoScannerHeader {
    align-items: stretch;
    flex-direction: column;
  }

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

/* Modern exchange-board polish */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(66, 214, 164, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 20%, rgba(217, 182, 104, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(26, 35, 25, 0.92) 0%, rgba(11, 13, 11, 0.99) 35rem),
    linear-gradient(90deg, rgba(8, 36, 28, 0.58), rgba(41, 31, 16, 0.56)),
    var(--page);
}

h1 {
  max-width: 1040px;
  background: linear-gradient(92deg, #fbf7e8 0%, #9ff4cf 48%, #e7c36f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.lead {
  max-width: 900px;
}

.hero::after {
  content: "";
  width: min(820px, 86vw);
  height: 1px;
  margin-top: 1.35rem;
  background: linear-gradient(90deg, transparent, rgba(145, 230, 198, 0.52), rgba(217, 182, 104, 0.48), transparent);
}

.heroIcon {
  transform: rotate(-3deg);
}

.heroIcon:hover {
  transform: rotate(0deg) translateY(-1px);
}

.signalPanel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(66, 214, 164, 0.15), transparent 44%),
    linear-gradient(300deg, rgba(217, 182, 104, 0.12), transparent 42%),
    rgba(18, 22, 18, 0.84);
}

.signalMetric {
  box-shadow: inset 0 0 34px rgba(102, 224, 183, 0.08);
}

.exchangeBoard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(18, 22, 18, 0.82);
}

.exchangeToolbar span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.72rem;
  border: 1px solid rgba(196, 207, 177, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.exchangeCard {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 62%),
    rgba(255, 255, 255, 0.035);
}

.exchangeCard.isTop {
  background:
    linear-gradient(145deg, rgba(66, 214, 164, 0.2), transparent 55%),
    linear-gradient(320deg, rgba(217, 182, 104, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 46px rgba(66, 214, 164, 0.11);
}

.exchangeCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(102, 224, 183, 0.8), rgba(217, 182, 104, 0.76));
  opacity: 0.45;
}

.exchangeCard.isTop::before {
  opacity: 1;
}

.exchangeCardTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.exchangeCard strong {
  font-size: 1.72rem;
}

.exchangeMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
  margin-top: 0.18rem;
}

.exchangeMeta a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.72rem;
  border: 1px solid rgba(217, 182, 104, 0.28);
  border-radius: var(--radius);
  background: rgba(217, 182, 104, 0.1);
  color: #f2d48c;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.exchangeMeta a:hover {
  border-color: rgba(145, 230, 198, 0.44);
  background: rgba(66, 214, 164, 0.12);
  color: #a4f4d2;
}

.exchangeGrid.isRefreshing {
  opacity: 0.78;
}

.exchangeGrid.hasFreshData .exchangeCard.isTop {
  animation: freshPulse 0.62s ease;
}

@keyframes freshPulse {
  0% {
    box-shadow: 0 0 0 rgba(66, 214, 164, 0);
  }

  45% {
    box-shadow: 0 0 0 4px rgba(66, 214, 164, 0.18), 0 18px 46px rgba(66, 214, 164, 0.13);
  }

  100% {
    box-shadow: 0 18px 46px rgba(66, 214, 164, 0.11);
  }
}

/* ApeNope layout alignment and ad styling */
.marketHeroPanel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(196, 207, 177, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    rgba(9, 13, 10, 0.62);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.marketHeroPanel .heroIcon,
.marketHeroPanel .eyebrow,
.marketHeroPanel h1,
.marketHeroPanel .lead,
.marketHeroPanel .qualityBadges {
  align-self: center;
}

.marketHeroPanel .downloadPanel,
.marketHeroPanel .telegramBotPanel,
.marketHeroPanel .filterPanel,
.marketHeroPanel .signalPanel,
.marketHeroPanel .arbitragePanel,
.marketHeroPanel .autoScannerPanel,
.marketHeroPanel .exchangeBoard {
  width: 100%;
  max-width: none;
}

.marketHeroPanel .downloadPanel {
  margin-top: 0.2rem;
}

.marketHeroPanel .status {
  width: 100%;
  text-align: center;
}

.marketHeroPanel .signalPanel,
.marketHeroPanel .exchangeBoard {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 1500px) {
  .hero {
    width: min(1120px, calc(100vw - 700px));
  }

  .marketHeroPanel .downloadPanel,
  .marketHeroPanel .signalPanel,
  .marketHeroPanel .exchangeBoard {
    width: 100%;
  }
}

.adCard {
  position: relative;
  overflow: hidden;
  border-color: rgba(196, 207, 177, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 54%),
    rgba(13, 18, 14, 0.92);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.adCard::before {
  content: "Ad";
  position: absolute;
  top: 0.58rem;
  left: 0.58rem;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.45rem;
  border: 1px solid rgba(217, 182, 104, 0.25);
  border-radius: 6px;
  background: rgba(217, 182, 104, 0.1);
  color: #f2d48c;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.adCard:hover {
  border-color: rgba(145, 230, 198, 0.34);
  background:
    linear-gradient(145deg, rgba(66, 214, 164, 0.09), transparent 54%),
    rgba(15, 21, 16, 0.96);
}

.adCard img,
.emptyAdIcon,
.adFallbackIcon {
  border: 1px solid rgba(196, 207, 177, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.emptyAdIcon {
  color: #f2d48c;
  background:
    linear-gradient(135deg, rgba(66, 214, 164, 0.12), rgba(217, 182, 104, 0.12));
}

.emptyAdCard {
  border-style: dashed;
  background:
    linear-gradient(145deg, rgba(217, 182, 104, 0.08), transparent 56%),
    rgba(13, 18, 14, 0.86);
}

.emptyAdCard::before {
  content: "Open";
}

.adText strong {
  color: #f7f5eb;
}

.adText small {
  color: #bfc8b5;
}

.adTimer {
  background: rgba(66, 214, 164, 0.1);
  color: #91e6c6;
}

@media (max-width: 1499px) {
  .adCard::before {
    display: none;
  }
}

/* ApeNope modal and share polish */
.modalBackdrop {
  background:
    radial-gradient(circle at 50% 24%, rgba(66, 214, 164, 0.14), transparent 26rem),
    rgba(4, 7, 5, 0.78);
  backdrop-filter: blur(12px);
}

.adForm {
  padding: 1.1rem;
  max-height: none;
  overflow: visible;
  border-color: rgba(196, 207, 177, 0.2);
  background:
    linear-gradient(145deg, rgba(66, 214, 164, 0.1), transparent 42%),
    linear-gradient(315deg, rgba(217, 182, 104, 0.1), transparent 42%),
    rgba(11, 15, 12, 0.98);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.adFormHeader {
  align-items: center;
  margin-bottom: 0.62rem;
  padding-bottom: 0.62rem;
  border-bottom: 1px solid rgba(196, 207, 177, 0.14);
}

.adFormStep {
  border-color: rgba(217, 182, 104, 0.3);
  background: rgba(217, 182, 104, 0.1);
  color: #f2d48c;
}

.adFormHeader h3 {
  background: linear-gradient(92deg, #fbf7e8, #9ff4cf 52%, #e7c36f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modalCloseButton {
  border-color: rgba(196, 207, 177, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: #dfe8d6;
}

.modalCloseButton:hover {
  border-color: rgba(145, 230, 198, 0.34);
  background: rgba(66, 214, 164, 0.1);
  color: #9ff4cf;
}

.adPaymentCard {
  gap: 0.52rem;
  margin-bottom: 0.68rem;
  padding: 0.72rem;
  border-color: rgba(217, 182, 104, 0.22);
  background:
    linear-gradient(135deg, rgba(217, 182, 104, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

.adPaymentCard > div:first-child span,
.adFields span {
  color: #bfc8b5;
}

.adPaymentCard p {
  color: #d2d7c7;
  font-size: 0.8rem;
  line-height: 1.35;
}

.adRateBadge {
  border-color: rgba(66, 214, 164, 0.22);
  background: rgba(66, 214, 164, 0.1);
  color: #91e6c6;
}

.adRateBadge span {
  background: rgba(217, 182, 104, 0.16);
  color: #f2d48c;
}

.adFields input,
.adFields textarea,
.walletRow {
  border-color: rgba(196, 207, 177, 0.18);
  background: rgba(6, 10, 7, 0.72);
}

.adFields {
  gap: 0.58rem;
}

.adFields label {
  gap: 0.28rem;
}

.adFields input,
.adFields textarea {
  min-height: 40px;
  padding: 0.58rem 0.72rem;
  font-size: 0.92rem;
}

.adFields textarea {
  min-height: 54px;
}

.walletRow code {
  padding: 0.76rem 0.82rem;
}

.copyButton {
  min-height: 44px;
}

.adFields input:focus,
.adFields textarea:focus {
  border-color: rgba(66, 214, 164, 0.5);
  box-shadow: 0 0 0 3px rgba(66, 214, 164, 0.12);
}

.copyButton {
  background: rgba(66, 214, 164, 0.08);
  color: #dfe8d6;
}

.copyButton:hover {
  background: rgba(66, 214, 164, 0.14);
  color: #9ff4cf;
}

.adFormActions {
  padding-top: 0.1rem;
  gap: 0.62rem;
  margin-top: 0.62rem;
}

.adFormActions .downloadButton {
  min-height: 42px;
}

.adFormActions p {
  color: #bfc8b5;
}

.sharePanel {
  position: relative;
  overflow: hidden;
  padding: 1.45rem;
  border-color: rgba(196, 207, 177, 0.18);
  background:
    linear-gradient(135deg, rgba(66, 214, 164, 0.1), transparent 42%),
    linear-gradient(315deg, rgba(217, 182, 104, 0.08), transparent 44%),
    rgba(13, 18, 14, 0.82);
}

.sharePanel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(66, 214, 164, 0.72), rgba(217, 182, 104, 0.68));
}

.sharePanel .sectionTitle h2 {
  background: linear-gradient(92deg, #fbf7e8, #9ff4cf 52%, #e7c36f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sharePanel > p {
  color: #d2d7c7;
}

.shareGrid a,
.shareGrid button {
  border-color: rgba(196, 207, 177, 0.18);
  background: rgba(7, 11, 8, 0.52);
  color: #f7f5eb;
}

.shareGrid a:hover,
.shareGrid button:hover {
  border-color: rgba(145, 230, 198, 0.36);
  background:
    linear-gradient(135deg, rgba(66, 214, 164, 0.12), rgba(217, 182, 104, 0.08));
  color: #9ff4cf;
}

@media (max-width: 620px) {
  .adForm {
    top: 0.5rem;
    transform: translateX(-50%);
    padding: 0.85rem;
    max-height: none;
    overflow: visible;
  }

  .sharePanel {
    padding: 1rem;
  }
}

/* ApeNope modern slate theme */
:root {
  color-scheme: dark;
  --page: #070a12;
  --page-2: #0b1020;
  --panel: rgba(13, 18, 31, 0.86);
  --panel-2: rgba(18, 25, 40, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(56, 189, 248, 0.48);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --blue: #38bdf8;
  --blue-strong: #2563eb;
  --mint: #67e8f9;
  --rose: #fb7185;
  --amber: #f8fafc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

html,
body {
  background: var(--page);
}

body {
  background:
    radial-gradient(circle at 16% 8%, rgba(56, 189, 248, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 16%, rgba(14, 165, 233, 0.1), transparent 28rem),
    linear-gradient(180deg, #0b1020 0%, #070a12 42rem),
    var(--page);
}

body::before {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 72%);
}

.marketHeroPanel,
.contentSection,
.platformSection,
.supportPanel,
.extensionDownloadPanel,
.sharePanel,
.exchangeBoard,
.signalPanel,
.downloadPanel,
.adForm {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%),
    rgba(13, 18, 31, 0.78);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

h1,
.adFormHeader h3,
.sharePanel .sectionTitle h2 {
  background: linear-gradient(92deg, #ffffff 0%, #bae6fd 46%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow,
.signalKicker,
.footer a,
.copyStatus,
.supportKicker {
  color: #7dd3fc;
}

.heroIcon {
  border-color: rgba(56, 189, 248, 0.38);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.08)),
    rgba(15, 23, 42, 0.78);
  color: #7dd3fc;
  box-shadow: 0 16px 54px rgba(56, 189, 248, 0.14);
}

.qualityBadges span,
.exchangeToolbar span,
.adFormStep,
.exchangeRank {
  border-color: rgba(56, 189, 248, 0.2);
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
}

.urlField,
.adFields input,
.adFields textarea,
.walletRow {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.58);
}

.downloadButton,
.extensionDownloadButton {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.downloadButton:hover,
.extensionDownloadButton:hover {
  box-shadow: 0 20px 56px rgba(56, 189, 248, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.signalPanel {
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.14), transparent 48%),
    rgba(13, 18, 31, 0.84);
}

.signalMetric {
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: inset 0 0 34px rgba(56, 189, 248, 0.08);
}

.signalMetric span,
.exchangeCard small,
.exchangeMeta small,
.adTimer {
  color: #67e8f9;
}

.signalMetric small {
  color: #cbd5e1;
}

.exchangeCard,
.comparisonCard,
.platformCard,
.adCard {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), transparent 62%),
    rgba(15, 23, 42, 0.62);
}

.exchangeCard::before,
.sharePanel::before,
.exchangeGrid article::before {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.exchangeCard.isTop {
  border-color: rgba(56, 189, 248, 0.42);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.15), transparent 58%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 46px rgba(56, 189, 248, 0.1);
}

.exchangeMeta a,
.exchangeGrid a,
.adRateBadge {
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
}

.exchangeMeta a:hover,
.shareGrid a:hover,
.shareGrid button:hover,
.copyButton:hover,
.modalCloseButton:hover {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(56, 189, 248, 0.12);
  color: #e0f2fe;
}

.adCard:hover,
.emptyAdCard {
  border-color: rgba(56, 189, 248, 0.26);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.08), transparent 58%),
    rgba(15, 23, 42, 0.72);
}

.adCard::before {
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
}

.emptyAdIcon {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
}

.adText strong,
.exchangeCard strong {
  color: #f8fafc;
}

.adText small,
.adPaymentCard p,
.adFormActions p,
.sharePanel > p,
.contentSection,
.comparisonCard li {
  color: #cbd5e1;
}

.modalBackdrop {
  background:
    radial-gradient(circle at 50% 24%, rgba(56, 189, 248, 0.14), transparent 28rem),
    rgba(2, 6, 23, 0.78);
}

.adPaymentCard,
.sharePanel {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent 50%),
    rgba(15, 23, 42, 0.66);
}

.copyButton,
.modalCloseButton,
.shareGrid a,
.shareGrid button {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.62);
  color: #e2e8f0;
}

.adFields input:focus,
.adFields textarea:focus,
.urlField:focus-within {
  border-color: rgba(56, 189, 248, 0.56);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.comparisonCard.negative,
.comparisonCard.positive {
  border-color: rgba(148, 163, 184, 0.16);
}

.comparisonCard.negative h3::before {
  background: rgba(251, 113, 133, 0.12);
  color: #fda4af;
}

.comparisonCard.positive h3::before {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

/* Informative ad placement modal */
.adForm {
  width: min(1180px, calc(100vw - 1.5rem));
  padding: 1.55rem;
}

.adFormHeader {
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.adFormStep {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 850;
}

.adFormHeader h3 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1;
}

.modalCloseButton {
  flex-basis: 58px;
  width: 58px;
  height: 58px;
  font-size: 2rem;
}

.adPaymentCard {
  gap: 1rem;
  margin-bottom: 1.05rem;
  padding: 1rem;
}

.adPaymentTop {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.adPaymentTop > div:first-child {
  display: grid;
  gap: 0.25rem;
}

.adPaymentCard > div:first-child span,
.adPaymentTop span,
.adFields span {
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: none;
}

.adPaymentTop strong {
  color: var(--text);
  font-size: 1.34rem;
}

.adPaymentRow {
  grid-template-columns: minmax(0, 1fr) 64px;
  border-radius: 999px;
}

.adPaymentRow code {
  padding: 1.05rem 1.25rem;
  font-size: 1rem;
}

.adPaymentRow .copyButton {
  min-height: 52px;
  border-radius: 999px;
  margin: 0.28rem;
}

#adPricingText {
  display: block;
}

.adRateBadge {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  padding: 0.9rem;
  border-radius: var(--radius);
}

.adRateIcon {
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
}

.adRateIcon img {
  width: 100%;
  height: 100%;
}

.adRateBadge strong {
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.05;
}

.adRateBadge small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.adHelpText {
  margin: 0;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.4;
}

.adHelpText a {
  color: #60a5fa;
  font-weight: 850;
}

.adFields {
  gap: 0.9rem 1rem;
}

.adFields label {
  gap: 0.45rem;
}

.adFields input,
.adFields textarea {
  min-height: 64px;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.adFields textarea {
  min-height: 92px;
}

.adFormActions {
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.adFormActions .downloadButton {
  width: 100%;
  min-height: 74px;
  font-size: 1.12rem;
}

.adFormActions p {
  margin: 0;
  font-size: 1rem;
}

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

  .adPaymentRow {
    border-radius: var(--radius);
  }

  .adForm {
    width: min(560px, calc(100vw - 1rem));
    max-height: calc(100vh - 1rem);
    overflow: auto;
  }
}

/* Compact ad modal */
.adForm {
  width: min(980px, calc(100vw - 1.5rem));
  padding: 1.5rem;
}

.adFormStep {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.13);
  color: #bae6fd;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.adFormHeader h3 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.modalCloseButton {
  flex-basis: 58px;
  width: 58px;
  height: 58px;
}

.adPaymentCard {
  gap: 0.85rem;
  margin-bottom: 1.05rem;
  padding: 1rem;
  border-color: rgba(56, 189, 248, 0.16);
  background: rgba(15, 23, 42, 0.72);
}

.adPaymentTop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: stretch;
}

.adPaymentTop > div:first-child {
  gap: 0.25rem;
}

.adPaymentCard > div:first-child span,
.adPaymentTop span,
.adFields span {
  color: #cbd5c0;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.adPaymentTop strong {
  font-size: 1.25rem;
}

.adPaymentRow {
  grid-template-columns: minmax(0, 1fr) 74px;
  border-radius: var(--radius);
  background: rgba(2, 6, 23, 0.78);
}

.adPaymentRow code {
  padding: 0.98rem 1.1rem;
}

.adPaymentRow .copyButton {
  min-height: 100%;
  margin: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.adRateBadge {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  gap: 0.65rem;
  padding: 0.48rem 0.9rem;
  border-radius: 12px;
}

.adRateIcon {
  width: 28px;
  height: 28px;
}

.adRateBadge strong {
  font-size: 1rem;
  line-height: 1.1;
}

.adRateBadge small {
  display: none;
}

.adHelpText {
  font-size: 0.95rem;
  line-height: 1.42;
}

.adFields {
  gap: 0.8rem 0.9rem;
}

.adFields input,
.adFields textarea {
  min-height: 54px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
}

.adFields textarea {
  min-height: 84px;
}

.adFormActions {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
}

.adFormActions .downloadButton {
  width: auto;
  min-width: 220px;
  min-height: 58px;
  padding-inline: 1.35rem;
}

@media (max-width: 720px) {
  .adForm {
    width: min(560px, calc(100vw - 1rem));
    max-height: calc(100vh - 1rem);
    overflow: auto;
    padding: 1rem;
  }

  .adPaymentRow {
    grid-template-columns: minmax(0, 1fr) 56px;
  }

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

  .adFormActions .downloadButton {
    width: 100%;
  }
}

/* Reliable ad-card text rendering */
.adCard {
  grid-template-rows: 42px minmax(0, 1fr) 28px;
}

.adCard .adText {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 0.22rem;
  align-self: center;
  justify-items: center;
  opacity: 1;
  visibility: visible;
}

.adCard .adText strong,
.adCard .adText small {
  display: block;
  width: 100%;
  max-width: 100%;
  opacity: 1;
  visibility: visible;
}

.adCard .adText strong {
  color: #f8fafc;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
}

.adCard .adText small {
  min-height: auto;
  max-height: 2.6em;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

.emptyAdCard {
  grid-template-rows: 28px 42px minmax(0, auto);
  align-content: center;
}

.emptyAdCard .emptyAdIcon {
  grid-row: auto;
}

.emptyAdCard .adText {
  display: none !important;
}

.emptyAdCard .adText {
  position: relative;
  z-index: 2;
}

.emptyAdCard::after {
  content: none;
}

.emptyAdCopy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.24rem;
  justify-items: center;
  width: 100%;
  min-width: 0;
  align-self: center;
  text-align: center;
}

.emptyAdCopy strong {
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.22;
}

.emptyAdCopy small {
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 540;
  line-height: 1.35;
}

.reservedAdCard {
  cursor: default;
  border-style: solid;
  border-color: rgba(241, 200, 107, 0.28);
  background:
    linear-gradient(145deg, rgba(241, 200, 107, 0.09), transparent 58%),
    rgba(15, 23, 42, 0.72);
}

.reservedAdCard:hover {
  transform: none;
}

.reservedAdCard .emptyAdIcon {
  color: #f8d77a;
  background: rgba(241, 200, 107, 0.12);
}

.reservedAdCard .adText small,
.reservedAdCard .adTimer {
  color: #f8d77a;
}

.reservedAdCard .adText {
  display: none !important;
}

.reservedAdCard::after {
  content: "Reserved slot #" attr(data-slot-index) "\A Waiting for Telegram approval";
  grid-row: 2;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: block;
  align-self: center;
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.38;
  text-align: center;
  white-space: pre-line;
  overflow: hidden;
}

.sponsoredAdCard {
  grid-template-rows: 42px minmax(0, 1fr) 28px;
  align-content: center;
}

.sponsoredAdCard .adText {
  display: none !important;
}

.sponsoredAdCopy {
  grid-row: 2;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 0.28rem;
  align-self: center;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}

.sponsoredAdCopy strong {
  width: 100%;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsoredAdCopy small {
  width: 100%;
  max-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 560;
  line-height: 1.35;
  overflow: hidden;
}

.sponsoredAdCard .adText strong {
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsoredAdCard .adText small {
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsoredAdCard .adTimer {
  grid-row: 3;
}

@media (max-width: 1499px) {
  .adCard {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .adCard img,
  .emptyAdIcon,
  .adFallbackIcon {
    grid-row: 1 / 3;
  }

  .adCard .adText {
    justify-items: start;
    text-align: left;
  }

  .sponsoredAdCard .adText {
    display: none !important;
  }

  .sponsoredAdCopy {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: start;
    justify-items: start;
    text-align: left;
  }

  .sponsoredAdCopy strong,
  .sponsoredAdCopy small {
    text-align: left;
  }

  .reservedAdCard::after {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: start;
    text-align: left;
  }

  .emptyAdCard::after {
    content: none;
  }

  .emptyAdCopy {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-items: start;
    text-align: left;
  }

  .adTimer {
    display: none;
  }

}
