/* The look of https://wabsa1.github.io/sayroqi-qushlar/ : forest, frosted glass, gold and red, Fraunces + Nunito. */
:root {
  --moss: #79a65e; --moss-d: #3d6b51; --pine: #1d3d2c; --pine-d: #10241a;
  --bark: #6b4a2b; --sun: #f3c35b; --sun-l: #ffe7a6; --red: #c8352a; --red-d: #8f2219;
  --text: #f4f1e4; --muted: #cfdcc6;
  --glass: linear-gradient(160deg, rgba(20, 46, 32, .62), rgba(12, 30, 21, .72));
  --line: rgba(207, 220, 198, .22);
  --r: 26px; --gap: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--pine-d); }
body { margin: 0; min-height: 100vh; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text);
       -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(a, button, input):focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* forest */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.forest { position: absolute; inset: -3%; background: #1f4a22 url("img/ormon.jpg") center / cover no-repeat; animation: breathe 40s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05) translateY(-1%); } }
.glow { position: absolute; inset: 0; background: radial-gradient(60% 40% at 62% 8%, rgba(255, 240, 190, .30), transparent 70%); animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { from { opacity: .6; } to { opacity: 1; } }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 32, 16, .18) 0%, rgba(10, 30, 16, .42) 45%, rgba(6, 18, 10, .82) 100%); }
.bird { position: absolute; left: -10%; top: var(--y); width: var(--s); color: #1f2b22; opacity: .72; animation: glide var(--t) linear infinite; animation-delay: var(--dl); }
.bird svg { display: block; width: 100%; fill: currentColor; overflow: visible; }
.bird .wl, .bird .wr { transform-box: fill-box; animation: flap .55s ease-in-out infinite alternate; }
.bird .wl { transform-origin: right bottom; } .bird .wr { transform-origin: left bottom; animation-name: flapr; }
@keyframes flap { from { transform: rotate(0); } to { transform: rotate(-38deg) scaleY(.7); } }
@keyframes flapr { from { transform: rotate(0); } to { transform: rotate(38deg) scaleY(.7); } }
@keyframes glide { 0% { transform: translate(0, 0); } 50% { transform: translate(60vw, -24px); } 100% { transform: translate(125vw, 10px); } }
.leaf { position: absolute; top: -6%; left: var(--x); width: var(--s); color: var(--c); opacity: .85; animation: fall var(--t) linear infinite; animation-delay: var(--dl); }
.leaf svg { display: block; width: 100%; fill: currentColor; }
@keyframes fall { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(30px, 28vh) rotate(90deg); } 50% { transform: translate(-20px, 56vh) rotate(200deg); }
                  75% { transform: translate(26px, 84vh) rotate(290deg); } 100% { transform: translate(-10px, 112vh) rotate(380deg); } }
@media (prefers-reduced-motion: reduce) { .forest, .glow, .bird, .leaf { animation: none; } .leaf { display: none; } }

/* layout */
.wrap { display: grid; gap: var(--gap); width: 100%; max-width: 560px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) 14px 8px; }
.wrap > * { min-width: 0; }
.tile { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -24px rgba(0, 0, 0, .8);
        -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); }
.kick { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .28em; text-transform: uppercase; color: var(--moss); }
.label { font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.g-title { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; font-weight: 800; }
.g-title em, .name em { font-style: italic; font-weight: 600; color: var(--sun); }

/* hero */
.hero { padding: 14px 18px 20px; text-align: center; }
.id-top { display: flex; justify-content: flex-end; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--line); }
.lang button { position: relative; min-width: 46px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
               font-size: 13px; font-weight: 800; letter-spacing: .08em; cursor: pointer; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--sun); color: var(--pine-d); }
.perch { width: 104px; margin: -6px auto 0; }
.ava { width: 104px; height: 104px; border-radius: 50%; background: url("img/ava.jpeg") center / cover; border: 4px solid var(--sun);
       box-shadow: 0 0 0 5px rgba(121, 166, 94, .35), 0 20px 30px -14px rgba(0, 0, 0, .85); }
.hero .kick { margin-top: 18px; }
.name { margin: 6px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 800; line-height: 1.05; letter-spacing: -.3px; overflow-wrap: anywhere; }
.tag { margin: 10px auto 0; max-width: 300px; font-size: 14.5px; font-weight: 700; line-height: 1.45; opacity: .9; }
.who { margin: 10px 0 0; font-size: 13px; font-weight: 800; color: var(--muted); }

