/* cu-room v14 (fix17g): only the Nightclub button on the home picture */
.cc-room-btn { position: absolute; top: 52px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 13px; padding: 0; font-size: 19px; line-height: 1;
  display: grid; place-items: center; color: #fff; cursor: pointer; pointer-events: auto; background: rgba(6,10,20,.5); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-tap-highlight-color: transparent; }
.cc-room-btn.on { border-color: rgba(255,211,77,.7); box-shadow: 0 0 0 2px rgba(255,211,77,.18); }
.cc-room-btn:focus-visible { outline: 2px solid var(--hot, #ffd34d); outline-offset: 2px; }
.cc-room-btn[hidden] { display: none; }
/* cu-clubcount: players inside the club now */
.cc-club-n { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; box-sizing: border-box;
  background: linear-gradient(180deg, #ff4fa3, #e01f7a); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  font-variant-numeric: tabular-nums; border: 1.5px solid #0a0d16; box-shadow: 0 2px 6px rgba(0,0,0,.45); pointer-events: none; }
.cc-club-n[hidden] { display: none; }
/* 17p: 🕹️ arcade button, left of the 🪩 club button */
.cc-room-btn.cc-arcade-btn { right: 60px; }
.cc-arcade-btn .cc-club-n { background: linear-gradient(180deg, #29d3ff, #1677e8); }
/* v13 (map sheet, back 22 Oct cu-room v18) */
.cc-map { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: end center; background: rgba(2,4,10,0); transition: background .2s ease; padding: 0 10px calc(14px + env(safe-area-inset-bottom, 0px)); }
.cc-map[hidden] { display: none; }
.cc-map.show { background: rgba(2,4,10,.6); }
.cc-map-box { width: min(440px, 100%); border-radius: 22px; padding: 14px; background: #0e1424; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.6);
  transform: translateY(30px); opacity: 0; transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.cc-map.show .cc-map-box { transform: none; opacity: 1; }
.cc-map-h { display: flex; align-items: center; justify-content: space-between; margin: 2px 4px 10px; font-size: 16px; }
.cc-map-x { width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; cursor: pointer; }
.cc-map-l { display: grid; gap: 8px; }
.cc-map-p { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 16px; text-align: left; color: inherit; font: inherit; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); }
.cc-map-p.on { border-color: rgba(255,211,77,.65); background: rgba(255,211,77,.07); }
.cc-map-p .th { width: 84px; height: 56px; flex: 0 0 auto; border-radius: 11px; background: #111a2a center / cover no-repeat; }
.cc-map-p .tx { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cc-map-p small { opacity: .7; font-size: 12px; }
.cc-map-p .ck { color: #ffd34d; font-weight: 800; padding-right: 6px; }
.cc-map-f { margin: 10px 4px 2px; font-size: 12px; opacity: .6; }
.cc-map-p .th { position: relative; } .cc-map-p .th i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-style: normal; background: rgba(4,6,12,.55); border-radius: inherit; }
.cc-map-p.lk b { opacity: .75; } .cc-map-p .ck { font-size: 18px; }
/* msheet1 (25 Oct 2026, Sjuul iPhone PWA): the map is a bottom sheet - slides up, below the status bar, inner list scrolls */
.cc-map { place-items: end stretch; padding: calc(10px + env(safe-area-inset-top, 0px)) 0 0; overscroll-behavior: contain; touch-action: none; }
.cc-map-box { display: flex; flex-direction: column; width: min(520px, 100%); justify-self: center; max-height: min(85vh, calc(100vh - 10px - env(safe-area-inset-top, 0px))); max-height: min(85dvh, calc(100dvh - 10px - env(safe-area-inset-top, 0px)));
  border-radius: 22px 22px 0 0; border-bottom: 0; padding: 6px 14px 0; opacity: 1; transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-sizing: border-box; touch-action: auto; }
.cc-map.show .cc-map-box { transform: translateY(0); }
.cc-map-box.drag { transition: none; }
.cc-map-grab { flex: 0 0 auto; display: block; width: 100%; height: 22px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; }
.cc-map-grab::before { content: ''; display: block; width: 44px; height: 5px; margin: 6px auto 0; border-radius: 99px; background: rgba(255,255,255,.3); }
.cc-map-h { flex: 0 0 auto; margin-top: 0; touch-action: none; }
.cc-map-l { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: 4px; }
.cc-map-f { flex: 0 0 auto; margin: 8px 4px 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
html.cc-map-lock, html.cc-map-lock body { overflow: hidden !important; overscroll-behavior: none; }

/* hillbtn (27 Oct 2026): Hill Climb button left of the map button, cartoon Jake driver */
.cc-room-btn.cc-hill-btn { right: 60px; overflow: hidden; }
.cc-hill-btn img { width: 46px; height: 30px; object-fit: cover; object-position: 50% 20%; pointer-events: none; -webkit-user-drag: none; }

/* rallyrace: live racing count on home Jake Rush button */
.cc-hill-btn .cc-hill-live{position:absolute;left:50%;bottom:-2px;transform:translate(-50%,100%);z-index:4;white-space:nowrap;pointer-events:none;
  font:800 9px/1.1 system-ui,sans-serif;padding:3px 6px;border-radius:999px;background:rgba(12,10,18,.92);color:#ffd34d;border:1px solid rgba(255,211,77,.45);
  box-shadow:0 2px 6px rgba(0,0,0,.35)}
.cc-hill-btn{overflow:visible}
