:root{--ink:#192135;--muted:#657188;--line:#dce1ec;--accent:#364fdb;--green:var(--accent);--soft:#637087;--forest:#233893;--paper:#f6f7fb;color:var(--ink);background:var(--paper);--sidebar:224px}
.side{background:#fff;color:var(--ink);border-right:1px solid var(--line)}
.brand{padding:25px 22px 22px;color:#17203a;gap:9px;font-size:26px;letter-spacing:-1.45px}.brand img{width:35px;height:35px}.brand strong{font-weight:720}
.workspace{margin:0 15px 18px;border-color:var(--line);background:#f9faff;padding:9px}.workspace-mark,.rule-symbol{color:#465db7;background:#eaf0ff}.workspace small,.account small{color:var(--muted)}.workspace strong{font-size:13px}.nav-title{color:#67728a;letter-spacing:.09em;font-size:10px}.nav-item{color:#47526a;padding:9px 12px;border-radius:7px;gap:10px;font-size:13px}.nav-item:hover{background:#f4f5fb;color:#273665}.nav-item.active{color:#304ec7;background:#eaf0ff;font-weight:670}.account{border-color:var(--line);padding:15px}.avatar{border:0;background:#eaeafd;color:#54439b}.account .ico-btn{color:var(--muted)}.account .ico-btn:hover{background:#edf0f9}
.topbar{background:#fff}.top-actions{gap:12px}.top-actions .sel{min-height:30px;font-size:12px}.quicksearch{color:var(--muted)}.alert-button{border:1px solid #dfe4f1;background:white;color:#45577b;border-radius:7px}.alert-button:hover{background:#edf1ff}
.content{max-width:1630px;padding-top:30px}.pagehead{margin-bottom:23px}.pagehead h1{font-size:clamp(30px,2.6vw,42px);letter-spacing:-.052em;font-weight:690}.pagehead p{color:#637086}.panel,.stat,.graph{border:1px solid var(--line);border-radius:12px;box-shadow:none}.panel-head{padding:19px 22px}.panel-head h2,.graph h2{font-size:18px;letter-spacing:-.035em}.stat-icon.green{background:#e9eeff;color:#455cd5}.stat-value{font-weight:680}.graph{background:#fff;color:var(--ink)}.graph-head p,.legend{color:var(--muted)}.graph-toggle{background:#f0f2fa;border-color:#e2e6f0}.graph-toggle button{color:#5b6881}.graph-toggle button.on{background:white;color:#324dbc}.plot-tip{background:#222d49;color:white}
.btn,.sel,.input-search{border-color:#d6dce8;color:#364057;box-shadow:none}.btn,.sel{font-weight:570}.btn:hover,.sel:hover{background:#f6f8ff;border-color:#aab7d5}.btn.primary,.btn.primary:focus{color:white;background:var(--accent);border-color:var(--accent);box-shadow:none}.btn.primary:hover{background:#253dc4}.btn.compact{min-height:31px;padding:0 10px;font-size:12px}.btn:disabled{opacity:.5}.text-btn,.catalog-link{color:#3853c5}.btn .ic{stroke-width:1.8}.seg{background:#f0f2f8;border:1px solid #e3e6f0}.seg button{color:#61708c}.seg button.on{color:#2a3e79;background:white}.right.actions{margin-left:auto}.table-tools{gap:10px;flex-wrap:wrap;padding:0 22px 17px}.table-tools .sel,.table-tools .btn{font-size:12px;min-height:34px}.posts-panel .input-search{min-height:34px}.input-search input{max-width:15em}.count-tag{display:inline-flex;align-items:center;justify-content:center;min-width:23px;padding:3px 7px;margin-left:5px;vertical-align:middle;border-radius:6px;background:#eef1f8;color:#58647c;font-size:12px;font-weight:650;letter-spacing:0}
.listing{border-top:1px solid var(--line)}.post-card{border:0}.post-card>.post-trigger{grid-template-columns:46px minmax(155px,1fr) minmax(78px,.22fr) minmax(115px,.28fr) 14px;gap:16px;padding:17px 22px 12px}.post-card>.post-trigger:hover{background:#f6f8ff}.post-tile{width:46px;height:52px;border-radius:8px;border:1px solid #dbe2fc;background:#edf2ff;color:#586cbe}.post-tile.sealed{background:#f3edff;color:#8763b7;border-color:#e5dbf4}.post-tile.lot{background:#f0f1f7;color:#647089;border-color:#e1e4ee}.post-tile .ic{width:24px;height:24px}.post-tile img{object-fit:cover}.post-name>strong{font-weight:650;font-size:15px;letter-spacing:-.015em}.post-name .sub,.post-eval small,.post-amount small,.post-group{color:#647088}.post-kicker .type-pill{font-size:10px;font-weight:650;background:#edf1ff;color:#3c53a7;border-radius:4px}.post-kicker .type-pill.auction{background:#f4ebff;color:#7745ae}.post-amount,.post-eval{text-align:right}.post-amount strong{color:#1b2640;font-weight:690;white-space:nowrap}.post-amount .original,.original{font-weight:500;color:#64718a;font-size:11px;display:block}.post-chevron .ic{color:#8893aa}.cmp.below{background:#e9efff;color:#304fa9}.cmp.above{background:#fff2e9;color:#97521e}.cmp.near,.cmp.unknown{background:#eff1f5;color:#596476}.deadline{color:#934f22;font-weight:600}
.listing-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:0 22px 11px 84px}.listing-actions,.seller-line,.row-action{display:inline-flex;align-items:center;gap:6px}.seller-line{color:var(--muted);font-size:12px;flex-wrap:wrap}.seller-line>.ic,.row-action .ic{width:14px;height:14px}.seller-line .text-btn{font-size:12px;padding:0}.listing-actions{gap:7px}.row-action{font-weight:580;color:#435172;font-size:12px;border:1px solid #dde2ed;background:#fff;padding:5px 8px;border-radius:6px;text-decoration:none;min-height:29px}.row-action:hover,.book.chosen{color:#334fc0;border-color:#bac7ea;background:#f2f5ff}.book.chosen .ic{fill:#dce4ff}.post-detail{border-block:1px solid #e1e5ee;background:#f8f9fc;padding:15px 22px}
.post-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:12px 0}.post-facts dt,.watch-rule small,.watch-hit small,.field-help,.quiet-line{font-size:12px;color:var(--muted)}.post-facts dd{margin:4px 0;font-size:13px;overflow-wrap:anywhere}.filter-form{padding:17px 22px;background:#f7f8fd;border-top:1px solid var(--line)}.filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.filter-grid input,.filter-grid select{width:100%;min-width:0}.filter-grid .field{min-width:0}.filter-grid .field>span{font-size:12px}.filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:16px}.filter-actions .btn{min-height:34px}.variant-filter{padding:9px 22px;background:#f6f8ff}
.library-tabs{display:flex;gap:5px;border-bottom:1px solid #dbe0eb;margin-bottom:18px}.library-tabs button{display:flex;align-items:center;gap:7px;background:none;border:0;border-bottom:2px solid transparent;padding:10px 12px;color:var(--muted);font-size:14px}.library-tabs button.active{border-color:var(--accent);color:var(--accent);font-weight:650}.library-tabs .ic{height:16px;width:16px}
.focus-empty{display:grid;justify-items:center;align-content:center;min-height:245px;padding:38px 22px;text-align:center}.focus-icon{position:relative;display:grid;place-items:center;background:#ecf0ff;border:1px solid #d9e1ff;width:54px;height:54px;border-radius:16px;color:var(--accent);margin:5px 0 15px}.focus-icon .ic{width:26px;height:26px}.focus-empty h3{font-size:20px;letter-spacing:-.035em;margin:0;font-weight:650}.focus-empty p,.watch-invite p{color:var(--muted);font-size:14px;line-height:1.5}.focus-empty p{max-width:430px;margin:9px 0 18px}.focus-empty .actions:empty{display:none}.watch-invite,.watch-rule,.watch-hit{display:flex;gap:15px;align-items:center}.watch-invite{margin-top:16px;border:1px solid #dbe2f6;background:#f0f3ff;border-radius:12px;padding:17px 21px}.watch-invite strong{font-size:14px}.watch-invite p,.rule-body p{margin:4px 0 0}.watch-invite .btn,.watch-rule .actions,.hit-price{margin-left:auto}.rule-symbol{height:38px;width:38px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.rule-symbol .ic{height:20px;width:20px}.rule-body{min-width:0;overflow-wrap:anywhere}.rule-body p{font-size:13px;color:#465571;margin:5px 0}.rule-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.status-chip{border-radius:5px;padding:3px 6px;background:#f0f1f5;color:var(--muted);font-size:11px}.status-chip.live{color:#3b55b8;background:#eaf0ff}.watch-rule,.watch-hit{padding:16px 22px;border-top:1px solid var(--line)}.watch-hit strong{font-size:14px}.watch-hit small,.check-option small{display:block;margin-top:4px}.hit-price{text-align:right}.match-panel{margin-top:18px}.quiet-line{border-top:1px solid var(--line);font-size:14px;margin:0;padding:20px 22px}.check-option{display:flex;align-items:center;gap:10px;font-size:14px;padding:12px;background:#f3f5fc;border-radius:7px}.check-option input{width:17px;height:17px;accent-color:var(--accent)}.check-option small{color:var(--muted)}.field-help{margin:0;line-height:1.5}.service-note{font-size:13px;color:#825624}
@media(max-width:1000px){.post-card>.post-trigger{grid-template-columns:35px minmax(120px,1fr) auto auto 12px;gap:10px;padding-inline:15px}.post-tile{width:35px;height:42px}.listing-foot{padding-left:60px;padding-right:15px}.table-tools{padding-inline:15px}.right.actions{margin-left:0}.content{padding-top:22px}}
@media(max-width:620px){.top-actions{gap:6px}.table-tools .right.actions{width:100%}.table-tools{gap:8px}.post-card>.post-trigger{grid-template-columns:31px minmax(0,1fr) auto 9px;align-items:center}.post-tile{grid-column:1;grid-row:1;width:31px;height:37px;margin:0}.post-name{grid-column:2/4;grid-row:1}.post-name>strong{font-size:14px}.post-chevron{grid-column:4;grid-row:1}.post-amount{grid-column:2;grid-row:2;text-align:left}.post-eval{grid-column:3/5;grid-row:2}.listing-foot{padding:2px 15px 12px}.listing-actions{margin-left:auto}.post-detail{padding:11px}.watch-invite,.watch-rule,.watch-hit{flex-wrap:wrap;padding:14px;gap:9px}.watch-invite>div{flex:1;min-width:160px}.watch-invite .btn{margin-left:0}.watch-hit>div:first-of-type,.rule-body{flex:1}.watch-rule .actions{flex-basis:100%;justify-content:flex-end}.focus-empty{min-height:220px}.seg button{padding:6px 9px}.post-amount small,.post-eval small{font-size:11px}.filter-form{padding:14px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-tools .right.actions .input-search{flex:1}.posts-panel .input-search input{width:100%;min-width:55px}.posts-panel .input-search .text-btn{display:none}.post-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-head{padding:15px}.count-tag{margin-left:2px}.watch-invite .btn{white-space:normal}}
.form-grid>.wide{grid-column:1/-1}.variant-fields{border:1px solid var(--line);border-radius:8px;padding:10px 12px}.variant-fields summary{cursor:pointer;font-weight:590;font-size:13px;color:#435477}.variant-fields .form-grid{margin-top:12px}.post-eval .cmp{white-space:normal;text-wrap:balance}.watch-hit{overflow-wrap:anywhere}

button.stat { text-align: left; font: inherit; color: inherit; }
button.stat:hover { border-color: #aab7d5; }
.plot-tip { top: 2px; }

/* Photos on listings */
#offer-scroll { min-height: 46px; justify-content: center; }
#offer-scroll [hidden] { display: none; }
.bid-item { overflow-wrap: anywhere; }
@media(min-width: 621px) { .stats { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width: 620px) { .stats .stat:last-child { grid-column: 1 / -1; } }
.posts-panel .panel-head { flex-wrap: wrap; gap: 10px; }
.layout-switch {
  display: inline-flex;
  padding: 3px;
  background: #f0f2f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.layout-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  color: #59657b;
  background: transparent;
  font-size: .8125rem;
  font-weight: 600;
}
.layout-switch button[aria-pressed=true] { color: var(--accent); background: #fff; box-shadow: 0 1px 4px #27345723; }
.layout-switch .ic { width: 15px; height: 15px; }
.listing-results.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%,19.5rem),1fr));
  gap: 16px;
  padding: 18px 20px;
  background: #f7f8fb;
  border-top: 1px solid var(--line);
}
.tiles .listing {
  --tile-inset: 16px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  background: white;
  border: 1px solid #dce1eb;
  border-radius: 12px;
  overflow: hidden;
}
.tiles .listing:focus-within { border-color: #9daee8; }
.tile-media { position: relative; z-index: 1; }
.tile-media .pill-count {
  padding-inline-start: 6px;
  border-inline-start: 1px solid var(--sale-border);
  font-size: .75rem;
  font-weight: 500;
}
.tile-media .auction .pill-count { border-color: var(--auction-border); }
.tile-media>.type-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  color: #33466d;
  background: #f8faff;
  border: 1px solid #d3dbe9;
  box-shadow: 0 1px 4px #1c28491c;
  pointer-events: none;
}
.tile-media>.type-pill.auction { color: #694293; background: #faf6ff; border-color: #ddd1ef; }
.tile-media .book {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  border-color: #cdd4df;
  box-shadow: 0 1px 4px #1c28491c;
}
.tile-media .book.chosen, .tile-media .book:hover { background: #edf1ff; color: var(--accent); }
.listing-photo {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 19rem;
  margin: 0;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background: #edf0f4;
  border: 0;
  border-bottom: 1px solid var(--line);
}
button.listing-photo { cursor: zoom-in; }
.listing-photo:focus-visible { outline-offset: -4px; }
.listing-photo img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.photo-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
}
.photo-caption .deadline { padding: 4px 7px; border-radius: 6px; font-size: .75rem; }
.photo-caption .deadline:not(.closing-soon) { color: white; background: #182236de; }
.photo-count {
  margin-inline-start: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 4px 7px;
  color: white;
  background: #182236de;
  font-size: .75rem;
  font-weight: 600;
}
.photo-count .ic { width: 15px; height: 15px; }
.photo-placeholder { display: none; flex-direction: column; align-items: center; gap: 8px; color: #637187; font-size: .8125rem; }
.photo-placeholder .ic { width: 32px; height: 32px; stroke-width: 1.3; }
.listing-photo.missing, .listing-photo.unavailable { background: #f1f3f7; }
.listing-photo.missing .photo-placeholder, .listing-photo.unavailable .photo-placeholder { display: flex; }
.listing-photo.unavailable img { visibility: hidden; }
.tiles .post-card { display: grid; min-width: 0; align-content: start; }
.post-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  font: inherit;
}
.tiles .post-card>.post-trigger {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 10px var(--tile-inset) 8px;
  text-align: left;
}
/* Extend the detail target to the price while keeping the gallery and actions independent. */
.tiles .post-trigger::after { content: ""; position: absolute; inset: 0; }
.tiles .post-name { grid-area: auto; display: grid; gap: 3px; }
.tiles .post-chevron { grid-area: auto; display: flex; margin: 2px 0 0; }
.tiles .post-chevron .ic { width: 16px; height: 16px; }
.tiles .post-name>strong {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.tile-byline {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  font-size: .75rem;
  line-height: 1.35;
  color: var(--muted);
}
.tile-byline .post-group { font-size: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-age { flex: none; }
.tile-trade {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  margin-inline: var(--tile-inset);
  border-top: 1px solid var(--line);
}
.tiles .post-amount {
  grid-area: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  place-self: stretch;
  min-width: 0;
  block-size: 4.5rem;
  padding-inline: .25rem;
  text-align: center;
  overflow-wrap: anywhere;
}
.tiles .post-amount strong {
  max-width: 100%;
  white-space: normal;
}
.post-amount .price-value, .reader-prices .price-value {
  color: #1d3673;
  font-size: 1.625rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: anywhere;
}
.post-amount .price-note, .reader-prices .price-note {
  color: #536179;
  font-size: .9375rem;
  font-weight: 550;
  line-height: 1.3;
}
.tiles .post-amount .price-value {
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.reader-prices .price-value { font-size: 2.125rem; }
.tiles .post-amount .original { order: 1; }
.tiles .seller-line { min-width: 0; overflow-wrap: anywhere; }
.seller-name { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.seller-name>.ic { flex: none; width: 14px; height: 14px; }
.tiles .seller-line {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-inline-start: 10px;
  border-inline-start: 1px solid var(--line);
  text-align: left;
  line-height: 1.35;
}
.tiles .seller-name { max-width: 100%; }
.tiles .seller-name .text-btn { position: relative; z-index: 1; min-width: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.tiles .seller-history { font-size: .6875rem; }
.tiles .listing-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  margin: 0 var(--tile-inset) 12px;
}
.tiles .listing-actions:empty { display: none; }
.tiles .listing-actions:has(.source-link) { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); }
.tiles .listing-actions>.row-action {
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 6px;
  border-radius: 8px;
  line-height: 1.25;
  text-align: center;
}
.tiles .listing-actions>.row-action .ic { flex: none; }
.tiles .listing-actions>.row-action:only-child { grid-column: 1 / -1; }
/* Share photo, heading, trade and action tracks across each row of cards. */
@supports (grid-template-rows: subgrid) {
  .tiles .listing {
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}
.rows .post-card>.post-trigger { grid-template-columns: 80px minmax(120px,1fr) minmax(110px,.28fr) 14px; }
.rows .post-tile { width: 80px; height: 80px; }
.rows .post-tile img { object-fit: contain; }
.rows .listing-foot { padding-left: 118px; }
.post-gallery>div { gap: 10px; }
.gallery-open { background: #edf0f4; cursor: zoom-in; }
.gallery-open img { width: clamp(112px,15vw,180px); height: clamp(90px,12vw,144px); object-fit: contain; }
dialog:has(.photo-large) { width: min(960px,calc(100vw - 24px)); }
.photo-large { display: block; max-height: 70vh; }
html { scrollbar-gutter: stable; }
html:has(#post-reader[open]) { overflow: hidden; }
#post-reader {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  padding: 0;
  width: min(790px,100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 14px 0 0 14px;
  background: white;
  color: var(--ink);
  overflow: hidden;
}
#post-reader[open] { display: flex; flex-direction: column; }
#post-reader::backdrop { background: #17243866; backdrop-filter: none; }
.reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.reader-head h2 { font-size: clamp(1.125rem,2vw,1.5rem); line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.reader-close { flex-shrink: 0; }
.reader-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 18px 24px 36px; }
.reader-body h3 { font-size: 1.0625rem; margin: 22px 0 10px; }
.reader-context, .reader-prices, .reader-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.reader-context { font-size: .875rem; color: var(--muted); }
.reader-prices { justify-content: center; text-align: center; margin-top: 14px; padding: 14px 16px; gap: 12px 28px; border-radius: 10px; background: #f4f6fb; }
.reader-prices strong, .reader-prices small { display: block; }
.post-amount small, .reader-prices small {
  font-size: .6875rem;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 2px;
  color: var(--muted);
}
.post-amount .original, .reader-prices .original { font-weight: 400; }
.tiles .post-amount small {
  max-width: 100%;
  margin-top: 0;
  line-height: 1.25;
}
.tiles .post-amount .bid-item {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.reader-prices strong { margin-top: 3px; font-size: 1.125rem; }
.reader-body .post-gallery>div { flex-wrap: nowrap; padding: 3px 3px 8px; overflow-x: auto; }
.reader-body .gallery-open { flex: none; }
.reader-body .gallery-open img { width: 148px; height: 124px; }
.reader-products .scroll-table { border: 1px solid var(--line); border-radius: 9px; }
.reader-products table { min-width: 0; }
.reader-products td, .reader-products th { padding: 9px 10px; }
.reader-products .thumb { width: 34px; height: 42px; }
.reader-products .prod-btn { min-width: 0; }
.reader-products .prod-btn strong { overflow-wrap: anywhere; }
.reader-body .post-text { max-height: none; overflow: visible; }
.reader-facts { margin-top: 20px; padding: 14px 0; border-block: 1px solid var(--line); }
.reader-facts summary { cursor: pointer; font-size: .9375rem; font-weight: 600; }
.reader-links { margin-top: 16px; }
@media(max-width: 620px) {
  #post-reader { width: 100%; border-radius: 0; }
  .reader-head { padding: 14px; gap: 10px; }
  .reader-body { padding: 14px 15px max(24px,env(safe-area-inset-bottom)); }
  .reader-body .gallery-open img { width: 120px; height: 100px; }
  .reader-products .scroll-table { overflow: visible; }
  .reader-products table, .reader-products tbody { display: block; width: 100%; }
  .reader-products thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .reader-products tbody tr { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 12px; }
  .reader-products tbody tr+tr { border-top: 1px solid var(--line); }
  .reader-products tbody td { padding: 0; border: 0; white-space: normal; }
  .reader-products tbody tr { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reader-products tbody td:first-child { grid-column: 1 / -1; }
  .reader-products td[data-label]::before { display: block; content: attr(data-label); font-size: .75rem; color: var(--muted); }
}
@media(max-width: 820px) {
  :root { --sidebar: 0px; }
}
@media(max-width: 620px) {
  .listing-results.tiles { padding: 12px; gap: 12px; }
  .tiles .listing { --tile-inset: 12px; }
  .rows .post-card>.post-trigger { grid-template-columns: 62px minmax(0,1fr) auto 9px; }
  .rows .post-tile { width: 62px; height: 70px; }
  .rows .listing-foot { padding-left: 15px; }
}

/* The main feeds use one heading and one toolbar before the results. */
:root .market-feed.posts-panel {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.market-feed>.panel-head { padding: 0 0 18px; align-items: center; }
.market-feed h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 690;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.market-feed h1 .count-tag { margin: 0; font-size: .8125rem; }
.market-feed>.table-tools { padding: 0 0 15px; }
.market-feed>.filter-form, .market-feed>.variant-filter {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.market-feed>.listing-results.tiles { background: transparent; padding: 0; border: 0; }
.market-feed>.listing-results.rows, .market-feed>.focus-empty {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--feed-surface);
  overflow: hidden;
}
.market-feed>.rows .listing:first-child { border-top: 0; }
.market-feed>#offer-scroll { border: 0; }
.kind-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.kind-switch .ic { width: 14px; height: 14px; flex: none; }
.tile-media>.type-pill { font-size: .8125rem; font-weight: 650; }
.tile-media:has(.listing-photo:is(.missing, .unavailable)) { display: grid; }
.tile-media .listing-photo:is(.missing, .unavailable) {
  aspect-ratio: auto;
  min-height: 7.25rem;
  max-height: none;
  padding: 2.5rem .75rem 1rem;
}
.photo-placeholder {
  flex-direction: row;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--photo-field);
}
.photo-placeholder .ic { width: 17px; height: 17px; stroke-width: 1.7; }
.post-name .listing-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.deadline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8125rem;
  font-weight: 550;
}
.deadline .ic { width: 14px; height: 14px; flex: none; }
.deadline.closing-soon { border-radius: 5px; padding: 3px 6px; font-weight: 650; }

@media(max-width: 620px) {
  .market-feed>.panel-head { flex-wrap: nowrap; padding-bottom: 12px; }
  .market-feed .layout-switch button { width: 36px; height: 34px; justify-content: center; }
  .market-feed .layout-switch button span { display: none; }
  .market-feed>.table-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "kinds filters" "search sort";
    gap: 8px;
    padding-bottom: 12px;
  }
  .market-feed .table-tools .right.actions { display: contents; }
  .market-feed .kind-switch { grid-area: kinds; justify-self: start; }
  .market-feed .kind-switch button { min-height: 32px; padding: 4px 8px; }
  .market-feed .table-tools .input-search { grid-area: search; min-width: 0; min-height: 38px; }
  .market-feed .table-tools .input-search input { width: 100%; min-width: 0; }
  .market-feed .table-tools .select-wrap { grid-area: sort; min-width: 0; }
  .market-feed .table-tools .sel { max-width: 9.75rem; width: 100%; min-height: 38px; }
  .market-feed .table-tools [data-action="filters"] { grid-area: filters; justify-self: end; min-height: 38px; }
  .market-feed>.table-tools:not(:has(.kind-switch)) {
    grid-template-areas: "search search" "sort filters";
  }
  .market-feed>.table-tools:not(:has(.kind-switch)) .sel { max-width: none; }
  .tile-media .listing-photo:is(.missing, .unavailable) { min-height: 5.2rem; padding-bottom: .5rem; }
}
.tile-media:has(.deadline) .listing-photo:is(.missing, .unavailable) { min-height: 7.25rem; padding-block: 2.5rem 2rem; }
@media(max-width: 420px) {
  .market-feed:has(.kind-switch) .table-tools .sel { max-width: 8.5rem; }
  .market-feed .kind-switch { gap: 0; }
}
@media(max-width: 370px) {
  .market-feed .kind-switch button { padding-inline: 4px; gap: 3px; }
}
