.kbt-mobile-alt {
  display: block;
  max-width: 1120px;
  margin: 24px auto;
  padding: 0 16px;
  color: #0f172a;
}

.kbt-mobile-alt[hidden] {
  display: none !important;
}

.kbt-mobile-alt__panel {
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef9ff 54%, #f2fff8 100%);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.14);
}

.kbt-mobile-alt__body {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.kbt-mobile-alt__kicker {
  margin: 0 0 6px;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kbt-mobile-alt__title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.3rem, 7vw, 2rem);
  font-weight: 850;
  line-height: 1.12;
}

.kbt-mobile-alt__reason {
  margin: 10px 0 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.6;
}

.kbt-mobile-alt__mini {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.kbt-mobile-alt__mini-title {
  margin: 0;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
}

.kbt-mobile-alt__tap-zone {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 2px dashed rgba(14, 165, 233, 0.5);
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.08);
  color: #075985;
  font-weight: 850;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
}

.kbt-mobile-alt__tap-zone:active,
.kbt-mobile-alt__tap-zone.is-active {
  border-style: solid;
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
  transform: scale(0.99);
}

.kbt-mobile-alt__type-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(100, 116, 139, 0.28);
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 1rem;
}

.kbt-mobile-alt__type-input:focus {
  border-color: rgba(14, 165, 233, 0.8);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
  outline: none;
}

.kbt-mobile-alt__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.kbt-mobile-alt__stat {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.92);
  text-align: center;
}

.kbt-mobile-alt__stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1.15;
}

.kbt-mobile-alt__stat span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kbt-mobile-alt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kbt-mobile-alt__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 12px;
  background: #ffffff;
  color: #075985;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.kbt-mobile-alt__button:hover {
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.5);
}

.kbt-mobile-alt__button--primary {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}

.kbt-mobile-alt__button--primary:hover {
  color: #ffffff;
  background: #111827;
}

.kbt-mobile-alt__show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.kbt-mobile-alt__show:hover {
  color: #0f172a;
}

.kbt-mobile-alt__note {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
}

html.dark-theme .kbt-mobile-alt,
[data-theme="dark"] .kbt-mobile-alt {
  color: #e2e8f0;
}

html.dark-theme .kbt-mobile-alt__panel,
[data-theme="dark"] .kbt-mobile-alt__panel {
  border-color: rgba(56, 189, 248, 0.24);
  background: linear-gradient(135deg, #0f172a 0%, #082f49 58%, #052e2b 100%);
  box-shadow: 0 18px 52px rgba(2, 6, 23, 0.36);
}

html.dark-theme .kbt-mobile-alt__kicker,
[data-theme="dark"] .kbt-mobile-alt__kicker {
  color: #7dd3fc;
}

html.dark-theme .kbt-mobile-alt__title,
html.dark-theme .kbt-mobile-alt__mini-title,
html.dark-theme .kbt-mobile-alt__stat strong,
[data-theme="dark"] .kbt-mobile-alt__title,
[data-theme="dark"] .kbt-mobile-alt__mini-title,
[data-theme="dark"] .kbt-mobile-alt__stat strong {
  color: #f8fafc;
}

html.dark-theme .kbt-mobile-alt__reason,
[data-theme="dark"] .kbt-mobile-alt__reason {
  color: #cbd5e1;
}

html.dark-theme .kbt-mobile-alt__mini,
[data-theme="dark"] .kbt-mobile-alt__mini {
  border-color: rgba(125, 211, 252, 0.18);
  background: rgba(15, 23, 42, 0.78);
}

html.dark-theme .kbt-mobile-alt__type-input,
[data-theme="dark"] .kbt-mobile-alt__type-input {
  border-color: rgba(148, 163, 184, 0.24);
  background: #0f172a;
  color: #f8fafc;
}

html.dark-theme .kbt-mobile-alt__stat,
[data-theme="dark"] .kbt-mobile-alt__stat {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.68);
}

html.dark-theme .kbt-mobile-alt__stat span,
html.dark-theme .kbt-mobile-alt__note,
[data-theme="dark"] .kbt-mobile-alt__stat span,
[data-theme="dark"] .kbt-mobile-alt__note {
  color: #94a3b8;
}

html.dark-theme .kbt-mobile-alt__button,
[data-theme="dark"] .kbt-mobile-alt__button {
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(15, 23, 42, 0.9);
  color: #bae6fd;
}

html.dark-theme .kbt-mobile-alt__button--primary,
[data-theme="dark"] .kbt-mobile-alt__button--primary {
  border-color: #38bdf8;
  background: #38bdf8;
  color: #082f49;
}

html.dark-theme .kbt-mobile-alt__show,
[data-theme="dark"] .kbt-mobile-alt__show {
  color: #cbd5e1;
}

@media (min-width: 821px) and (pointer: fine) {
  .kbt-mobile-alt {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .kbt-mobile-alt {
    margin: 18px auto;
    padding: 0 12px;
  }

  .kbt-mobile-alt__body {
    padding: 16px;
  }

  .kbt-mobile-alt__stats {
    grid-template-columns: 1fr;
  }

  .kbt-mobile-alt__actions {
    display: grid;
  }

  .kbt-mobile-alt__button,
  .kbt-mobile-alt__show {
    width: 100%;
  }
}
