:root {
  --bg: #070708;
  --card: #141416;
  --card-2: #1b1b1f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f6;
  --muted: #9b9ba4;
  --green: #3dde6a;
  --green-2: #2fc85a;
  --pink: #ff4d9a;
  --yellow: #f0c14b;
  --purple: #b388ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --nav-h: 58px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid rgba(61, 222, 106, 0.85);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

.glow {
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% -10%, rgba(32, 120, 64, 0.45), transparent 70%);
  z-index: 0;
}
body.home .glow { height: 280px; opacity: 0.7; }
body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.home .hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
}
body.modal-open { overflow: hidden; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1120px, calc(100% - 24px));
  margin: 14px auto 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: var(--nav-h);
  padding: 6px 8px 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.logo {
  font-weight: 700;
  letter-spacing: -0.03em;
  padding-right: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #d7d7dc;
  font-size: 14.5px;
}
.nav-links a.active,
.nav-links a:hover { background: #2a2a2e; color: white; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.bot-link, .login-btn, .menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #1a1a1e;
  color: white;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bot-link { flex: 0 0 auto; min-width: 132px; justify-content: center; }
.bot-link .dot {
  position: static;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2aabee;
  font-size: 11px;
  flex: 0 0 auto;
}
.login-btn {
  background: var(--green);
  color: #06210f;
  border-color: transparent;
  font-weight: 700;
}
.login-btn:hover { background: #57ea80; }
.menu-btn { display: none; width: 42px; justify-content: center; padding: 0; }

.hero {
  text-align: center;
  padding: 64px 16px 28px;
}
.home .hero { padding-top: 9vh; }
.badge {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(8deg);
}
h1 {
  display: inline-block;
  position: relative;
  max-width: 100%;
  margin: 0;
  padding-top: 30px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: #c6c6cc;
  font-size: 16px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.calc {
  width: min(440px, 100%);
  margin: 28px auto 40px;
  padding: 14px;
  text-align: left;
}
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: #101012;
}
.modes button {
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #bdbdc6;
}
.modes button.active { background: #2a2a2e; color: white; }
.field {
  position: relative;
  background: #121214;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px 14px;
}
.coin-menu {
  position: absolute;
  right: 12px;
  top: 62px;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 168px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #1c1c20;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.coin-menu[hidden] { display: none; }
.coin-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 6px 8px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
}
.coin-menu button:hover,
.coin-menu button.active { background: rgba(61, 222, 106, 0.12); }
.coin-menu .mark {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dde6a;
  box-shadow: 0 0 0 3px rgba(61, 222, 106, 0.2);
  opacity: 0;
}
.coin-menu button.active .mark { opacity: 1; }
.field label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}
.field-row { display: flex; align-items: center; gap: 10px; }
.field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.field-row input { flex: 1 1 auto; width: 0; }
.field input::placeholder { color: #5e5e66; }
.chip, .coin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #222226;
  white-space: nowrap;
}
.coin { width: 24px; height: 24px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.coin svg { width: 24px; height: 24px; display: block; }
.swap-wrap { display: grid; place-items: center; height: 0; position: relative; z-index: 2; }
.swap {
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  border: 4px solid #101012;
  background: #2a2a2e;
  color: white;
  display: grid;
  place-items: center;
  padding: 0;
}
.swap svg { display: block; }
.wallet { margin-top: 10px; }
.wallet input { font-size: 16px; font-weight: 500; letter-spacing: 0; color: #d0d0d6; }
.wallet input::placeholder { color: #6f6f78; }
.operator {
  width: 100%;
  margin-top: 10px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #1a1a1e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
.operator:hover { background: #242428; }
.hint {
  margin: 12px 0 4px;
  text-align: center;
  color: #8d8d96;
  font-size: 13px;
}
.hint button {
  border: 0;
  background: none;
  color: #cfcfd6;
  text-decoration: underline;
  padding: 0;
}
.rate-note {
  margin: 10px 0 0;
  text-align: center;
  color: #6e6e76;
  font-size: 12px;
}

.page { padding-bottom: 40px; }
.panel {
  width: min(860px, calc(100% - 32px));
  margin: 8px auto 28px;
  padding: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.panel-head .sub { margin-bottom: 0; }
.panel h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.04em; }
.sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.1fr;
  gap: 10px;
  align-items: center;
}
.stat {
  background: #101012;
  border-radius: 18px;
  padding: 16px;
  min-height: 118px;
}
.stat span, .stat small { display: block; color: var(--muted); font-size: 13px; }
.stat strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 34px;
  letter-spacing: -0.04em;
}
.op { color: var(--muted); font-size: 22px; text-align: center; }
.balance-pill {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin: 4px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #101012;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.balance-pill b { color: white; }

.tiers { margin-top: 18px; overflow-x: auto; padding-bottom: 4px; }
.tier-track {
  display: grid;
  grid-template-columns: repeat(9, minmax(56px, 1fr));
  gap: 6px;
  align-items: end;
  height: 120px;
  min-width: 540px;
}
.tier {
  border: 0;
  border-radius: 10px 10px 6px 6px;
  background: #2a2a2e;
  color: #9a9aa2;
  font-size: 11px;
  padding-bottom: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tier.active { background: var(--pink); color: white; }
.tier-labels {
  display: grid;
  grid-template-columns: repeat(9, minmax(56px, 1fr));
  gap: 6px;
  margin-top: 6px;
  min-width: 540px;
  color: #7d7d86;
  font-size: 11px;
  text-align: center;
}
input[type="range"] {
  width: 100%;
  margin: 14px 0 8px;
  accent-color: var(--pink);
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #67f58f, var(--green));
  color: #06210f;
  font-weight: 700;
  font-size: 16px;
}
.cta:hover { filter: brightness(1.05); }
.cta.inline { width: auto; height: 40px; padding: 0 16px; font-size: 14px; }

.bonus-list { display: grid; gap: 10px; }
.bonus {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  text-align: left;
  border: 1px solid var(--line);
  background: #121214;
  border-radius: 16px;
  padding: 14px 16px;
}
.bonus b { font-size: 18px; }
.bonus::after {
  content: "+";
  margin-left: auto;
  color: #8d8d96;
  font-size: 20px;
  line-height: 1;
}
.bonus.open::after { content: "–"; }
.bonus p { flex-basis: 100%; margin: 0; color: var(--muted); display: none; }
.bonus.open p { display: block; }
.group-title { margin: 22px 0 10px; font-size: 18px; }

.rewards {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.reward {
  border: 0;
  border-radius: 22px;
  min-height: 150px;
  padding: 16px;
  text-align: left;
  color: #111;
  position: relative;
  overflow: hidden;
}
.reward small { display: block; font-size: 12px; letter-spacing: 0.08em; font-weight: 700; opacity: 0.75; }
.reward strong { display: block; margin: 18px 0 8px; font-size: 40px; letter-spacing: -0.05em; }
.reward span { font-size: 14px; font-weight: 600; }
.stripes {
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.16) 0 8px, transparent 8px 16px);
}
.g { background-color: #3dde73; color: #06210f; }
.stat-card.g strong, .stat-card.g span, .stat-card.g em { color: #06210f; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.panel.numbers { width: min(980px, calc(100% - 32px)); }
.cta.pink { background: #ff4d9a; color: white; }
.pink-word { color: #ff4d9a; }
.p { background-color: #ff4f9a; color: white; }
.y { background-color: #f2c94c; color: #241c04; }
.v { background-color: #c4a3ff; color: #1c1230; }
.w { background-color: #f4f4f5; color: #141416; }

.steps {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 18px;
}
.shaggy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.who { display: flex; gap: 10px; align-items: center; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #ffb45a; color: #3a2208; font-weight: 800;
}
.who b { display: block; }
.who span { color: var(--muted); font-size: 13px; }
.progress { color: var(--muted); font-size: 13px; }
.step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.step { text-align: center; color: var(--muted); font-size: 13px; }
.step i {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 8px;
  background: #2a2a2e;
  color: white;
  font-style: normal;
  font-weight: 700;
}
.step.now i { background: white; color: black; }
.tabs {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 18px;
  background: #121214;
  border: 1px solid var(--line);
}
.tabs button {
  border: 0;
  background: transparent;
  color: #c8c8d0;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
}
.tabs button.active { background: var(--green); color: #06210f; font-weight: 700; }
.rules {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 8px 22px 18px;
}
.rules li { margin: 10px 0; color: #d5d5db; }

.offers {
  width: min(980px, calc(100% - 32px));
  margin: 10px auto 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.offer {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  width: min(100%, 310px);
  flex: 1 1 280px;
  max-width: 320px;
}
.offer-top {
  margin: 10px;
  border-radius: 18px;
  min-height: 128px;
  padding: 16px;
  position: relative;
}
.offer-top b { display: block; margin-top: 28px; font-size: 42px; letter-spacing: -0.05em; line-height: 0.9; }
.offer-top small { letter-spacing: 0.06em; font-size: 12px; font-weight: 700; }
.offer-body { padding: 6px 18px 18px; }
.offer-body h3 { margin: 0 0 8px; font-size: 18px; }
.offer-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.more { font-weight: 700; font-size: 14px; }
.more.g { color: var(--green); background: none; }
.more.p { color: var(--pink); background: none; }
.more.y { color: var(--yellow); background: none; }
.more.v { color: #c9a7ff; background: none; }

.stats {
  width: min(980px, calc(100% - 32px));
  margin: 10px auto;
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 14px;
}
.stat-card { padding: 18px; min-height: 180px; }
.stat-card em { font-style: normal; color: rgba(0,0,0,0.55); font-size: 12px; letter-spacing: 0.08em; font-weight: 700; }
.stat-card strong { display: block; margin-top: 36px; font-size: 40px; letter-spacing: -0.05em; }
.promo { padding: 18px; display: grid; grid-template-columns: 1fr 120px; gap: 8px; align-items: center; }
.promo small { color: var(--muted); letter-spacing: 0.04em; font-size: 12px; }
.promo strong { display: block; font-size: 34px; letter-spacing: -0.04em; }
.promo p { margin: 4px 0 12px; color: #d0d0d6; }
.wheel {
  width: 108px; height: 108px; border-radius: 50%;
  background: conic-gradient(#ff4d9a 0 40deg, #2a2a2e 0 80deg, #ff4d9a 0 120deg, #2a2a2e 0 160deg, #ff4d9a 0 200deg, #2a2a2e 0 240deg, #ff4d9a 0 280deg, #2a2a2e 0 320deg, #ff4d9a 0 360deg);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 10px #141416;
}
.wheel span {
  width: 46px; height: 46px; border-radius: 12px;
  background: #ff4d9a; display: grid; place-items: center; font-size: 22px;
}
.net { width: 110px; height: 110px; position: relative; }
.dot {
  position: absolute; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.dot.me { width: 42px; height: 42px; background: var(--green); color: #06210f; left: 34px; top: 34px; }
.dot.a { background: #3b82f6; left: 40px; top: 0; }
.dot.b { background: #f59e0b; left: 78px; top: 28px; }
.dot.c { background: #a78bfa; left: 70px; top: 74px; }
.dot.d { background: #fb7185; left: 8px; top: 74px; }
.dot.e { background: #22c55e; left: 0; top: 28px; }

.reviews { width: min(1100px, 100%); margin: 34px auto 10px; overflow: hidden; }
.reviews h2 { text-align: center; font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.045em; }
.marquee { display: flex; gap: 12px; width: max-content; animation: slide 40s linear infinite; margin: 14px 0; }
.marquee.reverse { animation-direction: reverse; }
.quote {
  width: 280px;
  padding: 16px;
  border-radius: 18px;
  background: #141416;
  border: 1px solid var(--line);
  color: #dedee4;
  font-size: 14px;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.footer {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 20px auto 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.footer strong { color: white; display: block; margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.footer a:hover { color: white; }
.legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.seo {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin: 8px auto 12px;
  color: var(--muted);
}
.seo h2 { color: white; font-size: 22px; margin: 22px 0 8px; }
.seo p { margin: 0 0 12px; }
.seo a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.faq { display: grid; gap: 8px; }
.faq details {
  background: #141416;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.faq summary { color: white; cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.78);
  display: grid;
  place-items: center;
  padding: 20px;
}
.dialog {
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 24px;
  background: #161618;
  border: 1px solid var(--line);
}
.dialog h2 { margin: 0 0 8px; font-size: 28px; }
.dialog p { color: var(--muted); margin: 0 0 16px; }
.dialog .cta { display: grid; place-items: center; }
.close {
  margin-top: 8px;
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #bdbdc6;
}

.menu-panel {
  display: none;
  position: relative;
  z-index: 19;
  margin: 8px auto 0;
  width: min(1120px, calc(100% - 24px));
  padding: 10px;
  border-radius: 20px;
  background: #141416;
  border: 1px solid var(--line);
}
.menu-panel a, .menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: white;
  padding: 12px;
  border-radius: 12px;
}
.menu-panel a.active, .menu-panel a:hover, .menu-panel button:hover { background: #2a2a2e; }
.menu-panel.open { display: block; }

@media (max-width: 900px) {
  .nav-links, .bot-link { display: none; }
  .menu-btn { display: inline-flex; }
  .formula, .rewards, .stats, .footer { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .step-row { grid-template-columns: 1fr 1fr; }
  .promo { grid-template-columns: 1fr; }
  .offer { flex-basis: 100%; max-width: none; }
  .panel-head { flex-direction: column; }
  .balance-pill { white-space: normal; }
  .home .hero { padding-top: 24px; }
  .badge { top: 0; right: 0; }
  .op { display: none; }
  .stat strong { font-size: 28px; }
}
@media (max-width: 560px) {
  .step-row, .rewards { grid-template-columns: 1fr; }
}

.form-error, .dialog p.form-error {
  margin: 8px 4px 0;
  color: #ff8da7;
  font-size: 13px;
  text-align: center;
}
.form-error[hidden] { display: none; }
#calc .cta { margin-top: 12px; }
.code-input, .composer input {
  width: 100%;
  height: 48px;
  margin-bottom: 12px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #101012;
  outline: none;
}
.code-box {
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 14px;
  background: #101012;
  border: 1px solid var(--line);
  text-align: center;
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.warn, .dialog p.warn { color: #ff8da7; font-size: 13px; }

.chat-page { padding: 18px 16px 24px; }
.chat-layout {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.order-card { padding: 18px; position: relative; overflow: hidden; }
.order-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: var(--green);
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.pill.buy { background: #143322; color: #7dffa8; }
.pill.wait { background: #3a2e12; color: #f0c14b; }
.pill.bad { background: #3a1720; color: #ff8da7; }
.eyebrow { margin: 0; color: var(--muted); font-size: 13px; }
.order-code {
  margin: 6px 0 14px;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -0.04em;
  word-break: break-all;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #101012;
}
.kv span { color: var(--muted); }
.kv b { text-align: right; word-break: break-all; white-space: pre-wrap; font-weight: 600; }
.order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ghost {
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #17171a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ghost:hover { background: #222226; }
.ghost:disabled { opacity: 0.55; cursor: default; }
.thread { display: grid; gap: 10px; }
.bubble {
  padding: 14px 16px;
  border-radius: 18px;
  background: #161618;
  border: 1px solid var(--line);
}
.bubble .who { display: block; margin-bottom: 6px; color: #8d8d96; font-size: 13px; }
.bubble p { margin: 0; white-space: pre-wrap; }
.bubble .time { display: block; margin-top: 8px; color: #6e6e76; font-size: 12px; }
.bubble.client { background: #102216; }
.bubble.typing p { display: flex; gap: 5px; align-items: center; height: 18px; }
.bubble.typing p span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8d8d96;
  animation: typing 1.1s infinite ease-in-out;
}
.bubble.typing p span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing p span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.composer {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #141416;
}
.composer input { margin: 0; }
.composer button {
  width: 46px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #d7d7dc;
  font-size: 20px;
}
.empty-note { color: var(--muted); text-align: center; }
