/* ============================================
   港毒風雲 — DOPE WARS HK
   Cyberpunk Neon × Hong Kong Street Style
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700;900&display=swap');

:root {
  --neon-pink: #ff2d6b;
  --neon-cyan: #00f0ff;
  --neon-yellow: #ffe600;
  --neon-green: #39ff14;
  --neon-purple: #bf00ff;
  --neon-orange: #ff6b2d;
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --bg-surface: #161622;
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-muted: #555570;
  --danger: #ff3344;
  --success: #39ff14;
  --warning: #ffe600;
  --border: #2a2a3a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Noto Sans TC', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  user-select: none;
}

/* ============ SCREENS ============ */
.screen {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  overflow-y: auto;
}
.screen.active { display: flex; flex-direction: column; }

/* ============ SPLASH ============ */
#splash-screen {
  background: var(--bg-dark);
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image:
    linear-gradient(to bottom, rgba(10,10,15,0.5), rgba(10,10,15,0.85)),
    url('images/splash-bg.png');
  background-size: cover;
  background-position: center;
}

.splash-content {
  padding: 2rem;
}

.neon-sign {
  margin-bottom: 2rem;
}

.title-cn {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--neon-pink);
  text-shadow:
    0 0 10px var(--neon-pink),
    0 0 40px rgba(255,45,107,0.5),
    0 0 80px rgba(255,45,107,0.3);
  letter-spacing: 0.2em;
  line-height: 1.2;
}

.title-en {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 30px rgba(0,240,255,0.4);
  letter-spacing: 0.5em;
  margin-top: 0.5rem;
}

.splash-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.splash-tagline {
  color: var(--neon-yellow);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 10px rgba(255,230,0,0.5);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 6px;
}

.btn-primary {
  background: var(--neon-pink);
  color: #fff;
}
.btn-primary:active { background: #cc2458; transform: scale(0.97); }

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}
.btn-secondary:active { background: rgba(0,240,255,0.1); }

.neon-glow {
  box-shadow: 0 0 15px rgba(255,45,107,0.5), 0 0 30px rgba(255,45,107,0.2);
}

.btn-buy {
  background: var(--neon-green);
  color: #000;
  flex: 1;
}

.btn-sell {
  background: var(--neon-orange);
  color: #000;
  flex: 1;
}

.btn-bribe {
  background: var(--neon-yellow);
  color: #000;
  width: 100%;
  margin-bottom: 8px;
}

.btn-run {
  background: var(--neon-cyan);
  color: #000;
  width: 100%;
  margin-bottom: 8px;
}

.btn-surrender {
  background: var(--text-muted);
  color: #fff;
  width: 100%;
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 12px;
}

/* ============ HELP ============ */
#help-screen {
  background: var(--bg-dark);
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.screen-header h2 {
  font-size: 1.2rem;
  color: var(--neon-cyan);
}

.help-content {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.help-section {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  border-left: 3px solid var(--neon-pink);
}
.help-section h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--neon-yellow);
}
.help-section p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============ GAME SCREEN ============ */
#game-screen {
  background: var(--bg-dark);
}

/* STATUS BAR */
.status-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.status-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.status-value.cash { color: var(--neon-green); }
.status-value.debt { color: var(--danger); }

/* LOCATION HEADER */
.location-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-shrink: 0;
}

.location-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,45,107,0.1);
  border-radius: 12px;
  border: 1px solid rgba(255,45,107,0.3);
}

.location-info {
  flex: 1;
}
.location-info h2 {
  font-size: 1.2rem;
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255,45,107,0.3);
}
.location-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.heat-indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.heat-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.heat-bar {
  width: 60px;
  height: 6px;
  background: var(--bg-dark);
  border-radius: 3px;
  overflow: hidden;
}
.heat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-yellow), var(--danger));
  border-radius: 3px;
  transition: width 0.5s;
}

/* EVENT BANNER */
.event-banner {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(255,230,0,0.15), rgba(255,45,107,0.15));
  border-bottom: 1px solid var(--neon-yellow);
  gap: 10px;
  flex-shrink: 0;
  animation: eventPulse 2s infinite;
}
.event-banner.hidden { display: none; }

@keyframes eventPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.event-icon { font-size: 1.2rem; }
.event-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--neon-yellow);
  font-weight: 700;
}
.event-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
}

