/* ── RESET & BASE ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  font-size: 10.8pt;
  line-height: 1.6;
  color: #e0e8f0;
  background: #070e18;
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(201, 168, 76, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(20, 45, 70, 0.5) 0%, transparent 55%);
  padding: 20px;
  overflow-x: hidden;
}

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

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

body.is-modal-open {
  overflow: hidden;
}

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

/* ── TOKENS ── */
:root {
  --gold: #c9a84c;
  --gold-light: #e0c87c;
  --gold-dim: rgba(201, 168, 76, 0.18);
  --gold-border: rgba(201, 168, 76, 0.3);
  --surface: rgba(10, 18, 28, 0.92);
  --surface-2: rgba(15, 25, 38, 0.8);
  --text-primary: #f0e6c5;
  --text-secondary: #b8a87a;
  --text-muted: #7f8c8d;
  --text-dim: #5a6b7c;
  --success: #34d399;
  --danger: #ff7b7b;
  --info: #8ab4f8;
  --warn: #f0c06a;
  --radius: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ── STATUS BANNER ── */
.status-banner {
  display: none;
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  color: var(--text-primary);
  font-size: 10pt;
}

.status-banner.show {
  display: block;
}

.status-banner.success {
  color: var(--success);
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.07);
}

.status-banner.error {
  color: var(--danger);
  border-color: rgba(255, 123, 123, 0.3);
  background: rgba(255, 123, 123, 0.07);
}

.status-banner.info {
  color: var(--info);
  border-color: rgba(138, 180, 248, 0.3);
  background: rgba(138, 180, 248, 0.07);
}

.status-banner.warn {
  color: var(--warn);
  border-color: rgba(240, 192, 106, 0.3);
  background: rgba(240, 192, 106, 0.07);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7, 14, 24, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin: -20px -20px 32px;
  padding: 0 20px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.gtranslate_wrapper {
  display: flex;
  align-items: center;
}

.gtranslate_wrapper a {
  text-decoration: none !important;
}

.gtranslate_wrapper .gt_single_flag {
  font-size: 0 !important;
}

.gtranslate_wrapper .gt_single_flag img {
  width: 14px !important;
  height: 14px !important;
}

.gtranslate_wrapper .gt_current-lang {
  font-size: 0 !important;
}

.gtranslate_wrapper .gt_lang_name {
  display: none !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .b-main {
  font-size: 13pt;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.brand-text .b-sub {
  font-size: 7.5pt;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.45);
  background: var(--gold-dim);
  color: #dbbf6e;
  font-weight: 700;
  font-size: 9.5pt;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
  letter-spacing: .3px;
}

.btn-gold:hover {
  background: rgba(201, 168, 76, 0.28);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.2);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-gold:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.btn-gold.small {
  padding: 5px 12px;
  font-size: 8.5pt;
}

.btn-gold.loading {
  opacity: .65;
  pointer-events: none;
}

.btn-gold.primary {
  background: linear-gradient(135deg, var(--gold), #8b7a4c);
  color: #0b1622;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.35);
}

.btn-gold.primary:hover {
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.5);
}

/* ── DOCUMENT ── */
.document-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(9, 16, 26, 0.95);
  padding: 2.6cm 2.2cm;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
  border-top: 5px solid var(--gold);
  border-radius: 0 0 12px 12px;
}

/* ── HERO / TITLE ── */
.title-section {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  position: relative;
}

.title-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 8.5pt;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 5px 16px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  background: rgba(201, 168, 76, 0.06);
}

.title-logo {
  font-size: 30pt;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 6px;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.35);
  margin-bottom: 10px;
  line-height: 1;
}

.title-main {
  font-size: 17pt;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: .5px;
}

.title-sub {
  font-size: 12pt;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Ключевые метрики в hero */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
}

.hero-metric {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}

.hero-metric .hm-val {
  font-size: 20pt;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-metric .hm-lbl {
  font-size: 8pt;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 1.3;
}

.title-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 9.5pt;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.title-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.title-meta .dot-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.35);
}

/* ── TYPOGRAPHY ── */
h2 {
  font-size: 14pt;
  color: #e2d1a1;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin: 40px 0 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

h3 {
  font-size: 12pt;
  color: #f0c06a;
  margin: 22px 0 10px;
  font-weight: 700;
}

p {
  margin-bottom: 14px;
  text-align: justify;
}

.highlight {
  color: #e0c763;
  font-weight: 700;
}

.bold {
  color: #e0d5c0;
  font-weight: 700;
}

ul {
  margin: 0 0 16px 24px;
}

ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ── GALLERY ── */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 32px;
}

.gallery-container .gallery-quote {
  grid-column: 1 / -1;
  margin: 0 0 8px;
}

/* ── BENEFITS BLOCK ── */
.benefits-block {
  background: rgba(15, 25, 38, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius, 10px);
  padding: 28px 32px;
  text-align: left;
}

.benefits-header {
  margin-bottom: 16px;
}

.benefits-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.benefits-title {
  font-size: 18px;
  font-weight: 800;
  color: #e0d5c0;
  margin: 0;
  line-height: 1.3;
}

.benefits-lead {
  font-size: 10.5pt;
  color: #cdd3da;
  line-height: 1.7;
  margin: 0 0 18px;
  font-style: italic;
}

.benefits-lead strong {
  color: var(--gold-light, #d4b85a);
  font-style: normal;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefits-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 10pt;
  color: #cdd3da;
  line-height: 1.6;
}

.benefits-item strong {
  color: #e0d5c0;
}

.benefits-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 6px;
  font-size: 14px;
  margin-top: 2px;
}

.benefits-footer {
  font-size: 10pt;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-style: italic;
}

.benefits-footer strong {
  color: var(--gold-light, #d4b85a);
  font-style: normal;
}

/* ── VOTE CTA (above product catalog) ── */
.vote-cta {
  background: rgba(15, 25, 38, 0.7);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius, 10px);
  padding: 24px 28px;
  margin: 0 0 24px;
  text-align: left;
}

.vote-cta-header {
  margin-bottom: 12px;
}

.vote-cta-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.vote-cta-title {
  font-size: 17px;
  font-weight: 800;
  color: #e0d5c0;
  margin: 0;
  line-height: 1.3;
}

.vote-cta-text {
  font-size: 10.5pt;
  color: #cdd3da;
  line-height: 1.7;
  margin: 0 0 16px;
}

.vote-cta-text strong {
  color: var(--gold-light, #d4b85a);
}

.vote-cta-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vote-cta-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 10pt;
  color: #cdd3da;
  line-height: 1.6;
}

.vote-cta-detail strong {
  color: #e0d5c0;
}

.vote-cta-detail-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 6px;
  font-size: 13px;
  margin-top: 2px;
}

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 32px;
}

.stat-card {
  background: rgba(15, 25, 38, 0.7);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius, 10px);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-card-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold, #c9a84c);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-card-lbl {
  font-size: 9.5pt;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── AUDIENCE BLOCK ── */
.audience-block {
  margin: 0 0 32px;
}

.audience-header {
  margin-bottom: 18px;
}

.audience-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.audience-title {
  font-size: 17px;
  font-weight: 800;
  color: #e0d5c0;
  margin: 0;
  line-height: 1.3;
}

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

.audience-card {
  background: rgba(15, 25, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius, 10px);
  padding: 20px 22px;
  text-align: left;
  transition: border-color .25s, transform .25s;
}

.audience-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
}

.audience-card-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.audience-card-title {
  font-size: 12pt;
  font-weight: 800;
  color: #e0d5c0;
  margin: 0 0 8px;
}

.audience-card-text {
  font-size: 9.5pt;
  color: #9aa5b3;
  line-height: 1.6;
  margin: 0;
}

