/* STEALPVP staff site — layered on top of the supplied CSS (loaded last). */
:root {
  color-scheme: dark;
  --bg: #0f0f10;
  --surface: #17181e;
  --surface-2: #1f2129;
  --surface-3: #272934;
  --line: #313442;
  --line-2: #3d4155;
  --text: #c6c8d7;
  --muted: #9195ab;
  --red: #ff6b86;
  --red-ink: #1c0b10;
  --gold: #ffc34f;
  --blue: #3994ff;
  --green: #63f58c;
  --radius: 0.75rem;
}

/* The supplied app.css pins html/body to 100% height; let the page grow naturally. */
html { height: auto; scroll-behavior: smooth; }
body {
  width: auto; height: auto; max-height: none; min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg) radial-gradient(60rem 28rem at 78% -8rem, rgba(255, 107, 134, 0.1), transparent 70%) no-repeat;
  color: var(--text); font-size: 15px; line-height: 1.6;
}
main { flex: 1 0 auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(255, 107, 134, 0.35); color: #fff; }
h1, h2, h3, h4 { color: #fff; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .sp-wrap { padding: 0 2.5rem; } }
.sp-section { padding: 4.5rem 0; }
.sp-section + .sp-section { border-top: 1px solid var(--line); }
.sp-section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.sp-section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.sp-section-head p { margin-top: 0.6rem; color: var(--muted); font-size: 1.05rem; }
.link { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: #ff8fa3; }

/* ---------- Header / navbar (extends the supplied header classes) ---------- */
.sp-header { position: sticky; top: 0; z-index: 40; background: rgba(15, 15, 16, 0.88); backdrop-filter: blur(12px); border-bottom-width: 1px; border-color: var(--line); }
.sp-header ._container_1lrs4_6 { padding-top: 0.9rem; padding-bottom: 0.9rem; }
.sp-logo { gap: 0.6rem; padding-left: 0.1rem; }
.sp-wordmark { font-size: 1.45rem; font-weight: 900; font-style: italic; letter-spacing: 0.02em; color: #fff; text-shadow: 2px 2px 0 #c2314d; }
.sp-logo-tag { font-size: 0.72rem; font-weight: 800; color: var(--red-ink); background: var(--red); border-radius: 0.3rem; padding: 0.12rem 0.4rem; }
._classic_hnnn1_18:before { box-shadow: 0 0 88px #ff6b86; opacity: 0.55; }
.sp-header ._menus_link_1lrs4_28[aria-current='page'] { color: #fff; }
.sp-actions { display: flex; align-items: center; gap: 0.6rem; }
.sp-burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 0.625rem; color: #fff; }
.sp-burger svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .sp-burger, .sp-mobile { display: none !important; } }
.sp-mobile { border-top: 1px solid var(--line); background: var(--bg); }
.sp-mobile ul { padding: 0.75rem 1.25rem 1.25rem; display: grid; gap: 0.25rem; }
.sp-mobile a { display: block; padding: 0.75rem 0.5rem; border-radius: 0.5rem; font-weight: 600; color: var(--text); }
.sp-mobile a:hover { background: var(--surface-2); color: #fff; }
@media (max-width: 420px) { .sp-actions .btn-primary { display: none; } }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0 1.25rem; border: 1px solid transparent; border-radius: 0.625rem; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--red); color: var(--red-ink); }
.btn-primary:hover { background: #ff8aa0; }
.btn-secondary { background: var(--surface-3); border-color: var(--line-2); color: #fff; }
.btn-secondary:hover { background: var(--line); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); color: #fff; }
.btn-danger { background: rgba(255, 107, 134, 0.1); border-color: rgba(255, 107, 134, 0.4); color: var(--red); }
.btn-danger:hover { background: var(--red); color: var(--red-ink); }
.btn-sm { min-height: 36px; padding: 0 0.875rem; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 1.75rem; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 3.5rem 0 4.5rem; }
.hero .sp-announce { display: flex; justify-content: flex-start; padding: 0 0 1.75rem; }
.hero h1 { max-width: 14ch; font-size: clamp(2.6rem, 7.2vw, 5rem); font-weight: 900; line-height: 1; letter-spacing: -0.035em; }
.hero p.lead { max-width: 38rem; margin-top: 1.4rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.sp-placement-reset { padding: 0; }
._announcement_16hem_12 { border-color: rgba(255, 107, 134, 0.28); background: rgba(255, 107, 134, 0.07); }
._announcement_16hem_12:hover { border-color: rgba(255, 107, 134, 0.5); background: rgba(255, 107, 134, 0.13); }
._badge_16hem_39 { background: var(--red); color: var(--red-ink); }
._arrow_16hem_31 { color: var(--red); }
._cta_16hem_58 { color: #fff; }

.hearts { display: flex; gap: 0.35rem; margin-top: 3rem; padding: 0; list-style: none; }
.hearts li { width: clamp(24px, 5.4vw, 40px); color: var(--line); transform-origin: 50% 80%; animation: heart-fill 0.45s calc(var(--i) * 110ms + 0.3s) both; }
.hearts li:last-child { animation: heart-fill 0.45s calc(var(--i) * 110ms + 0.3s) both, heart-steal 0.6s 2.2s forwards; }
.hearts svg { display: block; width: 100%; height: auto; fill: currentColor; shape-rendering: crispEdges; }
@keyframes heart-fill { 0% { color: var(--line); transform: scale(0.6); } 60% { color: var(--red); transform: scale(1.18); } 100% { color: var(--red); transform: scale(1); } }
@keyframes heart-steal { 0% { color: var(--red); transform: translateX(0); } 20% { transform: translateX(-3px) rotate(-6deg); } 40% { transform: translateX(3px) rotate(6deg); } 100% { color: var(--line); transform: translateX(0); } }

/* ---------- Role cards ---------- */
.role-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); }
.role-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; transition: border-color 0.15s, background 0.15s; }
.role-card:hover { border-color: var(--line-2); background: var(--surface-2); }
.role-card .role-top { display: flex; align-items: center; justify-content: space-between; }
.role-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 0.625rem; background: rgba(255, 107, 134, 0.12); color: var(--red); }
.role-icon svg { width: 24px; height: 24px; }
.role-card h3 { font-size: 1.2rem; }
.role-card p { color: var(--muted); flex: 1; }
.tag { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 0.12rem 0.6rem; font-size: 12px; font-weight: 700; color: var(--muted); }
.tag.is-staff { color: var(--gold); border-color: rgba(255, 195, 79, 0.4); }
.tag.is-creative { color: var(--blue); border-color: rgba(57, 148, 255, 0.4); }
.role-card .btn { align-self: flex-start; }

/* ---------- Process + FAQ ---------- */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: step; padding: 0; list-style: none; }
.steps li { position: relative; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin-bottom: 0.75rem; border-radius: 50%; background: var(--red); color: var(--red-ink); font-weight: 800; }
.steps h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.steps p { color: var(--muted); }
.faq { display: grid; gap: 0.6rem; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; color: #fff; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--red); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 2rem; border: 1px solid rgba(255, 107, 134, 0.3); border-radius: 1rem; background: linear-gradient(110deg, rgba(255, 107, 134, 0.12), rgba(255, 107, 134, 0.03)); }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { color: var(--text); margin-top: 0.3rem; }

/* ---------- Forms ---------- */
.page-head { padding: 3rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.page-head p { margin-top: 0.6rem; color: var(--muted); max-width: 38rem; font-size: 1.05rem; }
.apply-layout { display: grid; gap: 2rem; padding-bottom: 4.5rem; }
@media (min-width: 960px) { .apply-layout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } .apply-aside { position: sticky; top: 5.5rem; } }
.form-card { display: grid; gap: 1.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.fieldset { display: grid; gap: 1rem; border: 0; padding: 0; min-width: 0; }
.fieldset > legend { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 0.25rem; padding: 0; }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.label { font-size: 14px; font-weight: 700; color: #fff; }
.label .opt { font-weight: 500; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.input, .textarea, .select { width: 100%; min-height: 46px; padding: 0.7rem 0.9rem; background: var(--bg); color: #fff; border: 1px solid var(--line); border-radius: 0.625rem; transition: border-color 0.15s, box-shadow 0.15s; }
.textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239195ab' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-2); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57, 148, 255, 0.25); }
.input::placeholder, .textarea::placeholder { color: #656a83; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--red); }
.error { color: var(--red); font-size: 13px; font-weight: 600; }
.counter { justify-self: end; font-size: 12px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.role-chooser { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.role-chip { position: relative; display: flex; align-items: center; gap: 0.6rem; min-height: 52px; padding: 0.5rem 0.8rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0.625rem; cursor: pointer; font-weight: 700; color: var(--text); transition: border-color 0.15s, background 0.15s; }
.role-chip:hover { border-color: var(--line-2); }
.role-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-chip svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.role-chip:has(input:checked) { border-color: var(--red); background: rgba(255, 107, 134, 0.1); color: #fff; }
.role-chip:has(input:checked) svg { color: var(--red); }
.role-chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.aside-card { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.aside-card h2 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.aside-card h3 { margin: 1rem 0 0.4rem; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.bullets { display: grid; gap: 0.4rem; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 1.25rem; }
.bullets li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--red); }

/* ---------- Modal / popup / toast ---------- */
.sp-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(5, 5, 8, 0.74); backdrop-filter: blur(4px); animation: sp-fade 0.15s ease-out; }
.sp-modal { display: flex; flex-direction: column; width: 100%; max-width: 34rem; max-height: calc(100vh - 2rem); margin-top: 0; background: var(--surface); border-color: var(--line-2); color: var(--text); box-shadow: 0 32px 72px rgba(0, 0, 0, 0.45); animation: sp-pop 0.18s ease-out; }
.sp-modal.is-wide { max-width: 46rem; }
.sp-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 0; }
.sp-modal-head h2 { font-size: 1.35rem; }
.sp-modal-close { display: inline-flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; margin: -0.35rem -0.5rem 0 0; border-radius: 0.5rem; color: var(--muted); }
.sp-modal-close:hover { background: var(--surface-3); color: #fff; }
.sp-modal-close svg { width: 20px; height: 20px; }
.sp-modal-body { overflow: auto; }
.sp-modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.sp-modal-foot .push-left { margin-right: auto; }
.sp-modal .success-mark { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 0.75rem; border-radius: 50%; background: rgba(99, 245, 140, 0.14); color: var(--green); }
.sp-modal .success-mark svg { width: 28px; height: 28px; }
.ref-code { display: inline-block; margin: 0.5rem 0; padding: 0.3rem 0.7rem; border: 1px dashed var(--line-2); border-radius: 0.5rem; font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: #fff; letter-spacing: 0.08em; }
@media (max-width: 550px) {
  .sp-overlay { align-items: flex-end; padding: 0; }
  .sp-modal { max-height: 92vh; border-radius: 1rem 1rem 0 0; }
}
.sp-toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 120; display: grid; gap: 0.5rem; width: min(24rem, calc(100vw - 2rem)); }
.sp-toast { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.8rem 1rem; background: var(--surface-3); border: 1px solid var(--line-2); border-left: 4px solid var(--blue); border-radius: 0.625rem; color: #fff; font-weight: 600; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); animation: sp-pop 0.18s ease-out; }
.sp-toast.is-success { border-left-color: var(--green); }
.sp-toast.is-error { border-left-color: var(--red); }
@keyframes sp-fade { from { opacity: 0; } }
@keyframes sp-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* ---------- Footer ---------- */
.sp-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-grid h2 { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 0.75rem; }
.footer-grid ul { display: grid; gap: 0.45rem; padding: 0; list-style: none; }
.footer-grid a { color: var(--text); }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { margin-top: 0.75rem; max-width: 24rem; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1.25rem 0 1.75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- Admin ---------- */
.login-wrap { display: grid; place-items: center; padding: 4rem 1.25rem; }
.login-card { width: 100%; max-width: 26rem; display: grid; gap: 1.25rem; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.login-card h1 { font-size: 1.6rem; }
.pw-field { position: relative; }
.pw-field .input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--muted); border-radius: 0.5rem; }
.pw-toggle:hover { color: #fff; background: var(--surface-3); }
.pw-toggle svg { width: 20px; height: 20px; }
.form-error { padding: 0.7rem 0.9rem; border: 1px solid rgba(255, 107, 134, 0.4); border-radius: 0.625rem; background: rgba(255, 107, 134, 0.08); color: var(--red); font-weight: 600; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.25rem 0 1.25rem; }
.dash-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.dash-head .who { color: var(--muted); }
.stats { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); margin-bottom: 1.25rem; }
.stat { padding: 1rem 1.1rem; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.15s, background 0.15s; }
.stat:hover { border-color: var(--line-2); }
.stat[aria-pressed='true'] { border-color: var(--red); background: rgba(255, 107, 134, 0.08); }
.stat b { display: block; font-size: 1.8rem; line-height: 1.1; color: #fff; font-weight: 900; }
.stat span { color: var(--muted); font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.toolbar .search { position: relative; flex: 1 1 16rem; }
.toolbar .search svg { position: absolute; left: 0.8rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.toolbar .search .input { padding-left: 2.4rem; }
.toolbar .select { width: auto; min-width: 10rem; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; min-width: 46rem; border-collapse: collapse; text-align: left; }
.tbl th { padding: 0.8rem 1rem; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tbl td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr { cursor: pointer; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .who-cell b { display: block; color: #fff; }
.tbl .who-cell span { color: var(--muted); font-size: 13px; }
.row-open { display: block; color: #fff; font-weight: 700; text-align: left; }
.row-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.15rem 0.65rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 800; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.is-pending { color: var(--gold); border-color: rgba(255, 195, 79, 0.4); }
.badge.is-reviewing { color: var(--blue); border-color: rgba(57, 148, 255, 0.4); }
.badge.is-accepted { color: var(--green); border-color: rgba(99, 245, 140, 0.4); }
.badge.is-rejected { color: var(--red); border-color: rgba(255, 107, 134, 0.4); }
.empty { padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.empty h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.detail { display: grid; gap: 1.25rem; padding: 1rem 1.5rem 1.5rem; }
.dl { display: grid; gap: 0.9rem; }
@media (min-width: 560px) { .dl.cols { grid-template-columns: 1fr 1fr; } }
.dl dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.dl dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.dl dd.long { white-space: pre-wrap; color: var(--text); padding: 0.7rem 0.9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0.625rem; }
.dl .full { grid-column: 1 / -1; }
.segmented { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.seg { min-height: 38px; padding: 0 0.9rem; border: 1px solid var(--line-2); border-radius: 0.5rem; font-weight: 700; color: var(--text); background: var(--bg); transition: background 0.15s, border-color 0.15s; }
.seg:hover { border-color: var(--muted); }
.seg[aria-checked='true'] { color: #fff; border-color: var(--red); background: rgba(255, 107, 134, 0.14); }

/* Admin tabs, role switch, question editor */
.tabs { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.tab { position: relative; min-height: 44px; padding: 0 1.1rem; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s, border-color 0.15s; }
.tab:hover { color: #fff; }
.tab[aria-selected='true'] { color: #fff; border-bottom-color: var(--red); }
.switch { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 36px; padding: 0 0.7rem 0 0.4rem; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); }
.switch-knob { position: relative; width: 30px; height: 18px; border-radius: 999px; background: var(--line-2); transition: background 0.15s; }
.switch-knob::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.switch[aria-checked='true'] { color: var(--green); border-color: rgba(99, 245, 140, 0.4); }
.switch[aria-checked='true'] .switch-knob { background: var(--green); }
.switch[aria-checked='true'] .switch-knob::after { transform: translateX(12px); background: #0f0f10; }
.switch[disabled] { opacity: 0.6; pointer-events: none; }
.role-meta { display: flex; align-items: center; gap: 0.6rem; }
.q-preview { display: grid; gap: 0.35rem; padding-left: 1.2rem; list-style: decimal; color: var(--text); flex: 1; }
.q-preview .opt { color: var(--muted); }
.tag.is-closed { color: var(--red); border-color: rgba(255, 107, 134, 0.4); }
.role-chip.is-closed { opacity: 0.5; cursor: not-allowed; }
.role-chip.is-closed input { cursor: not-allowed; }
.q-list { display: grid; gap: 0.9rem; }
.q-edit { display: grid; gap: 0.7rem; padding: 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.q-tools { display: flex; gap: 0.3rem; }

/* 404 */
.notfound { display: grid; place-items: center; text-align: center; padding: 6rem 1.25rem; }
.notfound h1 { font-size: clamp(3rem, 12vw, 6rem); font-weight: 900; }
.notfound p { margin: 0.5rem 0 1.5rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  ._glowingBackground_1drpv_1:after { display: none; }
  .hearts li { color: var(--red); }
  .hearts li:last-child { color: var(--line); }
}
/* Recruitment platform additions, using the supplied palette and components. */
html { scroll-behavior:smooth; }
.role-requirements { color:var(--muted); font-size:.9rem; margin:.5rem 0 1rem; flex:1; }
.application-form { display:grid; gap:1.2rem; padding:.5rem 0 1rem; }
.application-form h3 { margin:.5rem 0 0; }
.choice-group { display:grid; gap:.65rem; }
.pagination { display:flex; align-items:center; justify-content:flex-end; gap:1rem; padding:1rem 0; color:var(--muted); }
.dashboard-sidebar { display:flex; gap:.5rem; }
.q-edit[draggable=true] { cursor:grab; }
.q-edit input,.q-edit textarea,.q-edit select { cursor:auto; }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition-duration:.01ms!important; } }
@media(max-width:600px){.pagination { justify-content:space-between; gap:.5rem; font-size:.85rem; }.hero h1{overflow-wrap:anywhere;}}
.badge.is-new { background:rgba(255,184,98,.12); color:#ffc98f; }
.dashboard-layout { display:grid; grid-template-columns:190px minmax(0,1fr); gap:1.5rem; align-items:start; }
.dashboard-sidebar.tabs { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); padding:.5rem; margin:0; }
.dashboard-sidebar .tab { width:100%; text-align:left; border:0; border-radius:.4rem; }
.dashboard-sidebar .tab[aria-selected=true] { background:var(--surface-3); color:#fff; }
.dashboard-content { min-width:0; }
@media(max-width:800px){.dashboard-layout{grid-template-columns:1fr}.dashboard-sidebar.tabs{flex-direction:row}.dashboard-sidebar .tab{width:auto;flex:1}}
@media(max-width:550px){.sp-modal-body._modal_container_1hucm_37{padding:1rem 1.25rem 1.5rem!important;}}
@media(max-width:767px){.hero ._description_16hem_52{display:inline;font-size:12px;line-height:1.3}.hero ._cta_16hem_58{display:none}}
/* The supplied logo retains its transparency and aspect ratio. */
.sp-logo { display:inline-flex; align-items:center; flex-shrink:0; }
.sp-brand-image { display:block; width:176px; height:auto; max-width:100%; }
.footer-brand .sp-brand-image { width:190px; }
@media(max-width:550px){.sp-brand-image { width:140px; }}
.roles-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }
.roles-toolbar h2 { margin:0 0 .25rem; font-size:1.35rem; }
.card-actions { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:auto; }
@media(max-width:600px){.roles-toolbar{align-items:flex-start;flex-direction:column}}
.notice-text { white-space:pre-wrap; }
.role-availability { color:var(--muted); font-size:.9rem; margin:.2rem 0; }
.settings-stack { display:grid; gap:1rem; }
.settings-card { display:grid; gap:.9rem; padding:1.25rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.settings-card h2 { font-size:1.25rem; margin:0; }
.settings-card .btn { justify-self:start; }
.settings-card .form-actions .btn { justify-self:auto; }
.settings-notice { min-height:180px; }
/* Position availability is an explicit status, not a decorative progress bar. */
.availability-card { display:flex; align-items:center; gap:.75rem; width:100%; padding:.8rem .9rem; border:1px solid rgba(255,107,134,.3); border-radius:.65rem; background:rgba(255,107,134,.08); }
.availability-card.is-closed { border-color:var(--line-2); background:rgba(255,255,255,.035); }
.availability-dot { width:10px; height:10px; flex:none; border-radius:50%; background:#ff6b86; box-shadow:0 0 0 4px rgba(255,107,134,.12); }
.availability-card.is-closed .availability-dot { background:#aeb2c0; box-shadow:0 0 0 4px rgba(174,178,192,.12); }
.availability-copy { display:grid; gap:.2rem; flex:1; min-width:0; }
.availability-label { font-size:.7rem; font-weight:700; letter-spacing:.08em; color:#c3c5d0; }
.availability-value { font-size:1rem; line-height:1.3; color:#fff; }
.availability-status { font-size:.75rem; font-weight:700; color:#ff9aae; border:1px solid rgba(255,107,134,.35); border-radius:999px; padding:.2rem .55rem; }
.availability-card.is-closed .availability-status { color:#d4d5dc; border-color:var(--line-2); }
.role-card p.role-availability { flex:0; }
.availability-label { font-size:.875rem; letter-spacing:.04em; }
.availability-status { font-size:.875rem; }
#role-grid .role-card .btn, #apply-roles .role-card .btn { min-height:44px; }

/* Informational sections and application journey */
.section-kicker { display:block; margin-bottom:.65rem; color:#ff91a4; font-size:.75rem; font-weight:800; letter-spacing:.12em; }
.benefit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.info-card,.resource-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.info-card { padding:1.5rem; }
.info-number { color:#ff91a4; font-size:.75rem; letter-spacing:.08em; font-weight:800; }
.info-card h3 { margin:.8rem 0 .45rem; font-size:1.15rem; }
.info-card p,.guide-list span { color:var(--muted); line-height:1.6; }
.resource-layout { display:grid; grid-template-columns:minmax(0, .85fr) minmax(0,1.15fr); gap:3rem; align-items:start; }
.resource-card { padding:1.5rem; }
.guide-list { display:grid; gap:1.25rem; list-style:none; padding:0; margin:0; }
.guide-list li { display:grid; gap:.3rem; padding-left:1rem; border-left:2px solid #ff6b86; }
.guide-list strong { color:#fff; }
.guide-steps { counter-reset:guide; }
.guide-steps li { counter-increment:guide; }
.guide-steps li strong::before { content:counter(guide,decimal-leading-zero) ' / '; color:#ff91a4; font-size:.8rem; letter-spacing:.05em; }
.application-progress { padding:1rem; border:1px solid var(--line); border-radius:.65rem; background:var(--bg); }
.progress-head { display:flex; justify-content:space-between; gap:1rem; font-size:.9rem; }
.progress-count { color:#ffb4c1; font-size:.85rem; }
.progress-track { height:7px; background:var(--surface-3); border-radius:8px; overflow:hidden; margin:.7rem 0; }
.progress-fill { display:block; height:100%; width:0; background:#ff6b86; border-radius:8px; transition:width .25s ease; }
.application-progress .hint { margin:0; }
.review-body { display:grid; gap:1rem; }
.review-list { display:grid; gap:.6rem; margin:0; }
.review-item { padding:.85rem 1rem; border:1px solid var(--line); background:var(--bg); border-radius:.6rem; min-width:0; }
.review-item dt { color:var(--muted); font-size:.8rem; font-weight:700; margin-bottom:.3rem; }
.review-item dd { margin:0; color:#fff; white-space:pre-wrap; overflow-wrap:anywhere; }
.review-consent { color:var(--muted); font-size:.9rem; }
.success-panel { display:grid; justify-items:center; text-align:center; gap:.8rem; padding:1rem .5rem; }
.success-mark { display:grid; place-items:center; width:66px; height:66px; border-radius:50%; background:rgba(99,245,140,.12); color:#72e99a; border:1px solid rgba(99,245,140,.35); animation:success-pop .45s ease both; }
.success-mark svg { width:30px; height:30px; }
.success-panel h3 { font-size:1.3rem; }
.success-panel p { max-width:32rem; }
.success-reference { overflow-wrap:anywhere; }
.availability-urgent { color:#ffb1bf; font-size:.8rem; font-weight:700; }
.availability-deadline { color:#c3c5d0; font-size:.8rem; }
.queue-card { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.2rem; margin-bottom:1rem; border:1px solid rgba(255,107,134,.3); background:rgba(255,107,134,.06); border-radius:var(--radius); }
.queue-card .section-kicker { margin-bottom:.2rem; }
.queue-card strong { display:block; color:#fff; font-size:1rem; }
.queue-card p { color:var(--muted); margin:.25rem 0 0; font-size:.85rem; }
.queue-card.is-clear { border-color:var(--line); background:var(--surface); }
.quick-filters { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; margin:0 0 1rem; }
.quick-label { font-size:.85rem; color:var(--muted); font-weight:700; margin-right:.2rem; }
.filter-chip,.filter-clear { min-height:36px; padding:.3rem .75rem; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--text); font-size:.8rem; }
.filter-chip[aria-pressed=true] { border-color:#ff6b86; color:#fff; background:rgba(255,107,134,.12); }
.filter-clear { border-color:transparent; color:#ff9aae; text-decoration:underline; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .role-card { transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; } .role-card:hover { transform:translateY(-4px); border-color:rgba(255,107,134,.5); box-shadow:0 10px 30px rgba(255,107,134,.08); } }
@media (prefers-reduced-motion:no-preference) { .reveal-ready { opacity:0; transform:translateY(14px); transition:opacity .5s ease,transform .5s ease; } .reveal-ready.is-revealed { opacity:1; transform:none; } .sp-overlay { animation:overlay-in .2s ease both; } .sp-modal { animation:modal-in .24s ease both; } }
@keyframes overlay-in { from {opacity:0} to {opacity:1} }
@keyframes modal-in { from {opacity:0;transform:translateY(10px) scale(.99)} to {opacity:1;transform:none} }
@keyframes success-pop { from {opacity:0;transform:scale(.8)} to {opacity:1;transform:scale(1)} }
@media(max-width:700px){ .benefit-grid { grid-template-columns:1fr; } .resource-layout { grid-template-columns:1fr; gap:1.25rem; } .info-card,.resource-card { padding:1.25rem; } .queue-card { align-items:flex-start; flex-direction:column; } }
@media(prefers-reduced-motion:reduce){.reveal-ready{opacity:1;transform:none}.success-mark{animation:none}}
.sp-overlay.is-closing { pointer-events:none; }

.resource-links { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.2rem; }
.resource-links .resource-button { min-height:44px; text-decoration:none; }
.resource-button span { color:#ff9aae; font-size:1.05rem; transition:transform .18s ease; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .resource-button:hover span { transform:translateX(3px); } }
#why-join, #guidelines, #application-guide { scroll-margin-top:6rem; }
@media(max-width:520px) { .resource-links { display:grid; grid-template-columns:1fr; } .resource-links .resource-button { justify-content:space-between; width:100%; } }

.active-queue-filter { margin:0 0 .7rem; color:#ffb4c1; font-size:.85rem; font-weight:700; }
/* Candidate portal */
.account-page { min-height:60vh; padding-top:3rem; padding-bottom:5rem; }
.account-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:2rem; }
.account-heading h1,.account-empty h1 { font-size:clamp(2rem,4vw,2.8rem); }
.account-empty { display:grid; justify-items:start; gap:1rem; max-width:38rem; padding:2rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.account-empty p { color:var(--muted); }
.account-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.account-card { display:grid; align-content:start; gap:1rem; padding:1.5rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); min-width:0; }
.account-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.account-card-head h2 { font-size:1.25rem; }
.account-reference { color:var(--muted); font-size:.8rem; overflow-wrap:anywhere; }
.account-tags { display:flex; flex-wrap:wrap; gap:.4rem; }
.account-tag { border:1px solid rgba(255,107,134,.4); background:rgba(255,107,134,.08); color:#ffb6c2; border-radius:999px; padding:.3rem .65rem; font-size:.8rem; font-weight:700; }
.account-messages { display:grid; gap:.6rem; border-top:1px solid var(--line); padding-top:1rem; }
.account-messages h3 { font-size:1rem; }
.account-message { padding:.8rem; background:var(--bg); border:1px solid var(--line); border-radius:.5rem; }
.account-message time { font-size:.75rem; color:var(--muted); }
.account-message p { white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:700px){.account-list{grid-template-columns:1fr}.account-heading{align-items:flex-start;flex-direction:column}.account-empty{padding:1.25rem}}
/* Admin communication controls */
.label-manager,.label-choices,.activity-list { display:grid; gap:.65rem; }
.label-row { display:flex; justify-content:space-between; align-items:center; gap:.75rem; padding:.65rem; border:1px solid var(--line); border-radius:.6rem; }
.label-create { display:flex; gap:.65rem; }
.label-create .input { flex:1; min-width:0; }
.template-input { min-height:100px; }
.detail-section { display:grid; justify-items:start; gap:.7rem; border-top:1px solid var(--line); padding-top:1rem; min-width:0; }
.detail-section h3 { font-size:1.05rem; }
.detail-section .textarea,.detail-section .select { width:100%; }
.activity-list { width:100%; }
.activity-item { display:grid; justify-items:start; gap:.3rem; padding:.75rem; background:var(--bg); border:1px solid var(--line); border-radius:.5rem; overflow-wrap:anywhere; }
@media(min-width:1024px){.dashboard-content .toolbar { grid-template-columns:minmax(180px,1fr) repeat(4,minmax(110px,auto)); }}
@media(max-width:600px){.label-create{flex-direction:column}.label-row{align-items:flex-start;flex-direction:column}.dashboard-sidebar .tab{padding:.5rem;line-height:1.3;font-size:.8rem}}
/* Candidate activity and staff interview controls */
.badge.is-withdrawn{color:#c3c6d2;border-color:#5a6072;background:#23242c}
.unread-summary{display:inline-flex;margin-top:.75rem;color:#ff9bb0;font-weight:700}
.unread-panel{display:grid;gap:.7rem;padding:1rem;border:1px solid rgba(255,107,134,.42);background:rgba(255,107,134,.07);border-radius:var(--radius)}
.unread-panel strong{color:#ff9bb0}.unread-panel .btn{justify-self:start}.unread-item{display:grid;gap:.15rem;font-size:.9rem}.unread-item time{font-size:.75rem}.account-message p{white-space:pre-wrap}.sp-modal-body p{white-space:pre-line}
/* Discord account navigation */
.sp-header ._container_1lrs4_6 { gap: 1rem; }
.sp-account-slot { position:relative; flex:none; }
.sp-discord-login { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:0 1rem; border-radius:.625rem; background:var(--red); color:var(--red-ink); font-size:.875rem; font-weight:750; white-space:nowrap; transition:background .16s; }
.sp-discord-login:hover { background:#ff8aa0; }
.discord-login-mobile { display:none; }
.sp-profile-trigger { display:flex; align-items:center; gap:.6rem; min-height:44px; max-width:215px; padding:.22rem .65rem .22rem .25rem; border:1px solid var(--line-2); border-radius:.7rem; background:var(--surface-2); color:#fff; cursor:pointer; }
.sp-profile-trigger:hover,.sp-profile-trigger[aria-expanded='true'] { border-color:rgba(255,107,134,.55); background:var(--surface-3); }
.sp-avatar { flex:none; width:36px; height:36px; display:grid; place-items:center; position:relative; overflow:hidden; border-radius:50%; background:#633441; color:#fff; font-weight:800; }
.sp-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.sp-profile-name { max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.875rem; font-weight:700; }
.sp-profile-chevron { width:7px; height:7px; margin:0 .15rem .2rem 0; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg); }
.sp-profile-menu { position:absolute; z-index:100; top:calc(100% + .6rem); right:0; width:230px; display:grid; padding:.5rem; border:1px solid var(--line-2); border-radius:.75rem; background:var(--surface); box-shadow:0 12px 32px rgba(0,0,0,.35); }
.sp-profile-caption { padding:.5rem .65rem .1rem; color:var(--muted); font-size:.65rem; font-weight:800; letter-spacing:.08em; }
.sp-profile-menu-name { padding:0 .65rem .7rem; color:#fff; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sp-profile-menu a,.sp-profile-signout { min-height:44px; display:flex; align-items:center; padding:0 .65rem; border-radius:.45rem; color:var(--text); font-size:.875rem; font-weight:650; text-align:left; }
.sp-profile-menu a:hover,.sp-profile-signout:hover { background:var(--surface-3); color:#fff; }
.sp-profile-signout { color:var(--red); cursor:pointer; }
@media(max-width:550px) { .sp-header ._container_1lrs4_6 { gap:.5rem; } .sp-actions { gap:.4rem; } .sp-discord-login { padding:0 .8rem; } .discord-login-desktop { display:none; } .discord-login-mobile { display:inline; } .sp-profile-trigger { padding:.22rem; } .sp-profile-name,.sp-profile-chevron { display:none; } }
@media(max-width:350px) { .sp-header .sp-brand-image { width:100px; } .sp-discord-login { padding:0 .5rem; font-size:.8rem; } }
/* Discord embeds */
.embed-config-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.15rem 1rem; }
.embed-color-row { display:flex; align-items:center; gap:.75rem; }
.embed-color { flex:none; width:50px; height:48px; border:1px solid var(--line-2); border-radius:.55rem; background:var(--bg); padding:3px; cursor:pointer; }
.embed-color-row .input { max-width:11rem; }
.embed-checks { display:grid; gap:.75rem; margin:1rem 0; }
.embed-preview-wrap { display:grid; gap:1rem; }
.embed-card { display:flex; align-items:flex-start; gap:1rem; min-width:0; padding:1rem; border:1px solid #303139; border-left:4px solid var(--embed-color); border-radius:.35rem; background:#202126; color:#e7e8ea; }
.embed-main { display:grid; gap:.6rem; min-width:0; flex:1; }
.embed-author { display:flex; align-items:center; gap:.5rem; font-size:.8rem; font-weight:700; color:#fff; overflow-wrap:anywhere; }
.embed-title { font-size:1rem; font-weight:750; line-height:1.35; color:#fff; overflow-wrap:anywhere; }
.embed-description { font-size:.9rem; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.embed-footer { display:flex; align-items:center; gap:.5rem; color:#b4b6be; font-size:.75rem; overflow-wrap:anywhere; }
.embed-icon { flex:none; width:24px; height:24px; object-fit:contain; border-radius:50%; background:#2d2b31; }
.embed-thumb { flex:none; width:80px; height:80px; object-fit:contain; border-radius:.35rem; background:#191a1e; }
.embed-thumb-external { display:grid; place-items:center; padding:.4rem; color:#b4b6be; font-size:.7rem; line-height:1.3; text-align:center; }
@media(max-width:550px){.embed-config-grid{grid-template-columns:1fr}.embed-thumb{width:56px;height:56px}.embed-card{padding:.8rem;gap:.65rem}}
