/* v6-clubs.css — Clubs tab (locked ClubsC1) + ClubCreate (prefix cb-) */
.cb-tab { position: relative; overflow: visible; min-height: 100%; }
.cb-bg { position: absolute; left: 0; top: 0; pointer-events: none; }
.cb-wrap { position: relative; padding-bottom: max(110px, calc(86px + env(safe-area-inset-bottom, 0px))); }
.cb-grow { flex-grow: 1; min-width: 0; }

/* greeting row */
.cb-greet { display: flex; align-items: center; gap: 10px; padding: 4px 16px 0; }
.cb-av {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #D4B98A; background: #17171A; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: #E3C998; overflow: hidden; box-sizing: border-box;
}
.cb-av img { width: 100%; height: 100%; object-fit: cover; }
.cb-hi { font-size: 12px; color: #A79F94; }
.cb-nm { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-plate {
  height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid; display: flex; align-items: center; cursor: pointer;
  font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 700; letter-spacing: .1em; flex-shrink: 0;
}

/* search + add */
.cb-searchrow { display: flex; gap: 10px; margin: 14px 16px 0; }
.cb-search {
  flex-grow: 1; min-width: 0; height: 44px; border-radius: 12px; background: #1F1F22; border: 1px solid #2E2E33; box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05); display: flex; align-items: center; gap: 8px; padding: 0 14px; color: #8A8178;
}
.cb-search input { flex-grow: 1; min-width: 0; border: 0; background: transparent; color: #F2EFEA; font: 500 14px 'Manrope', sans-serif; outline: none; padding: 0; }
.cb-search input::placeholder { color: #8A8178; }
.cb-search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(.7); }
.cb-add {
  height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(212,185,138,.5); background: transparent;
  color: #E3C998; font: 700 14px 'Manrope', sans-serif; display: flex; align-items: center; gap: 6px; cursor: pointer; flex-shrink: 0;
}

/* filter chips */
.cb-chips { display: flex; gap: 8px; margin: 12px 16px 0; overflow-x: auto; scrollbar-width: none; }
.cb-chips::-webkit-scrollbar { display: none; }
.cb-chip {
  height: 32px; padding: 0 12px; border-radius: 16px; background: #1F1F22; border: 1px solid #2E2E33; flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05); color: #F2EFEA; display: flex; align-items: center; gap: 6px;
  font: 700 13px 'Manrope', sans-serif; cursor: pointer;
}
.cb-chip .n { font-size: 11px; color: #8A8178; }
.cb-chip.on { background: rgba(212,185,138,.16); border-color: rgba(212,185,138,.55); color: #E3C998; box-shadow: none; }

/* section */
.cb-sect { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 16px 10px; }
.cb-sect h2 { margin: 0; font-size: 17px; font-weight: 700; color: #F2EFEA; }
.cb-sort { font-size: 13px; font-weight: 600; color: #E3C998; text-decoration: none; }
.cb-cards { display: flex; flex-direction: column; gap: 12px; margin: 0 16px; }
.cb-create-card {
  min-height: 76px; width: 100%; border-radius: 18px; border: 1px dashed rgba(212,185,138,.48);
  background: rgba(18,18,20,.72); color: #E3C998; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; box-sizing: border-box; text-align: left; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.cb-create-card:active { transform: scale(.992); }
.cb-create-plus {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(212,185,138,.14); border: 1px solid rgba(212,185,138,.5); color: #F0D39A; font: 800 24px/1 'Manrope', sans-serif;
}
.cb-create-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cb-create-copy b { color: #F2EFEA; font: 800 15px 'Manrope', sans-serif; }
.cb-create-copy small { color: #A79F94; font: 600 12px 'Manrope', sans-serif; }
.cb-create-go { margin-left: auto; color: #D4B98A; font-size: 24px; line-height: 1; }

/* metal card */
.cb-card {
  position: relative; display: block; height: 150px; border-radius: 18px; overflow: hidden; text-decoration: none;
  background: var(--cb-g); border: 1px solid var(--cb-bd); box-sizing: border-box; color: var(--cb-tx);
  box-shadow: 0 14px 28px rgba(0,0,0,.55), inset 0 1px 0 var(--cb-hl); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.cb-card:active { transform: scale(.992); }
.cb-rings { position: absolute; right: 0; top: 0; pointer-events: none; }
.cb-tilewrap { position: absolute; left: 16px; top: 16px; width: 56px; height: 56px; }
.cb-tile {
  width: 56px; height: 56px; border-radius: 14px; background: var(--cb-tile); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden;
}
.cb-lvl { position: absolute; right: -6px; bottom: -7px; line-height: 0; }
.cb-head { position: absolute; left: 88px; right: 44px; top: 16px; }
.cb-name {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; letter-spacing: .04em; color: var(--cb-tx);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25;
}
.cb-ids { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 12px; color: var(--cb-sub); }
.cb-ids b { color: var(--cb-tx); }
.cb-union { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--cb-tx); }
.cb-star {
  position: absolute; right: 6px; top: 8px; width: 36px; height: 36px; padding: 0; border: 0; background: transparent;
  color: var(--cb-sub); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cb-member { position: absolute; left: 16px; right: 16px; top: 88px; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--cb-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-foot { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 600; color: var(--cb-tx); white-space: nowrap; }
.cb-ppl, .cb-live { display: inline-flex; align-items: center; gap: 5px; }
.cb-live i { width: 7px; height: 7px; border-radius: 4px; background: #22F08A; }
.cb-live.off { color: var(--cb-sub); }
.cb-live.off i { background: #5F5A54; }
.cb-role { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: var(--cb-pill); border: 1px solid var(--cb-pillbd); border-radius: 5px; padding: 2px 6px; }
.cb-prev { cursor: default; }
.cb-prev:active { transform: none; }
.cb-prev .cb-ids { white-space: nowrap; }

.cb-skel { height: 150px; border-radius: 18px; background: linear-gradient(110deg, #1F1F22 30%, #26262A 50%, #1F1F22 70%); background-size: 200% 100%; border: 1px solid #2E2E33; animation: cb-sh 1.4s linear infinite; }
@keyframes cb-sh { to { background-position: -200% 0; } }

/* empty / locked */
.cb-none { margin: 4px 16px 0; padding: 26px 16px; text-align: center; font-size: 13px; color: #8A8178; border: 1px dashed #2E2E33; border-radius: 16px; }
.cb-empty, .cb-ghost {
  position: relative; overflow: hidden; margin: 0 16px; padding: 26px 20px 22px; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, #2C2C2F 0%, #1F1F22 40%, #202023 62%, #0A0A0B 100%); border: 1px solid rgba(212,185,138,.35);
  box-shadow: 0 14px 28px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cb-ghost { border-style: dashed; }
.cb-empty-ic, .cb-lock { width: 56px; height: 56px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; position: relative; }
.cb-empty-t { position: relative; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; letter-spacing: .04em; color: #F2EFEA; margin-top: 4px; }
.cb-empty-s { position: relative; font-size: 12.5px; line-height: 1.45; color: #A39C8E; max-width: 290px; }
.cb-empty-b { position: relative; display: flex; gap: 10px; margin-top: 8px; width: 100%; }
.cb-empty-b > * { flex: 1; }
.cb-locked { display: flex; flex-direction: column; gap: 14px; }
.cb-locked .cb-wide { margin: 0 16px; width: auto; }

/* buttons */
.cb-btn-gold {
  height: 48px; border-radius: 10px; border: 0; background: #D4B98A; color: #15120D; font: 800 14px 'Manrope', sans-serif;
  display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); cursor: pointer; padding: 0 16px;
}
.cb-btn-gold:disabled { opacity: .55; cursor: default; }
.cb-btn-line { height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #F2EFEA; font: 700 14px 'Manrope', sans-serif; cursor: pointer; padding: 0 16px; }
.cb-wide { width: 100%; }
.cb-legal { text-align: center; font-size: 10.5px; color: #6E675F; }

/* sheets */
.cb-sheet { padding: 18px 20px 6px; display: flex; flex-direction: column; gap: 10px; font-family: 'Manrope', sans-serif; color: #F2EFEA; max-width: var(--sheet-w); margin: 0 auto; box-sizing: border-box; }
.cb-sheet-t { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; text-align: center; color: #F2EFEA; letter-spacing: .03em; }
.cb-sheet-s { font-size: 12.5px; color: #A79F94; text-align: center; margin-bottom: 4px; }
.cb-opt {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #1F1F22; border: 1px solid #2E2E33;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05); color: #F2EFEA; text-align: left; cursor: pointer; font-family: 'Manrope', sans-serif;
}
.cb-opt-ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #1B5C40 0%, #0B3021 40%, #144B33 62%, #06190F 100%); border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cb-opt:last-child .cb-opt-ic { background: linear-gradient(135deg, #24406E 0%, #0F1E3A 40%, #1B3460 62%, #08111F 100%); }
.cb-opt-x { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.cb-opt-x b { font-size: 15px; font-weight: 800; }
.cb-opt-x small { font-size: 11.5px; color: #A79F94; }
.cb-opt-ch { color: #8A8178; font-size: 20px; }
.cb-lbl { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: #8A8178; }
.cb-in {
  height: 50px; box-sizing: border-box; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(18,18,20,.75); color: #F2EFEA; font: 500 15px 'Manrope', sans-serif; outline: none; width: 100%;
}
.cb-in:focus { border-color: rgba(212,185,138,.55); }
.cb-in::placeholder { color: #6E675F; }

/* ClubCreate overlay */
.cb-create {
  position: fixed; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; width: 100%; max-width: var(--app-w); z-index: 40;
  background: #161618; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; font-family: 'Manrope', sans-serif; color: #F2EFEA;
}
.cb-create::-webkit-scrollbar { display: none; }
.cb-cr-in { position: relative; }
.cb-cr-top { display: flex; align-items: center; gap: 8px; padding: 14px 12px 6px; }
.cb-cr-top h1 { margin: 0; flex-grow: 1; font-size: 18px; font-weight: 800; }
.cb-back { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #F2EFEA; background: transparent; border: 0; cursor: pointer; padding: 0; }
.cb-step { font-size: 12px; color: #8A8178; padding-right: 4px; }
.cb-m16 { margin: 6px 16px 0; }
.cb-cap { font-size: 10px; font-weight: 700; letter-spacing: .22em; color: #8A8178; margin-bottom: 8px; }
.cb-seg { display: flex; padding: 4px; margin: 0 16px; border-radius: 12px; background: #1F1F22; border: 1px solid #2E2E33; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.cb-seg button { flex: 1; height: 38px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #A79F94; font: 700 13px 'Manrope', sans-serif; cursor: pointer; }
.cb-seg button.on { background: rgba(255,255,255,.09); border-color: rgba(212,185,138,.35); color: #F2EFEA; }
.cb-upload {
  margin: 10px 16px 0; min-height: 76px; border-radius: 14px; border: 1.5px dashed rgba(212,185,138,.4); background: rgba(18,18,20,.5);
  display: flex; align-items: center; gap: 14px; padding: 10px 16px; cursor: pointer; box-sizing: border-box;
}
.cb-upload[hidden] { display: none; }
.cb-up-ic { width: 44px; height: 44px; border-radius: 12px; background: #17171A; border: 1px solid rgba(212,185,138,.35); display: flex; align-items: center; justify-content: center; color: #E3C998; flex-shrink: 0; }
.cb-upload b { display: block; font-size: 14px; font-weight: 700; color: #F2EFEA; }
.cb-upload small { display: block; margin-top: 3px; font-size: 11.5px; color: #A79F94; }
.cb-embgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 6px; margin: 14px 16px 0; }
.cb-embgrid[hidden] { display: none; }
.cb-emb { border: 0; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; min-width: 0; }
.cb-emb-r { border-radius: 14px; }
.cb-emb.on .cb-emb-r { box-shadow: 0 0 0 2px #161618, 0 0 0 4px #D4B98A; }
.cb-emb-t { width: 52px; height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.cb-emb-n { font: 600 10.5px 'Manrope', sans-serif; color: #A79F94; white-space: nowrap; }
.cb-emb.on .cb-emb-n { color: #E3C998; }
.cb-fins { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; margin: 0 16px; }
.cb-fin { border: 0; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; min-width: 0; }
.cb-fin-d { width: 34px; height: 34px; border-radius: 17px; border: 1px solid rgba(255,255,255,.2); box-sizing: border-box; }
.cb-fin.on .cb-fin-d { box-shadow: 0 0 0 2px #161618, 0 0 0 4px #D4B98A; }
.cb-fin-n { font: 600 9.5px 'Manrope', sans-serif; color: #A79F94; text-align: center; line-height: 1.2; }
.cb-fin.on .cb-fin-n { color: #E3C998; }
.cb-field { display: flex; flex-direction: column; gap: 7px; margin: 0 16px 12px; }
.cb-panel { margin: 0 16px; padding: 0 14px; border-radius: 16px; background: #1F1F22; border: 1px solid #2E2E33; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.cb-sw-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cb-sw-row:last-child { border-bottom: 0; }
.cb-sw-t { font-size: 14px; font-weight: 700; }
.cb-sw-s { margin-top: 2px; font-size: 11.5px; color: #A79F94; }
.cb-sw { width: 46px; height: 28px; border-radius: 14px; border: 0; padding: 3px; background: #2A2A2D; display: flex; justify-content: flex-start; cursor: pointer; flex-shrink: 0; }
.cb-sw span { width: 22px; height: 22px; border-radius: 11px; background: #8A8178; }
.cb-sw.on { background: #D4B98A; justify-content: flex-end; }
.cb-sw.on span { background: #15120D; }
.cb-lvlrow { margin-top: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.cb-cta {
  position: fixed; bottom: 0; left: 0; right: 0; margin: 0 auto; width: 100%; max-width: var(--app-w); box-sizing: border-box; z-index: 41;
  padding: 12px 16px 22px; background: linear-gradient(180deg, rgba(22,22,24,0), #161618 30%);
}
.cb-cta .cb-btn-gold { height: 52px; }
.cb-cta .cb-legal { margin-top: 10px; }

@media (max-width: 380px) {
  .cb-fins { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 10px; }
  .cb-embgrid { gap: 12px 4px; }
  .cb-emb-t { width: 48px; height: 48px; }
  .cb-chip { padding: 0 10px; }
}

/* Polaris Global Lobby card (pinned first) */
.cb-globalwrap { margin: 16px 16px 0; }
.cb-global { box-shadow: 0 14px 28px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(212,185,138,.12); }
.cb-gtile { border-color: rgba(212,185,138,.45); }
.cb-gname { color: #E3C998; }
.cb-global .cb-ids { gap: 5px; }
.cb-global .cb-ids svg { vertical-align: -2px; }
.cb-play {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #15120D; background: #D4B98A; border-radius: 6px; padding: 4px 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

/* daily bonus nudge */
.cb-dailywrap:empty { display: none; }
.cb-daily {
  margin: 12px 16px 0; width: calc(100% - 32px); height: 40px; box-sizing: border-box; padding: 0 6px 0 10px; border-radius: 12px;
  display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left;
  background: linear-gradient(90deg, rgba(212,185,138,.14), rgba(212,185,138,.04)); border: 1px solid rgba(212,185,138,.35);
  color: #F2EFEA; font: 600 13px 'Manrope', sans-serif;
}
.cb-daily:disabled { opacity: .6; }
.cb-daily-ic { display: flex; flex-shrink: 0; }
.cb-daily-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-daily-t b { color: #E7C873; font-weight: 800; }
.cb-daily-t small { font-size: 11.5px; color: #8A8178; font-weight: 600; }
.cb-daily-t svg { vertical-align: -1px; }
.cb-daily-c { flex-shrink: 0; height: 28px; padding: 0 12px; border-radius: 8px; background: #D4B98A; color: #15120D; font-weight: 800; font-size: 12.5px; display: flex; align-items: center; }
.cb-global .cb-head { right: 14px; }
.cb-global .cb-ids { white-space: nowrap; overflow: hidden; }
@media (max-width: 380px) { .cb-gname { font-size: 20px; letter-spacing: .02em; } }

/* Polaris Global Lobby card: its own "polar aurora" finish — not one of
   the club finishes, so no club card can ever look like it */
.cb-global { position: relative; overflow: hidden; }
.cb-global::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(1.2px 1.2px at 22% 28%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 63% 18%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1.4px 1.4px at 78% 62%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 41% 74%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 90% 35%, rgba(231,200,115,.9), transparent 60%),
    radial-gradient(1px 1px at 12% 58%, rgba(255,255,255,.55), transparent 60%);
}
.cb-global { box-shadow: 0 14px 30px rgba(10,16,40,.7), 0 0 0 1px rgba(120,220,205,.18), inset 0 1px 0 rgba(255,255,255,.14); }

/* ---------- start-a-club invitation (empty clubs) ---------- */
.cb-start { position: relative; margin: 2px 16px 6px; padding: 22px 18px 18px; border-radius: 22px; text-align: center; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 0%, rgba(227,201,152,.16), transparent 70%), linear-gradient(180deg, #1A1915, #121214);
  border: 1px solid rgba(227,201,152,.28); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.cb-sg { position: relative; height: 118px; display: grid; place-items: center; }
.cb-sg-card { position: absolute; width: 112px; height: 72px; border-radius: 14px; background: linear-gradient(135deg, var(--c), #0E0E10); border: 1px solid rgba(227,201,152,.35); box-shadow: 0 10px 20px rgba(0,0,0,.55); animation: cbFloat 4.5s ease-in-out infinite; }
.cb-sg-card:nth-child(2) { animation-delay: -1.5s; } .cb-sg-card:nth-child(3) { animation-delay: -3s; }
.cb-sg-card i { position: absolute; left: 12px; top: 14px; width: 26px; height: 29px; clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); background: linear-gradient(160deg, #F6E2B3, #A9803F); opacity: .5; }
.cb-sg-card b { position: absolute; left: 46px; top: 18px; width: 50px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.18); }
.cb-sg-card em { position: absolute; left: 46px; top: 32px; width: 34px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); }
@keyframes cbFloat { 50% { margin-top: -6px; } }
.cb-sg-hex { position: relative; z-index: 2; width: 66px; height: 74px; clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); display: grid; place-items: center;
  background: linear-gradient(160deg, #FBE7AE, #D9AE55 45%, #8C6420); filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); animation: cbGlow 3s ease-in-out infinite; }
@keyframes cbGlow { 50% { filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)) drop-shadow(0 0 14px rgba(243,214,150,.45)); } }
.cb-sg-spark { position: absolute; z-index: 3; width: 10px; height: 10px; background: #FFF4D6; clip-path: polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%); animation: cbTw 2.4s ease-in-out infinite; }
.cb-sg-spark.s1 { left: calc(50% + 34px); top: 18px; } .cb-sg-spark.s2 { left: calc(50% - 46px); top: 30px; animation-delay: -.8s; transform: scale(.7); } .cb-sg-spark.s3 { left: calc(50% + 20px); bottom: 10px; animation-delay: -1.6s; transform: scale(.55); }
@keyframes cbTw { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.cb-start-t { margin-top: 8px; font: 800 19px 'Manrope', sans-serif; color: #F3DEAE; }
.cb-start-s { margin: 6px auto 0; max-width: 300px; font: 600 12.5px/1.5 'Manrope', sans-serif; color: #A39C8E; }
.cb-steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 16px; font: 700 11.5px 'Manrope', sans-serif; color: #CFC9BF; }
.cb-steps span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cb-steps b { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(227,201,152,.16); color: #E3C998; font-size: 10.5px; }
.cb-steps i { width: 14px; height: 1px; background: rgba(227,201,152,.35); }
.cb-start .cb-empty-b { display: flex; gap: 8px; justify-content: center; }
.cb-start .cb-empty-b button { flex: 1; max-width: 170px; }
.cb-gsect { margin-top: 10px; } .cb-gsub { font: 700 11.5px 'Manrope', sans-serif; color: #8A8178; }
@media (prefers-reduced-motion: reduce) { .cb-sg-card, .cb-sg-hex, .cb-sg-spark { animation: none; } }

/* empty state: the approved club-carousel plaques (owner 2026-10-06) */
.cb-sg.cb-sg-plq { height: 150px; }
.cb-plq-slot { position: absolute; top: 8px; left: 50%; animation: cbPlqF 5s ease-in-out infinite; }
.cb-plq-slot.f { margin-left: -150px; z-index: 3; }
.cb-plq-slot.b1 { margin-left: -40px; top: 14px; z-index: 2; transform: scale(.9); transform-origin: left center; animation-delay: -1.6s; }
.cb-plq-slot.b2 { margin-left: 10px; top: 20px; z-index: 1; transform: scale(.8); transform-origin: left center; animation-delay: -3.2s; }
@keyframes cbPlqF { 50% { margin-top: -5px; } }
@media (prefers-reduced-motion: reduce) { .cb-plq-slot { animation: none; } }
.cb-plq { --cut: 12px; width: 236px; height: 132px; padding: 2px; box-sizing: border-box;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  background: linear-gradient(150deg, #FBE7AE, #B8892E 30%, #6E4A14 55%, #E3C998 78%, #8C6420);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.6)); }
.cb-plq-in { position: relative; height: 100%; box-sizing: border-box; padding: 12px 14px;
  clip-path: polygon(calc(var(--cut) - 1px) 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, calc(var(--cut) - 1px) 100%, 0 calc(100% - var(--cut) + 1px), 0 calc(var(--cut) - 1px));
  background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.10), transparent 55%), repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 5px), var(--plq); text-align: left; }
.cb-plq-black { --plq: linear-gradient(160deg, #26262A, #0E0E10 60%, #18181B); }
.cb-plq-blue { --plq: linear-gradient(160deg, #1F3E8E, #0E1F52 60%, #162E6E); }
.cb-plq-red { --plq: linear-gradient(160deg, #8E1F28, #4E0E14 60%, #6E1820); }
.cb-plq-p { width: 30px; height: 38px; object-fit: contain; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.cb-plq-star { position: absolute; right: 12px; top: 10px; }
.cb-plq-name { margin-top: 4px; font: 800 14px 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #F3E6C6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-plq-id { font: 700 9.5px 'Manrope', sans-serif; letter-spacing: .14em; color: #CFC4AE; margin-top: 1px; }
.cb-plq-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.cb-plq-lvl svg polygon { fill: none; stroke: #E7C873; stroke-width: 1.4; }
.cb-plq-lvl svg text { fill: #F3DEAE; }
.cb-plq-meta { display: flex; flex-direction: column; gap: 4px; font: 700 7.5px 'Manrope', sans-serif; letter-spacing: .1em; color: #B9AE98; min-width: 0; }
.cb-plq-foot { display: flex; align-items: center; gap: 5px; font: 700 10px 'Manrope', sans-serif; letter-spacing: 0; color: #E9E2D2; }
.cb-plq-foot svg { width: 12px; height: 12px; }
.cb-plq-foot i { width: 7px; height: 7px; border-radius: 50%; background: #22F08A; margin-left: 4px; }
.cb-plq-foot u { text-decoration: none; margin-left: 6px; padding: 2px 6px; border: 1px solid #C9A15E; border-radius: 4px; color: #E7C873; font-size: 8px; letter-spacing: .12em; }
.cb-plq-foot em { font-style: normal; }

/* ---------- club plaque frame (owner 2026-10-06: club cards = the approved
   carousel plaque: chamfered corners, gold bevel, leather grain) ---------- */
.plq-sh { filter: drop-shadow(0 14px 20px rgba(0,0,0,.6)); }
.plq-fr { --cut: 14px; padding: 2px;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  background: linear-gradient(150deg, #FBE7AE, #B8892E 30%, #6E4A14 55%, #E3C998 78%, #8C6420); }
.plq-fr > .plq { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important;
  clip-path: polygon(calc(var(--cut) - 1px) 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, calc(var(--cut) - 1px) 100%, 0 calc(100% - var(--cut) + 1px), 0 calc(var(--cut) - 1px)); }
.plq-fr > .cb-card.plq { background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.10), transparent 55%), repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 5px), var(--cb-g); }
.plq-fr > .cl-card.plq { background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.10), transparent 55%), repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 5px), var(--cl-g); }

/* join sheet (club_setup/join_club.dart): input → preview → pending */
.cb-join .cb-btn-line { margin-top: 2px; }
.cb-jerr { font-size: 12px; font-weight: 700; line-height: 1.35; color: #E5484D; }
.cb-jerr.info { color: #A6A8AE; }
.cb-jhead { display: flex; align-items: center; gap: 8px; }
.cb-jhead .cb-sheet-t { flex: 1; text-align: left; }
.cb-jback { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #1F1F22; color: #F2EFEA; font-size: 22px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.cb-jcard { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #1F1F22; border: 1px solid #2E2E33; }
.cb-jt { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255,255,255,.12); flex-shrink: 0; }
.cb-jt img { width: 100%; height: 100%; object-fit: cover; }
.cb-jname { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.cb-jfacts { margin-top: 2px; font-size: 11.5px; font-weight: 700; color: #A6A8AE; }
.cb-jsub { margin-top: 4px; font-size: 11.5px; color: #8A8178; }
.cb-jdesc { margin-top: 8px; font-size: 12px; line-height: 1.4; color: #A6A8AE; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cb-join .cb-sheet-s { text-align: left; }
.cb-jdone { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cb-jdone .cb-sheet-s { text-align: center; }
.cb-jhg { width: 52px; height: 52px; border-radius: 50%; background: #1F1F22; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }

/* pending "Waiting for approval" cards (pending_joins.dart) */
.cb-pjs { display: flex; flex-direction: column; gap: 8px; margin: 0 16px 6px; }
.cb-pj { display: flex; align-items: center; gap: 12px; padding: 12px 6px 12px 12px; border-radius: 16px; background: #1A1A1D; border: 1px solid #2A2A2F; opacity: .78; }
.cb-pj-t { width: 42px; height: 42px; border-radius: 12px; background: #26262A; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cb-pj-t img { width: 100%; height: 100%; object-fit: cover; }
.cb-pj b { display: block; font-size: 14.5px; font-weight: 800; color: #C9C6C0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-pj small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: #8A8178; }
.cb-pj .cb-grow { min-width: 0; }
.cb-pj-x { width: 34px; height: 34px; border: 0; background: none; color: #8A8178; font-size: 15px; cursor: pointer; flex-shrink: 0; }

/* Search Club (ClubGG layout, our look — owner 2026-10-08) */
.sc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.sc-head .cb-sheet-t { flex: 1; }
.sc-back, .sc-back-sp { width: 36px; height: 36px; flex-shrink: 0; }
.sc-back { border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #1F1F22; color: #F2EFEA; font-size: 22px; line-height: 1; cursor: pointer; }
.sc-f { display: flex; flex-direction: column; gap: 6px; }
.sc-fl { font-size: 12.5px; font-weight: 700; color: #C9C2B8; }
.sc-fl small { font-weight: 600; color: #6E675F; margin-left: 4px; }
.sc-box { display: flex; align-items: center; gap: 10px; min-height: 50px; box-sizing: border-box; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(18,18,20,.75); }
.sc-inbox:focus-within { border-color: rgba(212,185,138,.55); }
.sc-in { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: #F2EFEA; font: 500 15px 'Manrope', sans-serif; outline: none; padding: 0; }
.sc-in::placeholder { color: #6E675F; }
.sc-fic { display: flex; color: #8A8178; flex-shrink: 0; }
.sc-hint { font-size: 11px; line-height: 1.4; color: #6E675F; }
.sc-go { margin-top: 6px; }
.sc-top { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-bottom: 4px; }
.sc-name { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.sc-id { font-size: 13px; color: #A79F94; }
.sc-logo { width: 104px; height: 104px; margin-top: 6px; border-radius: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.sc-logo img { width: 100%; height: 100%; object-fit: cover; }
.sc-lvl { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 6px; margin-top: 6px; border-radius: 15px; border: 1px solid rgba(212,185,138,.35); background: #1F1F22; font-size: 13px; font-weight: 800; color: #F2EFEA; }
.sc-desc { font-size: 12px; line-height: 1.4; color: #A6A8AE; max-width: 34ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sc-val { font-size: 14.5px; font-weight: 700; color: #F2EFEA; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-val small { font-weight: 600; color: #8A8178; }
.sc-av { width: 26px; height: 26px; border-radius: 50%; background: #D4B98A; color: #15120D; font: 800 12px 'Manrope', sans-serif; display: flex; align-items: center; justify-content: center; }
