/* Watchtrader & Co: the Members Auction Hub (auctions.html only; build.py auction_hub(), js/pages.js). The page's top, the ticket and
   the forms are site.css (ip-, tix-, sx-). Here: which side shows, the member's index, the schedule, the lot lists, the vote and how
   the last streams went. House tone: concise, 5 px corners, greys, the three buttons, no gold. Everything is prefixed ah-. */

/* which side shows: the class is on <html> before anything paints (pages/auctions.html). WordPress prints one side only. */
html:not(.ah-in) .ah-hub,html:not(.ah-in) .ah-idx{display:none}
html.ah-in .ah-gate{display:none}

/* ---- signed out: today's numbers beside each perk ---- */
.ah-n:empty{display:none}
.ah-n{display:inline-block;margin-left:10px;padding:5px 9px;border-radius:999px;background:var(--counter);font:600 10px/1 'Poppins';letter-spacing:.12em;text-transform:uppercase;color:var(--muted);vertical-align:2px;white-space:nowrap}

/* ---- signed in: who, and the hub's four parts ---- */
.ah-who{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:34px;margin-bottom:8px}
.ah-who .ip-k{margin:0}
.ah-who .ip-k b{color:var(--ink)}
.ah-out{padding:10px 0 10px 12px;font:600 13px/1 'Poppins';color:var(--muted);transition:color .2s}
@media (hover:hover){.ah-out:hover{color:var(--ink)}}
.ah-jump{display:grid;margin-top:26px;border-top:1px solid var(--line)}
.ah-jump a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 6px 16px 0;border-bottom:1px solid var(--line)}
.ah-jump a>.i:first-child{width:42px;height:42px;padding:10px;border-radius:50%;background:var(--counter);transition:background-color .25s,color .25s}
.ah-jump a>.i:last-child{color:var(--muted);transition:transform .35s var(--out),color .25s}
.ah-jump b{display:block;font-size:15.5px;font-weight:600}
.ah-jump i{display:block;margin-top:3px;font-style:normal;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
@media (hover:hover){
  .ah-jump a:hover>.i:first-child{background:var(--ink);color:#fff}
  .ah-jump a:hover>.i:last-child{transform:translateX(4px);color:var(--ink)}
}

/* ---- shared small parts ---- */
.ah-hub .sh{align-items:flex-end}
.ah-hub .sh-l{flex-wrap:wrap;row-gap:8px}
.ah-note{max-width:430px;font-size:14px;line-height:1.55;color:var(--muted);text-wrap:pretty}
.ah-tags{display:flex;flex-wrap:wrap;gap:6px}
.ah-tags span{display:inline-flex;align-items:center;min-height:28px;padding:4px 11px;border-radius:999px;background:#f2f2f2;font:500 12.5px/1.25 'Poppins'}
.ah-go{display:inline-flex;align-items:center;gap:7px;padding:4px 0;font:600 13.5px/1 'Poppins';color:var(--ink);white-space:nowrap}
.ah-go .i{transition:transform .35s var(--out)}
@media (hover:hover){.ah-go:hover .i{transform:translateX(3px)}}
.ah-empty{padding:30px 28px;border-radius:var(--r);background:var(--counter);font-size:15px;line-height:1.6;color:#4a4a4a}
.ip-sec-g .ah-empty{background:#fff}
.ah-empty b{font-weight:600;color:var(--ink)}
.ah-hint{font-size:13.5px;line-height:1.5;color:var(--muted)}

/* ================= the schedule: a ruled list, soonest first; the next stream is marked and has the solid button ================= */
.ah-sched{display:grid;gap:10px}
.ah-ev{display:grid;grid-template-columns:124px 64px minmax(0,1fr) 150px 268px;grid-template-areas:"d p t l a";align-items:center;column-gap:30px;padding:22px 30px 22px 28px;border-radius:var(--r);background:#fff;transition:opacity .3s var(--ui)}
.ah-ev-d{grid-area:d;display:flex;flex-direction:column;gap:7px}
.ah-ev-d span{font:600 10.5px/1 'Poppins';letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.ah-ev-d b{font:400 28px/1 'Gelasio',serif;font-variant-numeric:lining-nums;white-space:nowrap}
.ah-ev-d i{font-style:normal;font-size:14px;line-height:1;font-weight:600}
.ah-ev-po{grid-area:p;display:block;width:64px;aspect-ratio:2/3;border-radius:var(--r);overflow:hidden;background:var(--counter)}
.ah-ev-po img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--out)}
.ah-ev-t{grid-area:t;min-width:0}
.ah-ev-k{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;font:600 10.5px/1 'Poppins';letter-spacing:.16em;text-transform:uppercase;color:var(--live)}
.ah-ev.is-live .ah-ev-k::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--live);animation:ring 1.8s ease-out infinite}
.ah-ev.is-over .ah-ev-k{color:var(--muted)}
.ah-ev-n{font:400 26px/1.15 'Gelasio',serif;text-wrap:balance}
.ah-ev-t .ah-tags{margin-top:12px}
.ah-ev-l{grid-area:l;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:14.5px;line-height:1.3}
.ah-ev-l b{font-weight:600;white-space:nowrap}
.ah-ev-l>span{color:var(--muted)}
.ah-ev-a{grid-area:a;display:flex;flex-direction:column;align-items:stretch;gap:12px}
.ah-ev-go{height:46px;padding:0 20px;font-size:14px}
.ah-ev.is-next .ah-ev-go,.ah-ev.is-live .ah-ev-go{background:#000;color:#fff;box-shadow:none}
.ah-ev.is-next .ah-ev-go::before,.ah-ev.is-live .ah-ev-go::before{background:#333}
.ah-cals{display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;line-height:1;color:var(--muted);white-space:nowrap}
.ah-cals a{font:600 13.5px/1 'Poppins';color:var(--muted);transition:color .25s}
.ah-cals a+a{padding-left:14px;border-left:1px solid var(--line)}
@media (hover:hover){.ah-cals a:hover{color:var(--ink)}}
.ah-ev.is-over{opacity:.5}
.ah-ev.is-over .ah-ev-a{visibility:hidden}
@media (hover:hover){.ah-ev:hover .ah-ev-po img{transform:scale(1.06)}}

/* ================= the lot lists: a tab per stream, the houses as chips, a search, then the lots ================= */
.ah-evs{display:flex;gap:4px;width:max-content;max-width:100%;padding:4px;border-radius:var(--r);background:var(--counter);overflow-x:auto;scrollbar-width:none}
.ah-evs::-webkit-scrollbar{display:none}
.ah-evs button{flex:none;display:inline-flex;align-items:center;gap:9px;height:44px;padding:0 18px;border-radius:4px;font:600 14px/1 'Poppins';color:var(--muted);white-space:nowrap;transition:background-color .2s,color .2s}
.ah-evs button b{font-weight:600}
.ah-evs button i{font:500 12px/1 'Poppins';font-style:normal;opacity:.75;font-variant-numeric:tabular-nums}
.ah-evs button[aria-selected="true"]{background:var(--ink);color:#fff}
.ah-evs button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (hover:hover){.ah-evs button[aria-selected="false"]:hover{color:var(--ink)}}
.ah-panel{margin-top:22px}
.ah-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}
.ah-brands{display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding-top:4px;scrollbar-width:none}
.ah-brands::-webkit-scrollbar{display:none}
.ah-b{flex:none;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 13px;border-radius:999px;background:#f2f2f2;font:500 13px/1 'Poppins';white-space:nowrap;transition:background-color .25s,color .25s}
.ah-b i{font-style:normal;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums;transition:color .25s}
@media (hover:hover){.ah-b:hover{background:#e9e9e9}}
.ah-b.on{background:var(--ink);color:#fff}
.ah-b.on i{color:rgba(255,255,255,.6)}
.ah-find{position:relative;flex:none;width:300px}
.ah-find .i{position:absolute;left:14px;top:50%;margin-top:-9px;color:var(--muted);pointer-events:none}
.ah-find input{width:100%;height:44px;padding:0 14px 0 42px;border-radius:var(--r);background:#fff;box-shadow:inset 0 0 0 1px #d6d6d6;font:400 14.5px/1 'Poppins';transition:box-shadow .2s}
.ah-find input::placeholder{color:#9a9a9a}
.ah-find input:focus{box-shadow:inset 0 0 0 1.5px var(--ink)}
.ah-find input::-webkit-search-cancel-button{cursor:pointer}

.ah-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:30px 14px}
.ah-lot{min-width:0}
.ah-lot-im{position:relative;display:block;aspect-ratio:4/5;border-radius:var(--r);overflow:hidden;background:#f2f2f2}
.ah-lot-im img{position:absolute;inset:4% 8% 6%;width:84%;height:90%;object-fit:contain;mix-blend-mode:multiply;transition:transform .9s var(--out)}
.ah-lot-im img.cut{inset:13% 19% 15%;width:62%;height:72%;mix-blend-mode:normal;filter:drop-shadow(0 12px 14px rgba(0,0,0,.16)) drop-shadow(0 2px 3px rgba(0,0,0,.12))}
.ah-lot-ni{position:absolute;inset:0;display:grid;place-items:center;font-size:12.5px;color:var(--muted)}
.ah-lot-n{position:absolute;left:12px;top:12px;font:600 10.5px/1 'Poppins';letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.ah-lot-no{position:absolute;left:12px;bottom:11px;font:500 11px/1 'Poppins';letter-spacing:.06em;color:#8a8a8a}
.ah-lot-tx{display:flex;flex-direction:column;padding:13px 2px 0}
.ah-lot-br{font-size:13px;line-height:1.4;color:var(--muted)}
.ah-lot-md{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:600 14.5px/1.35 'Poppins'}
.ah-lot-mt{margin-top:3px;font-size:13px;line-height:1.45;color:var(--muted)}
.ah-lot-pr{display:grid;gap:6px;margin-top:11px;padding-top:11px;border-top:1px solid var(--line)}
.ah-lot-pr span{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.ah-lot-pr i{font-style:normal;font-size:12.5px;color:var(--muted)}
.ah-lot-pr b{font:400 19px/1 'Gelasio',serif;font-variant-numeric:lining-nums tabular-nums}
.ah-lot-ln{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:11px}
.ah-lot-ln a{display:inline-flex;align-items:center;gap:5px;padding:3px 0;font:600 12.5px/1 'Poppins';color:var(--muted);white-space:nowrap;transition:color .2s}
.ah-lot-ln a .i{transition:transform .35s var(--out)}
@media (hover:hover){.ah-lot-ln a:hover{color:var(--ink)}}
@media (hover:hover){.ah-lot-ln a:hover .i{transform:translateX(2px)}}
@media (hover:hover){.ah-lot:hover .ah-lot-im img{transform:scale(1.05) translateY(-1.5%)}}
.ah-none{margin-top:4px}
/* "Show all N lots": two rows show first (four rows of two on a phone); the button only where the list is longer than that.
   build.py marks the grid ah-m8 / ah-m9 / ah-m10 / ah-m12 when it holds more than that many lots. */
.ah-all{display:none;width:max-content;max-width:100%;margin:36px auto 0}
@media (min-width:1360px){
  .ah-grid:not(.all):not(.filtered) .ah-lot:nth-child(n+13){display:none}
  .ah-m12:not(.filtered)~.ah-all{display:flex}
}
@media (min-width:1101px) and (max-width:1359px){
  .ah-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .ah-grid:not(.all):not(.filtered) .ah-lot:nth-child(n+11){display:none}
  .ah-m10:not(.filtered)~.ah-all{display:flex}
}
@media (min-width:861px) and (max-width:1100px){
  .ah-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ah-grid:not(.all):not(.filtered) .ah-lot:nth-child(n+13){display:none}
  .ah-m12:not(.filtered)~.ah-all{display:flex}
}
@media (min-width:701px) and (max-width:860px){
  .ah-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ah-grid:not(.all):not(.filtered) .ah-lot:nth-child(n+10){display:none}
  .ah-m9:not(.filtered)~.ah-all{display:flex}
}
@media (max-width:700px){
  .ah-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 10px}
  .ah-grid:not(.all):not(.filtered) .ah-lot:nth-child(n+9){display:none}
  .ah-m8:not(.filtered)~.ah-all{display:flex;width:100%;margin-top:28px}
}

/* ================= the vote: the round's models by house; your picks and the most wanted beside them ================= */
.ah-vote{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(32px,4.5vw,72px);align-items:start}
.ah-cg{display:grid;grid-template-columns:168px minmax(0,1fr);gap:20px;align-items:start;padding:18px 0;border-bottom:1px solid #e2e2e2}
.ah-cg:first-child{padding-top:0}
.ah-cg:last-child{padding-bottom:0;border-bottom:0}
.ah-cg h3{padding-top:9px;font:400 21px/1.2 'Gelasio',serif}
.ah-chips{display:flex;flex-wrap:wrap;gap:8px}
.ah-c{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 15px;border-radius:var(--r);background:#fff;box-shadow:inset 0 0 0 1px #d9d9d9;font:500 14px/1 'Poppins';white-space:nowrap;transition:background-color .2s,color .2s,box-shadow .2s}
.ah-c-k{display:none}
.ah-c em{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--counter);font:600 11px/20px 'Poppins';font-style:normal;text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}
.ah-c[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:none}
.ah-c[aria-pressed="true"] .ah-c-k{display:grid;animation:pop .45s var(--out)}
.ah-c[aria-pressed="true"] em{background:rgba(255,255,255,.18);color:#fff}
.ah-c:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ah-vote.full .ah-c[aria-pressed="false"]{color:#8d8d8d}
@media (hover:hover){.ah-c[aria-pressed="false"]:hover{box-shadow:inset 0 0 0 1.5px var(--ink);color:var(--ink)}}

.ah-board{position:sticky;top:calc(var(--hh) + 28px);display:grid;gap:10px;max-height:calc(100vh - var(--hh) - 56px);overflow-y:auto;scrollbar-width:thin;transition:top .5s var(--out)}
.hdr.away ~ main .ah-board{top:28px}
.ah-mine,.ah-leader{padding:24px 24px 22px;border-radius:var(--r);background:#fff}
.ah-bh{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;font:600 11px/1 'Poppins';letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.ah-bh b{font:400 22px/1 'Gelasio',serif;letter-spacing:0;text-transform:none;color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.ah-slots{list-style:none;display:grid;gap:8px}
.ah-slot{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:0 6px 0 14px;border-radius:var(--r);border:1px dashed #d2d2d2;font-size:14.5px;line-height:1.3;color:#a3a3a3}
.ah-slot.on{border:1px solid transparent;background:var(--counter);color:var(--ink);animation:sx-in .4s var(--out)}
.ah-slot>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ah-slot b{font-weight:600}
.ah-slot-x{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:var(--muted);transition:background-color .2s,color .2s}
@media (hover:hover){.ah-slot-x:hover{background:#fff;color:var(--ink)}}
.ah-mine .ah-hint{margin-top:12px}
.ah-msg{display:flex;align-items:baseline;gap:8px;margin-top:12px;font-size:13px;line-height:1.5;color:var(--ink)}
.ah-msg:empty{display:none}
.ah-msg::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--green);translate:0 -1px}
.ah-msg.err{color:#c0392b}
.ah-msg.err::before{background:#c0392b}
.ah-lb{list-style:none;display:grid;gap:13px}
.ah-lb li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:baseline;font-size:14px;line-height:1.3}
.ah-lb-n{grid-area:1/1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ah-lb-n b{font-weight:600}
.ah-lb-c{grid-area:1/2;font:400 17px/1 'Gelasio',serif;font-variant-numeric:lining-nums tabular-nums}
.ah-lb-b{grid-area:2/1/3/3;height:3px;border-radius:2px;background:var(--counter);overflow:hidden}
.ah-lb-b i{display:block;height:100%;border-radius:2px;background:#bdbdbd;transition:width .7s var(--out),background-color .3s}
.ah-lb li.me .ah-lb-b i{background:var(--ink)}
.ah-voters{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:13px;line-height:1.5;color:var(--muted)}
.ah-voters b{font-weight:600;color:var(--ink)}

/* ================= how the last streams went ================= */
.ah-past{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ah-pc{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:28px 28px 24px;border-radius:var(--r);background:var(--counter)}
.ah-pc-w{font:600 10.5px/1 'Poppins';letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.ah-pc-n{margin-top:12px;font:400 24px/1.15 'Gelasio',serif}
.ah-pc .ah-tags{margin-top:12px}
.ah-pc .ah-tags span{background:#fff}
.ah-pc-m{margin-top:14px;font-size:13.5px;line-height:1;color:var(--muted)}
.ah-tb{width:100%;margin:14px 0 18px;border-collapse:collapse}
.ah-tb th,.ah-tb td{padding:11px 0;border-top:1px solid #dedede;vertical-align:baseline}
.ah-tb th{padding-right:14px;font-weight:400;font-size:14px;line-height:1.35;text-align:left}
.ah-tb td{font:400 17px/1 'Gelasio',serif;text-align:right;white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}
.ah-pc .ah-hint{margin:14px 0 18px}
.ah-pc .ah-go{margin-top:auto}
@media (hover:hover){.ah-pc .ah-go:hover .i{transform:translate(2px,-2px)}}
.ah-prog{display:none}

/* ================= narrower ================= */
@media (max-width:1359px){
  .ah-ev{grid-template-columns:118px 60px minmax(0,1fr) 140px 250px;column-gap:24px}
  .ah-ev-po{width:60px}
}
@media (max-width:1100px){
  .ah-ev{grid-template-columns:110px 56px minmax(0,1fr) auto;grid-template-areas:"d p t l" "a a a a";row-gap:18px;column-gap:22px;padding:22px 24px}
  .ah-ev-po{width:56px}
  .ah-ev-l{align-items:flex-end;text-align:right}
  .ah-ev-a{flex-direction:row;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid var(--line)}
  .ah-vote{grid-template-columns:minmax(0,1fr) 320px;gap:32px}
  .ah-cg{grid-template-columns:132px minmax(0,1fr);gap:14px}
  .ah-pc{padding:24px 22px 22px}
  .ah-pc-n{font-size:22px}
}
@media (max-width:860px){
  .ah-tools{flex-direction:column-reverse;align-items:stretch;gap:14px}
  .ah-find{width:100%}
  .ah-brands{flex-wrap:nowrap;overflow-x:auto;margin:0 -30px;padding:0 30px}
  /* the vote in one column: the models, then your picks (they follow the screen's foot while the models are in view), then the most wanted */
  .ah-vote{grid-template-columns:minmax(0,1fr);gap:14px}
  .ah-board{display:contents}
  .ah-mine{position:sticky;bottom:12px;z-index:5;padding:14px 16px;box-shadow:0 0 0 1px var(--line),0 14px 40px rgba(0,0,0,.14)}
  .ah-mine .ah-bh{margin-bottom:10px}
  .ah-bh b{font-size:19px}
  .ah-slots{display:flex;flex-wrap:wrap;gap:6px}
  .ah-slot{flex:1 1 auto;min-width:84px;max-width:100%;min-height:42px;padding:0 2px 0 11px;font-size:13px}
  .ah-slot:not(.on){padding-right:11px}
  .ah-slot b{display:none}
  .ah-slot-x{width:30px;height:30px}
  .ah-mine .ah-hint{display:none}
  .ah-msg{margin-top:9px;font-size:12.5px}
  /* the last streams: a rail, with its progress under it */
  .ah-past{display:flex;gap:10px;margin:0 -30px;padding:0 30px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:30px;scrollbar-width:none}
  .ah-past::-webkit-scrollbar{display:none}
  .ah-pc{flex:0 0 min(86%,420px);scroll-snap-align:start}
  .ah-prog{display:block;height:2px;margin-top:22px;border-radius:1px;background:var(--line);overflow:hidden}
  .ah-prog i{display:block;width:34%;height:100%;border-radius:1px;background:var(--ink);transition:width .2s linear}
}
@media (max-width:700px){
  .ah-n{margin-left:8px}
  .ah-note{max-width:none}
  .ah-ev{grid-template-columns:48px minmax(0,1fr);grid-template-areas:"p d" "t t" "l l" "a a";align-items:start;row-gap:14px;column-gap:14px;padding:18px 16px}
  .ah-ev-po{width:48px}
  .ah-ev-d{align-self:center;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:6px 10px}
  .ah-ev-d span{width:100%}
  .ah-ev-d b{font-size:24px}
  .ah-ev-k{margin-bottom:8px}
  .ah-ev-n{font-size:23px}
  .ah-ev-l{flex-direction:row;justify-content:space-between;align-items:center;text-align:left}
  .ah-ev-a{flex-direction:column;align-items:stretch;gap:12px;padding-top:14px}
  .ah-evs{width:calc(100% + 32px);max-width:none;margin:0 -16px;padding:4px 16px;border-radius:0;background:none}
  .ah-evs button{background:var(--counter)}
  .ah-brands{margin:0 -16px;padding:0 16px}
  .ah-lot-n{left:10px;top:10px}
  .ah-lot-no{left:10px;bottom:9px}
  .ah-cg{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0}
  .ah-cg h3{padding-top:0;font-size:20px}
  .ah-c{height:40px;padding:0 13px;font-size:13.5px}
  .ah-leader{padding:20px 18px}
  .ah-past{margin:0 -16px;padding:0 16px;scroll-padding-left:16px}
  .ah-pc{padding:22px 20px 20px}
  .ah-empty{padding:22px 18px}
}

/* ================= iPhone Duo, the inner screen held sideways (the SPREAD query at the end of site.css): two pages, nothing on the fold ================= */
@media (min-width:880px) and (max-width:1100px) and (max-height:760px) and (orientation:landscape) and (pointer:coarse), (horizontal-viewport-segments:2){
  .ip-au{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px}                       /* the ticket on the left page; the way in, or the hub's index, on the right */
  .ah-hub .sh-l{max-width:calc(50vw - 58px)}
  .ah-hub .sh>.ah-note,.ah-hub .sh>.lnk{max-width:calc(50vw - 58px)}
  .ah-sched{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 56px}             /* a stream a page */
  .ah-ev{grid-template-columns:48px minmax(0,1fr);grid-template-areas:"p d" "t t" "l l" "a a";grid-template-rows:auto 1fr auto auto;align-items:start;row-gap:14px;column-gap:14px;padding:18px}
  .ah-ev-po{width:48px}
  .ah-ev-d{align-self:center;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:6px 10px}
  .ah-ev-d span{width:100%}
  .ah-ev-d b{font-size:24px}
  .ah-ev-n{font-size:23px}
  .ah-ev-l{flex-direction:row;justify-content:space-between;align-items:center;text-align:left}
  .ah-ev-a{flex-direction:column;align-items:stretch;gap:12px;padding-top:14px}
  .ah-evs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:calc(50vw - 58px);max-width:none;margin:0;padding:4px;border-radius:var(--r);background:var(--counter)}   /* the streams' tabs stay on the left page */
  .ah-evs button{justify-content:center;background:none}
  .ah-evs button[aria-selected="true"]{background:var(--ink)}
  .ah-tools{flex-direction:row;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:56px}
  .ah-find{width:100%}
  .ah-brands{flex-wrap:nowrap;overflow-x:auto;margin:0;padding:0}
  .ah-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 14px}                   /* four lots a row, two a page */
  .ah-grid:not(.all):not(.filtered) .ah-lot:nth-child(n+9){display:none}
  .ah-m8:not(.filtered)~.ah-all{display:flex;width:calc(50% - 28px);margin:28px 0 0}                   /* on the left page, clear of the fold */
  .ah-vote{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px}                    /* the models on the left page; your picks and the most wanted on the right */
  .ah-board{display:grid;position:sticky;top:calc(var(--hh) + 12px);max-height:calc(100svh - var(--hh) - 24px)}
  .ah-mine{position:static;padding:18px;box-shadow:none}
  .ah-leader{padding:18px}
  .ah-slots{display:grid;grid-template-columns:minmax(0,1fr)}
  .ah-slot{flex:none;min-width:0}
  .ah-slot b{display:inline}
  .ah-cg{grid-template-columns:minmax(0,1fr);gap:10px}
  .ah-cg h3{padding-top:0}
  .ah-past{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 56px;margin:0;padding:0;overflow:visible}
  .ah-pc{flex:none}
  .ah-prog{display:none}
}
@media (prefers-reduced-motion:reduce){
  .ah-slot.on,.ah-c[aria-pressed="true"] .ah-c-k,.ah-ev.is-live .ah-ev-k::before{animation:none}
  .ah-lot-im img,.ah-ev-po img,.ah-lb-b i,.ah-board{transition:none}
}

/* ---- 14-11-2026: the phone and iPhone Duo audit (see the end of site.css) ---- */
@media (max-width:1100px),(pointer:coarse){
  .ah-find input{font-size:16px}
}
@media (pointer:coarse){
  .ah-go,.ah-cals a,.ah-out,.ah-lot-ln a{position:relative}
  .ah-lot-ln a::after{content:"";position:absolute;inset:-12px -8px}
  .ah-go::after,.ah-cals a::after,.ah-out::after{content:"";position:absolute;inset:-13px -8px}
}