/* ── SURVIVAL HEADER (moved from gallery) ── */
.survival-header {
  margin: 0 0 32px;
  padding: 16px 20px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.04);
}

.survival-header .benefits-title {
  color: #e0d5c0;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  margin: 0 0 32px;
}

.how-header {
  margin-bottom: 18px;
}

.how-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.how-title {
  font-size: 17px;
  font-weight: 800;
  color: #e0d5c0;
  margin: 0;
  line-height: 1.3;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 25, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius, 10px);
  padding: 18px 22px;
  transition: border-color .25s;
}

.how-step:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

.how-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  color: var(--gold, #c9a84c);
}

.how-step-content {
  flex: 1;
}

.how-step-title {
  font-size: 11pt;
  font-weight: 800;
  color: #e0d5c0;
  margin: 0 0 4px;
}

.how-step-text {
  font-size: 9.5pt;
  color: #9aa5b3;
  line-height: 1.6;
  margin: 0;
}

.how-inline-text {
  font-size: 10pt;
  color: #cdd3da;
  line-height: 1.7;
  margin: 16px 0 0;
  padding: 0;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0;
  border-radius: 10px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 168, 76, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}

.gallery-item .caption {
  padding: 10px 12px;
  font-weight: 600;
  color: var(--gold);
  font-size: 9.5pt;
  letter-spacing: .3px;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  pointer-events: none;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  opacity: .8;
  transition: opacity .2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ── CALCULATOR ── */
.calculator-card {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(10, 18, 28, 0.6));
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 16px 0 24px;
}

.calc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: 11.5pt;
  font-weight: 700;
}

