/* Vrentals auctions: shared look (light and dark, phone first). */
:root { --bg: #fff; --surface: #f4f6f9; --text: #15202b; --muted: #4a5868; --line: #d8dee6; --brand: #0b5cab; --brand-text: #fff; --ok: #0a7d4f; --warn: #a15c00; --bad: #b42318; --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.5; }
@media (prefers-color-scheme: dark) { :root { --bg: #0f1720; --surface: #17222e; --text: #e8eef5; --muted: #a9b7c6; --line: #2a3a4b; --brand: #4ea3ff; --brand-text: #06121f; --ok: #3ccf8e; --warn: #f5b041; --bad: #ff8a80; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--brand); }
:focus-visible { outline: 3px solid #f5a524; outline-offset: 2px; }
header.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.brand { font-weight: 800; font-size: 1.4rem; text-decoration: none; color: var(--brand); }
.brand span { color: var(--text); }
main { padding: 18px 0 48px; }
h1 { font-size: 1.8rem; margin: .2em 0 .4em; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; color: inherit; display: block; }
.lot img, .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.lot h2 { font-size: 1.05rem; margin: .5em 0 .2em; }
.big { font-size: 1.6rem; font-weight: 800; }
.pill { display: inline-block; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; }
.pill.live { color: var(--ok); border-color: var(--ok); }
.btn { display: inline-block; background: var(--brand); color: var(--brand-text); border: 0; border-radius: var(--radius); padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 12px 0; }
.cols { display: grid; grid-template-columns: 3fr 2fr; gap: 18px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.gallery img { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.thumbs { display: flex; gap: 6px; overflow-x: auto; margin-top: 6px; }
.thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; border-radius: 6px; }
.thumbs button[aria-current="true"] { border-color: var(--brand); }
.thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; display: block; }
label { display: flex; flex-direction: column; font-weight: 600; gap: 4px; margin-bottom: 10px; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--muted); border-radius: 8px; padding: 9px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 6px 8px; }
td.n { text-align: right; font-variant-numeric: tabular-nums; }
.msg { min-height: 1.4em; font-weight: 600; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--bad); }
.note { border-left: 4px solid var(--warn); padding: 8px 12px; background: var(--surface); }