/* banner (no lot on the screen) */
.banner { padding: 20px 20px 22px; text-align: center; }
.b-title { margin: 8px 0 0; font-family: var(--serif); font-size: 26px; font-weight: 800; line-height: 1.15; }
.b-text { margin: 8px 0 0; color: var(--muted); font-weight: 700; }
.b-count { margin-top: 14px; font-family: var(--serif); font-size: 40px; font-weight: 800; color: var(--sun); font-variant-numeric: tabular-nums; }

/* the open lot */
.lot { overflow: hidden; }
.gal { position: relative; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r) var(--r) 0 0; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track > * { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3.6; object-fit: cover; background: var(--pine); display: block; width: 100%; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background-color .2s, transform .2s; }
.dots i.on { background: var(--sun); transform: scale(1.25); }
.lot-body { padding: 16px 18px 18px; }
.desc { margin: 6px 0 0; font-family: var(--serif); font-size: 22px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; white-space: pre-line; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 16px; }
.price { font-family: var(--serif); font-size: 44px; font-weight: 800; line-height: 1.05; color: var(--sun); font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font); font-size: 15px; font-weight: 800; color: var(--muted); }
.price.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 30% { transform: scale(1.09); color: var(--sun-l); } 100% { transform: scale(1); } }
.me-badge { padding: 6px 12px; border-radius: 999px; background: var(--moss); color: var(--pine-d); font-size: 13px; font-weight: 900; white-space: nowrap; }
.leader { margin: 6px 0 0; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.chips { display: flex; gap: 8px; margin-top: 14px; }
.chip-s { display: grid; place-items: center; min-width: 48px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--line);
          color: var(--muted); font-size: 15px; font-weight: 900; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.chip-s.on { background: var(--sun); color: var(--pine-d); transform: scale(1.08); }
.chip-s.final.on { background: var(--red); color: #fff; }
.bar { height: 8px; margin-top: 14px; border-radius: 999px; background: rgba(0, 0, 0, .28); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--moss), var(--sun)); transform-origin: left; transition: transform .25s linear; }
.bar i.hot { background: linear-gradient(90deg, var(--sun), var(--red)); }
.secs { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: var(--muted); }

/* bid box */
.bidbox { padding: 16px; }
.b-hint { margin: 0 4px 10px; font-size: 13.5px; font-weight: 800; color: var(--muted); }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.q { padding: 10px 6px; border: 0; border-radius: 16px; background: rgba(207, 220, 198, .12); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-align: center;
     transition: transform .2s var(--ease), background-color .2s, color .2s; }
.q b { display: block; font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.q span { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
.q:active { transform: scale(.96); }
.q.sel { background: var(--sun); color: var(--pine-d); } .q.sel span { color: var(--pine-d); }
.custom { position: relative; margin-top: 10px; }
.custom input { width: 100%; height: 54px; padding: 0 118px 0 18px; border: 0; border-radius: 18px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line);
                color: var(--text); font: 900 22px var(--font); font-variant-numeric: tabular-nums; }
.custom input::placeholder { color: rgba(207, 220, 198, .45); }
.unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 800; color: var(--muted); pointer-events: none; }
.call { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 74px; margin-top: 10px; padding: 8px 14px 8px 8px; border: 0; border-radius: 22px; color: #fff; text-align: left; cursor: pointer;
        background: linear-gradient(150deg, #c94a33 0%, #a8322a 50%, var(--red-d) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(255, 210, 160, .18), 0 24px 44px -24px rgba(0, 0, 0, .9); transition: transform .15s var(--ease), filter .2s; }
.call:active { transform: scale(.985); }
.call:disabled { filter: grayscale(.7) brightness(.7); cursor: not-allowed; }
.bubble { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 17px; color: var(--pine-d); background: var(--sun);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 20px -10px rgba(60, 30, 0, .9); }
.call-txt { display: flex; flex-direction: column; min-width: 0; }
.t1 { font-size: 19px; font-weight: 900; line-height: 1.2; }
.t2 { font-size: 17px; font-weight: 800; color: rgba(255, 255, 255, .92); font-variant-numeric: tabular-nums; }

/* lists */
.list { padding: 16px 16px 14px; }
.list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--line); }
.list li .l { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.list li .l b { font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list li .l span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.list li .r { flex: none; font-weight: 900; color: var(--sun); white-space: nowrap; font-variant-numeric: tabular-nums; }
.list li.first { box-shadow: inset 0 0 0 1px rgba(243, 195, 91, .55); }
.list li .r.off { color: var(--muted); }

.foot { padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); opacity: .8; }
.toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); z-index: 30; max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 18px; transform: translate(-50%, -140%);
         background: rgba(16, 36, 26, .95); border: 1px solid var(--line); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .9); font-weight: 800; text-align: center; transition: transform .35s var(--ease); }
.toast.show { transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(200, 53, 42, .8); } .toast.good { border-color: rgba(121, 166, 94, .9); }

