:root { --bg:#0f0f12; --card:#1c1c22; --text:#f2f2f2; --muted:#9aa0a6; }
* { box-sizing: border-box; }
html, body { margin:0; padding:0; background:var(--bg); color:var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; height:100%; }
#app { max-width: 480px; margin: 0 auto; padding: 12px; }
header { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
h1 { font-size: 20px; margin: 8px 0; }
button { background:#2d2d36; color:var(--text); border:0; padding:10px 14px; border-radius:14px; cursor:pointer; }
button:active { transform: scale(0.98); }
.card { background:var(--card); padding:12px; border-radius:16px; margin-bottom:12px; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.row { display:flex; flex-direction:column; gap:6px; margin:8px 0; }
input, textarea, select { width:100%; padding:10px; border-radius:12px; border:1px solid #333; background:#111118; color:var(--text); }
.stack { position:relative; height: 58vh; overflow: hidden; border-radius:18px; }
.tcard { position:absolute; inset:0; background:var(--card); border-radius:18px; display:flex; flex-direction:column; overflow:hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.35); touch-action: none; }
.tcard .avatar { width:100%; height: 62%; object-fit: cover; background:#000; }
.tcard .info { padding:12px; }
.tcard .name { font-weight:700; font-size:18px; }
.tcard .meta { color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
footer { display:flex; gap:12px; justify-content:center; margin-top:12px; }
footer button { min-width:120px; font-weight:700; }
.badge { position:absolute; top:14px; right:14px; padding:6px 10px; border-radius:10px; background:#2e7d32; }
.modal { position:fixed; inset:0; background:rgba(0,0,0,0.5); display:flex; align-items:center; justify-content:center; }
.modal.hidden { display:none; }
.modal-content { background:var(--card); padding:16px; border-radius:18px; width:95%; max-width:420px; }
.match { display:flex; gap:10px; padding:8px 0; align-items:center; }
.match img { width:48px; height:48px; border-radius:12px; object-fit:cover; background:#000; }
.empty { color: var(--muted); text-align:center; padding:24px; }