/* Wire to Wire — Sales Pavilion */
body:has(main.sp) { background: radial-gradient(1200px 600px at 50% -10%, #1d3b55, #0b1d2b 60%) fixed; }
main.sp { max-width: 1180px; margin: 0 auto; padding: 12px 14px 24px; color: var(--w-ink, #e9eef3); }
.sp-hero { position: relative; height: clamp(240px, 40vw, 400px); border-radius: 18px; overflow: hidden; border: 1px solid var(--w-brass, #b8933d); background: #9cc3e0; }
.sp-hero canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.sp-hero-txt { position: absolute; left: 16px; top: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.65); pointer-events: none; max-width: 70%; }
.sp-hero-txt small { font: 700 11px system-ui; letter-spacing: 1.4px; color: var(--w-brass2, #f3d98a); } .sp-hero-txt h1 { margin: 2px 0; font: 700 clamp(20px, 3vw, 30px) Georgia, serif; color: #fff; } .sp-hero-txt p { margin: 0; font-size: 13px; color: #fff; }
.sp-hero-btns { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; } .hide { display: none !important; }
.sp-clock { position: absolute; right: 14px; top: 12px; background: rgba(11,29,43,.88); border: 2px solid #d8b45a; border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 120px; }
.sp-clock small { display: block; font: 700 10px system-ui; letter-spacing: 1.4px; color: #f3d98a; } .sp-clock b { display: block; font: 800 32px ui-monospace, monospace; color: #fff; } .sp-clock span { font-size: 12px; opacity: .85; }
.sp-load { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(11,29,43,.55); font-weight: 700; transition: opacity .4s; } .sp-load.hide { opacity: 0; pointer-events: none; display: grid !important; }
.sp-btn { appearance: none; border: 1px solid var(--w-line2, #2d4b63); background: rgba(11,29,43,.85); color: #fff; padding: 7px 12px; border-radius: 10px; font: 700 13px system-ui; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.sp-btn.gold { background: linear-gradient(180deg, #f3d98a, #b8933d); color: #1b1305; border-color: #f3d98a; } .sp-btn.sm { padding: 5px 9px; font-size: 12px; } .sp-btn.xs { padding: 3px 7px; font-size: 11px; border-radius: 7px; } .sp-btn.big { padding: 10px 18px; font-size: 15px; }
.sp-card { background: rgba(16,36,52,.92); border: 1px solid var(--w-line2, #2d4b63); border-radius: 14px; padding: 14px; margin-top: 12px; }
.sp-card h2 { margin: 0 0 6px; font: 700 20px Georgia, serif; color: var(--w-brass2, #f3d98a); } .sp-card h3 { margin: 0 0 8px; font: 700 17px Georgia, serif; color: var(--w-brass2, #f3d98a); } .sp-card h4 { margin: 12px 0 6px; color: #f3d98a; } .sp-card p { line-height: 1.5; }
.sp-top { display: grid; grid-template-columns: 280px 1fr; gap: 14px; } .sp-sales { display: grid; gap: 8px; }
.sp-sale { text-align: left; border: 1px solid #2d4b63; background: linear-gradient(170deg, #17344b, #0f2333); color: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; display: grid; gap: 2px; }
.sp-sale.on { border-color: #f3d98a; box-shadow: 0 0 0 1px #f3d98a; } .sp-sale small { font: 700 10px system-ui; letter-spacing: 1.2px; color: #f3d98a; } .sp-sale b { font: 700 16px Georgia, serif; } .sp-sale span { font-size: 12px; opacity: .8; }
.sp-sale.live span { color: #9be36b; opacity: 1; font-weight: 700; } .sp-sale.catalogue span { color: #f3d98a; opacity: 1; }
.sp-status { padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid #2d4b63; margin: 6px 0 10px; } .sp-status.live { background: rgba(63,174,106,.16); border-color: #3fae6a; } .sp-status.catalogue { background: rgba(216,180,90,.13); border-color: #d8b45a; }
.sp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; } .sp-tabs button { border: 1px solid #2d4b63; background: #10263a; color: #fff; border-radius: 999px; padding: 8px 14px; font: 700 13px system-ui; cursor: pointer; } .sp-tabs button.on { background: linear-gradient(180deg, #f3d98a, #b8933d); color: #1b1305; border-color: #f3d98a; }
.sp-filters { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; } .sp-filters .grp { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; } .sp-filters .grp b { font-size: 12px; opacity: .75; margin-right: 2px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; margin-top: 10px; }
.lot { background: linear-gradient(170deg, #17344b, #0f2333); border: 1px solid #2d4b63; border-radius: 14px; padding: 11px; display: grid; gap: 7px; font-size: 13px; }
.lot.sel { border-color: #f3d98a; } .lot.mine { border-color: #3fae6a; } .lot.bid { box-shadow: inset 3px 0 0 #f3d98a; } .lot.done, .lot.sold, .lot.rna { opacity: .82; }
.lot .lt { display: grid; grid-template-columns: 52px 54px 1fr; gap: 8px; align-items: center; } .lot .lt .w2w-port, .lot .lt img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.hip { background: #f4efe2; color: #1b1305; border-radius: 8px; text-align: center; font: 700 10px system-ui; padding: 3px 0; letter-spacing: 1px; } .hip b { display: block; font: 800 20px Georgia, serif; letter-spacing: 0; }
.lot .ln b { font: 700 15px Georgia, serif; color: #fff; display: block; } .lot .ln small, .lot small { opacity: .78; }
.lot .ped { font-size: 12.5px; } .tag { font: 700 10px system-ui; padding: 1px 6px; border-radius: 5px; background: #3a6b8a; text-transform: uppercase; } .tag.dirt { background: #8a5a33; } .tag.turf { background: #2f7a39; } .tag.tapeta { background: #5b4a8e; }
.cfrow { display: flex; gap: 6px; align-items: baseline; } .utrow { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 5px 8px; border-radius: 8px; background: rgba(216,180,90,.12); }
.lets { display: flex; gap: 4px; flex-wrap: wrap; } .lets span { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.25); } .lets b { margin-left: 3px; color: #f3d98a; }
.lb { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; } .lb small { display: block; font-size: 10.5px; } .lb b { font: 800 17px system-ui; color: #9be36b; }
.pre { display: flex; gap: 4px; align-items: center; font-size: 12px; } .pre input, .sp-t input { width: 100px; padding: 5px 7px; border-radius: 8px; background: #0b1a26; color: #fff; border: 1px solid #2d4b63; }
.pill { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(63,174,106,.2); border: 1px solid #3fae6a; } .pill.rna { background: rgba(224,154,59,.18); border-color: #e09a3b; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; } .more { text-align: center; margin-top: 12px; }
.ut-best { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin: 10px 0; } .ut-best > div > button { justify-self: start; } .ut-best > div { background: rgba(0,0,0,.22); border-radius: 12px; padding: 10px; display: grid; gap: 3px; } .ut-best small { font: 700 10px system-ui; letter-spacing: 1.2px; color: #f3d98a; text-transform: uppercase; } .ut-best b { font: 800 26px ui-monospace, monospace; }
.tw { overflow-x: auto; } .sp-t { width: 100%; border-collapse: collapse; font-size: 13px; } .sp-t th { text-align: left; font: 700 11px system-ui; letter-spacing: .8px; color: #f3d98a; padding: 6px; border-bottom: 1px solid #2d4b63; text-transform: uppercase; } .sp-t td { padding: 6px; border-bottom: 1px solid rgba(255,255,255,.06); } .sp-t tr.me td { background: rgba(63,174,106,.12); }
.insp-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .insp-h h3 { margin: 0; flex: 1; } .insp-h select { padding: 6px; border-radius: 8px; background: #0b1a26; color: #fff; border: 1px solid #2d4b63; max-width: 240px; }
.insp-trio { display: flex; gap: 10px; align-items: flex-end; justify-content: center; flex-wrap: wrap; margin: 10px 0 14px; } .insp-trio > div { text-align: center; background: rgba(0,0,0,.2); border-radius: 12px; padding: 8px; display: grid; gap: 4px; justify-items: center; } .insp-trio > div.me { background: rgba(216,180,90,.12); border: 1px solid #d8b45a; } .insp-trio small { font: 700 10px system-ui; letter-spacing: 1.2px; color: #f3d98a; }
.small { font-size: 13px; opacity: .85; } .muted { opacity: .7; }
.sp-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: #0b1d2b; border: 1px solid #f3d98a; color: #fff; padding: 10px 16px; border-radius: 12px; opacity: 0; transition: .3s; z-index: 50; max-width: min(560px, 92vw); pointer-events: none; } .sp-toast.show { opacity: 1; transform: translateX(-50%); }
@media (max-width: 760px) { .sp-top { grid-template-columns: 1fr; } .sp-sales { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { main.sp { padding: 8px 8px 90px; } .sp-grid { grid-template-columns: 1fr; } .sp-hero-btns { left: 10px; right: auto; } .sp-hero-txt p { display: none; } .sp-clock b { font-size: 24px; } .insp-trio svg { max-width: 100%; height: auto; } }