:root {
  --brand: #0b6e63;
  --brand-dark: #08554d;
  --accent: #e8891a;
  --accent-hot: #ff6a1a;
  --ink: #12181f;
  --muted: #5b6775;
  --line: #e4ebe8;
  --bg: #f3f6f5;
  --panel: #ffffff;
  --panel-2: #f7faf9;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

.dark {
  --ink: #ecf2f0;
  --muted: #9aa8b5;
  --line: #24303a;
  --bg: #0b1117;
  --panel: #121a22;
  --panel-2: #0f1720;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.app-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(4.75rem + var(--safe-bottom));
}

body.app-body.has-support-bar {
  padding-bottom: calc(7.25rem + var(--safe-bottom));
}

body.app-body.auth-page {
  padding-bottom: var(--safe-bottom);
}

@media (min-width: 768px) {
  body.app-body,
  body.app-body.has-support-bar { padding-bottom: 0; }
}

.font-display { font-family: "Space Grotesk", "Manrope", sans-serif; }

.gradient-text {
  background: linear-gradient(120deg, #0b6e63, #e8891a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rise-in { animation: riseIn 0.45s ease both; }
.rise-in-delay-1 { animation-delay: 0.06s; }
.rise-in-delay-2 { animation-delay: 0.12s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel,
.surface {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-link {
  padding: 0.45rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-link:hover { color: var(--brand); background: rgba(11, 110, 99, 0.08); text-decoration: none; }
.nav-link.active { color: var(--brand); background: rgba(11, 110, 99, 0.12); }

.btn-primary {
  background: var(--brand);
  color: #fff !important;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font-weight: 700;
}

.input-field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  font-size: 16px; /* prevent iOS zoom */
}
.input-field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 110, 99, 0.15);
}

/* Bottom tab bar — phone */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.15rem;
  padding: 0.45rem 0.4rem calc(0.45rem + var(--safe-bottom));
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem 0.2rem;
  border-radius: 0.65rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.bottom-nav a svg { width: 1.2rem; height: 1.2rem; }
.bottom-nav a.active {
  color: var(--brand);
  background: rgba(11, 110, 99, 0.1);
}
@media (min-width: 768px) {
  .bottom-nav { display: none; }
}

/* Horizontal snap scroll */
.h-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 1rem 0.75rem;
  margin: 0 -1rem;
  scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}
.h-card {
  width: min(78vw, 17.5rem);
}
@media (min-width: 768px) {
  .h-scroll {
    margin: 0;
    padding: 0.15rem 0 0.5rem;
    gap: 1rem;
  }
  .h-card { width: 15.5rem; }
}

.section-pad {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .section-pad { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .section-pad { padding-left: 2rem; padding-right: 2rem; }
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #0d3f3a;
  color: #fff;
  min-height: 220px;
}
.hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-slide {
  min-width: 100%;
  padding: 1.35rem 1.25rem 3.2rem;
}
@media (min-width: 640px) {
  .hero-slide { padding: 1.75rem 1.75rem 3.4rem; }
  .hero-slider { min-height: 250px; }
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.hero-dots button {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}
.hero-dots button.active {
  width: 1.15rem;
  background: #fff;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: none;
  place-items: center;
}
@media (min-width: 768px) {
  .hero-nav { display: grid; }
}
.hero-nav.prev { left: 0.65rem; }
.hero-nav.next { right: 0.65rem; }

/* Marquee ticker */
.ticker-head {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-left: 0.15rem;
}
.ticker {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 2rem;
  padding: 0.55rem 0;
  animation: tickerMove 28s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.ticker-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--brand);
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Tip / feature slides */
.tip-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
.tip-track {
  display: flex;
  transition: transform 0.45s ease;
}
.tip-slide {
  min-width: 100%;
  padding: 1.1rem 1.15rem;
}

/* Random float bits */
.float-bit {
  animation: floatY 4.5s ease-in-out infinite;
}
.float-bit.d2 { animation-delay: 0.7s; animation-duration: 5.2s; }
.float-bit.d3 { animation-delay: 1.3s; animation-duration: 3.8s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.pulse-soft {
  animation: pulseSoft 2.4s ease-in-out infinite;
}
@keyframes pulseSoft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.support-fab {
  position: fixed;
  right: 0.75rem;
  left: auto;
  bottom: calc(4.85rem + var(--safe-bottom));
  z-index: 50;
  width: auto;
  max-width: calc(100vw - 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2ab3f1 0%, #229ed9 55%, #1c8fc9 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 14px 30px -8px rgba(34, 158, 217, 0.65),
    0 2px 8px rgba(0, 0, 0, 0.22);
  animation: fabPop 0.45s ease both, fabFloat 4.6s ease-in-out 0.7s infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.support-fab:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  animation-play-state: paused;
  box-shadow:
    0 20px 40px -8px rgba(34, 158, 217, 0.8),
    0 3px 10px rgba(0, 0, 0, 0.25);
}
.support-fab:active { transform: translateY(0); }

.support-fab .fab-tg {
  position: relative;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.support-fab .fab-tg svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #229ed9;
  fill: #229ed9;
  margin-left: -1px; /* optical centering of the paper-plane */
}
/* pulsing online ring */
.support-fab .fab-tg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: fabRing 2.4s ease-out infinite;
}
/* green online dot */
.support-fab .fab-tg::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #22c55e;
  border: 2px solid #1f96cf;
}
.support-fab .fab-text {
  min-width: 0;
  flex: 0 1 auto;
  line-height: 1.12;
  padding-right: 0.1rem;
}
.support-fab .fab-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.support-fab .fab-handle {
  display: block;
  margin-top: 0.06rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.support-fab .fab-go { display: none; }

@media (min-width: 768px) {
  .support-fab {
    right: 1.35rem;
    bottom: 1.35rem;
    gap: 0.8rem;
    padding: 0.55rem 0.6rem 0.55rem 0.55rem;
    width: 20rem;
    max-width: none;
  }
  .support-fab .fab-tg { width: 2.9rem; height: 2.9rem; }
  .support-fab .fab-tg svg { width: 1.45rem; height: 1.45rem; }
  .support-fab .fab-tg::after { width: 0.72rem; height: 0.72rem; }
  .support-fab .fab-title { font-size: 1rem; }
  .support-fab .fab-handle { font-size: 0.85rem; margin-top: 0.12rem; }
  .support-fab .fab-go {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    place-items: center;
    flex-shrink: 0;
    margin-left: auto;
    font-size: 1.05rem;
    color: #fff;
    transition: transform 0.18s ease, background 0.18s ease;
  }
  .support-fab:hover .fab-go {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.3);
  }
}
@keyframes fabPop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fabFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes fabRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  70% { box-shadow: 0 0 0 11px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .support-fab { animation: fabPop 0.45s ease both; }
  .support-fab .fab-tg::before { animation: none; }
}

/* Slim service price chips for home horizontal slide */
.service-price-card {
  width: min(72vw, 11.5rem);
  padding: 1rem 0.95rem;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 7.25rem;
}
.service-price-card .svc-name {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.service-price-card .svc-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand);
}
.service-price-card .svc-unit {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}
@media (min-width: 768px) {
  .service-price-card { width: 12rem; }
}

/* Slim horizontal price bar */
/* Auto horizontal price slide */
.price-bar {
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0.2rem 0 0.35rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.price-bar-track {
  display: inline-flex;
  gap: 0.55rem;
  width: max-content;
  animation: priceSlide 22s linear infinite;
  will-change: transform;
}
.price-bar:hover .price-bar-track {
  animation-play-state: paused;
}
.price-chip-bar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.price-chip-bar .name {
  font-weight: 700;
  font-size: 0.82rem;
}
.price-chip-bar .price {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--brand);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(11, 110, 99, 0.1);
}
@keyframes priceSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (min-width: 768px) {
  .price-bar { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .price-bar-track { animation: none; }
}

.eyebrow {
  --accent-hot: #ff6a1a;
}

.home-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 900px) {
  .home-grid {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 1rem;
  }
}

.cool-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.15rem 1.2rem;
}
.cool-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.cool-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.95rem;
  letter-spacing: -0.02em;
}

.check-grid {
  display: grid;
  gap: 0.65rem 1rem;
}
@media (min-width: 640px) {
  .check-grid { grid-template-columns: 1fr 1fr; }
}
.check-item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}
.check-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-hot);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.why-list {
  display: grid;
  gap: 0.75rem;
}
.why-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.why-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: var(--accent-hot);
  color: #111;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.why-icon svg { width: 1.1rem; height: 1.1rem; }
