:root {
  --navy: #111111; --navy-2: #2b2b2b; --gold: #d71920; --gold-dk: #b0141a; --red-lt: #ff3b44; --tint: #fdeced; --tint-line: #f5c6c9;
  --bg: #f4f6f9; --card: #ffffff; --text: #14202e; --muted: #5d6b7c; --line: #e2e7ee;
  --green: #1d7a46; --red: #b3261e; --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Inter, system-ui, sans-serif; }
h1, h2, h3 { font-family: Oswald, Impact, sans-serif; letter-spacing: .01em; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); } h2 { font-size: 1.6rem; } h3 { font-size: 1.2rem; }
a { color: var(--gold-dk); }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 28px; padding-bottom: 60px; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .center { text-align: center; } .pre { white-space: pre-line; }
.mt { margin-top: 1.4em; } .grow { flex: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--gold-dk); margin: 0 0 .3em; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: Oswald, sans-serif; font-size: 1.25rem; text-transform: uppercase; }
.brand b { color: var(--red-lt); }
.brand-logo { width: 46px; height: 46px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; font-family: Montserrat, "Arial Black", sans-serif; font-weight: 900; font-size: .92rem; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
.brand-name b { font-size: .92rem; letter-spacing: .22em; }
.links { display: flex; align-items: center; gap: 4px; flex: 1; }
.links a, .linkbtn { color: #d7e0ec; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.links a:hover, .links a.on { color: #fff; background: rgba(255,255,255,.1); }
.links .btn-gold { color: #fff; } .links .btn-gold:hover { background: var(--gold-dk); color: #fff; }
.spacer { flex: 1; }
.menu-toggle, .menu-btn { display: none; }
.linkbtn { background: none; border: 0; cursor: pointer; font: inherit; }
.linkbtn.danger { color: var(--red); padding: 4px 6px; }
.inline { display: inline; margin: 0; }
.demo-bar { background: #ececec; color: #333; text-align: center; font-size: .85rem; padding: 6px 16px; }
@media (max-width: 860px) {
  .menu-btn { display: block; margin-left: auto; cursor: pointer; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; }
  .links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .menu-toggle:checked ~ .links { display: flex; }
  .spacer { display: none; }
}

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; border: 2px solid var(--navy); padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; cursor: pointer; font: 600 .95rem Inter, sans-serif; }
.btn:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; } .btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); }
.btn-ghost { background: transparent; color: var(--navy); } .btn-ghost:hover { background: rgba(0,0,0,.06); }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn.sm { padding: 6px 12px; font-size: .85rem; } .btn.big { padding: 14px 28px; font-size: 1.05rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .row.center { justify-content: center; }

/* Cards & layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin: 28px 0; }
.grid-2.tight { grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.stack { display: grid; gap: 22px; align-content: start; }
.narrow { max-width: 620px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 10px 0 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .grid-2, .grid-2.tight { grid-template-columns: 1fr; } }

/* Hero */
.hero { background: linear-gradient(135deg, #0d0d0d 0%, #1c1c1c 55%, #3d0b0f 100%); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.05) 79px 81px); pointer-events: none; }
.hero > div { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { color: var(--red-lt); }
.hero .lead { color: #c9d5e5; font-size: 1.1rem; margin-bottom: 1.4em; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; text-align: center; margin-bottom: 12px; }
.cal-head h2 { margin: 0; }
.cal-nav { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: 1.1rem; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow { text-align: center; font-size: .72rem; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 4px 0; }
.day { min-height: 78px; border-radius: 8px; background: var(--bg); padding: 5px; font-size: .8rem; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.day.empty { background: transparent; }
.day.today { outline: 2px solid var(--navy); }
.day.has { background: var(--tint); }
.num { font-weight: 600; color: var(--muted); }
.evt { background: var(--navy); color: #fff; border-radius: 5px; padding: 2px 5px; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .day { min-height: 52px; } .evt { font-size: 0; height: 8px; padding: 0; background: var(--gold-dk); } }

.speakers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.speakers li { display: flex; gap: 14px; align-items: flex-start; }
.date-chip { background: var(--navy); color: #fff; border-radius: 10px; min-width: 52px; text-align: center; padding: 4px 0; line-height: 1.1; }
.date-chip span { font-size: .7rem; text-transform: uppercase; color: var(--red-lt); display: block; } .date-chip b { font-size: 1.3rem; font-family: Oswald, sans-serif; }
.cta { background: var(--tint); border-color: var(--tint-line); }

/* Jobs */
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.job { display: flex; flex-direction: column; gap: 6px; } .job h3 { margin: 6px 0 0; } .job p { margin: 0; }
.job .desc { color: var(--text); margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.job .row { margin-top: auto; }
.job-top { display: flex; justify-content: space-between; align-items: center; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: #e8edf4; color: var(--navy-2); }
.tag-college { background: var(--navy); color: #fff; } .tag-hs { background: #dff1e6; color: var(--green); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.filters input { flex: 1; min-width: 200px; }

/* Forms */
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cdd5e0; border-radius: 10px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.filters select, .filters .btn { width: auto; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 5px; font-weight: 500; font-size: .9rem; }
.inline-form { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; margin: 10px 0; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; background: #e8edf4; }
.flash.success { background: #dff1e6; color: #14532d; } .flash.error { background: #fde4e2; color: #7f1d1d; } .flash.info { background: #fff4cc; color: #6b5200; }

/* News */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.news-item { text-decoration: none; color: var(--text); transition: transform .12s, box-shadow .12s; }
.news-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11,31,58,.08); }
.news-item h3 { margin: 6px 0; }

/* Videos */
.banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; background: var(--tint); border-color: var(--tint-line); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.video-card { padding: 0; overflow: hidden; text-decoration: none; color: var(--text); }
.video-card .pad { padding: 14px 16px; } .video-card h3 { margin: 8px 0 2px; }
.thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--navy-2)) center/cover; display: grid; place-items: center; }
.lock { background: rgba(0,0,0,.55); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.player { aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; display: block; }
.paywall { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.paywall p { color: #c9d5e5; max-width: 520px; } .lock-big { font-size: 2.4rem; }
@media (max-width: 560px) { .player:has(.paywall) { aspect-ratio: auto; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 820px; margin: 10px auto 18px; }
.price.featured { border: 2px solid var(--gold); }
.pricing.plans { max-width: 1040px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pricing.single { max-width: 340px; }
.price { position: relative; }
.plan-tag { position: absolute; top: -12px; right: 18px; background: var(--gold); color: #fff; font: 700 .78rem Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.plan-tag.dark { background: #111; }
.plan-note { min-height: 2.6em; }
.plan-btns { flex-wrap: wrap; gap: 8px; }
.join-hero { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; max-width: 1040px; margin: 0 auto 28px; }
.tour { border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px var(--gold), 0 20px 50px rgba(0,0,0,.25); aspect-ratio: 9 / 16; }
.tour video { display: block; width: 100%; height: 100%; object-fit: cover; }
.join-copy h1 { margin: 4px 0 10px; }
@media (max-width: 760px) { .join-hero { grid-template-columns: 1fr; gap: 22px; } .tour { width: min(320px, 100%); margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .tour video { animation: none; } }
.amount { font-family: Oswald, sans-serif; font-size: 3rem; color: var(--navy); } .amount span { font-size: 1rem; color: var(--muted); margin-left: 6px; }
.checks { list-style: none; padding: 0; margin: 10px 0 22px; display: grid; gap: 8px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }

/* Members */
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.member { text-align: center; text-decoration: none; color: var(--text); display: flex; flex-direction: column; align-items: center; }
.member h3 { margin: 12px 0 2px; } .member .bio { font-size: .9rem; margin: 8px 0 0; }
.avatar { border-radius: 50%; object-fit: cover; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: Oswald, sans-serif; flex-shrink: 0; }
.avatar.lg { width: 96px; height: 96px; font-size: 2rem; } .avatar.xl { width: 160px; height: 160px; font-size: 3.2rem; }
.profile { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stats .card { display: grid; } .stats b { font-family: Oswald, sans-serif; font-size: 2rem; }
.app { border-top: 1px solid var(--line); padding: 12px 0; } .app summary { cursor: pointer; }
.admin-list { list-style: none; padding: 0; margin: 0; } .admin-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 30px 0; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; } .site-footer .muted { color: #9fb0c6; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; } .foot-links a { color: #d7e0ec; }

/* Member chat */
.chat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; height: calc(100vh - 170px); min-height: 480px; }
.chat-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.chat-side h2 { font-size: 1.3rem; }
.side-label { font-size: .75rem; font-weight: 600; color: var(--muted); margin: 14px 0 4px; }
.convo { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--text); line-height: 1.25; }
.convo:hover { background: var(--bg); } .convo.on { background: var(--tint); }
.avatar.sm { width: 36px; height: 36px; font-size: .9rem; }
.chat-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); line-height: 1.3; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-log .empty { margin: auto; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 80%; }
.msg.mine { align-self: flex-end; }
.bubble { background: var(--bg); border-radius: 14px 14px 14px 4px; padding: 8px 12px; min-width: 0; }
.msg.mine .bubble { background: var(--navy); color: #fff; border-radius: 14px 14px 4px 14px; }
.msg.mine .ts { color: #b8c6da; }
.meta { font-size: .78rem; display: flex; gap: 6px; align-items: baseline; }
.ts { color: var(--muted); }
.text { white-space: pre-wrap; overflow-wrap: anywhere; }
.del { margin-left: auto; background: none; border: 0; color: inherit; opacity: .55; cursor: pointer; font-size: .85rem; padding: 0 2px; }
.del:hover { opacity: 1; }
.composer { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.composer textarea { resize: none; max-height: 160px; }
.chat-err { color: var(--red); padding: 0 16px 10px; margin: 0; }
@media (max-width: 760px) {
  .chat { grid-template-columns: 1fr; height: auto; }
  .chat-side { flex-direction: row; overflow-x: auto; overflow-y: hidden; align-items: center; padding: 10px; }
  .chat-side h2, .side-label, .chat-side > p { display: none; }
  .convo { flex-shrink: 0; }
  .chat-main { height: calc(100vh - 230px); min-height: 420px; }
  .msg { max-width: 92%; }
}

/* Profile contact */
.contact { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; }
.contact dt { color: var(--muted); font-size: .9rem; } .contact dd { margin: 0; overflow-wrap: anywhere; }
.locked-box { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 12px; padding: 14px 16px; }
.locked-box p { margin: 4px 0 10px; }
.profile > div:last-child { flex: 1; min-width: 0; }

/* Checkbox rows */
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form label.check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); }
.form label.consent { font-size: .82rem; color: var(--muted); }

/* Profile */
.profile-main { flex: 1; min-width: 0; }
.profile-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 4px; }
.employer { margin: 0 0 16px; }
.employer .muted { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.profile-actions { margin-bottom: 6px; }
.btn.disabled { opacity: .6; cursor: not-allowed; }
.member-title { margin: 0; font-weight: 600; }
.member p.muted { margin: 2px 0 0; }
.resume-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Contact pop-up */
.modal { border: 0; border-radius: 16px; padding: 22px; width: min(520px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.35); color: var(--text); }
.modal::backdrop { background: rgba(0,0,0,.55); }
.modal-head { display: flex; gap: 12px; align-items: center; }
.modal-head h2 { margin: 0; font-size: 1.4rem; } .modal-head p { margin: 0; }
.modal-x { margin-left: auto; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; align-self: flex-start; }
.via { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.via legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form .via-opt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 400; }
.via-opt input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.via-opt:has(input:checked) { border-color: var(--gold); background: var(--tint); }
.via-opt.off { opacity: .55; cursor: not-allowed; }
.modal-actions { justify-content: flex-end; }
@media (max-width: 600px) {
  .profile { flex-direction: column; align-items: flex-start; gap: 16px; }
  .avatar.xl { width: 110px; height: 110px; font-size: 2.4rem; }
  .profile-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Admin video upload */
.form label.drop { display: grid; justify-items: center; text-align: center; gap: 4px; border: 2px dashed #c9ced6; border-radius: 14px; padding: 20px 14px; cursor: pointer; background: var(--bg); }
.form label.drop:hover, .form label.drop:focus-within { border-color: var(--gold); background: var(--tint); }
.drop input[type=file] { width: auto; max-width: 100%; margin-top: 8px; background: transparent; border: 0; padding: 0; }
.drop-icon { font-size: 1.6rem; }
.file-name { font-weight: 600; overflow-wrap: anywhere; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 2px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.source-pick { display: grid; gap: 10px; }
.progress { position: relative; height: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.progress .bar { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); transition: width .2s; }
.progress span { position: relative; display: grid; place-items: center; height: 100%; font-size: .85rem; font-weight: 600; mix-blend-mode: difference; color: #fff; }
.error-text { color: var(--red); margin: 0; }

/* Keep grid columns and form fields from pushing past a phone's width */
.grid-2 > *, .stack > * { min-width: 0; }
input, select, textarea { max-width: 100%; min-width: 0; }

/* Referrals */
.ref-code { display: flex; align-items: baseline; gap: 12px; background: var(--tint); border: 1px dashed var(--gold); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.ref-code b { font-family: Montserrat, "Arial Black", sans-serif; font-weight: 900; font-size: 1.4rem; letter-spacing: .06em; color: var(--gold-dk); }
.ref-share { display: flex; gap: 8px; }
.ref-share input { flex: 1; font-size: .85rem; color: var(--muted); }
.ref-redeem { margin-top: 12px; }
.ref-note { background: var(--tint); border-radius: 10px; padding: 10px 12px; margin: 0; font-size: .9rem; }
.ref-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 820px; margin: 0 auto 18px; }

/* Lifetime codes */
.lifetime-badge { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; border-radius: 999px; padding: 4px 12px; margin: 0 0 6px; }
.scroll { overflow-x: auto; }
table.codes { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .92rem; }
table.codes th { text-align: left; font-size: .78rem; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.codes td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.codes tr.off td { opacity: .5; }
.inline-form label .muted { font-weight: 400; }

/* ===================== Interactive touches ===================== */
/* Motion & polish */
.btn, .linkbtn, .save-job, .applied-btn, .theme-toggle, .evt, .speaker-row { transition: transform .12s ease, background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn:active, .save-job:active, .applied-btn:active, .theme-toggle:active { transform: scale(.96); }
.job, .member, .video-card, .news-item, .price { transition: transform .18s ease, box-shadow .18s ease; }
.job:hover, .member:hover, .video-card:hover, .news-item:hover, .price:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.09); }
.video-card .thumb { transition: filter .2s; } .video-card:hover .thumb { filter: brightness(1.12); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.btn.busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-ghost.busy::after { border-color: rgba(0,0,0,.2); border-top-color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }

/* Unread badge */
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; margin-left: 4px; line-height: 1; animation: badge-in .3s ease; }
@keyframes badge-in { from { transform: scale(.4); } to { transform: scale(1); } }

/* Theme toggle */
.theme-toggle { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; width: 40px; height: 34px; cursor: pointer; font-size: 1rem; display: grid; place-items: center; padding: 0; }
.theme-toggle:hover { background: rgba(255,255,255,.16); }
.theme-toggle .t-moon { display: none; }
[data-theme=dark] .theme-toggle .t-sun { display: none; } [data-theme=dark] .theme-toggle .t-moon { display: inline; }
@media (max-width: 860px) { .theme-toggle { align-self: flex-start; margin: 4px 10px; } }

/* Toasts */
.toasts { position: fixed; right: 16px; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 80; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast-pop { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; background: #111; color: #fff; text-decoration: none; border-radius: 12px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); border-left: 4px solid var(--gold); opacity: 0; transform: translateX(24px); transition: opacity .25s, transform .25s; font-size: .92rem; }
.toast-pop.in { opacity: 1; transform: none; }
.toast-body { overflow-wrap: anywhere; }

/* Clickable calendar */
button.evt { border: 0; text-align: left; cursor: pointer; font: inherit; font-size: .7rem; width: 100%; }
button.evt:hover { background: var(--gold); }
.speaker-row { display: flex; gap: 14px; align-items: flex-start; width: 100%; background: none; border: 0; padding: 6px; margin: -6px; border-radius: 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.speaker-row:hover { background: var(--bg); }
.event-modal h3 { margin: 16px 0 4px; font-size: 1.35rem; }
.ev-when { font-weight: 600; color: var(--gold-dk); margin: 0 0 10px; }
.zoom-box { display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 14px 16px; border-radius: 14px; border: 2px solid #2d8cff; background: rgba(45,140,255,.08); }
.zoom-box.locked { border-color: var(--line, #d8dbe2); background: transparent; }
.zoom-icon { font-size: 1.8rem; line-height: 1; }
.zoom-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zoom-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .zoom-box { flex-wrap: wrap; } .zoom-box .btn { width: 100%; text-align: center; } }
.date-chip.big { min-width: 64px; padding: 6px 0; } .date-chip.big b { font-size: 1.7rem; }
.modal-actions .btn[hidden] { display: none; }
@media (max-width: 560px) { button.evt { font-size: 0; } }

/* Saved jobs */
.job-top-right { display: flex; align-items: center; gap: 8px; }
.save-job { background: none; border: 1px solid var(--line); color: #b9bec6; border-radius: 999px; width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.1rem; cursor: pointer; text-decoration: none; line-height: 1; }
.save-job:hover { color: var(--gold); border-color: var(--gold); }
.save-job.on { color: #fff; background: var(--gold); border-color: var(--gold); }
.save-job.pop { animation: pop .35s ease; } @keyframes pop { 50% { transform: scale(1.3); } }
.applied-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font: 600 .82rem Inter, sans-serif; color: var(--muted); cursor: pointer; }
.applied-btn.on { background: #dff1e6; border-color: #b7e0c5; color: var(--green); }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; border: 1px solid var(--line); }
.tabs a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs .count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: rgba(127,127,127,.2); font-size: .75rem; text-align: center; }

/* Video progress */
.thumb { position: relative; }
.vprog { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.3); }
.vprog i { display: block; height: 100%; background: var(--gold); }
.row-title { font-size: 1.3rem; margin: 6px 0 12px; }
.videos.continue { margin-bottom: 26px; }

/* Typing indicator */
.typing { display: flex; align-items: center; gap: 3px; padding: 0 18px 6px; color: var(--muted); font-size: .82rem; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.typing span { margin-left: 6px; } .typing span::after { content: "…"; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ===================== Dark mode ===================== */
[data-theme=dark] { --bg: #0e0e10; --card: #18181b; --text: #ececef; --muted: #a0a3ab; --line: #2c2c31; --navy: #26262b; --navy-2: #34343a;
  --tint: #2a1417; --tint-line: #5a2027; --gold-dk: #ff4a52; color-scheme: dark; }
[data-theme=dark] body { background: var(--bg); color: var(--text); }
[data-theme=dark] .site-header, [data-theme=dark] .site-footer { background: #060607; }
/* plain links only; buttons, logo, cards and chat names keep their own colors */
:where([data-theme=dark]) a { color: #ff5a61; }
[data-theme=dark] .links a, [data-theme=dark] .foot-links a { color: #d7dbe2; }
[data-theme=dark] .links .btn-gold { color: #fff; }
[data-theme=dark] input, [data-theme=dark] select, [data-theme=dark] textarea { background: #101013; color: var(--text); border-color: #3a3a40; }
[data-theme=dark] .btn { border-color: #3a3a41; }
[data-theme=dark] .btn-gold { border-color: var(--gold); }
[data-theme=dark] .btn-ghost { color: var(--text); border-color: #55555d; }
[data-theme=dark] .btn-ghost:hover { background: rgba(255,255,255,.07); }
[data-theme=dark] .amount, [data-theme=dark] .avatar.initials { color: var(--text); }
[data-theme=dark] .tag { background: #26262c; color: #cfd3da; }
[data-theme=dark] .tag-college { background: #3a3a42; color: #fff; }
[data-theme=dark] .tag-hs, [data-theme=dark] .applied-btn.on { background: #12301f; color: #6fdc9b; border-color: #1f5135; }
[data-theme=dark] .flash { background: #22222a; }
[data-theme=dark] .flash.success { background: #12301f; color: #a8f0c4; } [data-theme=dark] .flash.error { background: #3a1316; color: #ffb3b6; } [data-theme=dark] .flash.info { background: #3a3110; color: #f3dc8b; }
[data-theme=dark] .demo-bar { background: #1c1c20; color: #c9ccd3; }
[data-theme=dark] .modal { background: var(--card); color: var(--text); }
[data-theme=dark] .day.has { background: var(--tint); }
[data-theme=dark] .day.today { outline-color: #8c8c96; }
[data-theme=dark] .cal-nav { color: var(--text); }
[data-theme=dark] .job:hover, [data-theme=dark] .member:hover, [data-theme=dark] .video-card:hover, [data-theme=dark] .news-item:hover, [data-theme=dark] .price:hover { box-shadow: 0 10px 26px rgba(0,0,0,.5); }
[data-theme=dark] .drop { background: #121215; border-color: #3a3a40; }
[data-theme=dark] .hero { background: linear-gradient(135deg, #070708 0%, #141416 55%, #3d0b0f 100%); }
[data-theme=dark] .save-job { color: #6b6e76; }
[data-theme=dark] h1, [data-theme=dark] h2, [data-theme=dark] h3 { color: var(--text); }
[data-theme=dark] .toast-pop { background: #26262b; }
[hidden] { display: none !important; }
.pay-status.good { border-left: 5px solid #1d7a46; } .pay-status.bad { border-left: 5px solid var(--gold); }
.pay-status code { background: rgba(127,127,127,.15); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.signup-sms { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 12px; }
.signup-sms legend { font-weight: 600; padding: 0 6px; }

/* Red text-alert nudge + announcement banner */
.nudge-bar { background: var(--gold); color: #fff; }
.announce-bar { background: #111; color: #fff; border-bottom: 3px solid var(--gold); }
.nudge-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.nudge-actions { display: flex; gap: 8px; align-items: center; }
.nudge-bar .btn { background: #fff; color: var(--gold-dk); border-color: #fff; }
.nudge-bar .linkbtn, .announce-bar .linkbtn { color: #fff; opacity: .9; }
[data-theme=dark] .nudge-bar .btn { color: #b0141a; }
.announce-bar .nudge-inner { flex-wrap: nowrap; align-items: flex-start; }
.announce-bar .nudge-inner > span { min-width: 0; }
.announce-bar .linkbtn { flex-shrink: 0; font-size: 1.1rem; }

/* Insights / creator program */
.lead-sm { color: var(--muted); max-width: 820px; margin: -6px 0 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { display: grid; gap: 4px; }
.stat b { font: 700 2rem/1.1 Oswald, sans-serif; }
.stat.big { border-left: 5px solid var(--gold); }
.stat.big b { color: var(--gold-dk); }
.withdraw-box { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); }
.withdraw-box .btn[disabled] { opacity: .45; cursor: not-allowed; }
.ok-line { font-weight: 600; color: var(--green); margin: 0 0 6px; }
[data-theme=dark] .ok-line { color: #6fdc9b; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pill.approved, .pill.paid { background: #dff1e6; color: var(--green); } .pill.pending, .pill.requested { background: #fff4cc; color: #6b5200; } .pill.rejected, .pill.failed { background: #fde4e2; color: #7f1d1d; }
[data-theme=dark] .pill.approved, [data-theme=dark] .pill.paid { background: #12301f; color: #6fdc9b; } [data-theme=dark] .pill.pending, [data-theme=dark] .pill.requested { background: #3a3110; color: #f3dc8b; } [data-theme=dark] .pill.rejected, [data-theme=dark] .pill.failed { background: #3a1316; color: #ffb3b6; }
.insights-table td:nth-child(n+3), .insights-table th:nth-child(n+3) { text-align: right; white-space: nowrap; }
.byline { margin: -4px 0 10px; color: var(--muted); }
.review-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.reject-form { display: inline-flex; gap: 6px; } .reject-form input { width: 170px; padding: 6px 10px; }
.notice-card { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border: 1px solid var(--tint-line); border-left: 5px solid var(--gold); border-radius: 14px; padding: 16px 18px; margin-bottom: 22px; }
.notice-card.slim { padding: 12px 16px; }
.notice-icon { font-size: 1.6rem; line-height: 1; }

/* Profile strength */
.profile-bar { background: #111; color: #fff; border-bottom: 1px solid #2a2a2e; }
.profile-bar .linkbtn { color: #fff; opacity: .85; }
.strength { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; background: var(--bg); }
.strength.full { border-color: #b7e0c5; }
.strength-top { display: flex; justify-content: space-between; align-items: baseline; }
.strength-top span { font: 700 1.4rem Oswald, sans-serif; color: var(--gold-dk); }
.strength.full .strength-top span { color: var(--green); }
.strength-bar { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0 10px; }
.strength-bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width .4s; }
.strength.full .strength-bar i { background: #1d7a46; }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; font-size: .92rem; }
.checklist li { color: var(--text); } .checklist li.done { color: var(--muted); text-decoration: line-through; }
