/* Card Auctions (owner 11/3: "I was thinking more like just on the website"). Prefix auc-. Lives in the Cards page's
   Auctions tab (card-auctions.js). Dark glass + gold like the Market, with a live red/amber countdown.
   Phones: compact bar, two tiles a row, bottom sheets, no sideways scroll. */
.auc-root { min-width: 0; }
.tc-tabs-v3 .tc-t-auctions { --ta: #ff7eb6; } /* the Auctions tab's own color in the Cards tab bar */
.auc, .auc-ov { --auc-gold: #f6d77a; --auc-gold2: #cf961f; --auc-dim: #8d95a5; --auc-line: rgba(255,255,255,.08); --auc-glass: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015) 60%);
    --auc-hot: #ff6a55; --auc-warm: #ffb547; --auc-win: #9be37f; }
.auc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; color: #d3d8e1; font-family: "Barlow Condensed", system-ui, sans-serif; }
.auc > * { min-width: 0; }

/* ── head: Live / Your bids / Your auctions / History + Auction a card ── */
.auc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.auc-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--auc-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.auc-seg::-webkit-scrollbar { display: none; }
.auc-seg button { flex: 0 0 auto; height: 36px; padding: 0 16px !important; border: 0; border-radius: 999px; background: transparent; color: #aab1bd; cursor: pointer;
    font: 700 16px/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.auc-seg button:hover { color: #fff; }
.auc-seg button.on { background: linear-gradient(135deg, var(--auc-gold), var(--auc-gold2)); color: #1c1405; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 18px rgba(228,174,57,.25); }
.auc-seg small { margin-left: 4px; font-size: 13px; opacity: .7; }
.auc-short { display: none; }
.auc-newbtn { height: 40px; padding: 0 18px !important; font-size: 15px; gap: 6px; }

/* ── search + sort ── */
.auc-bar { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 18px; background: var(--auc-glass); border: 1px solid var(--auc-line); }
.auc-search { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(0,0,0,.28); border: 1px solid var(--auc-line); color: var(--auc-dim); }
.auc-search:focus-within { border-color: rgba(246,215,122,.5); color: var(--auc-gold); }
.auc-search svg { width: 17px; height: 17px; flex: 0 0 auto; }
.auc-search input { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0 !important; border: 0; outline: 0; background: transparent; color: #fff; font: 600 16px/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; }
.auc-search input::placeholder { color: #737b89; }
.auc-search input::-webkit-search-cancel-button { filter: invert(.7); }
.auc-sel { flex: 0 0 auto; height: 40px; max-width: 170px; padding: 0 32px 0 14px !important; border-radius: 999px; border: 1px solid var(--auc-line); color: #e3e7ee; cursor: pointer;
    background: rgba(255,255,255,.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f6d77a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center / 11px 8px;
    -webkit-appearance: none; appearance: none; font: 600 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; text-overflow: ellipsis; }
.auc-sel:hover, .auc-sel:focus { border-color: rgba(246,215,122,.45); outline: 0; }
.auc-sel option { background: #15171c; color: #e3e7ee; }
.auc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: -4px; color: var(--auc-dim); font-size: 14px; letter-spacing: .02em; }
.auc-meta-rules { margin-left: auto; color: #6f7786; }

/* ── tiles ── */
.auc-grid.tc-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; transition: opacity .2s ease; }
.auc.busy .auc-grid, .auc.busy .auc-rows { opacity: .7; }
.auc-tile { position: relative; display: grid; gap: 10px; padding: 12px; border-radius: 18px; background: var(--auc-glass); border: 1px solid var(--auc-line); cursor: pointer; outline: 0;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.auc-tile:hover, .auc-tile:focus-visible { transform: translateY(-3px); border-color: rgba(246,215,122,.42); box-shadow: 0 16px 34px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(246,215,122,.12); }
.auc-tile.mine { border-style: dashed; border-color: rgba(246,215,122,.3); }
.auc-tile.win { border-color: rgba(122,211,90,.4); }
.auc-tile.lost { border-color: rgba(255,106,85,.4); }
.auc-tile-card { position: relative; pointer-events: none; }
.auc-badge { position: absolute; top: 8px; left: 8px; z-index: 3; padding: 4px 9px; border-radius: 999px; font: 800 12px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0,0,0,.55); }
.auc-badge.win { background: linear-gradient(180deg, #7fdc66, #3f9f2c); color: #08200a; }
.auc-badge.lost { background: linear-gradient(180deg, #ff7a63, #c8332a); color: #fff; }
.auc-badge.mine { background: linear-gradient(135deg, var(--auc-gold), var(--auc-gold2)); color: #1c1405; }
.auc-tile-info { display: grid; gap: 4px; min-width: 0; }
.auc-tile-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.auc-tile-row > small { color: var(--auc-dim); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-tile-row > small.auc-count { text-transform: none; letter-spacing: .02em; font-size: 14px; }
.auc-tile-row:last-child { flex-wrap: wrap; row-gap: 4px; }
.auc-price { font: 800 24px/1 "Barlow Condensed", sans-serif; letter-spacing: .01em; color: var(--auc-gold); text-shadow: 0 0 18px rgba(246,215,122,.18); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-bn { flex: 0 0 auto; padding: 2px 7px; border-radius: 999px; background: rgba(154,216,255,.1); border: 1px solid rgba(154,216,255,.3); color: #bfe4ff; font: 700 12px/1.2 "Barlow Condensed", sans-serif; white-space: nowrap; }
/* the live clock: grey → amber under 10 min → pulsing red under 2 min */
.auc-clock { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #d3d8e1; white-space: nowrap; }
.auc-clock i { width: 7px; height: 7px; border-radius: 50%; background: var(--auc-win); box-shadow: 0 0 8px var(--auc-win); }
.auc-clock b { font: 700 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.auc-clock[data-auc-urg="warm"] { color: var(--auc-warm); border-color: rgba(255,181,71,.35); background: rgba(255,181,71,.08); } .auc-clock[data-auc-urg="warm"] i { background: var(--auc-warm); box-shadow: 0 0 8px var(--auc-warm); }
.auc-clock[data-auc-urg="hot"] { color: #fff; border-color: rgba(255,106,85,.6); background: rgba(255,106,85,.2); animation: aucPulse 1s ease-in-out infinite; } .auc-clock[data-auc-urg="hot"] i { background: var(--auc-hot); box-shadow: 0 0 10px var(--auc-hot); }
.auc-clock[data-auc-urg="done"] { opacity: .6; } .auc-clock[data-auc-urg="done"] i { background: #777; box-shadow: none; }
@keyframes aucPulse { 50% { box-shadow: 0 0 0 3px rgba(255,106,85,.18); } }
.auc-more { justify-self: center; }

.auc-empty { display: grid; justify-items: center; gap: 8px; padding: 34px 18px; border-radius: 18px; text-align: center; background: var(--auc-glass); border: 1px solid var(--auc-line); color: var(--auc-dim); font-size: 16px; }
.auc-empty b { color: #fff; font: 700 22px/1.2 "Barlow Condensed", sans-serif; }
.auc-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.1); border-top-color: #e4ae39; animation: aucSpin .8s linear infinite; }
@keyframes aucSpin { to { transform: rotate(360deg); } }
.auc-note { margin: 0; color: var(--auc-dim); font-size: 14px; }

/* ── rows: Your bids, Your auctions, History ── */
.auc-rows { display: grid; gap: 8px; transition: opacity .2s ease; }
.auc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 16px; background: var(--auc-glass); border: 1px solid var(--auc-line); }
.auc-row.hist { grid-template-columns: auto minmax(0, 1fr) auto; }
.auc-row-art { padding: 0 !important; border: 0; background: none; cursor: pointer; line-height: 0; }
.auc-mini { display: block; width: 44px; aspect-ratio: 5 / 7; border-radius: 7px; overflow: hidden; background: #0d0f13; border: 2px solid var(--rc, #9ea4ac); box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.auc-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auc-mini.r-common { --rc: #9ea4ac; } .auc-mini.r-uncommon { --rc: #4cc764; } .auc-mini.r-rare { --rc: #4b69ff; } .auc-mini.r-epic { --rc: #8847ff; } .auc-mini.r-legendary { --rc: #e4ae39; } .auc-mini.r-mythic { --rc: #ff4fd8; }
.auc-mini.f-holo { box-shadow: 0 0 0 1px rgba(154,216,255,.5), 0 0 14px rgba(201,166,255,.45); } .auc-mini.f-gold { box-shadow: 0 0 14px rgba(246,215,122,.5); }
.auc-mini.f-black, .auc-mini.f-prism, .auc-mini.f-genesis { box-shadow: 0 0 0 1px #fff, 0 0 16px rgba(255,255,255,.5); }
.auc-mini.f-animated { box-shadow: 0 0 0 1px rgba(255,170,90,.6), 0 0 14px rgba(255,140,60,.5); } /* Animated (11/5) */
.auc-row-txt { display: grid; gap: 4px; min-width: 0; }
.auc-row-txt > b { color: #fff; font: 700 18px/1.1 "Barlow Condensed", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-row-txt > small { display: flex; align-items: center; gap: 6px; color: var(--auc-dim); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-row.hist .auc-row-txt > small { display: block; }
.auc-row-price { display: grid; justify-items: end; gap: 3px; text-align: right; }
.auc-row-price b { color: var(--auc-gold); font: 800 19px/1 "Barlow Condensed", sans-serif; white-space: nowrap; }
.auc-row-price b.plus { color: var(--auc-win); } .auc-row-price b.minus { color: #e3e7ee; } .auc-row-price b.dim { color: var(--auc-dim); font-weight: 700; font-size: 16px; }
.auc-row-price small { color: var(--auc-dim); font-size: 13px; white-space: nowrap; }
.auc-row-price small.win { color: var(--auc-win); } .auc-row-price small.lost { color: #ff9c8a; }
.auc-small { height: 34px; padding: 0 14px !important; font-size: 14px; letter-spacing: .06em; }

/* ── sheets ── */
html.auc-lock { overflow: hidden; }
.auc-ov { position: fixed; inset: 0; z-index: 1250; display: grid; place-items: center; padding: calc(16px + var(--safe-top, 0px)) 16px 16px; background: rgba(4,5,7,.8);
    font-family: "Barlow Condensed", system-ui, sans-serif; opacity: 0; transition: opacity .18s ease; }
.auc-ov.in { opacity: 1; }
.auc-sheet { position: relative; width: min(740px, 100%); max-height: calc(100dvh - 32px - var(--safe-top, 0px)); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border-radius: 24px; color: #d3d8e1;
    background: radial-gradient(120% 70% at 20% 0%, rgba(228,174,57,.1), transparent 60%), linear-gradient(165deg, #1b1d23, #0f1115); border: 1px solid rgba(246,215,122,.18);
    box-shadow: 0 40px 90px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .22s cubic-bezier(.2,.9,.3,1.2); }
.auc-ov:not(.in) .auc-sheet { transform: translateY(14px) scale(.98); }
.auc-ov.newm .auc-sheet { width: min(480px, 100%); }
.auc-ov.pickm .auc-sheet { width: min(820px, 100%); }
.auc-sheet.won { border-color: rgba(122,211,90,.4); }
.auc-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; padding: 0 !important; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 16px; cursor: pointer; }
.auc-x:hover { background: rgba(255,255,255,.14); }
.auc-sh-h { margin: 0 0 4px; font: 900 28px/1 "Barlow Condensed", sans-serif; color: #fff; }
.auc-sh-sub { margin: 0 0 14px; color: var(--auc-dim); font-size: 15px; }
.auc-kicker { color: #d9b65e; font: 700 13px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.auc-wide { width: 100%; }
.auc-fine { color: var(--auc-dim); font-size: 14px; text-align: center; }
.auc-fine.bad { color: #ff9c8a; }
.auc-warn { padding: 10px 12px; border-radius: 12px; font-size: 15px; line-height: 1.25; color: #f3d9a6; background: rgba(228,174,57,.09); border: 1px solid rgba(228,174,57,.28); }
.auc-warn.bad { color: #ffb4a6; background: rgba(235,75,75,.09); border-color: rgba(235,75,75,.3); }
.auc-done { display: grid; gap: 3px; justify-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(122,211,90,.1); border: 1px solid rgba(122,211,90,.3); text-align: center; }
.auc-done b { color: var(--auc-win); font: 800 22px/1.1 "Barlow Condensed", sans-serif; } .auc-done span { color: #c9d0da; font-size: 15px; line-height: 1.3; }
.auc-done.dim { background: rgba(255,255,255,.04); border-color: var(--auc-line); } .auc-done.dim b { color: #fff; }

/* bid sheet */
.auc-bid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.auc-bid-card { padding: 0 !important; border: 0; background: none; cursor: zoom-in; display: block; width: 250px; }
.auc-bscale { width: 250px; transform-origin: 0 0; }
.auc-bid-info { display: grid; gap: 8px; min-width: 0; padding-right: 30px; }
.auc-bid-title { display: grid; gap: 5px; min-width: 0; }
.auc-bid-title h3 { margin: 0; font: 900 34px/1 "Barlow Condensed", sans-serif; color: #fff; overflow-wrap: anywhere; }
.auc-seller { color: #aab1bd; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-bid-now { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid rgba(246,215,122,.2); }
.auc-bid-now small { display: block; color: var(--auc-dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.auc-big { display: block; font: 900 42px/1 "Barlow Condensed", sans-serif; letter-spacing: .01em; color: var(--auc-gold); text-shadow: 0 1px 0 #fff3c4, 0 0 26px rgba(246,215,122,.3); white-space: nowrap; }
.auc-timer { text-align: right; }
.auc-timer b { display: block; font: 800 28px/1 "Barlow Condensed", sans-serif; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.auc-timer[data-auc-urg="warm"] b { color: var(--auc-warm); }
.auc-timer[data-auc-urg="hot"] b { color: var(--auc-hot); animation: aucBlink 1s steps(2, start) infinite; }
@keyframes aucBlink { 50% { opacity: .55; } }
.auc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auc-facts > div { display: grid; gap: 4px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--auc-line); min-width: 0; }
.auc-facts small { color: var(--auc-dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.auc-facts b { color: #fff; font: 700 18px/1 "Barlow Condensed", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-act { display: grid; gap: 8px; margin-top: 6px; }
.auc-price-in { display: flex; align-items: center; gap: 6px; height: 58px; padding: 0 18px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid rgba(246,215,122,.35); cursor: text; }
.auc-price-in.small { height: 48px; }
.auc-price-in:focus-within { border-color: var(--auc-gold); box-shadow: 0 0 0 3px rgba(246,215,122,.15); }
.auc-price-in > span { color: var(--auc-gold); font: 800 28px/1 "Barlow Condensed", sans-serif; }
.auc-price-in input { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0 !important; border: 0; outline: 0; background: transparent; color: #fff; font: 800 30px/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; }
.auc-price-in.small > span { font-size: 22px; } .auc-price-in.small input { font-size: 22px; }
.auc-price-in input::placeholder { color: #5f6673; font-weight: 600; }
.auc-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.auc-quick button { height: 36px; padding: 0 !important; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #e3e7ee; cursor: pointer; font: 700 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.auc-quick button:hover { border-color: rgba(246,215,122,.5); }
.auc-quick button.on { background: rgba(228,174,57,.18); border-color: var(--auc-gold); color: var(--auc-gold); }
.auc-bidbtn { height: 50px; font-size: 18px; }
.auc-bnbtn { border-color: rgba(154,216,255,.4) !important; color: #cfeaff !important; }
.auc-hist { display: grid; gap: 2px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--auc-line); }
.auc-hist > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 4px 2px; font-size: 15px; }
.auc-hist > div span { color: #c9d0da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-hist > div b { color: #fff; font-weight: 700; }
.auc-hist > div em { color: var(--auc-dim); font-style: normal; font-size: 13px; min-width: 64px; text-align: right; }
.auc-hist > div.you span, .auc-hist > div.you b { color: var(--auc-win); }

/* new auction dialog */
.auc-new { display: grid; gap: 12px; }
.auc-new-top { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding-right: 34px; }
.auc-new-card { position: relative; width: 112px; height: 157px; }
.auc-scale { width: 200px; transform: scale(.56); transform-origin: 0 0; pointer-events: none; }
.auc-new-txt { display: grid; gap: 4px; min-width: 0; }
.auc-new-txt h3 { margin: 0; font: 900 28px/1 "Barlow Condensed", sans-serif; color: #fff; overflow-wrap: anywhere; }
.auc-new-txt > span { color: #aab1bd; font-size: 15px; }
.auc-new-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.auc-new-vals > div { display: grid; gap: 3px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--auc-line); }
.auc-new-vals small { color: var(--auc-dim); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; } .auc-new-vals b { color: #fff; font: 700 17px/1 "Barlow Condensed", sans-serif; }
.auc-field { display: grid; gap: 6px; }
.auc-lbl { color: #c9d0da; font: 700 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.auc-lbl em { margin-left: 6px; color: var(--auc-dim); font-style: normal; letter-spacing: .04em; text-transform: none; font-weight: 600; }
.auc-len { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.auc-len button { height: 42px; padding: 0 !important; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #e3e7ee; cursor: pointer; font: 700 16px/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.auc-len button.on { background: linear-gradient(135deg, var(--auc-gold), var(--auc-gold2)); border-color: transparent; color: #1c1405; }
.auc-calc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 16px; border-radius: 14px; background: rgba(122,211,90,.07); border: 1px solid rgba(122,211,90,.25); }
.auc-calc span { color: #c9d0da; font-size: 16px; } .auc-calc b { color: var(--auc-win); font: 800 26px/1 "Barlow Condensed", sans-serif; } .auc-calc small { color: var(--auc-dim); font-size: 14px; }

/* pick a card */
.auc-pick-grid.tc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 12px; }
.auc-pick { padding: 0 !important; border: 0; background: none; cursor: pointer; border-radius: 12px; display: block; width: 100%; }
.auc-pick > .tc-card { pointer-events: none; }
.auc-pick:hover { filter: brightness(1.1); }

/* ── phones ── */
@media (max-width: 640px) {
    .auc { gap: 12px; }
    .auc-head { gap: 8px; }
    .auc-seg { flex: 1 1 0; min-width: 0; }
    .auc-seg button { height: 34px; padding: 0 11px !important; font-size: 15px; }
    .auc-newbtn { height: 38px; padding: 0 14px !important; font-size: 14px; letter-spacing: .05em; }
    .auc-long { display: none; } .auc-short { display: inline; }
    .auc-bar { gap: 6px; padding: 6px; border-radius: 16px; }
    .auc-search { flex: 1 1 0; padding: 0 10px; gap: 6px; }
    .auc-sel { max-width: 128px; padding: 0 26px 0 11px !important; background-position: right 10px center; }
    .auc-meta-rules { display: none; }
    .auc-grid.tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .auc-tile { padding: 8px 8px 10px; gap: 8px; border-radius: 14px; }
    .auc-price { font-size: 20px; }
    .auc-tile-row > small { font-size: 12px; } .auc-tile-row > small.auc-count { font-size: 13px; }
    .auc-tile-row:last-child { flex-wrap: wrap; row-gap: 4px; }
    .auc-clock { padding: 2px 7px; } .auc-clock b { font-size: 12px; }
    .auc-badge { top: 6px; left: 6px; padding: 3px 7px; font-size: 11px; }
    .auc-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "art txt price" "art txt btn"; gap: 4px 10px; }
    .auc-row > .auc-row-art, .auc-row > .auc-mini { grid-area: art; } .auc-row > .auc-row-txt { grid-area: txt; } .auc-row > .auc-row-price { grid-area: price; }
    .auc-row > .auc-small { grid-area: btn; justify-self: end; height: 30px; padding: 0 12px !important; font-size: 13px; }
    .auc-row.hist { grid-template-areas: "art txt price"; }
    .auc-row-txt > b { font-size: 17px; } .auc-row-price b { font-size: 17px; }
    /* bottom sheets */
    .auc-ov { place-items: end stretch; padding: calc(10px + var(--safe-top, 0px)) 0 0; }
    .auc-sheet, .auc-ov.newm .auc-sheet, .auc-ov.pickm .auc-sheet { width: 100%; max-height: calc(92dvh - var(--safe-top, 0px)); border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-bottom: 0; }
    .auc-ov:not(.in) .auc-sheet { transform: translateY(40px); }
    .auc-x { top: 10px; right: 10px; width: 36px; height: 36px; }
    .auc-sh-h { font-size: 24px; }
    .auc-bid { grid-template-columns: 96px minmax(0, 1fr); gap: 10px 14px; }
    .auc-bid-info { display: contents; }
    .auc-bid-card { grid-row: 1; grid-column: 1; width: 96px; height: 135px; }
    .auc-bscale { transform: scale(.384); }
    .auc-bid-title { grid-row: 1; grid-column: 2; align-self: center; padding-right: 40px; }
    .auc-bid-title .auc-kicker { font-size: 12px; }
    .auc-bid-title h3 { font-size: 26px; }
    .auc-bid-now, .auc-bid .auc-facts, .auc-bid .auc-act, .auc-bid .auc-hist { grid-column: 1 / -1; }
    .auc-bid-now { padding: 10px 12px; }
    .auc-big { font-size: 32px; } .auc-timer b { font-size: 24px; }
    .auc-facts { gap: 6px; } .auc-facts > div { padding: 7px 10px; } .auc-facts b { font-size: 16px; }
    .auc-price-in { height: 52px; } .auc-price-in input { font-size: 26px; }
    .auc-new-top { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding-right: 30px; }
    .auc-new-card { width: 92px; height: 129px; } .auc-scale { transform: scale(.46); }
    .auc-new-txt h3 { font-size: 23px; }
    .auc-calc b { font-size: 22px; } .auc-calc span { font-size: 15px; }
    .auc-pick-grid.tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 360px) { .auc-sel { max-width: 104px; } .auc-seg button { padding: 0 9px !important; } }
@media (prefers-reduced-motion: reduce) { .auc-tile, .auc-sheet, .auc-ov { transition: none; } .auc-clock[data-auc-urg="hot"], .auc-timer[data-auc-urg="hot"] b { animation: none; } }
