:root {
  --bg: #f4f7fb;
  --ink: #1a2430;
  --muted: #5b6b7a;
  --line: rgba(26, 36, 48, 0.1);
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --warm: #fff5e8;
  --cool: #edf7ff;
  --orange: #f49753;
  --blue: #4f8dd7;
  --shadow-xl: 0 28px 64px rgba(18, 35, 56, 0.14);
  --shadow-lg: 0 18px 40px rgba(18, 35, 56, 0.1);
  --shadow-md: 0 10px 24px rgba(18, 35, 56, 0.08);
  --radius-xxl: 40px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --page-width: 1300px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 219, 169, 0.85), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(184, 224, 255, 0.88), transparent 30%),
    linear-gradient(180deg, #fef8ee 0%, #f6f8fb 30%, #edf5fb 100%);
  background-attachment: fixed;
}

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

button {
  font: inherit;
}

.page {
  width: min(var(--page-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 88px;
}

.hero {
  position: relative;
  min-height: 760px;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-xl);
  background: var(--surface-strong);
}

.hero-track {
  position: relative;
  min-height: 760px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
  background: #102136;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 28, 43, 0.68) 0%, rgba(14, 28, 43, 0.42) 48%, rgba(14, 28, 43, 0.16) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 760px;
  max-width: 840px;
  padding: 88px 64px 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #f8fbff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  backdrop-filter: blur(8px);
}

.hero h1,
.hero h2 {
  margin: 18px 0 0;
  font-family: "Noto Serif SC", serif;
  color: #ffffff;
  font-size: clamp(3.1rem, 6.2vw, 5.9rem);
  line-height: 1.01;
  letter-spacing: -0.03em;
  font-weight: 900;
  text-wrap: balance;
}

.hero-focus {
  margin: 20px 0 0;
  color: #f9f1dd;
  font-size: clamp(1.28rem, 2.1vw, 1.94rem);
  font-weight: 700;
}

.hero-sub {
  margin: 14px 0 0;
  color: rgba(235, 246, 255, 0.94);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 34rem;
}

.hero-meta {
  margin: 16px 0 0;
  color: rgba(241, 249, 255, 0.92);
  font-size: 0.96rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 56px;
  padding: 10px 26px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff9a4a 0%, #ff7c35 100%);
  box-shadow: 0 12px 26px rgba(255, 123, 51, 0.36);
}

.cta-btn-secondary {
  color: #14314a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(11, 34, 55, 0.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.cta-btn-telegram {
  color: #fff;
  background: linear-gradient(135deg, #2fa3e7 0%, #278ad7 100%);
  box-shadow: 0 10px 24px rgba(39, 138, 215, 0.34);
}

.hero-controls {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-arrow {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #2c4d68;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.hero-arrow:hover {
  transform: translateY(-1px);
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 72, 98, 0.34);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.hero-dot.is-active {
  width: 28px;
  background: #295579;
}

.section {
  position: relative;
  margin-top: 36px;
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-passport::before {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 217, 167, 0.42), transparent 24%),
    linear-gradient(180deg, rgba(255, 249, 238, 0.95) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.section-route::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(180, 226, 255, 0.42), transparent 24%),
    linear-gradient(180deg, rgba(241, 250, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.section-schedule::before,
.section-reminder::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 252, 255, 0.9) 100%);
}

.section-registration::before {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 216, 167, 0.4), transparent 24%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.94) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.section-packing::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(180, 226, 255, 0.42), transparent 24%),
    linear-gradient(180deg, rgba(241, 250, 255, 0.94) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.section-deadline::before {
  background:
    linear-gradient(180deg, rgba(255, 243, 224, 0.95) 0%, rgba(255, 252, 245, 0.92) 100%);
}

.section-footer-cta::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 205, 141, 0.38), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(173, 216, 255, 0.35), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.95) 0%, rgba(245, 251, 255, 0.93) 100%);
}

.section-head {
  margin-bottom: 28px;
}

.section-label {
  margin: 0 0 8px;
  color: #8c745b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-head h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.15;
}

.feature-grid,
.route-grid,
.registration-grid,
.packing-grid,
.reminder-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-grid-single,
.packing-grid-single {
  grid-template-columns: 1fr;
}

.photo-card,
.info-card,
.table-card,
.photo-strip,
.packing-list-wrap,
.deadline-card,
.reminder-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.photo-card {
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card.tall {
  min-height: 560px;
}

.feature-content {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 26px 28px;
}

.info-card h3,
.table-card h3 {
  margin: 0 0 12px;
  font-size: 1.26rem;
  font-weight: 800;
}

.info-card p,
.reminder-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.85;
}

.passport-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 252, 255, 0.96) 100%);
}

.passport-meta {
  margin-top: 16px;
}

.passport-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(41, 73, 104, 0.12);
  background: #fff;
}

.passport-shot img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.visa-link {
  margin: 12px 0 0;
}

.visa-link a {
  color: #1f6aac;
  font-weight: 700;
  text-decoration: none;
}

.visa-link a:hover {
  text-decoration: underline;
}

