/* After Dark: Happy Hour's base styles (style.css) + a night-time hero and venue cards. */
.hero { background: repeating-linear-gradient(0deg, transparent 0 10px, rgba(255, 255, 255, .12) 10px 12px), linear-gradient(170deg, #7a4be8 0%, #c33fa8 55%, #ff3d7f 100%); }
.hero::after { background: rgba(255, 201, 60, .35); }
.count-label { color: var(--paper); }
.brand-text b { color: var(--orange); }
.age { position: relative; z-index: 1; margin: 12px 0 0; font-weight: 800; font-size: 13px; color: var(--paper); letter-spacing: .5px; }
.nights { grid-template-columns: repeat(7, 1fr); margin: 0; }
.nights .day { min-height: 44px; display: grid; line-height: 1.1; }
.nights .day small { font-weight: 600; font-size: 11px; }
.nights .day.on { background: #7a4be8; color: #fff; }
.type { display: inline-block; font-size: 12px; font-weight: 800; border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 8px; margin-right: 4px; background: var(--cream); }
.t-club { background: #ffd6f0; } .t-live { background: #fff1c7; } .t-karaoke { background: #d7f5e3; } .t-lounge { background: #ffe1cf; } .t-bar { background: #ece2ff; }
.vibe { margin: 10px 0 0; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 700; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 8px; padding: 3px 8px; }
.note { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.fav { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 800; margin-top: 8px; transform: rotate(-2deg); }
.pin.club { font-size: 13px; }
.rosie { margin-top: 14px; padding: 10px 12px; border: 2px dashed var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 800; }

/* ---- "lights down": After Dark's own darker skin (still the family: Bungee, Outfit, thick outlines) ---- */
:root {
  --cream: #170a22;          /* page */
  --paper: #251136;          /* cards, panels */
  --ink: #fff4e4;            /* text + outlines turn light on dark */
  --ink-soft: #cdb8df;
  --plum: #c9a6ff;
  --shadow: 4px 4px 0 #ff3d7f;
  --shadow-sm: 2px 2px 0 #ff3d7f;
}
body { background: radial-gradient(circle at 20% 0%, #2c1146 0, transparent 55%), radial-gradient(circle at 90% 30%, #3a0f3a 0, transparent 50%), var(--cream); }
.panel { background: transparent; scrollbar-color: #7a4be8 transparent; }
.top { background: #170a22; border-bottom-color: rgba(255, 244, 228, .2); }
.brand-text b { color: #ffc93c; text-shadow: 2px 2px 0 #ff3d7f; }
.clock { background: var(--paper); }
.hero { background: radial-gradient(circle, rgba(255, 255, 255, .55) 0 1px, transparent 1.5px) 0 0/22px 22px, linear-gradient(170deg, #4b1d8f 0%, #8f2a9e 60%, #d4246f 100%); box-shadow: 5px 5px 0 #ffc93c; }
.hero::after { display: none; }
#liveCount { color: #ffc93c; -webkit-text-stroke: 2px #170a22; text-shadow: 4px 4px 0 #170a22; }
.btn { color: var(--ink); }
.btn-pink { color: #170a22; background: #ffc93c; }
.btn[aria-pressed="true"], .btn-ink { background: #ffc93c; color: #170a22; }
.day.on, .nights .day.on { background: #ff3d7f; color: #170a22; }
.chip[aria-pressed="true"] { background: #ffc93c; color: #170a22; }
select { color: var(--ink); }
select option { background: #251136; }
.card.active { background: #2f1645; box-shadow: 6px 6px 0 #ffc93c; }
.card:hover { box-shadow: 6px 6px 0 #ff3d7f; }
.pill.live { color: #170a22; background: #3ee08f; }
.pill.live::before { background: #170a22; }
.pill.soon { background: #ffc93c; color: #170a22; }
.pill.later { background: var(--paper); }
.pill.off { background: transparent; color: var(--ink-soft); border-color: var(--ink-soft); }
.timer b { color: #3ee08f; }
.timer.soon b { color: #ffc93c; }
.timer.later b { color: #c9a6ff; }
.timer.off b { color: var(--ink-soft); }
.type, .fav { color: #170a22; border-color: #170a22; }
.week tr.today td { color: #ffc93c; }
.card-actions .btn-pink { color: #170a22; }
.toast { background: #ffc93c; color: #170a22; box-shadow: 3px 3px 0 #ff3d7f; }
.empty { background: var(--paper); }
.rosie { background: var(--paper); }
.foot a { color: #ffc93c; }
/* dark map */
.leaflet-tile-pane { filter: invert(1) hue-rotate(200deg) brightness(.8) contrast(.95) saturate(.6); }
.leaflet-container { background: #170a22; }
.pin { box-shadow: 0 0 0 3px #170a22, 0 0 14px rgba(255, 61, 127, .55); }
.pin.live { background: #3ee08f; }
.pin.off { background: #4a3a5c; }
.legend, .leaflet-popup-content-wrapper { background: var(--paper); color: var(--ink); }
.leaflet-popup-tip { background: #251136; }
.dot.live { background: #3ee08f; }
.leaflet-control-zoom a { background: #251136 !important; color: #fff4e4 !important; }
.leaflet-control-attribution { background: rgba(23, 10, 34, .8) !important; color: #cdb8df; }
.leaflet-control-attribution a { color: #ffc93c; }

/* DJ Wobble: the resident DJ, with tips that are actually useful */
.hero { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: start; }
.hero > .count, .hero > .hero-actions, .hero > .age { grid-column: 1; }
.dj { grid-column: 2; grid-row: 1 / span 3; position: relative; z-index: 1; width: 128px; display: grid; justify-items: center; gap: 6px; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.dj svg { width: 112px; height: 112px; animation: bob 1.1s ease-in-out infinite; transform-origin: 50% 90%; }
.dj:hover svg, .dj:focus-visible svg { animation-duration: .45s; }
.dj .vinyl { animation: spin 1.8s linear infinite; transform-origin: 31px 86px; transform-box: view-box; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.bubble { position: relative; background: #fff4e4; color: #170a22; border: 3px solid #170a22; border-radius: 14px; padding: 6px 9px; font-weight: 800; font-size: 12.5px; line-height: 1.2; text-align: left; box-shadow: 3px 3px 0 #ffc93c; max-width: 150px; }
.bubble::before { content: ""; position: absolute; top: -9px; left: 50%; border: 6px solid transparent; border-bottom-color: #170a22; transform: translateX(-50%); }
.bubble.pop { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.7); } }
.dj-name { font: 400 11px "Bungee", sans-serif; color: #ffc93c; letter-spacing: .5px; }
@media (max-width: 520px) { .dj { width: 98px; } .dj svg { width: 84px; height: 84px; } .bubble { font-size: 11.5px; max-width: 110px; } }
.type { background: #ece2ff; }
.t-lgbtq { background: #fff4e4; }