.calc-header svg {
  flex-shrink: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-field label {
  font-size: 8pt;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.calc-field input {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(5, 10, 18, 0.7);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 12pt;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.calc-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.calc-result {
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
  transition: border-color .2s;
}

.calc-result:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.calc-result .label {
  font-size: 7.5pt;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 5px;
}

.calc-result .value {
  font-size: 14pt;
  font-weight: 800;
  color: var(--gold);
}

.calc-result .value small {
  font-size: 8.5pt;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.calc-note {
  margin-top: 12px;
  font-size: 8.5pt;
  color: var(--text-dim);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding-top: 10px;
}

.calc-note span {
  color: var(--gold);
  font-weight: 700;
}

.calc-block {
  background: rgba(5, 10, 18, 0.7);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin: 14px 0 20px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 9.5pt;
  color: #d8e0e8;
  line-height: 1.7;
}

.calc-block span {
  color: var(--gold);
  font-weight: 700;
}

/* ── INVESTOR SECTIONS (wrapper for sections 1,2,3) ── */
.investor-sections {
  margin: 0 0 32px;
  background: rgba(10, 18, 28, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 14px;
  padding: 28px 32px;
}

.investor-sections>div:first-child {
  margin-bottom: 0;
}

.investor-sections h2 {
  margin: 24px 0 14px;
  font-size: 1.15rem;
  color: var(--gold, #c9a84c);
  font-weight: 700;
}

.investor-sections h2:first-child {
  margin-top: 0;
}

.investor-sections .breakdown,
.investor-sections .calculator-card {
  margin-bottom: 0;
}

/* ── COMPACT FINANCIAL MODEL (inside investor-sections) ── */
.investor-sections .calculator-card {
  padding: 14px 18px;
  margin: 0;
}

.investor-sections .calc-header {
  margin-bottom: 10px;
  font-size: 10pt;
}

.investor-sections .calc-grid {
  gap: 8px;
  margin-bottom: 10px;
}

.investor-sections .calc-field label {
  font-size: 7pt;
}

.investor-sections .calc-field input {
  padding: 5px 8px;
  font-size: 10pt;
}

.investor-sections .calc-results {
  gap: 6px;
}

.investor-sections .calc-result {
  padding: 8px 6px;
}

.investor-sections .calc-result .label {
  font-size: 6.5pt;
  margin-bottom: 3px;
}

.investor-sections .calc-result .value {
  font-size: 11pt;
}

.investor-sections .calc-result .value small {
  font-size: 7pt;
}

.investor-sections .calc-note {
  margin-top: 8px;
  font-size: 7.5pt;
  padding-top: 6px;
}

/* ── COMPACT BREAKDOWN (inside investor-sections) ── */
.investor-sections .breakdown {
  margin: 0;
}

.investor-sections .breakdown-header {
  padding: 14px 18px 12px;
}

.investor-sections .breakdown-eyebrow {
  font-size: 7pt;
  margin-bottom: 4px;
}

.investor-sections .breakdown-title {
  font-size: 10pt;
}

.investor-sections .breakdown-section {
  padding: 12px 18px;
}

.investor-sections .breakdown-section-label {
  font-size: 7.5pt;
  margin-bottom: 10px;
  gap: 8px;
}

.investor-sections .bd-num {
  width: 20px;
  height: 20px;
  font-size: 7pt;
}

.investor-sections .bd-grid {
  gap: 8px;
}

.investor-sections .bd-cell {
  padding: 10px 12px;
}

.investor-sections .bd-cell-lbl {
  font-size: 7pt;
  margin-bottom: 5px;
}

.investor-sections .bd-cell-val {
  font-size: 13pt;
}

.investor-sections .bd-cell-val .unit {
  font-size: 9pt;
}

.investor-sections .bd-cell-sub {
  font-size: 7pt;
  margin-top: 4px;
}

.investor-sections .bd-flow {
  gap: 6px;
}

.investor-sections .bd-flow-item {
  padding: 10px 12px;
  min-width: 100px;
}

.investor-sections .bd-flow-lbl {
  font-size: 7pt;
  margin-bottom: 4px;
}

.investor-sections .bd-flow-val {
  font-size: 12pt;
}

.investor-sections .bd-flow-arrow {
  font-size: 12pt;
  width: 18px;
}

.investor-sections .breakdown-summary {
  padding: 14px 18px;
}

.investor-sections .bd-summary-title {
  font-size: 8pt;
  margin-bottom: 10px;
}

.investor-sections .bd-summary-flow {
  gap: 10px;
}

.investor-sections .bd-sum-step {
  padding: 8px 14px;
  min-width: 100px;
}

.investor-sections .bd-sum-step-lbl {
  font-size: 7pt;
}

.investor-sections .bd-sum-step-val {
  font-size: 11pt;
}

/* ── CTA BLOCK ── */
.cta-block {
  max-width: 720px;
  margin: 32px auto;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(20, 32, 48, 0.97), rgba(10, 18, 28, 0.97));
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9pt;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 5px 16px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  background: rgba(201, 168, 76, 0.06);
}

.cta-title {
  font-size: 22pt;
  color: var(--text-primary);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: .3px;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 11pt;
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 520px;
}

.cta-note {
  color: var(--text-dim);
  font-size: 9pt;
}

/* ── CTA BLOCK — title-section elements inside ── */
.cta-block .title-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 8pt;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 4px 14px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 20px;
  background: rgba(201, 168, 76, 0.05);
}

.cta-block h1 {
  font-size: 20pt;
  color: var(--text-primary);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.25;
  letter-spacing: .3px;
}

.cta-block .hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 auto 18px;
  max-width: 600px;
}

.cta-block .hero-metric {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.cta-block .hero-metric-val {
  display: block;
  font-size: 16pt;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.cta-block .hero-metric-lbl {
  display: block;
  font-size: 7.5pt;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.cta-block .title-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 9pt;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.cta-block .title-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── QUOTE ── */
.founder-quote {
  margin: 40px 0;
  font-style: italic;
  padding: 24px 28px;
  background: rgba(15, 25, 38, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(201, 168, 76, 0.4);
  border-radius: 0 var(--radius) var(--radius) 0;
  text-align: left;
  color: #cdd3da;
  font-size: 10.5pt;
  line-height: 1.7;
}

.founder-quote strong {
  color: var(--gold-light);
  font-style: normal;
}

.founder-quote .quote-author {
  margin-top: 14px;
  font-style: normal;
  font-size: 9pt;
  color: var(--text-muted);
  font-weight: 700;
}

/* ── FEEDBACK / FORM ── */
.feedback-section {
  margin-top: 0;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 10pt;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 8.5pt;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(10, 18, 28, 0.8);
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group .hint {
  font-size: 7.5pt;
  color: var(--text-dim);
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.error-msg {
  color: var(--danger);
  font-size: 9.5pt;
  min-height: 20px;
}

.error-msg[data-status="success"] {
  color: var(--success);
}

.error-msg[data-status="info"] {
  color: var(--info);
}

.error-msg[data-status="warn"] {
  color: var(--warn);
}

.success-block {
  display: none;
  background: rgba(10, 20, 32, 0.7);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 16px;
}

.success-block h4 {
  color: var(--success);
  margin-bottom: 10px;
  font-size: 12pt;
}

.notice-card {
  background: rgba(10, 20, 32, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 12px;
}

.notice-card strong {
  color: var(--text-primary);
}

.notice-card p {
  color: #cdd3da;
  font-size: 9.6pt;
  margin-top: 8px;
}

/* ── FOOTER ── */
footer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 8.5pt;
  color: var(--text-dim);
  line-height: 1.7;
}

footer .footer-brand {
  color: var(--gold);
  font-weight: 700;
  font-size: 10pt;
  margin-bottom: 10px;
}

footer .footer-details {
  font-size: 8.5pt;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

footer .footer-legal {
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 8pt;
  color: #4a5a6b;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  width: min(1100px, 97vw);
  height: min(820px, 95vh);
  background: #0b1520;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 14px;
  display: flex;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  z-index: 20;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* AUTH SIDE */
.auth-side {
  width: 380px;
  padding: 20px 22px;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.auth-side h3 {
  margin-bottom: 4px;
  font-size: 15pt;
  color: var(--text-primary);
}

.auth-side .sub {
  color: #8a98a4;
  font-size: 8.5pt;
  margin-bottom: 10px;
  line-height: 1.5;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  flex: 1;
  padding: 8px 6px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: #8a98a4;
  cursor: pointer;
  font-weight: 700;
  font-size: 9.5pt;
  transition: all .2s;
}

.tab.active {
  background: rgba(201, 168, 76, 0.15);
  color: #dbbf6e;
  border-color: rgba(201, 168, 76, 0.35);
}

.auth-error {
  color: var(--danger);
  font-size: 9.5pt;
  margin-top: 8px;
  min-height: 20px;
}

.auth-error[data-status="success"] {
  color: var(--success);
}

.form-link {
  background: none;
  border: none;
  color: #8a98a4;
  font-size: 8.5pt;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-top: 8px;
}

.form-link:hover {
  color: #dbbf6e;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.remember-row input {
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.remember-row label {
  color: #8a98a4;
  font-size: 8.5pt;
  cursor: pointer;
}

.social-row {
  margin-top: 14px;
  text-align: center;
}

.social-label {
  font-size: 8pt;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.social-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* PRIVACY PANEL (visible before login, right side) */
.privacy-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(8, 16, 26, 0.95);
}

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  flex-shrink: 0;
}

.privacy-header h3 {
  font-size: 11pt;
  color: var(--gold);
  font-weight: 600;
}

.privacy-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
}

.privacy-scroll::-webkit-scrollbar {
  width: 5px;
}

.privacy-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.privacy-scroll::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.25);
  border-radius: 3px;
}

.privacy-content {
  font-size: 9pt;
  line-height: 1.65;
  color: #c8d0d8;
}

.privacy-content h5 {
  color: var(--gold);
  font-size: 9.5pt;
  margin: 16px 0 6px;
  font-weight: 600;
}

.privacy-content p {
  margin-bottom: 8px;
}

.privacy-content ul {
  margin: 4px 0 8px 18px;
  padding: 0;
}

.privacy-content ul li {
  margin-bottom: 3px;
  color: #b0b8c0;
}

.privacy-content a {
  color: var(--gold);
  text-decoration: underline;
}

.privacy-footer-text {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px 6px;
  margin-top: 12px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.privacy-check input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-check label {
  color: #b0b8c0;
  font-size: 8.5pt;
  line-height: 1.4;
  cursor: pointer;
}

/* DASHBOARD */
.dashboard {
  flex: 1;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.dash-header {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.dash-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-memo-padding {
  padding: 8px 16px;
  font-size: 9pt;
  white-space: nowrap;
}

.dash-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.chat-sidebar {
  width: 200px;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.chat-room {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 9.5pt;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.1);
  color: #dbbf6e;
  border: 1px solid rgba(201, 168, 76, 0.25);
  cursor: pointer;
  transition: background .15s;
  text-align: left;
}

.chat-room:hover {
  background: rgba(201, 168, 76, 0.18);
}

.chat-room.inactive {
  background: rgba(255, 255, 255, 0.03);
  color: #8a98a4;
  border-color: rgba(255, 255, 255, 0.07);
}

.chat-room .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  flex-shrink: 0;
}

.chat-sidebar .bottom-note {
  margin-top: auto;
  color: var(--text-dim);
  font-size: 8.5pt;
  line-height: 1.5;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.msg {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 10pt;
  line-height: 1.45;
  word-break: break-word;
}

.msg-in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 3px;
}

.msg-out {
  align-self: flex-end;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-bottom-right-radius: 3px;
}

.msg-time {
  font-size: 8pt;
  opacity: .55;
  margin-top: 4px;
}

.msg-sender {
  font-size: 7.5pt;
  color: var(--gold);
  margin-bottom: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.chat-input {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.chat-input input {
  flex: 1;
  padding: 9px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.25);
  background: rgba(5, 10, 18, 0.8);
  color: var(--text-primary);
  outline: none;
}

.chat-input input:focus {
  border-color: var(--gold);
}

.btn-email {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-email:hover {
  background: var(--gold-dim);
  color: var(--gold);
}

.btn-email.active {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: var(--gold);
}

.template-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 4px;
}

.template-chip {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.07);
  color: #dbbf6e;
  font-size: 8.5pt;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.template-chip:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold);
}

/* ADMIN PANEL */
.admin-panel {
  flex: 1;
  display: none;
  flex-direction: column;
  padding: 14px;
  overflow: hidden;
}

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #8a98a4;
  cursor: pointer;
  font-weight: 700;
  font-size: 9pt;
  transition: all .2s;
}

.admin-tab.active {
  background: rgba(201, 168, 76, 0.13);
  color: #dbbf6e;
  border-color: rgba(201, 168, 76, 0.4);
}

.admin-content {
  flex: 1;
  overflow-y: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9pt;
}

.admin-table th,
.admin-table td {
  padding: 8px 9px;
  text-align: left;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  vertical-align: middle;
}

.admin-table th {
  color: var(--gold);
  font-weight: 700;
  font-size: 8pt;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(201, 168, 76, 0.04);
  position: sticky;
  top: 0;
}

.admin-table td {
  color: #e0e8f0;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table .pending td {
  color: #8a98a4;
}

.admin-card {
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.admin-card h4 {
  color: #dbbf6e;
  font-size: 10.5pt;
  margin-bottom: 8px;
}

.admin-input {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  background: rgba(5, 10, 18, 0.7);
  color: var(--text-primary);
  outline: none;
  margin-bottom: 8px;
  width: 100%;
}

.admin-textarea {
  min-height: 70px;
  resize: vertical;
}

.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 7.5pt;
  font-weight: 700;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.badge-red {
  background: rgba(255, 100, 100, 0.1);
  color: var(--danger);
  border-color: rgba(255, 100, 100, 0.2);
}

.badge-green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--success);
  border-color: rgba(52, 211, 153, 0.2);
}

.badge-warn {
  background: rgba(240, 192, 106, 0.1);
  color: var(--warn);
  border-color: rgba(240, 192, 106, 0.2);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.stat-box {
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
}

.stat-box .num {
  font-size: 20pt;
  font-weight: 800;
  color: var(--gold);
}

.stat-box .lbl {
  font-size: 7.5pt;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.user-list-item {
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 9.5pt;
  color: #e0e8f0;
  transition: background .15s;
  border: 1px solid transparent;
  margin-bottom: 3px;
  width: 100%;
  text-align: left;
  background: none;
}

.user-list-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 168, 76, 0.18);
}

.user-list-item.active {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.28);
  color: #dbbf6e;
  font-weight: 700;
}

.tpl-item {
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tpl-body {
  flex: 1;
}

.tpl-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 10.5pt;
  margin-bottom: 4px;
}

.tpl-text {
  color: #cdd3da;
  font-size: 9pt;
  line-height: 1.4;
  margin-bottom: 4px;
}

.tpl-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 8pt;
  color: var(--text-muted);
}

.ref-tree-node {
  margin-bottom: 6px;
}

.ref-tree-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
  width: 100%;
  text-align: left;
}

.ref-tree-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ref-tree-header .arrow {
  color: var(--gold);
  font-size: 9pt;
  transition: transform .2s;
  flex-shrink: 0;
}

.ref-tree-header.open .arrow {
  transform: rotate(90deg);
}

.ref-tree-header .name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 10pt;
}

.ref-tree-header .meta {
  color: #8a98a4;
  font-size: 8pt;
  margin-left: auto;
}

.ref-tree-children {
  display: none;
  padding-left: 18px;
  margin-top: 4px;
}

.ref-tree-children.open {
  display: block;
}

.ref-child {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(201, 168, 76, 0.18);
  margin-bottom: 4px;
  border-radius: 0 4px 4px 0;
}

.ref-child .name {
  font-weight: 600;
  color: #e0e8f0;
  font-size: 9pt;
}

.ref-child .meta {
  color: var(--text-muted);
  font-size: 8pt;
}

.admin-hint {
  font-size: 8.5pt;
  color: var(--text-dim);
  margin-top: 10px;
  font-style: italic;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.admin-chat-layout {
  display: flex;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.admin-chat-users {
  width: 210px;
  border-right: 1px solid rgba(201, 168, 76, 0.12);
  padding: 10px;
  overflow-y: auto;
  flex-shrink: 0;
}

.admin-chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;
}

.admin-chat-box {
  flex: 1;
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

/* REF PANEL */
.ref-panel {
  display: none;
  flex-direction: column;
  flex: 1;
  padding: 14px;
  overflow-y: auto;
}

.ref-panel.active {
  display: flex;
}

.ref-card {
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.ref-card h4 {
  color: #dbbf6e;
  font-size: 11pt;
  margin-bottom: 10px;
}

.ref-card .code {
  font-family: 'Consolas', monospace;
  background: rgba(201, 168, 76, 0.07);
  border: 1px dashed rgba(201, 168, 76, 0.3);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 13pt;
  font-weight: 700;
  margin-bottom: 8px;
  word-break: break-all;
}

.ref-card .link {
  font-family: 'Consolas', monospace;
  font-size: 8.5pt;
  color: #8a98a4;
  word-break: break-all;
}

.ref-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ref-stat {
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 10px;
  text-align: center;
}

.ref-stat .num {
  font-size: 18pt;
  font-weight: 800;
  color: var(--gold);
}

.ref-stat .lbl {
  font-size: 7.5pt;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* DISCLAIMER */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 14, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.disclaimer-overlay.active {
  display: flex;
  opacity: 1;
}

.disclaimer-box {
  width: min(700px, 93vw);
  max-height: 91vh;
  background: #0d1826;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 14px;
  padding: 28px 26px;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
}

.disclaimer-box h3 {
  color: var(--warn);
  font-size: 14pt;
  margin-bottom: 14px;
  text-align: center;
}

.disclaimer-text {
  color: #cdd3da;
  font-size: 9pt;
  line-height: 1.65;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 16px;
}

.disclaimer-text ol {
  margin-left: 18px;
}

.disclaimer-text li {
  margin-bottom: 10px;
}

.disclaimer-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--radius);
}

.disclaimer-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.disclaimer-check label {
  color: var(--text-primary);
  font-size: 9.5pt;
  line-height: 1.45;
  cursor: pointer;
}

.disclaimer-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* HELPERS */
.hidden {
  display: none !important;
}

.empty-state {
  color: var(--text-dim);
  font-size: 9.5pt;
}

.loading-text {
  color: #8a98a4;
  font-size: 9.5pt;
}

.inline-note {
  font-size: 8pt;
  color: var(--text-dim);
  margin-top: 6px;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.checkbox-inline input {
  accent-color: var(--gold);
}

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

/* ── RESPONSIVE ── */

/* Планшеты и небольшие ноутбуки: 901–1100px */
@media (max-width: 1100px) {
  .document-wrapper {
    padding: 2cm 1.6cm;
  }
}

/* Планшеты: 769–900px */
@media (max-width: 900px) {
  body {
    padding: 14px;
  }

  .site-header {
    margin: -14px -14px 24px;
    padding: 0 14px;
  }

  .header-inner {
    padding: 10px 0;
    gap: 8px;
  }

  .brand-text .b-main {
    font-size: 11pt;
    letter-spacing: 1.8px;
  }

  .brand-text .b-sub {
    font-size: 6.5pt;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .header-actions {
    gap: 6px;
  }

  .btn-gold {
    padding: 7px 12px;
    font-size: 8.5pt;
    gap: 5px;
  }

  .document-wrapper {
    padding: 1.4cm 1cm;
  }

  .title-logo {
    font-size: 24pt;
    letter-spacing: 4px;
  }

  .title-main {
    font-size: 14pt;
  }

  .title-sub {
    font-size: 10.5pt;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-metric {
    padding: 12px 8px;
  }

  .hero-metric .hm-val {
    font-size: 17pt;
  }

  .gallery-container {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-item img {
    height: 160px;
  }

  .form-grid,
  .calc-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .calculator-card {
    padding: 18px 16px;
  }

  .calc-field input {
    padding: 10px 12px;
    font-size: 14pt;
  }

  .cta-block {
    padding: 30px 20px;
    margin: 36px auto;
  }

  .cta-title {
    font-size: 18pt;
  }

  .founder-quote {
    padding: 18px 20px;
  }

  .modal-box {
    flex-direction: column;
    height: 94vh;
    border-radius: 10px;
  }

  .auth-side {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    max-height: 55vh;
  }

  .auth-side h3 {
    font-size: 13pt;
  }

  .tab {
    font-size: 8.5pt;
    padding: 7px 5px;
  }

  .privacy-panel {
    flex: none;
    height: auto;
    max-height: 45vh;
  }

  .dash-header {
    padding: 10px 14px;
  }

  .dash-actions {
    gap: 6px;
  }

  .btn-memo-padding {
    padding: 6px 12px;
    font-size: 8pt;
  }

  .chat-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
  }

  .chat-sidebar .bottom-note {
    display: none;
  }

  .chat-room {
    flex-shrink: 0;
    padding: 8px 10px;
    font-size: 8.5pt;
  }

  .dash-body {
    flex-direction: column;
  }

  .chat-main {
    padding: 10px;
  }

  .msg {
    max-width: 88%;
    font-size: 9.5pt;
  }

  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .admin-chat-layout {
    flex-direction: column;
  }

  .admin-chat-users {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    max-height: 140px;
  }

  .disclaimer-box {
    padding: 22px 18px;
  }

  .disclaimer-text {
    max-height: 40vh;
  }

  .footer-details {
    font-size: 8pt;
  }
}

/* Телефоны (ландшафт и крупные): 481–768px */
@media (max-width: 768px) {
  body {
    padding: 10px;
    overflow-x: hidden;
  }

  .site-header {
    margin: -10px -10px 18px;
    padding: 0 10px;
    width: calc(100% + 20px);
    left: 0;
    right: 0;
  }

  .header-inner {
    padding: 8px 0;
    gap: 4px;
    max-width: 100%;
  }

  .brand {
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-text .b-main {
    font-size: 8.5pt;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text .b-sub {
    display: none;
  }

  .brand-logo {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .header-actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .btn-gold {
    padding: 5px 8px;
    font-size: 7pt;
    gap: 3px;
  }

  .btn-gold .btn-label {
    display: none;
  }

  .btn-gold.primary {
    padding: 5px 10px;
  }

  .document-wrapper {
    padding: 0.8cm 0.6cm;
    border-top-width: 3px;
  }

  .title-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .title-eyebrow {
    font-size: 7pt;
    letter-spacing: 2px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .title-logo {
    font-size: 20pt;
    letter-spacing: 3px;
  }

  .title-main {
    font-size: 12pt;
  }

  .title-sub {
    font-size: 9pt;
    margin-bottom: 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 18px 0 16px;
  }

  .hero-metric {
    padding: 10px 6px;
  }

  .hero-metric .hm-val {
    font-size: 15pt;
  }

  .hero-metric .hm-lbl {
    font-size: 7pt;
  }

  .title-meta {
    font-size: 8pt;
    gap: 12px;
  }

  h2 {
    font-size: 11pt;
    padding-left: 10px;
    margin: 28px 0 12px;
    letter-spacing: 1px;
  }

  h3 {
    font-size: 10pt;
  }

  p {
    font-size: 9.5pt;
    margin-bottom: 10px;
  }

  ul {
    margin-left: 18px;
  }

  ul li {
    font-size: 9.5pt;
  }

  .gallery-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item img {
    height: auto;
    aspect-ratio: 16/10;
  }

  .gallery-item .caption {
    font-size: 8.5pt;
    padding: 8px 10px;
  }

  .calculator-card {
    padding: 14px 12px;
    margin: 10px 0 16px;
  }

  .calc-header {
    font-size: 10pt;
  }

  .calc-grid {
    gap: 8px;
  }

  .calc-field label {
    font-size: 7pt;
  }

  .calc-field input {
    padding: 12px 10px;
    font-size: 16pt;
    min-height: 44px;
  }

  .calc-results {
    gap: 6px;
  }

  .calc-result {
    padding: 10px 6px;
  }

  .calc-result .label {
    font-size: 6.5pt;
  }

  .calc-result .value {
    font-size: 12pt;
  }

  .calc-result .value small {
    font-size: 7.5pt;
  }

  .calc-note {
    font-size: 7.5pt;
  }

  .cta-block {
    padding: 24px 16px;
    margin: 28px auto;
    border-radius: 12px;
  }

  .cta-eyebrow {
    font-size: 7.5pt;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .cta-title {
    font-size: 15pt;
  }

  .cta-desc {
    font-size: 9.5pt;
    margin-bottom: 20px;
  }

  .btn-cta-large {
    padding: 12px 24px;
    font-size: 10pt;
    width: 100%;
  }

  .cta-note {
    font-size: 8pt;
  }

  .founder-quote {
    padding: 14px 16px;
    margin: 24px 0;
    font-size: 9.5pt;
  }

  .founder-quote .quote-author {
    font-size: 8pt;
  }

  .feedback-section {
    margin-top: 28px;
    padding-top: 16px;
  }

  .section-lead {
    font-size: 9pt;
  }

  .form-grid {
    gap: 10px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 10px;
    min-height: 44px;
    font-size: 10pt;
  }

  .form-group textarea {
    min-height: 80px;
  }

  .form-submit {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .form-submit .btn-gold {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  footer {
    margin-top: 28px;
    padding-top: 16px;
    font-size: 7.5pt;
  }

  footer .footer-brand {
    font-size: 9pt;
  }

  footer .footer-legal {
    font-size: 7pt;
  }

  .footer-details {
    font-size: 7pt;
    line-height: 1.6;
  }

  .modal-box {
    height: 97vh;
    border-radius: 8px;
  }

  .modal-close {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .auth-side {
    padding: 14px 14px;
    max-height: 50vh;
  }

  .auth-side h3 {
    font-size: 12pt;
  }

  .auth-side .sub {
    font-size: 7.5pt;
  }

  .tabs {
    gap: 5px;
    margin-bottom: 10px;
  }

  .tab {
    font-size: 8pt;
    padding: 6px 4px;
  }

  .form-group.mb-8 {
    margin-bottom: 6px;
  }

  .form-group.mb-6 {
    margin-bottom: 4px;
  }

  .form-group.mb-10 {
    margin-bottom: 6px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .social-btns {
    flex-direction: column;
    gap: 6px;
  }

  .social-btns .btn-gold {
    width: 100%;
  }

  .privacy-panel {
    max-height: 40vh;
  }

  .privacy-header {
    padding: 10px 14px;
  }

  .privacy-header h3 {
    font-size: 10pt;
  }

  .privacy-scroll {
    padding: 10px 14px;
  }

  .privacy-content {
    font-size: 8pt;
  }

  .privacy-check {
    padding: 12px 14px 4px;
  }

  .privacy-check label {
    font-size: 7.5pt;
  }

  .dash-header {
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .dash-username {
    font-size: 10pt;
  }

  .dash-role-text {
    font-size: 7.5pt;
  }

  .dash-actions {
    flex-wrap: wrap;
  }

  .btn-memo-padding {
    padding: 5px 10px;
    font-size: 7.5pt;
  }

  .btn-logout-padding {
    padding: 5px 10px;
    font-size: 8pt;
  }

  .chat-sidebar {
    padding: 8px;
    gap: 6px;
  }

  .chat-room {
    padding: 6px 8px;
    font-size: 8pt;
  }

  .chat-room .dot {
    width: 6px;
    height: 6px;
  }

  .chat-main {
    padding: 8px;
  }

  .chat-messages {
    gap: 6px;
  }

  .msg {
    max-width: 92%;
    padding: 8px 10px;
    font-size: 9pt;
  }

  .chat-input {
    gap: 6px;
  }

  .chat-input input {
    padding: 10px 10px;
    min-height: 44px;
    font-size: 10pt;
  }

  .btn-send-padding {
    padding: 10px 14px;
  }

  .ref-panel {
    padding: 10px;
  }

  .ref-card {
    padding: 12px 14px;
  }

  .ref-card h4 {
    font-size: 10pt;
  }

  .ref-card .code {
    font-size: 11pt;
    padding: 8px 10px;
  }

  .ref-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .ref-stat .num {
    font-size: 15pt;
  }

  .admin-panel {
    padding: 10px;
  }

  .admin-tabs {
    gap: 4px;
  }

  .admin-tab {
    padding: 5px 8px;
    font-size: 8pt;
  }

  .admin-table {
    font-size: 8pt;
  }

  .admin-table th,
  .admin-table td {
    padding: 6px 6px;
  }

  .admin-chat-users {
    max-height: 100px;
    padding: 6px;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .stat-box .num {
    font-size: 16pt;
  }

  .disclaimer-box {
    padding: 18px 14px;
  }

  .disclaimer-box h3 {
    font-size: 12pt;
  }

  .disclaimer-text {
    font-size: 8pt;
    max-height: 35vh;
  }

  .disclaimer-check {
    padding: 10px;
    gap: 8px;
  }

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

  .disclaimer-check label {
    font-size: 8.5pt;
  }

  .disclaimer-actions {
    flex-direction: column;
    gap: 8px;
  }

  .disclaimer-actions .btn-gold {
    width: 100%;
    justify-content: center;
  }

  .lightbox-content {
    max-width: 96%;
  }

  .lightbox-close {
    top: -36px;
    font-size: 24px;
  }

  .status-banner {
    font-size: 8.5pt;
    padding: 10px 12px;
  }

  /* ── responsive: stats, audience, how-it-works ── */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .stat-card {
    padding: 14px 10px;
  }

  .stat-card-val {
    font-size: 22px;
  }

  .stat-card-lbl {
    font-size: 7.5pt;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .audience-card {
    padding: 16px 16px;
  }

  .how-step {
    padding: 14px 16px;
    gap: 12px;
  }

  .how-step-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

/* Маленькие телефоны: 361–480px */
@media (max-width: 480px) {
  body {
    padding: 6px;
    overflow-x: hidden;
  }

  .site-header {
    margin: -6px -6px 14px;
    padding: 0 6px;
    width: calc(100% + 12px);
  }

  .header-inner {
    padding: 5px 0;
    gap: 3px;
    max-width: 100%;
  }

  .brand {
    gap: 4px;
  }

  .brand-text .b-main {
    font-size: 7.5pt;
    letter-spacing: 0.5px;
  }

  .brand-logo {
    width: 22px;
    height: 22px;
  }

  .header-actions {
    gap: 3px;
  }

  .btn-gold {
    padding: 4px 6px;
    font-size: 6.5pt;
    gap: 2px;
  }

  .btn-gold.primary {
    padding: 4px 8px;
  }

  .document-wrapper {
    padding: 0.5cm 0.4cm;
    border-top-width: 2px;
  }

  .title-section {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .title-eyebrow {
    font-size: 6.5pt;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .title-logo {
    font-size: 16pt;
    letter-spacing: 2px;
  }

  .title-main {
    font-size: 10pt;
  }

  .title-sub {
    font-size: 8pt;
    margin-bottom: 14px;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 12px 0 12px;
  }

  .hero-metric {
    padding: 8px 4px;
  }

  .hero-metric .hm-val {
    font-size: 13pt;
  }

  .hero-metric .hm-lbl {
    font-size: 6.5pt;
    letter-spacing: 0.5px;
  }

  .title-meta {
    font-size: 7pt;
    gap: 8px;
  }

  h2 {
    font-size: 10pt;
    padding-left: 8px;
    margin: 22px 0 10px;
    letter-spacing: 0.5px;
  }

  h3 {
    font-size: 9pt;
    margin: 16px 0 8px;
  }

  p {
    font-size: 8.5pt;
    margin-bottom: 8px;
  }

  ul {
    margin-left: 14px;
  }

  ul li {
    font-size: 8.5pt;
    margin-bottom: 5px;
  }

  .gallery-container {
    gap: 8px;
    margin: 16px 0 20px;
  }

  .gallery-item img {
    aspect-ratio: 16/9;
  }

  .gallery-item .caption {
    font-size: 8pt;
    padding: 6px 8px;
  }

  .calculator-card {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .calc-header {
    font-size: 9pt;
    gap: 6px;
  }

  .calc-header svg {
    width: 14px;
    height: 14px;
  }

  .calc-grid {
    gap: 6px;
  }

  .calc-field input {
    padding: 10px 8px;
    font-size: 14pt;
    min-height: 40px;
  }

  .calc-results {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .calc-result .value {
    font-size: 11pt;
  }

  .calc-note {
    font-size: 7pt;
  }

  .cta-block {
    padding: 18px 12px;
    margin: 20px auto;
  }

  .cta-eyebrow {
    font-size: 7pt;
    padding: 3px 10px;
  }

  .cta-title {
    font-size: 13pt;
  }

  .cta-desc {
    font-size: 8.5pt;
    margin-bottom: 16px;
  }

  .btn-cta-large {
    padding: 10px 18px;
    font-size: 9pt;
  }

  .founder-quote {
    padding: 12px 12px;
    font-size: 8.5pt;
  }

  .founder-quote .quote-author {
    font-size: 7.5pt;
  }

  .form-grid {
    gap: 8px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 8px;
    min-height: 40px;
    font-size: 9pt;
  }

  .form-group textarea {
    min-height: 70px;
  }

  .modal-box {
    height: 100vh;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .auth-side {
    padding: 10px 10px;
    max-height: 55vh;
  }

  .auth-side h3 {
    font-size: 11pt;
  }

  .tab {
    font-size: 7.5pt;
    padding: 5px 3px;
  }

  .privacy-panel {
    max-height: 45vh;
  }

  .privacy-header {
    padding: 8px 10px;
  }

  .privacy-scroll {
    padding: 8px 10px;
  }

  .dash-header {
    padding: 6px 8px;
  }

  .dash-username {
    font-size: 9pt;
  }

  .chat-sidebar {
    padding: 6px;
    gap: 4px;
  }

  .chat-room {
    padding: 5px 6px;
    font-size: 7.5pt;
    gap: 4px;
  }

  .chat-main {
    padding: 6px;
  }

  .msg {
    max-width: 95%;
    padding: 7px 8px;
    font-size: 8.5pt;
  }

  .chat-input input {
    padding: 8px 8px;
    min-height: 38px;
    font-size: 9pt;
  }

  .ref-card {
    padding: 10px 10px;
  }

  .ref-card .code {
    font-size: 10pt;
    padding: 6px 8px;
  }

  .ref-stats {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .admin-table {
    font-size: 7pt;
  }

  .admin-table th,
  .admin-table td {
    padding: 4px 4px;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .disclaimer-box {
    padding: 14px 10px;
  }

  .disclaimer-box h3 {
    font-size: 11pt;
  }

  .disclaimer-text {
    font-size: 7.5pt;
  }

  .lightbox-close {
    top: -30px;
    font-size: 20px;
  }
}

/* Очень маленькие телефоны: до 360px */
@media (max-width: 360px) {
  body {
    padding: 4px;
    overflow-x: hidden;
  }

  .site-header {
    margin: -4px -4px 10px;
    padding: 0 4px;
    width: calc(100% + 8px);
  }

  .header-inner {
    padding: 3px 0;
    gap: 2px;
    max-width: 100%;
  }

  .brand {
    gap: 3px;
  }

  .brand-text .b-main {
    font-size: 6.5pt;
    letter-spacing: 0.3px;
  }

  .brand-logo {
    width: 18px;
    height: 18px;
  }

  .header-actions {
    gap: 2px;
  }

  .btn-gold {
    padding: 3px 5px;
    font-size: 6pt;
    gap: 2px;
  }

  .btn-gold.primary {
    padding: 3px 6px;
  }

  .document-wrapper {
    padding: 0.3cm 0.3cm;
  }

  .title-logo {
    font-size: 14pt;
  }

  .title-main {
    font-size: 9pt;
  }

  .hero-metrics {
    gap: 4px;
  }

  .hero-metric .hm-val {
    font-size: 11pt;
  }

  h2 {
    font-size: 9pt;
  }

  p {
    font-size: 8pt;
  }

  .calculator-card {
    padding: 10px 8px;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 11pt;
  }

  .modal-box {
    height: 100dvh;
  }
}

/* ── BREAKDOWN / ДЕТАЛИЗАЦИЯ РАСЧЁТА ── */
.breakdown {
  margin: 0 0 32px;
  background: linear-gradient(180deg, rgba(15, 25, 38, 0.6), rgba(5, 10, 18, 0.7));
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.breakdown-header {
  padding: 22px 26px 18px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  background: rgba(201, 168, 76, 0.04);
}

.breakdown-eyebrow {
  font-size: 8pt;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.breakdown-title {
  font-size: 13pt;
  color: var(--text-primary);
  font-weight: 700;
  margin: 0;
  letter-spacing: .2px;
}

.breakdown-section {
  padding: 20px 26px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.breakdown-section:last-of-type {
  border-bottom: none;
}

.breakdown-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9pt;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.bd-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-size: 8pt;
  font-weight: 800;
  letter-spacing: 0;
}

/* Сетка карточек */
.bd-grid {
  display: grid;
  gap: 12px;
}

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

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

.bd-cell {
  background: rgba(5, 10, 18, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color .2s, transform .2s;
}

.bd-cell:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-1px);
}

.bd-cell-accent {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
  border-color: rgba(201, 168, 76, 0.35);
}

.bd-cell-lbl {
  font-size: 8pt;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bd-cell-val {
  font-size: 18pt;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.3px;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.bd-cell-val .unit {
  font-size: 11pt;
  font-weight: 700;
  color: var(--text-secondary);
  margin-left: 1px;
}

.bd-cell-sub {
  font-size: 8pt;
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.4;
}

/* Горизонтальный поток (10 × 5000 = 50000) */
.bd-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.bd-flow-item {
  flex: 1;
  min-width: 130px;
  background: rgba(5, 10, 18, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}

.bd-flow-item-accent {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.14), rgba(201, 168, 76, 0.04));
  border-color: rgba(201, 168, 76, 0.4);
}

.bd-flow-lbl {
  font-size: 8pt;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
  margin-bottom: 6px;
}

.bd-flow-val {
  font-size: 16pt;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.bd-flow-arrow {
  display: grid;
  place-items: center;
  font-size: 16pt;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.5);
  width: 24px;
  flex-shrink: 0;
}

/* Итоговая полоса */
.breakdown-summary {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(15, 25, 38, 0.4));
  padding: 22px 26px;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
}

.bd-summary-title {
  font-size: 9pt;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.bd-summary-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bd-sum-step {
  text-align: center;
  padding: 10px 18px;
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 10px;
  min-width: 130px;
}

.bd-sum-step-lbl {
  font-size: 7.5pt;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 700;
  margin-bottom: 5px;
}

.bd-sum-step-val {
  font-size: 14pt;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.bd-sum-step-positive {
  color: var(--success);
}

.bd-sum-step-result {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.25), rgba(201, 168, 76, 0.08));
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.15);
}

.bd-sum-step-result .bd-sum-step-val {
  color: var(--gold);
}

.bd-sum-arrow {
  color: rgba(201, 168, 76, 0.45);
  flex-shrink: 0;
}

/* ── ADDITIONAL CLASSES FOR CLEAN HTML ── */
.mb-8 {
  margin-bottom: 8px;
}

.mb-6 {
  margin-bottom: 6px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-10 {
  margin-bottom: 10px;
}

.mt-10 {
  margin-top: 10px;
}

.w-full {
  width: 100%;
}

.justify-center {
  justify-content: center;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cta-title-wrapper {
  border: none;
  padding: 0;
  margin: 0 0 14px;
}

.cta-title {
  text-transform: none;
  letter-spacing: .3px;
}

.btn-cta-large {
  padding: 14px 34px;
  font-size: 11pt;
  letter-spacing: 1px;
}

.btn-submit-padding {
  padding: 10px 26px;
}

.success-text-color {
  color: #cdd3da;
  font-size: 10pt;
}

.dash-username {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 11.5pt;
}

.dash-role-text {
  font-size: 8.5pt;
  color: #8a98a4;
  margin-top: 2px;
}

.btn-logout-padding {
  padding: 6px 14px;
  font-size: 9pt;
}

.btn-send-padding {
  padding: 8px 16px;
}

.online-status {
  color: var(--success);
}

.ref-note-text {
  color: #8a98a4;
  font-size: 8.5pt;
  margin-top: 8px;
}

.oauth-note {
  font-size: 7.5pt;
  color: var(--text-dim);
  margin-top: 6px;
}

.btn-google {
  background: rgba(66, 133, 244, 0.12);
  border-color: rgba(66, 133, 244, 0.35);
  color: #8ab4f8;
}

.btn-apple {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-facebook {
  background: rgba(24, 119, 242, 0.12);
  border-color: rgba(24, 119, 242, 0.35);
  color: #5890ff;
}

/* Адаптив для breakdown */
@media (max-width: 900px) {
  .bd-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bd-grid-3 {
    grid-template-columns: 1fr;
  }

  .breakdown-header,
  .breakdown-section,
  .breakdown-summary {
    padding-left: 18px;
    padding-right: 18px;
  }

  .bd-flow {
    flex-direction: column;
  }

  .bd-flow-arrow {
    transform: rotate(90deg);
    width: auto;
    padding: 4px 0;
  }

  .bd-summary-flow {
    gap: 10px;
  }

  .bd-sum-arrow {
    transform: rotate(90deg);
  }

  .breakdown-title {
    font-size: 11pt;
  }

  .bd-cell {
    padding: 10px 12px;
  }

  .bd-cell-val {
    font-size: 15pt;
  }

  .bd-flow-item {
    min-width: 100px;
    padding: 10px 12px;
  }

  .bd-flow-val {
    font-size: 14pt;
  }

  .bd-sum-step {
    min-width: 110px;
    padding: 8px 12px;
  }

  .bd-sum-step-val {
    font-size: 12pt;
  }
}

@media (max-width: 768px) {
  .breakdown {
    border-radius: 10px;
  }

  .breakdown-header,
  .breakdown-section,
  .breakdown-summary {
    padding-left: 14px;
    padding-right: 14px;
  }

  .breakdown-header {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .breakdown-section {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .breakdown-section-label {
    font-size: 8pt;
    gap: 6px;
    margin-bottom: 10px;
  }

  .bd-num {
    width: 20px;
    height: 20px;
    font-size: 7pt;
  }

  .breakdown-title {
    font-size: 10pt;
  }

  .bd-grid {
    gap: 8px;
  }

  .bd-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bd-cell {
    padding: 8px 10px;
    border-radius: 8px;
  }

  .bd-cell-val {
    font-size: 14pt;
  }

  .bd-cell-val .unit {
    font-size: 9pt;
  }

  .bd-cell-lbl {
    font-size: 7pt;
  }

  .bd-cell-sub {
    font-size: 7pt;
  }

  .bd-flow {
    gap: 6px;
  }

  .bd-flow-item {
    min-width: 80px;
    padding: 8px 10px;
  }

  .bd-flow-val {
    font-size: 13pt;
  }

  .bd-flow-lbl {
    font-size: 7pt;
  }

  .bd-flow-arrow {
    font-size: 12pt;
    padding: 2px 0;
  }

  .breakdown-summary {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .bd-summary-title {
    font-size: 8pt;
    margin-bottom: 12px;
  }

  .bd-summary-flow {
    gap: 8px;
  }

  .bd-sum-step {
    min-width: 90px;
    padding: 6px 10px;
  }

  .bd-sum-step-lbl {
    font-size: 6.5pt;
  }

  .bd-sum-step-val {
    font-size: 11pt;
  }
}

/* ── PRODUCTS CATALOG SECTION ── */
.products-section {
  margin: 0 0 32px;
  padding: 24px;
  background: rgba(10, 18, 28, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 14px;
}

/* ── CATALOG HEADER (framed title at top of page) ── */
.catalog-header {
  text-align: center;
  padding: 20px 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.04);
}

.catalog-header .section-title {
  font-size: 1.3rem;
  color: var(--gold, #c9a84c);
  font-weight: 700;
  margin: 0;
}

.products-section .section-title {
  font-size: 1.3rem;
  color: var(--gold, #c9a84c);
  margin-bottom: 4px;
  font-weight: 700;
}

.products-section .section-subtitle {
  color: var(--text-secondary, #b8a87a);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.prod-card {
  background: rgba(15, 25, 38, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}

.prod-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(20, 32, 48, 0.9);
}

.prod-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.prod-card-num {
  font-size: 0.7rem;
  color: var(--gold, #c9a84c);
  font-weight: 700;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  padding: 1px 7px;
  white-space: nowrap;
}

.prod-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0e6c5;
  flex: 1;
}

.prod-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: #999;
}

.prod-card-specs span {
  white-space: nowrap;
}

.prod-card-specs .spec-highlight {
  color: var(--gold, #c9a84c);
  font-weight: 600;
}

.prod-card-ingredients {
  font-size: 0.78rem;
  color: #889;
  line-height: 1.4;
  margin-bottom: 10px;
}

.prod-card-warning {
  font-size: 0.75rem;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.prod-block-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 28px 0 6px;
  padding: 10px 14px;
  border-radius: 6px;
  line-height: 1.4;
}

.prod-block-title-safe {
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  border-left: 3px solid #34d399;
}

.prod-block-title-warn {
  color: #f0c06a;
  background: rgba(240, 192, 106, 0.08);
  border-left: 3px solid #f0c06a;
}

.prod-block-desc {
  font-size: 0.8rem;
  color: #889;
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 0 2px;
}

.prod-card-features {
  font-size: 0.78rem;
  color: #889;
  line-height: 1.4;
  margin-bottom: 10px;
}

.prod-card-gallery {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.prod-card-gallery .gallery-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: #111;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-card-gallery .gallery-thumb:hover {
  border-color: var(--gold, #c9a84c);
  transform: scale(1.08);
}

.prod-card-gallery .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-card-gallery .gallery-thumb .thumb-placeholder {
  font-size: 1.2rem;
  color: #555;
  line-height: 52px;
  text-align: center;
}

/* ── COMPACT BLOCK ── */
/* Удалён scale(0.5) — блоки внутри .investor-sections оптимизированы напрямую */

@media (max-width: 768px) {
  .products-section {
    padding: 16px;
  }

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

  .prod-card-gallery .gallery-thumb {
    width: 44px;
    height: 44px;
  }

  .prod-card-gallery .gallery-thumb .thumb-placeholder {
    font-size: 1rem;
    line-height: 44px;
  }
}

@media (max-width: 480px) {
  .bd-grid-4 {
    grid-template-columns: 1fr;
  }

  .bd-cell-val {
    font-size: 13pt;
  }

  .bd-cell {
    padding: 6px 8px;
  }

  .bd-flow-item {
    min-width: 100%;
  }

  .bd-sum-step {
    min-width: 100%;
  }

  .bd-sum-step-val {
    font-size: 10pt;
  }

  .breakdown-title {
    font-size: 9pt;
  }

  .breakdown-header,
  .breakdown-section,
  .breakdown-summary {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ===== VOTE / ГОЛОСОВАНИЕ (inline на карточках) ===== */

/* ─── Блок голосования на карточке продукта ─── */
.prod-card-vote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 4px;
  padding: 4px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  user-select: none;
}

/* ─── Поясняющая надпись ─── */
.vote-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: #8899aa;
  letter-spacing: 0.3px;
  text-transform: lowercase;
}

/* ─── Сердечко ─── */
.vote-heart {
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
  display: inline-block;
}

.vote-heart:hover {
  transform: scale(1.25);
  filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.4));
}

.vote-heart:active {
  transform: scale(0.95);
}

/* ─── Активное (выбранное) сердечко ─── */
.vote-heart--active {
  animation: vote-pop 0.3s ease;
}

@keyframes vote-pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }

  100% {
    transform: scale(1);
  }
}

/* ─── Процент ─── */
.vote-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold, #c9a84c);
  min-width: 32px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

/* ─── Заблокированное состояние (после голосования) ─── */
.prod-card-vote--locked .vote-heart {
  cursor: default;
  opacity: 0.7;
}

.prod-card-vote--locked .vote-heart:hover {
  transform: none;
  filter: none;
}

/* ─── Панель управления голосованием ─── */
.vote-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(10, 18, 30, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 10px;
}

.vote-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold, #c9a84c);
}

.vote-status {
  font-size: 0.82rem;
  min-height: 1.4em;
  text-align: center;
  color: #8899aa;
}

.vote-status.vote-success {
  color: #4caf50;
}

.vote-status.vote-error {
  color: #f44336;
}

.vote-status.vote-info {
  color: var(--gold, #c9a84c);
}

/* ─── Рейтинг (результаты) ─── */
.vote-results {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vote-results-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d0d8e0;
  margin: 0 0 16px 0;
  text-align: center;
}

.vote-ranking {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 500px;
  margin: 0 auto;
}

.vote-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(5, 10, 18, 0.3);
  border-radius: 6px;
  font-size: 0.82rem;
}

.vote-rank-pos {
  font-weight: 700;
  color: var(--gold, #c9a84c);
  min-width: 20px;
  text-align: right;
}

.vote-rank-name {
  flex: 1;
  color: #d0d8e0;
}

.vote-rank-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--gold, #c9a84c), #e8c84a);
  border-radius: 3px;
  min-width: 4px;
  transition: width 0.3s;
}

.vote-rank-votes {
  font-weight: 700;
  color: #8ab4f8;
  min-width: 30px;
  text-align: right;
  font-size: 0.78rem;
}

/* ─── Кнопки ─── */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #8899aa;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  transition: all 0.15s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #c0d0e0;
}

@media (max-width: 600px) {
  .vote-controls {
    flex-direction: column;
    padding: 12px 14px;
  }
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0f0f1a;
            color: #e0e0e0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 20px;
        }

        h1 {
            font-size: 24px;
            margin-bottom: 8px;
            color: #b99d44;
        }

        .subtitle {
            font-size: 14px;
            color: #888;
            margin-bottom: 30px;
            text-align: center;
        }

        .subtitle code {
            background: #1a1a2e;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 13px;
        }

        .player-container {
            width: 100%;
            max-width: 800px;
        }

        .note {
            margin-top: 30px;
            padding: 16px 20px;
            background: #1a1a2e;
            border-left: 3px solid #b99d44;
            border-radius: 4px;
            font-size: 14px;
            color: #aaa;
            max-width: 800px;
            width: 100%;
        }

        .note strong {
            color: #b99d44;
        }

        .note code {
            background: #0f0f1a;
            padding: 1px 6px;
            border-radius: 3px;
            font-size: 13px;
        }

        .files-list {
            margin-top: 40px;
            padding: 20px;
            background: #1a1a2e;
            border-radius: 8px;
            max-width: 800px;
            width: 100%;
        }

        .files-list h3 {
            font-size: 16px;
            color: #b99d44;
            margin-bottom: 12px;
        }

        .files-list ul {
            list-style: none;
        }

        .files-list li {
            padding: 6px 0;
            font-size: 14px;
            color: #ccc;
            border-bottom: 1px solid #2a2a3e;
        }

        .files-list li:last-child {
            border-bottom: none;
        }

        .files-list li code {
            background: #0f0f1a;
            padding: 1px 6px;
            border-radius: 3px;
            font-size: 13px;
        }

        .files-list li span {
            color: #666;
            font-size: 12px;
        }
 