/* Styles for member pages: account, check-in, staff dashboard, and the RSVP form popup on the home page. */
.members-page, .rsvp-dialog {
  color-scheme: dark;
  --bg: #07060b;
  --panel: #18171f;
  --panel-2: #201727;
  --text: #f5f5f7;
  --muted: #b0b0c2;
  --purple: #b7a7ff;
  --pink: #f3379e;
  --cyan: #6edfff;
  --amber: #ffd39a;
  --red: #ff8fa3;
  --green: #8ff0b5;
  --border: #ffffff17;
}
.members-page {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 90% 0%,#41196530,transparent 40%),var(--bg);
  color: var(--text);
  font: 17px/1.6 'Barlow',system-ui,-apple-system,'Segoe UI',sans-serif;
}
.members-page * { box-sizing: border-box; }
.members-page a { color: #edb7e3; text-underline-offset: 3px; }
.members-page h1, .members-page h2, .members-page h3, .rsvp-dialog h2 {
  font-family: 'Oswald','Arial Narrow',Impact,sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #fff;
}
.members-page h1 { font-size: clamp(28px,6vw,40px); }
.members-page h2 { font-size: 24px; }
.members-page h3 { font-size: 18px; }
.members-page p { color: var(--muted); margin: 0 0 14px; }
.members-shell { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.members-shell.wide { width: min(1180px, calc(100% - 32px)); }
.members-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.members-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; font: 600 18px 'Oswald',sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.members-logo img { width: 44px; height: 44px; border-radius: 12px; }
.m-card { background: var(--panel-2); border: 1px solid #ce61af33; border-radius: 20px; padding: 24px; margin-bottom: 18px; }
.m-card.cyan { border-color: #6edfff40; background: #6edfff0a; }
.m-button, .rsvp-dialog .m-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid #b252966f; background: linear-gradient(120deg,#672343,#38254d); color: #fff !important;
  border-radius: 999px; padding: 12px 24px; font: 700 13px/1.4 'Space Mono',monospace; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.m-button:hover { background: linear-gradient(120deg,#87325d,#503568); transform: translateY(-1px); }
.m-button:disabled { opacity: .55; cursor: wait; transform: none; }
.m-button.ghost { background: transparent; border-color: #edbaf060; }
.m-button.discord { background: #5865f2; border-color: #7983f5; }
.m-button.danger { background: transparent; border-color: #ff8fa380; color: var(--red) !important; }
.m-button.small { padding: 8px 14px; font-size: 11px; }
.m-button.full { width: 100%; }
.m-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.m-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.m-divider::before, .m-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.m-field { display: grid; gap: 6px; margin-bottom: 14px; }
.m-field > span, .m-field legend { font-weight: 600; color: #f0e8f5; font-size: 15px; padding: 0; }
.m-field small, .m-hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.m-field input[type=text], .m-field input[type=email], .m-field input[type=url], .m-field input[type=number], .m-field input[type=search], .m-field input[type=date], .m-field input[type=datetime-local], .m-field select, .m-field textarea, .m-input {
  width: 100%; background: #0f0d14; color: var(--text); border: 1px solid #ffffff26; border-radius: 12px;
  padding: 11px 13px; font: inherit; font-size: 16px;
}
.m-field textarea { min-height: 76px; resize: vertical; }
.m-field input:focus, .m-field select:focus, .m-field textarea:focus, .m-input:focus { outline: 2px solid #6edfff80; outline-offset: 1px; border-color: transparent; }
.m-field[data-invalid] input, .m-field[data-invalid] select { border-color: var(--red); }
.m-field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.m-choice { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; color: #e5dceb; font-size: 15px; }
.m-check { display: flex; gap: 10px; align-items: flex-start; color: #e5dceb; font-size: 15px; margin-bottom: 12px; }
.m-check input, .m-choice input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--pink); flex: none; }
.m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.m-note { padding: 12px 14px; border-radius: 12px; font-size: 15px; margin: 0 0 14px; }
.m-note.info { background: #6edfff12; border: 1px solid #6edfff40; color: #c9f3ff; }
.m-note.warn { background: #ffb44a14; border: 1px solid #ffb44a70; color: var(--amber); }
.m-note.error { background: #ff5c7a14; border: 1px solid #ff8fa380; color: var(--red); }
.m-note.ok { background: #3ddc8414; border: 1px solid #8ff0b580; color: var(--green); }
.members-page [hidden], .rsvp-dialog [hidden] { display: none !important; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #ffffff08; border: 1px solid var(--border); }
.m-list .meta { color: var(--muted); font-size: 14px; }
.m-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #ffffff12; color: #e5dceb; white-space: nowrap; }
.m-pill.going { background: #3ddc8420; color: var(--green); }
.m-pill.cancelled { background: #ffffff10; color: var(--muted); }
.m-pill.amber { background: #ffb44a1c; color: var(--amber); }
.m-pill.cyan { background: #6edfff1c; color: var(--cyan); }
.m-pill.pink { background: #f3379e22; color: #f7a9d3; }
.m-empty { color: var(--muted); font-size: 15px; padding: 8px 0; }
.m-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #ffffff22; border-top-color: var(--pink); animation: m-spin .8s linear infinite; margin: 20px auto; }
@keyframes m-spin { to { transform: rotate(360deg); } }

/* ---------- RSVP popup (home page) ---------- */
.rsvp-dialog { width: min(560px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 1px solid #ce61af55; border-radius: 22px; background: #15121c; color: var(--text); box-shadow: 0 30px 80px #000c; font: 16px/1.55 'Barlow',system-ui,sans-serif; }
.rsvp-dialog::backdrop { background: #05040acc; backdrop-filter: blur(4px); }
.rsvp-dialog form { padding: 24px 24px 22px; }
.rsvp-dialog h2 { font-size: 26px; margin: 0 0 4px; color: #fff; padding-right: 44px; }
.rsvp-dialog .rsvp-when { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.rsvp-dialog .rsvp-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #ffffff0a; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.rsvp-dialog .rsvp-signed { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: #ffffff08; font-size: 14px; color: var(--muted); }
.rsvp-dialog .rsvp-signed a, .rsvp-dialog a { color: #edb7e3; }
.rsvp-dialog .rsvp-done { padding: 30px 24px; text-align: center; }
.rsvp-dialog .rsvp-done .big { font-size: 46px; line-height: 1; margin-bottom: 10px; }
.rsvp-dialog .rsvp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.rsvp-dialog .rsvp-actions .m-button { flex: 1 1 auto; }

/* ---------- Staff dashboard ---------- */
.s-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.s-tabs button { background: transparent; border: 1px solid transparent; color: var(--muted); padding: 8px 14px; border-radius: 999px; font: 700 12px 'Space Mono',monospace; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.s-tabs button[aria-selected=true] { color: #fff; background: #f3379e22; border-color: #f3379e55; }
.s-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.s-kpi { background: var(--panel-2); border: 1px solid #ce61af33; border-radius: 16px; padding: 16px; }
.s-kpi b { display: block; font: 600 30px/1.1 'Oswald',sans-serif; color: #fff; }
.s-kpi span { color: var(--muted); font-size: 13px; }
.s-kpi small { display: block; color: var(--cyan); font-size: 12px; margin-top: 4px; }
.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.s-grid .m-card { margin: 0; }
.s-bars { display: grid; gap: 8px; }
.s-bar { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 14px; color: #e5dceb; }
.s-bar .track { display: block; height: 10px; border-radius: 999px; background: #ffffff10; overflow: hidden; }
.s-bar .fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#f3379e,#b7a7ff); }
.s-bar .n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.s-bar .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-spark { width: 100%; height: 90px; display: block; }
.s-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border);
  /* soft fade on whichever side has more to scroll to, so phones show the table continues */
  background: linear-gradient(90deg, #18121f 30%, transparent) left / 24px 100% no-repeat local, linear-gradient(270deg, #18121f 30%, transparent) right / 24px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, #0009, transparent) left / 12px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, #0009, transparent) right / 12px 100% no-repeat scroll; }
.s-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.s-table th, .s-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.s-table th { color: var(--muted); font: 700 11px 'Space Mono',monospace; letter-spacing: .05em; text-transform: uppercase; background: #ffffff06; position: sticky; top: 0; }
.s-table tr:last-child td { border-bottom: 0; }
.s-table td.num, .s-table th.num { font-variant-numeric: tabular-nums; text-align: right; }
.s-table tr.is-cancelled td { opacity: .5; }
.s-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.s-qr { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 24px; align-items: center; }
.s-qr .qr-box { background: #fff; border-radius: 18px; padding: 14px; aspect-ratio: 1; }
.s-qr .qr-box svg { width: 100%; height: 100%; display: block; }
.s-qr .code { font: 700 34px 'Space Mono',monospace; letter-spacing: .2em; color: #fff; }
.s-qr .timer { height: 6px; border-radius: 999px; background: #ffffff12; overflow: hidden; margin-top: 10px; }
.s-qr .timer i { display: block; height: 100%; background: var(--cyan); transition: width 1s linear; }
.s-fullscreen { position: fixed; inset: 0; z-index: 50; background: #07060b; display: grid; place-items: center; padding: 24px; }
.s-fullscreen .s-qr { grid-template-columns: 1fr; text-align: center; width: min(560px, 100%); }
@media (max-width: 640px) {
  .m-grid2 { grid-template-columns: 1fr; }
  .m-card { padding: 18px; }
  .s-qr { grid-template-columns: 1fr; }
  .s-bar { grid-template-columns: 90px 1fr 36px; }
  .members-top { flex-wrap: wrap; }
}
.s-question { display: grid; grid-template-columns: 2fr 1fr auto auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; }
.s-question [name=options] { grid-column: 1 / -1; }
.s-question [hidden] { display: none !important; }
.rsvp-dialog em { font-style: italic; color: #f7a9d3; }
.rsvp-questions { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
@media (max-width: 640px) { .s-question { grid-template-columns: 1fr; } }

/* ---------- Account: club card, badges, invite link ---------- */
.club-card { display: grid; grid-template-columns: 1fr 150px; gap: 18px; align-items: center; background: linear-gradient(135deg, #2a1636, #14101d 60%, #0f2430); border-color: #edb7e355; }
.cc-top { display: flex; gap: 10px; align-items: center; }
.cc-top img { border-radius: 10px; }
.cc-club { font: 600 16px Oswald, sans-serif; letter-spacing: .04em; color: #fff; }
.cc-label { font: 400 11px 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .14em; color: #edb7e3; }
.cc-name { font: 600 28px/1.15 Oswald, sans-serif; color: #fff; margin: 16px 0 12px; overflow-wrap: anywhere; }
.cc-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.cc-stats b { display: block; font: 700 18px 'Space Mono', monospace; color: #fff; }
.cc-stats span { font-size: 12px; color: #b9aec6; }
.cc-qr { text-align: center; }
.cc-qr .qr-box { background: #fff; border-radius: 12px; padding: 8px; aspect-ratio: 1; }
.cc-qr .qr-box svg { width: 100%; height: 100%; display: block; }
.cc-qr small { display: block; margin-top: 6px; font-size: 11px; color: #b9aec6; }
@media (max-width: 520px) { .club-card { grid-template-columns: 1fr; } .cc-qr { width: 170px; margin: 0 auto; } }
.badge-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.badge-grid li { border: 1px solid #ffffff14; border-radius: 14px; padding: 12px 8px; text-align: center; opacity: .45; filter: grayscale(1); }
.badge-grid li.earned { opacity: 1; filter: none; border-color: #edb7e366; background: #edb7e30d; }
.badge-grid .icon { font-size: 28px; display: block; }
.badge-grid b { display: block; font-size: 13px; color: #fff; margin-top: 4px; }
.badge-grid small { font-size: 11px; color: #b9aec6; }
.m-copy { display: flex; gap: 8px; }
.m-copy input { flex: 1; min-width: 0; background: #0c0911; border: 1px solid #ffffff22; border-radius: 10px; color: #fff; padding: 8px 10px; font: 13px 'Space Mono', monospace; }

/* ---------- Idea box ---------- */
.idea-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.idea-list li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: start; border: 1px solid #ffffff14; border-radius: 14px; padding: 12px; background: #ffffff05; }
.idea-vote { display: grid; justify-items: center; gap: 2px; border: 1px solid #ffffff22; border-radius: 12px; background: none; color: #fff; padding: 6px 0; cursor: pointer; font: inherit; }
.idea-vote b { font: 700 16px 'Space Mono', monospace; }
.idea-vote.on { border-color: var(--cyan); background: #4fd6e81a; }
.idea-vote:disabled { cursor: default; opacity: .7; }
.idea-list h3 { margin: 0 0 4px; font-size: 16px; }
.idea-list p { margin: 0 0 6px; color: #d6cde0; white-space: pre-wrap; }
.idea-list .meta { font-size: 12px; color: #b9aec6; }
.idea-staff-note { margin-top: 6px; font-size: 13px; color: #edb7e3; }
.m-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; }
.m-tabs button { background: none; border: 1px solid #ffffff22; color: #d6cde0; border-radius: 999px; padding: 5px 12px; font: 500 13px inherit; font-family: inherit; cursor: pointer; }
.m-tabs button.on { background: #edb7e3; color: #1a0f22; border-color: #edb7e3; }

/* ---------- Staff: checklist ---------- */
.s-tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.s-tasks li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: #ffffff06; }
.s-tasks label { flex: 1; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.s-tasks li.done span { text-decoration: line-through; color: var(--muted); }
.s-assignee { background: none; border: 1px dashed #ffffff33; color: #d6cde0; border-radius: 999px; padding: 2px 10px; font: 12px inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.s-vol { margin-bottom: 6px; }
.cc-team { margin-left: auto; align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: #edb7e3; color: #1a0f22; font: 700 11px 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .12em; }
.cc-team[hidden] { display: none; }

/* ---------- Staff: photos, polls, shows ---------- */
.s-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.s-photo { display: grid; gap: 8px; padding: 10px; border: 1px solid #ffffff14; border-radius: 14px; background: #ffffff05; }
.s-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.s-poll { padding: 12px 0; border-bottom: 1px solid #ffffff10; display: grid; gap: 10px; }
.s-show-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; flex: 1; }
.m-list li[data-show] { flex-wrap: wrap; }
@media (max-width: 700px) { .s-show-row { grid-template-columns: 1fr 1fr; } }
.m-tabs button.on { background: #edb7e3; color: #1a0f22; }
.s-sync { position: sticky; top: 8px; z-index: 5; background: #2a2010 !important; box-shadow: 0 6px 18px #0009; }
.s-sync[hidden] { display: none; }

/* ---------- Staff: health, social posts, trivia editor ---------- */
.s-health ul { margin: 6px 0 0; padding-left: 20px; }
.s-social { margin-top: 14px; padding: 16px; border: 1px solid #ffffff14; border-radius: 16px; }
.s-social canvas { width: min(360px, 100%); height: auto; display: block; border-radius: 14px; margin: 10px 0; }
.s-social textarea { width: 100%; }
.s-tq { display: grid; gap: 8px; padding: 14px; margin-bottom: 12px; border: 1px solid #ffffff14; border-radius: 14px; background: #ffffff04; }
.s-tq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-tq-opts label { display: flex; gap: 8px; align-items: center; }
.s-tq-opts input[type=radio] { accent-color: #7ef0b0; width: 20px; height: 20px; flex-shrink: 0; }
.s-board { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; color: var(--text); }
.s-board span { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) { .s-tq-opts { grid-template-columns: 1fr; } }

/* ---------- Full-screen member card (/card) ---------- */
.card-page { min-height: 100vh; background: radial-gradient(circle at 20% 0%, #3a1550, #0c0911 60%); }
.card-shell { max-width: 440px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 28px) 18px calc(env(safe-area-inset-bottom, 0px) + 40px); }
html:has(.card-page) { background: #0c0911; }
.card-signin { text-align: center; margin-top: 12vh; }
.card-signin img { border-radius: 16px; }
.card-signin h1 { margin: 12px 0 8px; }
.card-signin .m-button { margin-top: 14px; }
.big-card { padding: 24px; border-radius: 28px; border: 1px solid #edb7e355; background: linear-gradient(150deg, #2a1636, #14101d 60%, #0f2430); box-shadow: 0 24px 60px #000a; }
.bc-top { display: flex; gap: 10px; align-items: center; }
.bc-top img { border-radius: 10px; }
.bc-name { font: 600 34px/1.1 Oswald, sans-serif; color: #fff; margin: 18px 0 16px; overflow-wrap: anywhere; }
.bc-qr { background: #fff; border-radius: 18px; padding: 14px; aspect-ratio: 1; }
.bc-qr svg { width: 100%; height: 100%; display: block; }
.bc-scan { text-align: center; font-size: 13px; color: #d6cde0; margin: 10px 0 18px; }
.big-card .cc-stats { justify-content: space-between; }
.bc-offline { margin-top: 14px; font-size: 13px; color: #ffd39a; }
.bc-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.bc-links a, .bc-links button { color: #edb7e3; background: none; border: 0; font: 600 14px inherit; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; }
.bc-howto { margin-top: 12px; text-align: center; font-size: 14px; color: #d6cde0; }
.card-join { margin-top: 22px; padding-top: 20px; border-top: 1px solid #ffffff14; }
.card-join .m-button { margin-top: 6px; }
.club-card .cc-open { grid-column: 1 / -1; justify-self: start; }

/* Staff event form (events v2) */
.s-fieldset { border: 1px solid #ffffff1a; border-radius: 14px; padding: 12px 14px 4px; margin: 0 0 14px; }
.s-fieldset legend { padding: 0 6px; color: var(--cyan); font-weight: 700; font-size: 14px; }
.s-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin-bottom: 12px; }
.s-choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #ffffff1a; border-radius: 12px; cursor: pointer; }
.s-choice:has(input:checked) { border-color: var(--pink); background: #f3379e14; }
.s-choice input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pink); flex: none; }
.s-choice b { display: block; color: #fff; }
.s-choice small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.s-art { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 8px; }
.s-art-pick { aspect-ratio: 16 / 9; border: 2px solid #ffffff1a; border-radius: 10px; background: #ffffff0a center / cover no-repeat; padding: 0; overflow: hidden; cursor: pointer; color: #e5dceb; display: flex; flex-direction: column; align-items: center; justify-content: center; font: inherit; font-size: 13px; }
.s-art-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-art-pick small { color: var(--muted); font-size: 11px; }
.s-art-pick.on { border-color: var(--pink); box-shadow: 0 0 0 2px #f3379e55; }
.s-art-upload.on span, .s-art-upload.on small { background: #000a; padding: 0 6px; border-radius: 6px; }
.s-emails { margin-top: 8px; }
.s-emails summary { cursor: pointer; color: #edb7e3; font-size: 13px; }
.s-emails form { margin-top: 10px; }
.s-emails .m-check small, [data-my-emails] .m-check small { display: block; }

/* Member card themes and extras */
.club-card.theme-sakura, .big-card.theme-sakura, .cc-swatch.theme-sakura span { background: linear-gradient(140deg, #2a1636, #14101d 60%, #0f2430); }
.club-card.theme-neon, .big-card.theme-neon, .cc-swatch.theme-neon span { background: linear-gradient(140deg, #062a3a, #0b1020 55%, #2a0b3a); border-color: #6edfff66; }
.club-card.theme-twilight, .big-card.theme-twilight, .cc-swatch.theme-twilight span { background: linear-gradient(140deg, #26174a, #120f24 55%, #3a1a4a); border-color: #b7a7ff66; }
.club-card.theme-matcha, .big-card.theme-matcha, .cc-swatch.theme-matcha span { background: linear-gradient(140deg, #16301f, #0f1714 55%, #2b3a1a); border-color: #8fe3a466; }
.club-card.theme-sunset, .big-card.theme-sunset, .cc-swatch.theme-sunset span { background: linear-gradient(140deg, #4a1a2a, #1a0f14 50%, #4a2a10); border-color: #ffb44a66; }
.club-card.theme-gold, .big-card.theme-gold, .cc-swatch.theme-gold span { background: linear-gradient(140deg, #4a3a10, #16120a 50%, #3a2a08); border-color: #f7d38aaa; }
.club-card.theme-holo, .big-card.theme-holo, .cc-swatch.theme-holo span { background: linear-gradient(120deg, #3a1a4a, #12304a 30%, #1a4a3a 55%, #4a3a1a 80%, #4a1a3a); background-size: 200% 200%; animation: holo 8s ease infinite; border-color: #ffffffaa; }
@keyframes holo { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .theme-holo, .cc-swatch.theme-holo span { animation: none; } }
.theme-gold .cc-label, .theme-gold .cc-team { color: #f7d38a; } .theme-gold .cc-team { background: #f7d38a; color: #1a1408; }
.theme-neon .cc-label { color: #6edfff; } .theme-matcha .cc-label { color: #8fe3a4; } .theme-twilight .cc-label { color: #b7a7ff; } .theme-sunset .cc-label { color: #ffb44a; }
.cc-extra { margin: -4px 0 14px; }
.cc-extra[hidden] { display: none; }
.cc-flair { margin: 0 0 6px; font-style: italic; color: #f2e9f7; font-size: 15px; }
.cc-likes { margin: 0 0 8px; font-size: 13px; color: #d6cde0; }
.cc-showcase { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.cc-showcase li { display: inline-flex; gap: 4px; align-items: center; padding: 3px 10px; border-radius: 999px; background: #ffffff18; font-size: 12px; color: #fff; }
.m-field-label { font-weight: 600; margin: 0 0 8px; color: #e5dceb; }
.cc-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 14px; }
.cc-swatch { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 2px solid transparent; border-radius: 12px; padding: 6px; color: #e5dceb; font: 600 12px inherit; font-family: inherit; cursor: pointer; }
.cc-swatch span { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid #ffffff22; }
.cc-swatch small { font-weight: 400; color: var(--muted); font-size: 11px; }
.cc-swatch.on { border-color: var(--pink); }
.cc-swatch:disabled { opacity: .55; cursor: not-allowed; }
.cc-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cc-pick-item { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border: 1px solid #ffffff22; border-radius: 999px; cursor: pointer; font-size: 14px; }
.cc-pick-item:has(input:checked) { border-color: var(--pink); background: #f3379e18; }
.cc-pick-item:has(input:disabled) { opacity: .5; }
.cc-pick-item input { accent-color: var(--pink); }
.trade-list li { align-items: flex-start; }
/* Insights, recap, venue scorecard */
.s-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 12px 0; }
.s-stats div { background: #ffffff0a; border-radius: 12px; padding: 12px; }
.s-stats b { display: block; font: 700 22px 'Space Mono', monospace; color: #fff; }
.s-stats span { font-size: 12px; color: var(--muted); }
.ins-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ins-bars li { display: grid; grid-template-columns: 110px 1fr; gap: 4px 10px; align-items: center; }
.ins-label { font-weight: 600; color: #fff; font-size: 14px; }
.ins-track { height: 12px; background: #ffffff10; border-radius: 999px; overflow: hidden; }
.ins-track i { display: block; height: 100%; background: linear-gradient(90deg, #f3379e, #b7a7ff); border-radius: 999px; }
.ins-num { grid-column: 2; font-size: 12px; color: var(--muted); }
.s-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.s-rate > span { flex: 1 1 100%; font-weight: 600; font-size: 14px; }
.s-rate label { cursor: pointer; }
.s-rate input { position: absolute; opacity: 0; }
.s-rate label b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #ffffff2a; color: #e5dceb; }
.s-rate input:checked + b { background: var(--pink); border-color: var(--pink); color: #fff; }
.s-rate input:focus-visible + b { outline: 2px solid #6edfff; }
.s-score { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 4px; font-size: 13px; color: var(--muted); }
.s-score b { color: #fff; }
.s-pos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.join-areas { margin: 6px 0 14px; padding-left: 20px; color: #e5dceb; }
.join-areas li { margin: 4px 0; }
.s-invite-link { display: flex; gap: 8px; margin: 10px 0; }
.s-invite-link input { flex: 1; min-width: 0; }
/* 👑 Club Owner */
.cc-team.crown, .m-pill.crown { background: linear-gradient(120deg, #f7d38a, #ffe9b8 45%, #e8b04a); color: #2a1a04; box-shadow: 0 0 14px #f7d38a66; }
.m-pill.crown { font-weight: 700; }
.m-check.s-sub { margin-left: 28px; }
.m-check.s-sub:has(input:disabled) { opacity: .45; }
.club-card.theme-aurora, .big-card.theme-aurora, .cc-swatch.theme-aurora span { background: linear-gradient(160deg, #0b2a2a, #102040 35%, #2a1050 65%, #0b3a2a); background-size: 220% 220%; animation: holo 12s ease infinite; border-color: #8fe3d0aa; }
.theme-aurora .cc-label { color: #8fe3d0; }
/* Points, quests, shop */
.pts-balance { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.pts-balance b { font: 700 34px 'Space Mono', monospace; color: #fff; margin-right: 6px; }
.quest-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.quest-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff12; }
.quest-list li.done { border-color: #3ddc8455; background: #3ddc8410; }
.quest-list .q-icon { font-size: 22px; text-align: center; }
.quest-list b { display: block; color: #fff; }
.quest-list small { color: var(--muted); font-size: 13px; }
.quest-list .q-prog { font: 700 14px 'Space Mono', monospace; color: #edb7e3; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shop-item { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: #ffffff08; border: 1px solid #ffffff14; }
.shop-item h3 { margin: 0; color: #fff; font-size: 17px; }
.shop-item p { margin: 0; flex: 1; font-size: 14px; color: #d6cde0; }
.shop-cost { font: 700 18px 'Space Mono', monospace; color: #f7d38a; }
.watch-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.watch-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #ffffff10; }
.watch-row:last-child { border: 0; }
.s-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.s-pick .cc-pick-item { font: inherit; color: #e5dceb; background: #ffffff0a; }
.s-credit { margin: 4px 0 12px; }
.s-credit .m-check { margin-bottom: 6px; }
.s-credit [data-person], .s-credit [data-name-only] { margin: 0 0 8px 28px; width: calc(100% - 28px); max-width: 360px; box-sizing: border-box; }
.s-photo-edit { margin: 6px 0; }
.s-photo-edit summary { cursor: pointer; color: #edb7e3; font-size: 13px; }
.s-photo-edit form { margin-top: 8px; }
.vote-entry { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.vote-entry img, .shop-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.vote-entry.on { border-color: var(--pink); background: #f3379e18; }
.vote-entry.winner { border-color: #f7d38a; box-shadow: 0 0 16px #f7d38a44; }
.vote-entry:disabled { cursor: default; opacity: .9; }
.shop-item.stamped { border-color: #3ddc8455; }
.pd-qr { background: #fff; padding: 12px; border-radius: 12px; width: 220px; margin: 8px 0; }
.pd-qr svg { width: 100%; height: auto; display: block; }
/* Name colors and titles (dist/cosmetics.js) */
.nm { font-weight: 600; }
.nm-pink { color: #ff6ac1; } .nm-cyan { color: #6edfff; } .nm-purple { color: #c9a7ff; } .nm-mint { color: #7ef0c0; } .nm-gold { color: #f7d38a; }
.nm-pumpkin { color: #ff9a3c; } .nm-frost { color: #bfe9ff; text-shadow: 0 0 8px #bfe9ff66; }
.nm-sunset, .nm-rainbow { background: linear-gradient(90deg, #ff6a88, #ffb347, #ffd166); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nm-rainbow { background-image: linear-gradient(90deg, #ff5f6d, #ffc371, #f9f871, #7ef0c0, #6edfff, #b98cff, #ff6ac1); }
.nm-title { display: inline-block; font: 600 11px 'Space Mono', monospace; letter-spacing: .04em; padding: 1px 8px; border-radius: 999px; background: #ffffff14; color: #e9dff2; vertical-align: middle; white-space: nowrap; }
/* Card cosmetics: effects, frames, stickers */
.club-card, .big-card { position: relative; overflow: hidden; isolation: isolate; }
.cc-fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.club-card > :not(.cc-fx), .big-card > :not(.cc-fx) { position: relative; z-index: 1; }
.cc-fx i { position: absolute; left: var(--x); top: -12%; font-style: normal; font-size: calc(14px * var(--s)); opacity: .75; animation: ccfall 7s linear infinite; animation-delay: calc(var(--d) * -1); }
@keyframes ccfall { to { transform: translateY(560px) rotate(200deg); } }
.fx-sparkle i, .fx-stars i { color: #fff8c6; animation-name: cctwinkle; top: auto; bottom: calc(var(--x) * .9); animation-duration: 2.6s; }
.fx-stars i { animation-name: ccshoot; color: #fff; }
@keyframes cctwinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1.1); } }
@keyframes ccshoot { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-160px, 120px); } }
.fx-embers i { color: #ffb347; top: auto; bottom: -10%; animation-name: ccrise; text-shadow: 0 0 6px #ff7a1a; }
.fx-hearts i { color: #ff6a9a; top: auto; bottom: -10%; animation-name: ccrise; }
@keyframes ccrise { to { transform: translateY(-560px) translateX(20px); opacity: 0; } }
.fx-snow i { color: #fff; } .fx-confetti i { color: hsl(calc(var(--s) * 300deg) 90% 65%); }
.fx-fireworks i { color: #ffd166; top: auto; bottom: calc(var(--x) * .8); animation-name: ccburst; animation-duration: 2.2s; font-size: calc(26px * var(--s)); }
@keyframes ccburst { 0% { transform: scale(0); opacity: 1; } 80% { opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.fx-bats i { animation-name: ccfly; top: calc(var(--x) * .8); left: -10%; animation-duration: 6s; }
@keyframes ccfly { to { transform: translateX(700px) translateY(-40px); } }
.has-fx-aurora { box-shadow: 0 0 0 1px #8ff0d0aa, 0 0 32px #8ff0d055, 0 0 64px #b98cff33; }
.has-fx-aurora .cc-fx { background: linear-gradient(120deg, transparent 20%, #8ff0d022 40%, #b98cff22 60%, transparent 80%); background-size: 300% 100%; animation: ccaurora 9s ease-in-out infinite; }
@keyframes ccaurora { 50% { background-position: 100% 0; } }
.has-fx-holo .cc-fx { background: radial-gradient(circle at var(--tx, 50%) var(--ty, 50%), #ffffff40, transparent 45%), linear-gradient(115deg, transparent 30%, #ff6ac133 42%, #6edfff33 52%, #f7d38a33 62%, transparent 72%); background-size: 100% 100%, 250% 250%; background-position: 0 0, var(--tx, 50%) var(--ty, 50%); mix-blend-mode: screen; }
.fr-neon { border: 2px solid #6edfff !important; box-shadow: 0 0 12px #6edfff88, inset 0 0 12px #f3379e55; }
.fr-pixel { border: 4px solid #b98cff !important; border-radius: 4px !important; box-shadow: 4px 4px 0 #f3379e, -4px -4px 0 #6edfff; }
.fr-silver { border: 2px solid #d9dde6 !important; box-shadow: 0 0 0 4px #ffffff22; }
.fr-gold { border: 2px solid #f7d38a !important; box-shadow: 0 0 0 4px #f7d38a33, 0 0 24px #f7d38a44; }
.fr-sakura { border: 2px solid #ffb3d9 !important; box-shadow: 0 0 0 5px #ffb3d933; }
.fr-pumpkin { border: 3px dashed #ff8a1f !important; box-shadow: 0 0 18px #ff8a1f55; }
.fr-candy { border: 6px solid transparent !important; background-clip: padding-box !important; box-shadow: 0 0 0 6px #fff, 0 0 0 6px #ff4d6d; outline: 6px dashed #ff4d6d; outline-offset: -6px; }
.fr-rainbow { border: 3px solid transparent !important; background-origin: border-box; box-shadow: 0 0 0 3px #ff5f6d, 0 0 0 6px #ffc371, 0 0 0 9px #7ef0c0, 0 0 0 12px #6edfff88; }
.fr-hearts { border: 2px solid #ff6a9a !important; box-shadow: 0 0 0 4px #ff6a9a33, 0 0 22px #ff6a9a44; }
.fr-anniversary { border: 2px solid #ffd166 !important; box-shadow: 0 0 0 4px #f3379e55, 0 0 28px #ffd16644; }
.fr-champion { border: 2px solid #8ff0d0 !important; box-shadow: 0 0 0 4px #b98cff44, 0 0 28px #8ff0d044; }
.cc-stickers { position: absolute !important; inset: 0; pointer-events: none; z-index: 2 !important; }
.cc-sticker { position: absolute; font-size: 28px; filter: drop-shadow(0 2px 4px #0008); }
.cc-sticker.s0 { top: 8px; right: 10px; transform: rotate(12deg); } .cc-sticker.s1 { bottom: 10px; left: 12px; transform: rotate(-10deg); } .cc-sticker.s2 { bottom: 12px; right: 44%; transform: rotate(6deg); }
.club-card.theme-birthday, .big-card.theme-birthday, .cc-swatch.theme-birthday span { background: linear-gradient(140deg, #4a1a3a, #1a1030 50%, #4a3a10); border-color: #ffd166aa; }
@media (prefers-reduced-motion: reduce) { .cc-fx i, .cc-fx { animation: none !important; } .cc-fx i { opacity: .35; } }
/* Profile banners */
.bn-dusk { background: linear-gradient(135deg, #3a1a4a, #1a1030 60%, #4a1a2a); } .bn-neon { background: linear-gradient(135deg, #062a3a, #2a0b3a 60%, #0b1020); }
.bn-sakura { background: linear-gradient(135deg, #4a1a3a, #f3379e55 50%, #2a1636); } .bn-ocean { background: linear-gradient(135deg, #062a4a, #0b4a5a 50%, #10203a); }
.bn-galaxy { background: radial-gradient(circle at 20% 30%, #b98cff55, transparent 35%), radial-gradient(circle at 80% 70%, #6edfff44, transparent 40%), #0b0820; }
.rsvp-dialog.has-accent { border-top: 4px solid var(--event-accent); } .rsvp-dialog.has-accent .m-button:not(.ghost) { background: var(--event-accent); border-color: var(--event-accent); color: #120a14; }

/* Site theme picker and cosmetics picker (account page) */
.theme-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.theme-opt { display: grid; gap: 2px; text-align: left; padding: 12px; border-radius: 14px; border: 1px solid #ffffff22; background: #ffffff08; color: inherit; font: inherit; cursor: pointer; }
.theme-opt.on { border-color: #f3379e; box-shadow: 0 0 0 2px #f3379e55; }
.theme-opt small { color: #b9aec6; font-size: 12px; }
.theme-opt .sw { height: 26px; border-radius: 8px; margin-bottom: 6px; border: 1px solid #ffffff22; }
.t-dark .sw { background: linear-gradient(90deg, #07060b, #18171f 50%, #f3379e); } .t-midnight .sw { background: linear-gradient(90deg, #060912, #141a2c 50%, #5a7cff); }
.t-sakura .sw { background: linear-gradient(90deg, #fff4f8, #f6dbe6 50%, #e70e85); } .t-contrast .sw { background: linear-gradient(90deg, #000, #000 50%, #ffe600); }
.cos-tabs { flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.cos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.cos-item { display: grid; gap: 6px; align-content: start; }
.cos-item > .cos-face, .cos-grid > button.cos-item { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 12px 8px; border-radius: 14px; border: 1px solid #ffffff1f; background: #ffffff08; color: inherit; font: inherit; cursor: pointer; min-height: 104px; }
.cos-item.on > .cos-face, .cos-grid > button.cos-item.on { border-color: #f3379e; box-shadow: 0 0 0 2px #f3379e55; background: #f3379e14; }
.cos-item.locked > .cos-face { opacity: .6; cursor: default; }
.cos-item .ic { font-size: 28px; line-height: 1.1; }
.cos-item b { font-size: 14px; } .cos-item small { font-size: 11px; color: #b9aec6; line-height: 1.3; }
.cos-item .m-button { justify-content: center; }

/* Profile pages */
.prof-card { padding: 0; overflow: hidden; }
.prof-card > :not(.prof-banner) { margin: 0 18px 18px; }
.prof-banner { height: 140px; background-size: cover; background-position: center; margin-bottom: -48px; }
.prof-mini { margin-top: 0 !important; display: block; max-width: 420px; }
.prof-about { white-space: pre-wrap; }
/* Achievements */
.ach-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ach { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid #ffffff1a; background: #ffffff06; opacity: .75; }
.ach.done { opacity: 1; border-color: #3ddc8466; background: #3ddc840d; }
.ach .ic { font-size: 26px; } .ach div { flex: 1; display: grid; gap: 2px; } .ach small { color: #b9aec6; font-size: 12px; }
.ach-check { color: #3ddc84; font-weight: 700; }
.ach-bar { display: block; height: 6px; border-radius: 6px; background: #ffffff14; overflow: hidden; margin-top: 4px; } .ach-bar span { display: block; height: 100%; background: #f3379e; }

.s-look { margin: 10px 0; padding: 10px 12px; border: 1px solid #ffffff1a; border-radius: 12px; } .s-look summary { cursor: pointer; font-weight: 600; }
.acc-sw input { position: absolute; opacity: 0; } .acc-sw span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #ffffff33; cursor: pointer; font-size: 12px; }
.acc-sw input:checked + span { border-color: #fff; box-shadow: 0 0 0 2px #f3379e; } .acc-sw input:focus-visible + span { outline: 2px solid #fff; }

.skin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 10px 0; }
.skin-opt { display: block; cursor: pointer; } .skin-opt input { position: absolute; opacity: 0; }
.skin-opt span { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid #ffffff1f; background: #ffffff06; font-size: 14px; }
.skin-opt span i { width: 26px; height: 14px; border-radius: 6px; flex: none; } .skin-opt small { margin-left: auto; color: #3ddc84; font-size: 11px; }
.skin-opt input:checked + span { border-color: #f3379e; box-shadow: 0 0 0 2px #f3379e55; } .skin-opt input:focus-visible + span { outline: 2px solid #fff; }
.skin-opt.live span { border-style: dashed; }
.s-audit-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 14px; } .m-field-inline { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.s-table tr.flag td { background: #ff4d6d10; }
.s-emergency { margin-top: 8px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
fieldset.m-field { border: 1px solid #ffffff1f; border-radius: 12px; padding: 10px 14px; } fieldset.m-field legend { padding: 0 6px; font-weight: 600; }
.mk-ways { list-style: none; padding: 0; display: grid; gap: 12px; } .mk-ways li { display: grid; gap: 2px; } .mk-ways span { color: #d6cbdd; }
@media print { .site-header, header, footer, .skin-banner, .skin-fx, .m-button, [data-preview] { display: none !important; } body { background: #fff !important; color: #111 !important; } .m-card { break-inside: avoid; } }
.nc-path .ach-bar { height: 8px; margin: 8px 0 4px; }
.nc-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; } .nc-steps li { display: flex; gap: 10px; align-items: center; } .nc-steps li > span:nth-child(2) { flex: 1; } .nc-steps li.done > span:nth-child(2) { color: #b9aec6; text-decoration: line-through; }
.nc-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #f3379e88; display: grid; place-items: center; font-size: 13px; flex: none; } .nc-steps li.done .nc-dot { background: #3ddc84; border-color: #3ddc84; color: #08140c; font-weight: 700; }

/* Live trivia */
.live h2 { margin: 8px 0 14px; } .live-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.live-btns button { min-height: 96px; border: 0; border-radius: 16px; background: var(--c); color: #120a14; font: 700 17px system-ui, sans-serif; padding: 12px; display: grid; gap: 4px; place-items: center; cursor: pointer; }
.live-btns button:disabled { opacity: .5; } .live-btns span, .live-opt span { font-size: 22px; }
.live-tv { text-align: center; } .live-tv h1 { font-size: clamp(26px, 4vw, 54px); margin: 10px 0 20px; }
.live-join { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; } .live-qr { background: #fff; padding: 12px; border-radius: 16px; width: min(320px, 60vw); } .live-qr svg { width: 100%; height: auto; display: block; }
.live-url { font: 700 24px 'Space Mono', monospace; } .live-code { font: 700 clamp(44px, 7vw, 90px) 'Space Mono', monospace; letter-spacing: .12em; color: #ffd166; margin: 0; }
.live-names { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .live-names span { padding: 6px 14px; border-radius: 999px; background: #ffffff14; font-weight: 600; }
.live-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .live-opt { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 16px; background: var(--c); color: #120a14; font: 700 clamp(16px, 2.2vw, 28px) system-ui, sans-serif; text-align: left; }
.live-opt b { margin-left: auto; } .live-opt.wrong { opacity: .35; } .live-opt.right { box-shadow: 0 0 0 4px #fff; }
.live-timer { font: 700 28px 'Space Mono', monospace; margin-top: 16px; }
.live-lb { list-style: none; padding: 0; margin: 18px auto; max-width: 560px; display: grid; gap: 6px; } .live-lb li { display: flex; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #ffffff10; } .live-lb li b { flex: 1; text-align: left; } .live-lb.big li { font-size: 22px; }
.live-tv-body header, .live-tv-body footer { display: none; } .live-tv-body main { max-width: 1200px; }

/* Brackets */
.bk-wrap { overflow-x: auto; padding-bottom: 8px; } .bk { display: flex; gap: 18px; min-width: max-content; }
.bk-round { display: flex; flex-direction: column; justify-content: space-around; gap: 12px; min-width: 170px; } .bk-round h3 { margin: 0 0 4px; font-size: 14px; color: #b9aec6; text-transform: uppercase; letter-spacing: .08em; }
.bk-match { border: 1px solid #ffffff22; border-radius: 12px; overflow: hidden; background: #ffffff08; } .bk-p { display: block; width: 100%; text-align: left; padding: 8px 12px; font: 600 14px system-ui, sans-serif; color: inherit; background: none; border: 0; }
.bk-p + .bk-p { border-top: 1px solid #ffffff14; } .bk-p.win { background: #3ddc8422; color: #b6ffd5; } .bk-p.lose { opacity: .45; text-decoration: line-through; } .bk-p.tbd { color: #8f849a; font-weight: 400; }
button.bk-p { cursor: pointer; } button.bk-p:hover { background: #f3379e33; }

/* Event TV screen */
.tv-body header:not(.tv-head), .tv-body footer, .tv-body .skin-banner { display: none !important; } .tv-body main { max-width: 1400px; }
.tv-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; border-bottom: 3px solid var(--tv-accent, #f3379e); padding-bottom: 14px; }
.tv-head h1 { font-size: clamp(30px, 4.5vw, 64px); margin: 4px 0; } .tv-head p { font-size: clamp(16px, 1.8vw, 24px); margin: 0; color: #d6cbdd; } .tv-clock { font: 700 clamp(28px, 4vw, 56px) 'Space Mono', monospace; }
.tv-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; } @media (max-width: 800px) { .tv-grid { grid-template-columns: 1fr; } }
.tv-card { border-radius: 24px; padding: 24px; background: #ffffff0a; border: 1px solid #ffffff1f; text-align: center; } .tv-card h2 { font-size: clamp(24px, 3vw, 42px); margin: 0 0 14px; } .tv-card p { font-size: clamp(16px, 1.8vw, 24px); }
.tv-qr { background: #fff; border-radius: 18px; padding: 14px; width: min(420px, 80%); margin: 0 auto; } .tv-qr.small { width: min(300px, 60%); } .tv-qr svg { width: 100%; height: auto; display: block; }
.tv-photo { width: 100%; max-height: 56vh; object-fit: contain; border-radius: 16px; } .tv-big { font: 700 clamp(22px, 3vw, 40px) 'Space Mono', monospace; } .tv-code { font: 700 clamp(40px, 6vw, 90px) 'Space Mono', monospace; color: #ffd166; letter-spacing: .1em; }
.tv-next { margin-top: 18px; color: #d6cbdd; }

/* Anime draft */
.dr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.dr-show { display: grid; gap: 4px; align-content: start; text-align: left; padding: 8px; border-radius: 14px; border: 1px solid #ffffff1f; background: #ffffff08; color: inherit; font: inherit; cursor: pointer; }
.dr-show img, .dr-ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; display: grid; place-items: center; font-size: 34px; background: #ffffff0a; }
.dr-show b { font-size: 13px; line-height: 1.3; } .dr-show small { color: #b9aec6; font-size: 11px; } .dr-show.on { border-color: #f3379e; box-shadow: 0 0 0 2px #f3379e66; background: #f3379e14; } .dr-show:disabled { cursor: default; }
.live-lb li.you { outline: 1px solid #f3379e; }

/* Club history */
.hist { position: relative; padding-left: 22px; border-left: 2px solid #f3379e55; margin-left: 8px; }
.hist-month h2 { position: relative; font-size: 20px; margin: 22px 0 10px; } .hist-month h2::before { content: ''; position: absolute; left: -31px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #f3379e; }
.hist-month ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hist-month li { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #ffffff08; border: 1px solid #ffffff14; }
.hist-month li img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; } .hist-month li div { display: grid; gap: 2px; } .hist-month small { color: #b9aec6; }
.hist-milestone { border-color: #ffd16666 !important; background: #ffd1660d !important; } .hist-cosplay { border-color: #f3379e55 !important; } .hist-partner { border-color: #6edfff44 !important; }

/* Live now (club streamers on Twitch) */
.live-strip { margin: 0 auto 22px; padding: 16px; border-radius: 20px; border: 1px solid #9146ff66; background: linear-gradient(140deg, #1d1236, #120e19); }
.live-strip-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; } .live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 #ff4d4d88; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px #ff4d4d00; } } @media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.live-strip-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; } .live-card { position: relative; flex: 0 0 240px; display: grid; gap: 4px; color: inherit; text-decoration: none; }
.live-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; } .live-card small { color: #b9aec6; font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.live-badge { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 6px; background: #e91916; color: #fff; font: 700 11px system-ui, sans-serif; }
.sos { border-color: #d0213f88 !important; margin-top: 12px; }
.cm-help { border-color: #d0213f66 !important; }
.shoot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; } .shoot { display: grid; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid #ffffff1f; background: #ffffff08; } .shoot.taken { opacity: .55; } .shoot.mine { border-color: #3ddc84; } .shoot small { color: #b9aec6; }
.ch-bar { height: 18px; border-radius: 999px; background: #ffffff12; overflow: hidden; margin: 10px 0 6px; } .ch-bar span { display: block; height: 100%; background: linear-gradient(90deg, #f3379e, #ffd166); border-radius: 999px; } .ch-num b { font-size: 22px; color: #fff; } .charity.closed { opacity: .8; }

/* Yearbook */
.yb-cover { text-align: center; background: linear-gradient(140deg, #2a1636, #120e19 60%, #0f2430); } .yb-cover h1 { font-size: clamp(32px, 6vw, 56px); margin: 6px 0; } .yb-actions { justify-content: center; }
.yb-letter p { white-space: normal; line-height: 1.7; } .yb-sign { font-style: italic; color: #edb7e3; }
.yb-collage { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; } .yb-collage img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; } .yb-collage.small { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); margin-top: 12px; }
.yb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } .yb-person { display: grid; gap: 4px; padding: 14px; border-radius: 14px; border: 1px solid #ffffff22; color: inherit; text-decoration: none; min-height: 74px; } .yb-person small { color: #b9aec6; }
.yb-card { display: block; max-width: 440px; } .yb-quote { font-size: 20px; font-style: italic; margin: 16px 0; padding-left: 14px; border-left: 3px solid #f3379e; }
.yb-sig { padding: 12px 14px; border-radius: 14px; background: #fff8e6; color: #2a1a10; margin-bottom: 10px; font-family: 'Bitter', Georgia, serif; transform: rotate(-.4deg); } .yb-sig:nth-child(even) { transform: rotate(.5deg); background: #ffe9f3; }
.yb-sig p { margin: 0 0 4px; font-size: 16px; } .yb-sig small { color: #6b4a3a; } .yb-sig .m-button { margin: 6px 6px 0 0; }
@media print { .yb-actions, [data-join], [data-sign], .yb-sig .m-button, [data-vote], header, footer, .skin-banner, .skin-fx, .site-alert { display: none !important; } body { background: #fff !important; color: #111 !important; } .m-card { break-inside: avoid; border: 1px solid #ccc !important; background: #fff !important; color: #111 !important; } .yb-sig { transform: none; } }

/* Blind date with an anime */
.bd-cover { text-align: center; background: linear-gradient(140deg, #3a1230, #120e19 60%); }
.bd-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.bd-envelope { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 16px 16px; border-radius: 14px; background: linear-gradient(160deg, #f6e7d4, #ecd3bb); color: #3a2418; box-shadow: 0 8px 22px #0006; }
.bd-envelope p { margin: 0; font-family: 'Bitter', Georgia, serif; font-size: 16px; } .bd-envelope .m-pill { background: #3a241822; color: #3a2418; }
.bd-envelope h3 { margin: 0; font-size: 22px; color: #a0124f; } .bd-envelope.open { animation: bd-pop .4s ease; }
.bd-seal { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 26px; }
.bd-vibes { display: flex; flex-wrap: wrap; gap: 6px 14px; border: 0; padding: 0; margin: 0 0 12px; } .bd-vibes legend { margin-bottom: 6px; }
@keyframes bd-pop { from { transform: scale(.92); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bd-envelope.open { animation: none; } }

/* Name fonts (dist/cosmetics.js) */
.nm.nf-maru { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; } .nm.nf-bangers { font-family: 'Bangers', sans-serif; font-weight: 400; letter-spacing: .04em; }
.nm.nf-marker { font-family: 'Permanent Marker', cursive; font-weight: 400; } .nm.nf-bungee { font-family: 'Bungee', sans-serif; font-weight: 400; }
.nm.nf-pixel { font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: .72em; line-height: 1.5; } .nm.nf-script { font-family: 'Kaushan Script', cursive; font-weight: 400; }
.nm.nf-creepy { font-family: 'Creepster', cursive; font-weight: 400; letter-spacing: .03em; } .nm.nf-frosty { font-family: 'Mountains of Christmas', cursive; font-weight: 700; }

.yb-react { float: right; font-size: 22px; } .yb-react-pick { display: block; margin-top: 4px; } .yb-react-pick .m-button { padding: 2px 6px; margin: 2px 2px 0 0; }
@media print { .yb-react-pick { display: none !important; } }

/* /join */
.join-hero { text-align: center; background: linear-gradient(140deg, #2a1636, #120e19 60%); } .join-hero h1 { font-size: clamp(30px, 6vw, 48px); margin: 6px 0; }
.join-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; } .join-perks li { display: grid; gap: 2px; } .join-perks span { color: #b9aec6; }

.gr-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; height: 130px; } .gr-bar { display: grid; grid-template-rows: 1fr auto auto; height: 100%; text-align: center; }
.gr-bar i { display: block; align-self: end; background: linear-gradient(#f3379e, #8a3fd1); border-radius: 6px 6px 2px 2px; min-height: 2px; } .gr-bar b { font-size: 12px; } .gr-bar small { font-size: 10px; color: #b9aec6; }

/* Show reviews (reviews.html) and spoiler shield (spoiler-shield.js) */
.rv-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; } .rv-top h2 { margin: 0 0 6px; }
.rv-avg { display: flex; align-items: baseline; gap: 6px; } .rv-avg b { font-size: 28px; color: #fff; } .rv-avg span[aria-hidden] { color: var(--amber); font-size: 22px; }
.rv-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.rv { background: #ffffff08; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.rv-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .rv-stars { color: var(--amber); letter-spacing: 1px; }
.rv-body { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv-report { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.rv-form { margin: 12px 0; padding: 12px; border-radius: 12px; background: #ffffff06; }
.rv-pick { border: 0; padding: 0; margin: 0 0 8px; }
.rv-pick legend { padding: 0; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
/* Stars are written 5→1 and shown reversed, so "this star and the ones before it" can light up with CSS alone. */
.rv-pick-row { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.rv-pick label { cursor: pointer; font-size: 28px; color: #ffffff30; line-height: 1; }
.rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-pick label:has(input:checked), .rv-pick label:has(input:checked) ~ label { color: var(--amber); }
.rv-pick-row:hover label { color: #ffffff30; } .rv-pick-row label:hover, .rv-pick-row label:hover ~ label { color: var(--amber); }
.rv-pick input:focus-visible + span { outline: 2px solid var(--cyan); border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spoiler-wrap { margin-top: 8px; }
.spoiler-btn { width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px dashed #ffffff30; cursor: pointer; color: var(--muted); font: inherit;
  background: repeating-linear-gradient(135deg, #ffffff08 0 10px, #ffffff03 10px 20px); }
.spoiler-btn:hover, .spoiler-btn:focus-visible { color: #fff; border-color: var(--pink); }

/* Potluck (potluck.html) */
.pl-cat { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; } .pl-cat h3 { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }
.pl-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 6px; } .pl-list li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pl-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.pl-tagpick { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 10px; } .pl-tagpick .m-check { margin: 0; }
/* Photo booth */
.booth-stage { position: relative; max-width: 460px; margin: 12px auto; } .booth-stage canvas { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 30px #0008; }
.booth-stage video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.booth-count { position: absolute; inset: 0; display: grid; place-items: center; font: 700 120px Oswald, sans-serif; color: #fff; text-shadow: 0 4px 20px #000; }
.booth-frames { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 8px 0; } .booth-frames .on { background: #f3379e33; border-color: #f3379e; }
.booth-actions { justify-content: center; margin: 10px 0; } .booth-file { cursor: pointer; } [data-gallery] { text-align: center; }

/* Meetup recaps */
.rc-cover { text-align: center; background: linear-gradient(140deg, #2a1636, #120e19 60%, #0f2430); } .rc-cover h1 { font-size: clamp(28px, 6vw, 48px); margin: 6px 0; } .rc-cover .s-kpis { justify-content: center; margin-top: 14px; }
.rc-note { font-style: italic; color: #edb7e3; font-size: 18px; margin-top: 14px; } .rc-next { text-align: center; }
.rc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; } .rc-item { display: grid; gap: 8px; color: inherit; text-decoration: none; padding: 10px; }
.rc-item img, .rc-noimg { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; } .rc-noimg { display: grid; place-items: center; font-size: 40px; background: #ffffff0a; } .rc-item small { display: block; color: #b9aec6; }

/* Daily fortune + taste twins (account-fun.js) */
.fx-slip { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 16px; border-radius: 14px; background: linear-gradient(180deg, #fff8ec, #f4e4cc); color: #3a2418; border: 2px solid #c8102e; }
.fx-slip.bad { border-color: #444; background: linear-gradient(180deg, #f1eee9, #ddd6cc); } .fx-slip p { margin: 4px 0 8px; } .fx-slip ul { margin: 0; padding-left: 18px; } .fx-slip b { color: #7a0c1e; }
.fx-kanji { writing-mode: vertical-rl; font-size: 40px; font-weight: 800; color: #c8102e; font-family: 'Noto Serif JP', serif; line-height: 1; } .fx-slip.bad .fx-kanji { color: #333; }
.fx-reveal { animation: fx-unroll .6s ease; transform-origin: top; } @keyframes fx-unroll { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fx-reveal { animation: none; } }

/* Card flip + back (card-back.js) */
.flip-wrap { perspective: 1400px; position: relative; } .flip-inner { position: relative; display: grid; transition: transform .6s cubic-bezier(.3,.7,.3,1); transform-style: preserve-3d; cursor: pointer; }
/* Both faces share one grid cell, so the card is as tall as whichever side needs more room. */
.flip-inner > .flip-front, .flip-inner > .flip-back { grid-area: 1 / 1; margin: 0; }
.flip-wrap.flipped .flip-inner { transform: rotateY(180deg); } .flip-inner > .flip-front, .flip-inner > .flip-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { position: relative; transform: rotateY(180deg); overflow: hidden; border-radius: 22px; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; color: #f0e6f5; border: 1px solid #ffffff26;
  background: radial-gradient(120% 60% at 100% 0%, #f3379e40, transparent 60%), radial-gradient(90% 50% at 0% 100%, #6edfff30, transparent 60%), repeating-linear-gradient(45deg, #ffffff05 0 2px, transparent 2px 14px), linear-gradient(160deg, #2a1636, #120e19 75%); }
.flip-back::before { content: '757'; position: absolute; right: 8px; top: 34%; font: 900 clamp(64px, 20vw, 120px)/.8 Oswald, sans-serif; color: #ffffff07; letter-spacing: -.04em; pointer-events: none; }
.flip-back > * { position: relative; }
.flip-btn { display: block; margin: 8px auto 0; }
.cb-head { display: flex; justify-content: space-between; font: 600 12px 'Space Mono', monospace; letter-spacing: .16em; color: #edb7e3; }
.cb-who b { display: block; font: 700 clamp(22px, 6vw, 30px)/1.1 Oswald, sans-serif; letter-spacing: .02em; } .cb-who small { color: #b9aec6; }
.cb-catch { font-size: 19px; font-style: italic; margin: 0; padding-left: 12px; border-left: 3px solid #f3379e; } .cb-status { margin: 0; color: #c9bfd6; }
.cb-pet { display: flex; gap: 12px; align-items: center; } .cb-pet small { display: block; color: #b9aec6; } .pet-svg { image-rendering: pixelated; flex: none; }
.cb-pet .pet-svg { animation: pet-bob 2.4s ease-in-out infinite; } .cb-pet .pet-svg.sleepy { animation: none; opacity: .85; }
@keyframes pet-bob { 50% { transform: translateY(-4px); } }
.cb-tip { display: block; padding: 10px 12px; border-radius: 12px; border: 1px dashed #f3379e88; color: #f7a9d3; text-decoration: none; font-size: 14px; }
.cb-favs small { display: block; color: #b9aec6; letter-spacing: .12em; font-size: 11px; margin-bottom: 4px; } .cb-favs div { display: flex; flex-wrap: wrap; gap: 6px; } .cb-favs span { padding: 3px 10px; border-radius: 999px; background: #ffffff14; font-size: 13px; }
.cb-stats { display: flex; gap: 10px; } .cb-stats div { flex: 1; text-align: center; padding: 8px 4px; border-radius: 12px; background: #ffffff0d; } .cb-stats b { display: block; font-size: 20px; } .cb-stats span { font-size: 11px; color: #b9aec6; text-transform: uppercase; letter-spacing: .08em; }
.cb-invite { margin-top: auto; display: grid; justify-items: center; gap: 4px; text-align: center; padding-top: 6px; } .cb-invite b { font: 700 18px Oswald, sans-serif; letter-spacing: .04em; } .cb-invite small { color: #b9aec6; }
.cb-qr { width: min(62%, 240px); aspect-ratio: 1; background: #fff; padding: 10px; border-radius: 16px; box-shadow: 0 0 0 4px #f3379e55, 0 10px 30px #0008; } .cb-qr svg { width: 100%; height: 100%; display: block; }
.pf-status { margin: 2px 0 0; color: #c9bfd6; }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } .cb-pet .pet-svg { animation: none; } }

.x-starters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; } .x-starter { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 12px; border-radius: 14px; border: 1px solid #ffffff22; background: #ffffff08; color: inherit; cursor: pointer; font: inherit; } .x-starter:hover, .x-starter:focus-visible { border-color: #f3379e; } .x-starter small { color: #b9aec6; }
.wn-card { border-color: #f3379e66; } .wn-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; } .wn-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; } .wn-icon { font-size: 22px; min-width: 32px; text-align: center; } .wn-list small { display: block; color: #b9aec6; }

.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; } .dir-card { display: flex; gap: 12px; align-items: flex-start; margin: 0; } .dir-pet { flex: none; }
.dir-favs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .dir-favs span { padding: 2px 8px; border-radius: 999px; background: #ffffff14; font-size: 12px; }

/* Name animations (dist/cosmetics.js, type anim) */
.nm.na-wave i { display: inline-block; font-style: normal; animation: na-wave 1.8s ease-in-out infinite; }
.nm.na-wave i:nth-child(1) { animation-delay: 0.08s; } .nm.na-wave i:nth-child(2) { animation-delay: 0.16s; } .nm.na-wave i:nth-child(3) { animation-delay: 0.24s; } .nm.na-wave i:nth-child(4) { animation-delay: 0.32s; } .nm.na-wave i:nth-child(5) { animation-delay: 0.40s; } .nm.na-wave i:nth-child(6) { animation-delay: 0.48s; } .nm.na-wave i:nth-child(7) { animation-delay: 0.56s; } .nm.na-wave i:nth-child(8) { animation-delay: 0.64s; } .nm.na-wave i:nth-child(9) { animation-delay: 0.72s; } .nm.na-wave i:nth-child(10) { animation-delay: 0.80s; } .nm.na-wave i:nth-child(11) { animation-delay: 0.88s; } .nm.na-wave i:nth-child(12) { animation-delay: 0.96s; } .nm.na-wave i:nth-child(13) { animation-delay: 1.04s; } .nm.na-wave i:nth-child(14) { animation-delay: 1.12s; } .nm.na-wave i:nth-child(15) { animation-delay: 1.20s; } .nm.na-wave i:nth-child(16) { animation-delay: 1.28s; } 
@keyframes na-wave { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-0.18em); } }
.nm.na-pulse { display: inline-block; animation: na-pulse 1.6s ease-in-out infinite; } @keyframes na-pulse { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.07); } 24% { transform: scale(1); } 36% { transform: scale(1.05); } }
.nm.na-sparkle { position: relative; } .nm.na-sparkle::after { content: '✦'; position: absolute; top: -0.35em; left: 0; font-size: .6em; color: #fff6b0; text-shadow: 0 0 6px #fff; animation: na-spark 2.4s linear infinite; pointer-events: none; -webkit-text-fill-color: #fff6b0; }
@keyframes na-spark { 0% { left: -4%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.nm.na-glitch { position: relative; display: inline-block; } .nm.na-glitch::before, .nm.na-glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; -webkit-text-fill-color: currentColor; }
.nm.na-glitch::before { color: #f3379e; animation: na-glitch-a 2.6s steps(1) infinite; } .nm.na-glitch::after { color: #6edfff; animation: na-glitch-b 2.6s steps(1) infinite; }
@keyframes na-glitch-a { 0%, 86%, 100% { transform: none; opacity: 0; clip-path: none; } 88% { transform: translate(-2px, 1px); opacity: .8; clip-path: inset(10% 0 55% 0); } 92% { transform: translate(2px, -1px); opacity: .8; clip-path: inset(60% 0 5% 0); } }
@keyframes na-glitch-b { 0%, 87%, 100% { transform: none; opacity: 0; clip-path: none; } 89% { transform: translate(2px, 0); opacity: .8; clip-path: inset(40% 0 30% 0); } 93% { transform: translate(-2px, 1px); opacity: .8; clip-path: inset(0 0 70% 0); } }
.nm.na-spooky { animation: na-flicker 3.2s linear infinite; } @keyframes na-flicker { 0%, 19%, 23%, 62%, 66%, 100% { opacity: 1; } 20%, 64% { opacity: .35; } 21% { opacity: .8; } }
.nm.na-frost { animation: na-frost 2.8s ease-in-out infinite; } @keyframes na-frost { 0%, 100% { text-shadow: 0 0 0 transparent; } 50% { text-shadow: 0 0 8px #bfe9ff, 0 0 2px #fff; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .nm[class*='na-'], .nm[class*='na-'] i, .nm[class*='na-']::before, .nm[class*='na-']::after { animation: none !important; } .nm.na-glitch::before, .nm.na-glitch::after, .nm.na-sparkle::after { display: none; } }

/* Guess the anime */
.gs-card { text-align: center; } .gs-num { color: #b9aec6; margin: 4px 0; } .gs-emojis { font-size: clamp(44px, 12vw, 72px); letter-spacing: .08em; margin: 14px 0 18px; line-height: 1.2; }
.gs-guesses { list-style: none; padding: 0; margin: 0 auto 10px; max-width: 360px; display: grid; gap: 6px; text-align: left; } .gs-guesses li { padding: 8px 12px; border-radius: 10px; background: #ffffff0d; } .gs-guesses li.ok { background: #1f5a3a; }
.gs-hint { color: #ffd39a; } .gs-flash { color: #ff9ab8; font-weight: 600; } .gs-card form { max-width: 460px; margin: 0 auto; } .gs-done h2 { margin: 8px 0; }

/* Smaller cards (My account, profiles, yearbook): a tighter back with the QR beside the details. */
.flip-compact .flip-back { padding: 14px; gap: 8px; display: grid; grid-template-columns: 1fr auto; align-content: start; }
.flip-compact .flip-back > * { grid-column: 1; } .flip-compact .cb-head { grid-column: 1 / -1; }
.flip-compact .cb-who b { font-size: 20px; } .flip-compact .cb-catch { font-size: 15px; } .flip-compact .cb-favs span { font-size: 12px; padding: 2px 8px; }
.flip-compact .cb-stats div { padding: 6px 2px; } .flip-compact .cb-stats b { font-size: 16px; }
.flip-compact .cb-invite { grid-column: 2; grid-row: 2 / span 6; margin: 0; padding: 0; align-self: center; width: 128px; } .flip-compact .cb-qr { width: 112px; padding: 6px; border-radius: 12px; }
.flip-compact .cb-invite b { font-size: 14px; } .flip-compact .cb-invite small { font-size: 11px; }
@media (max-width: 420px) { .flip-compact .cb-invite { width: 104px; } .flip-compact .cb-qr { width: 96px; } }

.bot-steps { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 4px; } .bot-steps li { color: #c9bfd6; } .bot-steps li.ok { color: #9bffb8; }
.bot-posts { display: grid; gap: 10px; margin-bottom: 12px; } .bot-post { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .bot-post b { flex: 1 1 100%; } .bot-post select { flex: 1 1 160px; min-width: 0; max-width: 100%; }
[data-panel="bot"] select { max-width: 100%; }
[data-sched-move] { width: auto; max-width: 160px; padding: 2px 6px; font-size: 12px; min-height: 0; } [data-sched-move].saved { border-color: #9bffb8; }
.bot-pings { flex: 1 1 160px; min-width: 0; } .bot-pings > summary { cursor: pointer; padding: 8px 10px; border: 1px solid #ffffff22; border-radius: 10px; background: #0b0a10; list-style: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bot-pings > summary::after { content: ' ▾'; color: var(--muted, #aaa); } .bot-pings[open] > summary { border-color: var(--pink, #f3379e); } .bot-pings > div { display: grid; gap: 4px; margin-top: 6px; max-height: 240px; overflow: auto; padding: 6px; border: 1px solid #ffffff14; border-radius: 10px; } .bot-pings .m-check { margin: 0; } .bot-pings small { color: #c9a26b; }
/* Daily Quest (dist/daily.html) */
.dq-head { text-align: center; } .dq-progress { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 8px 0; } .dq-dot { width: 14px; height: 14px; border-radius: 50%; background: #ffffff1f; border: 1px solid #ffffff33; } .dq-dot.on { background: #f3379e; border-color: #f3379e; box-shadow: 0 0 10px #f3379e88; }
.dq-complete { font-weight: 700; color: #9bffb8; } .dq-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .dq-badges span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #ffffff0d; color: #b9aec6; } .dq-badges span.on { background: #3a1f45; color: #fff; }
.dq-card h2 { font-size: 18px; margin: 0 0 8px; } .dq-card.done { border-color: #2f6b49; } .dq-q { font-size: 18px; font-weight: 600; margin: 4px 0 12px; }
.dq-card form textarea { width: 100%; margin-bottom: 8px; } .dq-opts { display: flex; flex-wrap: wrap; gap: 8px; } .dq-opts .m-button { flex: 1 1 140px; }
.dq-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .dq-results li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #ffffff0a; overflow: hidden; } .dq-results li span { position: absolute; inset: 0 auto 0 0; background: #f3379e33; } .dq-results li.mine span { background: #f3379e66; } .dq-results li b, .dq-results li i { position: relative; } .dq-results li i { font-style: normal; color: #d6cbdd; }
.dq-quote { font-size: 18px; font-style: italic; margin: 6px 0 12px; padding-left: 12px; border-left: 3px solid #f3379e; } .dq-clues { margin: 0 0 10px; padding-left: 22px; display: grid; gap: 6px; } .dq-card .gs-emojis { text-align: center; }
.dq-answers { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; max-height: 420px; overflow: auto; } .dq-answers li { padding: 8px 12px; border-radius: 10px; background: #ffffff0a; overflow-wrap: anywhere; } .dq-link { background: none; border: 0; color: #b9aec6; font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0 4px; }
.dq-draft { display: grid; gap: 8px; padding: 12px; margin: 8px 0; border: 1px solid #ffffff1a; border-radius: 12px; } .dq-draft .m-pill { justify-self: start; }
.dq-card textarea { box-sizing: border-box; background: #0b0a10; border: 1px solid #ffffff22; border-radius: 12px; color: inherit; padding: 10px 12px; font: inherit; font-size: 16px; resize: vertical; } .dq-card textarea:focus { outline: 2px solid #f3379e; outline-offset: 1px; }
.bot-limit-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; max-height: 260px; overflow: auto; padding: 8px 0; } .bot-limit-list .m-check { margin: 0; overflow-wrap: anywhere; } [data-bot-limits] details { margin-bottom: 8px; } [data-bot-limits] summary { cursor: pointer; }
.dq-day { margin-top: 10px; } .dq-day h4 { margin: 10px 0 2px; } .dq-slot { display: grid; gap: 8px; padding: 12px; margin: 8px 0; border: 1px solid #ffffff1a; border-radius: 12px; overflow-wrap: anywhere; } .dq-slot .m-pill { margin-right: 6px; } .dq-pick { display: grid; gap: 6px; max-height: 320px; overflow: auto; } .dq-option { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: #ffffff0a; } .dq-option > div { min-width: 0; overflow-wrap: anywhere; }
.dq-option > .m-button { flex: 0 0 auto; white-space: nowrap; } .dq-option b { font-weight: 600; }
.cp-card h2 { margin-top: 0; } .cp-log { display: grid; gap: 10px; max-height: 60vh; overflow: auto; padding: 4px 2px; margin: 12px 0; }
.cp-msg { padding: 10px 14px; border-radius: 14px; overflow-wrap: anywhere; line-height: 1.5; } .cp-msg.user { justify-self: end; max-width: 85%; background: #f3379e33; white-space: pre-wrap; } .cp-msg.assistant { background: #ffffff0d; border: 1px solid #ffffff14; }
.cp-msg p { margin: 0 0 8px; } .cp-msg ul { margin: 0 0 8px; padding-left: 20px; } .cp-msg .m-button { margin-top: 4px; } .cp-wait { opacity: .7; font-style: italic; }
.cp-starters { display: flex; flex-wrap: wrap; gap: 8px; } .cp-starters .m-button { text-align: left; white-space: normal; line-height: 1.3; } .cp-form textarea { width: 100%; box-sizing: border-box; margin-bottom: 8px; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 12px; }
.cp-starters .m-button { text-transform: none; letter-spacing: 0; font-family: inherit; font-size: 14px; font-weight: 500; }
.kg-bar { height: 14px; border-radius: 999px; background: #ffffff14; overflow: hidden; margin: 12px 0 6px; } .kg-bar span { display: block; height: 100%; background: linear-gradient(90deg, #29abe0, #f3379e); border-radius: 999px; transition: width .6s; }
.m-switch { display: flex; gap: 10px; align-items: flex-start; } .m-switch input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.pl-desc { white-space: normal; line-height: 1.55; margin: 6px 0; overflow-wrap: anywhere; } [data-plan-out] details { margin: 8px 0; } [data-plan-out] ol, [data-plan-out] ul { margin: 6px 0; padding-left: 22px; }
.area-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; } .wm-list { display: grid; gap: 12px; } .wm-row { display: grid; gap: 3px; } .wm-row .m-hint { margin: 0; } .wm-bars { display: grid; gap: 3px; } .wm-bars span { display: block; height: 8px; border-radius: 99px; min-width: 2px; } .wm-want { background: #f3379e; } .wm-live { background: #29abe0; opacity: .8; }
.help-kinds { display: grid; gap: 8px; margin: 12px 0; } .help-kind { display: flex; gap: 10px; align-items: center; text-align: left; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: 16px; cursor: pointer; } .help-kind span { font-size: 22px; } .help-kind[aria-checked="true"] { border-color: #f3379e; background: rgba(243,55,158,.12); }
.help-req { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); margin-bottom: 8px; } .help-req.new { border: 1px solid #f3379e; }
.kudos-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .kudos-pick { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04); color: inherit; border-radius: 99px; padding: 5px 10px; font: inherit; font-size: 13px; cursor: pointer; } .kudos-pick.on { border-color: #f3379e; background: rgba(243,55,158,.15); }
.nf-list { display: grid; gap: 10px; } .nf-row { display: grid; gap: 4px; } .nf-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; } .nf-step { display: grid; text-align: center; padding: 6px 2px; border-radius: 8px; background: rgba(255,255,255,.05); } .nf-step small { font-size: 11px; opacity: .75; line-height: 1.2; } @media (max-width: 600px) { .nf-steps { grid-template-columns: repeat(3, 1fr); } }
.pk-grid { display: grid; grid-template-columns: 1fr 0.6fr; gap: 14px; align-items: start; margin: 12px 0; } .pk-grid figure { margin: 0; display: grid; gap: 8px; } .pk-img img { width: 100%; height: auto; border-radius: 12px; display: block; } .pk-img { min-height: 120px; display: grid; place-items: center; background: rgba(255,255,255,.04); border-radius: 12px; } @media (max-width: 600px) { .pk-grid { grid-template-columns: 1fr 1fr; } }
.club-card.theme-kofi, .big-card.theme-kofi, .cc-swatch.theme-kofi span { background: linear-gradient(150deg, #2a0f2e, #3a1450 40%, #13183a 70%, #3a0f28); background-size: 200% 200%; animation: holo 14s ease infinite; border-color: #ff8fd6aa; box-shadow: 0 0 28px #f3379e33; }
.theme-kofi .cc-label { color: #ff9fdc; }
.clash-list { margin: 6px 0 0; padding-left: 4px; list-style: none; display: grid; gap: 3px; }
.tab-off { display: none !important; }
.acct-tabs { position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; margin: 0 0 14px; background: linear-gradient(#0c0911 70%, #0c091100); -webkit-overflow-scrolling: touch; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs button { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.acct-tabs button[aria-current="true"] { background: #f3379e; border-color: #f3379e; color: #fff; }
/* Card frames and level (lib/card-level.js) */
.has-frame { outline: 3px solid var(--frame, #cd7f32); outline-offset: 3px; filter: drop-shadow(0 0 10px var(--frame-glow, transparent)); }
.frame-bronze { --frame: #c47a3a; --frame-glow: #c47a3a55; } .frame-silver { --frame: #c9d1dc; --frame-glow: #c9d1dc55; } .frame-gold { --frame: #f2c84b; --frame-glow: #f2c84b66; }
.frame-platinum { --frame: #a8f0ff; --frame-glow: #a8f0ff77; outline-style: double; outline-width: 5px; }
.frame-legendary { --frame: #f3379e; --frame-glow: #f3379e88; outline-width: 4px; animation: frame-legend 6s linear infinite; }
@keyframes frame-legend { 0% { outline-color: #f3379e; } 25% { outline-color: #ffb44a; } 50% { outline-color: #6edfff; } 75% { outline-color: #b7a7ff; } 100% { outline-color: #f3379e; } }
.frame-winter { --frame: #bfe6ff; --frame-glow: #bfe6ff77; outline-style: dashed; } .frame-spring { --frame: #ffb7d5; --frame-glow: #ffb7d566; outline-style: dashed; }
.frame-summer { --frame: #3fd6c8; --frame-glow: #3fd6c866; outline-style: dashed; } .frame-fall { --frame: #ff8a3d; --frame-glow: #ff8a3d66; outline-style: dashed; }
.frame-staff { --frame: #6edfff; --frame-glow: #6edfff66; outline-width: 4px; } .frame-supporter { --frame: #ff8fd6; --frame-glow: #ff8fd688; outline-width: 4px; }
@media (prefers-reduced-motion: reduce) { .frame-legendary { animation: none; } }
.cc-level { display: inline-block; margin-left: auto; padding: 3px 9px; border-radius: 99px; font: 700 12px/1.2 'Space Mono', monospace; background: #00000055; border: 1px solid #ffffff33; color: #fff; letter-spacing: .5px; }
.cc-top .cc-level { align-self: center; }
.club-card > .cc-level, .big-card > .cc-level, .yb-card > .cc-level, [data-mini] > .cc-level { position: absolute; top: 14px; right: 14px; width: max-content; } .big-card, .yb-card, [data-mini] { position: relative; }
/* Frames collection */
.lv-bar { height: 10px; border-radius: 99px; background: #ffffff1a; overflow: hidden; margin: 6px 0 4px; } .lv-bar span { display: block; height: 100%; background: linear-gradient(90deg, #f3379e, #6edfff); border-radius: 99px; }
.frame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px; margin-top: 10px; }
.frame-tile { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 10px 6px; border-radius: 12px; border: 1px solid #ffffff1a; background: #ffffff08; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.frame-tile[disabled] { cursor: default; opacity: .55; } .frame-tile.on { border-color: #f3379e; background: #f3379e1a; }
.frame-tile .ft-mini { width: 64px; height: 40px; border-radius: 8px; background: linear-gradient(140deg, #2a1636, #14101d 60%, #0f2430); }
.frame-tile .ft-mini.has-frame { outline-width: 2px; outline-offset: 2px; } .frame-tile b { font-size: 13px; } .frame-tile small { opacity: .75; line-height: 1.25; }
/* Settings: devices and notifications */
.dev-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; } .dev-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: #ffffff08; }
.dev-list .meta { font-size: 12px; opacity: .75; }
.cc-title { margin: 2px 0 6px; font: 700 13px/1.3 'Space Mono', monospace; letter-spacing: .6px; text-transform: uppercase; color: #ffd36e; text-shadow: 0 0 10px #ffd36e55; }
.title-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .title-chip { display: grid; gap: 2px; text-align: left; padding: 8px 12px; border-radius: 12px; border: 1px solid #ffffff22; background: #ffffff08; color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; } .title-chip small { font-size: 11px; font-weight: 400; opacity: .7; } .title-chip[disabled] { opacity: .5; cursor: default; } .title-chip.on { border-color: #ffd36e; background: #ffd36e1a; }
.cb-stickers small { display: block; font: 700 10px/1 'Space Mono', monospace; letter-spacing: 1px; opacity: .7; margin-bottom: 6px; } .cb-stickers > div { display: flex; flex-wrap: wrap; gap: 4px; } .cb-sticker { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; background: radial-gradient(circle at 35% 30%, #ffffff55, transparent 55%), var(--st); border: 2px solid #fff; box-shadow: 0 2px 4px #0006; transform: rotate(var(--rot, 0deg)); } .cb-sticker.more { background: #ffffff22; font: 700 11px/1 'Space Mono', monospace; }
.cc-seal { position: absolute; bottom: 14px; right: 14px; width: max-content; height: max-content; justify-self: end; align-self: end; padding: 4px 9px; border-radius: 99px; font: 700 11px/1.2 'Space Mono', monospace; letter-spacing: .8px; color: #fff; background: linear-gradient(135deg, #b7a7ff, #f3379e); box-shadow: 0 0 12px #f3379e66; transform: rotate(-6deg); } .cc-seal.gold { background: linear-gradient(135deg, #ffe08a, #e0a526); color: #2a1a00; box-shadow: 0 0 14px #ffd36e88; } .club-card, .big-card { position: relative; }
.anniv-card { background: linear-gradient(135deg, #3a1450, #1a0f24 60%, #4a2a10); border-color: #ffd36e88; }
.bd-qr { width: 220px; max-width: 70vw; margin: 10px auto; background: #fff; padding: 12px; border-radius: 16px; } .bd-qr svg { display: block; width: 100%; height: auto; }
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 16px; } .bd-grid figure { margin: 0; display: grid; gap: 6px; } .bd-grid figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; opacity: .8; }
.bd-card { display: block; position: relative; min-height: 130px; padding: 16px 18px 40px; } .bd-card .cc-name { font-size: 22px; margin: 6px 0 2px; }
.has-art { background-image: linear-gradient(160deg, #0c0911cc, #0c091155 45%, #0c0911dd), var(--card-art) !important; background-size: cover !important; background-position: center !important; animation: none; }
.ca-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; } .ca-grid figure { margin: 0; display: grid; gap: 6px; } .ca-grid img { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 12px; }
.av-wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 10px 0; } .av-preview svg { width: 160px; height: 160px; border-radius: 24px; display: block; image-rendering: pixelated; } .av-rows { display: grid; gap: 6px; flex: 1; min-width: 220px; } .av-row { display: grid; grid-template-columns: 90px auto 1fr auto; gap: 6px; align-items: center; } .av-row b { text-align: center; font-size: 14px; } .av-row span { font-size: 13px; opacity: .8; }
.bd-pic { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; float: right; margin: 22px 0 0 8px; image-rendering: pixelated; object-fit: cover; }
.cc-extra .cc-title, .cc-title { color: #ffd36e; }
.spot-list { display: grid; gap: 12px; margin: 10px 0 16px; } .spot { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #ffffff08; border: 1px solid #ffffff14; } .spot.off { opacity: .55; }
.spot-qr { flex: 0 0 84px; background: #fff; padding: 6px; border-radius: 10px; } .spot-qr svg { display: block; width: 100%; height: auto; } .spot-body { flex: 1; min-width: 0; display: grid; gap: 8px; }
.spot-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; opacity: .9; } .spot-add { border-top: 1px solid #ffffff14; padding-top: 12px; }
.ns-cam { margin-top: 12px; display: grid; gap: 8px; } .ns-cam video { width: 100%; max-width: 420px; border-radius: 14px; background: #000; aspect-ratio: 1; object-fit: cover; }
.spot { flex-wrap: wrap; } .spot-body .m-copy { display: flex; gap: 6px; min-width: 0; } .spot-body .m-copy input { flex: 1; min-width: 0; width: 100%; } @media (max-width: 420px) { .spot-qr { flex-basis: 96px; } .spot-body { flex-basis: 100%; } }
.s-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: #f3379e; color: #fff; font-size: 11px; font-weight: 700; }
.inbox-card { border-color: #f3379e66; } .inbox-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.inbox-list button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid #ffffff18; background: #ffffff08; color: inherit; font: inherit; cursor: pointer; }
.inbox-list li.urgent button { border-color: #f3379e; background: #f3379e14; } .inbox-list button span:first-child { font-size: 18px; }
.ob-opts { display: grid; gap: 6px; } .ob-opts .m-button { text-align: left; white-space: normal; text-transform: none; letter-spacing: 0; font-family: inherit; }
.audit-list { list-style: none; padding: 0; display: grid; gap: 8px; } .audit-list > li { padding: 10px 12px; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff14; } .audit-list > li.flag { border-color: #ffb44a88; } .audit-flags { margin: 6px 0 0; padding-left: 4px; list-style: none; color: #ffd38a; font-size: 13px; }
.mr-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 12px 0; } .mr-stats div { padding: 10px; border-radius: 12px; background: #ffffff08; display: grid; } .mr-stats b { font-size: 22px; } .mr-stats span { font-size: 12px; opacity: .8; }
@media print { body.print-month * { visibility: hidden; } body.print-month .print-me, body.print-month .print-me * { visibility: visible; } body.print-month .print-me { position: absolute; inset: 0; } body.print-month .print-me select, body.print-month .print-me button { display: none; } }
.art-req p { margin: 6px 0; } .art-offer, .art-up { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ffffff14; } .art-up fieldset { border: 0; padding: 0; margin: 0 0 10px; } .art-up legend { font-weight: 600; margin-bottom: 6px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; } .art-grid figure { margin: 0; display: grid; gap: 4px; } .art-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; } .art-grid figcaption { display: grid; gap: 2px; font-size: 13px; }
.art-perks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.art-avail { margin-top: 12px; display: grid; gap: 4px; } .art-refs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; } .art-refs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid #ffffff1f; }
.art-thread { margin: 10px 0; } .art-thread summary { cursor: pointer; font-weight: 600; } .art-msg { background: #ffffff0a; border-radius: 12px; padding: 8px 10px; margin: 8px 0; } .art-msg.staff { border-left: 3px solid var(--pink, #f3379e); } .art-msg p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.art-ver { display: flex; gap: 10px; align-items: center; margin: 8px 0; } .art-ver img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.kit-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; } .kit-head img { width: 72px; height: 72px; border-radius: 16px; } .kit-head .m-button { margin-top: 6px; }
.kit-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 10px; } .kit-colors button { display: grid; gap: 2px; text-align: left; background: #ffffff0a; border: 1px solid #ffffff14; border-radius: 12px; padding: 8px; color: inherit; font: inherit; cursor: pointer; } .kit-colors span { height: 34px; border-radius: 8px; border: 1px solid #ffffff22; } .kit-notes { white-space: pre-wrap; background: #ffffff0a; padding: 10px; border-radius: 12px; }
.art-ref { position: relative; display: inline-block; } .art-ref .m-link { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #000c; color: #fff; border: 0; font-size: 11px; cursor: pointer; } .art-addref { margin-top: 8px; cursor: pointer; }
.needs-picks { grid-template-columns: 1fr; }
.s-needs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 4px 0; font-size: 13px; color: #ffd9ef; }
.art-tracker { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ffffff14; } .art-tracker h3 { margin: 0 0 8px; font-size: 16px; }
.stage-bar { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 0 0 10px; } .stage-bar li { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: #ffffff0a; font-size: 20px; opacity: .45; } .stage-bar li span { font-size: 12px; } .stage-bar li.on { opacity: 1; background: #f3379e33; }
.tracker-img { display: block; width: 100%; max-width: 420px; border-radius: 12px; margin-top: 8px; }
/* Card top-right: role badge + level stacked neatly; first sticker moved off the corner. */
.cc-badges { margin-left: auto; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; max-width: 50%; }
.cc-badges .cc-team { margin-left: 0; align-self: auto; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cc-badges .cc-level { margin-left: 0; position: static; }
.cc-badges:empty { display: none; }
.cc-sticker.s0 { top: 84px; bottom: auto; right: 16px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.m-link { background: none; border: 0; padding: 0; color: #ff8fd6; font: inherit; text-decoration: underline; cursor: pointer; }
.finish-guardian { border: 1px solid #ffffff1f; border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; } .finish-guardian legend { font-weight: 700; padding: 0 6px; }
.bot-check { margin: 8px 0; min-height: 0; } .bot-check:empty { display: none; }
