:root {
  --bg: #0e0f1a;
  --bg-2: #1a1d2e;
  --accent: #ff4d6d;
  --accent-2: #ff8fa3;
  --accent-3: #ffd166;
  --text: #f7f7fb;
  --muted: #c9cbe3;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

@font-face {
  font-family: "Poiret One";
  src: url("assets/fonts/PoiretOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Stengazeta";
  src: url("assets/fonts/Stengazeta-Regular_5.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poiret One", "Segoe UI", system-ui, sans-serif;
  background-color: #0e0f1a;
  background: radial-gradient(circle at 12% 18%, rgba(255, 92, 138, 0.45), transparent 46%),
    radial-gradient(circle at 86% 16%, rgba(255, 160, 190, 0.4), transparent 40%),
    radial-gradient(circle at 50% 82%, rgba(255, 120, 170, 0.3), transparent 45%),
    linear-gradient(135deg, #1f0f2a 0%, #3a173b 50%, #1f0f2a 100%);
  background-attachment: fixed;
  animation: bg-shift 18s ease-in-out infinite;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body.chat-open {
  overflow: hidden;
}

body.about-page {
  background: radial-gradient(circle at 18% 18%, rgba(255, 120, 198, 0.55), transparent 45%),
    radial-gradient(circle at 82% 20%, rgba(255, 200, 120, 0.5), transparent 45%),
    linear-gradient(135deg, #ff7ab8 0%, #ff9fce 45%, #ffb66b 100%);
  background-attachment: fixed;
  animation: none;
}

.bg-orbit {
  position: fixed;
  inset: -20% 10% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.28), transparent 60%);
  filter: blur(10px);
  z-index: -1;
  animation: orbit-float 10s ease-in-out infinite;
}

@keyframes bg-shift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%;
  }
  50% {
    background-position: 10% 10%, 90% 10%, 50% 90%, 0% 0%;
  }
  100% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%;
  }
}

@keyframes orbit-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  body {
    background: radial-gradient(circle at 18% 22%, rgba(255, 77, 109, 0.3), transparent 45%),
      radial-gradient(circle at 82% 18%, rgba(255, 143, 163, 0.28), transparent 40%),
      linear-gradient(135deg, #1a0f1f 0%, #2a1532 50%, #1a0f1f 100%);
    background-attachment: scroll;
    animation: none;
  }

  .bg-orbit,
  .orb,
  .ref-glow,
  .card3d,
  .hero-visual {
    display: none;
  }

  * {
    box-shadow: none !important;
    filter: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
    animation: none;
  }

  .bg-orbit {
    display: none;
  }

  .topbar {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }

  .bg-orbit {
    animation: none;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5vw;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(14, 15, 26, 0.95), rgba(14, 15, 26, 0.7));
  backdrop-filter: blur(12px);
  z-index: 40;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 800;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.brand-title {
  font-weight: 700;
  font-size: 18px;
}

.brand-sub {
  font-size: 13px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.cta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.btn {
  border: none;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.pulse {
  transform: scale(0.98);
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.4);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
}

.btn.gradient-flow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #ff5f7a, #ffb36b, #ff5f7a);
  background-size: 200% 200%;
  border: none;
  animation: gradient-flow 6s ease-in-out infinite;
}

.btn.gradient-flow:hover {
  box-shadow: var(--shadow);
}

.btn.glass {
  background: rgba(255, 255, 255, 0.1);
}

.btn.ghost {
  background: transparent;
}

.btn.small {
  padding: 8px 12px;
  font-size: 12px;
}

.btn.full {
  width: 100%;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  text-align: center;
}

.btn.secondary:hover {
  box-shadow: var(--shadow);
}

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

@media (max-width: 600px) {
  .header-actions {
    justify-content: flex-end;
    margin-left: auto;
  }
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 60;
  padding: 0;
  align-self: center;
}

.side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 70;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 45vw;
  background: radial-gradient(circle at 20% 20%, rgba(255, 77, 109, 0.2), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(255, 143, 163, 0.18), transparent 50%),
    rgba(10, 12, 24, 0.98);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  overflow-y: auto;
}

.drawer-link {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
  padding: 6px 4px;
  margin: 0;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: "Stengazeta", "Poiret One", sans-serif;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.drawer-link[hidden] {
  display: none !important;
}

.drawer-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.drawer-text-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}

.link-inline {
  background: none;
  border: none;
  padding: 0;
  margin: 0 2px;
  color: #ffd1df;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font: inherit;
}

.page-hero {
  padding: 32px 6vw 10px;
}

.page-hero h1 {
  font-size: 38px;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 820px;
  color: var(--text-muted);
  font-size: 18px;
}

.about-card {
  margin: 16px 6vw;
  padding: 22px 26px;
  border-radius: 22px;
  background: rgba(20, 22, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  color: var(--text);
}

.about-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.about-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.about-card .accent-line {
  color: #fff;
  font-weight: 600;
}

.drawer-icon {
  width: 33px;
  height: 33px;
  object-fit: contain;
  flex: 0 0 33px;
}

.side-drawer.open {
  transform: translateX(0);
}

.chat-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4d6d;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.side-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

main {
  padding: 0 5vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  padding: 40px 0 80px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 54px);
  margin: 20px 0 16px;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 209, 102, 0.18);
  color: #ffe3a3;
  border-radius: 999px;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.metric {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 16px;
}

.metric-value {
  font-size: 22px;
  font-weight: 700;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.card3d {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  backdrop-filter: blur(10px);
}

.card3d-top {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-3);
  letter-spacing: 1px;
}

.card3d-title {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0;
}

.card3d-row {
  color: var(--muted);
  margin: 6px 0;
}

.card3d-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}

