:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #14141f;
  --bg-tertiary: #1e1e2e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;
  --accent: #00d4ff;
  --accent-secondary: #00ff88;
  --amber: #ffcc44;
  --danger: #ff4466;
  --focus-ring: #00d4ff;
  --focus-glow: rgba(0, 212, 255, 0.4);
  --radius-md: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 600px; height: 600px; overflow: hidden;
  background: #000;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#app { width: 100%; height: 100%; position: relative; }
.screen { width: 100%; height: 100%; position: absolute; top: 0; left: 0; display: flex; flex-direction: column; }
.screen.hidden { display: none; }
.focusable { transition: all 0.15s ease; border: 2px solid transparent; cursor: pointer; outline: none; }
.focusable:focus { border-color: var(--focus-ring); box-shadow: 0 0 20px var(--focus-glow); }
.hidden { display: none !important; }

/* Header */
.hdr {
  flex: 0 0 auto;
  padding: 18px 20px 14px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--bg-tertiary);
}
.hdr-title { font-size: 26px; font-weight: 700; letter-spacing: -0.4px; }
.hdr-sub { margin-top: 6px; font-size: 15px; color: var(--text-secondary); }

/* Passport selector button */
.passport-btn {
  margin-top: 12px;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-align: left;
}
.pb-flag { font-size: 34px; line-height: 1; }
.pb-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pb-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.pb-name { font-size: 20px; font-weight: 600; }
.pb-chev { font-size: 30px; color: var(--text-secondary); }

/* Scrollable list */
.list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 14px;
  scrollbar-width: none;
}
.list::-webkit-scrollbar { display: none; }

/* Destination / picker row */
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 14px;
  margin: 6px 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}
.row-flag { font-size: 28px; line-height: 1; width: 34px; text-align: center; }
.row-name { flex: 1; font-size: 18px; font-weight: 500; color: var(--text-primary); }
.row-check { color: var(--accent-secondary); font-size: 22px; font-weight: 700; width: 24px; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }

/* Footer legend */
.ftr {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--bg-primary);
  border-top: 1px solid var(--bg-tertiary);
}
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); }

/* Result screen */
.result-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  gap: 18px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-secondary);
  border: 2px solid var(--text-muted);
}
.badge-dot { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; }
.badge-label { font-size: 28px; font-weight: 700; }
.facts { display: flex; flex-direction: column; gap: 12px; }
.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}
.fact-k { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); flex: 0 0 auto; }
.fact-v { font-size: 18px; font-weight: 500; text-align: right; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.act-btn {
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
}
.disclaimer { font-size: 13px; line-height: 1.5; color: var(--text-muted); text-align: center; }