.passport-checklist {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.passport-checklist li {
  position: relative;
  padding-left: 20px;
  color: #486075;
  line-height: 1.75;
}

.passport-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, #71a9dd 0%, #4f8dd7 100%);
}

.visa-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
}

.visa-options span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(232, 243, 255, 0.96);
  border: 1px solid rgba(79, 141, 215, 0.2);
  color: #245176;
  font-size: 0.86rem;
  font-weight: 700;
}

.list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.list li {
  position: relative;
  padding-left: 18px;
  color: #455869;
  line-height: 1.82;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.route-arrival .list li::before {
  background: var(--orange);
}

.route-departure .list li::before {
  background: var(--blue);
}

.photo-strip {
  margin: 0 0 24px;
  padding: 16px;
  background: var(--surface-strong);
}

.photo-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.schedule-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-md);
  background: #16304a;
}

.schedule-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.schedule-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 33, 47, 0.14) 28%, rgba(18, 33, 47, 0.76) 100%);
}

.schedule-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
}

.schedule-text span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(242, 248, 255, 0.9);
}

.schedule-text strong {
  font-size: 1.28rem;
}

.table-card {
  padding: 26px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(26, 36, 48, 0.08);
}

th {
  background: #f8f2e8;
  color: #4f5f6d;
  font-size: 0.92rem;
  font-weight: 800;
}

tbody tr:nth-child(even) td {
  background: rgba(247, 251, 254, 0.9);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.payment-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 238, 213, 0.92);
  color: #864b1f;
  line-height: 1.7;
  font-weight: 700;
}

.packing-list-wrap {
  padding: 20px;
}

.packing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.packing-list li {
  min-height: 128px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 36, 48, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.item-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4f8dd7 0%, #2f6cae 100%);
  color: #f5fbff;
  font-size: 1.25rem;
  box-shadow: 0 8px 16px rgba(46, 97, 152, 0.26);
}

.item-body strong {
  display: block;
  margin-bottom: 6px;
  color: #1f3244;
  font-size: 1.08rem;
}

.item-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.packing-photos {
  display: grid;
  gap: 16px;
}

.packing-photos .photo-card {
  min-height: 280px;
}

.deadline-card {
  margin: 0;
  padding: 28px 32px;
}

.deadline-card p {
  margin: 0;
  color: #8b683f;
  font-weight: 700;
}

.deadline-card strong {
  display: block;
  margin-top: 6px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.deadline-card-inline {
  margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(255, 247, 231, 0.95) 0%, rgba(255, 253, 247, 0.95) 100%);
}

.deadline-card-inline strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.reminder-photo {
  min-height: 420px;
}

.reminder-card {
  padding: 30px;
}

.warning {
  width: fit-content;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 241, 219, 0.95);
  color: #8f5324;
  font-weight: 800;
}

.priority {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(233, 246, 255, 0.95);
  color: #255a83;
}

.contact {
  margin-bottom: 0;
  font-weight: 700;
}

.footer-cta {
  text-align: center;
}

.footer-cta h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.2;
}

.footer-cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta-btn-large {
  min-width: 220px;
  min-height: 60px;
  font-size: 1.08rem;
}

