/* Club Hub — same visual language as the Stop Owner Dashboard (chrome-black, neon green, chrome blue).
   Loaded as a global stylesheet so JS-inserted cards/controls receive these rules. */
.ch {
  box-sizing: border-box;
  width: min(100% - 2rem, var(--max, 70rem));
  max-width: var(--max, 70rem);
  margin-inline: auto;
  padding-block: 1.5rem 3.5rem;
  text-align: left;
}
.ch-kicker { margin: 0; letter-spacing: .28em; text-transform: uppercase; font-size: .68rem; color: #9aa4ae; }
.ch h1 { margin: .15rem 0 .35rem; font-family: var(--font-heading, "RS Cinzel", Georgia, serif); letter-spacing: .12em; font-size: clamp(1.6rem, 6vw, 2.3rem); color: #3bfe2c; text-shadow: 0 0 12px rgba(59,254,44,.35); }
.ch-sub { margin: 0 0 1rem; color: #d5dbe0; }
.ch-badge { display: inline-block; margin: 0 0 1rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(30,160,255,.18); border: 1px solid #7ec8ff; color: #d7f0ff; font-weight: 700; font-size: .82rem; }
.ch-msg { min-height: 1.2rem; margin: 0 0 .8rem; }
.ch-msg.ok { color: #6bff5e; background: rgba(59,254,44,.14); border: 1px solid rgba(59,254,44,.7); border-radius: 14px; padding: .7rem .9rem; font-weight: 700; }
.ch-msg.bad { color: #ff8a80; background: rgba(255,70,70,.14); border: 1px solid rgba(255,90,90,.75); border-radius: 14px; padding: .7rem .9rem; font-weight: 700; }

.ch-card { margin: 0 0 1.1rem; padding: 1.2rem 1.1rem 1.3rem; border-radius: 20px; border: 1px solid rgba(255,255,255,.26);
  background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.03) 45%, rgba(255,255,255,.07)), #07090b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 28px rgba(0,0,0,.55); }
.ch-card h2 { margin: 0 0 .6rem; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; color: #eef1f4; }
.ch-card p { margin: .35rem 0; }
.ch-fine, .ch-hint, .ch-note { color: #aab2ba; font-size: .92rem; }
.ch-note { margin: .35rem 0 .8rem; }

.ch-lab { display: block; margin: .9rem 0 .35rem; font-weight: 700; color: #dfe3e8; text-align: left; }
.ch-field { display: block; width: 100%; }
.ch input, .ch select, .ch textarea {
  display: block; width: 100%; box-sizing: border-box; padding: .8rem .9rem; font: inherit; font-size: 1.1rem;
  min-height: 3rem; border-radius: 12px; border: 1px solid #5d666f; background: #050607; color: #fff;
  color-scheme: dark; appearance: none; -webkit-appearance: none;
}
.ch select { background-image: linear-gradient(45deg, transparent 50%, #8fc2ff 50%), linear-gradient(135deg, #8fc2ff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.ch textarea { min-height: 7rem; resize: vertical; line-height: 1.45; }
.ch input[type="hidden"] { display: none; min-height: 0; padding: 0; border: 0; }
.ch-file { position: relative; display: grid; gap: .45rem; justify-items: start; margin-top: .15rem; }
.ch input[type="file"].ch-file-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; min-height: 0;
}
.ch-file-btn { cursor: pointer; margin-top: 0; }
.ch input[type="file"].ch-file-input:focus + .ch-file-btn,
.ch input[type="file"].ch-file-input:focus-visible + .ch-file-btn { outline: 2px solid #3a8dff; outline-offset: 3px; }
.ch-file-name { color: #d5dbe0; font-size: .95rem; font-weight: 600; }
.rs-upload-ok { margin: .15rem 0 0; font-weight: 700; color: #6bff5e; }
.rs-upload-ok[hidden] { display: none; }

.ch-btn { cursor: pointer; appearance: none; font-family: var(--font-heading, "RS Cinzel", Georgia, serif); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 3rem; padding: .85rem 1.15rem; border-radius: 999px;
  color: #3bfe2c; background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.05) 50%, rgba(255,255,255,0) 52%), #050607;
  border: 2px solid #3bfe2c; box-shadow: 0 0 12px rgba(59,254,44,.35); text-decoration: none; }
.ch-btn.wide { width: 100%; margin-top: .85rem; }
.ch-btn.alt { color: #cfe8ff; border-color: #3a8dff; background: linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.08) 46%, rgba(255,255,255,0) 50%, rgba(255,255,255,.06) 100%), #050607;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 10px rgba(40,140,255,.35); }
.ch-btn.warn { color: #ffd9d6; background: #120404; border: 1.5px solid #ff5a4f; box-shadow: none; }
.ch-btn:disabled { opacity: .55; cursor: wait; }

.ch-row { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.ch-list { display: grid; gap: .65rem; }
.ch-club { display: flex; justify-content: space-between; gap: 1rem; align-items: center; text-decoration: none; color: inherit;
  padding: .95rem 1rem; border-radius: 16px; border: 1px solid rgba(58,141,255,.45); background: rgba(0,0,0,.4); }
.ch-club b { letter-spacing: .06em; color: #eef1f4; }
.ch-role-pill { display: inline-block; margin: .25rem 0; padding: .2rem .7rem; border-radius: 999px; border: 2px solid #3bfe2c; color: #3bfe2c;
  background: #050607; letter-spacing: .1em; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.ch-profile { display: flex; gap: 1rem; align-items: flex-start; text-align: left; }
.ch-logo, .ch-logo-ph { width: 88px; height: 88px; flex: 0 0 88px; object-fit: cover; border-radius: 20px; background: #050607; border: 1px solid rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
.ch-logo-ph { display: grid; place-items: center; color: #8fc2ff; font-weight: 800; letter-spacing: .08em; font-size: .7rem; }

.ch-tiles { display: grid; grid-template-columns: 1fr; gap: .7rem; margin: 0 0 1.1rem; }
@media (min-width: 640px) { .ch-tiles { grid-template-columns: 1fr 1fr; } }
.ch-tile { cursor: pointer; appearance: none; text-align: left; min-height: 4.2rem; padding: .9rem 1rem; border-radius: 16px; font-weight: 800; letter-spacing: .06em;
  color: #cfe8ff; background: linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.08) 46%, rgba(255,255,255,0) 50%, rgba(255,255,255,.06) 100%), #050607;
  border: 2px solid #3a8dff; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 10px rgba(40,140,255,.35), 0 6px 14px rgba(0,0,0,.6); }
.ch-tile.on { color: #031a03; background: linear-gradient(180deg, #eaffe6 0%, #8dff80 30%, #3bfe2c 55%, #22c618 100%); border-color: #eaffe6; box-shadow: 0 0 18px rgba(59,254,44,.6); }
.ch-tile-label { display: block; font-size: 1.05rem; text-transform: uppercase; }
.ch-tile-sub { display: block; margin-top: .25rem; font-size: .86rem; font-weight: 700; letter-spacing: .02em; opacity: .9; }
.ch-tile.on .ch-tile-sub { color: #031a03; }

.ch-post { margin-top: .2rem; }
.ch-post h3 { margin: 0 0 .25rem; font-size: 1.15rem; color: #eef1f4; }
.ch-pin { border-left: 3px solid #3a8dff; padding: .55rem .7rem; margin: .45rem 0; border-radius: 0 12px 12px 0; background: rgba(30,110,255,.12); }
.ch-pin-flag { display: inline-block; margin-right: .35rem; padding: .08rem .45rem; border-radius: 999px; border: 1px solid #8fc2ff; color: #8fc2ff; font-size: .7rem; letter-spacing: .08em; font-weight: 800; }
.ch-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .55rem; margin-bottom: 1rem; }
.ch-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: #111; }
.ch-status { display: inline-block; margin-left: .4rem; padding: .12rem .45rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ch-status.pending { color: #ffe18a; } .ch-status.accepted { color: #b7ffb0; } .ch-status.declined, .ch-status.cancelled { color: #ffb0b0; }
.ch-hits { display: grid; gap: .4rem; margin: .35rem 0 .7rem; }
.ch-hits .ch-row, #ch-route-picked .ch-row { justify-content: space-between; padding: .45rem .6rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.25); }
#ch-route-picked { display: grid; gap: .4rem; margin: .35rem 0 .7rem; }
#ch-ride-fields[hidden], .ch [hidden] { display: none !important; }
.ch-empty { color: #cfd5db; }

.ch-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .55rem; }
.ch-section-head h2 { margin: 0; }
.ch-preview { margin: .65rem 0; padding: .75rem .85rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.25); }
.ch-preview p:last-child { margin-bottom: 0; }

/* Stop-page column rhythm: phone stacks; desktop (>=860px) is 1.1fr / 1fr, align start so cards stay dense. */
.ch-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.ch-overview-main, .ch-overview-side { min-width: 0; display: grid; gap: 1.1rem; align-content: start; align-items: start; }
.ch-overview .ch-card { margin-bottom: 0; }
@media (min-width: 860px) {
  .ch-overview { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: start; }
}
