/* ===================== HUSSLE · Neon Night ===================== */
:root {
  --y: #FBFF4D;            /* logo yellow */
  --y2: #E8EC2E;
  --n: #070B1F;            /* dark blue */
  --n2: #0E1636;
  --card: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .11);
  --text: #F4F5FF;
  --muted: #AEB4E0;
  --faint: #6E76AE;
  --pink: #FF2E88;
  --head: 'Archivo', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--n); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }

/* background glows (turned 180°: blue bottom-right, pink left, yellow top) */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.g1 { width: 620px; height: 620px; background: #3B2BFF; right: -160px; bottom: -200px; opacity: .5; }
.g2 { width: 520px; height: 520px; background: var(--pink); left: -140px; top: 32vh; opacity: .32; }
.g3 { width: 440px; height: 440px; background: var(--y); left: 30%; top: -260px; opacity: .13; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font: 800 .98rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.btn.small { padding: 10px 16px; font-size: .9rem; }
.btn.yellow { background: var(--y); color: var(--n); box-shadow: 0 0 26px rgba(251, 255, 77, .45); }
.btn.yellow:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(251, 255, 77, .65); }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(7, 11, 31, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 30px; width: auto; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { padding: 9px 14px; border-radius: 10px; font-weight: 700; color: #C9CEF5; text-decoration: none; }
.menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.menu-btn { display: none; }

/* hero */
.hero { padding: clamp(14px, 4.5vh, 48px) 0 clamp(14px, 3vh, 30px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.kick { display: inline-flex; align-items: center; gap: 10px; color: var(--y); font: 700 .82rem/1 var(--head); letter-spacing: .2em; }
.kick > i, .live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 46, 136, .6); animation: live 1.8s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 136, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 46, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 136, 0); } }
h1 { font: italic 900 clamp(2.4rem, min(8vw, 10vh), 6.4rem)/.92 var(--head); text-transform: uppercase; letter-spacing: -.03em; margin: clamp(10px, 2vh, 18px) 0 clamp(12px, 2.4vh, 22px); }
h1 span { color: var(--y); text-shadow: 0 0 34px rgba(251, 255, 77, .55); }
.lead { color: var(--muted); font-size: clamp(1rem, 2vh, 1.15rem); max-width: 540px; margin: 0 0 clamp(14px, 3vh, 26px); }
.search { display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 7px 7px 7px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: rgba(251, 255, 77, .6); box-shadow: 0 0 0 4px rgba(251, 255, 77, .12); }
.s-ic { width: 20px; height: 20px; color: var(--faint); flex: none; }
.s-ic svg { width: 100%; height: 100%; display: block; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 1.02rem var(--body); padding: 10px 0; }
.search input::placeholder { color: var(--faint); }
.search button { border: 0; border-radius: 11px; background: var(--y); color: var(--n); font: 800 1rem var(--body); padding: 12px 22px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { border-radius: 10px; border: 1px solid rgba(251, 255, 77, .38); background: transparent; color: var(--y); font: 700 .9rem/1 var(--body); padding: 9px 13px; cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: rgba(251, 255, 77, .1); }
.chip.on { background: var(--y); color: var(--n); }

/* big rotating event card */
.feature { position: relative; }
.feat { position: relative; display: block; height: clamp(170px, calc(100svh - 470px), 420px); border-radius: 24px; overflow: hidden; text-decoration: none; color: #fff; background: #0B1030;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .55); transition: opacity .55s ease, transform .55s ease; }
.feat.in { opacity: 0; transform: scale(1.02); }
.feat.out { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.feat > img, .feat > .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 11, 31, .96)); }
.feat-tag { position: absolute; left: 18px; top: 18px; z-index: 1; padding: 7px 13px; border-radius: 10px; background: var(--y); color: var(--n); font: 800 .88rem/1 var(--body); box-shadow: 0 0 24px rgba(251, 255, 77, .5); }
.feat-tag.live { background: var(--pink); color: #fff; box-shadow: 0 0 24px rgba(255, 46, 136, .55); }
.feat-txt { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.feat-title { font: italic 900 clamp(1.7rem, 3vw, 2.3rem)/1 var(--head); text-transform: uppercase; letter-spacing: -.01em; }
.feat-txt small { color: #D2D6F7; font-size: .95rem; }
.going.hot { position: static; align-self: flex-start; background: var(--pink); color: #fff; padding: 5px 10px; border-radius: 8px; font-weight: 800; font-size: .8rem; }
.feat-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.feat-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .25s, background .25s; }
.feat-dots button.on { width: 24px; background: var(--y); }

/* on now & starting soon */
.soon { margin-top: 12px; padding: 12px 14px; border-radius: 20px; background: rgba(14, 22, 54, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); }
.soon-head { display: flex; align-items: center; gap: 10px; margin: 2px 4px 8px; }
.soon-head h2 { margin: 0; font: 800 1.05rem var(--body); }
.soon-view { overflow: hidden; transition: height .3s; padding: 3px 0; margin: -3px 0; }
.soon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.soon-list a { display: flex; align-items: center; gap: 14px; padding: 6px 10px; border-radius: 14px; text-decoration: none; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.soon-list a:hover { background: rgba(255, 255, 255, .05); }
.soon-list li.pulse a { background: rgba(251, 255, 77, .07); border-color: rgba(251, 255, 77, .45); animation: pulse 1.2s ease-out 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(251, 255, 77, .45); } 100% { box-shadow: 0 0 0 12px rgba(251, 255, 77, 0); } }
.when { width: 62px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 5px 4px; border-radius: 10px; background: rgba(255, 255, 255, .06); line-height: 1.15; }
.when b { font: 800 .95rem var(--body); color: var(--y); }
.when small { font-size: .68rem; color: var(--muted); white-space: nowrap; }
.when.on { background: rgba(255, 46, 136, .18); }
.when.on b { color: var(--pink); letter-spacing: .08em; }
.soon-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.soon-txt strong { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soon-txt small { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soon-ic { width: 20px; height: 20px; color: var(--faint); flex: none; }
.ic svg { width: 100%; height: 100%; display: block; }

/* sections */
.sec { padding: 34px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font: italic 900 clamp(1.6rem, 3.4vw, 2.3rem)/1 var(--head); text-transform: uppercase; letter-spacing: -.01em; }
.sec-head h2 em { font-style: inherit; color: var(--y); }
.see { color: var(--y); font-weight: 800; text-decoration: none; padding: 7px 12px; border-radius: 10px; background: rgba(251, 255, 77, .08); }
.see:hover { background: rgba(251, 255, 77, .16); }
.count { color: var(--muted); font-weight: 700; }

/* cards */
.hrow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.hrow::-webkit-scrollbar { display: none; }
.hrow .card { flex: 0 0 280px; scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; text-decoration: none; background: var(--card); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); border-color: rgba(251, 255, 77, .45); box-shadow: 0 18px 40px -16px rgba(251, 255, 77, .25); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0B1030; }
.card-img > img, .card-img > .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 8px; font: 800 .78rem/1.2 var(--body); }
.badge.live { background: var(--pink); color: #fff; }
.badge.tonight { background: var(--y); color: var(--n); }
.going { position: absolute; right: 12px; top: 12px; padding: 5px 9px; border-radius: 8px; background: rgba(7, 11, 31, .82); font: 700 .76rem/1.2 var(--body); }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.card-body strong { font: 800 1.08rem/1.3 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.where { color: var(--muted); font-size: .9rem; }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.meta b { color: var(--y); font-size: .9rem; }
.price { background: var(--y); color: var(--n); font-weight: 800; font-size: .82rem; padding: 3px 9px; border-radius: 7px; }
.price.free { background: rgba(255, 255, 255, .1); color: var(--text); }

/* no-photo artwork, coloured by type */
.art { display: grid; place-items: center; background: radial-gradient(120% 90% at 15% 10%, var(--a1) 0%, transparent 55%), radial-gradient(120% 120% at 100% 100%, var(--a2) 0%, transparent 60%), #0B1030; }
.art-ic { width: 56px; height: 56px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.art-music { --a1: rgba(139, 92, 246, .6); --a2: rgba(255, 46, 136, .45); }
.art-dj { --a1: rgba(255, 46, 136, .6); --a2: rgba(59, 43, 255, .55); }
.art-comedy { --a1: rgba(251, 255, 77, .45); --a2: rgba(249, 115, 22, .5); }
.art-sports { --a1: rgba(34, 197, 94, .5); --a2: rgba(14, 165, 233, .45); }
.art-quiz { --a1: rgba(59, 130, 246, .55); --a2: rgba(20, 184, 166, .4); }
.art-karaoke { --a1: rgba(236, 72, 153, .55); --a2: rgba(251, 255, 77, .3); }
.art-venue { --a1: rgba(59, 43, 255, .55); --a2: rgba(251, 255, 77, .25); }
.letter { font: italic 900 3.4rem/1 var(--head); color: #fff; }
.card.venue .meta b { color: var(--muted); font-weight: 700; }

/* vibes */
.vibes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.vibe { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; border-radius: 18px; text-align: left; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font: inherit; transition: transform .15s, border-color .15s, background .15s; }
.vibe:hover { transform: translateY(-3px); border-color: rgba(251, 255, 77, .5); background: rgba(251, 255, 77, .06); }
.vibe-emoji { font-size: 1.9rem; line-height: 1; margin-bottom: 6px; }
.vibe strong { font-weight: 800; }
.vibe small { color: var(--muted); }
.empty { color: var(--muted); }

/* promo + footer */
.promo { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px; border-radius: 24px;
  background: linear-gradient(120deg, rgba(59, 43, 255, .45), rgba(255, 46, 136, .3)); border: 1px solid rgba(255, 255, 255, .14); }
.promo h2 { margin: 0 0 6px; font: italic 900 1.8rem/1.05 var(--head); text-transform: uppercase; }
.promo p { margin: 0; color: #D7DAF7; }
.foot { margin-top: 30px; padding: 34px 0 40px; border-top: 1px solid var(--line); background: rgba(7, 11, 31, .6); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: #fff; }
.foot p { width: 100%; margin: 0; color: var(--faint); font-size: .9rem; }

/* phones */
@media (max-width: 900px) {
  .hero { padding-top: 30px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .feat { height: 300px; }
  .top-cta { display: none; }
  .menu-btn { display: grid; gap: 5px; margin-left: auto; width: 44px; height: 44px; place-content: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; }
  .menu-btn span { width: 18px; height: 2px; background: #fff; border-radius: 2px; }
  .menu { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; padding: 12px 16px 18px; background: rgba(7, 11, 31, .97); border-bottom: 1px solid var(--line); display: none; }
  .menu-open .menu { display: flex; }
  .menu a { padding: 14px; font-size: 1.05rem; }
  .hrow { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .hrow .card { flex-basis: 76vw; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search button { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
h1 .nowrap { white-space: nowrap; color: inherit; text-shadow: none; }

/* ===================== shared bits for all pages ===================== */
.vibe { text-decoration: none; }
.menu a[aria-current="page"] { color: var(--y); background: rgba(251, 255, 77, .08); }
.btn.ghost { background: rgba(255, 255, 255, .07); color: var(--text); border: 1px solid rgba(255, 255, 255, .16); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn .ic { width: 18px; height: 18px; }
.meta .next { color: var(--y); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.meta .next.none { color: var(--faint); font-weight: 600; }

/* page heading (Events / Venues) */
.page-head { padding: clamp(22px, 5vh, 48px) 0 10px; }
.page-title { font-size: clamp(2.6rem, 7vw, 5rem); margin: 12px 0 10px; }
.page-head .lead { margin-bottom: 4px; }

/* filter bar: sticks under the header while scrolling */
.fbar { position: sticky; top: 72px; z-index: 20; padding: 12px 0 10px; background: rgba(7, 11, 31, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.frow { display: flex; align-items: center; gap: 10px; }
.frow + .frow { margin-top: 10px; }
.frow.scroll { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.frow.scroll::-webkit-scrollbar { display: none; }
.kinds { display: contents; }
.fsearch { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); }
.fsearch:focus-within { border-color: rgba(251, 255, 77, .6); box-shadow: 0 0 0 4px rgba(251, 255, 77, .12); }
.fsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 1rem var(--body); }
.fsearch input::placeholder { color: var(--faint); }
.fbar select { height: 46px; padding: 0 38px 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); color: var(--text); font: 700 .95rem var(--body); cursor: pointer;
  -webkit-appearance: none; appearance: none; background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBFF4D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.fbar select option { background: var(--n2); color: var(--text); }
.switch { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04); font-weight: 700; font-size: .95rem; white-space: nowrap; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { position: relative; width: 36px; height: 20px; border-radius: 99px; background: rgba(255, 255, 255, .18); transition: background .2s; flex: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--y); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--n); }
.switch input:focus-visible + span { outline: 2px solid var(--y); outline-offset: 3px; }
.pill { flex: none; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: var(--text); font: 700 .9rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.pill:hover { border-color: rgba(251, 255, 77, .5); }
.pill[aria-pressed="true"] { background: var(--y); border-color: var(--y); color: var(--n); }
.fsep { flex: none; width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.fstatus { display: flex; align-items: center; gap: 14px; margin-top: 8px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.clear { background: none; border: 0; padding: 0; color: var(--y); font: 700 .9rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* results */
.list-sec { padding-top: 22px; }
.day-group + .day-group { margin-top: 34px; }
.day-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.day-h > span { font: italic 900 clamp(1.5rem, 3vw, 2rem)/1 var(--head); text-transform: uppercase; }
.day-group:first-child .day-h > span { color: var(--y); }
.day-h small { color: var(--muted); font: 700 .9rem var(--body); }
.empty-box { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: 20px; }
.empty-box strong { font-size: 1.2rem; }
.empty-box p { color: var(--muted); margin: 6px 0 16px; }

/* pop-up card for one event or venue */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(3, 5, 16, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s ease; }
.sheet-panel { position: relative; width: min(680px, 100%); max-height: 94vh; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; outline: 0;
  background: #0C1232; border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); animation: up .3s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 760px) { .sheet { align-items: center; } .sheet-panel { border-radius: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); max-height: 90vh; } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
body.sheet-open { overflow: hidden; }
.sheet-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(7, 11, 31, .7); color: #fff; cursor: pointer; }
.sheet-close .ic { width: 20px; height: 20px; }
.sheet-hero { position: relative; height: clamp(220px, 38vh, 320px); overflow: hidden; }
.sheet-hero.short { height: clamp(180px, 30vh, 260px); }
.sheet-hero > img, .sheet-hero > .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-hero .feat-title { margin: 0; }
.sheet-hero .feat-txt small { color: #D2D6F7; }
.sheet-body { padding: 20px 22px 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); min-width: 0; }
.fact > .ic { width: 22px; height: 22px; color: var(--y); flex: none; }
.fact span { display: flex; flex-direction: column; min-width: 0; }
.fact small { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fact b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.about { color: #D2D6F7; margin: 16px 0 0; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sheet-h { margin: 24px 0 10px; font: 800 1.05rem var(--body); }
.sheet .soon-list a:hover { background: rgba(255, 255, 255, .06); }
.small-print { color: var(--faint); font-size: .82rem; margin: 18px 0 0; }

@media (max-width: 900px) {
  .fbar { position: relative; top: 0; }
  .frow:first-child { flex-wrap: wrap; }
  .fsearch { flex: 1 1 100%; }
  .fbar select { flex: 1; }
  .frow.scroll { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .sheet-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* "under construction" banner at the very top */
.dev-banner { position: relative; z-index: 31; color: var(--n); background: var(--y); animation: devglow 2.4s ease-in-out infinite; }
.dev-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 0; text-align: center; }
.dev-banner p { margin: 0; font: 600 .9rem/1.35 var(--body); }
.dev-banner strong { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.dev-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); flex: none; animation: live 1.6s infinite; }
@keyframes devglow { 0%, 100% { background: var(--y); box-shadow: 0 0 0 rgba(251, 255, 77, 0); } 50% { background: #FFFFA6; box-shadow: 0 0 30px rgba(251, 255, 77, .7); } }
@media (max-width: 600px) { .dev-more { display: none; } .dev-banner p { font-size: .82rem; } }

/* "N going" pill sits top right on the big cards, opposite the Tonight / On now label */
.going.hot.corner { position: absolute; left: auto; right: 18px; top: 18px; z-index: 1; padding: 7px 12px; border-radius: 10px; font: 800 .88rem/1 var(--body); box-shadow: 0 0 24px rgba(255, 46, 136, .5); }
.sheet-hero .going.hot.corner { left: 18px; right: auto; top: 58px; }

/* intro line under the big headings: one line on computer screens */
.lead { max-width: none; }
@media (min-width: 901px) { .lead { white-space: nowrap; } }
@media (min-width: 901px) { .hero .lead { font-size: clamp(.8rem, 1.2vw, 1rem); } }
@media (min-width: 901px) and (max-width: 1019px) { .hero .lead { white-space: normal; } }
.facts .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* music genre drop-down next to the type buttons */
.chip-select { -webkit-appearance: none; appearance: none; border-radius: 10px; border: 1px solid rgba(251, 255, 77, .38); color: var(--y); font: 700 .9rem/1 var(--body); padding: 9px 32px 9px 13px; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBFF4D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; }
.chip-select:hover { background-color: rgba(251, 255, 77, .1); }
.chip-select option { background: var(--n2); color: var(--text); }
@media (max-width: 900px) { .chip-select { flex: none; } }

/* visit counts in the footer (today · 7 days · 30 days · all time) */
.foot-stats { flex-basis: 100%; color: var(--faint); font-size: .78rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.foot-stats:empty { display: none; }
.meta .price { white-space: nowrap; flex: none; }

/* contact page */
.contact-form { max-width: 680px; padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 12px; }
.contact-form .fld { display: flex; flex-direction: column; gap: 6px; }
.contact-form .fld > span { font-weight: 800; font-size: .9rem; }
.contact-form .fld.wide { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); color: var(--text); font: 500 1rem var(--body); }
.contact-form textarea { resize: vertical; line-height: 1.5; }
.contact-form select option { background: var(--n2); }
.contact-form :is(input, select, textarea):focus { outline: 2px solid var(--y); outline-offset: 1px; border-color: transparent; }
.cf-small { color: var(--faint); font-size: .85rem; margin: 0 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-msg { max-width: 680px; margin: 16px 0 0; padding: 16px 18px; border-radius: 14px; font-weight: 700; }
.contact-msg.ok { background: rgba(251, 255, 77, .12); border: 1px solid rgba(251, 255, 77, .5); color: var(--y); }
.contact-msg.bad { background: rgba(255, 46, 136, .15); border: 1px solid rgba(255, 46, 136, .5); color: #FFB4CF; }
@media (max-width: 600px) { .cf-grid { grid-template-columns: 1fr; } .contact-form { padding: 18px; } }

/* Events page: days with only a few events sit side by side on one row (computer screens);
   a day with 4 or more takes the whole width. Each card is the same width either way. */
@media (min-width: 701px) {
  #groups { display: flex; flex-wrap: wrap; gap: 34px 16px; align-items: flex-start; }
  #groups .day-group { width: min(100%, calc(var(--cards, 4) * ((100% - 48px) / 4) + (var(--cards, 4) - 1) * 16px)); margin: 0; }
  #groups .day-group + .day-group { margin-top: 0; }
  #groups .day-group .grid { grid-template-columns: repeat(var(--cards, 4), minmax(0, 1fr)); }
  /* keep each day's heading on one line so the cards line up */
  #groups .day-h { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
  #groups .day-h small { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  #groups .day-group[data-cards="1"] .day-h .cnt { display: none; }
}
/* "List your event" pill in the header, gently pulsing */
.list-cta { background: var(--pink); color: #fff; white-space: nowrap; animation: listpulse 2s ease-in-out infinite; }
.list-cta:hover { transform: translateY(-2px); }
@keyframes listpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 46, 136, .55), 0 0 18px rgba(255, 46, 136, .35); }
  50% { box-shadow: 0 0 0 8px rgba(255, 46, 136, 0), 0 0 30px rgba(255, 46, 136, .6); }
}
.top-in .top-cta + .list-cta { margin-left: -12px; }
@media (max-width: 900px) {
  .list-cta { margin-left: auto; padding: 8px 12px; font-size: .82rem; }
  .list-cta ~ .menu-btn { margin-left: 8px; }
}

a.chip, a.pill { text-decoration: none; display: inline-flex; align-items: center; }
/* Events page: let the type buttons wrap onto a second line on computer screens */
@media (min-width: 901px) { .fbar .frow.scroll { flex-wrap: wrap; overflow: visible; } }

/* ===================== members: join / log in / My Hussle ===================== */
.menu a.my-link { border: 1px solid rgba(251, 255, 77, .45); color: var(--y); }
.menu a.my-link.in::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; margin-right: 7px; vertical-align: middle; }
.acc-form { margin-bottom: 0; }
.acc-form a, .lead a, .cf-small a, .prose a { color: var(--y); }
.acc-h { margin: 0 0 6px; font: 800 1.3rem var(--body); }
.acc-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acc-alt { margin: 14px 0 0; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04); cursor: pointer; }
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.role-card b { font-size: 1.05rem; }
.role-card small { color: var(--muted); font-size: .85rem; }
.role-card:has(input:checked) { border-color: var(--y); background: rgba(251, 255, 77, .1); box-shadow: 0 0 0 1px var(--y) inset; }
.role-card:has(input:focus-visible) { outline: 2px solid var(--y); outline-offset: 2px; }
.contact-form .tick, .my-likes .tick { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.contact-form .tick.wide { grid-column: 1 / -1; }
.contact-form .tick input, .my-likes .tick input { width: 20px; height: 20px; accent-color: var(--y); flex: none; }
.age-tick { padding: 12px 14px; border-radius: 12px; background: rgba(251, 255, 77, .08); border: 1px solid rgba(251, 255, 77, .35); }
.tick-group { display: flex; flex-wrap: wrap; gap: 6px; }
.tick-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); cursor: pointer; font-weight: 600; font-size: .9rem; }
.tick-chip input { width: 15px; height: 15px; accent-color: var(--y); margin: 0; }
.tick-chip:has(input:checked) { border-color: var(--y); background: rgba(251, 255, 77, .12); color: var(--y); }
.tick-row { display: flex; flex-wrap: wrap; gap: 18px; }
.contact-form .fld[hidden] { display: none; }

/* event / venue pop-up: I'm going, Save, Favourite */
.member-actions { margin-top: 16px; }
.member-btn .heart { font-size: 1.1rem; line-height: 1; }
.member-btn.on { border-color: var(--pink); color: #FF8FBF; background: rgba(255, 46, 136, .12); }
.member-btn.going-on { border-color: #22C55E; color: #7EF0A6; background: rgba(34, 197, 94, .12); }
.join-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(251, 255, 77, .08); border: 1px solid rgba(251, 255, 77, .35); font-weight: 600; }
.join-ask.bad { background: rgba(255, 46, 136, .15); border-color: rgba(255, 46, 136, .5); color: #FFB4CF; }
/* little marks on cards you've saved / are going to */
.card .mine { position: absolute; left: 12px; bottom: 12px; display: none; gap: 6px; }
.card.is-saved .mine, .card.is-going .mine { display: flex; }
.card.is-saved .mine::before { content: "♥"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(7, 11, 31, .82); color: #FF5FA2; font-size: .95rem; }
.card.is-going .mine::after { content: "✓ Going"; display: grid; place-items: center; height: 28px; padding: 0 9px; border-radius: 8px; background: #22C55E; color: #052E14; font: 800 .76rem var(--body); }

/* My Hussle */
.my-sec { margin-bottom: 36px; }
.my-empty { color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: 16px; margin: 0; }
.my-join { max-width: 620px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.my-join h2 { margin: 0 0 10px; font: italic 900 1.8rem var(--head); text-transform: uppercase; }
.my-join ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0 0 20px; color: #D2D6F7; }
.my-friends { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; margin-bottom: 36px; background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .4); }
.my-friends span { color: var(--muted); }
.my-edit summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.my-edit summary::-webkit-details-marker { display: none; }
.my-edit summary h2 { margin: 0; font: italic 900 clamp(1.6rem, 3.4vw, 2.3rem)/1 var(--head); text-transform: uppercase; }
.my-edit summary h2 em, .my-sec .sec-head h2 em { font-style: inherit; color: var(--y); }
.my-edit summary .count { color: var(--y); }
.my-likes { max-width: none; display: grid; gap: 16px; }
.my-out { margin-top: 10px; }
.btn.danger { color: #FFB4CF; border-color: rgba(255, 46, 136, .4); }
.btn.danger[data-sure] { background: var(--pink); color: #fff; }

/* privacy page */
.prose { color: #D2D6F7; line-height: 1.7; }
.prose h2 { color: var(--text); font: 800 1.2rem var(--body); margin: 28px 0 8px; }
.prose ul { padding-left: 20px; }
.prose b { color: var(--text); }
@media (max-width: 600px) { .role-pick { grid-template-columns: 1fr; } }
.my-top { margin: -8px 0 26px; } .my-saved { color: #7EF0A6; font-weight: 800; }
.q1 { font-size: 1.05rem !important; color: var(--y); } .role-tag { margin-top: 4px; font-style: normal; font-size: .8rem; color: var(--faint); } .role-tag strong { color: var(--text); } .role-card:has(input:checked) .role-tag strong { color: var(--y); }
.item-stats { margin: 14px 0 0; color: var(--faint); font-size: .78rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.item-stats:empty { display: none; }
.key-box { padding: 18px 20px; border-radius: 16px; background: rgba(251, 255, 77, .07); border: 1px solid rgba(251, 255, 77, .35); margin-bottom: 10px; }
.key-box strong { color: var(--y); }
.key-box ul { margin: 8px 0 0; }
.prose h2 { scroll-margin-top: 90px; }
.prose > * { max-width: 780px; }

/* ---------- artists (shared by Hussle and PaiMai) ---------- */
.card-body .lineup { color: var(--y); font-weight: 700; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-lineup { display: block; color: var(--y); font-weight: 700; font-size: .95rem; margin: 2px 0; }
.art-artist { --a1: rgba(255, 46, 136, .55); --a2: rgba(59, 43, 255, .45); }
.card.artist .meta b { color: var(--muted); font-weight: 700; }
.card.artist.is-saved .mine::before { content: "★"; color: var(--y); }
.lineup-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.artist-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, background .2s; }
.artist-chip:hover, .artist-chip:focus-visible { border-color: var(--y); background: rgba(251, 255, 77, .08); }
.ac-img { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none; }
.ac-img img, .ac-img .art { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; }
.ac-img .letter { font-size: 1.2rem; }
.ac-txt { display: flex; flex-direction: column; line-height: 1.2; }
.ac-txt small { color: var(--muted); font-size: .76rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.tag { padding: 5px 11px; border-radius: 999px; background: rgba(255, 46, 136, .16); color: #FFC2DC; font: 700 .82rem var(--body); }

/* PaiMai: the Thai logo reads better a little taller */
.top .logo img { height: 36px; }
@media (max-width: 600px) { .top .logo img { height: 32px; } }

/* ---------- PaiMai: Thai fonts and the English / Thai button ---------- */
:root { --head: 'Archivo', 'Kanit', system-ui, sans-serif; --body: 'Plus Jakarta Sans', 'Noto Sans Thai', system-ui, sans-serif; }
html[lang="th"] body { line-height: 1.6; }
.lang-btn { flex: none; margin-left: auto; margin-right: 10px; min-width: 52px; height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(251, 255, 77, .6); background: rgba(251, 255, 77, .08); color: var(--y); font: 800 .9rem/1 'Noto Sans Thai', var(--body); letter-spacing: .02em;
  transition: background .2s, color .2s; }
.lang-btn:hover, .lang-btn:focus-visible { background: var(--y); color: var(--n); }
.top-in .lang-btn + .menu { margin-left: 0; }
@media (max-width: 900px) { .lang-btn { margin-left: auto; height: 36px; min-width: 46px; padding: 0 10px; } }
@media (max-width: 900px) { .lang-btn ~ .list-cta { margin-left: 0; } }
html[lang="th"] .kick, html[lang="th"] .eyebrow { letter-spacing: .04em; }
/* Thai mode: the big headings stay in English (they're designed for English letters);
   a Thai version sits underneath (page titles) or beside them (section headings) */
.th-sub { margin: -6px 0 14px; font: 800 clamp(1.3rem, 2.6vw, 1.9rem)/1.45 'Kanit', 'Noto Sans Thai', var(--body); font-style: italic; color: var(--y); }
.th-tag { display: inline-block; margin-left: 12px; font: 700 .95rem/1.4 'Noto Sans Thai', var(--body); font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted); vertical-align: middle; }
html[lang="th"] .card-body strong { line-height: 1.45; }
/* phones: the short ไป? logo instead of the full one (more room in the header) */
.logo picture { display: block; line-height: 0; }
@media (max-width: 600px) { .top .logo img { height: 36px; width: auto; } }

/* big card on the home page: long event names get smaller and stop at 2 lines, so they never run into the "Tonight" tag */
.feat .feat-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat .feat-title.long { font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.feat .feat-lineup { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the logo never gets squeezed; on very small phones the "List your event" button shrinks instead */
.top .logo { flex: none; }
.top .logo img { object-fit: contain; }
/* phones: tighter header. The pink button has less padding and sits closer to the menu button;
   on very narrow phones its words wrap onto two lines instead of being cut off */
@media (max-width: 600px) {
  .top-in { gap: 8px; }
  .top .list-cta, .top-in .top-cta + .list-cta { flex: none; padding: 8px 11px; margin-left: 0; }
  .top .list-cta ~ .menu-btn { margin-left: 2px; }
  .lang-btn { margin-right: 0; }
}
@media (max-width: 350px) {
  .top .list-cta { white-space: normal; max-width: 86px; padding: 5px 10px; font-size: .74rem; line-height: 1.15; text-align: center; }
  .lang-btn { min-width: 40px; padding: 0 8px; }
  .top .logo img { height: 32px; }
}
/* Thai label is short enough to stay on one line */
html[lang="th"] .top .list-cta { white-space: nowrap; max-width: none; }

/* ===================== header: one tidy style =====================
   Page links are plain text; the page you're on gets a yellow line under it.
   Your account (person icon) and the language switch sit quietly on the right,
   and "List your event" is the one bright button. --r sets the corner shape. */
:root { --r: 8px; --r-sm: 6px; }
.top-in { gap: 18px; }
.menu { gap: 2px; align-items: center; }
.menu a { position: relative; border-radius: var(--r); }
.menu a[aria-current="page"] { color: var(--y); background: none; }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--y); }
.menu a.my-link { order: 99; display: inline-flex; align-items: center; gap: 8px; border: 0; color: #C9CEF5; margin-left: 10px; }
.menu a.my-link::before { content: ""; display: block; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.menu a.my-link.in::before { background: #22C55E; width: 18px; height: 18px; margin: 0; }
.menu a.my-link[aria-current="page"] { color: var(--y); }
@media (min-width: 901px) {
  .menu a.my-link { padding-left: 20px; }
  .menu a.my-link:not([aria-current="page"])::after { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; height: auto; background: var(--line); border-radius: 0; }
  .menu a.my-link[aria-current="page"]::after { left: 20px; }
}
@media (max-width: 900px) { .menu a.my-link { margin-left: 0; border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; padding-top: 18px; } }
/* language: a small EN | ไทย switch */
.lang-btn { order: 0; margin: 0; min-width: 0; height: 38px; padding: 0 10px; gap: 7px; display: inline-flex; align-items: center; border: 0; background: none;
  border-radius: var(--r); color: var(--faint); font: 700 .88rem/1 'Noto Sans Thai', var(--body); }
.lang-btn:hover, .lang-btn:focus-visible { background: rgba(255, 255, 255, .07); color: var(--text); }
.lang-btn .on { color: var(--y); }
.lang-btn .sep { width: 1px; height: 14px; background: var(--line); }
/* corners */
.btn, .list-cta, .top .list-cta, .search, .chip, .chip-select, .menu-btn, .fsearch, .frow select, .switch, .pill { border-radius: var(--r); }
.search button { border-radius: var(--r-sm); }
.tag, .artist-chip { border-radius: var(--r-sm); }
@media (max-width: 900px) { .lang-btn { margin-left: auto; height: 36px; } .lang-btn ~ .list-cta { margin-left: 0; } }
@media (max-width: 600px) { .lang-btn { padding: 0 6px; gap: 5px; font-size: .8rem; } }

/* cards in a row: the time and price always sit on the bottom line, lined up across the row */
.card-body { flex: 1; }
.card-body > .meta { margin-top: auto; padding-top: 10px; }

/* ---------- icons on buttons, chips and tags: thin yellow line icons (no emojis) ---------- */
.pill-ic { display: inline-block; width: 17px; height: 17px; flex: none; color: var(--y); }
.pill, .chip, a.pill, a.chip { display: inline-flex; align-items: center; gap: 8px; }
.pill[aria-pressed="true"] .pill-ic, .chip[aria-pressed="true"] .pill-ic, .chip.on .pill-ic { color: var(--n); }
.tag { display: inline-flex; align-items: center; gap: 6px; }
.tag .pill-ic { width: 14px; height: 14px; color: currentColor; }
.vibe-ic { display: block; width: 34px; height: 34px; margin-bottom: 10px; color: var(--y); }
.going { display: inline-flex; align-items: center; gap: 5px; }
.going .pill-ic { width: 14px; height: 14px; color: var(--y); }

/* Yok!: the โยก! logo is short and wide, so it sits a little taller than the PaiMai one */
.top .logo img { height: 42px; width: auto; }
@media (max-width: 600px) { .top .logo img { height: 36px; } }
@media (max-width: 380px) { .top .logo img { height: 32px; } }
.foot .foot-in > img { height: 33px; width: auto; }
/* small phones: keep the logo, EN | ไทย, List your event and the menu on one line */
@media (max-width: 400px) { .top-in { gap: 10px; } .top .logo img { height: 36px; } }
@media (max-width: 370px) { .top .logo img { height: 32px; } }
@media (max-width: 340px) { .top-in { gap: 8px; } .top .logo img { height: 28px; } }

/* ---------- city picker ---------- */
.city-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text);
  border-radius: var(--r); height: 38px; padding: 0 12px; font: 700 .88rem/1 var(--body); cursor: pointer; white-space: nowrap; }
.city-btn:hover, .city-btn:focus-visible { border-color: rgba(251, 255, 77, .6); }
.city-btn .pill-ic { width: 16px; height: 16px; }
.city-caret { font-size: .7em; opacity: .7; }
.city-btn.in-menu { display: none; }
.city-btn.in-kick { height: auto; padding: 0; border: 0; background: none; color: var(--y); font: inherit; letter-spacing: inherit; gap: 6px; text-decoration: underline dotted rgba(251, 255, 77, .5); text-underline-offset: 4px; }
.city-btn.in-kick .pill-ic { display: none; }
.kick-sep { opacity: .9; }
@media (max-width: 900px) {
  .city-btn.in-top { display: none; }
  .city-btn.in-menu { display: inline-flex; align-self: center; margin: 4px auto 8px; height: 42px; }
}
.city-pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 18, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.city-box { width: min(420px, 100%); background: #0E1330; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); overflow: hidden; }
.city-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.city-head strong { font: 800 1.05rem var(--head); }
.city-x { width: 36px; height: 36px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.city-x .ic { width: 18px; height: 18px; }
.city-list { display: grid; padding: 8px; }
.city-opt { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 700 1rem var(--body); text-align: left; cursor: pointer; }
.city-opt:hover, .city-opt:focus-visible { background: rgba(255, 255, 255, .06); outline: none; }
.city-opt.on { background: rgba(251, 255, 77, .12); color: var(--y); }
.city-opt small { margin-left: auto; color: var(--faint); font-weight: 600; }
.city-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 18px; padding: 14px 16px;
  border: 1px solid rgba(251, 255, 77, .35); border-radius: 12px; background: rgba(251, 255, 77, .06); }
.city-empty p { margin: 0; }

/* the city name after the logo (laptops and bigger); phones have it in the menu and page heading */
.logo-city { flex: none; margin-left: -8px; color: #fff; font: italic 900 2.05rem/1 'Kanit', 'Archivo', system-ui, sans-serif; letter-spacing: -.01em; white-space: nowrap;
  text-shadow: 0 0 14px rgba(255, 255, 255, .28); transform: translateY(1px); }
@media (max-width: 1180px) { .logo-city { display: none; } }
/* smaller laptops: squeeze the header a little so it all fits on one line */
@media (min-width: 901px) and (max-width: 1080px) {
  .top-in { gap: 10px; } .menu a { padding-left: 9px; padding-right: 9px; }
  .city-btn.in-top { padding: 0 9px; } .menu a.my-link { margin-left: 4px; padding-left: 12px; }
}

/* ---------- city picker map ---------- */
.city-box.has-map { width: min(640px, 100%); }
.city-body { display: grid; }
.city-box.has-map .city-body { grid-template-columns: 220px 1fr; align-items: center; }
.city-mapbox { padding: 14px 6px 14px 18px; }
.city-map { display: block; width: 100%; height: auto; max-height: 62vh; overflow: visible; }
.th-land { fill: rgba(251, 255, 77, .05); stroke: var(--y); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(251, 255, 77, .35)); }
.th-city { cursor: pointer; }
.th-dot { fill: var(--y); stroke: #0E1330; stroke-width: 1.5; transition: r .15s; }
.th-ring { fill: rgba(255, 46, 136, 0); stroke: none; transition: fill .15s; }
.th-label { fill: #EEF0FF; font: 800 13px var(--body); paint-order: stroke; stroke: #0E1330; stroke-width: 4px; stroke-linejoin: round; }
.th-city.on .th-dot { fill: var(--pink); }
.th-city.on .th-ring { fill: rgba(255, 46, 136, .28); }
.th-city.on .th-label { fill: var(--y); }
.th-city:hover .th-dot, .th-city.hl .th-dot { r: 6.5px; }
.th-city:hover .th-ring, .th-city.hl .th-ring { fill: rgba(251, 255, 77, .22); }
.th-city:hover .th-label, .th-city.hl .th-label { fill: var(--y); }
.city-opt.hl { background: rgba(255, 255, 255, .06); }
@media (max-width: 560px) {
  .city-box.has-map .city-body { grid-template-columns: 1fr; }
  .city-mapbox { padding: 10px 0 0; display: flex; justify-content: center; }
  .city-map { width: auto; height: 34vh; max-height: 260px; }
  .city-opt { padding: 10px 12px; }
}
html[lang="th"] .city-opt small { display: none; }
@media (max-width: 560px) { .th-label { font-size: 19px; stroke-width: 5px; } .th-dot { r: 6px; } .th-ring { r: 14px; } }

/* admin pages show every city, so no city name next to the logo */
body.admin .logo-city { display: none !important; }

/* ---------- My listings (crew.html): Crew add events, venues and artists ---------- */
.crew-add { margin-bottom: 30px; }
.crew-list { display: flex; flex-direction: column; gap: 10px; }
.crew-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.crew-thumb { width: 84px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #0B1030; display: grid; place-items: center; color: var(--faint); }
.crew-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crew-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.crew-info strong { font-size: 1rem; overflow-wrap: anywhere; }
.crew-info > span { color: var(--muted); font-size: .86rem; }
.crew-note { margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(255, 46, 136, .12); font-size: .88rem; }
.crew-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.crew-help { margin-top: 18px; }
@media (max-width: 600px) {
  .crew-row { grid-template-columns: 64px 1fr; }
  .crew-thumb { width: 64px; }
  .crew-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.crew-form { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.crew-form h2 { margin: 0; }
.crew-form .fld small { color: var(--faint); font-size: .8rem; }
.crew-form .fld select, .crew-form .fld input, .crew-form .fld textarea {
  height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--text); font: 600 .95rem var(--body); width: 100%; box-sizing: border-box; }
.crew-form .fld textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.crew-form .fld select option { background: var(--n2, #0B1030); color: var(--text); }
.crew-form .fld input[type="time"], .crew-form .fld input[type="date"] { color-scheme: dark; }
.crew-form .fld input:focus, .crew-form .fld select:focus, .crew-form .fld textarea:focus { outline: 2px solid var(--y); outline-offset: 1px; border-color: transparent; }
.crew-form .fld input[hidden] { display: none; }
.crew-form .fld-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.crew-form .fld-row > .fld[hidden] { display: none; }
.crew-form .adm-more summary { cursor: pointer; font-weight: 800; color: var(--y); margin-bottom: 10px; }
.crew-form .adm-more .fld + .fld { margin-top: 12px; }
.crew-form .adm-upload { position: relative; overflow: hidden; cursor: pointer; }
.crew-form .adm-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; height: 100%; }
.crew-photo-pv { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: .88rem; }
.crew-photo-pv img { width: 200px; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #0B1030; }
.crew-photo-msg { min-height: 1em; }
.crew-form .lineup-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.crew-form .lu-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.crew-form .lu-btn { border: 0; background: rgba(255, 255, 255, .1); color: var(--text); width: 26px; height: 26px; border-radius: 6px; cursor: pointer; font-weight: 800; }
.crew-form .lineup-found { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.crew-can { margin: -18px 0 26px; }
.crew-newvenue { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 8px; border: 1px dashed rgba(251, 255, 77, .35); }
.crew-newvenue[hidden] { display: none; }
.crew-newvenue small { color: var(--faint); font-size: .8rem; }
.crew-form .lu-chip.lu-new { background: rgba(251, 255, 77, .12); }
.is-locked .tick-chip, .role-pick:has(input:disabled) .role-card { opacity: .75; cursor: not-allowed; }
.is-locked .tick-chip:has(input:checked) { opacity: 1; }
.hk-change { margin-top: 14px; }
.hk-change a { color: var(--y); }
.role-pick:has(input:disabled) .role-card:has(input:checked) { opacity: 1; }
.venue-search { display: flex; gap: 8px; }
.venue-search[hidden] { display: none; }
.crew-form .venue-search select.venue-city { width: auto; flex: 0 0 auto; max-width: 42%; }
.crew-form .venue-search input { flex: 1 1 auto; }
.artist-chip.plain { cursor: default; }
.ac-img.ac-initial { display: grid; place-items: center; font-weight: 800; color: var(--y); background: rgba(251, 255, 77, .1); }
.crew-form .lu-chip .lu-name { width: 170px; height: 32px; padding: 0 10px; border-radius: 6px; border: 1px solid rgba(251, 255, 77, .35); background: rgba(255, 255, 255, .06); color: var(--text); font: 700 .92rem var(--body); }
.crew-form .lu-chip small { color: var(--faint); font-size: .75rem; margin: 0 2px; }
.crew-ref { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--muted); font: 700 .78rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; vertical-align: middle; }
.crew-form h2 .crew-ref { font-size: .85rem; }
.my-no { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.my-no b { color: var(--y); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }

/* ---------- Yok-Com: the chat on each event ---------- */
.yc { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.yc[hidden] { display: none; }
.yc-head small { display: block; color: var(--faint); font-size: .82rem; margin: -4px 0 12px; }
.yc-count { color: var(--muted); font-weight: 700; }
.yc-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.yc-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--text); font: 500 .95rem/1.45 var(--body); resize: vertical; }
.yc-form textarea:focus { outline: 2px solid var(--y); outline-offset: 1px; border-color: transparent; }
.yc-form.reply { margin: 8px 0 4px; }
.yc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yc-photo { position: relative; overflow: hidden; cursor: pointer; }
.yc-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.yc-msg { color: #FFB4CF; font-size: .82rem; }
.yc-pv-in { position: relative; display: inline-block; }
.yc-pv-in img { max-width: 180px; max-height: 140px; border-radius: 8px; display: block; }
.yc-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 6px; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer; }
.yc-login, .yc-empty { color: var(--muted); font-size: .92rem; }
.yc-login a { color: var(--y); }
.yc-list { display: flex; flex-direction: column; gap: 12px; }
.yc-c { padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.yc-c.yc-r { padding: 10px 0 0 12px; background: none; border: 0; border-left: 2px solid rgba(251, 255, 77, .25); border-radius: 0; margin-top: 10px; }
.yc-c.yc-hidden { opacity: .55; }
.yc-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yc-who b { font-size: .92rem; }
.yc-who small { color: var(--faint); font-size: .78rem; }
.yc-av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(251, 255, 77, .14); color: var(--y); font-weight: 800; font-size: .8rem; flex: none; }
.yc-badge { padding: 1px 7px; border-radius: 6px; background: var(--y); color: var(--n); font-size: .7rem; font-weight: 800; }
.yc-badge.off { background: rgba(255, 46, 136, .25); color: #FFB4CF; }
.yc-body p { margin: 6px 0 0 34px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.yc-r .yc-body p { margin-left: 34px; }
.yc-img { display: inline-block; margin: 8px 0 0 34px; }
.yc-img img { max-width: min(320px, 100%); max-height: 260px; border-radius: 8px; display: block; }
.yc-acts { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0 28px; }
.yc-act { border: 0; background: none; color: var(--muted); font: 700 .8rem var(--body); padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.yc-act:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.yc-like.on { color: var(--pink, #FF2E88); }
.yc-replies:empty { display: none; }
.yc-replies { margin-left: 22px; }

.name-note { display: block; margin-top: 6px; color: var(--faint); font-size: .82rem; font-weight: 500; line-height: 1.4; }
/* Yok-Com chat icon on cards, button on the event, and the chat pop-up */
.card-chat { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 10px; color: var(--y); background: rgba(7, 11, 31, .85); border: 1.5px solid rgba(251, 255, 77, .5); font: 800 1rem/1 var(--body); cursor: pointer; box-sizing: border-box; }
.card-chat[hidden] { display: none; }
.card-chat svg { width: 20px; height: 20px; }
.card-chat:hover, .card-chat:focus-visible { background: rgba(7, 11, 31, .95); border-color: var(--y); outline: none; }
.card-chat b:empty { display: none; }
.yc-open[hidden] { display: none; }
.yc-open svg { width: 18px; height: 18px; }
.yc-top { padding: 22px 24px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.yc-title { margin: 0 48px 4px 0; font: italic 900 1.5rem/1.15 var(--head); text-transform: uppercase; }
.yc-sub { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.yc-top + .sheet-body .yc { margin-top: 0; padding-top: 0; border-top: 0; }

/* chat badge: top-right on every card. The "going" count sits under the Tonight / On now / date badge (top-left) */
.card-img .going { left: 12px; right: auto; top: 12px; }
.card-img .badge ~ .going { top: 46px; }
.feat .card-chat { top: 18px; right: 18px; min-height: 40px; padding: 7px 13px; font-size: 1.05rem; }
.feat .card-chat svg { width: 22px; height: 22px; }
.feat .going.hot.corner { left: 18px; right: auto; top: 64px; }

/* full-screen pop-up (the Yok-Com chat): whole screen, scrolls inside */
.sheet.full { align-items: stretch; }
.sheet.full .sheet-panel { width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; border: 0; }
.sheet.full .yc-top, .sheet.full .sheet-body { max-width: 760px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.sheet.full .yc-top { position: sticky; top: 0; z-index: 2; background: var(--n2, #0B1030); padding-top: 18px; }
.sheet.full .sheet-body { padding-bottom: 60px; }
/* laptops: the chat opens as a tall window in the middle, not the whole screen */
@media (min-width: 760px) {
  .sheet.full { align-items: center; }
  .sheet.full .sheet-panel { width: min(760px, 100%); height: 90vh; max-height: 90vh; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .12); }
  .sheet.full .sheet-close { position: fixed; z-index: 5; top: calc(5vh + 14px); right: calc((100vw - min(760px, 100vw)) / 2 + 14px); }   /* stays in the window's corner while you scroll */
  .sheet.full .yc-top { border-radius: 26px 26px 0 0; }
}
@media (max-width: 759px) { .sheet.full .sheet-close { position: fixed; z-index: 5; } }

/* the chat closes with "Back" (top-left), not an X */
.sheet.full .sheet-close { display: none; }
.yc-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px -6px; padding: 8px 12px 8px 6px; border: 0; border-radius: 10px; background: none; color: var(--y); font: 800 1rem var(--body); cursor: pointer; }
.yc-back:hover, .yc-back:focus-visible { background: rgba(251, 255, 77, .1); outline: none; }
.yc-back svg { width: 22px; height: 22px; }
.sheet.full .yc-title { margin-right: 0; }

/* ---------- Yok-Com chat, WhatsApp style ---------- */
.sheet.full .sheet-panel { display: flex; flex-direction: column; }
.sheet.full .sheet-body { flex: 1 0 auto; width: 100%; padding-bottom: 0; }
.sheet.full .yc { display: flex; flex-direction: column; min-height: 100%; }
.yc-list { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; }
.yc-day { text-align: center; margin: 12px 0 6px; }
.yc-day span, .yc-unread span { display: inline-block; padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--muted); font: 700 .78rem var(--body); }
.yc-unread { text-align: center; margin: 10px 0; padding: 4px 0; background: rgba(251, 255, 77, .06); border-radius: 8px; }
.yc-unread span { background: var(--y); color: var(--n); }
.yc-m { display: flex; flex-direction: column; align-items: flex-start; max-width: 82%; }
.yc-m.mine { align-self: flex-end; align-items: flex-end; }
.yc-bub { position: relative; padding: 8px 12px 6px; border-radius: 4px 14px 14px 14px; background: rgba(255, 255, 255, .08); min-width: 90px; box-sizing: border-box; transition: box-shadow .3s; }
.yc-m.mine .yc-bub { border-radius: 14px 4px 14px 14px; background: rgba(251, 255, 77, .16); }
.yc-m.flash .yc-bub { box-shadow: 0 0 0 2px var(--y); }
.yc-m.yc-hidden { opacity: .55; }
.yc-name { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.yc-name b { color: var(--y); font-size: .85rem; }
.yc-bub p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; font-size: .95rem; }
.yc-time { display: block; text-align: right; margin-top: 2px; color: var(--faint); font-size: .7rem; }
.yc-bub .yc-img { display: block; margin: 4px 0; }
.yc-bub .yc-img img { max-width: min(280px, 100%); max-height: 260px; border-radius: 8px; display: block; }
.yc-quote { display: flex; flex-direction: column; gap: 1px; width: 100%; margin: 2px 0 6px; padding: 5px 8px; border: 0; border-left: 3px solid var(--y); border-radius: 6px; background: rgba(0, 0, 0, .22); color: var(--muted); text-align: left; font: 500 .82rem/1.3 var(--body); cursor: pointer; }
.yc-quote b { color: var(--y); font-size: .78rem; }
.yc-quote span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yc-m .yc-acts { margin: 2px 0 4px; gap: 0; }
.yc-m .yc-act { font-size: .74rem; padding: 2px 6px; color: var(--faint); }
.yc-compose { position: sticky; bottom: 0; z-index: 2; margin: auto -22px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--n2); border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 6px; }
.yc-row { display: flex; align-items: flex-end; gap: 8px; }
.yc-row textarea { flex: 1; min-height: 44px; max-height: 140px; padding: 11px 14px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--text); font: 500 .95rem/1.4 var(--body); resize: none; box-sizing: border-box; }
.yc-row textarea:focus { outline: 2px solid var(--y); outline-offset: 1px; border-color: transparent; }
.yc-compose .yc-photo { position: relative; overflow: hidden; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer; font-size: 1.2rem; }
.yc-send { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--y); color: var(--n); cursor: pointer; }
.yc-send svg { width: 20px; height: 20px; }
.yc-send:disabled { opacity: .5; }
.yc-ctx { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; border-left: 3px solid var(--y); border-radius: 6px; background: rgba(255, 255, 255, .06); }
.yc-ctx[hidden] { display: none; }
.yc-ctx-in { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: .82rem; color: var(--muted); }
.yc-ctx-in b { color: var(--y); }
.yc-ctx-in span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yc-ctx .yc-x { position: static; }
.yc-join { align-items: center; text-align: center; }
.yc-join .yc-login { margin: 4px 0; }
.yc-pill { position: sticky; bottom: 84px; align-self: center; z-index: 3; margin-top: -40px; padding: 8px 14px; border: 0; border-radius: 20px; background: var(--y); color: var(--n); font: 800 .85rem var(--body); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); cursor: pointer; }
.yc-pill[hidden] { display: none; }

.sheet.full .yc-top { width: 100%; align-self: center; }

/* ---------- friends on My Yok! ---------- */
.fr-lead { color: var(--muted); font-size: .92rem; margin: -6px 0 12px; max-width: 760px; }
.fr-mine { margin: 0 0 14px; }
.fr-mine b { color: var(--y); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
.fr-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; max-width: 620px; }
.fr-add .fld { flex: 1 1 240px; margin: 0; }
.fr-add input { width: 100%; height: 46px; padding: 0 14px; box-sizing: border-box; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--text); font: 700 1rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; }
.fr-add input:focus { outline: 2px solid var(--y); outline-offset: 1px; border-color: transparent; }
.fr-add .btn { height: 46px; }
.fr-msg { min-height: 1.2em; margin: 8px 0 4px; font-size: .9rem; }
.fr-msg.ok { color: #7CF2A4; } .fr-msg.bad { color: #FFB4CF; }
.fr-group { margin-top: 18px; max-width: 760px; }
.fr-group h3 { margin: 0 0 8px; font-size: 1rem; }
.fr-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); margin-bottom: 8px; }
.fr-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fr-who small { color: var(--faint); font-family: ui-monospace, Menlo, Consolas, monospace; }
.fr-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.yc-friend { color: var(--y) !important; }
.yc-done { cursor: default; color: var(--faint); }
.yc-report svg { width: 15px; height: 15px; vertical-align: -2px; }
.yc-report:hover { color: #FFB4CF !important; }
/* ---------- compact chat (less scrolling) ---------- */
.sheet.full .yc-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px; }
.yc-top .yc-back { margin: 0; padding: 8px; flex: none; }
.yc-top-txt { min-width: 0; flex: 1; }
.sheet.full .yc-title { margin: 0; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yc-top .yc-sub { margin: 1px 0 0; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yc-see { border: 0; background: none; padding: 0; color: var(--y); font: 700 .82rem var(--body); cursor: pointer; text-decoration: underline; }
.yc-note { text-align: center; margin: 4px auto 8px; max-width: 520px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--faint); font-size: .76rem; line-height: 1.4; }
.yc-note .yc-count { color: var(--muted); }
.sheet.full .sheet-body { padding-top: 8px; }
.yc-list { gap: 3px; }
.yc-day { margin: 8px 0 4px; }
.yc-m .yc-bub { padding: 5px 10px 5px; cursor: pointer; }
.yc-name { margin-bottom: 0; }
.yc-txt { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.35; font-size: .95rem; }
.yc-txt::after { content: attr(data-gap); display: inline-block; visibility: hidden; padding-left: 10px; font-size: .68rem; }   /* room for the time on the last line */
.yc-bub .yc-time { position: absolute; right: 10px; bottom: 4px; margin: 0; font-size: .68rem; }
.yc-quote { margin: 2px 0 4px; padding: 3px 8px; }
.yc-m .yc-acts { display: none; margin: 1px 0 4px; }
.yc-m.open .yc-acts { display: flex; }
.yc-m.mine + .yc-m.mine, .yc-m:not(.mine) + .yc-m:not(.mine) { margin-top: -1px; }
.yc-compose { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.yc-row textarea, .yc-compose .yc-photo, .yc-send { min-height: 40px; height: 40px; }
.yc-compose .yc-photo, .yc-send { width: 40px; }
.yc-top .yc-sub { white-space: normal; }
.yc-see { white-space: nowrap; }
.yc-unread { margin: 6px 0 !important; padding: 2px 0 !important; }
/* top swipe card: "N going" sits next to the Tonight badge */
.feat-badges { position: absolute; left: 18px; top: 18px; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(100% - 100px); }
.feat-badges .feat-tag, .feat-badges .going.hot.corner { position: static; }
.yc-row textarea { padding: 9px 14px; line-height: 20px; overflow-y: hidden; }
/* Friends page */
.fr-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 10px; background: var(--pink); color: #fff; font: 800 .75rem/1 var(--body); }
.fr-note { margin: 0 0 8px; color: var(--faint); font-size: .85rem; }
.fr-btns .btn.danger { color: #ff7a9c; border-color: rgba(255, 122, 156, .45); }
.fr-row { flex-wrap: wrap; }
.fr-who { flex: 1 1 140px; min-width: 0; }
.fr-who small { white-space: nowrap; }
.fr-btns { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
/* a message the admin/organiser has hidden: clearly marked */
.yc-m.yc-hidden { opacity: 1; }
.yc-m.yc-hidden .yc-bub { opacity: .6; border: 1px dashed rgba(255, 122, 156, .7); }
.yc-hidden-tag { margin: 0 0 2px; color: #ff7a9c; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
/* the artist / venue / organiser posting in their own chat */
.yc-name b.yc-star { color: #FF5FA2; }
.yc-badge.yc-official { background: #FF2E88; color: #fff; }
.yc-m.official .yc-bub { border-left: 3px solid #FF2E88; background: rgba(255, 46, 136, .12); }
/* city picker: regions */
.city-regions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.city-reg { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: var(--muted); font: 700 .85rem var(--body); cursor: pointer; }
.city-reg:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.city-reg.on { background: var(--y); border-color: var(--y); color: var(--n); }
.city-map { cursor: zoom-in; }
.th-land { vector-effect: non-scaling-stroke; }
.th-label { font-size: calc(13px * var(--z, 1)); stroke-width: calc(4px * var(--z, 1)); }
.th-dot { r: calc(4.5px * var(--z, 1)); stroke-width: calc(1.5px * var(--z, 1)); }
.th-ring { r: calc(11px * var(--z, 1)); }
.th-city:hover .th-dot, .th-city.hl .th-dot { r: calc(6.5px * var(--z, 1)); }
.th-city.dim { opacity: .3; }
.city-map-tip { display: block; text-align: center; margin-top: 4px; color: var(--faint); font-size: .75rem; }
.city-box.has-map .city-list { max-height: 62vh; overflow-y: auto; align-content: start; }
@media (max-width: 560px) {
  .th-label { font-size: calc(19px * var(--z, 1)); stroke-width: calc(5px * var(--z, 1)); }
  .th-dot { r: calc(6px * var(--z, 1)); } .th-ring { r: calc(14px * var(--z, 1)); }
  .city-mapbox { flex-direction: column; align-items: center; }
  .city-box.has-map .city-list { max-height: 34vh; }
  .city-regions { padding: 8px 12px; }
  .city-reg { padding: 6px 10px; font-size: .8rem; }
}
.city-map { overflow: hidden; }
@media (max-width: 560px) { .city-map { aspect-ratio: 247 / 424; width: auto; height: 34vh; max-height: 260px; } }
/* artists: tappable pink name, band member, "Post as" */
.yc-name .yc-star { padding: 0; border: 0; background: none; color: #FF5FA2; font: 800 .85rem var(--body); cursor: pointer; }
.yc-name .yc-star:hover { text-decoration: underline; }
.yc-band { color: #FFB4CF; font-size: .75rem; font-weight: 700; }
.yc-as { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; }
.yc-as-lbl { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.yc-as-sel { padding: 5px 8px; border-radius: 8px; border: 1px solid rgba(255, 95, 162, .5); background: #141A3D; color: var(--text); font: 700 .82rem var(--body); }
.yc-compose.as-artist .yc-as-sel { background: rgba(255, 46, 136, .18); color: #FF5FA2; }
.yc-as-note { color: var(--faint); font-size: .75rem; }
/* acts: members (My Yok! and admin) */
.fr-group.act h3 { display: flex; align-items: center; gap: 8px; color: #FF5FA2; }
.act-admin .act-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.act-admin .act-btns { display: flex; gap: 6px; }
.act-admin .fld-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.act-admin .fld-row input { flex: 1 1 200px; }
/* full-screen chat on phones: exactly the visible area (measured), so Safari's bars never hide the typing box */
@media (max-width: 759px) {
  /* fill exactly the fixed screen area (Safari keeps that clear of its bars); 100vh/100dvh can reach behind them on iPhone */
  .sheet.full { top: 0; bottom: 0; height: auto; align-items: stretch; }
  .sheet.full .sheet-panel { height: auto; max-height: none; align-self: stretch; }
}
/* tick boxes in forms keep their small size (the text-box style mustn't stretch them) */
.crew-form .fld input[type="checkbox"], .crew-form .fld input[type="radio"],
.fld .tick-chip input[type="checkbox"], .fld .tick input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; border: 0; border-radius: 4px; flex: none; background: none; accent-color: var(--y); }