.why-row strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}
.why-row span {
  font-size: 0.78rem;
  color: var(--muted);
}

.section-head {
  text-align: center;
  margin: 0.5rem 0 1rem;
}
.section-head .cool-title { margin-bottom: 0.35rem; }
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-row {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .feature-row { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 106, 26, 0.45);
  }
}
.feature-card .why-icon {
  margin: 0 auto 0.85rem;
  width: 2.7rem;
  height: 2.7rem;
}
.feature-card h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}
.feature-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.rate-slide {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0 0.4rem;
  margin: 0 -0.15rem;
  scrollbar-width: none;
}
.rate-slide::-webkit-scrollbar { display: none; }
.rate-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(70vw, 11.5rem);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 1rem;
  padding: 0.95rem 0.9rem;
  text-decoration: none;
  color: var(--ink);
}
.rate-card .tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.rate-card .name {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}
.rate-card .price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-hot);
}
.rate-card .stock {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
@media (min-width: 768px) {
  .rate-card { width: 12rem; }
}

.aml-note {
  margin-top: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(185, 28, 28, 0.25);
  background: rgba(254, 226, 226, 0.55);
  color: #991b1b;
  font-size: 0.85rem;
  line-height: 1.45;
}
.dark .aml-note {
  background: rgba(127, 29, 29, 0.25);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fecaca;
}
.aml-note b { font-weight: 800; }

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255,106,26,0.12), transparent 55%),
    var(--panel);
}
.cta-strip h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}
.cta-strip p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.btn-hot {
  background: #ff6a1a;
  color: #111 !important;
  border: none;
  border-radius: 0.75rem;
  font-weight: 800;
  padding: 0.7rem 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.app-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 1.35rem 1rem 1.5rem;
}
.app-footer .footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.app-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.app-footer .footer-brand .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
}
.app-footer .footer-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1rem;
}
.app-footer .footer-sub {
  font-size: 0.78rem;
  color: var(--muted);
}
.app-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}
.app-footer .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}
.app-footer .footer-links a:hover { color: var(--brand); }
.app-footer .footer-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--line);
}
@media (min-width: 768px) {
  .app-footer .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
  .app-footer .footer-note { grid-column: 1 / -1; }
}

