/* ═══════════════════════════════════════════════════════════════
   RealAttract — "night into sunrise"
   Display: Cormorant Garamond · Text: Manrope
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #F7F3EC;
  --bg-2: #EFE8DC;
  --card: #FFFFFF;
  --ink: #221F33;
  --ink-2: #5D5770;
  --ink-3: #8C86A0;
  --line: #E6DDCD;
  --line-2: #F1EBE0;
  --night: #1C1840;
  --indigo: #2B2560;
  --violet: #6B4FBB;
  --gold: #E8A33D;
  --gold-deep: #B7791F;
  --gold-soft: #FFF4DC;
  --rose: #D9677B;
  --green: #2F855A;
  --red: #C0392B;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(34, 31, 51, .04), 0 8px 28px rgba(34, 31, 51, .06);
  --shadow-lg: 0 30px 80px rgba(20, 16, 50, .28);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12101F; --bg-2: #181530; --card: #1B1833; --ink: #EEEAF7; --ink-2: #B6AFCB; --ink-3: #847D9C;
    --line: #2D2950; --line-2: #24203F; --gold-soft: #3A2E17; --indigo: #8F80E8; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .4em; }
h1 em, h2 em, .brand-word em { font-style: italic; color: var(--gold-deep); }
@media (prefers-color-scheme: dark) { h1 em, h2 em, .brand-word em { color: var(--gold); } }
p { margin: 0 0 1em; }
code { background: var(--line-2); padding: 1px 6px; border-radius: 6px; font-size: .88em; }
code.block { display: block; padding: 10px 12px; white-space: pre-wrap; word-break: break-all; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--ink-2); }
.small { font-size: .85rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.inl { display: inline; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 700 .95rem/1.2 var(--text); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-gold { background: linear-gradient(135deg, #F2B858, var(--gold) 50%, #D88A2B); color: #2A1A05; box-shadow: 0 6px 18px rgba(232, 163, 61, .35); }
.btn-gold:hover { color: #2A1A05; box-shadow: 0 10px 26px rgba(232, 163, 61, .45); }
.btn-primary { background: var(--night); color: #fff; }
.btn-primary:hover { color: #fff; background: #2B2560; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-3); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: none; }
.linkbtn:hover { color: var(--indigo); }

/* ── Header ──────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(28, 24, 64, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: #fff; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-word { font: 600 1.55rem/1 var(--display); letter-spacing: .01em; }
.site-header .brand-word em { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; background: rgba(255,255,255,.1); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-header .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.site-header .btn-ghost:hover { border-color: #fff; }
.nav-user { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.08); }
.nav-user:hover { color: #fff; background: rgba(255,255,255,.16); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--night); flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav-open .site-nav { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { display: block; padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; flex-wrap: wrap; }
  .nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.verify-banner { background: var(--gold-soft); color: var(--ink); font-size: .9rem; padding: 9px 0; border-bottom: 1px solid var(--line); }
.verify-banner .linkbtn { color: var(--gold-deep); font-weight: 700; text-decoration: underline; }

/* ── Avatar ──────────────────────────────────────────────────── */
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; color: #fff; font-weight: 800; font-family: var(--text);
  background: linear-gradient(135deg, hsl(var(--hue) 55% 52%), hsl(calc(var(--hue) + 40) 60% 40%)); }