@media (max-width: 1120px) {
  .section {
    padding: 34px;
  }

  .feature-grid,
  .route-grid,
  .registration-grid,
  .packing-grid,
  .reminder-layout {
    grid-template-columns: 1fr;
  }

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

  .photo-card.tall {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .page {
    width: min(var(--page-width), calc(100% - 20px));
    padding: 16px 0 44px;
  }

  .hero {
    min-height: 700px;
    border-radius: 24px;
  }

  .hero-track {
    min-height: 700px;
  }

  .hero-content {
    min-height: 700px;
    padding: 56px 20px 94px;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.85rem;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 10px;
  }

  .cta-btn {
    min-width: 150px;
    min-height: 48px;
    font-size: 0.94rem;
    padding: 8px 18px;
  }

  .hero-controls {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }

  .hero-dots {
    gap: 8px;
    padding: 8px 12px;
  }

  .section {
    margin-top: 20px;
    padding: 20px;
    border-radius: 20px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .schedule-grid,
  .packing-list {
    grid-template-columns: 1fr;
  }

  .photo-strip img {
    height: 210px;
  }

  .schedule-card {
    min-height: 190px;
  }

  .packing-photos .photo-card {
    min-height: 200px;
  }

  .reminder-photo {
    min-height: 260px;
  }

  .info-card,
  .table-card,
  .packing-list-wrap,
  .reminder-card,
  .deadline-card {
    padding: 18px;
  }

  .footer-cta-actions {
    justify-content: flex-start;
  }

  .cta-btn-large {
    width: 100%;
  }

  th,
  td {
    padding: 11px 10px;
    font-size: 0.92rem;
  }
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.support-modal.is-hidden {
  display: none;
}

.support-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 36, 0.58);
  backdrop-filter: blur(2px);
}

.support-modal-card {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(180deg, #fefefe 0%, #f4f9ff 100%);
  box-shadow: 0 28px 58px rgba(8, 24, 40, 0.34);
  padding: 18px;
}

.support-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.support-modal-head h3 {
  margin: 8px 0 0;
  font-size: 1.36rem;
  color: #1e3552;
}

.support-modal-head p {
  margin: 8px 0 0;
  color: #4f6377;
  line-height: 1.6;
}

.support-modal-head small {
  display: inline-block;
  margin-top: 8px;
  color: #5f7592;
  font-weight: 700;
}

.support-modal-badge {
  display: inline-flex;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #2d5c96;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.support-context {
  margin: 10px 0 0;
  color: #4d6481;
  font-size: 12px;
  line-height: 1.5;
}

.support-close {
  border: 0;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 26px;
  line-height: 1;
  color: #344f6e;
  background: #edf4ff;
  cursor: pointer;
}

.support-telegram-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-intro {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d6e4f4;
  background: #f8fbff;
}

.support-intro strong {
  display: block;
  color: #1d3f63;
  font-size: 14px;
}

.support-intro p {
  margin: 6px 0 0;
  color: #456280;
  font-size: 13px;
  line-height: 1.6;
}

.support-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d5e2f2;
  background: #fff;
  color: #1f4060;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.support-link-btn-ghost {
  background: #eff5ff;
}

.support-form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.support-gate {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d6e4f4;
  background: #f8fbff;
  display: grid;
  gap: 10px;
}

.support-gate.is-hidden {
  display: none;
}

.support-gate-title {
  margin: 0;
  color: #1d3f63;
  font-size: 15px;
  font-weight: 800;
}

.support-gate-desc {
  margin: -2px 0 2px;
  color: #4d6481;
  font-size: 13px;
}

.support-gate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.support-gate-grid label {
  display: grid;
  gap: 6px;
}

.support-gate-grid span {
  color: #46607d;
  font-size: 13px;
  font-weight: 700;
}

.support-gate-grid input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #c8d8ea;
  border-radius: 10px;
  background: #fff;
  color: #1f3550;
  font: inherit;
}

.support-gate-grid input:focus {
  outline: none;
  border-color: #5d93d6;
  box-shadow: 0 0 0 3px rgba(93, 147, 214, 0.16);
}

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

.support-form.is-hidden {
  display: none;
}

.support-profile-chip {
  display: inline-flex;
  margin-top: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf6ff;
  color: #2b537d;
  font-size: 12px;
  font-weight: 700;
}

.support-profile-chip.is-hidden {
  display: none;
}

.support-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.support-contact-grid-single {
  grid-template-columns: 1fr;
}

.support-contact-grid label,
.support-message-input {
  display: grid;
  gap: 6px;
}

.support-contact-grid span,
.support-message-input span {
  color: #46607d;
  font-size: 13px;
  font-weight: 700;
}

.support-contact-grid input,
.support-message-input textarea {
  width: 100%;
  border: 1px solid #c8d8ea;
  border-radius: 10px;
  background: #fff;
  color: #1f3550;
  font: inherit;
}

.support-contact-grid input {
  min-height: 40px;
  padding: 8px 10px;
}

.support-message-input textarea {
  min-height: 94px;
  resize: vertical;
  padding: 10px;
}

.support-contact-grid input:focus,
.support-message-input textarea:focus {
  outline: none;
  border-color: #5d93d6;
  box-shadow: 0 0 0 3px rgba(93, 147, 214, 0.16);
}

.support-chat-box {
  border: 1px solid #d5e2f2;
  border-radius: 10px;
  background: #ffffff;
  min-height: 170px;
  max-height: 300px;
  overflow: auto;
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.support-empty {
  color: #627992;
  font-size: 13px;
}

.support-msg {
  border-radius: 10px;
  padding: 8px;
}

.support-msg.user {
  background: #f3f8ff;
  border: 1px solid #d6e3f7;
}

.support-msg.admin {
  background: #eefcf5;
  border: 1px solid #cde7d8;
}

.support-msg.system {
  background: #fff8ea;
  border: 1px solid #f1ddba;
}

.support-msg header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.support-msg header strong {
  color: #1e3f63;
  font-size: 12px;
}

.support-msg header time {
  color: #617a97;
  font-size: 11px;
}

.support-msg p {
  margin: 0;
  color: #334b69;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}

.support-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.support-send {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: linear-gradient(135deg, #ff9448 0%, #ff7f35 100%);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.support-send-ghost {
  background: #ecf2fd;
  border: 1px solid #d3e0f4;
  color: #2c4b6a;
}

.support-send:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.support-tip {
  margin: 0;
  color: #5f7692;
  font-size: 12px;
}

.support-tip.error {
  color: #b24a2a;
}

@media (max-width: 860px) {
  .support-modal-card {
    padding: 12px;
  }

  .support-contact-grid {
    grid-template-columns: 1fr;
  }

  .support-gate-grid {
    grid-template-columns: 1fr;
  }

  .support-actions {
    flex-direction: column;
  }

  .support-send,
  .support-link-btn {
    width: 100%;
  }
}
