/* egirl.college — y2k baddie college aesthetic. Dark by design. */

@property --ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  color-scheme: dark;
  --bg: #07040c;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --text: #fbf2ff;
  --muted: #bca9d0;
  --dim: #8d7aa3;
  --ink: #14061f;
  --pink: #ff3ea5;
  --pink-2: #ff8fd0;
  --hot: #ff1f6d;
  --lilac: #b98cff;
  --violet: #7b2ff7;
  --cyan: #4ff3ff;
  --mint: #5fffb0;
  --gold: #ffd166;
  --silver: #dfe3f0;
  --bronze: #f0a875;
  --blue: #4fb4ff;
  --bad: #ff5c7a;
  --accent: var(--pink);
  --accent-2: var(--pink-2);
  --grad: linear-gradient(120deg, var(--pink) 0%, var(--lilac) 50%, var(--cyan) 100%);
  /* seamless when its background-position is animated (first colour = last colour, horizontal) */
  --grad-loop: linear-gradient(90deg, var(--pink), var(--lilac) 25%, var(--cyan) 50%, var(--lilac) 75%, var(--pink));
  --holo: linear-gradient(115deg, #ff9ad5 0%, #c6a6ff 20%, #8ef6ff 40%, #b4ffd8 60%, #ffe29a 80%, #ff9ad5 100%);
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --nav-h: 64px;
  --font-lang: system-ui;
  --font-display: 'Unbounded', var(--font-lang), system-ui, sans-serif;
  --font-body: 'Space Grotesk', var(--font-lang), system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --font-varsity: 'Graduate', 'Unbounded', serif;
  --font-script: 'Yellowtail', cursive;
}

