/* Карта Самары, превью квартиры, Bento-характеристики Apple HIG, карточки оплаты и заморозки залога Т-Банка */
.tma-map-stage { position: absolute; inset: 0; z-index: 1; background: #e5e9f0; overflow: hidden; }
.tma-map-canvas { width: 100%; height: 100%; z-index: 1; background: #e5e9f0; }
.leaflet-control-attribution, .leaflet-control-zoom { display: none !important; }

.tma-map-locate-fab {
  position: absolute; right: 14px; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 25;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(18px); color: var(--tma-text);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12); display: inline-flex; align-items: center; justify-content: center;
}
.tma-map-locate-fab:active { transform: scale(0.92); }

.tma-price-pin {
  background: #ffffff; color: #1d1d1f; font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums; padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.18); display: inline-flex; align-items: center; gap: 4px;
  transform: translate(-50%, -50%) scale(1); transition: transform 160ms var(--tma-ease), background 140ms ease;
}
.tma-price-pin.is-active { background: #1d1d1f; color: #ffffff; transform: translate(-50%, -56%) scale(1.1); z-index: 900 !important; }
.tma-price-pin.is-booked { background: #1d1d1f; color: #ffffff; }

.tma-map-preview {
  position: absolute; left: 14px; right: 14px; bottom: 32dvh; z-index: 28;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-radius: 22px; padding: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
  display: flex; align-items: center; gap: 12px; cursor: pointer; animation: tmaCardPop 180ms var(--tma-ease);
}
@keyframes tmaCardPop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes tmaStageSlideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tma-stage-enter { animation: tmaStageSlideIn 220ms cubic-bezier(0.22, 1, 0.36, 1); }

.tma-map-preview-img { width: 78px; height: 78px; border-radius: 16px; object-fit: cover; flex-shrink: 0; background: var(--tma-card-bg); }
.tma-map-preview-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tma-map-preview-title { font-size: 15px; font-weight: 600; color: var(--tma-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tma-map-preview-price { font-size: 14.5px; font-weight: 700; color: var(--tma-text); font-variant-numeric: tabular-nums; margin-top: 2px; }

.tma-snap-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; height: 92dvh; z-index: 30;
  background: var(--tma-surface); border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
  display: flex; flex-direction: column; overflow: visible;
  transform: translate3d(0, 34%, 0); transition: transform 280ms var(--tma-ease);
}
.tma-snap-sheet::after { content: ""; position: absolute; left: 0; right: 0; top: 99%; height: 280px; background: var(--tma-surface); pointer-events: none; }
.tma-snap-sheet.is-dragging { transition: none !important; }
.tma-snap-handle-zone { padding: 10px 18px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: grab; flex-shrink: 0; touch-action: none; }
.tma-snap-quick-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tma-snap-mode-lbl { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--tma-text); }
.tma-view-toggle-pill { border: 0; background: var(--tma-card-bg); color: var(--tma-text); height: 34px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }

.tma-sheet-scroll, .tma-page-scroll {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: 8px 16px calc(var(--tma-sheet-pad, 34dvh) + 98px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 12px; overscroll-behavior-y: contain;
}
.tma-snap-sheet.is-compact-sheet .tma-sheet-scroll { overflow-y: hidden; }
.tma-page-scroll { padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

.tma-chip-rail { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; flex-shrink: 0; touch-action: pan-x; }
.tma-chip-rail::-webkit-scrollbar { display: none; }
.tma-filter-chip { height: 36px; padding: 0 15px; border-radius: 999px; border: 0; background: var(--tma-card-bg); color: var(--tma-text); font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.tma-filter-chip.is-active { background: var(--tma-primary); color: #ffffff; font-weight: 600; }

.tma-apt-feed { display: flex; flex-direction: column; gap: 22px; padding-top: 2px; }
.tma-apt-card { display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
#sheet-apt-gallery { display: flex; flex-direction: column; gap: 8px; }
.tma-apt-media, .tma-touch-carousel { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; background: var(--tma-card-bg); overflow: hidden; touch-action: pan-y; cursor: pointer; }
.tma-apt-img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: auto; touch-action: pan-y; }
.tma-apt-badge { display: none !important; }
.tma-apt-map-btn { position: absolute; top: 12px; right: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); color: var(--tma-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tma-carousel-counter { position: absolute; bottom: 10px; right: 12px; z-index: 4; height: 30px; padding: 0 11px; border-radius: 999px; border: 0; background: rgba(29, 29, 31, 0.76); backdrop-filter: blur(10px); color: #ffffff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.tma-carousel-counter .material-symbols-outlined { font-size: 15px; }

.tma-carousel-thumbs {
  display: flex; align-items: center; gap: 8px;
  margin-left: -18px; margin-right: -18px; width: calc(100% + 36px);
  padding: 3px 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x;
}
.tma-carousel-thumbs::-webkit-scrollbar { display: none; }
.tma-car-thumb-btn {
  width: 66px; height: 48px; border-radius: 12px; border: 0; padding: 0;
  overflow: hidden; background: var(--tma-card-bg); opacity: 0.56;
  flex-shrink: 0; cursor: pointer; transition: opacity 140ms ease, box-shadow 140ms ease;
}
.tma-car-thumb-btn:first-child { margin-left: 18px; }
.tma-car-thumb-btn:last-child { margin-right: 18px; }
.tma-car-thumb-btn.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--tma-text); }
.tma-car-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

.tma-fs-gallery { position: fixed; inset: 0; z-index: 620; background-color: rgba(10, 12, 18, 0.96); backdrop-filter: blur(16px); display: flex; flex-direction: column; justify-content: space-between; user-select: none; touch-action: none; }
.tma-fs-gal-top { padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #ffffff; z-index: 5; }
.tma-fs-gal-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tma-fs-gal-titles strong { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tma-fs-gal-titles span { font-size: 12px; color: rgba(255, 255, 255, 0.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tma-fs-gal-viewport { flex: 1; min-height: 0; width: 100%; overflow: hidden; display: flex; align-items: center; position: relative; }
.tma-fs-gal-rail { display: flex; width: 100%; height: 100%; will-change: transform; transition: transform 240ms var(--tma-ease); }
.tma-fs-gallery.is-dragging .tma-fs-gal-rail { transition: none !important; }
.tma-fs-gal-slide { flex: 0 0 100%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 8px 10px; overflow: hidden; }
.tma-fs-gal-img { max-width: 100%; max-height: 76dvh; border-radius: 16px; object-fit: contain; transition: transform 200ms var(--tma-ease); }
.tma-fs-gal-thumbs { padding: 10px 0 calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; z-index: 5; touch-action: pan-x; }
.tma-fs-gal-thumbs::-webkit-scrollbar { display: none; }
.tma-fsg-thumb { width: 58px; height: 44px; border-radius: 10px; border: 0; padding: 0; overflow: hidden; background: #1d1d1f; opacity: 0.48; flex-shrink: 0; cursor: pointer; }
.tma-fsg-thumb:first-child { margin-left: 16px; }
.tma-fsg-thumb:last-child { margin-right: 16px; }
.tma-fsg-thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px #ffffff; }
.tma-fsg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

.tma-apt-info { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.tma-apt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tma-apt-title { font-size: 16px; font-weight: 600; color: var(--tma-text); line-height: 21px; }
.tma-apt-price { font-size: 15.5px; font-weight: 600; color: var(--tma-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tma-apt-price span { font-size: 13px; font-weight: 400; color: var(--tma-muted); }
.tma-apt-meta { font-size: 13px; color: var(--tma-muted); line-height: 18px; }
.tma-apt-specs-pills { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.tma-spec-pill { background: var(--tma-card-bg); color: var(--tma-text); font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tma-spec-pill.is-accent { background: rgba(29, 29, 31, 0.08); color: #1d1d1f; }

.tma-apple-bento-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tma-bento-cell { background: var(--tma-card-bg); border-radius: 16px; padding: 10px 13px; display: flex; flex-direction: column; gap: 2px; }
.tma-bento-cell strong { font-size: 13.5px; font-weight: 600; color: var(--tma-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tma-apple-note-card { background: var(--tma-card-bg); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 19px; color: var(--tma-text); }
.tma-apple-note-card p { color: var(--tma-muted); white-space: pre-wrap; }

.tma-ios-stepper-list { display: flex; flex-direction: column; background: #ffffff; border-radius: 16px; padding: 2px 14px; }
.tma-ios-stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 0.5px solid rgba(60, 60, 67, 0.1); }
.tma-ios-stepper-row:last-child { border-bottom: 0; }
.tma-ios-stepper-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tma-ios-stepper-info strong { font-size: 14.5px; font-weight: 600; color: var(--tma-text); }
.tma-ios-stepper-ctrl { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.tma-ios-stepper-ctrl strong { font-size: 16px; font-weight: 700; min-width: 20px; text-align: center; color: var(--tma-text); }
.tma-round-step-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--tma-card-bg); color: var(--tma-text); font-size: 18px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 100ms ease, background 100ms ease; }
.tma-round-step-btn:active { transform: scale(0.92); background: var(--tma-hover); }

.tma-apple-receipt { background: #ffffff; border-radius: 16px; padding: 11px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-variant-numeric: tabular-nums; }
.tma-receipt-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--tma-text); }
.tma-receipt-line.is-discount strong { color: #188038; }
.tma-receipt-line.is-muted { color: var(--tma-muted); font-size: 12px; padding-top: 4px; border-top: 0.5px solid rgba(60, 60, 67, 0.1); }

/* Карточки оплаты и заморозки залога Т-Банка в TMA */
.tma-deposit-hold-card, .tma-pay-banner-card {
  background: var(--tma-surface); border-radius: 22px; padding: 15px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.tma-deposit-hold-card.is-inside-card { background: var(--tma-card-bg); border-radius: 18px; padding: 13px 14px; }
.tma-dep-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #1d1d1f; display: inline-block; flex-shrink: 0; }
.tma-dep-status-dot.is-frozen { background: #007aff; }
.tma-dep-status-dot.is-inspecting { background: #d97706; }
.tma-dep-status-dot.is-refunded { background: #16a34a; }

.tma-compact-card, .tma-stay-unified-card { background: var(--tma-surface); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tma-snap-sheet .tma-compact-card { background: var(--tma-card-bg); }
.tma-compact-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tma-stat-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tma-stat-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tma-stat-box { background: var(--tma-surface); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.tma-stat-val { font-size: 18px; font-weight: 700; color: var(--tma-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.tma-profile-hero { background: var(--tma-surface); border-radius: 22px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tma-profile-id { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.tma-profile-id-texts { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tma-profile-name { font-size: 17px; line-height: 21px; font-weight: 600; color: var(--tma-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tma-passport-row-card {
  width: 100%; border: 0; background: var(--tma-surface); border-radius: 20px; padding: 13px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; text-align: left; font-family: inherit; transition: background-color 120ms ease;
}
.tma-passport-row-card:active { background: var(--tma-hover); }
.tma-passport-row-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.tma-passport-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tma-card-bg); color: var(--tma-text); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tma-passport-row-texts { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tma-passport-row-texts strong { font-size: 14.5px; font-weight: 600; color: var(--tma-text); }

.tma-trips-section { display: flex; flex-direction: column; gap: 10px; }
.tma-seg-pills { display: inline-flex; align-items: center; gap: 3px; background: var(--tma-card-bg); padding: 3px; border-radius: 999px; }
.tma-seg-btn { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--tma-muted); font-size: 12.5px; font-weight: 500; font-family: inherit; cursor: pointer; }
.tma-seg-btn.is-active { background: var(--tma-surface); color: var(--tma-text); font-weight: 600; }

.tma-active-bookings-stack { display: flex; flex-direction: column; gap: 12px; }
.tma-guest-trip-card { background: var(--tma-surface); border-radius: 22px; padding: 15px; display: flex; flex-direction: column; gap: 12px; }
.tma-guest-trip-top { display: flex; align-items: center; gap: 12px; }
.tma-guest-trip-thumb { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--tma-card-bg); }
.tma-guest-trip-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tma-guest-trip-title { font-size: 16.5px; line-height: 20px; font-weight: 600; color: var(--tma-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tma-bk-status-line { font-size: 12.5px; font-weight: 600; color: var(--tma-text); }

.tma-countdown-hero-box { background: var(--tma-card-bg); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tma-live-timer-val { font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--tma-text); font-variant-numeric: tabular-nums; }
.tma-checkout-bar { background: var(--tma-card-bg); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tma-checkout-bar-left { display: flex; flex-direction: column; gap: 2px; }
.tma-checkout-bar-left strong { font-size: 15.5px; font-weight: 700; color: var(--tma-text); font-variant-numeric: tabular-nums; }

.tma-first-impression-card { background: var(--tma-surface); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tma-wifi-banner {
  width: 100%; border: 0; background: var(--tma-card-bg); border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  cursor: pointer; text-align: left; font-family: inherit; color: var(--tma-text);
  transition: background-color 120ms ease;
}
.tma-wifi-banner:active { background: var(--tma-hover); }
.tma-wifi-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tma-wifi-left strong { font-size: 14.5px; font-weight: 700; color: var(--tma-text); }

.tma-checkin-steps { display: flex; flex-direction: column; gap: 8px; }
.tma-checkin-step-row { display: flex; align-items: align-start; gap: 11px; background: var(--tma-card-bg); border-radius: 15px; padding: 11px 13px; }
.tma-step-num-badge { width: 24px; height: 24px; border-radius: 50%; background: #1d1d1f; color: #ffffff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.tma-step-text { font-size: 13.5px; line-height: 18px; font-weight: 500; color: var(--tma-text); }

.tma-compact-rules-list { display: flex; flex-direction: column; background: var(--tma-card-bg); border-radius: 16px; padding: 2px 14px; }
.tma-compact-rule-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 0.5px solid rgba(60, 60, 67, 0.1); font-size: 13.5px; line-height: 18px; color: var(--tma-text); }
.tma-compact-rule-row:last-child { border-bottom: 0; }
.tma-compact-rule-row .material-symbols-outlined { font-size: 18px; color: var(--tma-muted); flex-shrink: 0; }

.lh-stay-dates-flow { width: 100%; background: var(--tma-card-bg); border-radius: 16px; padding: 11px 14px 9px; display: flex; flex-direction: column; gap: 8px; }
.tma-snap-sheet .lh-stay-dates-flow { background: var(--tma-surface); }
.lh-stay-dates-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.lh-stay-date-box { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lh-stay-date-box:last-child { text-align: right; align-items: flex-end; }
.lh-stay-date-box strong { display: block; font-size: 13.5px; line-height: 17px; font-weight: 600; color: var(--tma-text); white-space: nowrap; }
.lh-stay-date-box span { display: block; font-size: 12px; line-height: 15px; color: var(--tma-muted); white-space: nowrap; }
.lh-stay-arrow-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 6px; flex-shrink: 0; }
.lh-stay-nights-pill { font-size: 11px; font-weight: 600; background: var(--tma-surface); color: var(--tma-text); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.tma-snap-sheet .lh-stay-nights-pill { background: var(--tma-card-bg); }
.lh-stay-arrow-line { display: inline-flex; color: var(--tma-muted); }
.lh-stay-progress-track { width: 100%; height: 3.5px; border-radius: 999px; background: rgba(0, 0, 0, 0.07); overflow: hidden; }
.lh-stay-progress-fill { height: 100%; width: 0%; background: #1d1d1f; border-radius: 999px; transition: width 320ms linear; }

.tma-guest-trip-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 2px; }
.tma-guest-trip-price { display: flex; flex-direction: column; gap: 1px; font-variant-numeric: tabular-nums; }
.tma-guest-trip-price strong { font-size: 16px; font-weight: 700; color: var(--tma-text); }
.tma-active-bk-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }

.tma-empty-trips-box { background: var(--tma-surface); border-radius: 20px; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.tma-qr-sheet-box { width: 210px; height: 210px; margin: 4px auto; padding: 12px; background: #ffffff; border-radius: 22px; box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08); }
.tma-onboarding-alert { background: var(--tma-card-bg); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.tma-stay-hist-item { background: var(--tma-card-bg); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tma-lock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tma-lock-tile { border: 0; background: var(--tma-card-bg); border-radius: 16px; padding: 12px 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.tma-lock-code { font-size: 17px; font-weight: 700; color: var(--tma-text); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tma-center-modal-backdrop { position: fixed; inset: 0; z-index: 560; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tma-center-modal-card { width: min(440px, 95vw); max-height: 88dvh; overflow-y: auto; background: var(--tma-surface); border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.tma-cam-box { width: 100%; height: 190px; border-radius: 18px; background: #1d1d1f; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.tma-cam-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tma-thumb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; }
.tma-thumb-item { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.tma-phone-display { background: var(--tma-card-bg); border-radius: 16px; padding: 14px; font-size: 21px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.tma-keypad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tma-keypad-key { height: 48px; border-radius: 14px; border: 0; background: var(--tma-card-bg); color: var(--tma-text); font-size: 19px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; }
