/* Leuchtturm — same look as TopGun (navy and gold), large text on purpose. */
:root { --bg: #060D17; --panel: #0E1D30; --bubble-a: #122238; --bubble-u: #1E3654; --accent: #E0B563; --accent-dim: #B8924A; --text: #FDFBF5; --muted: #A6BAD3; --border: #2E496C; --danger: #F0906A; --ok: #7FD1A0; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font: 19px/1.5 -apple-system, 'Inter', 'Segoe UI', sans-serif; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: Georgia, 'Fraunces', serif; font-weight: 600; margin: 0 0 8px; } h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; color: var(--accent); }
.app { max-width: 880px; margin: 0 auto; padding: 14px 16px calc(96px + env(safe-area-inset-bottom)); }
button, input, select, textarea { font: inherit; color: inherit; }
button { min-height: 52px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); cursor: pointer; font-weight: 600; }
button.primary { background: var(--accent); color: #1a1204; border-color: var(--accent); } button.danger { border-color: var(--danger); color: var(--danger); } button.ghost { background: transparent; }
button:disabled { opacity: .5; cursor: default; } button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
input, textarea, select { width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: #0a1626; font-size: 19px; } textarea { min-height: 110px; resize: vertical; }
label { display: block; margin: 14px 0 4px; color: var(--muted); font-size: 17px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 0 0 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .row > * { flex: 0 0 auto; } .grow { flex: 1 1 200px !important; }
.muted { color: var(--muted); font-size: 17px; } .err { color: var(--danger); font-weight: 600; margin: 10px 0; } .good { color: var(--ok); }
.top { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin: 0 0 10px; } .top h1 { margin: 0; display: flex; gap: 10px; align-items: center; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: #0a1626; border-top: 1px solid var(--border); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); z-index: 5; }
.nav button { flex: 1 1 0; min-width: 0; padding: 6px 2px; min-height: 58px; border: 0; background: transparent; font-size: 15px; border-radius: 10px; display: flex; flex-direction: column; gap: 2px; align-items: center; color: var(--muted); } .nav button.on { color: var(--accent); background: var(--panel); } .nav .ico { font-size: 24px; }
.person { display: flex; gap: 14px; align-items: center; cursor: pointer; } .person:hover { border-color: var(--accent-dim); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--bubble-u); object-fit: cover; display: grid; place-items: center; font-size: 28px; flex: 0 0 auto; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--bubble-u); font-size: 15px; color: var(--muted); } .badge.dating { color: var(--ok); } .badge.ended { color: var(--danger); }
.stars button { min-height: 52px; min-width: 52px; padding: 0; font-size: 24px; } .stars button.on { background: var(--accent); color: #1a1204; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; } .photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); cursor: pointer; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: grid; place-items: center; z-index: 20; padding: 12px; } .lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; } .lightbox .row { position: absolute; bottom: 20px; }
.chat { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; max-height: 52vh; overflow-y: auto; }
.bubble { padding: 12px 16px; border-radius: 16px; max-width: 92%; white-space: pre-wrap; } .bubble.a { background: var(--bubble-a); align-self: flex-start; border: 1px solid var(--border); } .bubble.u { background: var(--bubble-u); align-self: flex-end; }
.pulse { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--danger); animation: pulse 1.2s infinite; } .pulse.thinking { background: var(--accent); } .pulse.speaking { background: var(--ok); } @keyframes pulse { 50% { opacity: .25; } }
.code { font: 700 28px/1.4 ui-monospace, Menlo, monospace; letter-spacing: 2px; background: #0a1626; border: 2px dashed var(--accent); border-radius: 12px; padding: 16px; text-align: center; word-break: break-all; user-select: all; }
.disguise { position: fixed; inset: 0; background: #fff; color: #222; z-index: 50; padding: 24px; font: 20px/1.6 -apple-system, sans-serif; overflow: auto; } .disguise h1 { color: #222; }
.banner { background: var(--bubble-u); border: 1px solid var(--accent-dim); border-radius: 12px; padding: 12px 16px; margin: 0 0 12px; }
.bar { height: 14px; background: #0a1626; border-radius: 7px; overflow: hidden; } .bar > span { display: block; height: 100%; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