.orb-1 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.7), transparent 70%);
  top: -20px;
  right: 10%;
}

.orb-2 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.7), transparent 70%);
  bottom: -20px;
  left: 20%;
}

.section {
  margin: 80px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.day-card {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 16px 10px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.day-card.active,
.day-card:hover {
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.4), rgba(255, 143, 163, 0.25));
  transform: translateY(-2px);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.split.reverse {
  grid-auto-flow: dense;
}

.split.reverse .split-text {
  order: 2;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  font-size: 12px;
}

.video-mock {
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.35), rgba(255, 209, 102, 0.2));
  border: 1px solid var(--border);
  padding: 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-center {
  display: grid;
  place-items: center;
  flex: 1;
}

.play {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  font-size: 28px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.menu-card {
  padding: 20px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
}

.menu-title {
  font-weight: 700;
  font-size: 18px;
}

.menu-desc {
  color: var(--muted);
  margin: 8px 0;
}

.care-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 209, 102, 0.2), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  min-height: 260px;
}

.care-title {
  font-size: 18px;
  font-weight: 700;
}

.care-body {
  margin: 10px 0 20px;
  color: var(--muted);
}

.timer {
  display: grid;
  place-items: center;
  gap: 10px;
}

.timer-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent-3);
  animation: spin 4s linear infinite;
}

.timer-time {
  font-size: 18px;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.motivation-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.quote {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 18px;
  font-style: italic;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pricing-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.pricing-card.highlight {
  background: linear-gradient(150deg, rgba(255, 77, 109, 0.25), rgba(255, 255, 255, 0.06));
}

.referral-card {
  background: linear-gradient(120deg, rgba(255, 77, 109, 0.55), rgba(255, 209, 102, 0.45), rgba(255, 77, 109, 0.55));
  background-size: 200% 200%;
  animation: gradient-flow 8s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(255, 77, 109, 0.22);
}

.ref-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.ref-glow-1 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.6), transparent 70%);
  top: -40px;
  right: -30px;
}

.ref-glow-2 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.5), transparent 70%);
  bottom: -60px;
  left: -40px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

.pricing-title {
  font-weight: 700;
  font-size: 18px;
}

.pricing-value {
  font-size: 22px;
  font-weight: 700;
  color: #ffe3a3;
}

.pricing-note {
  color: var(--muted);
}

