/* style-places.css - the DESIGN of: places: list, place page, busy nights, who is there. Part of the old single style.css (split 2026-11-03); loaded in the order listed in index.html. */
/* places (2026-11-02) */
.place-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.place-list li { display: flex; gap: 12px; align-items: center; background: #1C1C1E; border-radius: 14px; padding: 10px; cursor: pointer; }
.place-photo { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.place-photo.none { display: flex; align-items: center; justify-content: center; font-size: 30px; background: #2C2C2E; }
.place-text { flex: 1; min-width: 0; }
.bar-here-banner { width: 100%; margin-bottom: 10px; background: #FF9F0A; color: #000; }
.place-page h2 { margin: 6px 0 2px; }
.place-cover { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; }
.place-about { white-space: pre-wrap; color: #CFCFD4; margin: 4px 0 8px; }
.place-links { gap: 6px; flex-wrap: wrap; }
.place-links a { flex: 1; }
.place-ig { color: #FF6FB5 !important; }
.place-people { display: flex; flex-wrap: wrap; gap: 6px; }
#btn-place-menu { width: 100%; margin: 10px 0 4px; }

/* places in the chat list + opening hours + happy hour rules (2026-11-02) */
.place-av { object-fit: cover; }
.chat-place-row { background: rgba(10, 132, 255, 0.07); }
.chat-place-row.here { background: rgba(255, 159, 10, 0.12); border-left: 2px solid #FF9F0A; }
.place-open { font-weight: 700; margin: 0 0 6px; } .place-open.on { color: #30D158; } .place-open.off { color: #FF453A; }
.place-person { border: none; color: inherit; cursor: pointer; }
.place-person.friend { outline: 1px solid #30D158; }
.bar-hours { display: flex; flex-direction: column; gap: 4px; }
.bar-hours-row { align-items: center; gap: 6px !important; }
.bar-hours-row b { width: 36px; }
.bar-hours-row input[type=time] { width: 96px; }
.bar-rule-form { background: #1C1C1E; border-radius: 12px; padding: 10px; margin: 6px 0; }
.cal-kind.on { background: #06C755; color: #000; }

/* the place page, Instagram style (2026-11-02) */
.ig .ig-head { display: flex; align-items: center; gap: 18px; margin: 4px 0 6px; }
.ig-av { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; border: 3px solid #FF9F0A; flex-shrink: 0; }
.ig-av.none { display: flex; align-items: center; justify-content: center; font-size: 40px; background: #2C2C2E; }
.ig-stats { flex: 1; display: flex; justify-content: space-around; text-align: center; }
.ig-stats b { display: block; font-size: 20px; } .ig-stats span { font-size: 12px; color: #A1A1A6; }
.ig-name { margin: 2px 0 !important; font-size: 18px; }
.ig-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 8px; font-size: 13.5px; }
.ig-links a { color: #8CC8FF; text-decoration: none; }
.ig-buttons { display: flex; gap: 6px; margin: 6px 0 10px; }
.ig-buttons button { flex: 1 1 0; min-width: 0; padding: 9px 4px; font-size: 14px; }         /* all the same width (Kuma 2026-11-03) */
.ig-highlights { display: flex; gap: 12px; overflow-x: auto; padding: 4px 0 10px; }
.ig-hl { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: none; color: inherit; min-width: 66px; max-width: 70px; }
.ig-hl span { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: #1C1C1E; border: 2px solid #FF6FB5; }
.ig-hl small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70px; }
.ig-hl i { font-size: 10px; color: #A1A1A6; font-style: normal; white-space: nowrap; }
.ig-tabs { display: flex; border-top: 1px solid #2C2C2E; border-bottom: 1px solid #2C2C2E; margin: 0 -14px 8px; }
.ig-tabs button { flex: 1; background: none; border: none; border-radius: 0; color: #8E8E93; padding: 10px 0; font-size: 13px; }
.ig-tabs button.on { color: #fff; border-bottom: 2px solid #fff; font-weight: 700; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -14px; }
.ig-cell { position: relative; aspect-ratio: 1; padding: 0; border: none; border-radius: 0; background: #1C1C1E; overflow: hidden; }
.ig-cell img, .ig-cell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-badge { position: absolute; top: 4px; right: 6px; font-size: 14px; text-shadow: 0 0 4px #000; }
.ig-likes { position: absolute; bottom: 4px; left: 6px; font-size: 12px; font-weight: 700; text-shadow: 0 0 4px #000; }
.ig-ig { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045); }
.ig-ig small { font-size: 11px; }
.ig-post-new { display: flex; gap: 6px; margin-bottom: 8px; } .ig-post-new > * { flex: 1; }
.ig-big { width: 100%; max-height: 60vh; object-fit: contain; border-radius: 10px; background: #000; }
.ig-embed { width: 100%; height: 560px; border: none; border-radius: 10px; background: #fff; }
.ig-actions { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.ig-like { background: none; border: none; font-size: 20px; color: #fff; padding: 0; } .ig-like.on { color: #FF375F; }
.ig-caption { white-space: pre-wrap; margin-bottom: 6px; }
.ig-comments { list-style: none; padding: 0; margin: 4px 0 8px; max-height: 30vh; overflow-y: auto; font-size: 14px; }
.ig-comments li { padding: 3px 0; } .ig-cdel { background: none; border: none; color: #8E8E93; padding: 0 4px; }
.ig-specials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ig-special { background: #1C1C1E; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; padding-bottom: 8px; }
.ig-special img, .ig-special .bar-nophoto { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ig-special b, .ig-special span { padding: 4px 8px 0; } .ig-special span { color: #06C755; font-weight: 700; }
#chat-pin-card { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: #1C1C1E; border-bottom: 1px solid #2C2C2E; cursor: pointer; }
#chat-pin-card > div { flex: 1; min-width: 0; } #chat-pin-card .bar-note { margin: 0; }

/* busy nights (2026-11-02) */
.bar-board-head { flex-wrap: wrap; gap: 6px; align-items: center; }
.bar-compact { margin-left: auto; font-size: 12px; }
.bar-board.compact .bar-card { padding: 8px 10px; }
.bar-board.compact .bar-card-head .avatar { width: 34px; height: 34px; font-size: 14px; }
.bar-board.compact .bar-card-lines { margin: 2px 0; font-size: 14px; }
.bar-board.compact .bar-card-actions button { padding: 6px 10px; font-size: 13px; }
.as-customer { background: #1C1C1E; border-radius: 10px; padding: 8px; margin-bottom: 8px; }

/* who's there as boxes; come back; bell (2026-11-02) */
.here-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 10px; }
.here-box { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border-radius: 12px; background: #1C1C1E; border: 1px solid #2C2C2E; }
.here-box .hb-e { font-size: 26px; line-height: 1.1; }
.here-box b { font-size: 22px; line-height: 1.2; }
.here-box small { font-size: 11px; color: #A1A1A6; text-align: center; }
.hb-all { background: rgba(255, 159, 10, .12); border-color: #FF9F0A; }
.hb-men { background: rgba(10, 132, 255, .12); border-color: #0A84FF; }
.hb-women { background: rgba(255, 55, 95, .12); border-color: #FF375F; }
.hb-fr { background: rgba(48, 209, 88, .12); border-color: #30D158; }
.place-back { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 6px; }
.place-back button { background: #FF9F0A; color: #000; }
#btn-place-bell { flex: 0 0 48px !important; }
.bell-opt { display: flex; flex-direction: column; align-items: flex-start; width: 100%; margin: 4px 0; text-align: left; }
.bell-opt small { font-weight: 400; opacity: .8; }


/* the directory of places: bigger cards with the people numbers (Kuma 2026-11-03) */
.place-list li { align-items: flex-start; }
.place-photo { width: 76px; height: 76px; }
.place-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.place-stats .ps { display: inline-flex; align-items: baseline; gap: 3px; background: #2C2C2E; border-radius: 10px; padding: 3px 8px; font-size: 13px; }
.place-stats .ps i { font-style: normal; }
.place-stats .ps b { font-size: 15px; }
.place-stats .ps small { color: #9A9A9A; font-size: 11px; }
.place-stats .ps.zero { opacity: .55; }

/* the feed: full post cards (Kuma 2026-11-05): picture, who, caption, likes, last 3 comments + "view all" */
.ig-feed { display: flex; flex-direction: column; gap: 14px; margin: 8px 0; }
.ig-card { background: #1C1C1E; border: 1px solid #2C2C2E; border-radius: 16px; overflow: hidden; padding-bottom: 10px; }
.ig-card-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; } .ig-card-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-card .ig-big { width: 100%; max-height: 520px; object-fit: cover; display: block; background: #000; } .ig-card .ig-embed { width: 100%; min-height: 420px; border: 0; background: #fff; }
.ig-card .ig-actions { display: flex; align-items: center; gap: 12px; padding: 8px 12px 2px; } .ig-count { font-size: 14px; color: #A1A1A6; margin-right: auto; }
.ig-card .ig-caption, .ig-card .ig-comments, .ig-card .ig-cmt-row, .ig-card .ig-viewall { margin-left: 12px; margin-right: 12px; }
.ig-card .ig-caption { margin-top: 4px; font-size: 14.5px; overflow-wrap: anywhere; }
.ig-viewall { display: block; background: none; border: 0; color: #8E8E93; font-size: 13px; padding: 6px 0 2px; min-height: 36px; text-align: left; }
.ig-card .ig-comments { list-style: none; padding: 0; margin-top: 2px; margin-bottom: 6px; font-size: 14px; overflow-wrap: anywhere; } .ig-card .ig-comments li { margin: 3px 0; }
.ig-cmt-row { display: flex; gap: 6px; } .ig-cmt-row input { flex: 1; min-width: 0; }