.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
  padding-bottom: calc(1rem + var(--safe-bottom));
}
.auth-card {
  width: 100%;
  max-width: 24rem;
  padding: 1.35rem;
}
@media (min-width: 640px) {
  .auth-card { padding: 1.75rem; }
}

.service-tile { transition: transform 0.2s ease; }
@media (hover: hover) {
  .service-tile:hover { transform: translateY(-3px); }
}

.api-endpoint {
  background: rgba(11, 110, 99, 0.05);
  border-left: 3px solid var(--brand);
  border-radius: 0.65rem;
}
.dark .api-endpoint { background: rgba(11, 110, 99, 0.12); }

.clickable { cursor: pointer; }
.clickable:active { background: rgba(11, 110, 99, 0.08); }

.deposit-tab {
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--line);
}
.deposit-tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.deposit-tab.active.binance {
  background: var(--accent);
  border-color: var(--accent);
}

.badge-deposit { background: rgba(11,110,99,0.12); color: #0b6e63; }
.dark .badge-deposit { color: #5ecfbf; }
.badge-withdraw { background: rgba(220,38,38,0.12); color: #b91c1c; }
.dark .badge-withdraw { color: #f87171; }

.copy-field {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.scroll-hint {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
@media (min-width: 768px) {
  .scroll-hint { display: none; }
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 137, 26, 0.12);
  color: #c46d0c;
  font-size: 0.75rem;
  font-weight: 800;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #16a34a;
  animation: pulseSoft 1.6s ease-in-out infinite;
}

.mobile-only { display: block; }
.desktop-only { display: none; }
@media (min-width: 768px) {
  .mobile-only { display: none; }
  .desktop-only { display: block; }
}

/* ============================================================
   RICH VISUAL LAYER
   ============================================================ */

/* Ambient glow background */
body.app-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 32rem at 8% -6%, rgba(11, 110, 99, 0.16), transparent 60%),
    radial-gradient(52rem 30rem at 108% 4%, rgba(255, 106, 26, 0.14), transparent 58%),
    radial-gradient(46rem 30rem at 50% 118%, rgba(11, 110, 99, 0.1), transparent 60%);
}
.dark body.app-body::before {
  background:
    radial-gradient(60rem 32rem at 8% -6%, rgba(13, 148, 136, 0.22), transparent 60%),
    radial-gradient(52rem 30rem at 108% 4%, rgba(255, 106, 26, 0.16), transparent 58%),
    radial-gradient(46rem 30rem at 50% 118%, rgba(13, 148, 136, 0.14), transparent 60%);
}

/* Gradient eyebrow pill */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: linear-gradient(120deg, rgba(11, 110, 99, 0.14), rgba(255, 106, 26, 0.12));
  border: 1px solid rgba(11, 110, 99, 0.2);
}
.dark .eyebrow-pill { color: #5eead4; border-color: rgba(94, 234, 212, 0.22); }
.eyebrow-pill .dot {
  width: 0.4rem; height: 0.4rem; border-radius: 999px;
  background: var(--accent-hot);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.18);
}

/* ---- Richer hero ---- */
.hero-slider {
  border-radius: 1.4rem;
  min-height: 260px;
  box-shadow: 0 24px 60px -28px rgba(11, 110, 99, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-slide {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(38rem 20rem at 115% -20%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #0b6e63 0%, #0a4f6b 100%);
}
.hero-slide::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255, 106, 26, 0.5), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
  animation: floatY 6s ease-in-out infinite;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.hero-badge svg { width: 0.85rem; height: 0.85rem; }
@media (min-width: 640px) {
  .hero-slider { min-height: 300px; }
}

/* ---- Stats band ---- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
@media (min-width: 640px) {
  .stats-band { grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
}
.stat-box {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--panel), var(--panel-2));
}
.stat-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-hot));
  opacity: 0.9;
}
.stat-box .num {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-box .num .u { color: var(--accent-hot); }
.stat-box .lbl {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Gradient icon tiles ---- */
.itile {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}
.itile svg { width: 1.25rem; height: 1.25rem; }
.itile i { font-size: 1.15rem; line-height: 1; }
.itile.teal { background: linear-gradient(135deg, #12a594, #0b6e63); box-shadow: 0 10px 20px -8px rgba(11,110,99,0.7); }
.itile.orange { background: linear-gradient(135deg, #ff8a3c, #e8891a); box-shadow: 0 10px 20px -8px rgba(232,137,26,0.7); }
.itile.blue { background: linear-gradient(135deg, #38bdf8, #2563eb); box-shadow: 0 10px 20px -8px rgba(37,99,235,0.6); }
.itile.violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 10px 20px -8px rgba(124,58,237,0.6); }

/* ---- Upgrade cool-card to have depth + gradient border on hover ---- */
.cool-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: 0 20px 45px -30px rgba(15, 30, 40, 0.5);
  overflow: hidden;
}
.cool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-hot));
  opacity: 0.85;
}
.cool-title { display: flex; align-items: center; gap: 0.55rem; }

/* Reworked check items as chips */
.check-item {
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(11, 110, 99, 0.05);
  border: 1px solid var(--line);
}
.dark .check-item { background: rgba(255, 255, 255, 0.03); }
.check-item svg {
  color: #fff;
  background: linear-gradient(135deg, #12a594, #0b6e63);
  width: 1.15rem; height: 1.15rem;
  padding: 0.18rem;
  border-radius: 999px;
  margin-top: 0;
}

/* Why rows -> use gradient tiles instead of flat orange */
.why-row { padding: 0.55rem; border-radius: 0.8rem; transition: background 0.2s ease; }
.why-row:hover { background: rgba(11, 110, 99, 0.05); }
.why-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, #12a594, #0b6e63);
  box-shadow: 0 10px 20px -10px rgba(11,110,99,0.8);
}
.why-row:nth-child(2) .why-icon { background: linear-gradient(135deg, #ff8a3c, #e8891a); box-shadow: 0 10px 20px -10px rgba(232,137,26,0.8); }
.why-row:nth-child(3) .why-icon { background: linear-gradient(135deg, #38bdf8, #2563eb); box-shadow: 0 10px 20px -10px rgba(37,99,235,0.7); }

/* ---- Feature cards: glass + gradient glow border ---- */
.feature-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  overflow: hidden;
  box-shadow: 0 22px 50px -34px rgba(15, 30, 40, 0.6);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(11,110,99,0.5), rgba(255,106,26,0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .feature-card:hover::after { opacity: 1; }
  .feature-card:hover { transform: translateY(-4px); }
}
.feature-card .itile { margin: 0 auto 0.85rem; }

/* ---- Rate cards: colored top accent + glow ---- */
.rate-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: 0 18px 40px -30px rgba(15, 30, 40, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rate-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-hot));
}
@media (hover: hover) {
  .rate-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(255,106,26,0.4); }
}
.rate-card .name { display: flex; align-items: center; gap: 0.45rem; }
.rate-card .dotc { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--accent-hot); flex-shrink: 0; }
.rate-card .stock { display: inline-flex; align-items: center; gap: 0.35rem; }
.rate-card .stock .lv { width: 0.4rem; height: 0.4rem; border-radius: 999px; background: #16a34a; animation: pulseSoft 1.6s ease-in-out infinite; }

/* ---- CTA strip glow ---- */
.cta-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(24rem 12rem at 100% 0%, rgba(255,106,26,0.18), transparent 60%),
    linear-gradient(120deg, rgba(11,110,99,0.1), transparent 55%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: 0 22px 50px -34px rgba(255, 106, 26, 0.5);
}
.btn-hot { box-shadow: 0 12px 26px -10px rgba(255,106,26,0.7); transition: transform 0.15s ease, filter 0.15s ease; }
.btn-hot:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Section head eyebrow centered pill */
.section-head .eyebrow-pill { margin-bottom: 0.5rem; }

/* subtle divider glow line */
.glow-divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0.25rem 0;
}

/* ============================================================
   ANIMATED BACKGROUND (video-like, injected by ui.js)
   ============================================================ */
#bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}
#bg-fx .bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}
#bg-fx .bg-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
#bg-fx .bg-blob.b1 {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  top: -8%; left: -6%;
  background: radial-gradient(closest-side, rgba(11,110,99,0.65), transparent 70%);
  animation: blobDrift1 26s ease-in-out infinite;
}
#bg-fx .bg-blob.b2 {
  width: 38vw; height: 38vw; min-width: 300px; min-height: 300px;
  top: -4%; right: -8%;
  background: radial-gradient(closest-side, rgba(255,106,26,0.55), transparent 70%);
  animation: blobDrift2 32s ease-in-out infinite;
}
#bg-fx .bg-blob.b3 {
  width: 46vw; height: 46vw; min-width: 340px; min-height: 340px;
  bottom: -14%; left: 30%;
  background: radial-gradient(closest-side, rgba(13,148,136,0.45), transparent 70%);
  animation: blobDrift3 38s ease-in-out infinite;
}
.dark #bg-fx .bg-blob { opacity: 0.42; }
.dark #bg-fx .bg-canvas { opacity: 0.9; }

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(14vw, 8vh) scale(1.12); }
  66% { transform: translate(6vw, 18vh) scale(0.95); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-12vw, 12vh) scale(1.15); }
  70% { transform: translate(-4vw, 22vh) scale(0.9); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16vw, -10vh) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  #bg-fx .bg-blob { animation: none; }
}

