/* Pam design staging (Dec 1, 2026). Phone /now/ layout, chips, Top button,
   crawl overflow, place-page kicker, county 404, date tiles. Desktop mostly unchanged. */

/* --- Sentence-case switch is JS (window.OL_SENTENCE_CASE_LABELS). This file is layout only. --- */

/* Compact place picker: one tappable line on phones; the same three <select>s
   stay in the DOM and open in a panel. */
.pick-compact{display:none}
@media (max-width:759px){
  .pick-compact{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    width:100%;margin:0 0 8px;padding:8px 12px;min-height:40px;
    border:1px solid var(--line,#3a3f52);border-radius:999px;
    background:var(--card,#262a38);color:var(--ink,#fff);
    font:inherit;font-size:.95rem;font-weight:650;text-align:left;cursor:pointer;
  }
  .pick-compact .caret{opacity:.7;font-size:.85em}
  .pickers.pickers-compact-closed{
    position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);
    clip-path:inset(50%);white-space:nowrap;border:0;padding:0;margin:0;
  }
  .pickers.pickers-compact-open{
    display:grid;grid-template-columns:1fr;gap:8px;width:100%;
    margin:0 0 8px;padding:8px;border:1px solid var(--line,#3a3f52);
    border-radius:12px;background:var(--card,#1f1c1a);position:relative;
    clip:auto;clip-path:none;width:auto;height:auto;overflow:visible;
  }
  .pickers.pickers-compact-open .pick{display:flex;flex-direction:column;gap:2px;min-width:0}
  .pickers.pickers-compact-open .pick span{position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal}
}

/* Slim NYE line on phones */
.ol-nye-link .nye-slim{display:none}
@media (max-width:759px){
  .ol-nye-link{
    display:flex;align-items:center;margin:0 0 8px;padding:6px 12px;
    border-radius:999px;background:color-mix(in srgb, var(--amber, #e8a33d) 16%, transparent);
    border:1px solid color-mix(in srgb, var(--amber, #e8a33d) 40%, transparent);
    font-size:.9rem;line-height:1.3;
  }
  .ol-nye-link .nye-full{display:none}
  .ol-nye-link .nye-slim{display:inline;color:inherit;text-decoration:none;font-weight:650;width:100%}
}

/* Chip row: don't clip the last chip (Amenities) at the right edge */
.chiprow{padding-right:28px;scroll-padding-inline-end:28px}
@media (max-width:759px){
  html.filt-reorg .filterrow,
  html.filt-reorg .filt-primary{
    overflow-x:auto;
    overflow-y:visible;
    -webkit-overflow-scrolling:touch;
    scroll-padding-inline-end:28px;
    padding-right:20px;
  }
  html.filt-reorg .filterrow .chip,
  html.filt-reorg .filterrow #clockBtn,
  html.filt-reorg .filterrow #filtMoreBtn,
  html.filt-reorg .filt-primary .chip{
    flex:0 0 auto;
  }
}

/* Floating Top button: left on phones so it does not cover the card info icon */
@media (max-width:759px){
  .totop{
    left:max(16px, var(--sai-l, env(safe-area-inset-left, 0px)));
    right:auto;
  }
  body.split-detail .totop{
    left:max(16px, var(--sai-l, env(safe-area-inset-left, 0px)));
    right:auto;
  }
}

/* Signup invite sits inside the list after the 3rd card when JS moves it */
#list .notice#tnInvite{
  grid-column:1/-1;margin:8px 0 12px;width:100%;
}

/* Place pages: short kicker under the name; live status as the main line; longer intro in smaller type */
.ol-place-kicker,
.ol-place-answer.ol-place-kicker{
  font-size:.98rem;font-weight:700;line-height:1.4;margin:.25rem 0 .4rem;color:var(--ink,#ece6df);
}
h1 + .ol-place-kicker{margin-top:.15rem}
.ol-place-status{
  font-size:1.12rem;font-weight:700;line-height:1.35;margin:.1rem 0 .5rem;
  color:#d7f0c8;display:none;align-items:center;gap:.45rem;
}
.ol-place-status.is-on,
.ol-place-status.s-open,
.ol-place-status.s-closed,
.ol-place-status.s-soon{display:flex}
.ol-place-status.s-open{color:#bfe8c9}
.ol-place-status.s-soon{color:#f0d9b5}
.ol-place-status.s-closed{color:#d5cfc8}
.ol-place-status .dot{width:.55rem;height:.55rem;border-radius:50%;background:currentColor;flex:0 0 auto}
.sum.lead.intro, p.ol-place-long{
  font-size:.9rem;font-weight:450;color:var(--ink2,#c3bbb4);line-height:1.45;margin:.35rem 0 .7rem;
}
.lp .ol-place-answer.ol-place-answer-short{
  font-size:.98rem;font-weight:700;margin:.35rem 0 .5rem;
}

/* View All County button: white text on a solid dark button */
.lp .ol-view-links a.ol-view-btn-county,
.r2-card .ol-view-links a.ol-view-btn-county,
.ol-view-links a.ol-view-btn-county{
  background:#2a2623;
  color:#fff;
  border-color:#4a453f;
}

/* Crawl pages: no sideways scroll on phones; tickets button doesn't wrap */
@media (max-width:759px){
  .evhero, .evtop, .facts, .evacts, .lineup, main.lp, .crow, .cbody{max-width:100%;min-width:0}
  .evacts{grid-template-columns:1fr 1fr 1fr;gap:6px}
  .evacts .btn span, .evacts a.btn{white-space:nowrap}
  body, .lp, .evhero{overflow-x:hidden}
}

/* Date tile on crawls: "Sat, Dec 5" instead of SAT / 5 / DEC 2026 */
.dtile.dtile-short, .mtile.dtile-short{
  width:auto;min-width:66px;padding:8px 8px 7px;
}
.dtile.dtile-short .dshort, .mtile.dtile-short .dshort{
  font-size:.82rem;font-weight:800;letter-spacing:.02em;color:var(--amber,#e8a33d);
  text-transform:none;line-height:1.25;
}
.dtile.dtile-short .dw, .dtile.dtile-short .dd, .dtile.dtile-short .dm,
.mtile.dtile-short .dw, .mtile.dtile-short .dd, .mtile.dtile-short .dm{display:none}

/* Weekly hours disclosure on crawl stops (server HTML, no JS fetch) */
details.wk-hours{margin-top:4px;font-size:.78rem;color:var(--ink3,#9a928b)}
details.wk-hours > summary{
  cursor:pointer;list-style:none;font-weight:700;color:var(--ink2,#c3bbb4);
}
details.wk-hours > summary::-webkit-details-marker{display:none}
details.wk-hours .wk{margin-top:4px}