/* TAB CONTENT */
.tab-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 70px;
}

.tab-pane {
  display: none;
  padding: 12px;
}
.tab-pane.active { display: block; }

/* MARKET LIST */
.market-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  gap: 12px;
  transition: border-color 0.2s;
}
.market-item:active {
  border-color: var(--neon-pink);
  background: var(--bg-card-hover);
}

.item-emoji {
  font-size: 1.6rem;
  width: 42px;
  text-align: center;
}

.item-info {
  flex: 1;
}
.item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.item-stock {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.item-price {
  text-align: right;
}
.item-price-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-green);
}
.item-price-change {
  font-size: 0.7rem;
  margin-top: 2px;
}
.price-up { color: var(--danger); }
.price-down { color: var(--neon-green); }
.price-same { color: var(--text-muted); }

.item-actions {
  display: flex;
  gap: 6px;
}
.item-actions .btn {
  padding: 8px 14px;
  font-size: 0.75rem;
  margin: 0;
}

/* MAP GRID */
.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.map-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 16px;
  min-height: 140px;
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.map-card:active {
  border-color: var(--neon-cyan);
  transform: scale(0.97);
}
.map-card.current {
  border-color: var(--neon-pink);
  background: rgba(255,45,107,0.08);
}
.map-card.current::after {
  content: '📍';
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.8rem;
}

.map-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.map-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.map-desc {
  font-size: 0.65rem;
  color: var(--text-secondary);
}
.map-tag {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-block;
}
.map-tag.cheap {
  background: rgba(57,255,20,0.15);
  color: var(--neon-green);
  border: 1px solid rgba(57,255,20,0.3);
}
.map-tag.expensive {
  background: rgba(255,51,68,0.15);
  color: var(--danger);
  border: 1px solid rgba(255,51,68,0.3);
}

.map-heat {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.map-heat-label {
  font-size: 0.6rem;
  color: var(--text-muted);
}
.map-heat-dots {
  display: flex;
  gap: 3px;
}
.map-heat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}
.map-heat-dot.active { background: var(--danger); }
.map-heat-dot.medium { background: var(--neon-yellow); }
.map-heat-dot.low { background: var(--neon-green); }

/* INVENTORY */
.inventory-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inventory-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  gap: 12px;
}

.inv-emoji { font-size: 1.4rem; width: 36px; text-align: center; }
.inv-info { flex: 1; }
.inv-name {
  font-size: 0.9rem;
  font-weight: 700;
}
.inv-detail {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.inv-qty {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-cyan);
  min-width: 30px;
  text-align: right;
}
.inv-sell .btn {
  padding: 8px 14px;
  font-size: 0.75rem;
  margin: 0;
}

.inventory-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.inventory-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.inventory-empty p {
  font-size: 0.9rem;
}

/* CONTACTS */
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card {
  display: flex;
  align-items: center;
  padding: 14px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.contact-card:active {
  border-color: var(--neon-cyan);
  background: var(--bg-card-hover);
}

.contact-avatar {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,240,255,0.08);
  border-radius: 50%;
}

.contact-info { flex: 1; }
.contact-info h3 {
  font-size: 0.95rem;
  color: var(--text-primary);
}
.contact-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.contact-action {
  font-size: 1.2rem;
}

/* ============ BOTTOM NAV ============ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 100;
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  gap: 4px;
}
.nav-btn.active {
  color: var(--neon-pink);
}
.nav-btn.active .nav-icon {
  transform: scale(1.1);
}

.nav-icon {
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.nav-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ MODALS ============ */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.2s;
}
.modal.hidden { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
  background: var(--bg-surface);
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
  animation: slideUp 0.3s;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 {
  font-size: 1.1rem;
  color: var(--neon-cyan);
}

/* TRADE MODAL */
.trade-info {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 16px;
}
.trade-info span:first-child {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.price-value {
  color: var(--neon-green);
  font-weight: 700;
}

.trade-slider-container {
  padding: 12px 0;
}

.trade-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  outline: none;
}
.trade-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  background: var(--neon-pink);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255,45,107,0.5);
}

