/* ПОВОД · AIR GLASS. Палитры двух тем — здесь.
   Глубина: --shadow-card / --shadow-float. Прозрачность: --glass.
   Основная вёрстка — styles.css. Изображения — assets/. */
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111116;
  --paper: #202127;
  --ink: #f3f1f7;
  --muted: #aaa5ba;
  --secondary: #c2bbd1;
  --quiet: #9790a5;
  --line: #ffffff12;
  --accent: #b29aef;
  --accent-soft: #a386ea20;
  --accent-strong: #8a68df;
  --pink: #d3a2c3;
  --glass: #22232bd1;
  --glass-solid: #282831;
  --panel: #23242bec;
  --card: #24252ddd;
  --input: #ffffff06;
  --stroke: #ffffff13;
  --stroke-bright: #ffffff29;
  --glint: #ffffff17;
  --shadow-card:
    0 16px 35px #00000022, 0 2px 5px #00000020, inset 0 1px 0 #ffffff09;
  --shadow-float:
    0 24px 60px #00000036, 0 4px 10px #00000025, inset 0 1px 0 #ffffff1c;
  --page-background:
    radial-gradient(ellipse at 85% 0%, #47365722, transparent 48%),
    radial-gradient(ellipse at 0% 75%, #39375515, transparent 44%), #111116;
  --hero-background:
    radial-gradient(ellipse at 80% 20%, #71598b35, transparent 58%),
    linear-gradient(125deg, #2d2937, #292632 52%, #352a3e);
  --hero-border: #ac8fda29;
  --hero-floor: #c497f04a;
  --ring: #e7d1ff26;
  --cover-peach: #4c3447;
  --cover-green: #34374b;
  --cover-pink: #48394e;
  --cover-yellow: #403849;
  --cover-purple: #3e3353;
  --cover-blue: #313b4e;
  --status-yes: #94bfb0;
  --status-maybe: #d0b28b;
  --status-no: #cd9da9;
  --button-bg: linear-gradient(125deg, #795bd0, #815bc9);
  --button-shadow:
    0 6px 18px #8460d62e, 0 2px 0 #271b4d, inset 0 1px 0 #ffffff36;
  --radius: 26px;
  --sidebar: 260px;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eeedf4;
  --paper: #fcfbff;
  --ink: #272333;
  --muted: #655b73;
  --secondary: #635a75;
  --quiet: #695d75;
  --line: #56436c12;
  --accent: #7655b5;
  --accent-soft: #8c65d017;
  --accent-strong: #7852c6;
  --pink: #ab6c9b;
  --glass: #ffffffb8;
  --glass-solid: #fdfbff;
  --panel: #fdfbfff0;
  --card: #ffffffce;
  --input: #ffffffa3;
  --stroke: #ffffffd9;
  --stroke-bright: #ffffff;
  --glint: #ffffff;
  --shadow-card: 0 15px 35px #5947720c, 0 3px 8px #59477208, inset 0 1px 0 #fff;
  --shadow-float:
    0 24px 60px #59477216, 0 4px 12px #5947720a, inset 0 1px 0 #fff;
  --page-background:
    radial-gradient(ellipse at 85% 0%, #d4c8e94d, transparent 48%),
    radial-gradient(ellipse at 0% 75%, #dcd2e63d, transparent 44%), #eeedf4;
  --hero-background:
    radial-gradient(ellipse at 80% 20%, #d0bbdf5e, transparent 58%),
    linear-gradient(125deg, #e9e4f0, #e2dce9 52%, #dcd1e4);
  --hero-border: #ffffffb3;
  --hero-floor: #b091ca66;
  --ring: #ffffff7a;
  --cover-peach: #d9b9cf;
  --cover-green: #bfc4dc;
  --cover-pink: #cfbdd9;
  --cover-yellow: #d4c3d5;
  --cover-purple: #bfb0d4;
  --cover-blue: #b8c9d9;
  --status-yes: #4d7969;
  --status-maybe: #947243;
  --status-no: #a6677b;
  --button-bg: linear-gradient(125deg, #7152be, #855dc8);
  --button-shadow:
    0 7px 18px #8664b833, 0 2px 0 #52378f, inset 0 1px 0 #ffffff45;
}
* {
  scrollbar-color: var(--stroke-bright) transparent;
}
html {
  scroll-padding-bottom: 110px;
}
body {
  background: var(--page-background);
  background-attachment: fixed;
  min-height: 100vh;
}
::selection {
  background: #9471ca55;
  color: var(--ink);
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 750;
}
h1 {
  letter-spacing: -1.7px;
}
h2 {
  letter-spacing: -0.7px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.layout {
  max-width: 1600px;
  margin: auto;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  align-items: start;
}
.sidebar {
  top: 22px;
  height: calc(100dvh - 44px);
  margin: 22px 0 22px 22px;
  padding: 31px 19px 20px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: var(--glass);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(32px) saturate(135%);
  -webkit-backdrop-filter: blur(32px) saturate(135%);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.brand-cloud {
  width: 36px;
  height: 30px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.side-caption {
  font-size: 9px;
  color: var(--quiet);
  letter-spacing: 1.8px;
  margin: 18px 0 35px 3px;
}
.sidebar nav {
  gap: 9px;
}
.sidebar nav a {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 14px 12px;
  font-size: 12px;
  font-weight: 600;
}
.sidebar nav a svg {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}
.sidebar nav a:hover {
  color: var(--ink);
  background: var(--input);
}
.sidebar nav a.active {
  color: var(--ink);
  border-color: var(--stroke);
  background: linear-gradient(115deg, var(--accent-soft), var(--input));
  box-shadow:
    0 5px 14px #0000000d,
    inset 0 1px 0 var(--glint);
}
.sidebar nav a.active svg {
  color: var(--accent);
  opacity: 1;
}
.nav-count {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 1px 5px;
}
.side-note {
  margin: 25px 0;
  padding: 20px 13px 19px;
  background: radial-gradient(at 15% 0, var(--accent-soft), transparent 80%);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.side-note > span {
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
  opacity: 0.8;
}
.side-note b {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 600;
}
.side-note p {
  color: var(--quiet);
  line-height: 1.7;
  font-size: 10px;
  margin: 7px 0 0;
}
.profile {
  padding: 18px 0 0;
  border-color: var(--line);
  color: var(--ink);
}
.profile b {
  font-size: 12px;
  max-width: 106px;
}
.profile small {
  color: var(--quiet);
  font-size: 9px;
}
.profile > span:last-child {
  color: var(--quiet);
}
.avatar {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 var(--glint);
}
.avatar.c1 {
  background: color-mix(in srgb, var(--cover-peach) 35%, var(--paper));
  color: var(--pink);
}
.avatar.c2 {
  background: var(--accent-soft);
  color: var(--accent);
}
.avatar.c3 {
  background: color-mix(in srgb, var(--cover-blue) 35%, var(--paper));
  color: var(--secondary);
}
.topbar {
  height: 94px;
  padding: 0 36px;
  border: 0;
  background: none;
  gap: 20px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--quiet);
}
.breadcrumb b {
  color: var(--secondary);
}
.breadcrumb span {
  color: var(--quiet);
  opacity: 0.6;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.top-tag {
  color: var(--quiet);
  font-size: 10px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 13px;
  color: var(--secondary);
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  box-shadow:
    0 4px 14px #0000000b,
    inset 0 1px 0 var(--glint);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.theme-toggle:hover {
  color: var(--ink);
  background: var(--glass-solid);
}
.theme-toggle svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
}
.theme-sun,
.theme-moon {
  align-items: center;
  justify-content: center;
}
.theme-sun {
  display: inline-flex;
}
.theme-moon {
  display: none;
}
:root[data-theme="light"] .theme-sun {
  display: none;
}
:root[data-theme="light"] .theme-moon {
  display: inline-flex;
}
.mobile-profile,
.mobile-logo,
.mobile-login,
.mobile-dock {
  display: none;
}
main {
  padding: 0 36px;
  max-width: 1320px;
}
footer {
  margin: 45px 36px 0;
  padding: 24px 0;
  color: var(--quiet);
  border-color: var(--line);
  font-size: 10px;
}
.footer-star {
  color: var(--accent);
  font-size: 22px;
  opacity: 0.7;
}
.btn {
  min-height: 45px;
  padding: 12px 18px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 650;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn.dark {
  background: var(--button-bg);
  color: #fff;
  border: 1px solid #ffffff12;
  box-shadow: var(--button-shadow);
}
.btn.dark:hover {
  background: var(--button-bg);
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px #8260cf38,
    inset 0 1px 0 #ffffff45;
}
.btn.secondary,
.btn.outline {
  color: var(--secondary);
  background: var(--input);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 var(--glint);
}
.btn.secondary:hover,
.btn.outline:hover {
  background: var(--accent-soft);
  color: var(--ink);
  border-color: var(--stroke-bright);
}
.btn.vk,
.btn.telegram {
  color: var(--secondary);
  background: var(--accent-soft);
  border: 1px solid var(--stroke);
}
.btn.unavailable {
  opacity: 0.65;
}
.btn:active {
  transform: translateY(1px);
}
.text-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}
.text-link:hover {
  color: var(--ink);
}
.muted,
.tiny {
  color: var(--muted);
}
.eyebrow {
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1.7px;
}
.hero {
  border: 1px solid var(--hero-border);
  border-radius: 32px;
  background: var(--hero-background);
  min-height: 395px;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 var(--glint);
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, #ffffff05, transparent 40%);
  z-index: -1;
}
.hero-copy {
  padding: 39px 0 36px 38px;
  z-index: 2;
}
.hero .eyebrow {
  color: var(--secondary);
  font-size: 9px;
  letter-spacing: 1.5px;
}
.little-star {
  color: var(--accent);
  font-size: 18px;
}
.hero h1 {
  font-size: clamp(46px, 4.2vw, 65px);
  letter-spacing: -2.7px;
  line-height: 1.04;
  margin: 24px 0 21px;
  font-weight: 750;
  color: var(--ink);
}
.hero h1 > span {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--accent);
  letter-spacing: inherit;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 26px;
  max-width: 365px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions .btn {
  min-height: 45px;
  padding: 12px 16px;
  font-size: 11px;
  gap: 8px;
}
.hero-actions .btn.outline {
  border-color: var(--stroke);
  color: var(--secondary);
  background: #ffffff03;
}
.hero-actions .btn.outline svg {
  width: 14px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 24px;
  color: var(--quiet);
  font-size: 9px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}
.hero-art {
  position: relative;
  min-height: 395px;
  width: auto;
  height: auto;
  background: none;
  perspective: 850px;
}
.hero-mascot {
  width: 112%;
  max-width: 550px;
  height: auto;
  position: absolute;
  top: 49%;
  left: 47%;
  transform: translate(-50%, -50%) rotate(-6deg);
  filter: drop-shadow(0 25px 17px #1b0f2a44) saturate(0.85);
  z-index: 2;
  pointer-events: none;
}
.stage-glow {
  position: absolute;
  width: 79%;
  height: 44%;
  left: 9%;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--hero-floor), transparent 68%);
  filter: blur(17px);
  transform: rotate(-8deg);
}
.orbital-ring {
  position: absolute;
  width: 87%;
  height: 70%;
  left: 4%;
  top: 18%;
  border: 1px solid var(--ring);
  border-radius: 50%;
  transform: rotateX(57deg) rotateZ(-18deg);
  box-shadow:
    inset 0 0 18px #c2a1f40a,
    0 0 15px #b88cdb0b;
  pointer-events: none;
}
.ring-back {
  z-index: 1;
  top: 8%;
  width: 76%;
  left: 12%;
  opacity: 0.6;
}
.ring-front {
  z-index: 3;
  top: 31%;
  height: 65%;
  border-top-color: transparent;
  opacity: 0.55;
}
.hero-spark {
  color: var(--accent);
  position: absolute;
  font-weight: 400;
  opacity: 0.65;
  z-index: 3;
}
.s1 {
  right: 25px;
  top: 31px;
  font-size: 39px;
  transform: rotate(12deg);
}
.s2 {
  left: -3px;
  bottom: 49px;
  font-size: 29px;
}
.glass-token {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
  background: var(--glass);
  color: var(--secondary);
  border: 1px solid var(--stroke-bright);
  box-shadow: var(--shadow-float);
  border-radius: 15px;
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  padding: 13px 17px;
  font-size: 10px;
  white-space: nowrap;
}
.glass-token svg {
  width: 15px;
  height: 15px;
  color: var(--pink);
}
.token-heart {
  top: 28px;
  left: 6%;
  transform: rotate(-8deg);
}
.token-meet {
  bottom: 22px;
  right: 20px;
  transform: rotate(6deg);
}
.bubble-check {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-size: 11px;
}

/* Карточки и содержимое: более плотный материал для читаемости. */
.section-heading {
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading h2 {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.count {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  padding: 4px 7px;
}
.events-section {
  margin-top: 38px;
}
.event-controls {
  margin: 22px 0;
  align-items: center;
}
.tabs {
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  gap: 3px;
}
.tabs button {
  border-radius: 100px;
  color: var(--muted);
  padding: 9px 15px;
  font-size: 10px;
}
.tabs button.selected {
  color: var(--ink);
  background: var(--glass-solid);
  box-shadow:
    0 2px 8px #00000013,
    inset 0 1px 0 var(--glint);
}
.search {
  background: var(--input);
  border-color: var(--stroke);
  padding: 10px 13px;
  border-radius: 13px;
}
.search svg {
  color: var(--quiet);
}
.search input {
  color: var(--ink);
  font-size: 11px;
  background: none;
}
.first-event {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow-card);
  padding: 27px;
  gap: 24px;
}
.first-event h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.first-event p {
  color: var(--muted);
  font-size: 11px;
}
.first-event .text-link {
  color: var(--accent);
  font-size: 11px;
}
.empty-illustration {
  width: 62px;
  height: 62px;
  background: linear-gradient(145deg, var(--accent-soft), var(--input));
  border: 1px solid var(--stroke);
  border-radius: 20px;
  color: var(--accent);
  font-size: 31px;
  transform: rotate(-7deg);
  box-shadow:
    0 9px 15px #0000000d,
    inset 0 1px 0 var(--glint);
}
.empty-illustration span {
  color: var(--pink);
  font-size: 23px;
}
.templates-section {
  margin-top: 38px;
}
.templates-section .eyebrow {
  color: var(--quiet);
  font-size: 8px;
  letter-spacing: 1.5px;
}
.templates-section .hide-mobile {
  font-size: 10px;
}
.template-grid,
.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.template-card,
.event-card {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.template-card:hover,
.event-card:hover {
  transform: perspective(900px) translateY(-5px) rotateX(1deg);
  border-color: var(--stroke-bright);
  box-shadow: var(--shadow-float);
}
.template-card:after,
.event-card:after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glint), transparent);
}
.template-cover {
  aspect-ratio: 1.62;
  position: relative;
  overflow: hidden;
}
.template-cover:before {
  content: "";
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  position: absolute;
  right: -16%;
  top: -35%;
  pointer-events: none;
}
.template-arrow {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 2;
  width: 27px;
  height: 27px;
  border: 1px solid #ffffff21;
  border-radius: 50%;
  background: #ffffff16;
  color: #ffffffba;
  box-shadow: inset 0 1px 0 #ffffff24;
  backdrop-filter: blur(12px);
}
:root[data-theme="light"] .template-arrow {
  color: #5f4b72;
  background: #ffffff75;
  border-color: #ffffff99;
}
.template-info {
  padding: 17px 18px 21px;
}
.template-info h3 {
  font-size: 14px;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 7px;
}
.template-info p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.peach {
  --cover: var(--cover-peach);
  background: var(--cover);
}
.green {
  --cover: var(--cover-green);
  background: var(--cover);
}
.pink {
  --cover: var(--cover-pink);
  background: var(--cover);
}
.yellow {
  --cover: var(--cover-yellow);
  background: var(--cover);
}
.purple {
  --cover: var(--cover-purple);
  background: var(--cover);
}
.blue {
  --cover: var(--cover-blue);
  background: var(--cover);
}
.template-cover,
.event-cover {
  background:
    radial-gradient(ellipse at 50% 0, #ffffff0b, transparent 70%),
    linear-gradient(
      145deg,
      var(--cover),
      color-mix(in srgb, var(--cover) 70%, var(--bg))
    );
}
.cover-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  stroke: none;
}
.mascot-sprite {
  display: block;
  height: 100%;
  aspect-ratio: 1;
  max-width: 100%;
  flex-shrink: 0;
  background: url("/assets/mascot-atlas.webp") no-repeat;
  background-size: 300% 200%;
  filter: drop-shadow(0 12px 10px #25152822) saturate(0.9);
}
.mascot-birthday {
  background-position: 0 0;
}
.mascot-newyear {
  background-position: 50% 0;
}
.mascot-wedding {
  background-position: 100% 0;
}
.mascot-family {
  background-position: 0 100%;
}
.mascot-party {
  background-position: 50% 100%;
}
.mascot-custom {
  background-position: 100% 100%;
}
.event-cover {
  height: 170px;
}
.event-cover .cover-art {
  position: absolute;
  height: 175px;
  bottom: -4px;
}
.cover-label {
  background: var(--glass);
  color: var(--secondary);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  backdrop-filter: blur(15px);
  font-size: 9px;
  left: 15px;
  top: 14px;
  padding: 6px 9px;
}
.event-date {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--stroke-bright);
  box-shadow: var(--shadow-card);
  border-radius: 13px;
  width: 46px;
  padding: 7px 5px;
  backdrop-filter: blur(15px);
  font-size: 9px;
}
.event-date b {
  font-weight: 600;
  font-size: 22px;
}
.event-copy {
  padding: 20px 18px 18px;
}
.event-copy h3 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}
.event-copy > p,
.event-card-foot {
  color: var(--muted);
}
.event-copy > p {
  font-size: 11px;
}
.event-card-foot {
  border-color: var(--line);
  font-size: 10px;
  margin-top: 15px;
}
.how-strip {
  margin-top: 36px;
  border-color: var(--line);
  padding: 25px 0 0;
  gap: 24px;
}
.how-strip span {
  color: var(--accent);
  opacity: 0.7;
}
.how-strip b {
  color: var(--secondary);
  font-weight: 600;
  font-size: 11px;
}
.how-strip p {
  color: var(--quiet);
  font-size: 10px;
  line-height: 1.7;
}
.page-heading {
  margin-top: 8px;
  margin-bottom: 32px;
}
.page-heading h1 {
  color: var(--ink);
  font-size: 39px;
  line-height: 1.14;
  letter-spacing: -1.7px;
}
.page-heading p {
  color: var(--muted);
}
.back-link {
  color: var(--muted);
  font-size: 11px;
}
.back-link:hover {
  color: var(--ink);
}
.compact-heading h1 {
  font-size: 34px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 25px;
  box-shadow: var(--shadow-card);
}
.form-panel {
  padding: 29px;
}
.form-panel h2 {
  color: var(--ink);
  font-size: 23px;
  font-weight: 650;
}
.form-panel > .muted {
  font-size: 11px;
}
.field {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 550;
}
.field small {
  color: var(--quiet);
  font-size: 10px;
}
input,
textarea,
select {
  color: var(--ink);
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 13px;
  font-size: 12px;
  box-shadow: inset 0 1px 2px #00000006;
}
select option {
  background: var(--paper);
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: var(--quiet);
  font-size: 11px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent-strong);
  border-radius: 5px;
  box-shadow: none;
}
input:disabled {
  background: var(--input);
  color: var(--quiet);
}
.form-actions {
  border-color: var(--line);
}
.steps {
  border-color: var(--line);
  gap: 30px;
}
.steps button {
  color: var(--quiet);
  font-size: 11px;
}
.steps button span {
  border-color: var(--stroke-bright);
}
.steps .current {
  color: var(--ink);
  border-color: var(--accent);
}
.steps .current span,
.steps .done span {
  color: #fff;
  border-color: transparent;
  background: var(--button-bg);
  box-shadow: 0 3px 8px #6c45aa26;
}
.template-picker {
  gap: 12px;
}
.picker-card {
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 17px;
  padding: 18px 14px;
}
.picker-card.picked {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: inset 0 1px 0 var(--glint);
}
.picker-card b {
  color: var(--secondary);
  font-size: 12px;
}
.picker-icon {
  color: var(--accent);
  border-radius: 11px;
  border: 1px solid var(--stroke);
  box-shadow: 0 4px 10px #0000000a;
}
.radio-dot {
  border-color: var(--stroke-bright);
}
.picked .radio-dot {
  background: var(--paper);
  border-color: var(--accent);
}
.swatch {
  border: 3px solid var(--panel);
}
.swatch.chosen {
  outline-color: var(--accent);
  color: var(--ink);
}
.checkbox {
  color: var(--secondary);
}
.checkbox small {
  color: var(--quiet);
}
.soft-note {
  color: var(--muted);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 10px;
  line-height: 1.8;
}
.soft-note svg {
  color: var(--accent);
}
.preview-label {
  color: var(--quiet);
  font-size: 8px;
  letter-spacing: 1.5px;
}
.live-dot {
  background: var(--accent);
}
.preview-column {
  top: 24px;
}
.invitation-preview {
  padding: 25px 22px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--cover) 65%, var(--paper)),
    var(--paper)
  );
  border: 1px solid var(--stroke-bright);
  border-radius: 26px;
  box-shadow: var(--shadow-float);
}
.invitation-preview .cover-art {
  height: 165px;
}
.invite-eyebrow,
.preview-copy .small-caps {
  color: var(--muted);
  opacity: 1;
  font-size: 7px;
}
.preview-copy h2 {
  color: var(--ink);
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.9px;
}
.preview-message,
.preview-meta {
  color: var(--secondary);
}
.preview-message {
  font-size: 11px;
}
.preview-meta {
  border-color: var(--line);
  font-size: 10px;
}
.preview-answer {
  background: var(--glass);
  color: var(--accent);
  border: 1px solid var(--stroke);
  border-radius: 13px;
  padding: 13px 15px;
  font-size: 11px;
  box-shadow: inset 0 1px 0 var(--glint);
}
.preview-note {
  color: var(--quiet);
  font-size: 10px;
}
.event-heading h1 {
  color: var(--ink);
  font-size: 35px;
}
.event-details {
  color: var(--muted);
  font-size: 12px;
  gap: 18px;
}
.stats-grid {
  gap: 14px;
}
.stats-grid > div {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 23px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.stats-grid span {
  color: var(--muted);
  font-size: 10px;
}
.stats-grid b {
  color: var(--ink);
  font-weight: 600;
  font-size: 35px;
}
.dot.yes {
  background: var(--status-yes);
}
.dot.pending {
  background: var(--quiet);
}
.dot.maybe {
  background: var(--status-maybe);
}
.guest-toolbar {
  gap: 12px;
}
.guest-toolbar .search {
  background: var(--input);
}
.guest-toolbar select {
  font-size: 11px;
  border-radius: 13px;
}
.guest-row {
  border-color: var(--line);
  padding: 18px 16px;
}
.guest-name b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.guest-comment {
  color: var(--muted);
}
.status {
  color: var(--quiet);
  font-size: 10px;
}
.status.yes {
  color: var(--status-yes);
}
.status.maybe {
  color: var(--status-maybe);
}
.status.no {
  color: var(--status-no);
}
.plus-tag {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 5px;
}
.icon-btn {
  color: var(--muted);
  border-radius: 9px;
}
.icon-btn:hover {
  color: var(--ink);
  background: var(--accent-soft);
}
.small-btn {
  font-size: 9px;
  min-height: 32px;
  padding: 8px 10px;
  border-radius: 10px;
}
.danger {
  color: var(--status-no);
}
.event-bottom-actions .text-link {
  font-size: 10px;
}
.empty-state > svg {
  color: var(--accent);
}
.empty-state h2,
.empty-state h3,
.empty-state h1 {
  color: var(--ink);
}
.empty-state p {
  color: var(--muted);
}
.error-flower {
  color: var(--accent);
}
#toast {
  background: var(--glass-solid);
  border: 1px solid var(--stroke-bright);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  border-radius: 17px;
  font-size: 12px;
}
dialog {
  background: var(--glass-solid);
  color: var(--ink);
  border: 1px solid var(--stroke-bright);
  border-radius: 28px;
  padding: 32px;
  box-shadow:
    0 40px 100px #00000050,
    inset 0 1px 0 var(--glint);
}
dialog::backdrop {
  background: #0b091459;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
dialog h2 {
  color: var(--ink);
  font-size: 25px;
}
dialog > p {
  color: var(--muted);
}
.dialog-close {
  color: var(--muted);
  background: var(--input);
  border: 1px solid var(--line);
  width: 29px;
  height: 29px;
  line-height: 1;
  font-size: 20px;
  border-radius: 50%;
  padding: 0;
  top: 14px;
  right: 14px;
}
.form-error {
  color: var(--status-no);
}
.form-error:not(:empty) {
  background: color-mix(in srgb, var(--status-no) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--status-no) 20%, transparent);
  color: var(--status-no);
  border-radius: 12px;
}
/* Вход и личное приглашение используют ту же тему. */
.login-layout {
  background: none;
  grid-template-columns: 0.95fr 1.05fr;
  padding: 18px;
  gap: 18px;
  min-height: 100dvh;
}
.login-story {
  border: 1px solid var(--hero-border);
  border-radius: 30px;
  background: var(--hero-background);
  padding: 36px 45px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  position: relative;
}
.login-story .logo,
.login-story .brand-cloud {
  color: var(--ink);
}
.login-story .brand-cloud {
  color: var(--accent);
}
.login-story .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.login-story h1 {
  color: var(--ink);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.03;
  font-weight: 750;
  letter-spacing: -3px;
}
.login-story em {
  color: var(--accent);
  font-family: inherit;
  font-style: normal;
  font-weight: 750;
}
.login-story p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.login-story > small {
  color: var(--quiet);
  font-size: 10px;
}
.login-art {
  height: 235px;
  width: 100%;
  max-width: 310px;
  margin-top: 0;
}
.login-art .cover-art {
  max-height: 235px;
}
.login-art .mascot-sprite {
  position: static;
  width: auto;
  transform: none;
  font-size: inherit;
}
.login-form-side {
  padding: 20px 35px;
}
.auth-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.auth-topbar .back-link {
  margin: 0;
}
.login-form {
  max-width: 355px;
  margin: 48px auto;
}
.login-form h2 {
  color: var(--ink);
  font-size: 33px;
  letter-spacing: -1.2px;
}
.login-form > p {
  color: var(--muted);
  font-size: 12px;
}
.login-form .field {
  color: var(--secondary);
}
.login-form .tiny {
  color: var(--quiet);
}
.divider {
  color: var(--quiet);
}
.divider:before,
.divider:after {
  background: var(--line);
}
.demo-access {
  border-color: var(--line);
}
.demo-access > span,
.demo-access > small {
  color: var(--quiet);
}
.connection-note {
  background: var(--accent-soft);
  color: var(--muted) !important;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.invite-page {
  background: none;
  min-height: 100dvh;
}
.invite-page > header {
  max-width: 1100px;
  margin: auto;
  padding: 28px 35px;
  gap: 20px;
}
.invite-page > header .logo {
  font-size: 28px;
}
.invite-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.invite-header-actions .text-link {
  color: var(--muted);
  font-size: 11px;
}
.invite-container {
  max-width: 720px;
  padding: 22px 25px 40px;
}
.invite-topline {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 1.5px;
}
.invite-card {
  border: 1px solid var(--stroke-bright);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow-float);
}
.invite-art {
  height: 220px;
  background:
    radial-gradient(at 50% 0, #ffffff09, transparent 70%),
    linear-gradient(
      130deg,
      var(--cover),
      color-mix(in srgb, var(--cover) 65%, var(--paper))
    );
}
.invite-art .cover-art {
  height: 220px;
  max-height: 220px;
}
.invite-seal {
  background: var(--glass);
  color: var(--accent);
  border: 1px solid var(--stroke-bright);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-float);
  font-family: inherit;
  font-style: normal;
  font-weight: 650;
  font-size: 17px;
  line-height: 1.2;
  transform: rotate(9deg);
  width: 82px;
  height: 82px;
}
.invite-content {
  padding: 39px 48px 28px;
}
.invite-content h1 {
  color: var(--ink);
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 41px;
  line-height: 1.12;
  letter-spacing: -1.4px;
}
.personal-greeting {
  color: var(--accent);
  font-size: 14px;
}
.invitation-message {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.9;
}
.invite-details {
  border-color: var(--line);
  gap: 22px;
}
.invite-details svg {
  color: var(--accent);
  opacity: 0.9;
}
.invite-details b {
  color: var(--ink);
  font-size: 13px;
}
.invite-details small {
  color: var(--muted);
  font-size: 11px;
}
.host-sign small {
  color: var(--quiet);
}
.host-sign b {
  color: var(--secondary);
}
.rsvp-section {
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 23px;
}
.rsvp-section h3 {
  color: var(--ink);
  font-size: 18px;
}
.rsvp-section > p {
  color: var(--muted);
}
.rsvp-options {
  gap: 8px;
}
.rsvp-option {
  color: var(--muted);
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  font-size: 10px;
}
.rsvp-option.checked {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: inset 0 1px 0 var(--glint);
}
.invite-private {
  color: var(--quiet);
  font-size: 9px;
}
.invite-bottom,
.invite-bottom b {
  color: var(--muted);
}
.invite-bottom span {
  border-color: var(--line);
}
.loading {
  color: var(--ink);
}
.loading span {
  color: var(--muted);
}

/* Компьютер, планшет, телефон. */
@media (max-width: 1200px) {
  :root {
    --sidebar: 225px;
  }
  .sidebar {
    margin-left: 17px;
    margin-top: 18px;
    top: 18px;
    height: calc(100dvh - 36px);
    padding: 27px 15px 18px;
  }
  .sidebar .logo {
    font-size: 27px;
  }
  .sidebar .brand-cloud {
    width: 32px;
  }
  .sidebar nav a {
    padding: 13px 9px;
    font-size: 11px;
    gap: 9px;
  }
  .side-caption {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .topbar {
    padding: 0 27px;
    height: 86px;
  }
  main {
    padding: 0 27px;
  }
  footer {
    margin-left: 27px;
    margin-right: 27px;
  }
  .top-tag {
    display: none;
  }
  .hero {
    min-height: 375px;
  }
  .hero-copy {
    padding: 32px 0 32px 30px;
  }
  .hero h1 {
    font-size: 50px;
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 310px;
  }
  .hero-copy > p br {
    display: none;
  }
  .hero-art {
    min-height: 375px;
  }
  .hero-actions .btn {
    padding: 11px 13px;
    font-size: 10px;
    min-height: 42px;
  }
  .hero-actions .btn svg {
    width: 14px;
    height: 14px;
  }
  .glass-token {
    font-size: 9px;
    padding: 11px 13px;
  }
  .token-heart {
    left: 0;
    top: 29px;
  }
  .token-meet {
    right: 15px;
    bottom: 24px;
  }
  .template-grid,
  .event-grid {
    gap: 15px;
  }
  .template-info {
    padding: 16px 15px 19px;
  }
  .template-info h3 {
    font-size: 13px;
  }
  .template-info p {
    font-size: 10px;
  }
  .event-workspace {
    grid-template-columns: minmax(0, 1.6fr) minmax(225px, 0.8fr);
    gap: 24px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  :root {
    --sidebar: 200px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
    margin-left: 14px;
    border-radius: 24px;
  }
  .sidebar .logo {
    font-size: 24px;
  }
  .sidebar .brand-cloud {
    width: 28px;
    height: 25px;
  }
  .sidebar nav a {
    font-size: 10px;
    padding: 12px 8px;
    gap: 8px;
    border-radius: 13px;
  }
  .side-caption {
    font-size: 7px;
    margin-bottom: 30px;
  }
  .side-note {
    padding: 18px 10px;
  }
  .side-note b {
    font-size: 10px;
  }
  .side-note p {
    font-size: 9px;
  }
  .profile {
    gap: 7px;
  }
  .profile b {
    max-width: 85px;
    font-size: 10px;
  }
  .profile small {
    font-size: 8px;
  }
  .topbar {
    padding: 0 22px;
    height: 82px;
  }
  main {
    padding: 0 22px;
  }
  .hero {
    min-height: 380px;
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero-copy {
    padding: 30px 0 30px 25px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .hero-copy > p {
    font-size: 11px;
  }
  .hero-art {
    min-height: 380px;
  }
  .hero-mascot {
    width: 140%;
    left: 43%;
    top: 47%;
  }
  .token-heart {
    display: none;
  }
  .token-meet {
    right: 10px;
    bottom: 28px;
    font-size: 8px;
    padding: 10px 12px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .btn {
    font-size: 9px;
    padding: 10px 12px;
  }
  .hero-meta {
    font-size: 8px;
    gap: 12px;
    margin-top: 20px;
  }
  .template-grid,
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-layout > .preview-column {
    display: none;
  }
  .event-workspace {
    grid-template-columns: 1fr;
  }
  .event-workspace > .preview-column {
    display: none;
  }
  .event-workspace .section-heading {
    flex-direction: row;
  }
  .event-workspace .section-heading .btn {
    width: auto;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .topbar {
    height: 82px;
    padding: 0 23px;
    position: relative;
  }
  .breadcrumb,
  .top-tag {
    display: none;
  }
  .mobile-logo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1.2px;
  }
  .mobile-logo .brand-cloud {
    width: 29px;
    height: 25px;
  }
  .header-actions {
    gap: 11px;
  }
  .mobile-profile {
    display: inline-flex;
    border: 1px solid var(--stroke);
    width: 33px;
    height: 33px;
    padding: 0;
  }
  .mobile-login {
    display: inline-flex;
    color: var(--accent);
    font-size: 11px;
  }
  .theme-toggle {
    min-height: 44px;
    height: 44px;
    padding: 9px 11px;
    font-size: 10px;
    gap: 7px;
  }
  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
  main {
    padding: 0 22px;
  }
  footer {
    margin: 35px 22px 0;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    font-size: 9px;
    gap: 20px;
  }
  footer > span:nth-child(2) {
    font-size: 8px;
  }
  .mobile-dock {
    position: fixed;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-around;
    left: 50%;
    bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(450px, calc(100% - 30px));
    height: 75px;
    padding: 8px;
    border-radius: 100px;
    background: var(--glass);
    border: 1px solid var(--stroke-bright);
    box-shadow: var(--shadow-float);
    backdrop-filter: blur(32px) saturate(145%);
    -webkit-backdrop-filter: blur(32px) saturate(145%);
  }
  .mobile-dock > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 6px;
    height: 58px;
    border-radius: 100px;
    font-size: 9px;
    color: var(--muted);
  }
  .mobile-dock > a svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.65;
  }
  .mobile-dock > a.active {
    background: var(--input);
    color: var(--accent);
    box-shadow: inset 0 1px 0 var(--glint);
  }
  .mobile-dock > .dock-create {
    gap: 3px;
    color: var(--secondary);
  }
  .dock-plus {
    background: var(--button-bg);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: white;
    display: grid;
    place-items: center;
    box-shadow:
      0 4px 12px #7a56d137,
      inset 0 1px 0 #ffffff40;
  }
  .mobile-dock > .dock-create svg {
    width: 20px;
    height: 20px;
  }
  .hero {
    border-radius: 29px;
    min-height: 360px;
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-copy {
    padding: 32px 0 30px 28px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .hero-art {
    min-height: 360px;
  }
  .hero-mascot {
    width: 120%;
    left: 47%;
  }
  .hero-meta {
    font-size: 8px;
    gap: 12px;
  }
  .glass-token {
    font-size: 8px;
    padding: 10px 12px;
  }
  .token-heart {
    top: 24px;
    left: -7px;
  }
  .token-meet {
    right: 13px;
    bottom: 21px;
  }
  .s1 {
    right: 18px;
    top: 61px;
    font-size: 28px;
  }
  .s2 {
    bottom: 37px;
    left: 0;
    font-size: 23px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .events-section,
  .templates-section {
    margin-top: 32px;
  }
  .template-grid,
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .template-info h3 {
    font-size: 13px;
  }
  .template-info p {
    font-size: 11px;
  }
  .template-cover {
    aspect-ratio: 1.4;
  }
  .event-copy h3 {
    font-size: 15px;
  }
  .hide-mobile {
    display: none;
  }
  .how-strip {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .how-strip > div {
    grid-template-columns: 27px auto;
    gap: 0 10px;
  }
  .how-strip b {
    font-size: 12px;
  }
  .how-strip p {
    font-size: 11px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-layout > .preview-column {
    display: none;
  }
  .event-workspace {
    grid-template-columns: 1fr;
  }
  .event-workspace > .preview-column {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-workspace .section-heading {
    flex-direction: row;
  }
  .event-workspace .section-heading .btn {
    width: auto;
  }
  .guest-name b {
    font-size: 12px;
  }
  #toast {
    bottom: 110px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .back-link {
    margin-top: 3px;
  }
  .login-layout {
    display: block;
    padding: 0;
  }
  .login-story {
    display: none;
  }
  .login-form-side {
    padding: 23px 25px;
  }
  .login-form {
    margin-top: 37px;
    max-width: 380px;
  }
  .login-form h2 {
    font-size: 32px;
  }
  .login-form input,
  .login-form select {
    font-size: 16px;
  }
  .login-form .btn {
    font-size: 12px;
  }
  .invite-page > header {
    padding: 23px 22px;
    gap: 12px;
  }
  .invite-page > header .logo {
    font-size: 25px;
  }
  .invite-header-actions {
    gap: 15px;
  }
  .invite-header-actions .text-link {
    font-size: 10px;
  }
  .invite-content {
    padding: 36px 31px 25px;
  }
  .invite-content h1 {
    font-size: 35px;
  }
}
@media (max-width: 560px) {
  .topbar {
    height: 78px;
    padding: 0 19px;
  }
  .mobile-logo {
    font-size: 23px;
    gap: 7px;
  }
  .theme-toggle [data-theme-name] {
    display: none;
  }
  .theme-toggle {
    width: 44px;
    padding: 9px;
  }
  main {
    padding: 0 16px;
  }
  .hero {
    min-height: 0;
    display: block;
    border-radius: 28px;
  }
  .hero-copy {
    padding: 28px 25px 174px;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -1.8px;
    margin: 20px 0 18px;
    line-height: 1.04;
  }
  .hero h1 > span {
    display: inline;
  }
  .hero h1 br {
    display: block;
  }
  .hero-copy > p {
    font-size: 12px;
    line-height: 1.85;
    max-width: 280px;
    margin-bottom: 23px;
  }
  .hero-copy > p br {
    display: none;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .btn {
    padding: 11px 13px;
    font-size: 10px;
    min-height: 41px;
  }
  .hero-actions .btn svg {
    width: 14px;
    height: 14px;
  }
  .hero-actions .btn.outline {
    gap: 6px;
  }
  .hero-actions .btn.outline svg {
    width: 12px;
  }
  .hero-meta {
    display: none;
  }
  .hero-art {
    position: absolute;
    width: 260px;
    height: 180px;
    min-height: 180px;
    bottom: 4px;
    right: 9px;
  }
  .hero-mascot {
    width: 104%;
    left: 50%;
    top: 49%;
    transform: translate(-50%, -50%) rotate(-6deg);
    max-width: none;
  }
  .stage-glow {
    bottom: 4%;
  }
  .orbital-ring {
    top: 14%;
    height: 70%;
  }
  .ring-front {
    top: 30%;
  }
  .token-heart {
    display: none;
  }
  .token-meet {
    right: 2px;
    bottom: 11px;
    padding: 8px 11px;
    font-size: 8px;
    border-radius: 12px;
  }
  .token-meet .bubble-check {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  .s1 {
    top: 8px;
    right: 1px;
    font-size: 26px;
  }
  .s2 {
    left: -17px;
    bottom: 35px;
    font-size: 22px;
  }
  .section-heading {
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading p {
    font-size: 10px;
    line-height: 1.7;
  }
  .section-heading .btn {
    min-height: 37px;
    padding: 10px 12px;
    font-size: 9px;
  }
  .section-heading .btn svg {
    width: 13px;
    height: 13px;
  }
  .count {
    font-size: 9px;
    padding: 3px 6px;
    min-width: 20px;
  }
  .event-controls {
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .tabs {
    align-self: flex-start;
  }
  .tabs button {
    padding: 8px 13px;
    font-size: 9px;
  }
  .event-controls .search,
  .event-controls .search input {
    width: 100%;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .event-cover,
  .event-cover .cover-art {
    height: 190px;
  }
  .event-card {
    border-radius: 23px;
  }
  .event-copy {
    padding: 19px;
  }
  .event-copy h3 {
    font-size: 16px;
  }
  .event-copy > p {
    font-size: 11px;
  }
  .event-card-foot {
    font-size: 10px;
  }
  .template-grid {
    gap: 13px;
  }
  .template-card {
    border-radius: 22px;
  }
  .template-cover {
    aspect-ratio: 1.16;
  }
  .template-info {
    padding: 15px 13px 17px;
  }
  .template-info h3 {
    font-size: 12px;
  }
  .template-info p {
    font-size: 10px;
    line-height: 1.65;
  }
  .template-arrow {
    width: 24px;
    height: 24px;
    top: 10px;
    right: 10px;
    font-size: 12px;
  }
  .first-event {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 13px 16px;
    padding: 21px 18px;
    border-radius: 23px;
  }
  .first-event .empty-illustration {
    width: 48px !important;
    height: 48px !important;
    font-size: 26px;
    border-radius: 17px;
  }
  .first-event h3 {
    font-size: 12px;
    line-height: 1.6;
  }
  .first-event p {
    font-size: 10px;
    line-height: 1.75;
  }
  .first-event p br {
    display: none;
  }
  .first-event .text-link {
    grid-column: 2;
    justify-self: start;
    margin: 0;
    font-size: 10px;
  }
  footer {
    margin: 32px 17px 0;
    gap: 14px;
    font-size: 8px;
  }
  footer > span:nth-child(2) {
    font-size: 7px;
  }
  .footer-star {
    font-size: 18px;
  }
  .page-heading {
    margin-top: 13px;
  }
  .page-heading h1 {
    font-size: 29px;
    letter-spacing: -1.2px;
    line-height: 1.18;
  }
  .compact-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .form-panel {
    padding: 23px 19px;
    border-radius: 25px;
  }
  .form-panel h2 {
    font-size: 21px;
  }
  .form-panel > .muted {
    font-size: 10px;
    line-height: 1.7;
  }
  .form-grid {
    gap: 17px 12px;
  }
  .field {
    font-size: 11px;
  }
  .field small {
    font-size: 10px;
  }
  input,
  textarea,
  select {
    font-size: 13px;
    padding: 12px;
    border-radius: 12px;
  }
  input[type="date"],
  input[type="time"] {
    font-size: 12px;
  }
  .steps {
    gap: 22px;
    margin-bottom: 22px;
  }
  .steps button {
    font-size: 10px;
    gap: 7px;
  }
  .steps button span {
    width: 22px;
    height: 22px;
  }
  .picker-card {
    padding: 14px 12px;
    min-height: 100px;
  }
  .picker-card b {
    font-size: 11px;
  }
  .picker-icon {
    width: 33px;
    height: 33px;
    font-size: 22px;
  }
  .form-actions .btn {
    font-size: 10px;
  }
  .event-heading {
    margin-top: 10px;
    align-items: flex-start;
  }
  .event-heading h1 {
    font-size: 28px;
    letter-spacing: -1.1px;
  }
  .event-heading .eyebrow {
    font-size: 8px;
  }
  .event-details {
    font-size: 11px;
    gap: 12px;
  }
  .event-heading .btn {
    font-size: 10px;
    min-height: 37px;
    padding: 10px 14px;
  }
  .stats-grid {
    gap: 12px;
    margin-bottom: 30px;
  }
  .stats-grid > div {
    border-radius: 22px;
    padding: 18px 15px;
  }
  .stats-grid span {
    font-size: 9px;
  }
  .stats-grid b {
    font-size: 31px;
    margin-top: 13px;
  }
  .guest-toolbar select {
    width: 126px;
    font-size: 10px;
  }
  .guest-row {
    padding: 17px 12px;
    gap: 9px;
  }
  .guest-name b {
    font-size: 11px;
  }
  .guest-name .status {
    font-size: 9px;
  }
  .guest-actions {
    gap: 0;
  }
  .guest-actions .icon-btn {
    width: 25px;
  }
  .guest-actions .icon-btn svg {
    width: 13px;
  }
  .guest-actions .small-btn {
    font-size: 8px;
    padding: 8px;
    min-height: 29px;
  }
  .guest-comment {
    font-size: 10px;
  }
  .event-bottom-actions .text-link {
    font-size: 9px;
  }
  .soft-note {
    font-size: 10px;
  }
  dialog {
    padding: 28px 22px;
    border-radius: 25px;
  }
  dialog h2 {
    font-size: 23px;
  }
  dialog > p {
    font-size: 11px;
  }
  dialog input,
  dialog textarea {
    font-size: 14px;
  }
  .invite-page > header {
    padding: 22px 18px;
  }
  .invite-page > header .logo {
    font-size: 23px;
  }
  .invite-page > header .brand-cloud {
    width: 28px;
    height: 25px;
  }
  .invite-header-actions {
    gap: 12px;
  }
  .invite-header-actions .text-link {
    font-size: 9px;
    gap: 5px;
  }
  .invite-header-actions .text-link svg {
    width: 12px;
  }
  .invite-container {
    padding: 15px 13px 35px;
  }
  .invite-topline {
    margin: 0 12px 20px;
    font-size: 7px;
    line-height: 1.9;
    letter-spacing: 1.2px;
  }
  .invite-card {
    border-radius: 29px;
  }
  .invite-art,
  .invite-art .cover-art {
    height: 190px;
  }
  .invite-seal {
    width: 64px;
    height: 64px;
    font-size: 14px;
    border-radius: 21px;
    right: 24px;
    bottom: -19px;
  }
  .invite-content {
    padding: 35px 23px 23px;
  }
  .invite-content h1 {
    font-size: 30px;
    letter-spacing: -0.9px;
  }
  .personal-greeting {
    font-size: 12px;
  }
  .invitation-message {
    font-size: 12px;
  }
  .invite-details b {
    font-size: 12px;
  }
  .invite-details small {
    font-size: 10px;
  }
  .rsvp-section {
    margin-top: 27px;
    padding: 19px 14px;
  }
  .rsvp-section h3 {
    font-size: 17px;
  }
  .rsvp-options {
    gap: 5px;
  }
  .rsvp-option {
    font-size: 9px;
    padding: 11px 7px;
  }
  .rsvp-section .field {
    font-size: 10px;
  }
  .rsvp-section .btn {
    font-size: 10px;
  }
  .invite-private {
    font-size: 8px;
  }
  .invite-bottom {
    font-size: 8px;
  }
  .invite-bottom b {
    font-size: 13px;
  }
  .invite-bottom span {
    font-size: 7px;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .sidebar,
  .mobile-dock,
  .theme-toggle,
  .glass-token {
    background: var(--glass-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@supports not (backdrop-filter: blur(20px)) {
  .sidebar,
  .mobile-dock,
  .glass-token {
    background: var(--glass-solid);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