.accent-pink { --accent: #ff3ea5; --accent-2: #ff8fd0; }
.accent-lilac { --accent: #b98cff; --accent-2: #e0c9ff; }
.accent-cyan { --accent: #3ee8ff; --accent-2: #a8f7ff; }
.accent-red { --accent: #ff3b5c; --accent-2: #ff9aa9; }
.accent-gold { --accent: #ffc94d; --accent-2: #ffe7a3; }
.accent-mint { --accent: #4dffa6; --accent-2: #b9ffd9; }

/* ---- base ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: rgba(255, 62, 165, 0.45) transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.gated { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; overflow-wrap: anywhere; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
.narrow-wrap { max-width: 820px; }
main { display: block; min-height: 60vh; padding-bottom: 40px; outline: none; }

.stack { display: grid; gap: 12px; }
.stack-sm { display: grid; gap: 4px; }
.stack-lg { display: grid; gap: 24px; }
/* one column that long content can never push wider than the screen */
:is(.stack, .stack-sm, .stack-lg) { grid-template-columns: minmax(0, 1fr); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row-between { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.row-center { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.center.stack, .center.stack-lg { justify-items: center; }
.muted { color: var(--muted); }
.hint { font-size: 13px; color: var(--dim); }
.hint.ok, .ok-text { color: var(--mint); font-weight: 700; }
.hint.bad { color: var(--bad); font-weight: 700; }
.varsity { font-family: var(--font-varsity); letter-spacing: 0.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 14px; background: #fff; color: #000; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.noscript { padding: 40px; text-align: center; }
.big-emoji { font-size: 54px; line-height: 1; display: inline-block; animation: floaty 3s ease-in-out infinite; }
.empty { color: var(--muted); }

.i { width: 1.15em; height: 1.15em; flex: none; }
[dir='rtl'] .i-arrow { transform: scaleX(-1); }
.tick { display: inline-block; width: 0.95em; height: 0.95em; flex: none; filter: drop-shadow(0 0 6px rgba(79, 180, 255, 0.55)); }
.nm { display: inline-flex; align-items: center; gap: 0.3em; min-width: 0; max-width: 100%; }
.nm bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* non-Latin scripts: no tracking (it breaks Arabic joining and looks off in CJK) */
html:is([lang='ar'], [lang='hi'], [lang='ja'], [lang='ko']) :is(.kicker, .tape-item, .label, .idcard-school, .idcard-fields dt, .hallpass-top) { letter-spacing: 0; }

/* ---- animated background ------------------------------------------------------------------------ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 85% -10%, #2b0f3f 0%, transparent 60%),
    radial-gradient(900px 700px at -10% 35%, #1d0b30 0%, transparent 60%),
    var(--bg);
}
.blob { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: 0.42; will-change: transform; }
.b1 { background: radial-gradient(circle at 30% 30%, var(--pink), transparent 65%); top: -20vmax; left: -12vmax; animation: drift1 24s ease-in-out infinite alternate; }
.b2 { background: radial-gradient(circle at 60% 40%, var(--violet), transparent 65%); top: 18vh; right: -20vmax; animation: drift2 30s ease-in-out infinite alternate; }
.b3 { background: radial-gradient(circle, #1fb6ff, transparent 65%); bottom: -26vmax; left: 18vw; opacity: 0.22; animation: drift3 36s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, 20vh) scale(0.88); } }
@keyframes drift3 { to { transform: translate(-12vw, -16vh) scale(1.2); } }
.bg-grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -8%;
  height: 52vh;
  background-image:
    linear-gradient(rgba(255, 62, 165, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 62, 165, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(64deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 80%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 80%);
  animation: gridmove 3.5s linear infinite;
}
@keyframes gridmove { to { background-position: 0 64px; } }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; }
#trail { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; }

/* ---- buttons, chips, inputs -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1.4), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.32); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn .i { width: 18px; height: 18px; }
.btn-primary {
  border: 0;
  color: var(--ink);
  background: var(--grad-loop);
  background-size: 200% 100%;
  animation: shine 6s linear infinite;
  box-shadow: 0 10px 30px -12px rgba(255, 62, 165, 0.8);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 62, 165, 0.95), 0 0 0 4px rgba(255, 62, 165, 0.16); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--panel-2); border-color: transparent; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16.5px; }
.btn-icon { width: 42px; height: 42px; padding: 0; }
.btn-icon.btn-sm { width: 34px; height: 34px; }
.btn-danger { background: rgba(255, 92, 122, 0.12); border-color: rgba(255, 92, 122, 0.5); color: #ffb3c1; }
.btn-danger:hover { background: rgba(255, 92, 122, 0.24); border-color: var(--bad); }
.btn-like.on { background: rgba(255, 62, 165, 0.18); border-color: var(--pink); color: #ffd1ea; }
.btn-like.on .i { color: var(--pink); animation: heartPop 0.5s cubic-bezier(0.3, 1.8, 0.5, 1); }
.btn-follow.on { background: rgba(79, 243, 255, 0.1); border-color: rgba(79, 243, 255, 0.6); color: #c9fbff; }
.linklike { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px; color: var(--dim); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: var(--text); }
.linklike .i { width: 15px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-2);
  background: rgba(255, 62, 165, 0.1);
  border: 1px solid rgba(255, 62, 165, 0.32);
}
.kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: pulse 1.6s infinite; flex: none; }
.center .kicker, .sec-head.center .kicker { justify-self: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.chip.on { background: var(--text); color: var(--ink); border-color: transparent; }
.chip .i { width: 16px; }
.pill { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.pill.ok { background: rgba(95, 255, 176, 0.14); color: var(--mint); }

.field { display: grid; gap: 6px; min-width: 0; }
.label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.label.sub { font-size: 12px; color: var(--dim); }
.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: var(--dim); }
.input:focus { border-color: var(--pink); background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 4px rgba(255, 62, 165, 0.15); }
textarea.input { resize: vertical; min-height: 88px; }
input[type='date'].input { color-scheme: dark; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bca9d0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 12px center;
  padding-inline-end: 40px;
}
[dir='rtl'] .select { background-position: left 12px center; }
option { background: #160d21; color: #fff; }
.input-prefix { position: relative; display: flex; align-items: center; direction: ltr; }
.input-prefix > span { position: absolute; left: 14px; color: var(--dim); font-weight: 700; pointer-events: none; }
.input-prefix .input { padding-left: 32px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.check input { accent-color: var(--pink); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.check a { color: var(--pink-2); text-decoration: underline; }
.radios { display: grid; gap: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(79, 243, 255, 0.07); border: 1px solid rgba(79, 243, 255, 0.25); font-size: 14px; color: var(--muted); }
.note .i { width: 18px; flex: none; color: var(--cyan); margin-top: 2px; }
.note.bad { background: rgba(255, 92, 122, 0.08); border-color: rgba(255, 92, 122, 0.35); color: #ffc2cd; }

.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.13); position: relative; transition: 0.25s; flex: none; }
.switch-ui::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: 0.3s cubic-bezier(0.3, 1.5, 0.5, 1); }
.switch input:checked + .switch-ui { background: var(--pink); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
[dir='rtl'] .switch input:checked + .switch-ui::after { transform: translateX(-18px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--cyan); outline-offset: 2px; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.seg-b { border: 0; background: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: 0.2s; }
.seg-b.on { background: var(--pink); color: var(--ink); }

.spinner { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.14); border-top-color: var(--pink); animation: spin 0.8s linear infinite; }
.spinner.sm { width: 14px; height: 14px; border-width: 2px; }
.loader { display: grid; place-items: center; padding: 60px; }

/* ---- nav -------------------------------------------------------------------------------------------- */
.nav {
  position: relative;
  background: linear-gradient(to bottom, rgba(7, 4, 12, 0.88), rgba(7, 4, 12, 0.6));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
#nav { position: sticky; top: 0; z-index: 50; }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 8px; direction: ltr; flex: none; }
.logo .crest { width: 28px; height: 32px; filter: drop-shadow(0 0 10px rgba(255, 62, 165, 0.5)); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.logo:hover .crest { transform: rotate(-10deg) scale(1.1); }
.logo-text { font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: -0.03em; white-space: nowrap; }
.logo-text b { background: linear-gradient(90deg, #fff, var(--pink-2), #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
.logo-text i { font-family: var(--font-script); font-style: normal; font-weight: 400; font-size: 1.12em; letter-spacing: 0; color: var(--pink-2); margin-left: 1px; text-shadow: 0 0 16px rgba(255, 62, 165, 0.7); }
.nav-links { display: flex; gap: 2px; margin-inline-start: 10px; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; transition: 0.2s; }
.nav-link .i { width: 17px; }
.nav-link:hover, .nav-link.on { color: var(--text); background: var(--panel-2); }
.nav-link.on .i { color: var(--pink); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
.menu-btn .i-shut, .menu-btn[aria-expanded='true'] .i-open { display: none; }
.menu-btn[aria-expanded='true'] .i-shut { display: block; }
.mobile-menu { border-top: 1px solid var(--line); padding-block: 14px 18px; background: rgba(7, 4, 12, 0.96); }
.mobile-menu .nav-link { padding: 12px 14px; font-size: 17px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.progress::before { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: var(--grad); animation: progress 1s ease-in-out infinite; }
body.loading .progress { opacity: 1; }
@media (max-width: 820px) {
  .nav :is(.nav-links, .lang-nav, .nav-enroll) { display: none; }
  .menu-btn { display: inline-flex; }
}

.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); cursor: pointer; width: fit-content; }
.lang .i { width: 16px; height: 16px; }
.lang:focus-within { border-color: var(--pink); }
.lang-select { appearance: none; background: none; border: 0; outline: none; color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; max-width: 150px; }

.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; position: relative; display: block; border-radius: 50%; }
.dd > summary::-webkit-details-marker { display: none; }
.dd-btn .av { border: 2px solid rgba(255, 255, 255, 0.25); transition: border-color 0.2s, transform 0.2s; }
.dd[open] .dd-btn .av, .dd-btn:hover .av { border-color: var(--pink); transform: scale(1.05); }
.dd-panel { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 256px; padding: 8px; border-radius: 18px; background: #170e22; border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 2px; z-index: 60; animation: dropDown 0.25s cubic-bezier(0.2, 1.2, 0.4, 1); }
.dd-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.dd-head div { display: grid; min-width: 0; }
.dd-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-head span { font-size: 13px; color: var(--muted); }
.dd-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 0; background: none; color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; text-align: start; }
.dd-item:hover { background: var(--panel-2); }
.dd-item .i { width: 18px; color: var(--muted); }
.badge-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--hot); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); animation: pulseBadge 2s infinite; }
.badge-count.inline { position: static; margin-inline-start: auto; box-shadow: none; }

/* ---- footer ----------------------------------------------------------------------------------------- */
.footer { margin-top: 70px; border-top: 1px solid var(--line); padding-block: 40px 30px; background: linear-gradient(to bottom, transparent, rgba(255, 62, 165, 0.05)); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: grid; gap: 10px; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-fine { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--line); color: var(--dim); font-size: 13px; }
.age-badge { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--font-display); font-weight: 900; font-size: 13px; color: #fff; background: var(--hot); box-shadow: 0 0 20px rgba(255, 31, 109, 0.6); }
.footer-copy { margin-top: 14px; color: var(--dim); font-size: 13px; }

/* ---- shared layout pieces ------------------------------------------------------------------------- */
.section { padding-top: clamp(56px, 9vw, 100px); }
.section-top { padding-top: clamp(28px, 5vw, 56px); }
.section-sm { padding-top: 24px; }
.sec-head { display: grid; gap: 12px; margin-bottom: 30px; }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.row-between { display: flex; align-items: flex-end; }
.sec-title { font-size: clamp(30px, 5vw, 54px); font-weight: 900; }
.sec-title em { font-style: normal; }
.sec-sub { color: var(--muted); max-width: 62ch; font-size: 17px; }
.center .sec-sub { margin-inline: auto; }
.panel { padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); }
.panel.narrow { max-width: 540px; margin-inline: auto; width: 100%; }
.panel.danger { border-color: rgba(255, 92, 122, 0.3); }
.panel-title { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.panel-title .i { width: 20px; color: var(--pink-2); }
.lock, .empty-box { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 44px 20px; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--muted); }
.lock { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px); }
.lock > .i { width: 34px; height: 34px; color: var(--pink-2); }
.lock.small { padding: 22px; }
.empty-box.wide { grid-column: 1 / -1; }
#view.enter > * { animation: pageIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.dorm-main.enter > * { animation: pageIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
[data-reveal] { opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
.boot { min-height: 70vh; display: grid; place-items: center; }
.boot-logo { font-family: var(--font-display); font-weight: 900; font-size: 34px; animation: pulse 1.2s ease-in-out infinite; }
.boot-logo i { font-family: var(--font-script); font-style: normal; font-weight: 400; color: var(--pink-2); }

/* ---- avatars ------------------------------------------------------------------------------------------ */
.av { --s: 48px; width: var(--s); height: var(--s); border-radius: 50%; object-fit: cover; flex: none; background: var(--panel-2); }
.av-gen {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: calc(var(--s) * 0.42);
  color: #fff;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.5), transparent 42%),
    linear-gradient(135deg, var(--g1), var(--g2));
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1;
}
.av-empty { display: grid; place-items: center; color: var(--dim); border: 2px dashed var(--line-2); background: transparent; font-weight: 900; font-size: 26px; }
.ring { display: inline-block; padding: 3px; border-radius: 50%; background: conic-gradient(from var(--ang), var(--accent), var(--cyan), var(--lilac), var(--accent)); animation: spinAng 3s linear infinite; }
.ring > .av { border: 3px solid var(--bg); }
.ring-sm { padding: 2px; }
.ring-sm > .av { border-width: 2px; }

/* ---- student ID card ------------------------------------------------------------------------------- */
.tilt { display: block; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transform-style: preserve-3d; will-change: transform; }
.tilt.tilting { transition: transform 0.08s linear; }
.idcard {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 1.586;
  border-radius: 22px;
  /* % padding = % of the card's width. (cq units on the card itself would resolve against the viewport.) */
  padding: 4.4% 5%;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #fff;
  text-align: start;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 48%, transparent) 0%, transparent 55%),
    radial-gradient(110% 120% at 100% 100%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #26143a, #0f0818 72%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 30px 60px -22px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 70px -14px color-mix(in srgb, var(--accent) 65%, transparent);
}
.idcard-holo {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--holo);
  background-size: 300% 300%;
  background-position: var(--mx, 50%) var(--my, 50%);
  mix-blend-mode: color-dodge;
  opacity: 0.16;
  animation: holo 9s ease-in-out infinite alternate;
}
.tilting .idcard-holo { animation: none; opacity: 0.32; }
.idcard-glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, 0.28), transparent 45%); mix-blend-mode: overlay; }
.idcard-head { display: flex; align-items: center; gap: 2.6cqw; }
.idcard-head .crest { width: 8.8cqw; height: auto; filter: drop-shadow(0 0 1.5cqw rgba(255, 62, 165, 0.6)); }
.idcard-school { display: grid; line-height: 1.15; }
.idcard-school b { font-family: var(--font-display); font-weight: 900; font-size: 4.6cqw; letter-spacing: 0.08em; }
.idcard-school span { font-size: 2.8cqw; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-2); }
.idcard-chip { margin-inline-start: auto; width: 10.5cqw; height: 7.8cqw; border-radius: 1.6cqw; background: linear-gradient(135deg, #ffe7a3, #d9a441 45%, #fff1c2 55%, #b8862c); box-shadow: inset 0 0 0 0.4cqw rgba(0, 0, 0, 0.15); position: relative; }
.idcard-chip::before { content: ''; position: absolute; inset: 22% 30%; border: 0.35cqw solid rgba(0, 0, 0, 0.25); border-radius: 1cqw; }
.idcard-main { display: flex; align-items: center; gap: 4.5cqw; min-height: 0; }
.idcard-photo { flex: none; padding: 0.9cqw; border-radius: 3.4cqw; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.4); }
.idcard-photo .av { width: 27cqw; height: 27cqw; font-size: 12cqw; border-radius: 2.6cqw; }
.idcard-info { display: grid; gap: 0.6cqw; min-width: 0; flex: 1; }
.idcard-name { font-family: var(--font-display); font-weight: 900; font-size: 6.4cqw; line-height: 1.1; min-width: 0; }
.idcard-handle { font-size: 3.6cqw; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.idcard-fields { display: grid; grid-template-columns: auto auto; gap: 1.4cqw 5cqw; margin: 2cqw 0 0; width: fit-content; max-width: 100%; }
.idcard-fields .wide { grid-column: 1 / -1; }
.idcard-fields dt { font-size: 2.4cqw; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.idcard-fields dd { margin: 0; font-size: 3.8cqw; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52cqw; }
.idcard-fields dd.varsity { font-size: 6.4cqw; line-height: 1; color: var(--accent-2); text-shadow: 0 0 2cqw color-mix(in srgb, var(--accent) 70%, transparent); direction: ltr; unicode-bidi: isolate; }
.idcard-foot { display: flex; align-items: center; gap: 3cqw; }
.barcode { height: 7cqw; width: 44cqw; fill: rgba(255, 255, 255, 0.85); }
.idcard-num { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 2.8cqw; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.6); direction: ltr; }
.idcard-stamp {
  position: absolute;
  z-index: 2;
  bottom: 6cqw;
  inset-inline-end: 5cqw;
  padding: 0.6cqw 2cqw;
  border: 0.5cqw solid rgba(79, 180, 255, 0.85);
  border-radius: 1.4cqw;
  color: #9fd5ff;
  font-family: var(--font-varsity);
  font-size: 3.4cqw;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-12deg);
  text-shadow: 0 0 2cqw rgba(79, 180, 255, 0.8);
  box-shadow: 0 0 2cqw rgba(79, 180, 255, 0.35), inset 0 0 2cqw rgba(79, 180, 255, 0.25);
  animation: stamp 0.6s 0.4s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}

/* ---- student cards (yearbook) ------------------------------------------------------------------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; transition: opacity 0.2s; }
.grid-cards.dim { opacity: 0.45; }
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; }
.card-row > * { scroll-snap-align: start; }
@media (min-width: 1000px) { .card-row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }
.scard {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: 26px 14px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  min-width: 0;
}
.scard::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang), var(--accent), transparent 30%, var(--accent-2) 50%, transparent 70%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  animation: spinAng 4s linear infinite;
  pointer-events: none;
}
.scard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--accent) 80%, transparent); }
.scard:hover::before { opacity: 1; }
.scard-roll { position: absolute; top: 10px; inset-inline-start: 12px; font-size: 11px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; }
.scard-roll b { font-size: 14px; color: var(--accent-2); }
.scard-rank { position: absolute; top: 8px; inset-inline-end: 10px; padding: 3px 9px; border-radius: 999px; font-family: var(--font-display); font-size: 12px; font-weight: 900; background: var(--panel-2); color: var(--muted); }
.scard-rank.r1 { background: var(--gold); color: #2a1a00; box-shadow: 0 0 16px rgba(255, 209, 102, 0.6); }
.scard-rank.r2 { background: var(--silver); color: #1c1f29; }
.scard-rank.r3 { background: var(--bronze); color: #2b1405; }
.scard-av { margin-block: 6px 8px; transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.scard:hover .scard-av { transform: scale(1.06) rotate(-3deg); }
.scard-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; max-width: 100%; }
.scard-handle { color: var(--muted); font-size: 13px; }
.scard-major { color: var(--accent-2); font-size: 12.5px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scard-stats { display: flex; gap: 14px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); width: 100%; justify-content: center; font-weight: 700; font-size: 14px; }
.scard-stats span { display: inline-flex; align-items: center; gap: 5px; }
.scard-stats .i { width: 15px; }
.scard-stats span:first-child .i { color: var(--pink); }
.scard-stats span:last-child .i { color: var(--gold); }

/* ---- leaderboard -------------------------------------------------------------------------------------- */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; max-width: 640px; width: 100%; margin-inline: auto; padding-top: 40px; }
.pod { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.pod-av { position: relative; animation: dropIn 0.9s cubic-bezier(0.2, 1.5, 0.4, 1) both; animation-delay: calc(var(--i) * 0.18s + 0.55s); }
.pod-name { font-weight: 700; max-width: 100%; font-size: 15px; animation: fadeUp 0.6s both; animation-delay: calc(var(--i) * 0.18s + 0.9s); }
.pod-score { font-size: 13px; font-weight: 700; color: var(--accent-2); animation: fadeUp 0.6s both; animation-delay: calc(var(--i) * 0.18s + 1s); }
.pod-pillar {
  width: 100%;
  display: grid;
  place-items: start center;
  padding-top: 12px;
  border-radius: 20px 20px 6px 6px;
  font-family: var(--font-varsity);
  font-size: clamp(32px, 6vw, 48px);
  transform-origin: bottom;
  animation: rise 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
  animation-delay: calc(var(--i) * 0.18s);
  position: relative;
  overflow: hidden;
}
.pod-pillar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%); background-size: 250% 100%; animation: shine 3.5s linear infinite; }
.pod-1 .pod-pillar { height: 180px; background: linear-gradient(180deg, rgba(255, 209, 102, 0.42), rgba(255, 209, 102, 0.04)); border: 1px solid rgba(255, 209, 102, 0.55); color: var(--gold); text-shadow: 0 0 24px rgba(255, 209, 102, 0.8); }
.pod-2 .pod-pillar { height: 132px; background: linear-gradient(180deg, rgba(223, 227, 240, 0.32), rgba(223, 227, 240, 0.03)); border: 1px solid rgba(223, 227, 240, 0.45); color: var(--silver); }
.pod-3 .pod-pillar { height: 100px; background: linear-gradient(180deg, rgba(240, 168, 117, 0.34), rgba(240, 168, 117, 0.03)); border: 1px solid rgba(240, 168, 117, 0.45); color: var(--bronze); }
.pod-empty { opacity: 0.45; }
.crown { position: absolute; top: -38px; left: 50%; width: 44px; margin-left: -22px; color: var(--gold); filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.85)); animation: crownBob 2.4s ease-in-out infinite; z-index: 2; }
.crown .i { width: 44px; height: 44px; }
.podium:not(.in) *, .podium:not(.in) { animation-play-state: paused; }
.ranks { display: grid; gap: 8px; width: 100%; }
.rank-row { display: grid; grid-template-columns: 34px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: transform 0.25s, border-color 0.25s, background 0.25s; }
.rank-row:hover { transform: translateX(6px); border-color: var(--accent); background: var(--panel-2); }
[dir='rtl'] .rank-row:hover { transform: translateX(-6px); }
.rank-n { font-size: 20px; color: var(--dim); text-align: center; }
.rank-who { display: grid; min-width: 0; }
.rank-name { font-weight: 700; min-width: 0; }
.rank-sub { font-size: 13px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-score { font-weight: 700; color: var(--accent-2); white-space: nowrap; font-size: 14px; }
.board { display: grid; gap: 26px; max-width: 760px; margin-inline: auto; }

/* ---- RollBot ------------------------------------------------------------------------------------------- */
.robot { position: relative; width: var(--size, 200px); max-width: 100%; margin-inline: auto; padding-top: 74px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.robot-svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 40px rgba(255, 62, 165, 0.28)); }
.robot.spin .robot-svg { animation: robotSpin 0.9s cubic-bezier(0.3, 1.4, 0.5, 1); }
.robot-bubble {
  position: absolute;
  bottom: calc(100% - 66px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(270px, 84vw);
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #fff;
  color: #1a0826;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 12px 30px -8px rgba(255, 62, 165, 0.65);
  z-index: 2;
  display: grid;
  place-items: center;
}
.robot-bubble::after { content: ''; position: absolute; bottom: -8px; left: 50%; margin-left: -9px; border: 9px solid transparent; border-top-color: #fff; border-bottom: 0; }
.robot.talking .rb-text::after { content: '▌'; color: var(--pink); margin-inline-start: 2px; animation: caret 0.6s steps(1) infinite; }
.rb-bot { animation: botFloat 3.4s ease-in-out infinite; }
.rb-shadow { transform-box: fill-box; transform-origin: center; animation: shadowPulse 3.4s ease-in-out infinite; }
.rb-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
.rb-love { opacity: 0; transition: opacity 0.2s; transform-box: fill-box; transform-origin: center; }
.robot.love .rb-eyes { opacity: 0; }
.robot.love .rb-love { opacity: 1; animation: heartbeat 0.9s ease-in-out infinite; }
.rb-heart { transform-box: fill-box; transform-origin: center; animation: heartbeat 1.1s ease-in-out infinite; }
.rb-ear { animation: pulse 1.6s ease-in-out infinite; }
.rb-mouth { transform-box: fill-box; transform-origin: center; }
.robot.talking .rb-mouth { animation: talk 0.16s ease-in-out infinite alternate; }
.rb-wave { opacity: 0; }
.robot.talking .rb-wave { animation: waves 0.7s ease-out infinite; }
.robot.talking .w2 { animation-delay: 0.2s; }
.rb-jet { transform-box: fill-box; transform-origin: 50% 0; animation: jet 0.14s ease-in-out infinite alternate; }
.rb-arm-r { transform-box: view-box; transform-origin: 144px 180px; animation: wave 1.5s ease-in-out infinite; }
.rb-arm-l { transform-box: view-box; transform-origin: 76px 180px; animation: armL 3s ease-in-out infinite; }
.rb-tassel { transform-box: view-box; transform-origin: 110px 44px; animation: tassel 2.2s ease-in-out infinite; }
.rb-cap { transform-box: view-box; transform-origin: 110px 60px; animation: capTilt 6s ease-in-out infinite; }

/* ---- home --------------------------------------------------------------------------------------------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 36px; align-items: center; padding-block: clamp(30px, 6vw, 70px) 20px; min-height: min(780px, calc(100vh - var(--nav-h))); }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.hero-title { font-size: clamp(72px, 13vw, 168px); font-weight: 900; line-height: 0.86; letter-spacing: -0.055em; direction: ltr; display: grid; justify-items: start; margin-block: 6px 0; }
.glitch {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #ffd1ec 28%, var(--pink) 50%, #e6d6ff 72%, #fff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 7s linear infinite;
  filter: drop-shadow(0 0 34px rgba(255, 62, 165, 0.45));
}
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; -webkit-text-fill-color: currentColor; background: none; pointer-events: none; }
.glitch::before { color: rgba(79, 243, 255, 0.85); animation: glitch1 3.4s infinite steps(1); }
.glitch::after { color: rgba(255, 31, 109, 0.85); animation: glitch2 3.4s infinite steps(1); }
.hero-college { font-family: var(--font-script); font-weight: 400; font-size: 0.5em; letter-spacing: 0; color: var(--pink-2); transform: rotate(-6deg); margin: -0.1em 0 0 0.9em; animation: neon 4.5s infinite; }
.hero-sub { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.3vw, 26px); line-height: 1.25; max-width: 24ch; }
.hero-sub2 { color: var(--muted); font-size: 17px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.rollbar { display: flex; align-items: center; width: 100%; max-width: 460px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); direction: ltr; transition: 0.2s; }
.rollbar:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 62, 165, 0.15); }
.rollbar-host { padding-inline: 14px 2px; font-weight: 700; color: var(--muted); white-space: nowrap; font-size: 15px; }
.rollbar input { flex: 1; width: 4ch; min-width: 0; background: none; border: 0; outline: 0; padding: 8px 4px; font-family: var(--font-varsity); font-size: 20px; color: var(--text); }
.rollbar input::placeholder { color: var(--dim); font-family: var(--font-body); font-size: 15px; }
.hero-visual { position: relative; min-height: 470px; }
.card-stack { position: absolute; inset: 0; }
.stack-card { position: absolute; left: 50%; top: 50%; width: min(400px, 86%); display: block; }
.stack-card.sc0 { z-index: 3; translate: -50% -50%; rotate: -4deg; animation: floatA 7s ease-in-out infinite; }
.stack-card.sc1 { z-index: 2; translate: -36% -84%; rotate: 8deg; scale: 0.86; opacity: 0.88; animation: floatB 8s ease-in-out infinite; }
.stack-card.sc2 { z-index: 1; translate: -66% -18%; rotate: -13deg; scale: 0.8; opacity: 0.72; animation: floatB 9s ease-in-out infinite reverse; }
.card-stack.n1 .stack-card.sc0 { rotate: -6deg; }
.sticker { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 6px; pointer-events: none; font-weight: 800; }
.st1 { top: 2%; inset-inline-end: 8%; padding: 10px 14px; border-radius: 50%; aspect-ratio: 1; background: var(--hot); color: #fff; font-family: var(--font-display); font-size: 16px; rotate: 12deg; box-shadow: 0 0 30px rgba(255, 31, 109, 0.7); animation: floaty 4s ease-in-out infinite; }
.st2 { bottom: 6%; inset-inline-start: 2%; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; rotate: -8deg; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); animation: floaty 5s ease-in-out infinite 0.6s; }
.st2 .tick { width: 18px; height: 18px; }
.st3 { top: 16%; inset-inline-start: 2%; font-size: 40px; animation: floaty 3.6s ease-in-out infinite 1s; }
.st4 { bottom: 2%; inset-inline-end: 14%; font-size: 42px; animation: wiggle 2.4s ease-in-out infinite; }
.st5 { top: 50%; inset-inline-end: -1%; font-size: 34px; color: var(--cyan); text-shadow: 0 0 20px var(--cyan); animation: spin 7s linear infinite; }

.tapes { position: relative; height: 150px; overflow: hidden; direction: ltr; margin-top: 10px; }
.tape { position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7); }
.tape-a { z-index: 2; translate: 0 -50%; rotate: -3deg; background: linear-gradient(90deg, var(--pink), var(--lilac), var(--cyan), var(--lilac), var(--pink)); color: var(--ink); }
.tape-b { translate: 0 -50%; rotate: 2.6deg; background: #0e0716; color: var(--pink-2); border-block: 1px solid rgba(255, 62, 165, 0.45); }
.tape-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.tape-b .tape-track { animation-direction: reverse; animation-duration: 48s; }
.tape-item { display: inline-flex; align-items: center; gap: 18px; padding: 12px 0 12px 18px; font-family: var(--font-display); font-weight: 900; font-size: clamp(14px, 2vw, 19px); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; unicode-bidi: plaintext; }
.tape-star { display: inline-block; animation: spin 4s linear infinite; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 62, 165, 0.22), transparent 70%); }
.stat-num { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.stat-label { color: var(--muted); font-size: 14px; font-weight: 600; }

.deans-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.deans-hero { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 30px; }
.deans-hero .toolbar { margin: 4px 0 0; }
@media (max-width: 900px) {
  .deans-grid, .deans-hero { grid-template-columns: minmax(0, 1fr); }
  .deans-hero { text-align: center; justify-items: center; }
  .deans-hero .kicker { justify-self: center; }
  .deans-hero .toolbar { justify-content: center; }
}

.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }
.how-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); overflow: hidden; }
.how-n { position: absolute; top: 6px; inset-inline-end: 16px; font-size: 70px; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.14); }
.how-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 62, 165, 0.8); }
.how-ico .i { width: 24px; height: 24px; }
.how-card h3 { font-size: 22px; }
.discord { position: relative; margin-top: 10px; border-radius: 14px; overflow: hidden; background: #232428; color: #dbdee1; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; text-align: left; box-shadow: 0 20px 40px -20px #000; max-width: 300px; rotate: -2deg; transition: rotate 0.4s; }
.how-card:hover .discord { rotate: 0deg; }
.discord-banner { height: 54px; background: linear-gradient(120deg, var(--pink), var(--lilac)); }
.discord-av { position: absolute; top: 24px; left: 14px; display: block; border-radius: 50%; border: 5px solid #232428; }
.discord-av i { position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; background: #23a55a; border: 3px solid #232428; }
.discord-body { display: grid; gap: 2px; padding: 38px 14px 14px; }
.discord-body b { color: #f2f3f5; font-size: 16px; }
.discord-tag { color: #b5bac1; font-size: 12px; }
.discord-label { margin-top: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #b5bac1; }
.discord-link { color: #00a8fc; font-weight: 700; background: rgba(0, 168, 252, 0.12); border-radius: 4px; padding: 0 3px; animation: linkGlow 2s ease-in-out infinite; }

.fans-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 30px; align-items: center; padding: clamp(24px, 5vw, 52px); border-radius: 32px; background: radial-gradient(70% 120% at 100% 50%, rgba(79, 243, 255, 0.16), transparent 70%), var(--panel); border: 1px solid var(--line); overflow: hidden; }
@media (max-width: 760px) { .fans-cta { grid-template-columns: minmax(0, 1fr); } }
.hallpass {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--cyan), var(--lilac));
  color: var(--ink);
  text-align: center;
  rotate: 6deg;
  animation: swing 5s ease-in-out infinite;
  box-shadow: 0 30px 60px -20px rgba(79, 243, 255, 0.6);
  -webkit-mask: radial-gradient(circle at left 50%, transparent 14px, #000 15px) left / 51% 100% no-repeat, radial-gradient(circle at right 50%, transparent 14px, #000 15px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at left 50%, transparent 14px, #000 15px) left / 51% 100% no-repeat, radial-gradient(circle at right 50%, transparent 14px, #000 15px) right / 51% 100% no-repeat;
}
.hallpass-top { font-family: var(--font-varsity); font-size: 30px; letter-spacing: 0.08em; }
.hallpass-name { font-family: var(--font-display); font-weight: 900; font-size: 16px; }
.hallpass-perks { font-size: 22px; letter-spacing: 0.2em; }

.final { position: relative; display: grid; justify-items: center; gap: 16px; text-align: center; padding: clamp(44px, 8vw, 96px) 20px; border-radius: 36px; overflow: hidden; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 62, 165, 0.35), transparent 70%), linear-gradient(180deg, #1c0f2b, #0e0716); border: 1px solid rgba(255, 62, 165, 0.3); }
.final-title { font-size: clamp(34px, 7vw, 82px); font-weight: 900; line-height: 1; background: var(--grad-loop); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; max-width: 16ch; }

/* ---- profile ---------------------------------------------------------------------------------------- */
.owner-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; border-radius: 16px; background: rgba(79, 243, 255, 0.08); border: 1px solid rgba(79, 243, 255, 0.3); font-weight: 600; }
.owner-bar .btn { margin-inline-start: auto; }
.profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; padding-block: clamp(24px, 4vw, 48px) 12px; }
@media (max-width: 900px) { .profile-hero { grid-template-columns: minmax(0, 1fr); } .profile-card { max-width: 520px; width: 100%; margin-inline: auto; } }
.profile-card { position: relative; }
.profile-card::before { content: ''; position: absolute; inset: 10% 5%; background: var(--accent); filter: blur(80px); opacity: 0.35; border-radius: 50%; z-index: -1; animation: pulse 4s ease-in-out infinite; }
.profile-card .idcard { animation: floatA2 7s ease-in-out infinite; }
.profile-name { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.05; }
.profile-name .tick { width: 0.75em; height: 0.75em; }
.profile-name .nm, .dorm-name .nm { flex-wrap: wrap; }
.profile-name .nm bdi, .dorm-name .nm bdi { white-space: normal; overflow-wrap: anywhere; }
.profile-handle { color: var(--muted); font-weight: 600; }
.profile-bio { font-size: 17px; white-space: pre-line; max-width: 52ch; }
.profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 480px; }
.pstat { display: grid; padding: 14px 10px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.pstat b { font-family: var(--font-display); font-size: 26px; font-weight: 900; line-height: 1.2; }
.pstat b.bump { animation: bump 0.5s cubic-bezier(0.3, 1.8, 0.5, 1); color: var(--accent-2); }
.pstat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.linkbox { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 6px 6px 6px 16px; border-radius: 999px; background: #0d0814; border: 1px dashed color-mix(in srgb, var(--accent) 65%, transparent); }
.linkbox-url { min-width: 0; font-family: var(--font-varsity); font-size: 17px; color: var(--accent-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkbox.big { padding-left: 22px; }
.linkbox.big .linkbox-url { font-size: clamp(18px, 4vw, 26px); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.2s; }
.social:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); transform: translateY(-2px); }
.social i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.social .i { width: 14px; color: var(--muted); }
.supporters { display: grid; gap: 8px; }
.supporters .label { display: flex; align-items: center; gap: 6px; }
.supporters .label .i { width: 16px; color: var(--gold); }
.supporters-list { display: flex; padding-inline-start: 4px; }
.supporter { position: relative; margin-inline-end: -4px; transition: transform 0.2s; }
.supporter:hover { transform: translateY(-4px); z-index: 2; }
.supporter .av { border: 3px solid var(--bg); }
.supporter-n { position: absolute; bottom: -4px; inset-inline-end: -2px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1a1000; font-size: 11px; font-weight: 900; }
.tabs { display: flex; gap: 6px; width: fit-content; max-width: 100%; margin-bottom: 22px; padding: 6px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; white-space: nowrap; transition: 0.25s; }
.tab .i { width: 17px; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--text); color: var(--ink); }
.tab-n { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.tab.on .tab-n { background: rgba(20, 6, 31, 0.12); }
.tab-panel.flash { animation: panelFlash 1.4s ease; border-radius: 26px; }
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wish { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s; }
.wish:hover { transform: translateY(-5px) rotate(-0.6deg); border-color: var(--accent); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--accent) 70%, transparent); }
.wish-img { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), #140b1f; }
.wish-img img { width: 100%; height: 100%; object-fit: cover; }
.wish-emoji { font-size: 64px; }
.wish:hover .wish-emoji { animation: wiggle 0.9s ease-in-out; }
.wish-body { display: grid; gap: 8px; align-content: start; padding: 14px 16px 16px; }
.wish-title { font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.wish-price { font-family: var(--font-display); font-weight: 700; color: var(--accent-2); }
.wish-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.wish-tag { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 70%, transparent); animation: pulseBadge 2.2s infinite; }
.wish-tag .i { width: 13px; }
.wish.gifted .wish-img { filter: grayscale(0.6) brightness(0.55); }
.wish-stamp { position: absolute; top: 28%; left: 50%; padding: 4px 16px; border: 3px solid var(--mint); border-radius: 10px; color: var(--mint); font-family: var(--font-varsity); font-size: 24px; text-transform: uppercase; translate: -50% -50%; rotate: -14deg; text-shadow: 0 0 14px rgba(95, 255, 176, 0.7); animation: stamp 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.giftwall { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.gift-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.gift-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(255, 209, 102, 0.12); font-size: 21px; }
.gift-what { flex: 1; display: grid; min-width: 0; }
.gift-from { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; font-weight: 600; color: var(--text); }
.gift-from.anon { color: var(--muted); }
.photos { columns: 3 220px; column-gap: 12px; }
.photo { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; break-inside: avoid; background: var(--panel); cursor: zoom-in; }
.photo img { width: 100%; transition: transform 0.5s; }
.photo:hover img { transform: scale(1.04); }
.photo-del { position: absolute; top: 8px; inset-inline-end: 8px; background: rgba(7, 4, 12, 0.75); }
.lightbox { margin: 0; display: grid; gap: 10px; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 16px; }
.lightbox figcaption { color: var(--muted); text-align: center; }
.report-line { margin-top: 36px; display: flex; justify-content: center; }
.nf-id { font-size: clamp(56px, 18vw, 180px); max-width: 100%; overflow-wrap: anywhere; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--pink-2); animation: neon 3s infinite; }

