/* Restaurant specials — /specials (#4039). The bridge, signs, groups, rows, states and tab bar are
   events-discovery.css; this file holds only what a deal row adds: the window line, the diner-check
   lines (price set right in the slab face, DESIGN.md's Diner Check), and the spot, terms and source lines. */

/* The shared events main reserves a full viewport; a short specials list should end at its content. */
main.specials-shell{min-height:0}

/* The paused notice keeps the list's paper and type. */
#specials-paused{position:relative;z-index:16;max-width:1180px;margin:0 auto;padding:28px 18px 48px;background:var(--paper)}
#specials-paused h1{margin:0 0 8px;font:400 clamp(28px,5vw,40px)/1.05 "Alfa Slab One",Georgia,serif}
#specials-paused p{margin:0 0 16px;color:var(--muted);font-size:16px}
#specials-paused .paused-go{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--ink);color:var(--paper);text-decoration:none;font:800 13.5px/1 Overpass,sans-serif}

/* the tab bar holds a link (Events) beside its buttons */
.specials-page .tabbar a{position:relative;display:grid;justify-items:center;gap:3px;min-height:50px;padding:7px 0 3px;border-radius:8px;color:#C5D0DD;font:800 11px/1 Overpass,sans-serif;text-decoration:none}
.specials-page .tabbar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.specials-page .tabbar .seat svg{width:26px;height:26px;stroke-width:8}
.specials-page .fs-dates small,.specials-page .fs-types small{opacity:.8;margin-left:4px;font-weight:400}
.specials-page .none p{margin:0}
.specials-page .none .acts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0}
.specials-page .none .acts button{min-height:44px;padding:0 14px;border:0;border-radius:6px;background:var(--night);color:var(--rim);font-weight:700}
.specials-page .none a{color:var(--accent);font-weight:700}

/* the row: phones stack window, check, spot, terms and source; the chair sits bottom right */
.spec.item{padding:12px 52px 13px 0;border-bottom:1px solid var(--line)}
.spec .chair{right:0;bottom:12px}
.spec-when{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 6px;font:800 12.5px/1.2 Overpass,sans-serif;color:var(--accent)}
.spec-when .rec{color:var(--muted)}
.spec-when .rec::before{content:"· "}
.spec-when .now{display:inline-block;padding:3px 6px 1px;border-radius:4px;background:var(--exit);color:#111;font:900 11px/1 Overpass,sans-serif;letter-spacing:.06em}
.check{list-style:none;margin:0;padding:0}
.check li{display:flex;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px dashed var(--line)}
.check li:last-child{border-bottom:0}
.check .it{min-width:0;font-weight:700;font-size:16px;overflow-wrap:anywhere}
.check .lead{flex:1;min-width:12px;border-bottom:2px dotted color-mix(in srgb,var(--ink) 30%,transparent);transform:translateY(-4px)}
.check .amt{flex:none;overflow-wrap:anywhere;font:400 21px/1 "Alfa Slab One",Georgia,serif;color:var(--ink)}
.check .long{display:block;font-size:14px;color:var(--muted);font-weight:400}
.spot{margin:7px 0 0;font-size:14px;color:var(--muted)}
.spot strong{color:var(--ink)}
.spot .where::before{content:"· "}
.spot .addr{display:none}
.terms{margin:3px 0 0;font-size:13.5px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.src{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:8px 0 0;font-size:13px;color:var(--muted)}
.src a{display:inline-flex;align-items:center;min-height:24px;color:var(--accent);font-weight:700;text-decoration:none}
.src a:hover{text-decoration:underline}

/* desktop: one line across deal lines · restaurant and neighborhood · window · source, then the chair */
@media (min-width:900px){
  .spec.item{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 170px 200px 44px;column-gap:22px;align-items:start;padding:14px 0}
  .spec.item>*{grid-row:1}
  .spec .check{grid-column:1}
  .spec .spotcol{grid-column:2}
  .spec .spec-when{grid-column:3;flex-direction:column;align-items:flex-start;margin:4px 0 0;font-size:14px}
  .spec .src{grid-column:4;flex-direction:column;margin-top:4px}
  .spec .chair{position:relative;right:auto;bottom:auto;grid-column:5;justify-self:end}
  .spec .spot{margin-top:4px;font-size:14.5px}
  .spec .spot strong{display:block;font-size:16px}
  .spec .spot .where{display:block}
  .spec .spot .where::before,.spec .spec-when .rec::before{content:none}
  .spec .spot .addr{display:block;font-size:13px}
  .spec.item:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}
}
