/* club.css
   Retro Relics Comic Club on top of styles.css. Editorial, not a landing
   page: one wide measure, serif for the reading copy, the cover given room,
   the three things a visitor needs (book, date, Discord) above the fold on a
   phone. No speech bubbles. */
:root {
  --cl-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --cl-ink: #F3EEFA;
  --cl-rule: rgba(255,255,255,0.12);
  --cl-measure: 60rem;
  --cl-text-measure: 40rem;
}
.cl { max-width: var(--cl-measure); margin: 0 auto; padding: 2rem 1.1rem 4.5rem; color: var(--cl-ink); }
@media (min-width: 700px) { .cl { padding: 3rem 2rem 5rem; } }
.cl a { color: var(--sky); }
.cl a:hover { color: var(--yellow); }

/* masthead */
.cl-kicker { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 0.6rem; }
.cl h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.025em; color: #fff; margin: 0 0 1rem; max-width: 16ch; }
.cl-lead { font-family: var(--cl-serif); font-size: 1.15rem; line-height: 1.65; color: var(--offwhite); max-width: var(--cl-text-measure); margin: 0 0 1.4rem; }
.cl-free { display: inline-block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); background: var(--yellow); border-radius: 999px; padding: 0.3rem 0.75rem; margin-bottom: 1rem; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2.5rem; }
.cl-actions .btn-primary, .cl-actions .btn-secondary { padding: 0.8rem 1.3rem; }
.cl-btn-discord { display: inline-flex; align-items: center; gap: 0.5rem; }
.cl-btn-discord svg { width: 1.15em; height: 1.15em; fill: currentColor; }