.signup {
  margin-bottom: 60px;
}

.signup-card {
  background: linear-gradient(140deg, rgba(255, 77, 109, 0.2), rgba(14, 15, 26, 0.9));
  border-radius: 28px;
  padding: 30px;
  border: 1px solid var(--border);
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.signup-form {
  display: grid;
  gap: 12px;
}

.email-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.email-row .btn {
  padding: 10px 16px;
  white-space: nowrap;
}

.email-row input {
  width: 100%;
}

@media (max-width: 520px) {
  .email-row {
    grid-template-columns: 1fr;
  }
  .email-row .btn {
    width: 100%;
  }
}

.signup-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.channel-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.checkbox {
  font-size: 12px;
  color: var(--muted);
}

.form-status {
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

.form-status.ok {
  color: #8cffc1;
}

.form-status.error {
  color: #ff8fa3;
}

.muted-note {
  color: var(--muted);
  font-size: 13px;
}

.login-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  max-width: 520px;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.password-form {
  display: grid;
  gap: 12px;
}

.password-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.timer-form {
  display: grid;
  gap: 12px;
}

.timer-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cabinet-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.cabinet-title {
  font-weight: 700;
  font-size: 18px;
}

.cabinet-body {
  color: var(--muted);
  line-height: 1.5;
}

.cabinet-note {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
}

.hidden {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 5vw 40px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: none !important;
  gap: 16px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.profile-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.profile-title {
  font-weight: 700;
  font-size: 18px;
}

.profile-desc,
.profile-note {
  color: var(--muted);
  font-size: 13px;
}

.ref-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ref-box input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.profile-form {
  display: grid;
  gap: 10px;
}

.profile-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  font-weight: 700;
}

.profile-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-btn {
  white-space: nowrap;
}

.profile-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.list {
  padding-left: 18px;
  color: var(--muted);
}

.day-one-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.day-one-hero img,
.day-one-media img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: block;
  height: auto;
  object-fit: cover;
}

.day-one-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  margin: 24px 0;
}

.day-one-block img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: block;
  height: auto;
  object-fit: cover;
}

.day-one-content h3 {
  margin: 0 0 8px;
}

.day-text {
  white-space: pre-line;
  line-height: 1.55;
  color: var(--muted);
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 20px;
}

.video-card {
  padding: 8px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  gap: 10px;
  flex: 0 0 calc(25% - 12px);
  max-width: calc(25% - 12px);
}

.video-card video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  display: block;
  height: auto;
}

.video-label {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .topbar {
    flex-direction: row;
    gap: 12px;
  }

  .cta {
    display: flex;
    justify-content: flex-end;
    width: auto;
  }

  .cta a.btn {
    display: none;
  }

  .cta .menu-toggle {
    display: grid;
  }

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

@media (max-width: 700px) {
  .day-one-block {
    grid-template-columns: 1fr;
  }

  .day-one-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .video-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .video-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .video-card {
    flex: 0 0 70%;
    max-width: 70%;
  }
}

.day-video-block {
  grid-template-columns: 1fr;
}

.day-nav {
  margin: 24px 0 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--border);
}

.day-nav-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.day-nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.day-number {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}

.day-number.active {
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.45), rgba(255, 143, 163, 0.3));
}

.day-next {
  margin: 16px 0 28px;
}

.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.calc-section {
  margin-top: 20px;
}