/* later additions */
.chip-s.wide { min-width: 0; }
.reserve { margin: 6px 0 0; font-size: 14px; font-weight: 800; color: var(--muted); }
.reserve.ok { color: var(--sun); }
.badge { display: inline-block; margin-left: 4px; color: var(--moss); font-weight: 900; }
.autobox, .adminbox { padding: 16px; }
.autobox .custom { margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.row2 > * { min-width: 0; }
.btn { min-height: 48px; padding: 0 14px; border: 0; border-radius: 16px; background: rgba(207, 220, 198, .12); box-shadow: inset 0 0 0 1px var(--line); font-weight: 900; cursor: pointer;
       transition: transform .15s var(--ease), background-color .2s; }
.btn:active { transform: scale(.97); }
.btn.gold { background: var(--sun); color: var(--pine-d); box-shadow: none; }
.btn.red { background: linear-gradient(150deg, #c94a33, var(--red-d)); color: #fff; box-shadow: none; }
.btn.wide { width: 100%; margin-top: 10px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.adminbox input, .adminbox textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 800 16px var(--font); }
.adminbox textarea { resize: vertical; margin-top: 8px; }
.rules summary { cursor: pointer; font-weight: 900; }
.rules-text { margin: 10px 0 0; white-space: pre-line; line-height: 1.5; font-size: 14px; }
.addlot { margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--line); }
.addlot summary { cursor: pointer; font-weight: 900; }
.plain { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.plain li { padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; }
.plain li small { display: block; color: var(--muted); font-weight: 700; }
.plain li .acts { margin-top: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plain li .btn { min-height: 40px; font-size: 14px; padding: 0 6px; }
.adminbox .label { display: block; margin-top: 14px; }
.report { margin: 10px 0 0; padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, .28); white-space: pre-wrap; font: 700 14px var(--font); color: var(--text); }
.list li .l b .badge { font-size: 14px; }
.list li .mini { flex: none; width: 36px; height: 36px; border: 0; border-radius: 12px; background: rgba(207, 220, 198, .12); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 15px; }
.list li .tail { display: flex; align-items: center; gap: 8px; flex: none; }

/* extras 3: pick-up time, tools */
.pk-form { margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--line); }
.pk-form input { width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 800 16px var(--font); margin-bottom: 10px; color-scheme: dark; }
.tools { margin-top: 10px; }
/* extras 2: chart */
.chart { margin: 4px 0 12px; }
.chart svg { display: block; width: 100%; height: auto; }
.ch-line { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ch-area { fill: rgba(243, 195, 91, .15); stroke: none; }
.ch-dot { fill: var(--sun); }
.ch-lab { font-size: 12px; font-weight: 800; color: var(--muted); text-align: right; }
/* extras: my birds, reminder, live counter, thumbnails, settings */
.who.live { margin-top: 4px; color: var(--sun); }
#sub-btn { margin-top: 12px; }
.list li .th { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: rgba(0, 0, 0, .3); }
.list li.has-th { gap: 10px; }
.setlist { display: grid; gap: 8px; margin: 10px 0; }
.setrow { display: grid; grid-template-columns: 1fr 96px 40px; gap: 8px; align-items: center; }
.setrow label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.setrow input { min-height: 40px; padding: 0 10px; border-radius: 12px; border: 0; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line); color: inherit; font: inherit; font-weight: 800; text-align: center; width: 100%; }
.setrow .mini { height: 40px; width: 40px; }
#rules-text-edit { width: 100%; margin-top: 10px; padding: 10px; border-radius: 14px; border: 0; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line); color: inherit; font: inherit; }
.setrow .mini { border: 0; border-radius: 12px; background: rgba(207, 220, 198, .12); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 16px; color: var(--text); }
#queue-list li { flex-wrap: wrap; }
#queue-list li .l { flex: 1 1 140px; }
#queue-list li .tail { flex: 1 1 100%; justify-content: space-between; }
#queue-list li .mini { width: auto; min-width: 38px; padding: 0 8px; white-space: nowrap; }
#queue-list li .l b { white-space: normal; }

/* round four */
.fontbtn { margin-left: 6px; min-width: 44px; height: 32px; border: 0; border-radius: 999px; background: rgba(207, 220, 198, .14); color: var(--text); font-weight: 900; cursor: pointer; }
html.big .wrap { zoom: 1.18; }
.who.trust { color: var(--moss); }
.reserve.bundle { color: var(--sun); }
#qa-list li, #questions-list li { align-items: flex-start; }
#qa-list .l b { white-space: normal; }
#qa-list .l span { white-space: normal; }
.stars { display: flex; gap: 6px; margin: 4px 0 10px; }
.stars button { flex: 1; height: 44px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); font-size: 22px; color: var(--muted); cursor: pointer; }
.stars button.on { color: var(--sun); box-shadow: inset 0 0 0 1px var(--sun); }
#rate-text, #ask-text { width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 800 16px var(--font); margin-bottom: 10px; }
.tplrow { margin-bottom: 8px; }
.tplrow select, .tplrow input, #h-role, #h-uid { width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 800 15px var(--font); }
#questions-list li { flex-direction: column; align-items: stretch; gap: 8px; }
#questions-list input { width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .28); color: var(--text); font: 700 15px var(--font); }

/* ---- friendlier layout: a small header, bottom tabs, the bid panel always in reach ---- */
.wrap { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.wrap[data-active="auction"] > [data-tab]:not([data-tab~="auction"]),
.wrap[data-active="queue"] > [data-tab]:not([data-tab~="queue"]),
.wrap[data-active="mine"] > [data-tab]:not([data-tab~="mine"]),
.wrap[data-active="info"] > [data-tab]:not([data-tab~="info"]),
.wrap[data-active="admin"] > [data-tab]:not([data-tab~="admin"]) { display: none !important; }
.hero { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-align: left; }
.hero .perch { width: 52px; margin: 0; flex: none; }
.hero .ava { width: 52px; height: 52px; border-width: 3px; box-shadow: 0 0 0 3px rgba(121, 166, 94, .35), 0 10px 18px -10px rgba(0, 0, 0, .85); }
.hero-text { min-width: 0; flex: 1; }
.hero .name { margin: 0; font-size: 21px; line-height: 1.1; }
.hero .who { margin: 1px 0 0; font-size: 12.5px; }
.prefs .lang { margin: 6px 0 12px; width: fit-content; }
.prefs .btn { margin-top: 10px; }
.foot { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 4px 8px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: center; gap: 4px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
          background: rgba(9, 24, 17, .95); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tabbar button { position: relative; flex: 1; max-width: 118px; min-height: 54px; border: 0; border-radius: 14px; background: transparent; color: var(--muted); display: flex; flex-direction: column;
                 align-items: center; justify-content: center; gap: 1px; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.tabbar button i { font-style: normal; font-size: 21px; line-height: 1; }
.tabbar button.on { background: rgba(243, 195, 91, .16); color: var(--sun); }
.dot { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.bidbox { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 30; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 8px;
          background: linear-gradient(160deg, rgba(14, 34, 24, .95), rgba(9, 24, 17, .97)); }
.bidbox > .b-hint, .bidbox > .quick, .bidbox > #buy-btn, .bidbox > #undo-btn { grid-column: 1 / -1; }
.bidbox .b-hint { margin: 0 2px; font-size: 13px; }
.bidbox .custom { margin: 0; }
.bidbox .custom input { height: 58px; padding: 0 74px 0 12px; font-size: 21px; }
.bidbox .unit { font-size: 11.5px; right: 10px; }
.bidbox .call { margin: 0; min-height: 58px; padding: 6px 10px 6px 6px; gap: 8px; border-radius: 18px; }
.bidbox .bubble { width: 44px; height: 44px; border-radius: 13px; }
.bidbox .bubble svg { width: 22px; height: 22px; }
.bidbox .t1 { font-size: 15.5px; }
.bidbox .t2 { font-size: 14.5px; }
.bidbox .q { padding: 8px 4px; }
.bidbox .btn { min-height: 46px; }
.list li .mini { width: 44px; height: 44px; font-size: 17px; }
#queue-list li .mini { min-width: 44px; }
.passport { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.passport span { padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 800; }
.blocked-me textarea { width: 100%; margin-bottom: 10px; padding: 12px 14px; border: 0; border-radius: 14px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 700 15px var(--font); }
.blkrow { margin-top: 10px; }
.blkrow select, .blkrow input { width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 800 15px var(--font); }
@media (max-width: 360px) { .hero .name { font-size: 18px; } .tabbar button { font-size: 10.5px; } .price { font-size: 38px; } }
.gal-track > * { aspect-ratio: 16 / 11; max-height: 30vh; }
.lot-body { padding: 12px 16px 14px; }
.price-row { margin-top: 10px; }
.desc { font-size: 20px; }

.bidbox > .timer { grid-column: 1 / -1; margin: 0 2px; font-size: 14px; font-weight: 900; color: var(--sun); }
.bidbox > .timer:empty { display: none; }
.gal-track > * { max-height: 27vh; }

.hostbar { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 30; padding: 10px; background: linear-gradient(160deg, rgba(14, 34, 24, .95), rgba(9, 24, 17, .97)); }
.hostbar .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hostbar .btn { min-height: 48px; }
