:root { --bg:#0e0f11; --card:#17181b; --card2:#202125; --text:#f2f3f5; --muted:#8b8f97; --blue:#3e6ae1; --green:#34c759; --red:#e8523f; --amber:#ffb020; }
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body { margin:0; background:var(--bg); color:var(--text); font:15px/1.35 -apple-system,BlinkMacSystemFont,"SF Pro Text",Roboto,"Segoe UI",sans-serif; overscroll-behavior:none; }
body { padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom); user-select:none; }
.hidden { display:none !important; }
.muted { color:var(--muted); } .small { font-size:12px; }
button { font:inherit; color:inherit; border:0; background:var(--card2); border-radius:14px; padding:12px 16px; cursor:pointer; }
button:active { transform:scale(.97); }
.primary { background:var(--blue); color:#fff; font-weight:600; }
.danger { color:var(--red); }
.wide { width:100%; margin-top:10px; }
.screen { max-width:520px; margin:0 auto; padding:16px 16px 40px; }

/* Eşleştirme */
.pair-box { text-align:center; padding-top:6vh; }
.pair-car { width:78%; max-width:340px; }
.pair-box h1 { margin:8px 0 4px; font-size:28px; }
.steps { text-align:left; color:var(--muted); padding-left:20px; margin:18px 0; }
#code { width:100%; padding:16px; font-size:22px; letter-spacing:4px; text-align:center; text-transform:uppercase; border-radius:14px; border:1px solid #2a2c31; background:var(--card); color:var(--text); }
.msg { min-height:20px; color:var(--amber); }

/* Ana */
header { display:flex; justify-content:space-between; align-items:center; padding:6px 2px 0; }
.title { font-size:22px; font-weight:600; }
.conn { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:13px; margin-top:2px; }
.dot { width:8px; height:8px; border-radius:50%; background:var(--muted); }
.conn.on .dot { background:var(--green); box-shadow:0 0 8px var(--green); }
.icon-btn { width:42px; height:42px; padding:0; border-radius:50%; font-size:20px; }
.hero { text-align:center; margin:4px 0 6px; }
#carImg { width:92%; max-width:420px; filter:drop-shadow(0 18px 26px rgba(0,0,0,.6)); transition:opacity .3s; }
.offline #carImg { opacity:.55; }
.battery { margin-top:-6px; }
.pct { font-size:40px; font-weight:300; } .pct small { font-size:18px; margin-left:2px; color:var(--muted); }
.bar { width:60%; margin:4px auto; height:6px; border-radius:3px; background:#2a2c31; overflow:hidden; }
.bar i { display:block; height:100%; width:0; background:var(--green); transition:width .4s; }
.note { background:#1f1b12; color:#e9c46a; border-radius:12px; padding:10px 12px; font-size:13px; margin:8px 0; }
.quick { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:14px 0; }
.q { display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 6px; border-radius:16px; background:var(--card); }
.q .qi { font-size:22px; } .q .ql { font-size:12px; color:var(--muted); }
.q.on { background:var(--blue); } .q.on .ql { color:#fff; }
.q.busy { opacity:.6; }
.card { background:var(--card); border-radius:18px; padding:14px; margin:12px 0; }
.card-h { display:flex; justify-content:space-between; font-weight:600; margin-bottom:10px; }
.card-h .muted { font-weight:400; font-size:13px; }
.temp { display:flex; align-items:center; justify-content:center; gap:22px; margin:6px 0 12px; }
.round { width:52px; height:52px; border-radius:50%; font-size:26px; padding:0; }
.tval { font-size:46px; font-weight:200; min-width:120px; text-align:center; } .tval small { font-size:18px; color:var(--muted); }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.chip { padding:9px 14px; border-radius:20px; font-size:13px; }
.chip.on { background:var(--blue); color:#fff; }
.row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.seg { display:flex; gap:4px; background:var(--card2); border-radius:12px; padding:3px; }
.seg button { flex:1; padding:8px 0; min-width:34px; border-radius:9px; background:transparent; font-size:13px; color:var(--muted); }
.seg button.on { background:#33353b; color:var(--text); }
.seats { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.seat .muted { font-size:12px; margin-bottom:6px; }
.grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; font-size:14px; }
.grid .muted { font-size:12px; }
.maplink { display:block; margin-top:14px; color:var(--blue); text-decoration:none; font-size:14px; }
.toast { position:fixed; left:50%; bottom:calc(24px + env(safe-area-inset-bottom)); transform:translateX(-50%); background:#2a2c31; padding:10px 16px; border-radius:20px; font-size:14px; max-width:90%; }
.sheet { position:fixed; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:flex-end; }
.sheet-box { width:100%; max-width:520px; margin:0 auto; background:var(--card); border-radius:20px 20px 0 0; padding:18px 16px calc(20px + env(safe-area-inset-bottom)); }