.trade-qty, .trade-total {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.trade-qty span:last-child,
.trade-total span:last-child {
  color: var(--text-primary);
  font-weight: 700;
}

.trade-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.trade-buttons .btn {
  flex: 1;
  padding: 14px;
}

/* POLICE MODAL */
.police-content, .icac-content {
  text-align: center;
}
.police-header, .icac-header {
  margin-bottom: 16px;
}
.police-icon, .icac-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}
.police-header h3 {
  color: var(--danger);
  font-size: 1.3rem;
}
.icac-header h3 {
  color: var(--neon-yellow);
  font-size: 1.3rem;
}
.police-desc, .icac-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.police-options {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.police-options .btn {
  margin: 0;
  margin-bottom: 8px;
  padding: 14px;
}
.icac-penalty {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  color: var(--danger);
  font-weight: 700;
}

/* ============ GAME OVER ============ */
#gameover-screen {
  background: var(--bg-dark);
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(255,45,107,0.2) 0%, transparent 50%);
}

.gameover-content {
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.gameover-title {
  font-size: 2.5rem;
  color: var(--neon-pink);
  text-shadow: 0 0 20px rgba(255,45,107,0.5);
  margin-bottom: 2rem;
}

.gameover-stats {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.stat-row:last-child { border-bottom: none; }
.stat-row.total {
  border-top: 2px solid var(--neon-pink);
  border-bottom: none;
  margin-top: 4px;
  padding-top: 14px;
}
.stat-row.total .stat-value {
  color: var(--neon-pink);
  font-size: 1.2rem;
}

.stat-value {
  color: var(--text-primary);
  font-weight: 700;
}

.gameover-rank {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  padding: 16px;
}

/* ============ TUTORIAL ============ */
.tutorial-intro {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  border-left: 3px solid var(--neon-cyan);
}

.drug-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}
.drug-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.drug-emoji { font-size: 1.5rem; }
.drug-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}
.drug-avg {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(57,255,20,0.1);
  padding: 4px 10px;
  border-radius: 12px;
}
.drug-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tutorial-tip {
  background: rgba(255,230,0,0.08);
  border: 1px solid rgba(255,230,0,0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}
.tutorial-tip h3 {
  color: var(--neon-yellow);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.tutorial-tip ul {
  list-style: none;
  padding: 0;
}
.tutorial-tip li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 4px 0;
  line-height: 1.5;
}
.tutorial-tip li::before {
  content: '▸ ';
  color: var(--neon-yellow);
}

/* ============ LEADERBOARD ============ */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lb-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  gap: 12px;
}
.lb-row.gold { border-color: #ffd700; background: rgba(255,215,0,0.05); }
.lb-row.silver { border-color: #c0c0c0; background: rgba(192,192,192,0.05); }
.lb-row.bronze { border-color: #cd7f32; background: rgba(205,127,50,0.05); }

.lb-rank {
  font-size: 1.2rem;
  font-weight: 900;
  width: 32px;
  text-align: center;
}
.lb-name {
  flex: 1;
  font-weight: 700;
  font-size: 0.9rem;
}
.lb-score {
  font-weight: 700;
  color: var(--neon-green);
  font-size: 0.9rem;
}
.lb-title {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.leaderboard-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

/* ============ SAVE SCORE ============ */
.save-score {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  justify-content: center;
  align-items: center;
}
.name-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  width: 160px;
  outline: none;
}
.name-input:focus {
  border-color: var(--neon-pink);
}
.name-input::placeholder {
  color: var(--text-muted);
}

/* ============ STORY MODAL ============ */
.story-body {
  padding: 20px 16px;
  background: var(--bg-card);
  border-radius: 8px;
  border-left: 3px solid var(--neon-yellow);
}
.story-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
}

/* ============ LOAN TABS ============ */
.loan-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.loan-tab {
  flex: 1;
  padding: 10px;
  background: var(--bg-card);
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.loan-tab.active {
  background: var(--neon-pink);
  color: #fff;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ============ RESPONSIVE ============ */
@media (min-width: 480px) {
  .title-cn { font-size: 4.5rem; }
  .title-en { font-size: 1.5rem; }
  .market-item { padding: 14px 16px; }
  .map-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (min-width: 768px) {
  .map-grid { grid-template-columns: repeat(4, 1fr); }
  .modal-content {
    border-radius: 20px;
    margin-bottom: 10%;
    max-height: 80vh;
  }
  .modal { align-items: center; }
}