/* ---- Scroll reveal (added via JS so no-JS keeps content visible) ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal-left { transform: translateX(-28px); }
.reveal.reveal-right { transform: translateX(28px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   ORDERS PAGE
   ============================================================ */

/* Page hero band */
.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  padding: 1.35rem 1.25rem;
  color: #fff;
  background:
    radial-gradient(34rem 18rem at 112% -30%, rgba(255,106,26,0.5), transparent 60%),
    linear-gradient(135deg, #0b6e63 0%, #0a4f6b 100%);
  box-shadow: 0 24px 60px -30px rgba(11, 110, 99, 0.65);
  border: 1px solid rgba(255,255,255,0.08);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -3rem; top: -3rem;
  width: 11rem; height: 11rem; border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.14), transparent 72%);
  pointer-events: none;
}
.page-hero .ph-logo {
  width: 3rem; height: 3rem; border-radius: 0.9rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  display: grid; place-items: center;
  overflow: hidden; flex-shrink: 0;
  backdrop-filter: blur(6px);
}
.page-hero .ph-logo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 0; line-height: 1.1;
}
.page-hero p { margin: 0.15rem 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.82); }
@media (min-width: 640px) {
  .page-hero { padding: 1.75rem 1.75rem; }
  .page-hero h1 { font-size: 1.85rem; }
}
.ph-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
@media (min-width: 640px) {
  .ph-stats { display: flex; gap: 0.6rem; margin-top: 0; }
}
.ph-stat {
  padding: 0.7rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  min-width: 6.5rem;
}
.ph-stat .v { font-family: "Space Grotesk", "Manrope", sans-serif; font-size: 1.2rem; font-weight: 800; line-height: 1; }
.ph-stat .k { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }

/* Service cards grid */
/* Mobile-first: 3 compact cards per row (like a top-up store) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 0.7rem; } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(5, 1fr); gap: 0.85rem; } }

.svc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.65rem 0.5rem 0.6rem;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: 0 12px 28px -24px rgba(15, 30, 40, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-hot));
  opacity: 0.9;
}
@media (hover: hover) {
  .svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 45px -28px rgba(11,110,99,0.45); border-color: rgba(11,110,99,0.35); }
}
.svc-head {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; margin-bottom: 0.5rem; width: 100%;
}
.svc-head .itile { width: 2.3rem; height: 2.3rem; border-radius: 0.6rem; }
.svc-head .itile i { font-size: 0.95rem; }
.svc-head h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800; font-size: 0.68rem; margin: 0; line-height: 1.15; color: var(--ink);
  min-height: 2.3em; display: flex; align-items: center; justify-content: center;
}
.svc-head p { display: none; }
.svc-foot {
  margin-top: auto;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding-top: 0.35rem;
}
.svc-stock { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.svc-stock .lbl { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.12rem; }
.svc-stock .val { display: flex; align-items: baseline; gap: 0.2rem; font-family: "Space Grotesk", "Manrope", sans-serif; }
.svc-stock .val .n { font-size: 0.95rem; font-weight: 800; line-height: 1; }
.svc-stock .val .u { font-size: 0.6rem; font-weight: 700; color: var(--muted); }
.svc-new {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
  width: 100%;
  border: none; cursor: pointer;
  color: #111; font-weight: 800; font-size: 0.68rem;
  padding: 0.45rem 0.4rem; border-radius: 0.6rem;
  background: linear-gradient(135deg, #ff8a3c, var(--accent-hot));
  box-shadow: 0 10px 20px -12px rgba(255,106,26,0.8);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.svc-new:hover { transform: translateY(-1px); filter: brightness(1.05); }
.svc-new:disabled { opacity: 0.7; cursor: default; }

/* Roomier cards on larger screens */
@media (min-width: 768px) {
  .svc-card { padding: 1.05rem 0.95rem 0.9rem; border-radius: 1.1rem; box-shadow: 0 20px 45px -32px rgba(15,30,40,0.6); }
  .svc-head { gap: 0.55rem; margin-bottom: 0.8rem; }
  .svc-head .itile { width: 2.7rem; height: 2.7rem; border-radius: 0.8rem; }
  .svc-head .itile i { font-size: 1.15rem; }
  .svc-head h3 { font-size: 0.92rem; min-height: auto; line-height: 1.2; }
  .svc-head p { display: block; margin: 0.15rem 0 0; font-size: 0.72rem; color: var(--muted); line-height: 1.35; }
  .svc-foot { gap: 0.6rem; padding-top: 0.7rem; border-top: 1px dashed var(--line); }
  .svc-stock .lbl { font-size: 0.6rem; }
  .svc-stock .val .n { font-size: 1.2rem; }
  .svc-stock .val .u { font-size: 0.66rem; }
  .svc-new { font-size: 0.8rem; padding: 0.55rem 0.9rem; border-radius: 0.75rem; }
}