/* the month's book */
.cl-now { display: grid; grid-template-columns: 1fr; gap: 1.5rem; border-top: 1px solid var(--cl-rule); border-bottom: 1px solid var(--cl-rule); padding: 2rem 0; margin: 0 0 2.5rem; }
@media (min-width: 640px) { .cl-now { grid-template-columns: minmax(180px, 260px) 1fr; gap: 2.25rem; align-items: start; } }
.cl-cover { margin: 0; }
.cl-cover img { display: block; width: 100%; max-width: 260px; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,0.45); background: rgba(255,255,255,0.04); }
.cl-cover-empty { aspect-ratio: 2 / 3; max-width: 260px; border: 1px dashed rgba(255,255,255,0.25); border-radius: 6px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; color: var(--text-muted); font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cl-now h2, .cl h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 1.9rem); letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 0.35rem; color: #fff; }
.cl-by { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.95rem; color: var(--text-muted); margin: 0 0 1rem; }
.cl-by b { color: var(--offwhite); font-weight: 600; }
.cl-synopsis { font-family: var(--cl-serif); font-size: 1.08rem; line-height: 1.65; color: var(--offwhite); max-width: var(--cl-text-measure); margin: 0 0 1.25rem; }
.cl-synopsis p { margin: 0 0 0.9rem; }
.cl-when { border-left: 3px solid var(--yellow); padding: 0.6rem 1rem; margin: 0 0 1.25rem; font-family: 'Bricolage Grotesque', sans-serif; }
.cl-when-label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.2rem; }
.cl-when-date { display: block; font-size: 1.15rem; font-weight: 700; color: #fff; }
.cl-countdown { display: block; font-size: 0.9rem; color: var(--text-muted); margin-top: 0.2rem; }
.cl-when-links { margin-top: 0.4rem; font-size: 0.9rem; }
.cl-buy { display: inline-block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 0.85rem; background: var(--yellow); color: var(--purple-deep) !important; border-radius: 6px; padding: 0.35rem 0.75rem; text-decoration: none; }
.cl-ask { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem; color: var(--text-muted) !important; }
.cl-soon { border: 1px solid var(--cl-rule); border-radius: 12px; padding: 1.75rem 1.5rem; margin: 0 0 2.5rem; background: rgba(255,255,255,0.03); }
.cl-soon h2 { margin-bottom: 0.5rem; }
.cl-soon p { font-family: var(--cl-serif); font-size: 1.05rem; line-height: 1.6; color: var(--offwhite); max-width: var(--cl-text-measure); margin: 0 0 1rem; }

/* sections */
.cl-section { margin: 0 0 2.75rem; }
.cl-section > h2 { margin-bottom: 1rem; }
.cl-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .cl-steps { grid-template-columns: repeat(3, 1fr); } }
.cl-steps li { counter-increment: step; border-top: 2px solid var(--yellow); padding-top: 0.8rem; }
.cl-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--yellow); margin-bottom: 0.3rem; }
.cl-steps strong { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.05rem; color: #fff; margin-bottom: 0.3rem; }
.cl-steps p { margin: 0; color: var(--text-muted); line-height: 1.55; font-size: 0.95rem; }
.cl-prose { font-family: var(--cl-serif); font-size: 1.05rem; line-height: 1.65; color: var(--offwhite); max-width: var(--cl-text-measure); }
.cl-prose p { margin: 0 0 0.9rem; }
.cl-prose ol, .cl-prose ul { padding-left: 1.3rem; margin: 0 0 0.9rem; }
.cl-prose li { margin-bottom: 0.4rem; }
.cl details { border-top: 1px solid var(--cl-rule); padding: 0.8rem 0; }
.cl details:last-of-type { border-bottom: 1px solid var(--cl-rule); }
.cl summary { cursor: pointer; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cl summary::-webkit-details-marker { display: none; }
.cl summary::after { content: '+'; color: var(--yellow); font-size: 1.3rem; line-height: 1; flex: none; }
.cl details[open] summary::after { content: '\2212'; }
.cl details .cl-prose { padding-top: 0.6rem; font-size: 1rem; }

/* book lists */
.cl-books { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .cl-books { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.cl-books li { display: grid; grid-template-columns: 72px 1fr; gap: 0.9rem; align-items: start; border: 1px solid var(--cl-rule); border-radius: 10px; padding: 0.9rem; background: rgba(255,255,255,0.025); }
.cl-books img, .cl-books .cl-thumb-empty { width: 72px; height: 108px; object-fit: cover; border-radius: 4px; background: rgba(255,255,255,0.05); }
.cl-books .cl-thumb-empty { border: 1px dashed rgba(255,255,255,0.2); }
.cl-books h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.02rem; font-weight: 700; margin: 0 0 0.2rem; line-height: 1.25; }
.cl-books h3 a { color: #fff; text-decoration: none; }
.cl-books h3 a:hover { color: var(--yellow); }
.cl-books .cl-meta { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.82rem; color: var(--text-muted); margin: 0 0 0.3rem; }
.cl-books p { font-size: 0.92rem; line-height: 1.5; color: var(--offwhite); margin: 0; }
.cl-pill { display: inline-block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; border-radius: 999px; padding: 0.15rem 0.55rem; background: rgba(255,255,255,0.08); color: var(--text-muted); margin-left: 0.4rem; vertical-align: middle; }
.cl-pill-current { background: var(--yellow); color: var(--purple-deep); }

/* suggestion form */
.cl-form { display: grid; gap: 0.9rem; max-width: var(--cl-text-measure); }
.cl-form label { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.3rem; }
.cl-form input, .cl-form textarea { width: 100%; background: rgba(0,0,0,0.28); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 0.7rem 0.9rem; color: #fff; font-family: 'Inter', sans-serif; font-size: 16px; }
.cl-form input:focus, .cl-form textarea:focus { outline: none; border-color: var(--yellow); }
.cl-form textarea { min-height: 7rem; resize: vertical; }
.cl-form .cl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cl-form-msg { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.95rem; color: var(--text-muted); min-height: 1.4em; }
.cl-form-msg.ok { color: #9DBF8E; }
.cl-form-msg.err { color: var(--pink); }

/* archive / book page */
.cl-crumbs { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 1.5rem; }
.cl-crumbs a { color: var(--sky); text-decoration: none; }
.cl-spoiler { border: 1px solid rgba(255,79,123,0.45); border-left: 3px solid var(--pink); border-radius: 8px; padding: 0.9rem 1.1rem; margin: 1.5rem 0; }
.cl-spoiler summary { color: var(--pink); }
.cl-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.95rem; }
.cl-foot { border-top: 1px solid var(--cl-rule); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* the live parts: presence, count me in, progress, poll, share */
.cl-live { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.92rem; color: var(--text-muted); margin: -1.5rem 0 2.5rem; }
.cl-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #57F287; margin-right: 0.4rem; box-shadow: 0 0 0 3px rgba(87,242,135,0.18); vertical-align: middle; }
.cl-live b { color: #fff; font-weight: 700; }
.cl-in { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0.25rem 0 1rem; }
.cl-in-btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 0.95rem; background: transparent; color: #fff; border: 2px solid var(--yellow); border-radius: 999px; padding: 0.6rem 1.1rem; cursor: pointer; transition: background 0.15s, color 0.15s; }
.cl-in-btn:hover { background: rgba(255,200,61,0.12); }
.cl-in-btn[aria-pressed="true"] { background: var(--yellow); color: var(--purple-deep); }
.cl-in-btn[aria-pressed="true"]::before { content: '\2713'; font-weight: 800; }
.cl-in-count { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.92rem; color: var(--text-muted); }
.cl-in-count b { color: #fff; }
.cl-seg { display: inline-flex; border: 1.5px solid rgba(255,255,255,0.18); border-radius: 999px; overflow: hidden; margin: 0.4rem 0 0.8rem; }
.cl-seg button { background: transparent; border: 0; color: var(--offwhite); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 0.5rem 0.9rem; cursor: pointer; }
.cl-seg button + button { border-left: 1.5px solid rgba(255,255,255,0.18); }
.cl-seg button[aria-pressed="true"] { background: var(--yellow); color: var(--purple-deep); }
.cl-bars { display: grid; gap: 0.45rem; max-width: 28rem; }
.cl-bar { display: grid; grid-template-columns: 7.5rem 1fr 2.5rem; align-items: center; gap: 0.6rem; font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem; color: var(--text-muted); }
.cl-bar i { display: block; height: 0.55rem; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.cl-bar i b { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 999px; transition: width 0.4s ease; }
.cl-bar span:last-child { text-align: right; color: #fff; }
.cl-poll { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.6rem; max-width: 36rem; }
.cl-poll li { border: 1.5px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 0.75rem 0.9rem; display: grid; grid-template-columns: 1fr auto; gap: 0.6rem 1rem; align-items: center; position: relative; overflow: hidden; }
.cl-poll li .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255,200,61,0.12); transition: width 0.4s ease; }
.cl-poll li > * { position: relative; }
.cl-poll .t { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; color: #fff; }
.cl-poll .c { display: block; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.cl-poll button { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 0.82rem; border: 1.5px solid var(--yellow); background: transparent; color: #fff; border-radius: 999px; padding: 0.4rem 0.8rem; cursor: pointer; white-space: nowrap; }
.cl-poll button[aria-pressed="true"] { background: var(--yellow); color: var(--purple-deep); }
.cl-poll .n { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }
.cl-prompts { padding-left: 1.2rem; margin: 0 0 1.25rem; font-family: var(--cl-serif); font-size: 1.02rem; line-height: 1.55; color: var(--offwhite); max-width: var(--cl-text-measure); }
.cl-prompts li { margin-bottom: 0.4rem; }
.cl-share { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1.25rem; }
.cl-share button, .cl-share a.cl-soc { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 0.85rem; border: 1.5px solid rgba(255,255,255,0.22); background: transparent; color: var(--offwhite); border-radius: 999px; padding: 0.45rem 0.9rem; cursor: pointer; text-decoration: none; }
.cl-share button:hover, .cl-share a.cl-soc:hover { border-color: var(--yellow); color: var(--yellow); }
.cl-share .cl-share-msg { font-size: 0.85rem; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .cl-bar i b, .cl-poll li .fill, .cl-in-btn { transition: none; } }