/* ---- yearbook toolbar ----------------------------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search .i { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; width: 18px; color: var(--dim); pointer-events: none; }
.search .input { padding-inline-start: 42px; border-radius: 999px; }
.more { margin-top: 24px; }

/* ---- enroll ------------------------------------------------------------------------------------------- */
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto 28px; }
@media (max-width: 640px) { .role-grid { grid-template-columns: minmax(0, 1fr); } }
.role-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 26px; text-align: start; background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; overflow: hidden; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s; }
.role-card::after { content: ''; position: absolute; width: 180px; height: 180px; top: -70px; inset-inline-end: -70px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%); transition: transform 0.5s; }
.role-card:hover { transform: translateY(-4px); }
.role-card:hover::after { transform: scale(1.3); }
.role-card.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent), 0 24px 50px -24px var(--accent); }
.role-ico { font-size: 42px; line-height: 1; }
.role-title { font-family: var(--font-display); font-size: 26px; font-weight: 900; }
.role-for { color: var(--accent-2); font-weight: 700; }
.role-perks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 7px; color: var(--muted); }
.role-perks li { display: flex; align-items: center; gap: 8px; }
.role-perks .i { width: 16px; color: var(--accent); }
.role-pick { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--panel-2); font-weight: 800; font-size: 14px; }
.role-pick .i { width: 16px; }
.role-card.on .role-pick { background: var(--accent); color: var(--ink); }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.gsi { display: grid; place-items: center; min-height: 46px; }
.devlogin { display: grid; gap: 12px; padding: 16px; border-radius: 18px; border: 1px dashed rgba(255, 209, 102, 0.45); background: rgba(255, 209, 102, 0.05); }
.devlogin-head { display: flex; align-items: center; gap: 8px; color: var(--gold); }
.devlogin-head .i { width: 18px; }
.reveal-screen { display: grid; justify-items: center; gap: 22px; text-align: center; }
.reveal-screen .kicker { justify-self: center; }
.slot { display: inline-flex; gap: 0.08em; font-size: clamp(76px, 19vw, 170px); line-height: 1.1; min-height: 1.1em; color: #fff; }
.slot-d { display: inline-block; height: 1.1em; overflow: hidden; padding-inline: 0.1em; border-radius: 0.12em; background: linear-gradient(180deg, #1f112d, #0c0614); border: 2px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 0.15em 0.25em rgba(0, 0, 0, 0.7), inset 0 -0.15em 0.25em rgba(0, 0, 0, 0.7), 0 0 40px -10px var(--pink); text-shadow: 0 0 30px var(--pink), 0 0 60px rgba(185, 140, 255, 0.6); }
.slot-reel { display: flex; flex-direction: column; transition: transform var(--dur) cubic-bezier(0.12, 0.8, 0.2, 1.02); }
.slot-reel span { display: block; height: 1.1em; }
.slot.go .slot-reel { transform: translateY(var(--to)); }
.reveal-after { justify-items: center; width: 100%; opacity: 0; transform: translateY(24px); transition: opacity 0.8s 0.2s, transform 0.8s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
.reveal-screen.done .reveal-after { opacity: 1; transform: none; pointer-events: auto; }
.reveal-card { width: min(420px, 100%); }

/* ---- dorm ---------------------------------------------------------------------------------------------- */
.dorm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: 28px; background: radial-gradient(100% 160% at 0% 0%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 60%), var(--panel); border: 1px solid var(--line); }
.dorm-head .grow { flex: 1 1 220px; }
.dorm-name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em; font-size: clamp(24px, 4vw, 38px); font-weight: 900; }
.bio-tip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding: 16px 18px; border-radius: 20px; border: 1px dashed rgba(255, 62, 165, 0.45); background: rgba(255, 62, 165, 0.06); }
.bio-tip b { display: inline-flex; align-items: center; gap: 8px; }
.bio-tip b .i { width: 18px; color: var(--pink); }
.dorm-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.dorm-side { position: sticky; top: calc(var(--nav-h) + 16px); }
.dorm-tabs { display: grid; gap: 4px; padding: 6px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.dorm-tab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; text-align: start; white-space: nowrap; transition: 0.2s; }
.dorm-tab .i { width: 18px; }
.dorm-tab:hover { background: var(--panel-2); color: var(--text); }
.dorm-tab.on { background: var(--text); color: var(--ink); }
@media (max-width: 900px) {
  .dorm-grid { grid-template-columns: minmax(0, 1fr); }
  .dorm-side { position: static; }
  .dorm-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check-dot { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); }
.check-dot .i { width: 14px; height: 14px; }
.check-item.done .check-dot { background: var(--mint); border-color: transparent; color: #062814; }
.check-item.pending .check-dot { border-color: var(--gold); }
.check-item.rejected .check-dot { border-color: var(--bad); }
.check-label { flex: 1; font-weight: 600; }
.check-state { font-size: 12px; font-weight: 800; color: var(--dim); }
.check-item.done .check-state { color: var(--mint); }
.check-item.pending .check-state { color: var(--gold); }
.check-item.rejected .check-state { color: var(--bad); }
.avatar-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 3px solid transparent; cursor: pointer; transition: transform 0.2s; }
.swatch:hover { transform: scale(1.1); }
.swatch:has(input:checked) { border-color: #fff; box-shadow: 0 0 0 3px var(--accent), 0 0 20px var(--accent); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 4px; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wish-line, .gift-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.wish-line .wish-img, .gift-item .wish-img { width: 58px; height: 58px; aspect-ratio: auto; border-radius: 14px; flex: none; }
.wish-line .wish-emoji, .gift-item .wish-emoji { font-size: 28px; }
.wish-line.gifted { opacity: 0.6; }
.gift-line.pending { border-color: rgba(255, 209, 102, 0.45); background: rgba(255, 209, 102, 0.05); }
.gift-line.declined { opacity: 0.55; }
a.gift-line:hover { border-color: var(--line-2); }
.gift-msg { padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-style: italic; white-space: pre-line; }

/* ---- admissions -------------------------------------------------------------------------------------- */
.adm-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 900px) { .adm-steps { grid-template-columns: minmax(0, 1fr); } }
.step.done { border-color: rgba(95, 255, 176, 0.4); }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--grad); color: var(--ink); font-family: var(--font-display); font-size: 15px; font-weight: 900; }
.step.done .step-n { background: var(--mint); }
.step-done, .step-pending { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; font-weight: 700; }
.step-done { background: rgba(95, 255, 176, 0.1); color: var(--mint); }
.step-done .i { width: 20px; }
.step-pending { background: rgba(255, 209, 102, 0.08); color: var(--gold); }
.phone-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; }
@media (max-width: 520px) { .phone-row { grid-template-columns: minmax(0, 1fr); } }
.otp { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 28px; letter-spacing: 0.5em; text-align: center; padding-inline-start: 0.6em; }
.verified-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 22px; padding: 22px; border-radius: 24px; background: linear-gradient(120deg, rgba(79, 180, 255, 0.18), rgba(185, 140, 255, 0.18)); border: 1px solid rgba(79, 180, 255, 0.45); }
.verified-banner > div { flex: 1; min-width: 200px; }
.verified-banner .tick { width: 58px; height: 58px; animation: tickPop 1s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.cam { position: relative; width: 100%; max-width: 420px; margin-inline: auto; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #000; }
.cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.cam-oval { position: absolute; inset: 12% 21%; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 999px rgba(7, 4, 12, 0.45); animation: ovalPulse 2s ease-in-out infinite; }
.cam-dots { position: absolute; top: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.cam-dots i { width: 28px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.3); transition: 0.3s; }
.cam-dots i.on { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.cam-count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 96px; font-weight: 900; color: #fff; text-shadow: 0 0 30px var(--pink); pointer-events: none; }
.cam-count.pop { animation: countPop 0.75s ease-out; }
.cam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.cam-flash.go { animation: camFlash 0.45s ease-out; }
.cam-prompt { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(7, 4, 12, 0.78); text-align: center; font-weight: 700; }
.thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.thumbs img { width: 96px; height: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 2px solid var(--line-2); background: var(--panel); }

/* ---- rules / misc ------------------------------------------------------------------------------------- */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rule { display: flex; gap: 18px; padding: 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.rule-n { flex: none; width: 44px; font-size: 40px; line-height: 1; text-align: center; color: transparent; -webkit-text-stroke: 1.5px var(--pink-2); }
.rule h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.rule h2 .i { width: 20px; color: var(--pink-2); }
.admin-user { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.admin-user:last-child { border-bottom: 0; }
.admin-user a { color: var(--pink-2); }

/* ---- dialogs, toasts, gate ----------------------------------------------------------------------------- */
dialog.modal { position: fixed; width: min(500px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; color: var(--text); background: linear-gradient(180deg, #1c1129, #120a1b); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: 0 30px 80px -20px #000, 0 0 0 1px rgba(255, 62, 165, 0.15), 0 0 80px -30px rgba(255, 62, 165, 0.5); }
dialog.modal[open] { animation: modalIn 0.4s cubic-bezier(0.2, 1.25, 0.4, 1); }
dialog.modal.closing { animation: modalOut 0.18s ease-in forwards; }
dialog.modal::backdrop { background: rgba(5, 2, 10, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.modal-wide { width: min(580px, calc(100vw - 24px)); }
dialog.modal-photo { width: min(920px, calc(100vw - 24px)); }
.modal-body { display: grid; gap: 18px; padding: 28px 24px 24px; }
.modal-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; font-size: 16px; }
.modal-title { font-size: 22px; font-weight: 900; padding-inline-end: 36px; }
.auth-modal { display: grid; gap: 12px; }
.gift-modal { display: grid; gap: 18px; }
.gift-head { display: flex; align-items: center; gap: 12px; padding-inline-end: 36px; }
.gift-emoji { font-size: 40px; line-height: 1; animation: wiggle 1.4s ease-in-out infinite; }
.gift-head .modal-title { padding: 0; }
.gift-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.gift-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.gift-steps > li { position: relative; display: grid; gap: 8px; padding-inline-start: 44px; counter-increment: step; }
.gift-steps > li::before { content: counter(step); position: absolute; top: -3px; inset-inline-start: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 900; }
.gift-steps .btn { justify-self: start; }

#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 10000; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { padding: 13px 16px; border-radius: 16px; background: #1e1329; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 600; animation: toastIn 0.4s cubic-bezier(0.2, 1.3, 0.4, 1); pointer-events: auto; }
.toast.ok { border-color: rgba(95, 255, 176, 0.5); }
.toast.bad { border-color: rgba(255, 92, 122, 0.6); }
.toast.out { animation: toastOut 0.35s ease-in forwards; }

.gate { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; overflow: auto; background: rgba(7, 4, 12, 0.7); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); animation: fadeIn 0.4s; }
.gate.out { animation: fadeOut 0.45s forwards; }
.gate-card { display: grid; justify-items: center; gap: 14px; width: min(440px, 100%); padding: 32px 26px; border-radius: 30px; text-align: center; background: linear-gradient(180deg, #1d1029, #120a1b); border: 1px solid rgba(255, 62, 165, 0.35); box-shadow: 0 30px 80px -20px #000, 0 0 80px -20px rgba(255, 62, 165, 0.5); animation: popIn 0.6s cubic-bezier(0.2, 1.4, 0.4, 1); }
.gate-badge { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; font-family: var(--font-display); font-size: 30px; font-weight: 900; color: #fff; background: radial-gradient(circle at 30% 30%, #ff7cc3, #ff1f6d 60%, #8a0a3d); box-shadow: 0 0 0 6px rgba(255, 62, 165, 0.2), 0 0 40px rgba(255, 62, 165, 0.8); animation: pulseBadge 2s infinite; }
.gate-actions { display: grid; gap: 8px; width: 100%; }

/* ---- keyframes ------------------------------------------------------------------------------------ */
@keyframes shine { to { background-position: 200% center; } }
@keyframes pulse { 50% { opacity: 0.45; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinAng { to { --ang: 360deg; } }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@keyframes floatA { 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes floatA2 { 50% { transform: translateY(-10px); } }
@keyframes floatB { 50% { transform: translateY(12px) rotate(-2deg); } }
@keyframes swing { 50% { transform: rotate(-8deg) translateY(-6px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.08); } 75% { transform: rotate(10deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes holo { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
@keyframes neon {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; text-shadow: 0 0 12px rgba(255, 62, 165, 0.95), 0 0 42px rgba(255, 62, 165, 0.6); }
  20%, 24%, 55% { opacity: 0.5; text-shadow: none; }
}
@keyframes glitch1 {
  0%, 84%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  85% { clip-path: inset(10% 0 70% 0); transform: translate(-7px, -2px); }
  88% { clip-path: inset(62% 0 14% 0); transform: translate(6px, 2px); }
  91% { clip-path: inset(36% 0 44% 0); transform: translate(-4px, 1px); }
  94% { clip-path: inset(82% 0 4% 0); transform: translate(5px, -1px); }
}
@keyframes glitch2 {
  0%, 86%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  87% { clip-path: inset(48% 0 30% 0); transform: translate(7px, 1px); }
  90% { clip-path: inset(4% 0 80% 0); transform: translate(-6px, -2px); }
  93% { clip-path: inset(70% 0 10% 0); transform: translate(4px, 2px); }
}
@keyframes botFloat { 50% { transform: translateY(-10px); } }
@keyframes shadowPulse { 50% { transform: scale(0.78); opacity: 0.25; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@keyframes talk { to { transform: scaleY(2); } }
@keyframes waves { 0% { opacity: 0; transform: translateX(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(-8px); } }
@keyframes jet { to { transform: scaleY(0.72) scaleX(0.9); opacity: 0.75; } }
@keyframes wave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-16deg); } }
@keyframes armL { 50% { transform: rotate(6deg); } }
@keyframes tassel { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(12deg); } }
@keyframes capTilt { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes robotSpin { 0% { transform: rotateY(0) scale(1); } 50% { transform: rotateY(180deg) scale(1.08) translateY(-12px); } 100% { transform: rotateY(360deg) scale(1); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes dropIn { from { transform: translateY(-90px) scale(0.5); opacity: 0; } }
@keyframes fadeUp { from { transform: translateY(10px); opacity: 0; } }
@keyframes crownBob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(6deg); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.94); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.85) translateY(20px); } }
@keyframes pulseBadge { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 31, 109, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(255, 31, 109, 0); } }
@keyframes bump { 40% { transform: scale(1.3); } }
@keyframes heartPop { 40% { transform: scale(1.5); } }
@keyframes panelFlash { 0% { box-shadow: 0 0 0 0 rgba(255, 62, 165, 0.6); } 100% { box-shadow: 0 0 0 30px rgba(255, 62, 165, 0); } }
@keyframes camFlash { 0% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes countPop { 0% { transform: scale(1.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(0.9); opacity: 0.6; } }
@keyframes ovalPulse { 50% { border-color: var(--pink); } }
@keyframes stamp { from { opacity: 0; scale: 2.2; } }
@keyframes tickPop { from { transform: scale(0) rotate(-90deg); } }
@keyframes progress { from { left: -40%; } to { left: 100%; } }
@keyframes dropDown { from { opacity: 0; transform: translateY(-8px) scale(0.97); } }
@keyframes linkGlow { 50% { background: rgba(0, 168, 252, 0.3); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-visual { min-height: 400px; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 330px; }
  .stack-card { width: 84%; }
  .rollbar-host { font-size: 13px; padding-inline: 10px 0; }
  .btn-lg { padding: 14px 20px; font-size: 15.5px; }
  .pod-name { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .glitch::before, .glitch::after { display: none; }
  #trail { display: none; }
}

/* ---- cute cat cursors (mouse / trackpad only) ------------------------------------------------------- */
/* The cat's pointy left ear is the click point (3,3); the paw is used for anything clickable.
   The first declaration is the fallback for browsers without image-set() in cursor. */
@media (pointer: fine) {
  html {
    cursor: url('/img/cursor-cat.svg') 3 3, auto;
    cursor: image-set(url('/img/cursor-cat.svg') 1x, url('/img/cursor-cat@2x.svg') 2x) 3 3, auto;
  }
  :is(a[href], button, summary, select, label, [role='button'], [role='tab'], .btn, .chip, .tab, .seg-b, .dorm-tab,
      .role-card, .robot, .swatch, .photo, .social, .lang, .lang-select, .dd-item, .switch, .check, .linklike,
      input[type='checkbox'], input[type='radio'], input[type='file']) {
    cursor: url('/img/cursor-paw.svg') 16 6, pointer;
    cursor: image-set(url('/img/cursor-paw.svg') 1x, url('/img/cursor-paw@2x.svg') 2x) 16 6, pointer;
  }
  :is(input:not([type='checkbox'], [type='radio'], [type='file'], [type='range']), textarea) { cursor: text; }
  :is(button, .btn)[disabled] { cursor: not-allowed; }
}

@media (max-width: 520px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scard { padding: 24px 10px 14px; }
  .scard-roll { inset-inline-start: 10px; font-size: 10px; }
}

/* small phones: the account menu spans the screen instead of hanging off the left edge */
@media (max-width: 520px) {
  .dd-panel { position: fixed; top: calc(var(--nav-h) + 6px); left: 12px; right: 12px; width: auto; }
}
