/* Migrated Venue Detail legacy foundation, 2026-07-29. Current route-owner rules follow. */

.place-detail>section{
  padding-top:30px;
  padding-bottom:30px;
}

.owner-update-link{
  display:inline-grid;
  gap:4px;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid #141414;
  color:#979797;
  font-size:12px;
}

.owner-update-link small{
  color:#fb923c;
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
}

.owner-update-link span{
  color:#979797;
}

.owner-update-link:hover span{
  color:#fb923c;
}

.inside>.facility-list{
  display:grid;
  gap:0
}

.facility-list .facility-row{
  grid-template-columns:minmax(100px,135px) minmax(0,1fr)
}

.facility-list .facility-row b{
  word-spacing:.18em
}

@media(max-width:480px){
.facility-list .facility-row{
    grid-template-columns:94px minmax(0,1fr);
    gap:10px
  }

.facility-list .facility-row b{
    font-size:13px
  }
}

.place-detail .cover{
  padding-bottom:16px;
}

.place-detail .cover h1{
  margin-bottom:0;
}

.schedule-panel{
  position:relative;
  margin-top:12px;
  padding:30px 20px 22px;
  border:0;
  background:radial-gradient(circle at 50% 0%,rgba(0,255,9,.1),transparent 44%),linear-gradient(180deg,#101010 0%,#050505 100%);
  box-shadow: none;
  overflow:hidden;
}

.schedule-panel::before{
  content:"";
  position:absolute;
  top:0;
  left:34px;
  right:34px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(0,255,9,.45),transparent);
  box-shadow:0 0 16px rgba(0,255,9,.28);
}

.schedule-panel .section-head{
  margin-bottom:16px;
}

.weekly-list{
  display:grid;
  gap:10px;
}

.weekly-list .schedule-row{
  display:grid;
  grid-template-columns:68px minmax(0,1fr);
  align-items:center;
  gap:14px;
  margin:0;
  padding:17px;
  border:0;
  border-radius:var(--radius);
  background:#1d1d1d;
}

.weekly-list .event-day{
  position:relative;
  overflow:hidden;
}

.weekly-list .today-day{
  position:relative;
  border-color:#33231d;
  background:radial-gradient(circle at 0% 50%,rgba(255,107,61,.12),transparent 38%),#1d1d1d;
  box-shadow:inset 1px 0 0 rgba(255,107,61,.42),0 0 22px rgba(255,107,61,.035);
  overflow:hidden;
}

.weekly-list .today-day::before{
  content:"";
  position:absolute;
  top:12px;
  bottom:12px;
  left:0;
  width:2px;
  border-radius:99px;
  background:linear-gradient(180deg,transparent,#ff6b3d,transparent);
  opacity:.72;
  box-shadow:0 0 14px rgba(255,107,61,.58);
}

.weekly-list .schedule-row>strong{
  color:#fff;
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.weekly-list .today-day>strong{
  color:#ff6b3d;
}

.weekly-list .schedule-row div{
  display:grid;
  gap:4px;
}

.weekly-list .schedule-event-link{
  display:inline-flex;
  align-items:baseline;
  width:max-content;
  max-width:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.weekly-list .schedule-event-link:hover>span:first-child{
  color:#ff6b3d;
}

.weekly-list .schedule-row span:not(.event-category-badge){
  color:#fff;
  font-size:18px;
  font-weight:800;
}

.weekly-list .schedule-times{
  display:inline-flex;
  align-items:baseline;
  gap:7px;
  margin-left:10px;
  white-space:nowrap;
}

.weekly-list .schedule-time{
  color:#ff6b3d;
  font-size:14px;
  font-style:normal;
  font-weight:800;
}

.weekly-list .schedule-separator{
  color:var(--muted);
  font-size:13px;
  font-style:normal;
  font-weight:700;
}

.weekly-list .schedule-row small{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.weekly-list .empty-day{
  color:var(--muted);
}

.weekly-list .empty-day span{
  color:var(--muted);
  font-weight:600;
}

.topbar-overlay + .place-detail .cover{
  margin-top:0;
}

.place-actions{
  display:flex;
  gap:6px;
  flex:none;
}

.place-actions button{
  appearance:none;
  display:inline-grid;
  place-items:center;
  width:46px;
  height:46px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#d9d9d9;
  cursor:pointer;
  box-shadow:none;
}

.place-actions button svg{
  width:25px;
  height:25px;
  display:block;
  flex:none;
}

.place-actions button span{
  color:inherit;
  font-size:12px;
  line-height:1;
}

.place-actions button.saved,
.place-actions button:hover{
  color:var(--accent);
}

.day-mode .place-actions button{
  color:#5f6368;
}

.place-actions button:hover,
.place-actions button:focus-visible{
  background:rgba(255,255,255,.08);
}

.day-mode .place-actions button:hover,
.day-mode .place-actions button:focus-visible{
  background:rgba(0,0,0,.06);
}

@media (max-width:719px){
.place-actions{
    gap:4px;
  }
}

.crowd-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:16px;
  background:#0008;
}

.crowd-modal[hidden]{
  display:none;
}

.crowd-sheet{
  width:min(100%,460px);
  max-height:calc(100dvh - 32px);
  overflow-y:auto;
  padding:22px;
  border:1px solid #333;
  background:#151515;
  color:#fff;
}

@media (max-width:719px){
  .crowd-modal{align-items:end;padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));}
  .crowd-sheet{max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));overscroll-behavior:contain;border-radius:22px 22px 16px 16px;}
}

.crowd-close{float:right;cursor:pointer;}

.crowd-sheet fieldset{
  margin:18px 0;
  padding:0;
  border:0;
}

.crowd-sheet legend{
  margin-bottom:9px;
  font-weight:700;
}

.day-mode .crowd-sheet{
  border-color:#dfdbd2;
  background:#fffdfa;
  color:#171715;
}

.crowd-prompt{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
}

.day-mode .place-detail .cover h1{
  color:#fff;
}

.day-mode .place-detail .place-intro{
  background:#fff;
  border:0;
  box-shadow: none;
}

.day-mode .place-detail .schedule a strong{
  color:#1d1d1f;
}

.day-mode .place-detail .schedule a em{
  color:#ff6b3d;
}

.day-mode .place-detail .weekly-list .schedule-row div > span{
  color:#1d1d1f;
}

.place-detail .schedule-panel{
  width:auto;
  margin-left:20px;
  margin-right:20px;
  box-sizing:border-box;
}

.place-detail .weekly-list .schedule-row div > span{
  color:#fff;
}

