:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-subtle: #faf9f6;
  --border: #e5e1d8;
  --border-strong: #d4cec2;
  --ink: #141c1a;
  --ink-2: #55615c;
  --ink-3: #838f8a;
  --accent: #008069;
  --accent-hover: #016b58;
  --accent-soft: #e6f5f0;
  --accent-ring: rgba(0, 128, 105, 0.16);
  --wa-bg: #efeae2;
  --wa-bubble: #d9fdd3;
  --warn-bg: #fef7e6;
  --warn-border: #f3d796;
  --warn-ink: #8a5600;
  --err-bg: #fef0f0;
  --err-border: #f5c2c2;
  --err-ink: #991b1b;
  --ok-bg: #eaf9f0;
  --ok-border: #b6e8cb;
  --ok-ink: #0f5c35;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 28, 26, 0.04), 0 10px 28px rgba(20, 28, 26, 0.045);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.hidden { display: none !important; }

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 18px 56px;
}

/* ==================== Navigation ==================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}
.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bot-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-right: 4px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
}
.status-dot.open { background: #16a34a; }
.status-dot.qr, .status-dot.pairing, .status-dot.connecting { background: #d97706; }
.status-dot.closed, .status-dot.logged_out { background: #dc2626; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover {
  background: rgba(20, 28, 26, 0.05);
  color: var(--ink);
}

/* ==================== Stage 1: Empty Entry ==================== */
.empty-stage {
  max-width: 640px;
  margin: 20px auto 0;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.18;
}
.hero-copy p {
  margin: 0 auto 26px;
  max-width: 520px;
  font-size: 15px;
  color: var(--ink-2);
}

.drop-surface {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.drop-surface:hover, .drop-surface.dragover {
  border-color: var(--accent);
  background: #fcfefd;
}
.drop-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.drop-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.drop-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.drop-cta { pointer-events: none; }

.spec-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.spec-line .sep { opacity: 0.5; }

/* ==================== Stage 2: Focused Editor ==================== */
.editor-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 820px) {
  .editor-grid { grid-template-columns: 1fr; }
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.file-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.type-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.file-title {
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-meta {
  font-size: 12px;
  color: var(--ink-3);
  flex-shrink: 0;
}

/* Live 1:1 Sticker Square Frame */
.square-viewport {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #efede8;
  background-image:
    linear-gradient(45deg, #e5e2db 25%, transparent 25%),
    linear-gradient(-45deg, #e5e2db 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e5e2db 75%),
    linear-gradient(-45deg, transparent 75%, #e5e2db 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}
.square-viewport video,
.square-viewport img {
  width: 100%;
  height: 100%;
  display: block;
}
.fit-crop { object-fit: cover; }
.fit-full { object-fit: contain; }

.video-play-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 27, 33, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.video-play-overlay svg {
  width: 48px;
  height: 48px;
  padding: 13px;
  border-radius: 50%;
  background: rgba(17, 27, 33, 0.72);
  backdrop-filter: blur(4px);
}
.video-play-overlay.is-playing {
  background: transparent;
  opacity: 0;
}
.square-viewport:hover .video-play-overlay.is-playing {
  opacity: 1;
}

.canvas-sound-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 28, 26, 0.78);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.canvas-sound-pill.muted {
  background: rgba(85, 97, 92, 0.78);
}

/* Video Trim Bar */
.trim-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.trim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.section-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.1px;
}
.trim-readout {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.timeline-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #eae6de;
  margin: 10px 0 12px;
  overflow: hidden;
}
.timeline-window {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.85;
}
.timeline-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  left: 0;
}

.slider-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .slider-pair { grid-template-columns: 1fr; }
}
.slider-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--ink-2);
}
.slider-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Audio Section */
.audio-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.custom-audio-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 11px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}
#videoAudioModes.hidden + .custom-audio-box {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.audio-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 6px;
}
.audio-player {
  width: 100%;
  height: 36px;
  margin-top: 8px;
}

/* Segmented Controls */
.seg-control {
  display: flex;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  gap: 3px;
}
.seg-item {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.seg-item:hover { color: var(--ink); }
.seg-item.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 28, 26, 0.08);
}
.seg-compact .seg-item { padding: 6px 8px; font-size: 12px; }

/* Collapsible Pack Metadata */
.pack-details {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-subtle);
}
.pack-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.pack-details summary::-webkit-details-marker { display: none; }
.summary-preview {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pack-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 12px 12px;
}
@media (max-width: 480px) { .pack-fields { grid-template-columns: 1fr; } }

.text-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--ink-2);
}

/* Inputs & Buttons */
input[type="text"],
input[type="password"],
select {
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 9px 11px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.dest-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mini-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.mini-pill.online { color: var(--accent); }

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

.btn-primary,
.btn-outline,
.btn-text {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn-primary {
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 11px 16px;
}
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.48; cursor: not-allowed; }

.btn-outline {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  padding: 9px 14px;
}
.btn-outline:hover:not(:disabled) { background: var(--surface-subtle); border-color: #b7b0a2; }
.btn-outline:disabled { opacity: 0.48; cursor: not-allowed; }
.danger-outline { color: var(--err-ink); border-color: var(--err-border); }
.danger-outline:hover:not(:disabled) { background: var(--err-bg); }

.btn-text {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 4px 6px;
  font-size: 12.5px;
}
.btn-text:hover { color: var(--ink); }
.danger-text { color: var(--err-ink); }

.btn-sm { padding: 7px 11px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-icon { width: 38px; height: 38px; padding: 0; flex-shrink: 0; }
.row { display: flex; gap: 8px; align-items: center; }

.helper-text {
  font-size: 12.5px;
  color: var(--ink-2);
}

.inline-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
}
.inline-notice.warn { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-ink); }
.inline-notice.error { background: var(--err-bg); border-color: var(--err-border); color: var(--err-ink); }
.inline-notice.success { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-ink); }

