:root { --ink:#1d1d1f; --accent:#f2b705; --pink:#ff2e93; --panel:rgba(255,255,255,.9); }
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html, body { margin:0; height:100%; overflow:hidden; background:#f3d3b5; font-family:system-ui,-apple-system,sans-serif;
  color:var(--ink); touch-action:none; user-select:none; -webkit-user-select:none; }
canvas { display:block; }

#hud { position:fixed; inset:0; pointer-events:none; z-index:5; }
.title { position:absolute; top:14px; left:16px; font-weight:800; font-size:14px; color:#3a2a1a; }
.title small { font-weight:600; color:#7a5a3a; }
.banner { position:absolute; top:28%; left:50%; transform:translate(-50%,-50%) scale(.8); font:900 clamp(22px,5vw,44px) system-ui;
  color:#fff; text-shadow:0 3px 0 #b3003e, 0 6px 18px rgba(0,0,0,.35); opacity:0; transition:all .25s; text-align:center;
  max-width:calc(100% - 32px); }
.banner.show { opacity:1; transform:translate(-50%,-50%) scale(1); }

.tag { font:700 11px system-ui; background:rgba(255,255,255,.9); padding:2px 7px; border-radius:999px; white-space:nowrap; }
.tag.you { background:var(--accent); }
.bubble { font:700 12px system-ui; background:#fff; padding:4px 9px; border-radius:12px; white-space:nowrap;
  box-shadow:0 2px 8px rgba(0,0,0,.18); }
.float { font:900 18px system-ui; color:#fff; text-shadow:0 2px 0 rgba(0,0,0,.45); white-space:nowrap; pointer-events:none; }
.float.poof { font-size:22px; color:#fff36b; }
.float.minus { color:#ff6b6b; }
.float.plus { color:#7dff8a; }

#emoteWheel.open { display:grid; }
#emoteWheel button { border:0; border-radius:9px; padding:9px 10px; font:700 12px system-ui; background:#ececef; cursor:pointer; }

#start { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; z-index:10;
  background:linear-gradient(180deg, rgba(142,197,255,.55), rgba(255,179,138,.75)); padding:16px; }
#start .card { background:#fff; border-radius:18px; padding:22px; max-width:440px; width:100%; text-align:center;
  box-shadow:0 10px 40px rgba(0,0,0,.2); }
#start h1 { margin:0; font:900 30px system-ui; color:#2b1a0e; }
#start .sub { margin:4px 0 14px; color:#7a5a3a; font-weight:600; }
#start .pick { margin:0 0 8px; font-weight:700; }
#start .choices { display:flex; gap:10px; justify-content:center; }
#start .choices button { flex:1; border:0; border-radius:12px; padding:14px; font:800 16px system-ui; background:var(--accent);
  cursor:pointer; opacity:.45; }
#start .choices button.ready { opacity:1; }
#start .keys, #start .goals { margin-top:14px; font-size:12px; color:#555; line-height:1.6; text-align:left; }
#start .goals { color:#7a3d00; }
#loading { font-size:12px; color:#888; margin:10px 0 0; }

.sticker-wrap { pointer-events:none; width:0; height:0; }
.sticker { position:absolute; left:0; top:0; translate:-50% -50%; pointer-events:none; width:auto;
  filter:drop-shadow(0 3px 4px rgba(0,0,0,.28)); will-change:transform, opacity; }

.chalan.flash { animation:chalanFlash .6s; }
@keyframes chalanFlash { 0%,100% { transform:scale(1); } 30% { transform:scale(1.3); } 60% { transform:scale(.95); } }
#thana { position:fixed; inset:0; z-index:9; display:none; align-items:center; justify-content:center;
  background:rgba(10,12,30,.82); padding:16px; }
#thana.show { display:flex; }
#thana .card { background:#fff; border-radius:16px; padding:22px 28px; text-align:center; max-width:360px; width:100%; }
#thana h2 { margin:0 0 6px; font:900 26px system-ui; color:#1f3fae; }
#thana p { margin:0 0 10px; font-weight:700; color:#7a0d0d; }
#thana b { font:900 40px system-ui; color:#1d1d1f; }

/* ---------------- GTA-style status stack (top-right) */
:root { --sl:env(safe-area-inset-left, 0px); --sr:env(safe-area-inset-right, 0px);
        --st:env(safe-area-inset-top, 0px); --sb:env(safe-area-inset-bottom, 0px);
        --outline:0 2px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 3px 8px rgba(0,0,0,.45); }
.topright { position:absolute; top:calc(8px + var(--st)); right:calc(14px + var(--sr)); display:flex; flex-direction:column;
  align-items:flex-end; gap:2px; text-align:right; }
.jp { display:flex; align-items:baseline; gap:6px; font:900 34px system-ui; color:#7cff6b; text-shadow:var(--outline);
  letter-spacing:.01em; transform-origin:right center; }
.jp span { font-size:15px; color:#fff; }
.jp.bump { animation:bump .35s; }
@keyframes bump { 40% { transform:scale(1.18); } }
.chalan { display:none; align-items:center; gap:2px; transform-origin:right center; }
.chalan span { font:900 11px system-ui; letter-spacing:.08em; color:#fff; text-shadow:var(--outline); margin-right:4px; }
.chalan i { font-style:normal; font-size:26px; line-height:1; color:rgba(255,255,255,.35); text-shadow:0 2px 0 #000; }
.chalan i.on { color:#ffd23f; text-shadow:0 2px 0 #000, 0 0 10px rgba(255,80,40,.8); }
.speed { display:none; flex-direction:column; align-items:flex-end; margin-top:4px; color:#fff; text-shadow:var(--outline); }
.speed small { font:800 11px system-ui; letter-spacing:.08em; text-transform:uppercase; opacity:.95; }
.speed b { font:900 38px system-ui; line-height:1; }
.speed span { font:800 13px system-ui; margin-left:4px; }
.buff { display:none; margin-top:4px; font:800 12px system-ui; color:#fff; background:rgba(122,61,0,.85);
  padding:3px 10px; border-radius:6px; }

/* ---------------- GTA-style help box (top-left) */
.title { top:calc(10px + var(--st)); left:calc(14px + var(--sl)); color:#fff; text-shadow:var(--outline); }
.title small { color:#ffe3b3; }
.help { position:absolute; top:calc(36px + var(--st)); left:calc(14px + var(--sl)); display:flex; flex-direction:column;
  gap:6px; max-width:min(340px, 58vw); }
.hint { display:none; font:600 13px system-ui; line-height:1.35; color:#fff; background:rgba(12,12,18,.78);
  padding:8px 12px; border-radius:6px; border-left:4px solid var(--accent); }
.chalanHint { border-left-color:#e11d2a; }

/* ---------------- controls */
#actions { position:fixed; right:calc(12px + var(--sr)); bottom:calc(12px + var(--sb)); width:236px; height:250px;
  z-index:6; pointer-events:none; }
.act { position:absolute; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  width:66px; height:66px; border-radius:50%; border:0; color:var(--ink); background:rgba(255,255,255,.9);
  box-shadow:0 3px 10px rgba(0,0,0,.25); cursor:pointer; pointer-events:auto; touch-action:none; }
.act b { font:800 13px system-ui; }
.act kbd { font:700 10px system-ui; background:rgba(0,0,0,.12); border-radius:4px; padding:1px 5px; }
.act:active { transform:scale(.92); }
.a-main { right:0; bottom:0; width:90px; height:90px; background:var(--accent); }
.a-main b { font-size:16px; }
.a-left { right:102px; bottom:4px; }
.a-top { right:12px; bottom:102px; }
.a-diag { right:90px; bottom:88px; width:54px; height:54px; }
.a-diag b { font-size:11px; }
.ctx { display:none; right:0; bottom:186px; width:auto; height:44px; padding:0 16px; border-radius:999px; flex-direction:row; gap:8px; }
.ctx2 { bottom:238px; }
.act.chai { background:#ffb347; }
.act.ride { background:#7dd3fc; }
.act.drive { display:none; }
body.driving .act { display:none; }
body.driving .act.drive { display:flex; }
body.driving #emoteWheel { display:none; }
body.riding .act { display:none; }
body.riding #rideBtn { display:flex; }
body.riding #emoteWheel, body.riding #stick { display:none !important; }
#emoteWheel { position:fixed; right:calc(12px + var(--sr)); bottom:calc(270px + var(--sb)); display:none;
  grid-template-columns:repeat(2, 1fr); gap:6px; background:rgba(12,12,18,.82); padding:8px; border-radius:12px; z-index:7; }
#emoteWheel button { color:#fff; background:rgba(255,255,255,.12); }

/* joystick: a permanent ring bottom-left on touch screens; it jumps to your thumb and springs back */
#stick { position:fixed; left:calc(28px + var(--sl)); bottom:calc(28px + var(--sb)); width:128px; height:128px;
  border-radius:50%; background:rgba(255,255,255,.18); border:2px solid rgba(255,255,255,.55); display:none;
  z-index:6; pointer-events:none; opacity:.6; transition:opacity .15s; }
#stick.active { opacity:1; }
#knob { position:absolute; left:37px; top:37px; width:54px; height:54px; border-radius:50%; background:rgba(255,255,255,.9);
  box-shadow:0 2px 8px rgba(0,0,0,.25); }
@media (pointer: coarse) {
  #stick { display:block; }
  .act kbd { display:none; }                     /* key labels are for keyboards only */
}
@media (max-width: 600px) {
  .jp { font-size:26px; } .speed b { font-size:30px; } .chalan i { font-size:22px; }
  #actions { transform:scale(.9); transform-origin:right bottom; }
}

/* live conditions under JP */
.conds { display:flex; gap:6px; align-items:baseline; font:800 15px system-ui; color:#fff; text-shadow:var(--outline); }
.conds .dot { opacity:.8; }
.aqi { display:flex; align-items:center; gap:6px; margin-top:2px; padding:3px 9px; border-radius:6px;
  background:rgba(12,12,18,.72); border-left:5px solid #f39c12; color:#fff; font:800 12px system-ui; }
.aqi small { font:700 11px system-ui; opacity:.9; }
@media (max-width: 600px) { .conds { font-size:13px; } .aqi { font-size:11px; } }

.section { font:900 18px system-ui; color:#fff; text-shadow:var(--outline); margin-top:2px; }
.help { top:calc(58px + var(--st)); }

/* area picker: tap the 📍 label */
.section { pointer-events:auto; cursor:pointer; display:flex; width:max-content; align-items:center; gap:6px; }
.section::after { content:'▾'; font-size:13px; opacity:.85; }
.section:hover { filter:brightness(1.15); }
#areas { position:fixed; top:calc(62px + var(--st)); left:calc(14px + var(--sl)); z-index:8; display:none;
  width:min(300px, calc(100vw - 28px)); max-height:calc(100vh - 90px); overflow:auto; background:rgba(12,12,18,.88);
  border-radius:10px; padding:8px; box-shadow:0 8px 30px rgba(0,0,0,.35); }
#areas.open { display:block; pointer-events:auto; }   /* the HUD lets clicks through to the game; this menu takes them */
.areasHead { color:#fff; font:800 14px system-ui; padding:4px 6px 8px; }
.areasHead small { display:block; font:600 11px system-ui; opacity:.7; }
#areaList button { display:flex; width:100%; align-items:center; gap:10px; border:0; background:transparent; color:#fff;
  text-align:left; padding:9px 8px; border-radius:7px; cursor:pointer; font:700 14px system-ui; }
#areaList button:hover, #areaList button:focus-visible { background:rgba(255,255,255,.12); outline:none; }
#areaList button .n { width:22px; height:22px; flex:none; border-radius:50%; background:var(--accent); color:#1d1d1f;
  display:grid; place-items:center; font:900 11px system-ui; }
#areaList button small { display:block; font:600 11px system-ui; opacity:.65; }
#areaList button.here { background:rgba(242,183,5,.22); }
#areaList button.here::after { content:'You are here'; margin-left:auto; font:700 10px system-ui; color:#ffd23f; }
#start .credits { margin:10px 0 0; font-size:10px; color:#999; }

/* ---------------- accounts (start screen) */
.auth { margin:0 0 12px; text-align:left; }
.auth .tabs { display:flex; gap:6px; margin-bottom:8px; }
.auth .tabs button { flex:1; border:0; border-radius:9px; padding:9px; font:800 14px system-ui; background:#f1ece6; color:#7a5a3a; cursor:pointer; }
.auth .tabs button.on { background:#2b1a0e; color:#fff; }
.auth form { display:flex; flex-direction:column; gap:7px; }
.auth input { border:1.5px solid #e2d6c8; border-radius:9px; padding:10px 11px; font:600 15px system-ui; background:#fffdf9; }
.auth input:focus { outline:none; border-color:var(--accent); }
.auth form button[type=submit] { border:0; border-radius:10px; padding:11px; font:800 15px system-ui; background:var(--accent); cursor:pointer; }
.auth form button[disabled] { opacity:.6; cursor:wait; }
.auth .err { margin:0; min-height:1em; color:#c1121f; font:700 12px system-ui; }
.auth .soon { margin:6px 0 0; font-size:11px; color:#9a8a7a; text-align:center; }
.who { margin:0 0 10px; font:600 13px system-ui; color:#5a4030; }
.who a { color:#c1121f; }
#start .choices.locked button { opacity:.3; pointer-events:none; }

/* ---------------- online status (top-left, under the area name) */
.online { pointer-events:auto; display:flex; align-items:center; gap:8px; margin-top:4px; font:800 12px system-ui; color:#fff;
  text-shadow:var(--outline); }
.online button { border:0; border-radius:999px; padding:4px 10px; font:800 11px system-ui; background:var(--accent); color:#1d1d1f;
  cursor:pointer; text-shadow:none; }
.tag.remote { background:#7dd3fc; }
.online[hidden], #invite[hidden] { display:none; }

/* ---------------- driving on phones: arrow pad instead of the joystick */
.pad { position:fixed; left:calc(18px + var(--sl)); bottom:calc(22px + var(--sb)); display:none; gap:14px; z-index:6; }
.pad button, .act.drive.gas, [data-pad="down"] { touch-action:none; user-select:none; -webkit-user-select:none; }
.pad button { width:84px; height:84px; border:0; border-radius:20px; font:900 34px system-ui; color:var(--ink);
  background:rgba(255,255,255,.88); box-shadow:0 3px 10px rgba(0,0,0,.25); cursor:pointer; }
.pad button.held, .act.held { transform:scale(.92); background:var(--accent); }
.act.gas { background:#7cff6b; }
.act.gas b, [data-pad="down"] b { font-size:26px; }
.act.handbrake b { font-size:11px; }
.pad button { width:76px; height:76px; }
.pad { gap:10px; }
body.driving #stick { display:none !important; }
@media (pointer: coarse) { body.driving .pad { display:flex; } }
@media (pointer: fine) { .act.handbrake { display:none !important; } }
.soundBtn { pointer-events:auto; display:block; margin-top:6px; border:0; border-radius:999px; padding:4px 10px;
  font:800 12px system-ui; background:rgba(12,12,18,.72); color:#fff; cursor:pointer; }

/* ---------------- guest mode */
.guestBtn { display:block; width:100%; margin-top:10px; border:1.5px dashed #cdbba8; border-radius:10px; padding:9px;
  background:transparent; font:800 14px system-ui; color:#5a4030; cursor:pointer; }
.guestBtn small { display:block; font:600 11px system-ui; color:#9a8a7a; }
.keepGuest { display:block; margin-top:8px; text-align:center; font:700 13px system-ui; color:#7a5a3a; }
.keepGuest[hidden] { display:none; }
#start.loginOnly .pick, #start.loginOnly .choices, #start.loginOnly #loading, #start.loginOnly .keys,
#start.loginOnly .goals, #start.loginOnly .guestBtn { display:none; }
.guestNote { position:absolute; left:50%; top:calc(10px + var(--st)); transform:translateX(-50%); pointer-events:auto;
  display:flex; align-items:center; gap:8px; padding:6px 8px 6px 12px; border-radius:999px; background:rgba(12,12,18,.8);
  color:#fff; font:700 12px system-ui; white-space:nowrap; max-width:calc(100vw - 24px); }
.guestNote[hidden] { display:none; }
.guestNote button { border:0; border-radius:999px; padding:5px 11px; font:800 12px system-ui; background:var(--accent); color:#1d1d1f; cursor:pointer; }
@media (max-width: 1000px) { .guestNote { top:calc(118px + var(--st)); } }
@media (max-width: 600px) { .guestNote { top:calc(128px + var(--st)); font-size:11px; width:max-content; max-width:calc(100vw - 24px);
  white-space:normal; flex-wrap:wrap; justify-content:center; text-align:center; border-radius:16px; } }

/* tipsy: a warm, swimmy vignette that grows with every beer */
#buzzFx { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity 1s;
  background: radial-gradient(ellipse at center, rgba(255,190,90,0) 35%, rgba(255,140,50,.38) 70%, rgba(150,50,120,.62) 100%);
  animation: buzzSwim 4s ease-in-out infinite; }
@keyframes buzzSwim { 0%, 100% { transform: scale(1.02) rotate(-.6deg); } 50% { transform: scale(1.08) rotate(.6deg); } }
/* cigarette smoke */
.puff { width: 16px; height: 16px; border-radius: 50%; background: rgba(240,240,240,.85); filter: blur(2px);
  animation: puffUp 1.4s ease-out forwards; }
@keyframes puffUp { from { transform: translate(0, 0) scale(.5); opacity: .9; } to { transform: translate(10px, -46px) scale(2.4); opacity: 0; } }

/* ---------------- social: friends & profile */
.socialBtn { display:block; margin-top:6px; pointer-events:auto; border:0; border-radius:999px; padding:6px 11px; font:800 12px system-ui;
  background:#2b1a0e; color:#fff; cursor:pointer; position:relative; }
#socialDot { position:absolute; top:-2px; right:-2px; width:11px; height:11px; border-radius:50%; background:var(--pink); border:2px solid #fff; }
.tag.remote { pointer-events:auto; cursor:pointer; }
.tag.remote.friend { background:#86efac; }
.tag.remote.muted::after { content:' 🔇'; }
.sheet { position:fixed; z-index:12; top:12px; right:12px; width:min(380px, calc(100% - 24px)); max-height:calc(100% - 24px);
  background:#fff; border-radius:18px; box-shadow:0 18px 50px rgba(0,0,0,.28); display:none; flex-direction:column; overflow:hidden;
  user-select:text; -webkit-user-select:text; touch-action:auto; }
.sheet.open { display:flex; }
.sheet.card2 { right:auto; left:50%; transform:translateX(-50%); }
.sheetHead { display:flex; align-items:center; gap:8px; padding:10px 10px 0 12px; }
.sheetHead .close { margin-left:auto; border:0; background:#f1ece6; border-radius:50%; width:32px; height:32px; font:800 14px system-ui; cursor:pointer; }
.stabs { display:flex; gap:4px; flex-wrap:wrap; }
.stabs button { border:0; border-radius:999px; padding:7px 11px; font:800 12px system-ui; background:#f1ece6; color:#7a5a3a; cursor:pointer; }
.stabs button.on { background:#2b1a0e; color:#fff; }
.sbody, .pbody { padding:12px 14px 16px; overflow:auto; }
.sheet h4 { margin:14px 0 6px; font:800 12px system-ui; text-transform:uppercase; letter-spacing:.06em; color:#9a7a5a; }
.sheet .empty { color:#7a6a5a; font-size:14px; line-height:1.45; }
.sheet .err { color:#c1121f; font-size:13px; min-height:1em; margin:6px 0 0; }
.sheet button { font-family:system-ui; }
.prow { display:flex; align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid #f1ece6; }
.ptxt { flex:1; min-width:0; } .ptxt b { display:block; font-size:15px; } .ptxt small { color:#8a7a6a; font-size:12px; }
.pbtns { display:flex; gap:6px; }
.pbtns button, .pbtns .btn { border:0; border-radius:9px; padding:8px 11px; font:800 13px system-ui; background:#f1ece6; cursor:pointer; color:var(--ink); text-decoration:none; }
.yes { background:var(--accent) !important; }
.danger { color:#c1121f !important; }
.editProfile { display:flex; flex-direction:column; gap:6px; }
.editProfile .who b { font-size:18px; display:block; } .editProfile .who small { color:#8a7a6a; font-size:12px; }
.editProfile label { font:800 13px system-ui; margin-top:8px; display:flex; justify-content:space-between; }
.editProfile label small { font-weight:600; color:#9a8a7a; }
.editProfile textarea, .editProfile input, .report textarea { width:100%; border:1.5px solid #e2d6c8; border-radius:10px; padding:9px 10px;
  font:600 14px system-ui; background:#fffdf9; resize:none; }
.socials { display:flex; flex-direction:column; gap:6px; }
.socials span { display:flex; align-items:center; gap:8px; } .socials i { width:70px; font:700 12px system-ui; font-style:normal; color:#7a5a3a; }
.chips { display:flex; flex-wrap:wrap; gap:6px; }
.chip { border:1.5px solid #e2d6c8; background:#fff; border-radius:999px; padding:6px 10px; font:700 13px system-ui; cursor:pointer; }
.chip.on { background:#fff3c4; border-color:var(--accent); }
.chips.small .chip { font-size:12px; padding:4px 9px; cursor:default; }
.save, .wide { border:0; border-radius:11px; padding:11px; font:800 15px system-ui; background:#f1ece6; cursor:pointer; width:100%; margin-top:8px; }
.save { background:var(--accent); }
.phead { display:flex; align-items:center; gap:12px; }
.phead h3 { margin:0; font-size:20px; } .phead small { color:#8a7a6a; font-weight:700; } .phead .tagf { color:#15803d; }
.avatar { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg,#f2b705,#ff2e93); color:#fff; font:900 22px system-ui;
  display:flex; align-items:center; justify-content:center; }
.bio { font-size:15px; line-height:1.45; margin:12px 0 8px; white-space:pre-wrap; overflow-wrap:anywhere; }
.links { display:flex; gap:6px; margin:10px 0 2px; }
.link { border-radius:999px; padding:6px 12px; font:800 13px system-ui; background:#2b1a0e; color:#fff; text-decoration:none; }
.hintSmall { color:#8a7a6a; font-size:12.5px; margin:8px 0; }
.together { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
.together button { border:0; border-radius:11px; padding:10px 4px; font:800 13px system-ui; background:#fff3c4; cursor:pointer; }
.safety { display:flex; gap:6px; flex-wrap:wrap; margin-top:16px; padding-top:10px; border-top:1px solid #f1ece6; }
.safety button { border:0; background:none; font:700 13px system-ui; color:#7a6a5a; cursor:pointer; padding:6px 8px; }
.report { display:flex; flex-direction:column; gap:6px; } .report h3 { margin:0; }
.radio { font:600 14px system-ui; display:flex; align-items:center; gap:6px; padding:3px 0; }
#photoCard img { display:block; width:calc(100% - 24px); margin:10px 12px; border-radius:12px; }
#photoCard .pbtns { padding:0 12px 14px; justify-content:center; }
/* yes/no prompts from other players */
.toasts { position:fixed; z-index:14; left:50%; bottom:22px; transform:translateX(-50%); display:flex; flex-direction:column; gap:8px;
  width:min(380px, calc(100% - 24px)); pointer-events:none; }
.toast { pointer-events:auto; background:#2b1a0e; color:#fff; border-radius:14px; padding:11px 12px 9px; font:700 14px system-ui;
  box-shadow:0 10px 30px rgba(0,0,0,.3); position:relative; overflow:hidden; animation:toastIn .2s ease-out; }
.toast.note { padding:10px 12px; text-align:center; }
.toastBtns { display:flex; gap:8px; margin-top:8px; }
.toastBtns button { flex:1; border:0; border-radius:9px; padding:9px; font:800 14px system-ui; cursor:pointer; background:#4a3a2e; color:#fff; }
.toastBtns .yes { color:var(--ink); }
.toastBar { position:absolute; left:0; bottom:0; height:3px; background:var(--accent); animation:toastBar linear forwards; width:100%; }
@keyframes toastBar { from { width:100%; } to { width:0; } }
@keyframes toastIn { from { transform:translateY(10px); opacity:0; } }
/* race / dangal scoreboard */
.gameHud { position:absolute; top:12px; left:50%; transform:translateX(-50%); background:rgba(43,26,14,.88); color:#fff; border-radius:14px;
  padding:8px 14px; font:800 14px system-ui; text-align:center; white-space:nowrap; }
.gameHud small { display:block; font-weight:600; opacity:.8; font-size:12px; }
/* date of birth */
.dob { display:flex; flex-direction:column; gap:4px; font:700 13px system-ui; color:#7a5a3a; }
.dob small { font-weight:600; color:#9a8a7a; }
.dobGate { text-align:left; display:flex; flex-direction:column; gap:8px; }
.dobGate p { margin:0; font-size:14px; line-height:1.4; }
.dobGate input { border:1.5px solid #e2d6c8; border-radius:9px; padding:10px 11px; font:600 15px system-ui; }
.dobGate button { border:0; border-radius:10px; padding:11px; font:800 15px system-ui; background:var(--accent); cursor:pointer; }
@media (max-width: 600px) {
  .sheet, .sheet.card2 { top:auto; bottom:0; left:0; right:0; transform:none; width:100%; max-height:82%; border-radius:18px 18px 0 0; }
}
.camFlash { position:fixed; inset:0; background:#fff; z-index:20; pointer-events:none; animation:flash .5s ease-out forwards; }   /* selfie flash (not .flash: the Chalan stars use that) */
@keyframes flash { from { opacity:.95; } to { opacity:0; } }

/* =====================================================================================================
   GAME UI: chunky cartoon panels + 3D buttons (start screen, setup, profile/friends sheets, prompts).
   One look everywhere; works from a 360px phone up to desktop.                                        */
:root { --edge:#2b1a0e; --cream:#fff8ea; --cream2:#fff1d2; --gold:#f2b705; --gold-d:#c98f00; }
#start { padding:12px; overflow:auto; align-items:center;
  background:radial-gradient(120% 80% at 50% 0%, rgba(255,214,102,.55), transparent 60%),
             linear-gradient(180deg, rgba(58,134,255,.45), rgba(255,46,147,.35)); }
#start .card { background:var(--cream); border:4px solid var(--edge); border-radius:28px; padding:20px 20px 16px; max-width:420px;
  box-shadow:0 10px 0 var(--edge), 0 26px 60px rgba(0,0,0,.35); margin:auto; max-height:none; animation:cardIn .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes cardIn { from { transform:translateY(30px) scale(.92); opacity:0; } }
.logo { display:flex; flex-direction:column; align-items:center; line-height:.9; margin:2px 0 16px; user-select:none; }
/* the WTF Gurgaon wordmark, after the cover art: a yellow tilted "wtf" over a chunky white GURGAON */
.logo span { font:900 clamp(30px, 9vw, 38px) system-ui; color:var(--gold); letter-spacing:.01em; -webkit-text-stroke:3px var(--edge);
  paint-order:stroke fill; text-shadow:0 3px 0 var(--edge); transform:rotate(-4deg); margin-bottom:-2px; }
.logo b { font:900 clamp(42px, 12.6vw, 58px) system-ui; color:#fff; letter-spacing:.03em; -webkit-text-stroke:3px var(--edge);
  paint-order:stroke fill; text-shadow:0 5px 0 var(--edge); margin-top:2px; }
#start .sub { margin:6px 0 14px; font:700 13px system-ui; color:#7a5a3a; }
.gbtn { display:block; width:100%; border:3px solid var(--edge); border-radius:16px; padding:12px 14px; font:900 17px system-ui;
  color:var(--edge); background:var(--gold); box-shadow:0 5px 0 var(--edge); cursor:pointer; transition:transform .06s, box-shadow .06s;
  -webkit-user-select:none; user-select:none; }
.gbtn:active:not([disabled]) { transform:translateY(4px); box-shadow:0 1px 0 var(--edge); }
.gbtn[disabled] { opacity:.5; cursor:default; }
.gbtn.big { font-size:24px; padding:15px; letter-spacing:.04em; margin-top:4px; }
.gbtn.ghost { background:var(--cream); margin-top:12px; font-size:15px; }
.auth input, #sDob { width:100%; border:3px solid var(--edge); border-radius:14px; padding:12px 13px; font:700 16px system-ui;
  background:#fff; color:var(--ink); }
.auth input:focus, #sDob:focus { outline:none; box-shadow:0 0 0 4px rgba(242,183,5,.45); }
.auth form { gap:9px; }
.auth form button[type=submit] { margin-top:4px; }
.auth .tabs { background:var(--edge); padding:4px; border-radius:16px; gap:4px; margin-bottom:12px; }
.auth .tabs button { background:transparent; color:#e8d9c4; border-radius:12px; font:900 15px system-ui; padding:9px; }
.auth .tabs button.on { background:var(--gold); color:var(--edge); }
.guestBtn { border:3px dashed #c9b59c; border-radius:16px; padding:10px; margin-top:12px; color:#5a4030; }
.err { color:#c1121f; font:800 13px system-ui; min-height:1em; margin:4px 0 0; }
/* setup steps */
.setup { text-align:center; }
.setup .steps { display:flex; justify-content:center; gap:8px; margin:0 0 10px; }
.setup .steps i { width:28px; height:8px; border-radius:99px; background:#e6d6bd; }
.setup .steps i.on { background:var(--gold); box-shadow:0 0 0 2px var(--edge); } .setup .steps i.done { background:#8ccf6a; }
.setup .steps i[hidden] { display:none; }
.setup section { display:none; } .setup section.on { display:block; animation:stepIn .28s ease-out; }
@keyframes stepIn { from { transform:translateX(24px); opacity:0; } }
.setup h2 { margin:2px 0 4px; font:900 26px system-ui; color:var(--edge); }
.hintline { margin:0 0 14px; font:600 14px system-ui; color:#7a5a3a; line-height:1.4; }
.looks { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:16px; }
.looks button, #guestPick .choices button { position:relative; border:3px solid var(--edge); border-radius:20px; background:#fff; padding:8px 6px 10px;
  cursor:pointer; box-shadow:0 5px 0 var(--edge); transition:transform .1s; font:900 16px system-ui; color:var(--edge); }
.looks button img, #guestPick .choices button img { display:block; width:100%; aspect-ratio:4/5; object-fit:contain;
  background:radial-gradient(circle at 50% 70%, #ffe7a8, #fff 70%); border-radius:14px; }
.looks button b, #guestPick .choices button b { display:block; margin-top:6px; }
.looks button.on { background:var(--gold); transform:translateY(-3px); }
.looks button.on::after { content:'✓'; position:absolute; top:-10px; right:-10px; width:30px; height:30px; border-radius:50%;
  background:#8ccf6a; border:3px solid var(--edge); font:900 16px/24px system-ui; color:var(--edge); }
.looks.small { grid-template-columns:repeat(2, 96px); justify-content:start; gap:10px; margin:2px 0 4px; }
.looks.small button { padding:4px 4px 6px; border-radius:14px; box-shadow:0 3px 0 var(--edge); font-size:13px; }
.burst { font-size:54px; animation:pop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform:scale(.2) rotate(-30deg); opacity:0; } }
/* welcome back */
.welcome .me { display:flex; align-items:center; gap:14px; text-align:left; margin:0 0 16px; padding:10px; border:3px solid var(--edge);
  border-radius:20px; background:#fff; box-shadow:0 5px 0 var(--edge); }
.welcome .me img { width:78px; height:96px; object-fit:contain; border-radius:14px; background:radial-gradient(circle at 50% 70%, #ffe7a8, #fff 70%); }
.meTxt small { display:block; font:800 12px system-ui; color:#9a7a5a; text-transform:uppercase; letter-spacing:.08em; }
.meTxt b { display:block; font:900 24px system-ui; color:var(--edge); margin:1px 0 6px; overflow-wrap:anywhere; }
.jpchip { display:inline-block; background:var(--edge); color:#7cff6b; font:900 13px system-ui; padding:4px 10px; border-radius:999px; }
.jpchip b { display:inline; font:inherit; color:inherit; margin:0; }
.meLinks { margin-top:14px; display:flex; justify-content:center; gap:10px; font:800 14px system-ui; }
.meLinks a { color:#7a5a3a; } .meLinks span { color:#c9b59c; }
#guestPick .pick { font:900 18px system-ui; color:var(--edge); margin:4px 0 10px; }
#guestPick .choices { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
#guestPick .choices button { opacity:.5; } #guestPick .choices button.ready { opacity:1; }
.who { font:700 13px system-ui; }
details.howto { margin-top:14px; text-align:left; border:3px solid var(--edge); border-radius:16px; background:var(--cream2); }
details.howto summary { cursor:pointer; font:900 14px system-ui; padding:10px 12px; color:var(--edge); list-style:none; }
details.howto summary::after { content:'＋'; float:right; } details.howto[open] summary::after { content:'－'; }
details.howto .keys, details.howto .goals { margin:0; padding:0 12px 10px; }
#loading:empty { display:none; }
/* sheets (profile, friends), photo card */
.sheet { background:var(--cream); border:4px solid var(--edge); border-radius:24px; box-shadow:0 8px 0 var(--edge), 0 24px 50px rgba(0,0,0,.35);
  animation:cardIn .3s cubic-bezier(.2,1.3,.4,1); }
.sheetHead { padding:12px 12px 0 14px; }
.sheetHead .close { border:3px solid var(--edge); background:#fff; width:36px; height:36px; font:900 15px system-ui; box-shadow:0 3px 0 var(--edge); }
.stabs { background:var(--edge); padding:4px; border-radius:16px; gap:3px; }
.stabs button { background:transparent; color:#e8d9c4; font:900 12.5px system-ui; padding:8px 10px; border-radius:12px; }
.stabs button.on { background:var(--gold); color:var(--edge); }
.prow { border-bottom:2px dashed #e6d6bd; }
.pbtns button, .pbtns .btn, .together button, .wide, .save { border:3px solid var(--edge) !important; border-radius:14px; box-shadow:0 4px 0 var(--edge);
  font-weight:900; color:var(--edge); background:#fff; }
.pbtns button:active, .together button:active, .wide:active, .save:active { transform:translateY(3px); box-shadow:0 1px 0 var(--edge); }
.together button { background:var(--cream2); padding:11px 4px; }
.chip { border:2.5px solid var(--edge); font-weight:800; }
.chip.on { background:var(--gold); }
.editProfile textarea, .editProfile input, .report textarea { border:3px solid var(--edge); border-radius:14px; font-size:16px; }
.avatar { border:3px solid var(--edge); width:58px; height:58px; }
.avatar.pic { object-fit:contain; background:radial-gradient(circle at 50% 70%, #ffe7a8, #fff 70%); border-radius:16px; height:70px; width:58px; }
.phead h3 { font:900 22px system-ui; }
.phead .jpchip { margin-top:4px; }
.statrow { margin:10px 0 2px; font:800 13px system-ui; color:#5a4030; white-space:pre-wrap; }
.link { border:3px solid var(--edge); box-shadow:0 3px 0 var(--edge); }
/* prompts from other players */
.toast { background:#241509; border:3px solid var(--gold); border-radius:18px; box-shadow:0 6px 0 #000, 0 16px 30px rgba(0,0,0,.4);
  font:800 15px system-ui; animation:toastIn .25s cubic-bezier(.2,1.5,.4,1); }
.toastBtns button { border:3px solid #000; border-radius:12px; font:900 15px system-ui; box-shadow:0 4px 0 #000; padding:10px; }
.toastBtns button:active { transform:translateY(3px); box-shadow:0 1px 0 #000; }
.toastBtns .yes { background:var(--gold) !important; }
.toastBtns .no { background:#4a3a2e; }
@keyframes toastIn { from { transform:translateY(16px) scale(.9); opacity:0; } }
.gameHud { border:3px solid var(--gold); border-radius:16px; box-shadow:0 4px 0 #000; }
.socialBtn { border:2.5px solid var(--gold); box-shadow:0 3px 0 #000; }
@media (max-width: 600px) {
  .sheet, .sheet.card2 { border-width:4px 0 0; border-radius:24px 24px 0 0; box-shadow:0 -6px 0 var(--edge), 0 -10px 40px rgba(0,0,0,.3); }
  #start { align-items:flex-start; }
  #start .card { padding:16px 14px 14px; border-radius:24px; }
}

/* sound + friends buttons side by side under the title; the hint box sits just below them (see main.js) */
.titleBtns { display:flex; gap:6px; align-items:center; margin-top:6px; pointer-events:none; }
.titleBtns .soundBtn, .titleBtns .socialBtn { margin-top:0; }
.stabs { flex-wrap:nowrap; }
.stabs button { white-space:nowrap; }

/* ---------------- style your look (setup step + mid-game restyle) */
.styler { display:grid; grid-template-columns:130px 1fr; gap:12px; align-items:start; text-align:left; margin-bottom:14px; }
.stylePreview { position:sticky; top:0; border:3px solid var(--edge); border-radius:18px; background:radial-gradient(circle at 50% 70%, #ffe7a8, #fff 70%);
  box-shadow:0 4px 0 var(--edge); position:relative; }
.stylePreview img { display:block; width:100%; aspect-ratio:4/5; object-fit:contain; }
.dice { position:absolute; right:-10px; bottom:-10px; width:44px; height:44px; border-radius:50%; border:3px solid var(--edge);
  background:var(--gold); box-shadow:0 3px 0 var(--edge); font-size:22px; cursor:pointer; }
.dice:active { transform:translateY(2px) rotate(90deg); box-shadow:0 1px 0 var(--edge); }
.styleRows { display:flex; flex-direction:column; gap:8px; }
.styleRow b { display:block; font:900 12px system-ui; text-transform:uppercase; letter-spacing:.08em; color:#7a5a3a; margin-bottom:3px; }
.swatches { display:flex; flex-wrap:wrap; gap:5px; }
.sw { width:26px; height:26px; border-radius:50%; border:2.5px solid var(--edge); cursor:pointer; padding:0; box-shadow:0 2px 0 var(--edge); }
.sw.on { outline:3px solid var(--gold); outline-offset:2px; transform:scale(1.12); }
@media (max-width: 380px) { .styler { grid-template-columns:104px 1fr; } .sw { width:24px; height:24px; } }
@media (min-width: 700px) { #start .card:has(#setup section[data-step=style].on) { max-width:520px; } .styler { grid-template-columns:170px 1fr; } .sw { width:30px; height:30px; } }
.myLook { display:flex; align-items:center; gap:12px; }
.myLook img { width:70px; height:86px; object-fit:contain; border:3px solid var(--edge); border-radius:14px; background:radial-gradient(circle at 50% 70%, #ffe7a8, #fff 70%); }
.myLook .wide { margin-top:0; }
/* restyling mid-game: just the setup steps over the running game */
#start.styleOnly .sub, #start.styleOnly #auth, #start.styleOnly #welcome, #start.styleOnly #who, #start.styleOnly #guestPick,
#start.styleOnly #loading, #start.styleOnly .howto, #start.styleOnly .credits { display:none !important; }

/* ---------------- status: rank pills, badges, tag styles */
.tag { display:inline-flex; align-items:center; gap:4px; }
.tag .rk { font:900 9px system-ui; font-style:normal; text-transform:uppercase; letter-spacing:.06em; color:#fff; background:var(--rk);
  padding:1px 5px; border-radius:999px; }
.tag .bdg { font-size:11px; line-height:1; padding:1px; border-radius:50%; box-shadow:0 0 0 2px var(--tier); background:#fff; }
.tag.ts-outline { box-shadow:0 0 0 2px #1d1d1f; }
.tag.ts-gold { background:linear-gradient(180deg, #ffe48a, #d4af37); color:#3b2a06; box-shadow:0 0 0 1.5px #8a6a12; }
.tag.ts-glow { background:#fff; box-shadow:0 0 6px 2px #7cf3ff, 0 0 14px 4px rgba(124,243,255,.6); }
.rankPill { display:inline-block; background:var(--rk); color:#fff; font:900 15px system-ui; padding:5px 12px; border-radius:999px;
  border:3px solid var(--edge); box-shadow:0 3px 0 var(--edge); text-transform:uppercase; letter-spacing:.06em; }
.rankPill.small { font-size:11px; padding:2px 8px; border-width:2px; box-shadow:none; margin:3px 6px 0 0; }
.rankBox { text-align:center; padding:12px; border:3px solid var(--edge); border-radius:18px; background:#fff; box-shadow:0 4px 0 var(--edge); }
.rankBox > small { display:block; font:800 12px system-ui; text-transform:uppercase; letter-spacing:.08em; color:#9a7a5a; margin-bottom:6px; }
.rankBar { height:12px; border-radius:99px; background:#eee3d0; border:2px solid var(--edge); margin:12px 0 4px; overflow:hidden; }
.rankBar i { display:block; height:100%; background:linear-gradient(90deg, #8ccf6a, var(--gold)); }
.badgeGrid { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.badge { border:3px solid var(--edge); border-radius:16px; background:#fff; padding:8px 4px; box-shadow:0 4px 0 var(--edge); cursor:pointer;
  display:flex; flex-direction:column; align-items:center; gap:1px; font-family:system-ui; color:var(--edge); }
.badge .bIcon { font-size:24px; width:40px; height:40px; display:grid; place-items:center; border-radius:50%; box-shadow:0 0 0 4px var(--tier); background:#fffdf6; }
.badge b { font-weight:900; font-size:13px; margin-top:6px; } .badge small { font-size:11px; color:#7a5a3a; font-weight:700; }
.badge .bNext { font-weight:600; color:#9a8a7a; font-size:10px; text-align:center; }
.badge.none { opacity:.55; } .badge.pinned { background:#fff3c4; }
.badge.pinned::before { content:'📌'; position:absolute; margin:-14px 0 0 50px; }
.badgeRow { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.miniBadge { font:800 12px system-ui; padding:4px 8px; border-radius:999px; background:#fff; box-shadow:0 0 0 2.5px var(--tier); }
.shopJp { padding:8px 16px 0; font:800 13px system-ui; color:#7a5a3a; } .shopJp b { color:var(--edge); font-size:16px; }
.shopCard { display:grid; grid-template-columns:56px 1fr auto; gap:10px; align-items:center; padding:10px; margin-bottom:10px;
  border:3px solid var(--edge); border-radius:16px; background:#fff; box-shadow:0 4px 0 var(--edge); }
.shopCard.owned { background:#f4fbe9; }
.shopPic { width:56px; height:56px; border-radius:14px; display:grid; place-items:center; font-size:30px; background:var(--cream2); border:2px solid var(--edge); }
.swatchPic { border:3px solid var(--edge); }
.tagDemo { font:700 10px system-ui; padding:2px 6px; border-radius:999px; background:#fff; max-width:52px; overflow:hidden; white-space:nowrap; }
.tagDemo.ts-outline { box-shadow:0 0 0 2px #1d1d1f; } .tagDemo.ts-gold { background:linear-gradient(180deg, #ffe48a, #d4af37); }
.tagDemo.ts-glow { box-shadow:0 0 6px 2px #7cf3ff; }
.shopTxt b { display:block; font:900 15px system-ui; } .shopTxt small { font:600 12px system-ui; color:#7a5a3a; }
.shopAct button { border:3px solid var(--edge); border-radius:12px; padding:8px 10px; font:900 13px system-ui; background:var(--gold);
  box-shadow:0 3px 0 var(--edge); cursor:pointer; white-space:nowrap; color:var(--edge); }
.shopAct button.on { background:#8ccf6a; } .shopAct button[disabled] { opacity:.45; cursor:default; }
.shopAct button:active:not([disabled]) { transform:translateY(2px); box-shadow:0 1px 0 var(--edge); }
.ownedTag { font:900 12px system-ui; color:#2f7d32; }
.paintRow { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:6px; }
.callRide { grid-column:1 / -1; margin-top:4px; font-size:15px; padding:10px; }
.sw.locked { position:relative; opacity:.55; } .sw.locked::after { content:'🔒'; position:absolute; inset:0; display:grid; place-items:center; font-size:12px; }
.sw.premium:not(.locked) { box-shadow:0 2px 0 var(--edge), 0 0 0 2px #fff inset; }
#emoteWheel .prem { background:#fff3c4; } #emoteWheel .prem.locked { opacity:.6; } #emoteWheel .prem.locked::after { content:' 🔒'; }
#areaList .callMine { background:rgba(124,255,107,.18); }

/* ---------------- booking a ride (📍 menu) */
.bookHead { display:flex; align-items:center; gap:10px; padding:4px 4px 8px; color:#fff; font:800 14px system-ui; }
.bookHead .back { border:0; width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; font:900 20px/1 system-ui; cursor:pointer; }
.bookHead b { color:var(--accent); } .bookHead small { display:block; font:600 11px system-ui; opacity:.7; }
#areaList .bookOpt .fare { margin-left:auto; font:900 13px system-ui; color:#1d1d1f; background:var(--accent); padding:3px 9px; border-radius:999px; }
#areaList .bookOpt.short { opacity:.5; } #areaList .bookOpt.short .fare { background:#999; }
.skipBtn { pointer-events:auto; margin-left:8px; border:2px solid #000; border-radius:999px; padding:3px 10px; font:900 12px system-ui;
  background:var(--accent); color:#1d1d1f; cursor:pointer; }
.metroFade { position:fixed; inset:0; z-index:15; background:#0d1b2a; color:#fff; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:8px; font:800 16px system-ui; animation:metroFade 2.2s ease-in-out forwards; pointer-events:none; }
.metroFade b { font:900 28px system-ui; color:var(--accent); }
.metroFade.quick { animation-duration:.9s; background:#000; }
@keyframes metroFade { 0% { opacity:0; } 25%, 70% { opacity:1; } 100% { opacity:0; } }
#areaList .bookHead .back { width:30px; height:30px; flex:none; display:grid; place-items:center; padding:0; }
#areaList .bookHead span { flex:1; }
/* narrow phones: the title buttons wrap instead of running into the weather/AQI stack */
.titleBtns { flex-wrap:wrap; max-width:calc(100vw - 28px - var(--sl) - var(--sr)); }   /* placed below the right-hand stack when needed (main.js) */

/* 🚕 Travel: the one yellow button in the row, so it reads as the main thing to do */
.socialBtn.travelBtn { background:var(--gold); color:var(--edge); border-color:var(--edge); }
.travelBtn.pulse { animation:travelPulse 1.4s ease-in-out infinite; }
@keyframes travelPulse { 0%, 100% { box-shadow:0 3px 0 #000, 0 0 0 0 rgba(242,183,5,.75); } 50% { box-shadow:0 3px 0 #000, 0 0 0 9px rgba(242,183,5,0); } }

/* phones: Friends / Shop / Missions as round icon buttons so the row fits; Travel keeps its label */
@media (max-width: 520px) {
  .titleBtns .socialBtn:not(.travelBtn) .lbl { display:none; }
  .titleBtns .socialBtn:not(.travelBtn) { width:36px; height:32px; padding:0; display:grid; place-items:center; font-size:15px; }
}

/* ---- account safety: secure box (profile), welcome nudge, forgot password (log-in card) ---- */
.auth [hidden], .secure [hidden] { display:none !important; }
.forgotLink { display:block; margin:6px 0 2px; text-align:center; font:800 13px system-ui; color:#7a5a3a; }
.forgot { display:flex; flex-direction:column; gap:7px; text-align:left; }
.forgot h3 { margin:2px 0 0; font:900 19px system-ui; color:#2b1a0e; }
.forgot > small { color:#7a6a5a; font:600 13px/1.35 system-ui; margin-bottom:4px; }
.forgot form { display:flex; flex-direction:column; gap:7px; }
.txtLink { display:inline; background:none !important; border:0 !important; box-shadow:none !important; padding:0 !important; font:800 13px system-ui; color:#7a5a3a !important; text-decoration:underline; cursor:pointer; }
.forgot .txtLink { align-self:center; margin-top:4px; }
.forgot .back { text-align:center; margin-top:4px; }
.codeIn { letter-spacing:.35em; font-weight:900 !important; text-align:center; font-variant-numeric:tabular-nums; }
.secureNudge { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:12px 0 0; padding:10px 14px;
  border:3px dashed #e0b84a; border-radius:14px; background:#fff6d8; color:#5a3d12; font:800 14px/1.3 system-ui; text-decoration:none; text-align:left; }
.secureNudge b { font-size:20px; }
.secure { display:flex; flex-direction:column; gap:6px; padding:12px; margin:0 0 6px; border:3px solid #e0b84a; border-radius:16px; background:#fff6d8; }
.secure.ok { border-color:#8fcf8a; background:#effbe9; }
.secure > b { font:900 15px system-ui; } .secure > small, .secRow small { color:#6a5a4a; font:600 13px/1.35 system-ui; }
.secure .secForm { display:flex; flex-direction:column; gap:6px; margin-top:4px; }
.secure .secForm .gbtn { margin:0; }
.secure .secLinks { display:flex; gap:16px; }
.secure .err { margin:0; min-height:0; }
.secRow { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.secRow b { display:block; font:900 15px system-ui; }
.secRow .mini { border:2px solid var(--edge); border-radius:10px; background:#fff; padding:6px 12px; font:800 13px system-ui; cursor:pointer; }