.place-detail .weekly-list .schedule-event-link,
.day-mode .place-detail .weekly-list .schedule-event-link{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.day-mode .place-detail .weekly-list .event-day{
  background:#fff;
  border-color:#fff;
}

.day-mode .place-detail .weekly-list .event-day > strong{
  color:#1d1d1f;
}

.day-mode .place-detail .weekly-list .schedule-event-link > span:first-child{
  color:#1d1d1f;
}

.day-mode .place-detail .weekly-list .schedule-event-link .schedule-time{
  color:#ff6b3d;
}

@media (max-width:560px){
.place-detail .weekly-list .schedule-row{
    grid-template-columns:50px minmax(0,1fr);
    gap:10px;
    padding:16px;
  }

.place-detail .weekly-list .schedule-event-link,
.day-mode .place-detail .weekly-list .schedule-event-link{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:baseline;
    gap:8px;
    width:100%;
    max-width:100%;
  }

.place-detail .weekly-list .schedule-event-link > span:first-child{
    min-width:0;
    overflow-wrap:anywhere;
  }

.place-detail .weekly-list .schedule-times{
    margin-left:0;
  }
}

.place-detail .place-intro,
.day-mode .place-detail .place-intro{
  background:transparent;
  border:0;
  box-shadow:none;
}

.place-detail .owner-update-link{
  display:block;
  margin-top:12px;
  padding-top:0;
  border:0;
  color:#8a8a8a;
  font-size:11px;
  line-height:1.3;
  text-align:center;
  text-decoration:none;
}

.place-detail .owner-update-action{
  color:inherit;
}

.place-detail .owner-update-link:hover .owner-update-action,
.place-detail .owner-update-link:focus-visible .owner-update-action{
  color:#ff6b3d;
}

.day-mode .place-detail .owner-update-link{
  color:#8a8a8f;
}

.place-detail .schedule-panel::before{
  background:#252525;
  box-shadow:none;
}

.place-detail .weekly-list .today-day{
  background:#1d1d1d;
  box-shadow:inset 1px 0 0 rgba(255,107,61,.42);
}

.place-detail .weekly-list .today-day::before{
  background:#ff6b3d;
  box-shadow:none;
}

.day-mode .place-detail .schedule-panel::before{
  background:#d9d9de;
}

.day-mode .place-detail .weekly-list .today-day{
  background:#fff;
  box-shadow:inset 1px 0 0 rgba(255,107,61,.42);
}

.place-detail .weekly-list .empty-day{
  background:#1d1d1d;
  border-color:#1d1d1d;
  color:#fff;
  box-shadow:none;
}

.day-mode .place-detail .weekly-list .empty-day{
  background:#e5e5e7;
  border-color:#d7d7dc;
  color:#1d1d1f;
  box-shadow:none;
}

.place-detail .weekly-list .empty-day > strong,
.place-detail .weekly-list .empty-day span,
.place-detail .weekly-list .empty-day small,
.place-detail .weekly-list .empty-day > strong{
  color:#fff;
}

.place-detail .weekly-list .empty-day span,
.place-detail .weekly-list .empty-day small{
  color:#979797;
}

.day-mode .place-detail .weekly-list .empty-day > strong,
.day-mode .place-detail .weekly-list .empty-day span,
.day-mode .place-detail .weekly-list .empty-day small{
  color:#6e6e73;
}

.place-detail .weekly-list .today-day,
.day-mode .place-detail .weekly-list .today-day{
  background:#ff6b3d;
  border-color:#ff6b3d;
  color:#fff;
  box-shadow:none;
}

.place-detail .weekly-list .today-day > strong,
.place-detail .weekly-list .today-day span:not(.event-category-badge),
.place-detail .weekly-list .today-day .schedule-time,
.day-mode .place-detail .weekly-list .today-day > strong,
.day-mode .place-detail .weekly-list .today-day span:not(.event-category-badge),
.day-mode .place-detail .weekly-list .today-day .schedule-time{
  color:#fff;
}

.day-mode .place-detail .weekly-list .today-day > strong{
  color:#fff;
}

.place-detail .weekly-list .today-day::before{
  display:none;
}

.day-mode .place-detail .place-intro{
  color:#1d1d1f;
}

.place-detail .schedule-panel{
  z-index:1;
  margin-bottom:14px;
  overflow:visible;
  border:0;
  background:linear-gradient(145deg,rgba(255,107,61,.16),rgba(255,107,61,.035) 48%,rgba(255,255,255,.015)),#101010;
}

.day-mode .place-detail .schedule-panel{
  border:0;
  background:linear-gradient(145deg,#fff0e9 0%,#fff7f3 50%,#f5f5f7 100%);
}

.place-detail .schedule-panel::before,
.day-mode .place-detail .schedule-panel::before{
  display:none;
}

.place-detail .weekly-list .event-day:not(.today-day) .schedule-event-link:hover > span:first-child,
.place-detail .weekly-list .event-day:not(.today-day) .schedule-event-link:focus-visible > span:first-child{
  color:#fff;
}

.day-mode .place-detail .weekly-list .event-day:not(.today-day) .schedule-event-link:hover > span:first-child,
.day-mode .place-detail .weekly-list .event-day:not(.today-day) .schedule-event-link:focus-visible > span:first-child{
  color:#1d1d1f;
}

.place-detail .weekly-list .today-day .schedule-event-link:hover > span:first-child,
.place-detail .weekly-list .today-day .schedule-event-link:focus-visible > span:first-child,
.day-mode .place-detail .weekly-list .today-day .schedule-event-link:hover > span:first-child,
.day-mode .place-detail .weekly-list .today-day .schedule-event-link:focus-visible > span:first-child{
  color:#fff;
}

@media (min-width:720px){
.place-detail > .schedule-panel{
    width:min(calc(100% - 40px),760px);
    max-width:760px;
    margin-right:auto;
    margin-left:auto;
  }
}

.place-detail > .owner-update-link{
  width:min(calc(100% - 40px),720px);
  margin:0 auto 8px;
}

@media (max-width:719px){
.place-detail > .owner-update-link{
    width:calc(100% - 32px);
  }
}


.place-detail .cover > div{
  width:100%;
  min-width:0;
}

.place-detail .cover h1{
  display:block;
  max-width:100%;
  overflow:hidden;
  font-size:clamp(32px,5vw,40px);
  line-height:1.04;
  letter-spacing:-.04em;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media (max-width:719px){
.place-detail .cover{
    height:342px;
    padding:18px 20px;
  }

.place-detail .cover h1{
    font-size:30px;
    line-height:1.05;
  }


}

.place-detail .transit-list,
.day-mode .place-detail .transit-list,
.place-detail .notes-list,
.day-mode .place-detail .notes-list{
  box-shadow:none;
}

.schedule-panel{
  border-radius:var(--section-radius);
}


.place-detail .schedule-panel{
  box-shadow: none;
}

.day-mode .place-detail .schedule-panel{
  box-shadow: none;
}

.crowd-sheet{
  border-radius:var(--section-radius);
  box-shadow:0 18px 44px rgba(0,0,0,.34);
}


.place-detail .place-intro{
  max-width:650px;
  margin-bottom:24px;
  font-size:var(--type-body);
  line-height:1.6;
}

.place-detail .section-head{
  margin-bottom:20px;
}

.place-detail .section-head h2{
  font-size:26px;
  font-weight:720;
  line-height:1.08;
}

.place-detail .transit-list small,
.place-detail .notes-list small{
  font-size:var(--type-xs);
  font-weight:750;
  line-height:1.2;
  letter-spacing:.11em;
}

.place-detail .transit-list b,
.place-detail .notes-list b{
  font-size:14px;
  font-weight:650;
  line-height:1.4;
}

.place-detail .weekly-list .schedule-row{
  padding:16px;
}

.place-detail .weekly-list .schedule-row > strong{
  font-size:13px;
}

.place-detail .schedule-event-link > span:first-child{
  font-size:14px;
  line-height:1.35;
}

@media (max-width:719px){
.place-detail .section-head{
    margin-bottom:17px;
  }

.place-detail .section-head h2{
    font-size:23px;
  }

}

.schedule-panel .section-head{
  padding-right:150px;
}

@media (max-width:560px){
.schedule-panel .section-head{
    padding-right:0;
    padding-bottom:38px;
  }
}

.day-mode .place-detail{
  background:var(--luca-day-paper) ;
}

.day-mode .place-detail .schedule-row,
.day-mode .place-detail .comment-item{
  border:0;
  box-shadow:none;
}

.place-action-row button,
.place-action-row a{
  transition:transform .18s ease, opacity .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.place-action-row button:active,
.place-action-row a:active{
  transform:scale(.97);
}

@media (prefers-reduced-motion:reduce){
.place-action-row button,
.place-action-row a{
    transition:none;
    animation:none;
  }
}

/* Venue Detail route owner: #place/<venue-id>. */
body.place-route {
  --venue-radius: 22px;
  --venue-gap: 18px;
}

body.night-mode.place-route {
  --venue-page: var(--oonite-canvas-night, #000);
  --venue-card: #171717;
  --venue-soft: #232323;
  --venue-text: #f5f5f5;
  --venue-muted: #a0a0a0;
  --venue-line: rgba(255, 255, 255, .1);
}

body.place-route #app {
  background: var(--venue-page);
}

.venue-detail-page {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  box-sizing: border-box;
}

.venue-detail-page > .owner-update-link {
  width: min(calc(100% - 32px), 1120px);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.venue-detail-page .place-hero-gallery {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.venue-detail-page .place-gallery-thumbnails {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.venue-detail-page .place-gallery-thumbnails::-webkit-scrollbar {
  display: none;
}

.venue-detail-page .place-gallery-thumbnails button {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  background: rgba(255,255,255,.2);
}

.venue-detail-page .place-gallery-thumbnails button.is-active {
  border-color: var(--brand-purple);
}

.venue-detail-page .place-gallery-thumbnails img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.venue-detail-page .venue-source-note {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  color: var(--venue-muted);
  font-size: 12px;
}

.venue-detail-page .venue-source-note small {
  font-weight: 800;
  letter-spacing: .08em;
}

.venue-detail-page .venue-source-note a {
  color: var(--brand-purple);
  font-weight: 750;
}

.venue-detail-page .place-summary-card {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  color: var(--venue-text);
  box-shadow: none;
  box-sizing: border-box;
}

.venue-detail-page .place-summary-card .eyebrow {
  margin: 0;
  color: var(--venue-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
}

.venue-detail-page .place-summary-card h1 {
  text-overflow: ellipsis;
}

.venue-detail-page .place-summary-card .place-intro {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 500;
}

.venue-detail-page .place-action-row {
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}


.venue-detail-page .place-action-row .save-place,
.venue-detail-page .place-action-row .share-place {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--venue-text);
  box-shadow: none;
}

.venue-detail-page .place-action-row .save-place::after,
.venue-detail-page .place-action-row .share-place::after {
  content: none;
}

.venue-detail-page .place-action-row .save-place svg,
.venue-detail-page .place-action-row .share-place svg {
  width: 24px;
  height: 24px;
}

.venue-detail-page .place-action-row .place-action-link {
  display: grid;
  min-width: 0;
  min-height: 46px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--venue-line);
  border-radius: 14px;
  background: var(--venue-soft);
  color: var(--venue-text);
  box-shadow: none;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.venue-detail-page .place-action-row .place-action-link.disabled {
  opacity: .45;
}

.venue-detail-page > .owner-update-link {
  margin-top: 22px;
}

@media (min-width: 720px) and (max-width: 1023px) {
  .venue-detail-page > .owner-update-link {
    width: min(calc(100% - 48px), 920px);
  }

  .venue-detail-page .place-hero-gallery {
    grid-area: hero;
    aspect-ratio: 3 / 2;
  }

  .venue-detail-page .place-summary-card {
    grid-area: summary;
    height: 100%;
    padding: 24px;
  }

  .venue-detail-page .place-summary-card h1 {
    font-size: clamp(18px, 2.25vw, 22px);
    white-space: normal;
  }
}

@media (min-width: 1024px) {
  .venue-detail-page .place-hero-gallery {
    grid-area: hero;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    align-self: start;
  }

  .venue-detail-page .place-summary-card {
    grid-area: summary;
    padding: 26px;
  }

}

@media (max-width: 719px) {
  .venue-detail-page .place-summary-card h1 {
    font-size: clamp(18px, 5.5vw, 22px);
    white-space: normal;
  }

}

/* Venue intelligence redesign — the page answers what this place is like tonight. */
body.place-route {
  --venue-page:var(--oonite-canvas-night,#000);
  --venue-card:rgba(17,19,24,.88);
  --venue-soft:#12141a;
  --venue-text:#f7f7fa;
  --venue-muted:#90949f;
  --venue-line:rgba(255,255,255,.09);
  --venue-purple:#7549ff;
  --venue-green:#00ff09;
  background:var(--oonite-canvas-night,#000);
}

.venue-detail-page { padding:0 0 110px; color:var(--venue-text); background:transparent!important; }
.venue-detail-page .venue-hero,.venue-detail-page .venue-story,.venue-detail-page>.owner-update-link { width:min(calc(100% - 48px),1280px); margin-inline:auto; box-sizing:border-box; }
.venue-detail-page .venue-hero { display:grid; grid-template-columns:minmax(0,.92fr) minmax(480px,1.12fr); grid-template-areas:"copy image"; gap:42px; align-items:center; padding-top:calc(116px + env(safe-area-inset-top)); }
.venue-detail-page .place-summary-card { grid-area:copy; padding:0; background:transparent; border-radius:0; }
.venue-detail-page .place-hero-gallery { grid-area:image; aspect-ratio:16/10; border:0; border-radius:24px; box-shadow:none; }
.venue-detail-page .venue-breadcrumb { margin:0 0 18px; color:var(--venue-muted); font-size:12px; font-weight:650; }
.venue-detail-page .venue-breadcrumb i { margin:0 7px; color:#4d515b; font-style:normal; }
.venue-detail-page .place-summary-card h1 { overflow:visible; color:#fff; font-size:clamp(38px,4.1vw,66px); font-weight:820; line-height:.96; letter-spacing:-.055em; text-wrap:balance; }
.venue-detail-page .venue-location { font-weight:400; }
.venue-detail-page .place-summary-card .place-intro { max-width:540px; color:#c7c9d0; font-size:16px; line-height:1.6; }
.venue-identity-tags { display:flex; flex-wrap:wrap; }
.venue-identity-tags span { border:1px solid var(--venue-line); border-radius:999px; background:rgba(255,255,255,.035); color:#d9dbe1; }
.venue-detail-page .place-action-row { display:grid; grid-template-columns:minmax(138px,1.25fr) minmax(118px,1fr) 44px 44px; max-width:520px; margin-top:8px; }
.venue-detail-page .place-action-row .place-actions { display:contents; }
.venue-detail-page .place-action-row>.place-checkin-action { grid-column:1; grid-row:1; color:#031005; border-color:var(--venue-green); background:var(--venue-green); box-shadow:0 0 24px rgba(0,255,9,.16); font-size:12px; font-weight:850; }
.venue-detail-page .place-action-row>.place-directions-action { grid-column:2; grid-row:1; }
.venue-detail-page .place-action-row>.place-action-link { border-radius:999px; }
.venue-detail-page .place-action-row .save-place { grid-column:3; grid-row:1; }
.venue-detail-page .place-action-row .share-place { grid-column:4; grid-row:1; }
.venue-detail-page .place-action-row .save-place,.venue-detail-page .place-action-row .share-place { border:1px solid var(--venue-line); background:rgba(255,255,255,.035); }
.venue-detail-page .place-action-row>.place-room-action{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:5px 10px;color:var(--brand-purple);border-color:color-mix(in srgb,var(--brand-purple) 32%,var(--venue-line));background:color-mix(in srgb,var(--brand-purple) 9%,transparent);text-align:left}
.venue-detail-page .place-action-row>.place-room-action svg{flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.venue-detail-page .place-action-row>.place-room-action span{display:grid;gap:1px;line-height:1.05}
.venue-detail-page .place-action-row>.place-room-action b{font-size:11px;font-weight:900}
.venue-detail-page .place-action-row>.place-room-action small{overflow:hidden;max-width:16ch;color:inherit;font-size:var(--oonite-meta-font-size,10px);font-weight:700;opacity:.7;text-overflow:ellipsis;white-space:nowrap}
body.night-mode .venue-detail-page .place-action-row > .place-room-action {
  color:#c9bdff;
  background:rgba(132,105,255,.15);
  border-color:rgba(184,164,255,.38);
}
body.night-mode .venue-detail-page .place-room-action small {color:#b7adce;opacity:1}
.venue-photo-count { position:absolute; right:16px; bottom:16px; z-index:2; padding:6px 9px; border-radius:999px; background:rgba(0,0,0,.7); color:#fff; font-size:10px; font-weight:500; }
.venue-opening-badge { position:absolute; top:16px; right:16px; z-index:3; display:flex; align-items:center; gap:7px; padding:8px 11px; border:0; border-radius:999px; background:rgba(5,6,8,.78); color:#fff; backdrop-filter:blur(14px); font-size:10px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.venue-opening-badge i { width:7px; height:7px; border-radius:50%; background:#969aa3; box-shadow:0 0 8px currentColor; }
.venue-opening-badge.is-open { color:var(--oonite-opening-open-on-dark,#7dde9c); }
.venue-opening-badge.is-closed { color:var(--oonite-opening-closed-on-dark,#ff8f86); }
.venue-opening-badge.is-unknown { color:var(--oonite-opening-unknown-on-dark,#c8cdd5); }
.venue-opening-badge:is(.is-open,.is-closed,.is-unknown) i { background:currentColor; }
.venue-detail-page .place-gallery-thumbnails { right:auto; width:min(70%,360px); }
.venue-detail-page .venue-story { display:grid; grid-template-columns:1.14fr .86fr; gap:18px; margin-top:28px; }
.venue-story>section,.venue-information>div>section,.venue-mobile-fold { min-width:0; margin:0; padding:24px; border:0; border-radius:20px; background:linear-gradient(145deg,rgba(21,23,29,.94),rgba(11,12,16,.94)); box-sizing:border-box; }
.venue-story .section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:20px; }
.venue-story .section-head h2 { margin:4px 0 0; color:#fff; font-size:19px; }
.venue-story .eyebrow { margin:0; color:var(--venue-purple); font-size:10px; font-weight:850; letter-spacing:.08em; }
.venue-quick-panel { grid-column:1/-1; }
.venue-live-panel { grid-column:1; }
.venue-intelligence { grid-column:2; }
.venue-live-layout { display:grid; grid-template-columns:1.3fr 1fr .8fr; gap:18px; align-items:end; }
.venue-live-layout small { display:block; margin-bottom:7px; color:var(--venue-muted); font-size:var(--oonite-meta-font-size,10px); font-weight:400; letter-spacing:.07em; }
.venue-live-layout strong { color:#fff; font-size:20px; line-height:1.15; }
.venue-live-state { display:grid; align-content:end; }
.venue-live-state .venue-live-number { color:var(--venue-green); font-size:46px; font-weight:850; line-height:.9; letter-spacing:-.045em; }
.venue-live-state .venue-live-number.is-label { font-size:30px; line-height:1; letter-spacing:-.025em; }
.venue-live-state>b { margin-top:8px; color:var(--venue-text); font-size:11px; }
.venue-live-empty,.venue-intelligence-empty { display:flex; align-items:center; gap:18px; min-height:132px; padding:18px; border:0; border-radius:15px; background:radial-gradient(circle at 12% 50%,rgba(117,73,255,.12),transparent 36%); }
.venue-live-empty>span,.venue-intelligence-empty>span { color:var(--venue-purple); font-size:34px; }
.venue-live-eyebrow { display:flex; align-items:center; gap:7px; }
.venue-live-eyebrow i { width:7px; height:7px; border-radius:50%; background:var(--venue-purple); box-shadow:0 0 0 4px color-mix(in srgb,var(--venue-purple) 15%,transparent); }
.venue-live-empty>span svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.venue-live-empty small { color:var(--venue-muted); font-size:var(--oonite-meta-font-size,10px); font-weight:850; letter-spacing:.09em; }
.venue-live-empty strong,.venue-intelligence-empty strong { display:block; margin:5px 0; color:var(--venue-text); font-size:18px; }
.venue-live-empty p,.venue-intelligence-empty p { margin:0; color:var(--venue-muted); font-size:11px; }
.venue-live-state>small { max-width:220px; line-height:1.4; }
.venue-live-vibe strong { color:#ff7b45; }
.venue-trend { margin-top:18px; }
.venue-trend svg { display:block; width:100%; height:88px; overflow:visible; }
.venue-trend-fill { fill:url(#venueTrendFill); }
.venue-trend-line { fill:none; stroke:var(--venue-purple); stroke-width:3; filter:drop-shadow(0 0 6px rgba(117,73,255,.7)); }
.venue-trend>div { display:flex; justify-content:space-between; color:#656a75; font-size:var(--oonite-meta-font-size,10px); }
.venue-facts { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:0; overflow:hidden; border:0; border-radius:14px; }
.venue-facts>div { min-width:0; padding:14px 16px; border-right:1px solid var(--venue-line); }
.venue-facts>div:last-child { border-right:0; }
.venue-facts small { display:block; margin-bottom:6px; color:var(--venue-muted); font-size:var(--oonite-meta-font-size,10px); font-weight:400; letter-spacing:.08em; }
.venue-facts b { color:var(--venue-text); font-size:11px; line-height:1.35; }
.venue-facts b[data-venue-opening-fact] {
  display:inline-flex;
  align-items:center;
  gap:5px;
  width:fit-content;
  max-width:100%;
  padding:2px 7px;
  border-radius:6px;
  overflow-wrap:anywhere;
}
.venue-facts b[data-venue-opening-fact]::before {
  content:"";
  flex:0 0 5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
}
.venue-facts b.venue-open { color:var(--oonite-status-open-on-light,#176b32); background:#eaf7ee; }
.venue-facts b.venue-closed { color:var(--oonite-status-closed-on-light,#a53631); background:#fcefee; }
.venue-facts b.venue-unknown { color:var(--oonite-status-unknown-on-light,#4b5563); background:#eef1f4; }
body.night-mode .venue-facts b.venue-open { color:var(--oonite-opening-open-on-dark,#7dde9c); background:#1c2e25; }
body.night-mode .venue-facts b.venue-closed { color:var(--oonite-opening-closed-on-dark,#ff8f86); background:#362224; }
body.night-mode .venue-facts b.venue-unknown { color:var(--oonite-opening-unknown-on-dark,#c8cdd5); background:#292b34; }
.venue-intelligence-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.venue-intelligence-grid>div { display:grid; min-width:0; text-align:center; }
.venue-intelligence-grid span { color:var(--venue-purple); font-size:22px; }
.venue-intelligence-grid strong { margin:8px 0 2px; color:#fff; font-size:18px; }
.venue-intelligence-grid small { color:var(--venue-muted); font-size:var(--oonite-meta-font-size,10px); line-height:1.3; }
.venue-intelligence-grid em { margin-top:7px; color:var(--venue-muted); font-size:var(--oonite-meta-font-size,10px); font-style:normal; line-height:1.25; }
.venue-intelligence.is-empty .section-head { margin-bottom:10px; }
.venue-intelligence.is-empty .section-head h2 { max-width:330px; font-size:20px; }
.venue-data-note { margin:20px 0 0; padding-top:8px; border-top:0; color:#686d77; font-size:10px; text-align:center; }
.venue-night-cards,.schedule-panel,.venue-information,.venue-mobile-info,.venue-source-note,.venue-reviews { grid-column:1/-1; }
.venue-night-cards .section-head a { display:inline-flex; min-height:44px; align-items:center; color:var(--venue-purple); font-size:11px; font-weight:750; text-decoration:none; }
.venue-night-card-rail { display:grid; grid-template-columns:minmax(220px,.7fr) 1.3fr; gap:12px; }
.venue-night-card-rail article { position:relative; min-height:148px; padding:18px; overflow:hidden; border:0; border-radius:15px; background:#0c0d11; }
.venue-night-card-rail article>*:not(.venue-night-card-image) { position:relative; z-index:1; }
.venue-night-card-rail small { display:block; color:var(--venue-green); font-size:9px; }.venue-night-card-rail strong { display:block; margin:45px 0 12px; color:#fff; font-size:16px; }.venue-night-card-rail b { margin-right:5px; padding:5px 7px; border-radius:999px; background:rgba(255,255,255,.1); color:#ddd; font-size:9px; }
.venue-night-card-rail .is-signal { display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }.venue-night-card-rail .is-signal span { color:var(--venue-purple); font-size:25px; }.venue-night-card-rail .is-signal strong { margin:10px 0 5px; }.venue-night-card-rail .is-signal p { max-width:360px; margin:0; color:var(--venue-muted); font-size:11px; }
.venue-night-card-rail:has(.is-venue-card) { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.venue-night-card-rail .night-card.is-venue-card { display:grid; min-width:0; min-height:0; padding:0; overflow:visible; border:0; border-radius:15px; background:transparent; box-shadow:none; cursor:pointer; }
.venue-night-card-rail .is-venue-card .night-card-photo { position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:15px; background:#08090c; }
.venue-night-card-rail .is-venue-card .night-card-visual { position:absolute; inset:0; border-radius:inherit; background-color:#08090c; background-position:center; background-size:cover; transform:none; }
.venue-night-card-rail .is-venue-card .night-card-overlay { position:absolute; inset:0; display:block; padding:10px; border-radius:inherit; background:linear-gradient(180deg,rgba(7,5,16,.3),transparent 38%); }
.venue-night-card-rail .is-venue-card .night-card-public-meta { position:static; display:grid; min-height:32px; grid-template-columns:minmax(0,1fr) auto; gap:5px; align-items:center; margin:0; padding:7px 0 0; border:0; border-top:0; background:transparent; }
.venue-night-card-rail .is-venue-card .night-card-author { position:static; display:flex; min-width:0; align-items:center; gap:6px; color:#fff; text-decoration:none; }
.venue-night-card-rail .is-venue-card .night-card-author img,.venue-night-card-rail .is-venue-card .night-card-author>span { display:grid; width:25px; height:25px; flex:0 0 25px; place-items:center; overflow:hidden; border:1px solid var(--venue-line); border-radius:50%; background:#15171c; font-size:8px; object-fit:cover; }
.venue-night-card-rail .is-venue-card .night-card-author div { display:grid; min-width:0; gap:2px; text-shadow:none; }
.venue-night-card-rail .is-venue-card .night-card-author b,.venue-night-card-rail .is-venue-card .night-card-author small { display:block; min-width:0; margin:0; overflow:hidden; line-height:1.15; text-overflow:ellipsis; white-space:nowrap; }
.venue-night-card-rail .is-venue-card .night-card-author b { margin:0; padding:0; border-radius:0; background:transparent; color:#fff; font-size:10px; font-weight:850; }
.venue-night-card-rail .is-venue-card .night-card-author small { color:var(--venue-muted); font-size:8px; font-weight:400; }
.venue-night-card-rail .is-venue-card .night-card-quick-actions { position:static; inset:auto; display:flex; align-items:center; justify-content:flex-end; gap:0; margin:0; padding:0; border:0; background:transparent; }
.venue-night-card-rail .is-venue-card .night-card-quick-actions button { display:flex; width:34px; min-width:34px; height:28px; min-height:28px; align-items:center; justify-content:center; gap:2px; margin:0; padding:3px 0; border:0; background:transparent; color:#7d828d; box-shadow:none; opacity:1; }
.venue-night-card-rail .is-venue-card .night-card-quick-actions button svg { display:block; width:15px; height:15px; flex:0 0 15px; fill:none; stroke:currentColor; opacity:1; }
.venue-night-card-rail .is-venue-card .night-card-quick-actions button b { margin:0; padding:0; border-radius:0; background:transparent; color:currentColor; font-size:8px; line-height:1; }
.venue-night-card-rail .is-venue-card .night-card-quick-actions button.active { color:#f24b8f; }
.venue-information { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.venue-information-quick { display:none; }
.venue-information>div { min-width:0; }.venue-information>div>section { height:100%; padding:22px; }
.venue-information .section-head { margin-bottom:16px; }.venue-information .section-head h2 { font-size:15px; }
.venue-information .notes-list>div,.venue-information .transit-list>div { padding:10px 0; }
.venue-information .notes-list small,.venue-information .transit-list small { font-size:8px; }.venue-information .notes-list b,.venue-information .transit-list b { font-size:10px; }
.venue-mobile-info { display:none; }
.venue-reviews .comment-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; min-width:0; }.venue-reviews .comment-item { margin:0; }
.venue-reviews { width:100%; max-width:none; min-width:0; box-sizing:border-box; }
.venue-reviews .comment-heading>div>p:last-child { margin:6px 0 0; color:var(--venue-muted); font-size:10px; }
.venue-reviews .review-contribute { margin-top:14px; padding:0; border:0; background:transparent; }
.venue-reviews .review-contribute>summary { display:flex; min-height:44px; align-items:center; justify-content:space-between; padding:12px 0; box-sizing:border-box; color:var(--venue-muted); font-size:11px; font-weight:750; cursor:pointer; list-style:none; }
.venue-reviews .review-contribute>summary::-webkit-details-marker { display:none; }
.venue-reviews .review-contribute .review-form { margin-top:8px; }
.venue-reviews>.review-form{margin-top:16px}
.venue-schedule-preview { display:grid; grid-template-columns:max-content minmax(0,1fr) max-content; align-items:center; gap:12px; width:100%; min-width:0; box-sizing:border-box; padding:16px 18px; border:0; border-radius:15px; background:rgba(117,73,255,.07); }
.venue-schedule-preview:not(.is-empty) { background:#ff6b3d; color:#fff; }
.venue-schedule-preview:not(.is-empty) small,
.venue-schedule-preview:not(.is-empty) strong,
.venue-schedule-preview:not(.is-empty) span:not(.event-category-badge) { color:#fff; }
.venue-schedule-preview small { color:var(--venue-purple); font-size:10px; font-weight:850; line-height:1.2; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.venue-schedule-preview strong { min-width:0; color:var(--venue-text); font-size:14px; line-height:1.25; overflow-wrap:anywhere; }.venue-schedule-preview span:not(.event-category-badge) { color:var(--venue-muted); font-size:11px; line-height:1.2; white-space:nowrap; }
.venue-schedule-preview.is-empty { grid-template-columns:1fr; gap:4px; }
.venue-schedule-preview.is-empty p { margin:0; color:var(--venue-muted); font-size:12px; line-height:1.45; }
.venue-full-schedule { margin-top:10px; }
.venue-full-schedule>summary { display:flex; min-height:44px; align-items:center; justify-content:flex-end; gap:8px; padding:9px 2px; box-sizing:border-box; color:var(--venue-purple); font-size:10px; font-weight:850; cursor:pointer; list-style:none; }
.venue-full-schedule>summary::-webkit-details-marker { display:none; }.venue-full-schedule[open]>summary span { transform:rotate(90deg); }
.venue-full-schedule .weekly-list { margin-top:8px; }
.venue-detail-page>.owner-update-link { margin-top:18px; color:var(--venue-muted); }

@media (max-width:719px) {
  .venue-detail-page .venue-hero { grid-template-columns:1fr; grid-template-areas:"image" "copy"; gap:18px; width:100%; padding-top:calc(70px + env(safe-area-inset-top)); }
  .venue-detail-page .place-hero-gallery { width:calc(100% - 24px); margin-inline:auto; aspect-ratio:16/10; border-radius:18px; }
  .venue-detail-page .place-summary-card { width:calc(100% - 32px); margin-inline:auto; gap:11px; }
  .venue-detail-page .venue-breadcrumb { display:none; }
  .venue-detail-page .place-summary-card .place-intro { display:-webkit-box; overflow:hidden; font-size:13px; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
  .venue-detail-page .venue-story { display:flex; width:calc(100% - 24px); flex-direction:column; gap:12px; margin-top:18px; }
  .venue-story>section,.venue-mobile-fold { padding:18px; border-radius:17px; }
  .venue-detail-page .venue-live-panel {
    width:100%;
    min-width:0;
    padding:18px;
    border-radius:17px;
    background:linear-gradient(145deg,rgba(21,23,29,.94),rgba(11,12,16,.94));
    box-sizing:border-box;
  }
  .venue-detail-page .venue-intelligence {
    width:100%;
    min-width:0;
    padding:18px;
    border-radius:17px;
    background:linear-gradient(145deg,rgba(21,23,29,.94),rgba(11,12,16,.94));
    box-sizing:border-box;
  }
  .venue-detail-page .venue-story>.venue-quick-panel { width:100%; max-width:none; margin:0; align-self:stretch; }
  .venue-detail-page .venue-night-card-rail .is-signal:only-child { flex:0 0 100%; width:100%; min-height:160px; }
  .venue-live-panel { order:0; }.venue-intelligence { order:1; }.schedule-panel { order:4; }.venue-quick-panel { order:5; }.venue-mobile-info { order:6; }.venue-source-note { order:7; }.venue-reviews { order:8; }
  .venue-live-layout { min-width:0; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.7fr); gap:9px; }.venue-live-layout>div { min-width:0; }.venue-live-layout strong { font-size:14px; overflow-wrap:anywhere; }.venue-live-state>small { font-size:var(--oonite-meta-font-size,10px); }
  .venue-intelligence-grid strong { font-size:15px; }.venue-intelligence-grid small { font-size:var(--oonite-meta-font-size,10px); }
  .venue-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }.venue-facts>div { border-bottom:1px solid var(--venue-line); }.venue-facts>div:nth-child(2n) { border-right:0; }.venue-facts>div:nth-last-child(-n+2) { border-bottom:0; }
  .venue-night-card-rail { display:flex; margin-right:-18px; overflow-x:auto; scrollbar-width:none; }.venue-night-card-rail article { flex:0 0 70%; }

  .venue-night-card-rail:has(.is-venue-card) { display:flex; gap:10px; }
  .venue-night-card-rail .night-card.is-venue-card { flex:0 0 46%; }

  .venue-schedule-preview { grid-template-columns:max-content minmax(0,1fr); column-gap:12px; row-gap:5px; }.venue-schedule-preview span:not(.event-category-badge) { grid-column:2; justify-self:start; }
  .venue-information { display:none; }.venue-mobile-info { display:grid; gap:9px; }
  .venue-mobile-fold { padding:0; }.venue-mobile-fold summary { display:flex; align-items:center; justify-content:space-between; padding:17px 18px; color:#fff; font-size:13px; font-weight:750; cursor:pointer; list-style:none; }.venue-mobile-fold summary::-webkit-details-marker { display:none; }.venue-mobile-fold[open] summary span { transform:rotate(180deg); }.venue-mobile-fold>div { padding:0 18px 18px; }.venue-mobile-fold section { padding:0!important; border:0!important; background:transparent!important; }.venue-mobile-fold section>.section-head { display:none; }
  .venue-reviews .comment-list { grid-template-columns:1fr; }
  #app > .app-shell .venue-detail-page .venue-primary-story > .venue-weekly-pattern { width:100%; max-width:none; align-self:stretch; box-sizing:border-box; }
  body.place-route .venue-detail-page .venue-reviews .review-contribute,
  body.place-route .venue-detail-page .venue-reviews .review-form,
  body.day-mode.place-route .venue-detail-page .venue-reviews .review-contribute,
  body.day-mode.place-route .venue-detail-page .venue-reviews .review-form { border:0; background:transparent; box-shadow:none; }
  .venue-detail-page>.owner-update-link { width:calc(100% - 32px); }
}

@media (max-width:520px) {
  .venue-detail-page .place-action-row { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) 42px 42px; gap:6px; }
  .venue-detail-page .place-action-row .place-action-link { min-height:44px; padding-inline:7px; }
  .venue-identity-tags span:nth-child(n+4) { display:none; }
  .venue-story .section-head h2 { font-size:16px; }
  .venue-live-panel .section-head h2 { display:none; }
  .venue-trend svg { height:68px; }
}

@media (min-width:720px) and (max-width:1023px) {
  .venue-detail-page { padding-bottom:80px; }
  .venue-detail-page .venue-hero { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); grid-template-areas:"image copy"; gap:24px; align-items:stretch; padding-top:calc(94px + env(safe-area-inset-top)); }
  .venue-detail-page .place-hero-gallery { grid-area:image; width:100%; min-height:420px; aspect-ratio:auto; align-self:stretch; }
  .venue-detail-page .place-summary-card { grid-area:copy; align-content:center; gap:11px; padding:22px; border:0; border-radius:22px; background:var(--venue-card); }
  .venue-detail-page .place-summary-card .place-intro { display:-webkit-box; overflow:hidden; font-size:13px; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
  .venue-detail-page .venue-breadcrumb { margin-bottom:5px; font-size:9px; }

  .venue-identity-tags { gap:5px; }.venue-identity-tags span { padding:5px 7px; font-size:var(--oonite-meta-font-size,10px); }
  .venue-identity-tags span:nth-child(n+4) { display:none; }
  .venue-detail-page .place-action-row { grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 44px 44px; gap:6px; }.venue-detail-page .place-action-row .place-action-link { min-height:44px; }
  .venue-detail-page .place-action-row .save-place,.venue-detail-page .place-action-row .share-place { width:44px; min-width:44px; height:44px; min-height:44px; }
  .venue-detail-page .venue-story { grid-template-columns:minmax(0,1fr); gap:16px; margin-top:20px; }
  .venue-story>section,.venue-information>div>section { padding:20px; border-radius:18px; }
  .venue-detail-page .venue-live-panel,
  .venue-detail-page .venue-intelligence,
  .venue-detail-page .venue-quick-panel,
  .venue-detail-page .venue-information,
  .venue-detail-page .venue-reviews { width:100%; min-width:0; box-sizing:border-box; }
  .venue-live-layout { grid-template-columns:1.15fr .9fr .75fr; gap:10px; }.venue-live-layout strong { font-size:15px; }.venue-live-state .venue-live-number { font-size:38px; }.venue-live-state .venue-live-number.is-label { font-size:22px; }
  .venue-trend svg { height:66px; }
  .venue-live-empty,.venue-intelligence-empty { min-height:112px; padding:14px; }
  .venue-intelligence-empty strong { font-size:14px; }
  .venue-night-cards,.schedule-panel,.venue-quick-panel,.venue-information,.venue-source-note,.venue-reviews { grid-column:1/-1; }
  .venue-night-card-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .venue-information { grid-template-columns:minmax(0,1fr); }
  .venue-facts { grid-template-columns:repeat(3,minmax(0,1fr)); }.venue-facts>div:nth-child(3n) { border-right:0; }.venue-facts>div:nth-child(-n+3) { border-bottom:1px solid var(--venue-line); }
}

@media (min-width:1024px) {
  .venue-story>.venue-quick-panel { display:none; }
  .venue-information-quick { display:block; }
  .venue-information .venue-quick-panel { height:100%; padding:22px; }
  .venue-information .venue-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .venue-information .venue-facts>div { border-right:1px solid var(--venue-line); border-bottom:1px solid var(--venue-line); }
  .venue-information .venue-facts>div:nth-child(2n) { border-right:0; }
  .venue-information .venue-facts>div:nth-last-child(-n+2) { border-bottom:0; }
}

/* Venue day theme keeps the same intelligence hierarchy with daylight contrast. */
body.day-mode.place-route {
  --venue-page:#f3f4f7;
  --venue-card:#fff;
  --venue-soft:#eceef3;
  --venue-text:#15161a;
  --venue-muted:#6d7079;
  --venue-line:rgba(20,22,28,.11);
  --venue-purple:#5b31e8;
  --venue-green:#00c908;
  background:#f3f4f7;
}

body.day-mode.place-route #app {
  background:#f3f4f7!important;
}

body.day-mode.place-route .venue-detail-page .place-summary-card h1,
body.day-mode.place-route .venue-detail-page .venue-location,
body.day-mode.place-route .venue-story .section-head h2,
body.day-mode.place-route .venue-live-layout strong,
body.day-mode.place-route .venue-intelligence-grid strong,
body.day-mode.place-route .venue-information h2,
body.day-mode.place-route .venue-mobile-fold summary,
body.day-mode.place-route .venue-reviews h2 {
  color:#15161a;
}

body.day-mode.place-route .venue-detail-page .place-summary-card .place-intro {
  color:#50535c;
}

body.day-mode.place-route .venue-detail-page .venue-breadcrumb i,
body.day-mode.place-route .venue-trend>div,
body.day-mode.place-route .venue-data-note {
  color:#858993;
}

body.day-mode.place-route .venue-identity-tags span,
body.day-mode.place-route .venue-detail-page .place-action-row .save-place,
body.day-mode.place-route .venue-detail-page .place-action-row .share-place {
  border-color:var(--venue-line);
  background:rgba(255,255,255,.78);
  color:#25272d;
  box-shadow:0 8px 24px rgba(24,27,38,.06);
}

body.day-mode.place-route .venue-detail-page .place-action-row .place-action-link:not(:last-child) {
  border-color:var(--venue-line);
  background:#fff;
  color:#24262c;
}

body.day-mode.place-route .venue-detail-page .place-action-row>.place-checkin-action {
  border-color:#00df08;
  background:#00ef09;
  color:#042006;
  box-shadow:0 10px 26px rgba(0,201,8,.2);
}

body.day-mode.place-route .venue-story>section,
body.day-mode.place-route .venue-information>div>section,
body.day-mode.place-route .venue-mobile-fold {
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,248,251,.98));
  box-shadow: none;
}

@media (max-width:719px) {
  body.day-mode.place-route .venue-detail-page .venue-story>.venue-quick-panel,
  body.day-mode.place-route .venue-detail-page .venue-live-panel,
  body.day-mode.place-route .venue-detail-page .venue-intelligence {
    background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,248,251,.98));
    box-shadow: none;
  }
}

body.day-mode.place-route .venue-trend-line {
  stroke:#6438ee;
  filter:drop-shadow(0 0 4px rgba(100,56,238,.28));
}

body.day-mode.place-route .venue-live-empty,
body.day-mode.place-route .venue-intelligence-empty { background:radial-gradient(circle at 12% 50%,rgba(91,49,232,.08),transparent 36%); }

body.day-mode.place-route .venue-schedule-preview.is-empty { background:rgba(91,49,232,.05); }

body.day-mode.place-route .venue-night-card-rail small {
  color:#008f05;
}

body.day-mode.place-route .venue-night-card-rail article {
  background:#f0f1f5;
  box-shadow: none;
}

body.day-mode.place-route .venue-night-card-rail strong {
  color:#17181c;
}

body.day-mode.place-route .venue-night-card-rail b {
  background:rgba(20,22,28,.075);
  color:#454851;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-quick-actions button,
body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-quick-actions button b {
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-quick-actions button {
  color:#626773;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-quick-actions button b {
  color:inherit;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-quick-actions button.active {
  color:#e83e84;
}

body.day-mode.place-route .venue-night-card-rail .night-card.is-venue-card {
  border:0;
  background:transparent;
  box-shadow:none;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-author {
  color:#17181c;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-author b {
  margin:0;
  padding:0;
  background:transparent;
  color:#17181c;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-author small {
  color:#696d78;
}

body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-author img,
body.day-mode.place-route .venue-night-card-rail .is-venue-card .night-card-author>span {
  background:#fff;
}

body.day-mode.place-route .venue-reviews .comment-item,
body.day-mode.place-route .venue-reviews .review-contribute,
body.day-mode.place-route .venue-reviews .review-form {
  border-color:rgba(20,22,28,.09);
  background:#f8f9fb;
  color:#25272d;
}

body.day-mode.place-route .venue-detail-page .venue-source-note,
body.day-mode.place-route .venue-detail-page>.owner-update-link {
  color:#71747d;
}

body.day-mode.place-route .venue-detail-page .place-hero-gallery {
  box-shadow:none;
}

@media (min-width:1024px) {
  .venue-information {
    grid-template-columns:240px 190px 250px minmax(250px,1fr);
    gap:12px;
    align-items:start;
  }
  .venue-information>div>section,
  .venue-information .venue-quick-panel { height:auto; }
}

/* P0.1 Venue pulse refinement */
.venue-detail-page .venue-location { display:none; margin:0 0 8px; color:var(--venue-purple); font-size:12px; letter-spacing:.02em; }
.venue-detail-page .place-summary-card h1 { margin:0 0 14px; }
.venue-title-line { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.venue-title-line h1 { min-width:0; }
.venue-merchant-confirmed { display:inline-flex; align-items:center; gap:5px; margin:0 0 14px; padding:6px 9px; border:1px solid rgba(0,255,9,.34); border-radius:999px; background:rgba(0,255,9,.1); color:#64ff69; font-size:10px; font-weight:850; line-height:1; letter-spacing:.035em; white-space:nowrap; }
.venue-merchant-confirmed svg { width:14px; height:14px; fill:#00ff09; stroke:#071108; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; }
.venue-identity-tags { gap:6px; margin-bottom:2px; }
.venue-identity-tags span { padding:6px 9px; font-size:10px; line-height:1.2; }
.venue-identity-tags .venue-identity-badge { border-color:rgba(117,73,255,.34); background:rgba(117,73,255,.12); color:#b49fff; font-weight:850; letter-spacing:.035em; text-transform:uppercase; }

.venue-detail-page .place-action-row>.place-checkin-action,
body.day-mode.place-route .venue-detail-page .place-action-row>.place-action-link.place-checkin-action {
  border-color:var(--venue-purple);
  background:var(--venue-purple);
  color:#fff;
  box-shadow:0 10px 30px rgba(117,73,255,.28),0 0 20px rgba(117,73,255,.14);
}
.venue-detail-page .place-action-row>.place-directions-action,
.venue-detail-page .place-action-row .save-place,
.venue-detail-page .place-action-row .share-place,
body.day-mode.place-route .venue-detail-page .place-action-row>.place-directions-action,
body.day-mode.place-route .venue-detail-page .place-action-row .save-place,
body.day-mode.place-route .venue-detail-page .place-action-row .share-place {
  border-color:rgba(20,22,28,.11);
  background:#fff;
  color:#24262c;
  box-shadow:0 8px 24px rgba(24,27,38,.06);
}
.venue-detail-page .place-action-row .save-place.saved,
.venue-detail-page .place-action-row .share-place.shared,
body.day-mode.place-route .venue-detail-page .place-action-row .save-place.saved,
body.day-mode.place-route .venue-detail-page .place-action-row .share-place.shared {
  border-color:var(--venue-purple);
  background:rgba(117,73,255,.18);
  color:var(--venue-purple);
  box-shadow:0 0 20px rgba(117,73,255,.17);
}

.venue-live-panel { position:relative; }
.venue-live-report { position:absolute; top:-12px; right:-6px; display:inline-flex; min-height:44px; align-items:center; margin:0; padding:0 6px; border:0; background:transparent; color:var(--venue-purple); font-size:9px; font-weight:850; line-height:1.2; cursor:pointer; }
.venue-live-report:hover { color:var(--venue-text); text-decoration:underline; text-underline-offset:3px; }
.venue-demo-label { padding:6px 8px; border:1px solid rgba(117,73,255,.25); border-radius:999px; color:var(--venue-purple); font-size:8px; font-weight:900; letter-spacing:.08em; }
.venue-intelligence.is-demo { border-color:rgba(117,73,255,.25); background:radial-gradient(circle at 90% 0,rgba(117,73,255,.13),transparent 42%),linear-gradient(145deg,rgba(21,23,29,.94),rgba(11,12,16,.94)); }

.venue-story>.venue-weekly-pattern { width:100%; min-width:0; align-self:stretch; margin:0; padding-block:18px; box-sizing:border-box; }
.venue-weekly-pattern .section-head { align-items:center; margin-bottom:12px; }
.venue-weekly-pattern .section-head h2 { font-size:15px; }
.venue-weekly-pattern .venue-schedule-preview { padding:12px 15px; border-radius:13px; }
.venue-weekly-pattern .venue-full-schedule { margin-top:5px; }
.venue-weekly-pattern .venue-full-schedule>summary { padding-bottom:0; }

.venue-weekly-pattern .schedule-event-link {
  min-height:44px;
  align-items:center;
}

.venue-weekly-pattern .schedule-share-trigger {
  display:inline-flex;
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
}

.venue-detail-page .venue-reviews .review-form button[type="submit"],
.venue-detail-page .maps-pill {
  height:44px;
  min-height:44px;
}

.venue-information>div,
.venue-information>div>section,
.venue-information .notes-list,
.venue-information .facility-row { min-width:0; max-width:100%; overflow:hidden; }
.venue-information .facility-row b { min-width:0; overflow-wrap:anywhere; word-break:break-word; }

.crowd-sheet [data-crowd-form] fieldset { margin:18px 0; padding:0; border:0; }
.crowd-sheet [data-crowd-form] legend { margin-bottom:9px; font-size:12px; font-weight:750; }
.crowd-sheet [data-crowd-form] .primary { width:100%; border-color:var(--venue-purple); background:var(--venue-purple); color:#fff; }
.crowd-location-spinner { width:32px; height:32px; margin:24px auto 8px; border:3px solid #ffffff28; border-top-color:var(--venue-purple); border-radius:50%; animation:venue-crowd-spin .8s linear infinite; }
.crowd-past-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:18px; }
.crowd-past-fields label { display:grid; gap:6px; color:var(--muted); font-size:11px; font-weight:700; }
.crowd-past-fields label:last-child { grid-column:1/-1; }
.crowd-past-fields select { width:100%; min-height:42px; padding:8px 10px; border:1px solid #ffffff24; border-radius:8px; background:#0e0e0e; color:#fff; }
.day-mode .crowd-past-fields select { border-color:#d8d2c8; background:#fff; color:#171715; }
.crowd-sheet [data-crowd-form] legend small { color:var(--muted); font-weight:500; }
@keyframes venue-crowd-spin { to { transform:rotate(360deg); } }

@media (max-width:719px) {
  .venue-detail-page .venue-location { display:block; margin:0 0 1px; font-size:11px; }
  .venue-detail-page .place-summary-card h1 { margin-bottom:8px; font-size:clamp(23px,6.6vw,30px); line-height:1; letter-spacing:-.045em; }
  .venue-identity-tags { max-height:56px; overflow:hidden; gap:5px; }
  .venue-identity-tags span { padding:5px 7px; font-size:var(--oonite-meta-font-size,10px); }
  .venue-identity-tags .venue-identity-badge { order:-1; }
  .venue-detail-page .place-summary-card .place-intro { margin-block:6px 2px; }
  .venue-live-report { font-size:8px; }
  .venue-live-panel .section-head { align-items:center; }
  .venue-live-panel .section-head h2 { display:block; font-size:14px; }
  .venue-weekly-pattern { order:3; }
  .venue-night-cards { order:4; }
  .venue-weekly-pattern .schedule-share-trigger span { display:none; }
  /* The legacy global section rule centers and shrink-wraps these two
     modules. Give both the same usable mobile rail as the other Venue cards. */
  .venue-detail-page .venue-primary-story > .venue-night-cards,
  .venue-detail-page .venue-primary-story > .venue-weekly-pattern {
    width:100%;
    max-width:none;
    margin-inline:0;
    box-sizing:border-box;
  }
  .venue-detail-page .venue-night-card-rail .night-card.is-venue-card {
    flex:0 0 min(76%,280px);
  }
}

@media (min-width:720px) and (max-width:1023px) {
  .venue-detail-page .venue-hero,
  .venue-detail-page .venue-story,
  .venue-detail-page>.owner-update-link { width:calc(100% - 40px); max-width:960px; }
  .venue-detail-page .venue-story { min-width:0; }
  .venue-detail-page .place-summary-card h1 { margin-bottom:9px; font-size:clamp(27px,3.7vw,36px); }
  .venue-identity-tags { max-height:48px; overflow:hidden; }
}

body.day-mode.place-route .venue-identity-tags .venue-identity-badge { border-color:rgba(91,49,232,.22); background:rgba(91,49,232,.09); color:#5b31e8; }
body.day-mode.place-route .venue-merchant-confirmed { border-color:rgba(0,156,8,.3); background:rgba(0,156,8,.09); color:#087f0e; }
body.day-mode.place-route .venue-merchant-confirmed svg { fill:#0ab313; stroke:#fff; }
body.day-mode.place-route .venue-intelligence.is-demo { background:radial-gradient(circle at 90% 0,rgba(91,49,232,.09),transparent 42%),linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,248,251,.98)); }

@media (min-width:1024px) {
  .venue-information .facility-row { display:block; overflow:visible; }
  .venue-information .facility-row small { display:block; margin-bottom:6px; }
  .venue-information .facility-row b { display:block; overflow-wrap:normal; word-break:normal; line-height:1.5; }
}

/* Desktop Venue story layout */
@media (min-width:1200px) {
  .venue-detail-page {
    grid-template-columns:minmax(0,1fr) minmax(0,.86fr) 330px;
    gap:18px;
    width:min(calc(100% - 48px),1280px);
    margin-inline:auto;
    padding-top:calc(104px + env(safe-area-inset-top));
  }

  .venue-detail-page .venue-hero {
    grid-column:1/-1;
    grid-row:1;
    grid-template-columns:minmax(360px,.86fr) minmax(520px,1.14fr);
    grid-template-areas:"copy image";
    gap:28px;
    width:auto;
    min-width:0;
    margin:0;
    padding-top:0;
    align-items:stretch;
  }

  .venue-detail-page .place-hero-gallery {
    min-height:390px;
    aspect-ratio:auto;
  }

  .venue-detail-page .place-summary-card {
    display:flex;
    min-width:0;
    flex-direction:column;
    justify-content:center;
    padding:24px;
    border:0;
    border-radius:20px;
    background:var(--venue-card);
  }

  .venue-detail-page .place-summary-card h1 {
    font-size:clamp(32px,3.25vw,48px);
  }

  .venue-detail-page .place-summary-card .place-intro {
    display:-webkit-box;
    overflow:hidden;
    font-size:13px;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
  }

  .venue-detail-page .place-action-row {
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 38px 38px;
    width:100%;
    max-width:none;
    gap:6px;
  }

  .venue-detail-page .place-action-row>.place-checkin-action,
  .venue-detail-page .place-action-row>.place-directions-action {
    width:auto;
    min-width:0;
  }

  .venue-detail-page .place-action-row .save-place,
  .venue-detail-page .place-action-row .share-place {
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
  }


  .venue-detail-page .venue-story>section,
  .venue-detail-page .venue-information,
  .venue-detail-page .venue-mobile-info,
  .venue-detail-page .venue-source-note,
  .venue-detail-page .venue-reviews {
    width:auto;
    max-width:none;
    margin:0;
  }

  .venue-detail-page .venue-live-panel {
    grid-column:1;
    grid-row:2;
    height:100%;
    padding:22px;
  }

  .venue-detail-page .venue-live-panel .section-head h2 {
    font-size:16px;
  }

  .venue-detail-page .venue-live-state {
    grid-column:1/-1;
  }

  .venue-detail-page .venue-live-state .venue-live-number.is-label {
    font-size:28px;
  }

  .venue-detail-page .venue-trend svg {
    height:62px;
  }

  .venue-detail-page .venue-night-cards {
    grid-column:1/3;
    grid-row:3;
    height:max-content;
    align-self:start;
  }

  .venue-detail-page .venue-night-card-rail {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .venue-detail-page .venue-night-card-rail:has(.night-card.is-venue-card) {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
  }

  .venue-detail-page .venue-night-card-rail .is-venue-card .night-card-author img,
  .venue-detail-page .venue-night-card-rail .is-venue-card .night-card-author>span {
    width:24px;
    height:24px;
    flex-basis:24px;
  }

  .venue-detail-page .venue-night-card-rail .is-venue-card .night-card-author b {
    font-size:11px;
  }

  .venue-detail-page .venue-night-card-rail .is-venue-card .night-card-author small {
    font-size:9px;
  }

  .venue-detail-page .venue-night-card-rail .is-venue-card .night-card-quick-actions {
    display:flex;
  }

  .venue-detail-page .venue-night-card-rail .is-signal:only-child {
    grid-column:1/-1;
    min-height:160px;
  }

  .venue-detail-page .venue-intelligence {
    grid-column:2;
    grid-row:2;
    padding:22px;
  }

  .venue-detail-page .venue-intelligence .section-head h2 {
    font-size:16px;
  }

  .venue-detail-page .venue-intelligence-grid {
    gap:5px;
  }

  .venue-detail-page .venue-intelligence-grid strong {
    font-size:15px;
  }

  .venue-detail-page .venue-weekly-pattern {
    grid-column:1/3;
    grid-row:4;
  }

  .venue-detail-page .venue-story>.venue-quick-panel {
    display:block;
    grid-column:3;
    grid-row:2;
    padding:22px;
  }

  .venue-detail-page .venue-story>.venue-quick-panel .venue-facts {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .venue-detail-page .venue-story>.venue-quick-panel .venue-facts>div {
    padding:12px;
    border-right:1px solid var(--venue-line);
    border-bottom:1px solid var(--venue-line);
  }

  .venue-detail-page .venue-story>.venue-quick-panel .venue-facts>div:nth-child(2n) {
    border-right:0;
  }

  .venue-detail-page .venue-story>.venue-quick-panel .venue-facts>div:nth-last-child(-n+2) {
    border-bottom:0;
  }

  .venue-detail-page .venue-information {
    grid-column:3;
    grid-row:3/6;
    grid-template-columns:1fr;
    gap:12px;
    align-self:start;
  }

  .venue-detail-page .venue-information-quick {
    display:none;
  }

  .venue-detail-page .venue-source-note {
    grid-column:3;
    grid-row:6;
  }

  .venue-detail-page .venue-reviews {
    grid-column:1/3;
    grid-row:5;
    align-self:start;
  }

  .venue-detail-page>.owner-update-link {
    grid-column:1/-1;
    width:auto;
    margin:0;
  }
}

/* App Shell tablet mode keeps the venue story spacious instead of forcing a
   narrow two-column hero beside the collapsed navigation rail. */
@media (min-width:720px) and (max-width:1199px) {
  #app > .app-shell .venue-detail-page .venue-story {
    grid-template-columns:minmax(0,1fr);
  }

  #app > .app-shell .venue-detail-page .venue-live-panel,
  #app > .app-shell .venue-detail-page .venue-intelligence,
  #app > .app-shell .venue-detail-page .venue-quick-panel,
  #app > .app-shell .venue-detail-page .venue-information,
  #app > .app-shell .venue-detail-page .venue-reviews {
    width:100%;
    min-width:0;
    box-sizing:border-box;
  }

  #app > .app-shell .venue-detail-page .place-hero-gallery {
    width:100%;
  }

  #app > .app-shell .venue-detail-page .place-summary-card {
    width:100%;
    max-width:none;
  }
}

/* Venue Detail receives its outer top and bottom spacing from the global
   detail Page Frame. The hero keeps its existing internal composition. */
@media (min-width:720px) {
  #app > .app-shell .app-shell-main-content > [data-oonite-page-frame='true'].venue-detail-page .venue-hero {
    padding-top:0;
  }
}

@media (min-width:720px) and (max-width:899px) {
  #app > .app-shell .venue-detail-page .venue-story {
    grid-template-columns:1fr;
  }

  #app > .app-shell .venue-detail-page .venue-live-panel,
  #app > .app-shell .venue-detail-page .venue-intelligence {
    grid-column:1;
  }
}

/* Pad landscape keeps information modules wide enough to scan comfortably. */
@media (min-width:1024px) and (max-width:1199px) {
  .venue-detail-page .venue-story>.venue-quick-panel {
    display:block;
    grid-column:1/-1;
  }

  .venue-detail-page .venue-story>.venue-quick-panel .venue-facts {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .venue-detail-page .venue-information {
    grid-column:1/-1;
    grid-template-columns:minmax(0,1fr);
  }

  .venue-detail-page .venue-information-quick {
    display:none;
  }
}

/* Venue modules are the surface. Nested information stays flat in both themes. */
.venue-detail-page .venue-facts,
.venue-detail-page .venue-schedule-preview.is-empty,
.venue-detail-page .venue-live-empty,
.venue-detail-page .venue-intelligence-empty,
.venue-detail-page .venue-information .notes-list,
.venue-detail-page .venue-information .transit-list,
.venue-detail-page .venue-information .facility-list {
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.venue-detail-page .venue-facts {
  gap:8px;
  overflow:visible;
}

.venue-detail-page .venue-facts>div,
.venue-detail-page .venue-story>.venue-quick-panel .venue-facts>div,
.venue-detail-page .venue-story>.venue-quick-panel .venue-facts>div:nth-child(2n),
.venue-detail-page .venue-story>.venue-quick-panel .venue-facts>div:nth-last-child(-n+2) {
  border:0;
  border-radius:0;
  background:transparent;
}

.venue-detail-page .venue-information .notes-list,
.venue-detail-page .venue-information .transit-list,
.venue-detail-page .venue-information .facility-list {
  gap:8px;
}

.venue-detail-page .venue-information .notes-list>div,
.venue-detail-page .venue-information .transit-list>div,
.venue-detail-page .venue-information .facility-row {
  padding:10px 12px;
  border:0;
  border-radius:0;
  background:transparent;
}

body.day-mode.place-route .venue-detail-page .venue-facts>div,
body.day-mode.place-route .venue-detail-page .venue-information .notes-list>div,
body.day-mode.place-route .venue-detail-page .venue-information .transit-list>div,
body.day-mode.place-route .venue-detail-page .venue-information .facility-row {
  background:transparent;
}

.venue-detail-page .venue-schedule-preview {
  padding:12px 14px;
}
.venue-detail-page .venue-schedule-preview:not(.is-empty){width:100%;margin:0;box-shadow:none}

.venue-detail-page .venue-live-empty,
.venue-detail-page .venue-intelligence-empty {
  padding-inline:0;
}

.venue-detail-page .venue-night-card-rail>article:not(.night-card),
.venue-detail-page .venue-night-card-rail .is-signal {
  border:0;
  background:transparent;
  box-shadow:none;
}

body.place-route .venue-detail-page .venue-facts,
body.place-route .venue-detail-page .venue-schedule-preview.is-empty,
body.place-route .venue-detail-page .venue-live-empty,
body.place-route .venue-detail-page .venue-intelligence-empty,
body.place-route .venue-detail-page .venue-information .notes-list,
body.place-route .venue-detail-page .venue-information .transit-list,
body.place-route .venue-detail-page .venue-information .facility-list,
body.place-route .venue-detail-page .venue-night-card-rail>article:not(.night-card) {
  border-color:transparent;
  background:transparent;
  box-shadow:none;
}

.venue-primary-story,
.venue-sidebar {
  display:contents;
}

@media (min-width:1200px) {
  .venue-detail-page {
    display:block;
  }

  .venue-detail-page .venue-story {
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:18px;
    margin-top:18px;
  }

  .venue-detail-page .venue-primary-story {
    display:grid;
    min-width:0;
    align-items:start;
    align-content:start;
  }

  .venue-detail-page .venue-sidebar {
    display:grid;
    min-width:0;
    align-content:start;
  }

  .venue-detail-page .venue-primary-story>section,
  .venue-detail-page .venue-sidebar>section {
    min-width:0;
    margin:0;
    padding:22px;
    border:0;
    border-radius:20px;
    background:linear-gradient(145deg,rgba(21,23,29,.94),rgba(11,12,16,.94));
    box-sizing:border-box;
  }

  body.day-mode.place-route .venue-detail-page .venue-primary-story>section,
  body.day-mode.place-route .venue-detail-page .venue-sidebar>section {
    background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,248,251,.98));
    box-shadow: none;
  }

  .venue-detail-page .venue-primary-story>.venue-live-panel,
  .venue-detail-page .venue-primary-story>.venue-intelligence,
  .venue-detail-page .venue-primary-story>.venue-night-cards,
  .venue-detail-page .venue-primary-story>.venue-weekly-pattern,
  .venue-detail-page .venue-primary-story>.venue-reviews {
    grid-row:auto;
  }

  .venue-detail-page .venue-primary-story>.venue-live-panel {
    grid-column:1;
  }

  .venue-detail-page .venue-primary-story>.venue-intelligence {
    grid-column:2;
  }

  .venue-detail-page .venue-primary-story>.venue-night-cards,
  .venue-detail-page .venue-primary-story>.venue-weekly-pattern,
  .venue-detail-page .venue-primary-story>.venue-reviews {
    grid-column:1/-1;
  }

  .venue-detail-page .venue-sidebar>.venue-quick-panel,
  .venue-detail-page .venue-sidebar>.venue-information,
  .venue-detail-page .venue-sidebar>.venue-source-note {
    width:auto;
    grid-column:auto;
    grid-row:auto;
    margin:0;
  }

  .venue-detail-page .venue-sidebar>.venue-quick-panel .venue-facts {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .venue-detail-page>.owner-update-link {
    display:flex;
    margin-top:18px;
  }
}

/* Final desktop/tablet overrides: these follow the shell-specific legacy
   layers above so the refinement wins without touching mobile rules. */
@media (min-width:1200px) {
  .venue-detail-page .venue-primary-story {
    grid-template-columns:minmax(0,1fr);
    gap:16px;
  }

  .venue-detail-page .venue-primary-story>.venue-live-panel,
  .venue-detail-page .venue-primary-story>.venue-intelligence,
  .venue-detail-page .venue-primary-story>.venue-night-cards,
  .venue-detail-page .venue-primary-story>.venue-weekly-pattern,
  .venue-detail-page .venue-primary-story>.venue-reviews {
    grid-column:1;
  }

  .venue-detail-page .venue-live-layout {
    grid-template-columns:1.45fr 1fr 1fr;
    gap:24px;
  }

  .venue-detail-page .venue-live-panel,
  .venue-detail-page .venue-intelligence {
    min-height:0;
    padding:24px;
  }

  .venue-detail-page .venue-sidebar {
    gap:16px;
  }
}

@media (min-width:720px) and (max-width:1199px) {
  #app > .app-shell .venue-detail-page .venue-hero {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"image" "copy";
    gap:16px;
    align-items:start;
  }

  #app > .app-shell .venue-detail-page .place-hero-gallery {
    min-height:0;
  }

  #app > .app-shell .venue-detail-page .place-summary-card h1 {
    font-size:clamp(28px,3.2vw,38px);
  }

  #app > .app-shell .venue-detail-page .place-summary-card .place-intro {
    max-width:760px;
    font-size:13px;
    line-height:1.55;
  }
}

/* Desktop decision layer: keep the venue carousel present, but let the
   venue identity and tonight signals carry the first decision. */
@media (min-width:720px) {
  #app > .app-shell .app-shell-main-content > [data-oonite-page-frame='true'].venue-detail-page {
    padding-top:clamp(20px, 2.6vw, 32px);
  }

  #app > .app-shell .venue-detail-page .venue-hero {
    gap:18px;
  }

  #app > .app-shell .venue-detail-page .place-hero-gallery {
    border-radius:20px;
    box-shadow: none;
  }

  #app > .app-shell .venue-detail-page .venue-story {
    gap:14px;
  }

  #app > .app-shell .venue-detail-page .venue-story > section,
  #app > .app-shell .venue-detail-page .venue-information > div > section {
    padding:20px;
  }
}

@media (min-width:1200px) {
  #app > .app-shell .venue-detail-page .venue-hero {
    grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);
    gap:24px;
  }

  #app > .app-shell .venue-detail-page .place-hero-gallery {
    min-height:350px;
    aspect-ratio:1.36 / 1;
  }

  #app > .app-shell .venue-detail-page .place-summary-card {
    padding:22px 24px;
  }

  #app > .app-shell .venue-detail-page .place-summary-card h1 {
    font-size:clamp(32px, 2.9vw, 44px);
  }

  #app > .app-shell .venue-detail-page .place-action-row {
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 42px 42px;
  }

  #app > .app-shell .venue-detail-page .venue-primary-story {
    gap:14px;
  }

  #app > .app-shell .venue-detail-page .venue-primary-story > section {
    padding:20px;
  }

  #app > .app-shell .venue-detail-page .venue-primary-story > .venue-live-panel {
    order:1;
    border-color:rgba(117,73,255,.3);
    background:linear-gradient(145deg,rgba(117,73,255,.11),rgba(17,19,24,.95) 48%);
  }

  #app > .app-shell .venue-detail-page .venue-primary-story > .venue-weekly-pattern {
    order:2;
  }

  #app > .app-shell .venue-detail-page .venue-primary-story > .venue-intelligence {
    order:3;
  }

  #app > .app-shell .venue-detail-page .venue-primary-story > .venue-night-cards {
    order:4;
  }

  #app > .app-shell .venue-detail-page .venue-primary-story > .venue-reviews {
    order:5;
  }

  #app > .app-shell .venue-detail-page .venue-live-layout {
    grid-template-columns:1.35fr 1fr .9fr;
    gap:16px;
  }

  #app > .app-shell .venue-detail-page .venue-live-state .venue-live-number {
    font-size:40px;
  }

  #app > .app-shell .venue-detail-page .venue-sidebar {
    gap:14px;
  }

  body.day-mode.place-route #app > .app-shell .venue-detail-page .venue-primary-story > .venue-live-panel {
    background:linear-gradient(145deg,rgba(91,49,232,.08),rgba(255,255,255,.98) 54%);
  }
}

@media (min-width:720px) and (max-width:1199px) {
  #app > .app-shell .venue-detail-page .place-hero-gallery {
    aspect-ratio:2.35 / 1;
  }

  #app > .app-shell .venue-detail-page .place-summary-card {
    padding:20px 22px;
  }
}

/* Keep every practical-information card on one shared label/value rhythm. */
.venue-detail-page .venue-sidebar .section-head,
.venue-detail-page .venue-information .section-head {
  min-height:52px;
  margin-bottom:12px;
  align-content:start;
}

.venue-detail-page .venue-sidebar .section-head .eyebrow,
.venue-detail-page .venue-information .section-head .eyebrow {
  font-size:9px;
  line-height:1.2;
}

.venue-detail-page .venue-sidebar .section-head h2,
.venue-detail-page .venue-information .section-head h2 {
  margin-top:8px;
  font-size:15px;
  line-height:1.2;
}

.venue-detail-page .venue-facts,
.venue-detail-page .venue-information .notes-list,
.venue-detail-page .venue-information .transit-list,
.venue-detail-page .venue-information .facility-list,
.venue-detail-page .venue-mobile-fold .notes-list,
.venue-detail-page .venue-mobile-fold .transit-list,
.venue-detail-page .venue-mobile-fold .facility-list {
  gap:0;
  padding:0;
  background:transparent;
}

.venue-detail-page .venue-facts>div,
.venue-detail-page .venue-information .notes-list>div,
.venue-detail-page .venue-information .transit-list>div,
.venue-detail-page .venue-information .facility-row,
.venue-detail-page .venue-mobile-fold .notes-list>div,
.venue-detail-page .venue-mobile-fold .transit-list>div,
.venue-detail-page .venue-mobile-fold .facility-row {
  display:grid;
  min-height:34px;
  grid-template-columns:88px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:9px 0;
  border:0;
  background:transparent;
  box-sizing:border-box;
}

.venue-detail-page .venue-facts small,
.venue-detail-page .venue-information .notes-list small,
.venue-detail-page .venue-information .transit-list small,
.venue-detail-page .venue-information .facility-row small,
.venue-detail-page .venue-mobile-fold small {
  margin:0;
  font-size:var(--oonite-meta-font-size,10px);
  line-height:1.35;
}

.venue-detail-page .venue-facts b,
.venue-detail-page .venue-information .notes-list b,
.venue-detail-page .venue-information .transit-list b,
.venue-detail-page .venue-information .facility-row b,
.venue-detail-page .venue-mobile-fold b {
  margin:0;
  font-size:10px;
  line-height:1.45;
}

@media (min-width:720px) {
  #app .venue-detail-page .venue-sidebar .venue-quick-panel .venue-facts {
    grid-template-columns:1fr;
  }
}

@media (max-width:719px) {
  .venue-detail-page .venue-sidebar>.venue-quick-panel {
    display:block;
    width:100%;
    padding:18px;
    border:0;
    border-radius:17px;
    background:linear-gradient(145deg,rgba(21,23,29,.94),rgba(11,12,16,.94));
    box-sizing:border-box;
  }

  body.day-mode.place-route .venue-detail-page .venue-sidebar>.venue-quick-panel {
    background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,248,251,.98));
    box-shadow: none;
  }

  #app .venue-detail-page .venue-sidebar>.venue-quick-panel .venue-facts {
    grid-template-columns:1fr;
  }

  .venue-detail-page .venue-sidebar .section-head {
    min-height:0;
  }
}

.venue-detail-page .maps-pill,
body.day-mode.place-route .venue-detail-page .maps-pill {
  display:inline;
  min-height:0;
  height:auto;
  margin-left:6px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font-size:inherit;
  line-height:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
  box-shadow:none;
}

.venue-detail-page .maps-pill:hover,
.venue-detail-page .maps-pill:focus-visible,
body.day-mode.place-route .venue-detail-page .maps-pill:hover,
body.day-mode.place-route .venue-detail-page .maps-pill:focus-visible {
  background:transparent;
  color:var(--purple);
}

/* Only stable search concepts are links; editorial recommendation badges stay
   descriptive spans. */
.venue-identity-tags a{padding:6px 9px;border:0;border-radius:999px;background:rgba(117,73,255,.12);color:#b49fff;font-size:10px;font-weight:800;line-height:1.2;text-decoration:none}
.venue-identity-tags a:focus-visible{outline:2px solid #684cff;outline-offset:2px}
body.day-mode.place-route .venue-identity-tags a{border-color:rgba(91,49,232,.24);background:rgba(91,49,232,.09);color:#5b31e8}
@media(max-width:719px){.venue-identity-tags a{padding:5px 7px;font-size:var(--oonite-meta-font-size,10px)}.venue-identity-tags a:nth-child(n+4){display:none}}

/* The transformed Hero is 16:9 at every breakpoint; avoid a second crop in
   the CSS slot, including the former tall tablet and desktop overrides. */
#app > .app-shell .venue-detail-page .place-hero-gallery,
.venue-detail-page .place-hero-gallery{
  height:auto;
  min-height:0;
  aspect-ratio:16 / 9;
  align-self:center;
}
.venue-detail-page .place-hero-gallery.is-photo-missing{
  display:grid;
  place-items:center;
  background:#e8e7eb;
}
.venue-detail-page .place-hero-gallery.is-photo-missing .venue-media-missing{
  color:#66616e;
  font-size:14px;
  font-weight:600;
}

/* Venue programme: an inverse day/night surface, without nested card padding. */
body.place-route .place-detail.venue-detail-page .venue-primary-story > .venue-weekly-pattern {
  width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box;
  --programme-surface:#f5f3ee;
  --programme-ink:#171719;
  --programme-muted:#686571;
  --programme-line:rgba(23,23,25,.18);
  --programme-accent:#7549ff;
  --programme-today:rgba(117,73,255,.10);
  padding:20px 16px 8px;
  border:1px solid var(--programme-line);
  border-radius:14px;
  background:var(--programme-surface);
  color:var(--programme-ink);
  box-shadow:none;
}
body.day-mode.place-route .venue-detail-page .venue-primary-story > .venue-weekly-pattern {
  --programme-surface:#171719;
  --programme-ink:#f5f3ee;
  --programme-muted:#b9b7c0;
  --programme-line:rgba(245,243,238,.22);
  --programme-accent:#b7a8f8;
  --programme-today:rgba(183,168,248,.15);
}
body.place-route .venue-detail-page .venue-weekly-pattern .section-head {
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px;
  margin:0 0 18px;padding:0;
}
body.place-route .venue-detail-page .venue-weekly-pattern .section-head>div {min-width:0}
body.place-route .venue-detail-page .venue-weekly-pattern .eyebrow {
  position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
body.place-route .venue-detail-page .venue-programme-title {
  display:block;color:var(--programme-ink);font-family:Impact,'Arial Narrow','DM Sans',sans-serif;
  font-size:clamp(48px,8vw,76px);font-weight:900;line-height:1;letter-spacing:-.035em;
}
body.place-route .venue-detail-page .venue-weekly-pattern h2 {
  margin:8px 0 0;color:var(--programme-ink);font-size:18px;font-weight:800;line-height:1.3;letter-spacing:-.025em;
}
body.place-route .venue-detail-page .venue-weekly-pattern .schedule-share-trigger {
  position:static;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;
  padding:10px;border:0;border-radius:8px;background:transparent;color:var(--programme-ink);box-shadow:none;
}
body.place-route .venue-detail-page .venue-weekly-pattern .schedule-share-trigger span {display:none}
body.place-route .venue-detail-page .venue-weekly-pattern .schedule-share-trigger svg {width:22px;height:22px}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-schedule-preview {
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;
  width:100%;margin:0;padding:0 0 0 12px;border:0;border-left:4px solid var(--programme-accent);
  border-radius:0;background:transparent;color:var(--programme-ink);box-shadow:none;box-sizing:border-box;
}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-schedule-preview small {
  grid-column:1 / -1;color:var(--programme-muted);font-size:10px;font-weight:700;letter-spacing:.12em;
}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-schedule-preview strong {
  min-width:0;color:var(--programme-ink);font-size:17px;font-weight:750;line-height:1.35;overflow-wrap:anywhere;
}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-schedule-preview>span:not(.event-category-badge) {
  grid-column:auto;grid-row:auto;color:var(--programme-ink);font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums;
}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-schedule-preview.is-empty {
  display:block;padding:2px 0 2px 12px;background:transparent;
}
body.place-route .venue-detail-page .venue-weekly-pattern .oonite-empty-note {margin:0;color:var(--programme-muted);font-size:14px}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-full-schedule {margin-top:18px}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-full-schedule>summary {
  display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;
  margin:0;padding:10px 0;border-top:1px solid var(--programme-line);color:var(--programme-ink);
  font-size:13px;font-weight:650;line-height:1.4;text-align:left;list-style:none;box-sizing:border-box;
}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-full-schedule>summary span {font-size:19px;transform:rotate(0deg)}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-full-schedule[open]>summary span {transform:rotate(90deg)}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list {display:grid;gap:0;margin:0;padding:0}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-row {
  position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;
  min-height:52px;margin:0;padding:10px 4px;border:0;border-top:1px solid var(--programme-line);
  border-radius:0;background:transparent;box-shadow:none;box-sizing:border-box;
}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-row::before {display:none}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-row>strong {
  color:var(--programme-muted);font-size:10px;font-weight:750;letter-spacing:.08em;line-height:1.4;
}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-row>div {min-width:0;gap:4px}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-row>div>span,
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-row small {
  color:var(--programme-muted);font-size:12px;font-weight:400;line-height:1.4;
}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-row small {font-size:10px}
body.place-route .venue-detail-page .venue-weekly-pattern .schedule-event-link {
  display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;
  width:100%;padding:0;background:transparent;color:var(--programme-ink);text-decoration:none;
}
body.place-route .venue-detail-page .venue-weekly-pattern .schedule-event-link>span:first-child {
  min-width:0;color:var(--programme-ink);font-size:13px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;
}
body.place-route .venue-detail-page .venue-weekly-pattern .schedule-times {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:0}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .schedule-event-link .schedule-time,
body.place-route .venue-detail-page .venue-weekly-pattern .schedule-separator {color:var(--programme-ink);font-size:11px;font-style:normal;font-variant-numeric:tabular-nums;white-space:nowrap}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .today-day {
  border-radius:8px;background:var(--programme-today);box-shadow:inset 3px 0 var(--programme-accent);
}
body.place-route .venue-detail-page .venue-weekly-pattern .weekly-list .today-day>strong {color:var(--programme-accent)}
body.place-route .venue-detail-page .venue-weekly-pattern button:focus-visible,
body.place-route .venue-detail-page .venue-weekly-pattern a:focus-visible,
body.place-route .venue-detail-page .venue-weekly-pattern summary:focus-visible {outline:2px solid var(--programme-accent);outline-offset:3px}
@media(max-width:360px) {
  body.place-route .venue-detail-page .venue-weekly-pattern .venue-schedule-preview {grid-template-columns:minmax(0,1fr)}
  body.place-route .venue-detail-page .venue-weekly-pattern .venue-schedule-preview>span:not(.event-category-badge) {grid-column:1}
  body.place-route .venue-detail-page .venue-weekly-pattern .schedule-event-link {flex-wrap:wrap;gap:2px}
}

/* Concrete-date programme, shared by responsive views. */
.venue-tonight-events { display:grid;gap:8px; }
body.place-route .venue-detail-page .venue-weekly-pattern .venue-tonight-event {text-decoration:none}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-tonight-event>.event-category-badge {grid-column:1 / -1;justify-self:start}
body.place-route .venue-detail-page .venue-weekly-pattern .venue-week-range {color:var(--programme-muted);font-size:12px;margin:8px 0 16px}
.weekly-list .venue-event-kind { display:block;font-size:10px;font-weight:500;opacity:.75; }

/* Venue introduction owns its excerpt and sheet; legacy .place-intro card rules do not apply. */
.venue-detail-page .venue-intro {
  display:block; width:100%; min-width:0; margin:6px 0 4px; padding:0;
  border:0; border-radius:0; background:none; box-shadow:none;
  color:var(--venue-muted,#a8a5b2); font-family:inherit; font-size:14px; font-weight:500; line-height:1.65;
  overflow-wrap:anywhere;
}
.venue-intro-more {
  display:inline; min-height:0; min-width:0; padding:0; margin:0; border:0;
  border-radius:0; background:none; box-shadow:none; color:var(--purple,#7952ff);
  font:inherit; font-weight:650; white-space:nowrap; cursor:pointer;
}
.venue-intro-more[hidden] { display:none; }
.venue-intro-more:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.venue-intro-dialog {
  position:fixed; inset:auto 0 0; width:100%; max-width:100%; max-height:82vh;
  max-height:82dvh; margin:0; padding:0; border:1px solid #ffffff18;
  border-radius:24px 24px 0 0; background:#1d1b26; color:#f6f4fc;
  box-sizing:border-box; box-shadow:0 -12px 60px #0003; overflow:hidden;
  z-index:10000;
}
.venue-intro-dialog[open] { display:flex; flex-direction:column; }
.venue-intro-dialog::backdrop,.venue-intro-backdrop { background:#100d1c88; }
.venue-intro-backdrop { position:fixed; inset:0; z-index:9999; }
.venue-intro-dialog header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 20px 12px; flex:none; }
.venue-intro-dialog h2 { margin:0; font-size:20px; line-height:1.4; }
.venue-intro-dialog header button { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:10px; border:0; border-radius:50%; background:#ffffff10; color:inherit; cursor:pointer; }
.venue-intro-dialog svg { fill:none; stroke:currentColor; stroke-width:1.8; }
.venue-intro-full { padding:0 24px calc(28px + env(safe-area-inset-bottom,0px)); overflow-y:auto; overscroll-behavior:contain; min-height:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:16px; line-height:1.8; }
.day-mode .venue-intro-dialog { background:#faf9fd; color:#292633; }
.day-mode .venue-intro-dialog header button { background:#eeebf5; }
@media(min-width:768px) {
  .venue-intro-dialog { inset:0; width:calc(100% - 64px); max-width:560px; max-height:70vh; margin:auto; border-radius:24px; }
  .venue-intro-dialog header { padding:24px 24px 16px; }
  .venue-intro-full { padding:0 28px 32px; }
}
.venue-week-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px}
.venue-week-navigation .venue-week-range{margin:8px 0;text-align:center}
.venue-week-navigation button{display:grid;place-items:center;flex:none;width:40px;height:40px;border:0;border-radius:50%;background:var(--oonite-pill-surface,rgba(120,112,140,.12));color:inherit}
.venue-week-navigation svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Phone day surfaces follow the approved page canvas; night keeps cards. */
@media(max-width:719px){
 :root:not([data-native-platform="ios"]) body.day-mode #app .place-detail > .inside,
 :root:not([data-native-platform="ios"]) body.day-mode #app .place-detail > .venue-intelligence,
 :root:not([data-native-platform="ios"]) body.day-mode #app .place-detail > .venue-night-cards,
 :root:not([data-native-platform="ios"]) body.day-mode #app .place-detail > .venue-reviews {border:0;border-radius:0;background:transparent;box-shadow:none;}
}

.schedule-event-link .event-category-badge{margin-inline-start:6px}

/* Keep directory facts readable within the shared venue sidebar. */
#app .venue-detail-page[data-beijing-directory] .venue-primary-story,
#app .venue-detail-page[data-beijing-directory] .venue-quick-panel,
#app .venue-detail-page[data-beijing-directory] .venue-facts,
#app .venue-detail-page[data-beijing-directory] .venue-facts>div,
#app .venue-detail-page[data-beijing-directory] .venue-facts b {
  min-width:0;
}
/* Regional upcoming activities share the venue programme contrast tokens. */
#app .venue-detail-page[data-beijing-directory] .venue-weekly-pattern h2 {
  color:var(--programme-ink);
}

[data-directory-frame][data-city-directory] :is(.venue-breadcrumb,.venue-location,.venue-primary-story > section > :not(.section-head),.venue-sidebar dl) { visibility:hidden }
[data-directory-frame][data-city-directory] .venue-primary-story > section > :not(.section-head) { position:relative }
[data-directory-frame][data-city-directory][aria-busy="true"] .venue-primary-story > section > :not(.section-head)::before {
 content:""; visibility:visible; display:block; position:absolute; inset:0 auto auto 0;
 width:min(65%,18rem); height:.75em; border-radius:.375em; background:currentColor; opacity:.08;
}
[data-directory-frame][data-city-directory][aria-busy="false"] :is(.venue-primary-story > section,.venue-sidebar,.venue-mobile-info) { display:none }

.venue-detail-page .directory-gallery-back {
  position:absolute; z-index:1; inset-block-start:12px; inset-inline-start:12px;
  display:grid; place-items:center; width:44px; height:44px; border-radius:50%;
  color:white; background:rgba(0,0,0,.65);
}

@media(max-width:719px) {
  body #app .place-action-row .directory-wide-share { display:none; }
}
:root[data-native-platform="ios"] body #app .place-action-row .directory-wide-share { display:none; }

/* Merchant detail labels carry editorial copy and optional source links. */
.venue-detail-labels:not([hidden]) {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  min-width:0;
}
.venue-detail-labels > :is(a, span) {
  max-inline-size:100%;
  box-sizing:border-box;
  border-radius:999px;
  background:#292044;
  color:#d8c9ff;
  padding:5px 10px;
  font-size:var(--oonite-meta-font-size, 12px);
  font-weight:750;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.venue-detail-labels > a { text-decoration:underline; text-underline-offset:2px; }
.venue-detail-labels > a:focus-visible { outline:2px solid #684cff; outline-offset:2px; }
body.day-mode .venue-detail-labels > :is(a, span) { background:#ece6ff; color:#4d27b9; }

.venue-detail-page .merchant-venue-notice {
  margin: 12px 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.venue-detail-page .merchant-venue-notice p { margin: 4px 0; overflow-wrap: anywhere; }
.venue-detail-page .merchant-venue-notice time { font-size: .8rem; opacity: .8; }

.venue-editorial-recommendation {
  margin-block: 12px;
  padding-inline-start: 12px;
  border-inline-start: 2px solid currentColor;
}
.venue-editorial-recommendation h2 { margin: 0 0 4px; font-size: .875rem; font-weight: 700; }
.venue-editorial-recommendation p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }

.venue-coupons:not([hidden]) { display:grid; gap:10px; margin-block:14px; }
.venue-coupons article { display:grid; gap:6px; padding:12px; border:1px solid currentColor; border-radius:12px; }
.venue-coupons h2,.venue-coupons p { margin:0; }
.venue-coupons button { justify-self:start; }

.venue-coupons [data-coupon-stock="available"] { color:#508b3c; }
.venue-coupons [data-coupon-stock="low"] { color:#dc5b58; }

.venue-detail-page:has(.venue-coupons-rail) .place-action-row > .discovery-bookmark {
  grid-column:3;
  display:grid;
  place-items:center;
  width:44px;
  min-width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:var(--venue-card);
  color:var(--venue-purple);
}
.venue-detail-page:has(.venue-coupons-rail) .place-action-row > .discovery-bookmark[aria-pressed="true"] {
  background:rgba(117,73,255,.18);
}
.venue-coupons-rail {
  display:flex;
  gap:10px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}
.venue-coupons-rail::-webkit-scrollbar { display:none; }
.venue-coupons .venue-coupons-rail > article {
  flex:0 0 min(76%, 248px);
  min-width:0;
  scroll-snap-align:start;
  align-content:start;
  background:var(--venue-card);
  border-color:var(--venue-line);
}
.venue-coupons-rail > article:only-child { flex-basis:min(100%, 248px); }
.venue-coupons-rail [data-coupon-terms] { font-size:.8rem; }
.venue-coupons-rail [data-coupon-terms]:not([open]) summary { cursor:pointer; }

.venue-detail-page .venue-coupons:not([hidden]) {
  width:100%; max-width:100%; box-sizing:border-box; margin:12px 0 0; padding:0; color:var(--venue-text);
}
.venue-detail-page .venue-coupons > h2 { font-size:16px; line-height:1.3; }
.venue-detail-page .venue-coupons-rail > article { flex:0 0 min(88%,290px); }
.venue-detail-page .venue-coupons-rail > article:only-child { flex:1; }
.venue-detail-page .venue-coupons .merchant-claim-status { font-size:12px; }
.venue-detail-page .venue-coupons .merchant-open-app { display:inline-block; color:var(--venue-purple); font-weight:750; }
.venue-detail-page .venue-coupons [data-coupon-stock="available"] { color:#a4cf92; }
.venue-detail-page .venue-coupons [data-coupon-stock="low"] { color:#ff9da7; }
.day-mode .venue-detail-page .venue-coupons [data-coupon-stock="available"] { color:#316426; }
.day-mode .venue-detail-page .venue-coupons [data-coupon-stock="low"] { color:#a32834; }
@media(min-width:1000px) { .venue-detail-page .venue-coupons-rail > article { flex-basis:min(48%,280px); } }

.venue-detail-page .venue-coupons-rail[data-offer-count="1"] > article { flex:1 0 100%; }
.venue-detail-page .venue-coupons-rail[data-offer-count="2"] > article,
.venue-detail-page .venue-coupons-rail[data-offer-count="3"] > article { flex:1 0 min(48%,220px); }
@media(min-width:720px) {
  .venue-detail-page .venue-coupons-rail[data-offer-count="3"] > article { flex-basis:calc((100% - 24px)/3); }
}
.merchant-claim-receipt { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-block:8px; }
.venue-coupons .merchant-use-ticket { display:inline-flex; padding:8px 12px; border-radius:999px; color:#35206e; background:#e7defc; font-weight:750; }
[data-coupon-focused] { outline:2px solid var(--oonite-accent,#6546f5); }