/* ==================== Authentic WhatsApp Result Preview ==================== */
.result-card { margin-top: 16px; }
.result-specs { font-size: 11.5px; color: var(--ink-2); }

.wa-chat-frame {
  background-color: var(--wa-bg);
  background-image: radial-gradient(rgba(17, 27, 33, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid #dfd8cc;
  border-radius: 12px;
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wa-sent-bubble {
  background: var(--wa-bubble);
  border-radius: 12px 3px 12px 12px;
  padding: 8px 8px 5px;
  box-shadow: 0 1px 2px rgba(17, 27, 33, 0.12);
}

.wa-sticker-btn {
  position: relative;
  width: 176px;
  height: 176px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}
.wa-sticker-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wa-sound-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17, 27, 33, 0.8);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, background 0.15s;
}
.wa-sticker-btn:hover .wa-sound-btn { transform: scale(1.06); }
.wa-sticker-btn.playing .wa-sound-btn { background: var(--accent); }
.wa-sticker-btn .eq-bars { display: none; gap: 2px; align-items: flex-end; height: 12px; }
.wa-sticker-btn.playing .icon-speaker { display: none; }
.wa-sticker-btn.playing .eq-bars { display: inline-flex; }
.eq-bars i {
  display: block;
  width: 3px;
  background: #fff;
  border-radius: 2px;
  animation: eqBounce 0.7s ease-in-out infinite alternate;
}
.eq-bars i:nth-child(1) { height: 6px; animation-delay: 0s; }
.eq-bars i:nth-child(2) { height: 12px; animation-delay: 0.2s; }
.eq-bars i:nth-child(3) { height: 8px; animation-delay: 0.4s; }
@keyframes eqBounce {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1); }
}

.wa-bubble-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-size: 11px;
  color: #667781;
  margin-top: 3px;
}
.wa-tap-caption {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.result-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.claim-block {
  margin-top: 14px;
}
.wa-open-btn {
  padding: 12px 16px;
  font-size: 14px;
}
.claim-steps {
  margin: 8px 0 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.claim-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.claim-qr-box {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-subtle);
  text-align: center;
}
.claim-qr-box img {
  width: 170px;
  height: 170px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
}
.admin-send-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ==================== Modal & Admin Drawer ==================== */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 26, 0.42);
  backdrop-filter: blur(2px);
  z-index: 50;
  display: flex;
}
.modal-backdrop { align-items: center; justify-content: center; padding: 16px; }
.drawer-backdrop { justify-content: flex-end; }

.modal-sheet {
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(20, 28, 26, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer-sheet {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(20, 28, 26, 0.14);
  display: flex;
  flex-direction: column;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 { margin: 0; font-size: 16px; font-weight: 700; }

.icon-close {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 4px;
  border-radius: 8px;
  cursor: pointer;
}
.icon-close:hover { background: var(--bg); color: var(--ink); }

.modal-body,
.drawer-body {
  padding: 18px 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.guide-highlight {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: #0b4c3d;
  font-size: 13px;
  margin-bottom: 14px;
}

.cmd-table { display: flex; flex-direction: column; }
.cmd-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-2);
}
.cmd-row:last-child { border-bottom: 0; }
@media (max-width: 480px) { .cmd-row { grid-template-columns: 1fr; gap: 4px; } }

code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 6px;
  width: fit-content;
}

/* Admin Panel Internals */
.wa-auth-card {
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wa-auth-card img {
  width: 210px;
  height: 210px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.pair-code-display {
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  background: #fff;
  border: 1px dashed var(--accent);
  padding: 10px 18px;
  border-radius: 10px;
  margin: 10px 0;
}
.pair-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding: 12px 8px;
  border-radius: 11px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  text-align: center;
}
.stat-num { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.stat-lbl { display: block; font-size: 11px; color: var(--ink-3); }

.toggle-stack { display: flex; flex-direction: column; gap: 8px; }
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-subtle);
  font-size: 13px;
  cursor: pointer;
}
.switch-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.log-feed {
  max-height: 210px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #faf9f6;
  padding: 8px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
}
.log-line {
  padding: 4px 0;
  border-bottom: 1px solid #edeae2;
  display: flex;
  gap: 7px;
}
.log-line:last-child { border-bottom: 0; }
.log-t { color: var(--ink-3); flex-shrink: 0; }
.lvl-success { color: #0f7640; }
.lvl-warn { color: #a16207; }
.lvl-error { color: #b91c1c; }

/* ==================== Telegram Channel Promo Strip ==================== */
.promo-strip {
  margin: 0 0 20px;
}

.promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.promo-card:hover {
  border-color: #229ed9;
  transform: translateY(-1px);
}
.promo-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.tg-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #e9f6fc;
  color: #1f8ec4;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.promo-copy { min-width: 0; }
.promo-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.promo-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1f8ec4;
  background: #e9f6fc;
  padding: 2px 7px;
  border-radius: 5px;
}
.promo-handle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.promo-desc {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  background: #229ed9;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-card:hover .promo-cta { background: #1a89bf; }

@media (max-width: 600px) {
  .promo-card { flex-direction: column; align-items: stretch; }
  .promo-cta { justify-content: center; }
}