/* ── Flash + notices ─────────────────────────────────────────── */
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 14px; margin-bottom: 8px; font-weight: 600; font-size: .95rem; border: 1px solid; }
.flash-ok { background: #EEF8F1; border-color: #BFE3CB; color: #1F5F3A; }
.flash-err { background: #FDF0EE; border-color: #F3C9C2; color: #8E2A1E; }
@media (prefers-color-scheme: dark) { .flash-ok { background: #15301F; border-color: #24533A; color: #A6E3BD; } .flash-err { background: #3A1915; border-color: #6A2A22; color: #F5B8AE; } }
.notice { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 14px 0; }
.notice > i { color: var(--gold-deep); font-size: 1.2rem; }
.notice.warn { background: var(--gold-soft); }
.notice.gold { background: linear-gradient(135deg, var(--gold-soft), var(--card)); justify-content: space-between; }
.form-errors { background: #FDF0EE; border: 1px solid #F3C9C2; color: #8E2A1E; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: .92rem; }
.form-errors p { margin: 2px 0; }
@media (prefers-color-scheme: dark) { .form-errors { background: #3A1915; border-color: #6A2A22; color: #F5B8AE; } }

/* ── Forms ───────────────────────────────────────────────────── */
.field { display: block; margin-bottom: 14px; }
.field.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.field.inline input { width: 110px; }
.lbl { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.lbl small { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=date], input[type=file], select, textarea {
  width: 100%; font: 500 .98rem/1.45 var(--text); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 163, 61, .18); }
textarea { resize: vertical; min-height: 70px; }
input[readonly] { background: var(--line-2); color: var(--ink-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 10px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--gold-deep); width: 16px; height: 16px; flex: none; }
.field-row, .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 640px) { .field-row, .grid2, .grid4 { grid-template-columns: 1fr; gap: 0 14px; } }
.stack > * + * { margin-top: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.search-form { display: flex; gap: 8px; max-width: 420px; width: 100%; }
.search-form input { border-radius: 999px; padding: 9px 16px; }

/* ── Hero / home ─────────────────────────────────────────────── */
.hero { position: relative; color: #fff; overflow: hidden; padding: 64px 0 90px;
  background: linear-gradient(180deg, #14112F 0%, #1C1840 22%, #33296E 52%, #7A4A92 74%, #D4728A 89%, #F0A85A 100%); }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hero-sky .stars { position: absolute; inset: 0 0 40% 0; opacity: .7;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 81% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 55% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 36%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 36% 52%, #fff 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate; }
.hero-sky .sun { position: absolute; left: 50%; bottom: -380px; width: 760px; height: 760px; margin-left: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 231, 168, .95) 0%, rgba(245, 180, 90, .55) 28%, rgba(232, 163, 61, 0) 62%); filter: blur(4px); animation: rise 9s ease-out both; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .85; } }
@keyframes rise { from { transform: translateY(80px); opacity: .5; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-sky .stars, .hero-sky .sun { animation: none; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 800; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 600; margin-bottom: 18px; }
.hero h1 em { color: #FFD58A; }
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 18px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.92); font-weight: 600; }
.hero-points i { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #FFD58A; font-size: .85rem; }
.hero-stat { color: rgba(255,255,255,.8); font-size: .92rem; }
.hero-stat strong { color: #fff; }
.form-card { background: var(--card); color: var(--ink); border-radius: 26px; padding: 30px; box-shadow: var(--shadow-lg); position: relative; }
.form-card::before { content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1px; background: linear-gradient(160deg, rgba(255,213,138,.9), rgba(255,255,255,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-title { font-size: 1.9rem; margin-bottom: 16px; }
.form-title .step { color: var(--gold); }
.areas { border: 0; padding: 0; margin: 0 0 16px; }
.areas legend { font-weight: 700; font-size: .88rem; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-2); transition: all .15s; background: var(--card); }
.chip span i { color: var(--ink-3); }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }
.chip input:checked + span i { color: var(--gold-deep); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field-date input { max-width: 220px; }
.fineprint { font-size: .78rem; color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.done-panel { text-align: center; padding: 18px 6px; }
.done-glow { width: 86px; height: 86px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff;
  background: radial-gradient(circle at 50% 40%, #FFD58A, var(--gold) 60%, #D07A2A); box-shadow: 0 0 0 10px rgba(232,163,61,.15), 0 0 60px rgba(232,163,61,.55); animation: glow 2.8s ease-in-out infinite alternate; }
@keyframes glow { to { box-shadow: 0 0 0 16px rgba(232,163,61,.08), 0 0 90px rgba(232,163,61,.7); } }
.done-panel h2 { font-size: 2.3rem; }
.affirm { font: italic 600 1.3rem/1.35 var(--display); color: var(--violet); margin: 18px 0 22px; }
.done-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (max-width: 920px) {
  .hero { padding: 40px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-card { padding: 22px 18px; border-radius: 22px; }
}

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 64px 0 0; }
.section:last-of-type { padding-bottom: 64px; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-title.sm { font-size: 1.55rem; margin-bottom: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.more { font-weight: 700; font-size: .9rem; text-decoration: none; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.steps .num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; font: 700 1.3rem var(--display); color: var(--gold-deep); background: var(--gold-soft); margin-bottom: 12px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.split { padding-bottom: 72px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; min-width: 0; }
.panel-inner { background: var(--bg); border-radius: 14px; padding: 18px; }
.panel-inner h3 { font-size: 1.3rem; }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-2); }
.empty > i { font-size: 2.4rem; color: var(--gold); margin-bottom: 12px; display: block; }
.empty.sm { padding: 24px 10px; }
.empty .btn { margin: 4px; }

/* ── Page heads ──────────────────────────────────────────────── */
.page-head { padding: 52px 0 34px; background: radial-gradient(1200px 300px at 50% 0, rgba(232,163,61,.14), transparent 70%); }
.page-head.slim { padding: 32px 0 20px; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-head .lead { font-size: 1.1rem; color: var(--ink-2); max-width: 40em; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 10px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs i { font-size: .65rem; margin: 0 6px; }
.crumbs.light, .crumbs.light a { color: rgba(255,255,255,.75); }

/* ── Intention wall ──────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pill { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .86rem; }
.pill:hover { color: var(--ink); border-color: var(--ink-3); }
.pill.on { background: var(--night); color: #fff; border-color: var(--night); }
.pill-gold.on { background: var(--gold); color: #2A1A05; border-color: var(--gold); }
.wall-grid { columns: 3 300px; column-gap: 18px; }
.wall-card { break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; box-shadow: var(--shadow); position: relative; }
.wall-card.is-manifested { background: linear-gradient(160deg, var(--gold-soft), var(--card) 55%); border-color: rgba(232,163,61,.5); }
.wc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.area { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
@media (prefers-color-scheme: dark) { .area { color: #B4A3F2; } }
.wc-text { font: 500 1.22rem/1.42 var(--display); margin-bottom: 12px; }
.wc-grat { font-size: .9rem; color: var(--gold-deep); background: var(--gold-soft); border-radius: 10px; padding: 8px 12px; }
.wc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .85rem; color: var(--ink-3); }
.badge-gold { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; color: #6B4A10; background: linear-gradient(135deg, #FFE3A6, var(--gold)); padding: 3px 10px; border-radius: 999px; }
.vibe, .like { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 5px 12px; font: 700 .85rem var(--text); cursor: pointer; transition: all .15s; }
.vibe:hover { border-color: var(--gold); color: var(--gold-deep); }
.vibe.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-deep); }
.like:hover { border-color: var(--rose); color: var(--rose); }
.like.on { background: #FDECEF; border-color: var(--rose); color: var(--rose); }
@media (prefers-color-scheme: dark) { .like.on { background: #3A1A24; } }
.like.static { cursor: default; }
.pop i { animation: pop .45s ease; }
@keyframes pop { 40% { transform: scale(1.5) rotate(-10deg); } }

/* ── Mini lists ──────────────────────────────────────────────── */
.mini-threads { list-style: none; margin: 0; padding: 0; }
.mini-threads li { border-top: 1px solid var(--line-2); }
.mini-threads li:first-child { border-top: 0; }
.mini-threads a { display: block; padding: 11px 0; text-decoration: none; color: var(--ink); }
.mini-threads a:hover strong { color: var(--violet); }
.mini-threads strong { display: block; font-weight: 700; }
.mini-threads .muted { font-size: .84rem; }
.mini-courses { display: grid; gap: 12px; }
.mini-course { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding: 6px; border-radius: 14px; }
.mini-course:hover { background: var(--bg); color: var(--ink); }
.mini-course > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.mini-course .thumb { width: 104px; aspect-ratio: 16/9; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--indigo), var(--gold)) center/cover; }
.mini-course .muted { font-size: .84rem; }
.progress { display: block; height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; margin: 4px 0; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--gold)); border-radius: 6px; }
.progress.big { height: 8px; }

/* ── Auth ────────────────────────────────────────────────────── */
.auth-wrap { min-height: calc(100vh - 300px); display: flex; align-items: center; justify-content: center; padding: 48px 20px;
  background: radial-gradient(900px 400px at 50% -10%, rgba(107,79,187,.16), transparent 70%); }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2.3rem; }

/* ── Account ─────────────────────────────────────────────────── */
.account-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.account-head h1 { margin: 0 0 2px; }
.account-head p { margin: 0; }
.push-right { margin-left: auto; }
.account-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; padding-bottom: 60px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.intention { border-top: 1px solid var(--line-2); padding: 18px 0; }
.intention:first-of-type { border-top: 0; }
.intention-text { font: 500 1.25rem/1.45 var(--display); margin-bottom: 8px; }
.intention.status-released { opacity: .6; }
.intention-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; margin-top: 10px; }
.inline-details { width: auto; }
.inline-details[open] { width: 100%; }
.inline-details summary { list-style: none; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details form { margin-top: 10px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-row > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.stat-row strong { display: block; font: 600 2rem/1 var(--display); color: var(--gold-deep); }
.stat-row span { font-size: .82rem; color: var(--ink-2); }

/* ── Forum ───────────────────────────────────────────────────── */
.forum-grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; padding-bottom: 60px; align-items: start; }
@media (max-width: 960px) { .forum-grid { grid-template-columns: 1fr; } }
.cat-list { display: grid; gap: 12px; }
.cat-card { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.cat-icon { width: 50px; height: 50px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--violet), var(--indigo)); }
.cat-card:nth-child(3n+2) .cat-icon { background: linear-gradient(135deg, var(--rose), #9B4F96); }
.cat-card:nth-child(3n) .cat-icon { background: linear-gradient(135deg, var(--gold), #C76E2A); }
.cat-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-body strong { font-size: 1.05rem; }
.cat-body .muted { font-size: .9rem; }
.cat-last { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; }
.cat-count { text-align: center; display: flex; flex-direction: column; min-width: 64px; }
.cat-count strong { font: 600 1.6rem/1 var(--display); }
.cat-ico { color: var(--gold-deep); font-size: .8em; }
.guidelines { margin-top: 18px; font-size: .88rem; color: var(--ink-2); }
.guidelines h3 { font-size: 1.2rem; color: var(--ink); }
.guidelines ul { padding-left: 18px; margin: 0; }
.thread-list { list-style: none; margin: 0 0 20px; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.thread-row { display: grid; grid-template-columns: auto 1fr 110px 120px; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line-2); }
.thread-row:first-child { border-top: 0; }
.thread-row.pinned { background: linear-gradient(90deg, var(--gold-soft), transparent 60%); }
.tr-main { min-width: 0; }
.tr-title { display: block; font-weight: 700; font-size: 1.02rem; color: var(--ink); text-decoration: none; margin-bottom: 2px; }
.tr-title:hover { color: var(--violet); }
.tr-title i { color: var(--gold-deep); font-size: .85em; }
.tr-main a:not(.tr-title) { color: var(--ink-2); }
.tr-stats { display: flex; flex-direction: column; text-align: center; font-size: .9rem; }
.tr-last { text-align: right; }
@media (max-width: 700px) { .thread-row { grid-template-columns: auto 1fr; } .tr-stats, .tr-last { display: none; } }
.thread-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.thread-title i { font-size: .6em; color: var(--gold-deep); vertical-align: middle; }
.thread-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.thread-tools select { width: auto; padding: 6px 10px; font-size: .85rem; border-radius: 999px; }
.posts { padding-bottom: 60px; }
.post { display: grid; grid-template-columns: 170px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 90px; }
.post:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232,163,61,.18); }
.post.is-deleted { opacity: .5; }
.post-author { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 14px; background: var(--bg); border-right: 1px solid var(--line-2); }
.pa-name { font-weight: 800; color: var(--ink); text-decoration: none; margin-top: 6px; word-break: break-word; }
.pa-meta { font-size: .76rem; }
.badge-team { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--violet); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.post-main { padding: 18px 22px; min-width: 0; display: flex; flex-direction: column; }
.post-meta { margin-bottom: 8px; }
.post-meta a { color: inherit; text-decoration: none; }
.post-body { flex: 1; overflow-wrap: anywhere; }
.post-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.report summary { list-style: none; }
.report summary::-webkit-details-marker { display: none; }
.report-form { display: flex; gap: 6px; margin-top: 8px; }
.report-form input { padding: 6px 10px; font-size: .85rem; }
@media (max-width: 640px) {
  .post { grid-template-columns: 1fr; }
  .post-author { flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; gap: 6px 10px; }
  .post-author .avatar { width: 36px !important; height: 36px !important; font-size: 15px !important; }
  .pa-name { margin: 0; }
  .pa-meta { display: none; }
  .post-main { padding: 14px 16px; }
}
.reply-box { margin-top: 24px; }
.editor { border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.editor:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232,163,61,.18); }
.editor textarea { border: 0; border-radius: 0; box-shadow: none !important; }
.editor-tools { display: flex; gap: 2px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line-2); background: var(--bg); flex-wrap: wrap; }
.editor-tools button { background: none; border: 0; width: 32px; height: 30px; border-radius: 8px; color: var(--ink-2); cursor: pointer; }
.editor-tools button:hover { background: var(--line-2); color: var(--ink); }
.editor-tools .hint { margin-left: auto; font-size: .75rem; color: var(--ink-3); }
@media (max-width: 520px) { .editor-tools .hint { display: none; } }

/* ── Prose ───────────────────────────────────────────────────── */
.prose p { margin: 0 0 .9em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.3em; margin: 0 0 .9em; }
.prose blockquote, blockquote { margin: 0 0 .9em; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--bg); border-radius: 0 10px 10px 0; color: var(--ink-2); }
.prose a { overflow-wrap: anywhere; }
.legal { padding-bottom: 60px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* ── Pager ───────────────────────────────────────────────────── */
.pager { display: flex; gap: 6px; justify-content: center; margin: 22px 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 0 10px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.pager a { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.pager .cur { background: var(--night); color: #fff; }
.pager .gap { color: var(--ink-3); }

/* ── Courses ─────────────────────────────────────────────────── */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding-bottom: 70px; }
.course-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(34,31,51,.14); color: var(--ink); }
.cc-cover { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--indigo), var(--violet) 55%, var(--gold)) center/cover; }
.cc-cover .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--night); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; padding-left: 4px; box-shadow: 0 8px 26px rgba(0,0,0,.3); transition: transform .2s; }
.course-card:hover .play { transform: scale(1.08); }
.cc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cc-title { font: 600 1.55rem/1.15 var(--display); }
.cc-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.price { font: 700 1.35rem var(--display); color: var(--gold-deep); }
.price.owned { font: 700 .85rem var(--text); color: var(--green); }
.course-hero { color: #fff; padding: 46px 0 56px; background: linear-gradient(160deg, #14112F, #2B2560 55%, #6B4FBB 85%, #C2668A); }
.course-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.course-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.course-hero .lead { color: rgba(255,255,255,.85); font-size: 1.15rem; }
.course-facts { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem; }
.course-facts i { color: var(--gold); margin-right: 4px; }
.buy-card { background: var(--card); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.buy-cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--indigo), var(--gold)) center/cover; }
.buy-body { padding: 20px 22px 22px; }
.buy-price { font: 700 2.4rem/1 var(--display); color: var(--ink); margin-bottom: 14px; }
.buy-price.owned { font: 700 1rem var(--text); color: var(--green); }
.buy-body .muted { margin: 10px 0 0; }
.course-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; padding: 34px 20px 70px; align-items: start; }
.course-desc { font-size: 1.04rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { display: flex; gap: 10px; }
.checks i { color: var(--green); margin-top: 5px; }
@media (max-width: 860px) { .course-hero-grid, .course-body { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }
.lesson-list { list-style: none; padding: 0; margin: 0; }
.lesson-list li > a, .lesson-list li > span { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .93rem; }
.lesson-list li > a:hover { background: var(--bg); }
.lesson-list i { color: var(--violet); flex: none; }
.lesson-list .ll-title { flex: 1; min-width: 0; }
.lesson-list .locked { color: var(--ink-3); }
.lesson-list .locked i { color: var(--ink-3); }
.lesson-list .done i { color: var(--green); }
.lesson-list .current > a { background: var(--gold-soft); font-weight: 700; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); margin-right: 4px; }
.tag.gold { background: var(--gold-soft); color: var(--gold-deep); }
.tag.green { background: #E3F4EA; color: var(--green); }
.tag.red { background: #FBE4E1; color: var(--red); }
.player-wrap { padding: 26px 0 70px; }
.player-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .player-grid { grid-template-columns: 1fr; } }
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 20px 0 12px; flex-wrap: wrap; }
.lesson-head h1 { font-size: 2.1rem; margin: 0; }
.lesson-head .eyebrow { color: var(--gold-deep); margin-bottom: 6px; }
.curriculum { position: sticky; top: 84px; }
.buy-inline { min-width: 260px; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--night); color: rgba(255,255,255,.75); padding: 46px 0 22px; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.65); margin-top: 12px; max-width: 30em; font-size: .92rem; }
.footer-brand .brand-word em { color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h2 { font: 800 .74rem var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: 6px 0; }
.footer-cols a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .93rem; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 16px; font-size: .82rem; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ── Admin ───────────────────────────────────────────────────── */
.admin-wrap { padding-top: 22px; padding-bottom: 60px; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
.admin-tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .88rem; }
.admin-tabs a.on { background: var(--night); color: #fff; }
.admin-tabs .count { display: inline-block; background: var(--rose); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 7px; margin-left: 4px; }
.admin-h1 { font-size: 2.2rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.kpi span { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.kpi strong { display: block; font: 600 2.4rem/1.1 var(--display); margin: 4px 0; }
.kpi em { font-style: normal; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 860px) { .kpis { grid-template-columns: 1fr 1fr; } }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .admin-cols { grid-template-columns: 1fr; } }
.tbl-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-top: 1px solid var(--line-2); vertical-align: top; }
.tbl tr:first-child td { border-top: 0; }
.tbl td.wide { min-width: 260px; }
.tbl tr.dim { opacity: .55; }
.tbl input[type=text], .tbl textarea, .tbl input[type=number] { padding: 6px 9px; font-size: .88rem; border-radius: 8px; }
.tbl .w60 { width: 70px; } .tbl .w120 { width: 130px; display: inline-block; }
.tbl details summary { cursor: pointer; }
.tbl form.stack { margin-top: 8px; display: grid; gap: 6px; }
.tbl select { padding: 6px 9px; font-size: .86rem; }
.admin-form h2 { margin-bottom: 4px; }
.cover-prev img { max-width: 220px; border-radius: 10px; display: block; margin-bottom: 6px; }
.admin-lessons { list-style: none; padding: 0; margin: 0 0 20px; }
.admin-lessons li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-2); }
.admin-lessons img { border-radius: 8px; flex: none; }
.al-main { flex: 1; min-width: 0; }
.al-main details form { margin-top: 10px; }
.al-tools { display: flex; gap: 4px; flex: none; }
.report-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.report-row:first-of-type { border-top: 0; }
.mail-body { white-space: pre-wrap; font: .82rem/1.5 ui-monospace, Menlo, Consolas, monospace; background: var(--bg); padding: 10px; border-radius: 8px; max-height: 300px; overflow: auto; }
body.admin .tbl-wrap .btn-sm { padding: 5px 10px; font-size: .8rem; }

/* ── Social ──────────────────────────────────────────────────── */
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; text-decoration: none; transition: transform .15s, background .15s; }
.social a:hover { transform: translateY(-2px); }
.social-footer a { background: rgba(255,255,255,.1); color: #fff; }
.social-footer a:hover { background: var(--gold); color: #2A1A05; }
.social-soft { justify-content: center; }
.social-soft a { background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.social-soft a:hover { color: #fff; border-color: transparent; }
.social-soft .s-instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.social-soft .s-telegram:hover { background: #229ED9; }
.social-soft .s-youtube:hover { background: #FF0000; }
.follow-label { font: 800 .74rem var(--text) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; margin: 18px 0 10px !important; }
.done-follow { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.done-follow p { margin-bottom: 8px; }
.social-band { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.social-band p { margin: 0; }
.social-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--bg); transition: transform .15s, border-color .15s; min-width: 0; }
.social-card:hover { transform: translateY(-2px); border-color: var(--ink-3); color: var(--ink); }
.social-card > i { width: 42px; height: 42px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; }
.social-card > span { display: flex; flex-direction: column; min-width: 0; }
.social-card .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-instagram > i { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.s-telegram > i { background: #229ED9; }
.s-youtube > i { background: #FF0000; }
@media (max-width: 900px) { .social-band { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .social-cards { grid-template-columns: 1fr; } }
.tg-card { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #229ED9; color: #fff; text-decoration: none; }
.tg-card:hover { color: #fff; filter: brightness(1.06); }
.tg-card > i { font-size: 1.8rem; }
.tg-card > span { display: flex; flex-direction: column; }
.tg-card .small { opacity: .9; }
.yt-red { color: #FF0000; }
.page-head .btn-ghost { margin-top: 4px; }
.footer-cols { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr !important; } }

/* ═══ v2: compact hero, two forms, community / levels / badges ═══ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-compact { padding: 60px 0 110px; }
.hero-compact h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); }
.hero-sky .waves { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; opacity: .25;
  background: repeating-radial-gradient(ellipse at 50% 140%, transparent 0 18px, rgba(255,231,168,.55) 19px 20px); }
.hero-stats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font: 600 2.1rem/1 var(--display); color: #fff; }
.hero-stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); font-weight: 700; margin-top: 4px; }
.align-card { background: var(--card); color: var(--ink); border-radius: 24px; padding: 30px 28px; box-shadow: var(--shadow-lg); }
.align-card h2 { font-size: 2rem; margin-bottom: 8px; }
.align-card .eyebrow { color: var(--gold-deep); }
.inline-field { display: flex; gap: 8px; margin-top: 16px; }
.inline-field input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 999px; font-size: 1rem; }
.inline-field .btn { padding: 14px 22px; }
@media (max-width: 480px) { .inline-field { flex-direction: column; } }
.field-error { color: var(--red); font-weight: 600; font-size: .88rem; margin: 8px 0 0; }
.freq-me { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; }
.row-gap { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.manifest-section { margin-top: -64px; position: relative; z-index: 2; }
.manifest-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 24px 60px rgba(34,31,51,.12); }
.manifest-card h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); text-align: center; margin-bottom: 18px; }
.manifest-card h2 label { cursor: text; }
.manifest-card textarea { font: 500 1.25rem/1.5 var(--display); padding: 16px 18px; min-height: 120px; }
.manifest-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.manifest-foot input[type=email] { flex: 1 1 220px; width: auto; border-radius: 999px; }
.manifest-foot .check { margin: 0; flex: 1 1 auto; }
.manifest-foot .btn { margin-left: auto; }
@media (max-width: 600px) { .manifest-card { padding: 22px 18px; } .manifest-foot .btn { width: 100%; } }
.notice.gold { display: block; text-align: center; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: .8rem; margin: 18px 0 8px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth-stack { flex-direction: column; gap: 16px; }
.magic-card h2 { font-size: 1.7rem; }

/* Level chip + nav */
.lvl-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  color: var(--lvl); background: color-mix(in srgb, var(--lvl) 13%, transparent); border: 1px solid color-mix(in srgb, var(--lvl) 35%, transparent); }
@media (prefers-color-scheme: dark) { .lvl-chip { color: color-mix(in srgb, var(--lvl) 55%, #fff); } }
.nav-lvl { font-size: .68rem; font-weight: 800; background: var(--gold); color: #2A1A05; border-radius: 999px; padding: 1px 7px; }

/* Badges */
.badge-ico { --b: var(--gold); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; flex: none;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--b) 60%, #fff), var(--b) 70%); box-shadow: 0 0 0 2px color-mix(in srgb, var(--b) 25%, transparent), 0 4px 12px color-mix(in srgb, var(--b) 35%, transparent); }
.badge-ico.locked { background: var(--line-2); color: var(--ink-3); box-shadow: none; }
.badge-xs { width: 20px; height: 20px; font-size: .58rem; box-shadow: none; }
.badge-sm { width: 34px; height: 34px; font-size: .85rem; }
.badge-md { width: 44px; height: 44px; font-size: 1.05rem; }
.badge-lg { width: 58px; height: 58px; font-size: 1.4rem; }
.badge-row { display: inline-flex; gap: 3px; align-items: center; flex-wrap: wrap; justify-content: center; }
.more-badges { font-size: .7rem; color: var(--ink-3); font-weight: 700; margin-left: 2px; }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; margin: 14px 0; }
.badge-grid.sm { grid-template-columns: repeat(6, 1fr); gap: 10px 4px; }
.badge-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .7rem; font-weight: 700; color: var(--ink-3); line-height: 1.2; }
.badge-tile.earned { color: var(--ink); }
.badge-grid.sm .badge-tile span { display: none; }
.badge-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.badge-card { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.badge-card > span { display: flex; flex-direction: column; gap: 2px; }
.badge-card.earned { border-color: rgba(232,163,61,.55); background: linear-gradient(150deg, var(--gold-soft), var(--card) 60%); }
.badge-card .got { color: var(--gold-deep); font-weight: 700; }

/* Frequency panel */
.freq-panel { border-top: 4px solid var(--lvl, var(--gold)); }
.freq-panel .eyebrow { color: var(--gold-deep); margin-bottom: 8px; }
.freq-big { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.freq-big > span:last-child { display: flex; flex-direction: column; }
.freq-big .hz { font: 600 2.6rem/1 var(--display); color: var(--lvl, var(--gold-deep)); }
.freq-big .hz small { font-size: .9rem; margin-left: 2px; color: var(--ink-3); }
.inline-freq { max-width: 520px; margin-top: 10px; }

/* Home community */
.community-home .lead { max-width: 46em; }
.ladder { list-style: none; padding: 0; margin: 26px 0 26px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; align-items: end; height: 200px; }
.ladder li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; text-align: center; }
.ladder .bar { width: 100%; height: var(--h); border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--lvl), color-mix(in srgb, var(--lvl) 40%, transparent)); opacity: .85; }
.ladder strong { font-size: .76rem; margin-top: 8px; line-height: 1.15; }
.ladder .hz { font-size: .7rem; color: var(--ink-3); font-weight: 700; }
.ladder li.me .bar { opacity: 1; box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--lvl), 0 10px 30px color-mix(in srgb, var(--lvl) 50%, transparent); }
.ladder .you, .level-card .you { position: absolute; top: 0; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--night); color: #fff; padding: 2px 8px; border-radius: 999px; }
@media (max-width: 700px) { .ladder { grid-template-columns: repeat(9, minmax(52px, 1fr)); overflow-x: auto; padding-bottom: 6px; height: 190px; } }
.community-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
@media (max-width: 980px) { .community-grid { grid-template-columns: 1fr; } }
.member-mini, .leaderboard { list-style: none; padding: 0; margin: 0; }
.member-mini li a, .leaderboard li a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); padding: 7px 0; flex: 1; min-width: 0; }
.member-mini li a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.member-mini .lvl-chip { margin-left: auto; }
.leaderboard li { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line-2); }
.leaderboard li:first-child { border-top: 0; }
.leaderboard .rank { width: 24px; height: 24px; border-radius: 50%; background: var(--line-2); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex: none; }
.leaderboard li:nth-child(1) .rank { background: linear-gradient(135deg, #FFE3A6, var(--gold)); color: #5A3D08; }
.leaderboard li:nth-child(2) .rank { background: #E3E3EC; }
.leaderboard li:nth-child(3) .rank { background: #F2D3B8; }
.leaderboard .light { font-weight: 800; color: var(--gold-deep); font-size: .88rem; }

/* Members directory */
.members-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; padding-bottom: 60px; align-items: start; }
@media (max-width: 980px) { .members-layout { grid-template-columns: 1fr; } }
.member-search { display: grid; grid-template-columns: 1fr 170px 170px 170px auto; gap: 8px; padding: 12px; }
.member-search select { padding: 10px 12px; }
.ms-q { position: relative; }
.ms-q i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.ms-q input { padding-left: 38px; }
@media (max-width: 1100px) { .member-search { grid-template-columns: 1fr 1fr; } .ms-q { grid-column: 1 / -1; } }
.result-count { margin: -6px 0 14px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.member-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 20px 16px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .15s, border-color .15s; }
.member-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 58px; background: linear-gradient(135deg, color-mix(in srgb, var(--lvl) 30%, transparent), transparent); }
.member-card:hover { transform: translateY(-3px); border-color: var(--lvl); color: var(--ink); }
.mc-top { position: relative; }
.mc-top .avatar { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--lvl); }
.mc-hz { position: absolute; right: -30px; bottom: -2px; font: 700 .72rem var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 1px 6px; color: var(--lvl); }
.mc-hz small { font-size: .6rem; }
.mc-name { margin-top: 8px; font-size: 1.02rem; }
.mc-bio { line-height: 1.4; }
.mc-stats { display: flex; gap: 10px; justify-content: center; border-top: 1px solid var(--line-2); padding-top: 9px; margin-top: auto; width: 100%; color: var(--ink-2); flex-wrap: wrap; }
.country-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.country-cloud .pill { font-size: .8rem; padding: 5px 10px; }
.level-list { list-style: none; margin: 0 0 12px; padding: 0; }
.level-list a { display: grid; grid-template-columns: 12px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.level-list a:hover, .level-list a.on { background: var(--bg); }
.level-list .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lvl); grid-row: span 2; }
.level-list .muted { grid-column: 2; }
.level-list .cnt { grid-row: 1 / span 2; grid-column: 3; font-weight: 800; color: var(--ink-3); }

/* Levels page */
.levels-page { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; padding-bottom: 70px; }
.levels-page .full { grid-column: 1 / -1; }
@media (max-width: 860px) { .levels-page { grid-template-columns: 1fr; } }
.level-cards { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column-reverse; gap: 8px; }
.level-card { position: relative; display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--lvl); border-radius: 14px; padding: 12px 16px; }
.level-card.passed { opacity: .7; }
.level-card.me { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lvl) 35%, transparent); }
.level-card .you { position: static; }
.lc-n { font: 600 1.8rem/1 var(--display); color: var(--lvl); width: 28px; text-align: center; }
.lc-body { display: flex; flex-direction: column; flex: 1; }
.points-tbl { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.points-tbl .pts { font: 700 1.2rem var(--display); color: var(--gold-deep); width: 60px; text-align: center; }
.member-search { grid-template-columns: 1fr 1fr 1fr auto; }
.member-search .ms-q { grid-column: 1 / -1; }
@media (max-width: 640px) { .member-search { grid-template-columns: 1fr; } }

/* ═══ v3: uploads, vision boards, events, support button ═══ */
.avatar-img { border-radius: 50%; object-fit: cover; display: inline-block; flex: none; background: var(--line-2); }
.avatar-uploader { position: relative; display: inline-flex; }
.avatar-uploader .au-btn { position: absolute; right: -2px; bottom: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #2A1A05;
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: 3px solid var(--bg); font-size: .8rem; }
.avatar-uploader .au-btn:hover { background: #F2B858; }
.avatar-uploader.busy [data-my-avatar] { opacity: .5; }
.avatar-uploader .upload-progress { position: absolute; left: 0; right: 0; bottom: -10px; }
.upload-progress { display: block; height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; width: 100%; }
.upload-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--gold)); transition: width .2s; }
.compress-note { display: block; margin-top: 4px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 200; background: var(--night); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-weight: 600; font-size: .92rem; box-shadow: 0 12px 36px rgba(0,0,0,.25); transition: all .3s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-err { background: #8E2A1E; }

/* Support button — on every page */
.support-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--night); color: #fff; text-decoration: none; font-weight: 800; font-size: .92rem; box-shadow: 0 10px 30px rgba(28,24,64,.35); border: 2px solid rgba(255,213,138,.5); transition: transform .15s, background .15s; }
.support-fab i { color: var(--gold); font-size: 1.15rem; }
.support-fab:hover { color: #fff; background: #2B2560; transform: translateY(-2px); }
@media (max-width: 600px) { .support-fab { right: 12px; bottom: 12px; padding: 12px; } .support-fab span { display: none; } }
@media print { .support-fab { display: none; } }
.site-footer { padding-bottom: 80px; }

/* Vision boards */
.vision-wrap { padding-bottom: 70px; }
.vision-tools { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-bottom: 22px; align-items: stretch; }
.vision-tools .panel { margin: 0; }
@media (max-width: 900px) { .vision-tools { grid-template-columns: 1fr; } }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 26px 18px; border: 2px dashed var(--line); border-radius: var(--radius);
  background: var(--card); cursor: pointer; transition: border-color .15s, background .15s; min-height: 170px; }
.dropzone > i { font-size: 2rem; color: var(--gold); }
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: var(--gold-soft); }
.dropzone.busy { opacity: .75; pointer-events: none; }
.dropzone .upload-progress { max-width: 220px; margin-top: 6px; }
.vboard { columns: 4 220px; column-gap: 14px; }
.vboard.mini { columns: 3 140px; column-gap: 8px; }
.vtile { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vboard.mini .vtile { margin-bottom: 8px; border-radius: 10px; }
.vtile img { display: block; width: 100%; height: auto; }
.vtile figcaption { padding: 10px 12px; font: 500 1.05rem/1.35 var(--display); }
.vtile figcaption input { border: 0; padding: 4px 0; background: transparent; font: 500 1.05rem var(--display); box-shadow: none !important; border-radius: 0; border-bottom: 1px dashed var(--line); }
.vt-affirm { margin: 0; border: 0; border-radius: 0; padding: 30px 22px; text-align: center; font: italic 600 1.45rem/1.3 var(--display); color: #fff;
  background: linear-gradient(150deg, #2B2560, #6B4FBB 60%, #E8A33D); }
.vboard.mini .vt-affirm { font-size: 1rem; padding: 16px 12px; }
.vtile:nth-child(3n+1) .vt-affirm { background: linear-gradient(150deg, #C2668A, #E8A33D); }
.vtile:nth-child(3n+2) .vt-affirm { background: linear-gradient(150deg, #1C1840, #4FA3A5); }
.vt-tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.vtile:hover .vt-tools, .vtile:focus-within .vt-tools { opacity: 1; }
@media (hover: none) { .vt-tools { opacity: 1; } }
.vt-tools button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(28,24,64,.78); color: #fff; cursor: pointer; }
.vt-tools button:hover { background: var(--night); }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: 60px; }
.board-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.board-card:hover { transform: translateY(-3px); color: var(--ink); }
.board-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4/3; gap: 2px; background: var(--line-2); }
.board-collage.n1 > * { grid-column: span 2; grid-row: span 2; }
.board-collage.n2 > * { grid-row: span 2; }
.board-collage.n3 > :first-child { grid-row: span 2; }
.board-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-text { display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font: italic 600 .95rem/1.2 var(--display); color: #fff; background: linear-gradient(150deg, #2B2560, #6B4FBB 60%, #E8A33D); }
.board-meta { display: flex; gap: 10px; align-items: center; padding: 12px 14px; }
.board-meta > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.vision-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.vision-promo .eyebrow { color: var(--gold-deep); }
@media (max-width: 860px) { .vision-promo { grid-template-columns: 1fr; } }
.vp-collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 110px 110px; gap: 8px; }
.vp-tile { border-radius: 14px; background: linear-gradient(150deg, #2B2560, #6B4FBB 60%, #E8A33D) center/cover; }
.vp-tile.t0 { grid-row: span 2; }
.vp-tile.t1 { background-color: #C2668A; background-image: linear-gradient(150deg, #C2668A, #E8A33D); }
.vp-tile.t2 { background-image: linear-gradient(150deg, #1C1840, #4FA3A5); }
.vp-tile.t3 { background-image: linear-gradient(150deg, #E8A33D, #FFE3A6); }
.vp-tile.t4 { background-image: linear-gradient(150deg, #6B4FBB, #D9677B); }
.vp-tile[style] { background-size: cover; background-position: center; }

/* Events */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding-bottom: 40px; }
.event-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(34,31,51,.14); color: var(--ink); }
.ev-cover { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #14112F, #33296E 50%, #D4728A 85%, #F0A85A) center/cover; }
.ev-date { position: absolute; left: 14px; top: 14px; background: var(--card); color: var(--ink); border-radius: 14px; padding: 6px 12px; text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.ev-date strong { display: block; font: 600 1.7rem/1 var(--display); letter-spacing: 0; }
.ev-type { position: absolute; right: 12px; bottom: 12px; background: rgba(28,24,64,.82); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.ev-type i { color: var(--gold); }
.ev-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ev-title { font: 600 1.5rem/1.15 var(--display); }
.ev-meta { display: flex; flex-direction: column; gap: 3px; color: var(--ink-2); }
.ev-meta i { color: var(--violet); width: 16px; }
.ev-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.event-hero { color: #fff; padding: 46px 0 56px; background: linear-gradient(160deg, rgba(20,17,47,.9), rgba(43,37,96,.66) 55%, rgba(194,102,138,.5)), var(--cover, linear-gradient(135deg, #14112F, #6B4FBB)); background-size: cover; background-position: center; }
.event-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .event-hero-grid { grid-template-columns: 1fr; } }
.event-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.event-hero .lead { color: rgba(255,255,255,.88); font-size: 1.15rem; }
.ev-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-badges span { background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.ev-badges i { color: var(--gold); }
.rsvp-card { background: var(--card); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); }
.rc-row { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.rc-row > i { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; }
.rc-row > span { display: flex; flex-direction: column; }
.rsvp-card .btn-block { margin-top: 8px; }
.rsvp-card form .linkbtn { display: block; margin: 10px auto 0; }
.event-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; padding-top: 34px; padding-bottom: 30px; align-items: start; }
@media (max-width: 860px) { .event-body { grid-template-columns: 1fr; } }
.attendees { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.events-soon { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.events-soon > i { font-size: 2rem; color: var(--gold); }
.events-soon > div { flex: 1; min-width: 220px; }
.events-soon p { margin: 4px 0 0; }
.nav-links a { padding: 8px 10px; font-size: .9rem; }
@media (max-width: 1180px) and (min-width: 861px) { .nav-links a { padding: 8px 7px; font-size: .84rem; } .header-inner { gap: 14px; } .nav-user > span:nth-child(2) { display: none; } }

.upload-progress[hidden] { display: none; }
.schema-banner { background: #8E2A1E; color: #fff; font-size: .9rem; padding: 10px 0; }
.schema-banner a { color: #FFD58A; font-weight: 700; }