/* Order history table polish */
.orders-panel { position: relative; overflow: hidden; }
.orders-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-hot)); opacity: 0.85;
}
.order-th {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 0.85rem 0.9rem; text-align: left;
}
.order-td { padding: 0.85rem 0.9rem; vertical-align: middle; font-size: 0.88rem; }
.orders-table tbody tr { transition: background 0.15s ease; }
.orders-table tbody tr:hover { background: rgba(11,110,99,0.05); }
.dark .orders-table tbody tr:hover { background: rgba(255,255,255,0.04); }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.22rem 0.6rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800;
}
.status-pill.ok { background: rgba(22,163,74,0.14); color: #16a34a; }
.status-pill.run { background: rgba(234,179,8,0.16); color: #b8890a; }
.dark .status-pill.run { color: #eab308; }
.status-pill.bad { background: rgba(220,38,38,0.14); color: #dc2626; }

.copy-cell { cursor: pointer; border-radius: 0.5rem; transition: background 0.15s ease; }
.copy-cell:hover { background: rgba(11,110,99,0.08); }

.order-mcard {
  position: relative; overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 1rem;
  box-shadow: 0 18px 40px -32px rgba(15,30,40,0.5);
}
.order-mcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-hot)); opacity: 0.85;
}
.order-field .k { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.order-field .v { margin-top: 0.25rem; font-size: 0.9rem; font-weight: 600; word-break: break-all; }

.pager-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1rem; border-radius: 0.8rem;
  border: 1px solid var(--line); background: var(--panel);
  color: var(--brand); font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pager-btn:hover { transform: translateY(-1px); border-color: rgba(11,110,99,0.4); }
.dark .pager-btn { color: #5eead4; }