.pay-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-note {
  font-size: 13px;
  opacity: 0.75;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.calc-reset-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.calc-info {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 12px;
  cursor: help;
}

.calc-tooltip {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(25, 16, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  z-index: 5;
  pointer-events: none;
}

.calc-info:hover .calc-tooltip,
.calc-info:focus .calc-tooltip {
  opacity: 1;
  visibility: visible;
}

.calc-forecast {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.calc-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
}

.calc-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.calc-row strong {
  color: var(--text);
}

.calc-footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.calc-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.calc-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.forecast-weight {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.forecast-weight strong {
  color: var(--text);
}

.forecast-volumes {
  display: grid;
  gap: 6px;
  margin-bottom: 6px;
}

.forecast-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.forecast-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.forecast-row strong {
  color: var(--text);
}

.goal-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.goal-range {
  font-size: 13px;
  color: var(--muted);
}

.goal-error {
  font-size: 13px;
  color: #ff8080;
  min-height: 16px;
}

.goal-results {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.params-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.params-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}

.params-row strong {
  color: var(--text);
}

.params-header {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 18, 0.85);
  display: grid;
  place-items: center;
  z-index: 120;
}

.modal-overlay[hidden] {
  display: none;
}

.chat-poll-overlay {
  z-index: 200;
}

.calc-modal {
  width: min(520px, 92vw);
  background: linear-gradient(140deg, rgba(255, 77, 109, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.doc-modal {
  width: min(760px, 92vw);
  max-height: 80vh;
  overflow: hidden;
}

.doc-body {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.calc-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.calc-text {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.calc-step.hidden {
  display: none;
}

.calc-form {
  display: grid;
  gap: 14px;
}

.calc-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.calc-field input,
.calc-field select {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.water-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  color: var(--muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.2s;
  border-radius: 999px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.water-plan {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 10px;
}

.water-plan-head {
  font-size: 14px;
  color: var(--muted);
}

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

.water-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.water-row input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.water-row button {
  padding: 8px 10px;
  border-radius: 10px;
}

.water-ml {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
}

.water-ml span {
  color: var(--muted);
  font-size: 13px;
}

.day-card.locked {
  position: relative;
  opacity: 0.55;
}

.day-card.locked::after {
  content: "🔒";
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 14px;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.avatar-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  border: 1px solid var(--border);
  overflow: hidden;
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-label {
  display: inline-block;
}

.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.75);
  display: grid;
  place-items: center;
  z-index: 140;
  overscroll-behavior: contain;
}

.chat-overlay[hidden] {
  display: none;
}

.chat-panel {
  width: min(980px, 94vw);
  height: min(80vh, 720px);
  background: linear-gradient(160deg, rgba(20, 21, 30, 0.98), rgba(46, 24, 34, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  overflow: hidden;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-title {
  font-size: 20px;
  font-weight: 700;
}

.chat-sub {
  color: var(--muted);
  font-size: 13px;
}

.chat-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  cursor: pointer;
}

.chat-body {
  padding: 18px 20px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
  touch-action: pan-y;
}

.chat-msg {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.chat-msg.mine {
  grid-template-columns: 1fr auto;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text);
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-online {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3ee87f;
  position: absolute;
  right: -1px;
  bottom: -1px;
  border: 2px solid rgba(20, 21, 30, 1);
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  border-radius: 16px;
  position: relative;
  max-width: min(82vw, 360px);
  width: auto;
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  overflow: hidden;
  box-sizing: border-box;
}

.chat-msg.mine .chat-bubble {
  background: linear-gradient(120deg, rgba(255, 95, 122, 0.5), rgba(255, 179, 107, 0.35));
  border-color: rgba(255, 255, 255, 0.12);
  justify-self: end;
}

.chat-name {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.chat-text {
  line-height: 1.4;
  user-select: none;
  -webkit-user-select: none;
}

.chat-attach-text {
  padding: 6px 16px 12px;
  color: var(--muted);
  font-size: 12px;
}

.chat-attach-text.error {
  color: #ffb4b4;
}

.chat-avatar .chat-online {
  display: none;
}

.chat-image {
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  box-sizing: border-box;
  align-self: stretch;
}
.chat-image {
  cursor: zoom-in;
}

#chat-image-overlay {
  padding: 16px;
  z-index: 2000;
}
#chat-image-overlay img {
  max-width: min(96vw, 960px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
#chat-image-overlay .modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

.chat-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.admin-page {
  padding: 32px 24px 64px;
}

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

.admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.admin-kpi {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-kpi-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.admin-kpi-value {
  font-size: 26px;
  font-weight: 700;
  margin: 6px 0 4px;
}

.admin-kpi-sub {
  font-size: 12px;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.admin-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(18, 12, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.admin-card-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.admin-card-head p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form .field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form textarea,
.admin-form input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
}

.admin-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-inline input[readonly] {
  opacity: 0.9;
}

.admin-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.admin-tools-grid {
  display: grid;
  gap: 12px;
}

.admin-tool-title {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.admin-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.admin-ref-result {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}

.admin-ref-result .muted {
  color: var(--muted);
}

.admin-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-upload-status {
  font-size: 12px;
  color: var(--muted);
}

.admin-table {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-row.new {
  border-color: rgba(255, 170, 90, 0.5);
  background: rgba(255, 170, 90, 0.12);
}

.admin-row.paid {
  border-color: rgba(120, 255, 180, 0.35);
  background: rgba(120, 255, 180, 0.12);
}

.admin-row-user {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 600;
}

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

.admin-avatar-fallback {
  font-size: 14px;
  text-transform: uppercase;
}

.admin-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #1b0f14;
  background: linear-gradient(120deg, #ffb26a, #ff7b9b);
}

.admin-paid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #0f2a19;
  background: linear-gradient(120deg, #a8f3c6, #7ddfa4);
}

.admin-row-title {
  font-weight: 600;
}

.admin-row-sub {
  font-size: 12px;
  color: var(--muted);
}

.copyable {
  cursor: pointer;
  user-select: text;
}

.copyable:hover {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}

.copyable.copied {
  color: rgba(120, 255, 180, 0.95);
  text-decoration: none;
}

.admin-row-meta {
  text-align: right;
  font-size: 13px;
}

.admin-row-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-link {
  font-size: 12px;
  color: #ffb3b3;
}

.admin-empty {
  font-size: 13px;
  color: var(--muted);
}

.chat-reactions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.chat-reaction {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
}

.chat-reaction.active {
  background: rgba(255, 255, 255, 0.24);
}

.chat-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.chat-action {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.chat-typing {
  padding: 0 20px 10px;
  color: var(--muted);
  font-size: 12px;
}

.chat-reply {
  margin: 0 20px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-reply[hidden] {
  display: none;
}

.chat-reply-text {
  font-size: 12px;
  color: var(--muted);
}

.chat-reply-close {
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-input-field {
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.chat-upload,
.chat-emoji {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
}

.chat-poll-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
}

.poll-options {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.poll-option-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.poll-option-row input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 14px;
}

.poll-option-remove {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.chat-poll {
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.chat-poll-question {
  font-weight: 600;
  font-size: 14px;
}

.chat-poll-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  cursor: zoom-in;
}

.chat-poll-options {
  display: grid;
  gap: 8px;
}

.chat-poll-option {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
}

.chat-poll-option-text {
  flex: 1;
  text-align: left;
}

.chat-poll-option.selected {
  border-color: rgba(255, 179, 107, 0.7);
  background: rgba(255, 179, 107, 0.2);
}

.chat-poll-option.leading {
  border-color: rgba(120, 255, 180, 0.5);
  background: rgba(120, 255, 180, 0.16);
}

.chat-poll-option-count {
  font-weight: 600;
}

.chat-poll-total {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

.chat-emoji-panel {
  padding: 8px 16px 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 1;
}

.chat-emoji-panel button {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px 8px;
  cursor: pointer;
}

.chat-action-sheet {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 18, 0.6);
  display: grid;
  place-items: center;
  z-index: 200;
}

.chat-action-sheet[hidden] {
  display: none;
}

.chat-action-card {
  width: min(360px, 90vw);
  background: rgba(20, 22, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.chat-action-btn {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.chat-action-btn.danger {
  background: rgba(255, 77, 109, 0.18);
}

@media (max-width: 720px) {
  .chat-panel {
    width: 94vw;
    height: 88vh;
  }

  .chat-body {
    padding: 14px 14px 18px;
  }

  .chat-bubble {
    max-width: 90vw;
  }

  .chat-input {
    grid-template-columns: 1fr auto auto auto;
  }

  .chat-input .btn {
    grid-column: span 4;
  }
}
