/* Virtual Garage Sales: Garage Sale Central's navy, orange and blue. */
:root { --navy: #0B2A5B; --orange: #F7931E; --blue: #0D47B5; --sky: #3B8DEB; --bg: #F4F8FD; --card: #FFFFFF; --line: #D6E1EE; --ink: #0B2A5B; --muted: #4A5C7A; --ok: #1E7A34; --err: #B42318; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; -webkit-text-size-adjust: 100%; }
a { color: var(--blue); }
.vbar { background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
.vbrand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; }
.vbrand b { color: var(--orange); font-weight: 900; }
.vacct { border: 0; border-radius: 999px; background: var(--orange); color: var(--navy); font: inherit; font-weight: 900; font-size: 15px; padding: 9px 16px; cursor: pointer; }
.vmain { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 18px; }
.vhero { background: var(--navy); color: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.vhero h1 { margin: 0; font-size: clamp(26px, 6vw, 36px); font-weight: 900; line-height: 1.1; }
.vhero p { margin: 0; font-size: 17px; line-height: 1.45; color: #E6EEFA; }
.vhero .vtag { color: var(--orange); font-weight: 900; font-size: 15px; letter-spacing: .02em; }
h2.vh { margin: 0; font-size: 24px; font-weight: 900; }
.vmuted { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.45; }
.vcards { display: grid; gap: 14px; }
@media (min-width: 560px) { .vcards { grid-template-columns: 1fr 1fr; } }
.vchoice { text-align: left; border: 3px solid var(--line); background: var(--card); border-radius: 20px; padding: 18px; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 8px 22px rgba(11,42,91,.08); }
.vchoice:hover, .vchoice:focus-visible { border-color: var(--sky); outline: none; }
.vchoice .vicon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #E7F1FB; color: var(--blue); }
.vchoice.seller .vicon { background: #FFF1E0; color: #B45309; }
.vchoice b { font-size: 21px; font-weight: 900; }
.vchoice span { font-size: 16px; line-height: 1.45; color: var(--muted); }
.vcard { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 22px rgba(11,42,91,.06); }
.vfield { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 15px; }
.vfield small { font-weight: 600; color: var(--muted); font-size: 14px; }
.vinput { width: 100%; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); background: #F7FAFE; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 50px; }
.vinput:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(59,141,235,.25); }
.vbtn { font: inherit; font-weight: 900; font-size: 17px; border-radius: 999px; padding: 13px 22px; min-height: 50px; cursor: pointer; border: 2px solid var(--line); background: #fff; color: var(--navy); }
.vbtn.primary { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.vbtn.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.vbtn:disabled { opacity: .55; cursor: default; }
.vlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--blue); text-decoration: underline; cursor: pointer; text-align: left; }
.vrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vrow > .vbtn { flex: 1 1 180px; }
.vtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #E7EEF8; padding: 5px; border-radius: 999px; }
.vtabs button { border: 0; border-radius: 999px; padding: 10px; font: inherit; font-weight: 900; font-size: 15px; background: transparent; color: var(--muted); cursor: pointer; }
.vtabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(11,42,91,.12); }
.vmsg { margin: 0; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 15px; line-height: 1.4; background: #E7F1FB; }
.vmsg.err { background: #FDECEA; color: var(--err); }
.vmsg.ok { background: #E5F4E4; color: var(--ok); }
.vor { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 14px; }
.vor::before, .vor::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.vsteps { display: flex; gap: 6px; } .vsteps i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); } .vsteps i.on { background: var(--orange); }
.vpill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-weight: 900; font-size: 14px; background: #E7F1FB; color: var(--blue); }
.vpill.seller { background: #FFF1E0; color: #B45309; }
.vdl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 16px; }
.vdl dt { font-weight: 900; } .vdl dd { margin: 0; overflow-wrap: anywhere; }
.vnote { border-left: 4px solid var(--orange); background: #FFF8EE; padding: 12px 14px; border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.45; margin: 0; }
.vfoot { background: var(--navy); color: #C9D6EA; font-size: 14px; line-height: 1.5; padding: 20px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); text-align: center; }
.vfoot p { max-width: 640px; margin: 0 auto 8px; } .vfoot b { color: #fff; } .vfoot a { color: #FFC37A; }
.vsr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vcard > .vpill { align-self: flex-start; }

/* ---------- Phase 2: seller storefronts ---------- */
.vload { text-align: center; padding: 30px 0; }
.vol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.45; }
.vsmall { min-height: 42px; padding: 9px 16px; font-size: 15px; }
a.vbtn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; }
.vstorehead { display: flex; gap: 14px; align-items: center; }
.vlogo { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; flex: none; background: #E7F1FB; }
.vlogo.big { width: 88px; height: 88px; border-radius: 22px; }
.vlogo-x { display: grid; place-items: center; font-weight: 900; font-size: 28px; color: var(--blue); }
.vstorename { margin: 0 0 2px; font-size: 24px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.vpill.ok { background: #E5F4E4; color: var(--ok); } .vpill.warn { background: #FFF1E0; color: #8A4B00; }
.vstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vstats div { background: #F4F8FD; border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; display: flex; flex-direction: column; }
.vstats b { font-size: 24px; font-weight: 900; } .vstats span { font-size: 14px; color: var(--muted); font-weight: 700; }
.vurl { font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
.vadmin { border-style: dashed; } .vadmin.hot { border-color: var(--err); background: #FFF6F5; }
.vmeter { height: 10px; border-radius: 5px; background: #E7EEF8; overflow: hidden; } .vmeter i { display: block; height: 100%; background: var(--sky); }
.vadmin.hot .vmeter i { background: var(--err); }
.vtabs.v3 { grid-template-columns: repeat(3, 1fr); } .vtabs.v3 button { font-size: 14px; padding: 9px 4px; }
.vplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vprow { display: grid; grid-template-columns: 76px 1fr; gap: 6px 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #FBFDFF; }
.vthumb { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: #E7EEF8; grid-row: span 2; }
.vthumb-x { display: grid; place-items: center; font-size: 12px; color: var(--muted); font-weight: 700; text-align: center; }
.vpinfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .vpinfo b { font-size: 17px; overflow-wrap: anywhere; }
.vpinfo span { font-weight: 800; color: var(--blue); } .vpinfo small { color: var(--muted); font-size: 13px; font-weight: 600; }
.vpacts { display: flex; flex-wrap: wrap; gap: 6px; }
.vmini { font: inherit; font-size: 14px; font-weight: 800; border: 2px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 12px; min-height: 36px; cursor: pointer; }
.vmini.danger { border-color: var(--err); background: var(--err); color: #fff; }
.vempty { margin: 0; padding: 18px; text-align: center; color: var(--muted); background: #F4F8FD; border-radius: 14px; font-size: 15px; line-height: 1.45; }
textarea.vinput { min-height: 96px; resize: vertical; line-height: 1.45; }
.vlogoedit { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.vfile { display: inline-flex; align-items: center; cursor: pointer; }
.vradio { border: 0; padding: 0; margin: 0; gap: 8px; } .vradio legend { padding: 0; margin-bottom: 6px; }
.vradio label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 16px; } .vradio input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.vmoney { display: flex; align-items: center; gap: 8px; } .vmoney span { font-weight: 900; font-size: 20px; } .vmoney .vinput { max-width: 200px; }
.vphgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 4px; }
.vph { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #E7EEF8; max-width: 100%; }
.vph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vphadd { display: grid; place-items: center; border: 2px dashed var(--sky); background: #F4F8FD; cursor: pointer; color: var(--blue); font-weight: 900; font-size: 15px; text-align: center; padding: 6px; }
.vcover, .vphb { position: absolute; left: 6px; bottom: 6px; border-radius: 999px; padding: 3px 9px; font: inherit; font-size: 12px; font-weight: 900; border: 0; }
.vcover { background: var(--orange); color: var(--navy); } .vphb { background: rgba(11,42,91,.85); color: #fff; cursor: pointer; }
.vphx { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(11,42,91,.85); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.vpreview { background: #FFF8EE; border: 2px solid var(--orange); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.vdesc { margin: 0; font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vtile { font: inherit; color: inherit; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; box-shadow: 0 6px 16px rgba(11,42,91,.06); }
.vtile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #E7EEF8; margin-bottom: 4px; }
.vtile b { font-size: 18px; font-weight: 900; } .vtile span { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; } .vtile small { color: var(--muted); font-size: 13px; font-weight: 600; }
.vphotos { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 16px; }
.vphotos img { flex: 0 0 100%; width: 100%; max-height: 70vh; object-fit: contain; background: #0B2A5B0D; scroll-snap-align: center; border-radius: 16px; }
.vprice { margin: 0; font-size: 26px; font-weight: 900; color: var(--blue); }
.vacct { white-space: nowrap; flex: none; }
@media (max-width: 420px) { .vbrand { font-size: 17px; } .vacct { font-size: 14px; padding: 8px 12px; } }
@media (max-width: 480px) { .vbar .emc-langbtn span { display: none; } .vbar .emc-langbtn { padding: 7px; } }
/* Coming soon (before opening day) */
.vsoon { position: relative; overflow: hidden; gap: 12px; }
.vsoonbadge { align-self: flex-start; background: var(--orange); color: var(--navy); font-weight: 900; font-size: clamp(20px, 5vw, 28px); letter-spacing: .08em; padding: 8px 18px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.vol li { line-height: 1.45; }
