/* ===== Halloween 2026: neon on near-black, glass, glow ===== */
@property --holo { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #07060b;
  --bg-2: #0e0b17;
  --green: #39ff14;
  --orange: #ff5f1f;
  --violet: #9d4edd;
  --chill: #5eebff;
  --text: #f4f1ff;
  --muted: rgba(244, 241, 255, 0.62);
  --faint: rgba(244, 241, 255, 0.38);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.14);
  --danger: #ff3b6b;
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter Variable', Inter, system-ui, -apple-system, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --green-glow: 0 0 14px color-mix(in srgb, var(--green) 55%, transparent), 0 0 40px color-mix(in srgb, var(--green) 25%, transparent);
  --orange-glow: 0 0 14px rgba(255, 95, 31, 0.6), 0 0 40px rgba(255, 95, 31, 0.28);
  --violet-glow: 0 0 14px rgba(157, 78, 221, 0.65), 0 0 40px rgba(157, 78, 221, 0.3);
  --chill-glow: 0 0 14px rgba(94, 235, 255, 0.6), 0 0 40px rgba(94, 235, 255, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(32px, 9vw, 44px); }
h2 { font-size: clamp(24px, 6.5vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: var(--green); }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; letter-spacing: 0.02em; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ----- glows ----- */
.glow-green { color: var(--green); text-shadow: var(--green-glow); }
.glow-orange { color: var(--orange); text-shadow: var(--orange-glow); }
.glow-violet { color: #c58cff; text-shadow: var(--violet-glow); }
.glow-chill { color: var(--chill); text-shadow: var(--chill-glow); }
.gradient-text {
  background: linear-gradient(100deg, var(--green) 0%, var(--chill) 35%, #c58cff 70%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(157, 78, 221, 0.35));
}

/* ----- background: fog + particles ----- */
.fog { position: fixed; inset: -20%; z-index: 0; pointer-events: none; overflow: hidden; }
.fog i {
  position: absolute; display: block; border-radius: 50%; opacity: 0.55; will-change: transform;
  width: 70vmax; height: 70vmax;
}
.fog i:nth-child(1) { left: -10%; top: 0; background: radial-gradient(closest-side, rgba(157, 78, 221, 0.35), transparent 70%); animation: drift1 48s ease-in-out infinite alternate; }
.fog i:nth-child(2) { right: -15%; top: 30%; background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 16%, transparent), transparent 70%); animation: drift2 62s ease-in-out infinite alternate; }
.fog i:nth-child(3) { left: 20%; bottom: -20%; background: radial-gradient(closest-side, rgba(255, 95, 31, 0.22), transparent 70%); animation: drift3 55s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14vw, -16vh) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-10vw, -14vh) scale(0.95); } }
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
.vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 30%, transparent 40%, rgba(0, 0, 0, 0.55) 100%); }

/* ----- layout ----- */
#app { position: relative; z-index: 1; }
.screen {
  min-height: 100vh; min-height: 100dvh;
  padding: calc(14px + var(--safe-top)) 16px calc(28px + var(--safe-bottom));
  max-width: 540px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
  animation: screen-in 0.35s ease both;
}
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } }
.screen.no-anim { animation: none; }
.screen.no-anim .deal-in { animation: none; }
.screen-center { justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.spacer { flex: 1; }
.pad-top { padding-top: 8px; }

/* ----- glass card with holographic edge ----- */
.card {
  position: relative; isolation: isolate;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card.holo::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--holo), var(--green), var(--chill), var(--violet), var(--orange), var(--green));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.75; animation: holo-spin 9s linear infinite;
}
.card.holo::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  background-size: 250% 100%; animation: shimmer 6s ease-in-out infinite;
}
@keyframes holo-spin { to { --holo: 360deg; } }
@keyframes shimmer { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.card.tight { padding: 14px; }
.card.glow-g { box-shadow: 0 0 0 1px color-mix(in srgb, var(--green) 25%, transparent), 0 0 32px color-mix(in srgb, var(--green) 18%, transparent), 0 10px 40px rgba(0, 0, 0, 0.45); }
.card.glow-o { box-shadow: 0 0 0 1px rgba(255, 95, 31, 0.3), 0 0 32px rgba(255, 95, 31, 0.2), 0 10px 40px rgba(0, 0, 0, 0.45); }
.card.glow-v { box-shadow: 0 0 0 1px rgba(157, 78, 221, 0.35), 0 0 32px rgba(157, 78, 221, 0.22), 0 10px 40px rgba(0, 0, 0, 0.45); }

/* ----- buttons ----- */
.btn {
  appearance: none; border: 1px solid var(--glass-border); background: var(--glass-strong);
  color: var(--text); border-radius: 18px; min-height: 56px; padding: 14px 20px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; width: 100%; transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
a.btn { text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #39ff14 0%, #1fd68a 100%); color: #06120a; border-color: transparent; box-shadow: var(--green-glow); }
.btn-orange { background: linear-gradient(135deg, #ff7a2f 0%, #ff3f7a 100%); color: #140804; border-color: transparent; box-shadow: var(--orange-glow); }
.btn-violet { background: linear-gradient(135deg, #b86bff 0%, #7a2fe6 100%); color: #fff; border-color: transparent; box-shadow: var(--violet-glow); }
.btn-ghost { background: transparent; border-color: var(--glass-border); }
.btn-text { background: transparent; border-color: transparent; color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 15px; min-height: 44px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn-danger { background: transparent; border-color: rgba(255, 59, 107, 0.4); color: var(--danger); }
.btn-sm { min-height: 42px; padding: 8px 14px; font-size: 15px; border-radius: 14px; width: auto; }
.btn-icon { width: 46px; min-height: 46px; height: 46px; padding: 0; border-radius: 50%; font-size: 20px; }
.btn.auto { width: auto; }

/* ----- inputs ----- */
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35); color: var(--text); font-size: 17px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
textarea.input { min-height: 90px; resize: vertical; line-height: 1.4; }
.search { position: sticky; top: calc(8px + var(--safe-top)); z-index: 5; }
.search .input { padding-left: 44px; background: rgba(10, 8, 18, 0.75); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.search::before { content: '🔍'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; opacity: 0.7; }

/* PIN boxes */
.pin { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 300px; margin: 0 auto; }
.pin input { position: absolute; inset: 0; opacity: 0; font-size: 16px; width: 100%; height: 100%; }
.pin b {
  display: grid; place-items: center; height: 68px; border-radius: 18px; border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35); font-family: var(--font-display); font-size: 32px; font-weight: 800; transition: all 0.15s;
}
.pin b.filled { border-color: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 20%, transparent), var(--green-glow); color: var(--green); }
.pin b.cursor { border-color: color-mix(in srgb, var(--green) 60%, transparent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 25%, transparent); } }

/* ----- avatars ----- */
.avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none;
  background: #1a1626; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.avatar.icon { background: radial-gradient(circle at 30% 30%, #2a2040, #120e1c); }
.avatar.icon svg { width: 74%; height: 74%; }
.avatar.initials { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: #fff; background: linear-gradient(135deg, #2b2342, #171224); }
.avatar.lg { width: 112px; height: 112px; }
.avatar.lg.initials { font-size: 40px; }
.avatar.xl { width: 150px; height: 150px; }
.avatar.sm { width: 40px; height: 40px; }
.avatar.sm.initials { font-size: 15px; }
.avatar.ring { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--green), 0 0 24px color-mix(in srgb, var(--green) 45%, transparent); }
.avatar.ring-v { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--violet), 0 0 24px rgba(157, 78, 221, 0.5); }
.avatar-pair { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.avatar-pair .avatar.xl { position: absolute; left: 0; top: 0; }
.avatar-pair .avatar.photo-badge { position: absolute; right: -8px; bottom: -4px; width: 64px; height: 64px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--orange), 0 0 20px rgba(255, 95, 31, 0.5); }

/* ----- picker grid ----- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 420px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 14px 8px 12px; border-radius: 18px; border: 1px solid var(--glass-border); background: var(--glass);
  cursor: pointer; transition: transform 0.12s ease, border-color 0.2s; min-height: 148px; width: 100%;
}
.tile:active { transform: scale(0.96); }
.tile .character { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; line-height: 1.15; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .name { font-size: 12px; color: var(--muted); }
.tile .character.tbd { color: var(--muted); font-style: italic; font-weight: 600; }
.tile.taken { opacity: 0.78; }
.tile.taken .avatar { filter: saturate(0.6); }
.tile.me { border-color: var(--green); box-shadow: var(--green-glow); }
.badge {
  position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px; background: rgba(255, 95, 31, 0.18); color: var(--orange); border: 1px solid rgba(255, 95, 31, 0.45);
}
.badge.online { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); display: inline-block; }
.dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ----- chips & vibe badges ----- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
}
.vibe { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em; }
.vibe.chill { color: var(--chill); border-color: rgba(94, 235, 255, 0.45); background: rgba(94, 235, 255, 0.1); text-shadow: 0 0 10px rgba(94, 235, 255, 0.6); }
.vibe.spicy { color: var(--orange); border-color: rgba(255, 95, 31, 0.5); background: rgba(255, 95, 31, 0.12); text-shadow: 0 0 10px rgba(255, 95, 31, 0.7); }
.vibe.unhinged { color: #c58cff; border-color: rgba(157, 78, 221, 0.55); background: rgba(157, 78, 221, 0.14); text-shadow: 0 0 10px rgba(157, 78, 221, 0.8); }

/* ----- option cards (status / vibe / icons) ----- */
.option {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 16px; border-radius: 18px;
  border: 1px solid var(--glass-border); background: var(--glass); cursor: pointer; transition: all 0.15s; color: var(--text);
}
.option:active { transform: scale(0.98); }
.option .emoji { font-size: 32px; flex: none; width: 44px; text-align: center; }
.option .title { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.option .desc { font-size: 14px; color: var(--muted); margin-top: 2px; }
.option.selected { border-color: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 25%, transparent), var(--green-glow); background: color-mix(in srgb, var(--green) 7%, transparent); }
.option.selected.o-orange { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255, 95, 31, 0.25), var(--orange-glow); background: rgba(255, 95, 31, 0.08); }
.option.selected.o-violet { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(157, 78, 221, 0.3), var(--violet-glow); background: rgba(157, 78, 221, 0.1); }
.option.selected.o-chill { border-color: var(--chill); box-shadow: 0 0 0 2px rgba(94, 235, 255, 0.25), var(--chill-glow); background: rgba(94, 235, 255, 0.08); }
.option.locked { opacity: 0.45; }
.option.big { flex-direction: column; text-align: center; padding: 22px 16px; }
.option.big .emoji { font-size: 44px; width: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.icons .option { flex-direction: column; padding: 10px 6px; gap: 6px; }
.icons .avatar { width: 56px; height: 56px; }
.icons .desc { font-size: 11.5px; margin: 0; text-transform: capitalize; }

/* ----- steps / progress ----- */
.steps { display: flex; gap: 6px; justify-content: center; }
.steps i { width: 26px; height: 5px; border-radius: 3px; background: var(--glass-border); transition: background 0.3s, box-shadow 0.3s; }
.steps i.done { background: var(--green); box-shadow: 0 0 8px var(--green); }
.steps i.now { background: var(--orange); box-shadow: 0 0 8px var(--orange); }

/* ----- header ----- */
.topbar { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.topbar .who { line-height: 1.1; min-width: 0; }
.topbar .who .character { font-family: var(--font-display); font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .who .sub { font-size: 12.5px; color: var(--muted); }

/* ----- lobby ----- */
.hero { text-align: center; padding: 26px 18px 22px; }
.hero .character { font-size: clamp(26px, 7.5vw, 34px); margin-top: 14px; }
.hero .findme { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px dashed var(--glass-border); text-align: left; display: flex; gap: 10px; align-items: flex-start; }
.hero .findme .txt { flex: 1; font-size: 15px; }
.hero .findme .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); font-weight: 800; display: block; margin-bottom: 3px; }
.waiting { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--muted); animation: pulse-text 2.2s ease-in-out infinite; }
@keyframes pulse-text { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; text-shadow: var(--green-glow); color: var(--text); } }
.counter { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 420px) { .roster { grid-template-columns: repeat(5, 1fr); } }
.roster .who { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.roster .who .avatar { width: 56px; height: 56px; }
.roster .who .avatar.initials { font-size: 20px; }
.roster .who span { font-size: 11px; line-height: 1.15; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pop-in { animation: pop-in 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes pop-in { from { opacity: 0; transform: scale(0.3) rotate(-12deg); } }

/* carousel */
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; margin: -2px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 86%; scroll-snap-align: center; min-height: 150px; }
.carousel .slide .num { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--orange); letter-spacing: 0.08em; }
.carousel .slide .emoji { font-size: 36px; margin: 6px 0; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--glass-border); }
.dots i.on { background: var(--green); box-shadow: 0 0 6px var(--green); }

/* phase strip */
.phase { display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.round-strip { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.round-strip .countdown { font-variant-numeric: tabular-nums; font-weight: 700; }
.round-strip.lightning { border-color: rgba(255, 230, 109, 0.6); box-shadow: 0 0 14px rgba(255, 230, 109, 0.25); }
.card.empty.slot { display: grid; place-items: center; gap: 6px; min-height: 120px; border-style: dashed; animation: pop-in 0.4s ease both; }
.card.empty.slot .slot-emoji { font-size: 28px; opacity: 0.7; }
.card.empty.slot .display { font-size: 17px; font-variant-numeric: tabular-nums; }
.phase .arrow { opacity: 0.45; }

/* ----- sheet / modal ----- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(4, 3, 8, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: flex-end; justify-content: center; animation: fade 0.2s ease both; }
.overlay.center { align-items: center; padding: 20px; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 540px; background: var(--bg-2); border: 1px solid var(--glass-border); border-radius: 26px 26px 0 0; padding: 14px 18px calc(22px + var(--safe-bottom)); animation: slide-up 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) both; max-height: 92vh; overflow-y: auto; }
.overlay.center .sheet { border-radius: 26px; padding-bottom: 22px; animation: pop-in 0.3s cubic-bezier(0.2, 1.2, 0.4, 1) both; }
@keyframes slide-up { from { transform: translateY(40px); opacity: 0; } }
.handle { width: 44px; height: 5px; border-radius: 3px; background: var(--glass-border); margin: 0 auto 12px; }
.menu-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: none; text-align: left; font-size: 17px; font-weight: 600; cursor: pointer; border-radius: 10px; }
.menu-item:active { background: var(--glass); }
.menu-item .ic { font-size: 22px; width: 30px; text-align: center; }
.menu-item .sub { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.menu-item.danger { color: var(--danger); }
.switch { margin-left: auto; width: 50px; height: 30px; border-radius: 15px; background: var(--glass-border); position: relative; flex: none; transition: background 0.2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch.on { background: var(--orange); box-shadow: var(--orange-glow); }
.switch.on::after { transform: translateX(20px); }

/* ----- banners & toasts ----- */
#net-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding: calc(8px + var(--safe-top)) 16px 8px; text-align: center; font-weight: 700; font-size: 14px; background: rgba(255, 95, 31, 0.92); color: #140804; transform: translateY(-110%); transition: transform 0.3s; }
#net-banner.show { transform: none; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-bottom)); transform: translateX(-50%); z-index: 95; background: rgba(14, 11, 23, 0.95); border: 1px solid var(--glass-border); border-radius: 16px; padding: 12px 18px; font-weight: 600; max-width: 90vw; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); animation: toast-in 0.3s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } }
.toast.good { border-color: color-mix(in srgb, var(--green) 50%, transparent); box-shadow: var(--green-glow); }
.toast.bad { border-color: rgba(255, 59, 107, 0.6); }
.error { color: var(--danger); font-weight: 600; font-size: 14px; min-height: 20px; }

/* ----- motion ----- */
.deal-in { animation: deal-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; transform-origin: center; }
@keyframes deal-in { from { opacity: 0; transform: perspective(900px) rotateY(80deg) translateY(20px) scale(0.9); } }
.shake { animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
@keyframes shake { 10%, 90% { transform: translate3d(-2px, 0, 0); } 20%, 80% { transform: translate3d(4px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-8px, 0, 0); } 40%, 60% { transform: translate3d(8px, 0, 0); } }
.pulse-warn { animation: pulse-warn 1.1s ease-in-out infinite; }
@keyframes pulse-warn { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 95, 31, 0.3), 0 0 14px rgba(255, 95, 31, 0.2); } 50% { box-shadow: 0 0 0 2px rgba(255, 95, 31, 0.9), 0 0 36px rgba(255, 95, 31, 0.6); } }
.float { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
#fx-layer { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
#fx-layer .piece { position: absolute; left: 50%; top: 60%; will-change: transform, opacity; }
#fx-layer .confetti { width: 10px; height: 14px; border-radius: 2px; }
#fx-layer .bat { width: 34px; height: 34px; color: #c58cff; filter: drop-shadow(0 0 8px rgba(157, 78, 221, 0.9)); }
.big-emoji { font-size: 72px; line-height: 1; text-align: center; filter: drop-shadow(0 0 18px rgba(157, 78, 221, 0.6)); }

/* ----- reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  #particles, #fx-layer { display: none !important; }
  .fog i { animation: none !important; }
}

/* ===== milestone 2: cards, confirmations, boards ===== */
.section-title { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.section-title .count { font-size: 13px; color: var(--muted); font-weight: 600; }
.game-card { padding: 16px; }
.game-card.spicy { box-shadow: 0 0 0 1px rgba(255, 95, 31, 0.28), 0 0 28px rgba(255, 95, 31, 0.14), 0 10px 40px rgba(0, 0, 0, 0.45); }
.game-card.unhinged { box-shadow: 0 0 0 1px rgba(157, 78, 221, 0.35), 0 0 28px rgba(157, 78, 221, 0.18), 0 10px 40px rgba(0, 0, 0, 0.45); }
.game-card.active-card { border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.game-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.game-card .meta .right { display: flex; gap: 6px; align-items: center; }
.chip.board { font-family: var(--font-display); font-weight: 800; }
.chip.board b { color: var(--green); margin-left: 4px; }
.chip.soft { background: transparent; }
.challenge-text { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 14px 0 12px; letter-spacing: -0.01em; }
.challenge-text.sm { font-size: 17px; }
.pname {
  display: inline; padding: 1px 7px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08);
  font: inherit; color: var(--chill); cursor: pointer; text-shadow: 0 0 10px rgba(94, 235, 255, 0.5); white-space: nowrap;
}
.pname.me { color: var(--green); text-shadow: 0 0 10px color-mix(in srgb, var(--green) 50%, transparent); border-color: color-mix(in srgb, var(--green) 35%, transparent); }
.pname.w { color: #ffe66d; text-shadow: 0 0 10px rgba(255, 230, 109, 0.5); }
.people { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.people .person { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.people .person .avatar { width: 34px; height: 34px; }
.people .person .avatar.initials { font-size: 13px; }
.people .person.away .avatar { filter: grayscale(1) opacity(0.5); }
.people .confirms-by { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.timer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.countdown { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.countdown.low { color: var(--orange); text-shadow: var(--orange-glow); }
.countdown.paused { color: var(--chill); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.actions .btn { min-height: 50px; font-size: 16px; }
.actions .full { grid-column: 1 / -1; }
.btn-skip { background: transparent; border-color: var(--glass-border); color: var(--muted); font-size: 15px; }
.tagged-card { border-style: dashed; }
.findme-line { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); font-size: 14px; }
.findme-line b { color: var(--orange); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.waiting-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.waiting-strip::-webkit-scrollbar { display: none; }
.waiting-strip .chip { flex: none; padding: 10px 14px; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.boards .tile-b { padding: 12px 8px; border-radius: 16px; border: 1px solid var(--glass-border); background: var(--glass); text-align: center; min-height: 0; }
.boards .tile-b .n { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.boards .tile-b .r { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: 2px; }
.boards .tile-b .p { font-size: 12px; color: var(--muted); }
.boards .tile-b.goat { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; text-align: left; }
.boards .tile-b.goat .r { font-size: 30px; }
.score-pill { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--green); text-shadow: var(--green-glow); white-space: nowrap; }
.stars { display: flex; justify-content: center; gap: 6px; }
.stars button { background: none; border: 0; font-size: 36px; line-height: 1; padding: 4px; filter: grayscale(1) opacity(0.4); transition: transform 0.1s, filter 0.15s; cursor: pointer; }
.stars button.on { filter: none; transform: scale(1.08); text-shadow: 0 0 14px rgba(255, 230, 109, 0.8); }
.recent { display: flex; flex-direction: column; gap: 6px; }
.recent .item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.recent .item .txt { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.countdown-big { font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 1; text-align: center; animation: count-pop 1s ease-out infinite; }
@keyframes count-pop { 0% { transform: scale(1.25); opacity: 0.6; } 30% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.takeover { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(157, 78, 221, 0.35), rgba(7, 6, 11, 0.96) 70%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade 0.3s ease both; }
.break-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 95, 31, 0.12); border: 1px solid rgba(255, 95, 31, 0.4); }
.break-banner .btn { width: auto; }
.empty { text-align: center; color: var(--muted); padding: 24px 16px; }
.queue-note { font-size: 12.5px; color: var(--orange); }

/* ===== milestone 4: host events ===== */
.event-banner { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.event-banner .ev-emoji { font-size: 30px; }
.event-banner .ev-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.event-banner .countdown { font-size: 12px; }
.option .avatar { width: 48px; height: 48px; }
.option .avatar.initials { font-size: 16px; }
.chk { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 1.35; }
.chk input { width: 20px; height: 20px; flex: none; accent-color: var(--green); margin-top: 1px; }

/* ===== Party themes: same layout, different colours. Halloween is the :root palette above. ===== */
:root[data-theme="party"] {
  --bg: #07060b; --bg-2: #0e0b17; --green: #35f0d0; --orange: #ff4fa3; --violet: #8b5cff; --chill: #5eebff;
  --green-glow: 0 0 14px rgba(53, 240, 208, 0.5), 0 0 40px rgba(53, 240, 208, 0.22);
  --orange-glow: 0 0 14px rgba(255, 79, 163, 0.55), 0 0 40px rgba(255, 79, 163, 0.25);
  --violet-glow: 0 0 14px rgba(139, 92, 255, 0.6), 0 0 40px rgba(139, 92, 255, 0.28);
  --chill-glow: 0 0 14px rgba(94, 235, 255, 0.55), 0 0 40px rgba(94, 235, 255, 0.25);
}
:root[data-theme="family"] {
  --bg: #0a0e1c; --bg-2: #111a30; --green: #5ee6a8; --orange: #ffb347; --violet: #7aa2ff; --chill: #7fd8ff;
  --green-glow: 0 0 14px rgba(94, 230, 168, 0.5), 0 0 40px rgba(94, 230, 168, 0.22);
  --orange-glow: 0 0 14px rgba(255, 179, 71, 0.55), 0 0 40px rgba(255, 179, 71, 0.25);
  --violet-glow: 0 0 14px rgba(122, 162, 255, 0.6), 0 0 40px rgba(122, 162, 255, 0.28);
  --chill-glow: 0 0 14px rgba(127, 216, 255, 0.55), 0 0 40px rgba(127, 216, 255, 0.25);
}
:root[data-theme="thanksgiving"] {
  --bg: #120b07; --bg-2: #1d120b; --green: #ffc857; --orange: #ff7a2f; --violet: #c8553d; --chill: #ffd9a0;
  --green-glow: 0 0 14px rgba(255, 200, 87, 0.5), 0 0 40px rgba(255, 200, 87, 0.22);
  --orange-glow: 0 0 14px rgba(255, 122, 47, 0.55), 0 0 40px rgba(255, 122, 47, 0.25);
  --violet-glow: 0 0 14px rgba(200, 85, 61, 0.6), 0 0 40px rgba(200, 85, 61, 0.28);
  --chill-glow: 0 0 14px rgba(255, 217, 160, 0.55), 0 0 40px rgba(255, 217, 160, 0.25);
}
:root[data-theme="corporate"] {
  --bg: #070b13; --bg-2: #0d1422; --green: #4dd4ff; --orange: #6f8cff; --violet: #3a6df0; --chill: #9fe3ff;
  --green-glow: 0 0 14px rgba(77, 212, 255, 0.5), 0 0 40px rgba(77, 212, 255, 0.22);
  --orange-glow: 0 0 14px rgba(111, 140, 255, 0.55), 0 0 40px rgba(111, 140, 255, 0.25);
  --violet-glow: 0 0 14px rgba(58, 109, 240, 0.6), 0 0 40px rgba(58, 109, 240, 0.28);
  --chill-glow: 0 0 14px rgba(159, 227, 255, 0.55), 0 0 40px rgba(159, 227, 255, 0.25);
}

/* =====================================================================
   MODERN LOOK (Nov 2026). Sits on top of everything above and wins.
   Flat dark grey, plain white type, one dusty electric purple accent (the variable is still called --green), pill buttons,
   challenge cards as solid colour posters. No glows, no gradients.
   ===================================================================== */
:root, :root[data-theme] {
  --bg: #17171a; --bg-2: #232327;
  --text: #f5f4ef; --muted: rgba(245, 244, 239, 0.6); --faint: rgba(245, 244, 239, 0.36);
  --glass: rgba(245, 244, 239, 0.05); --glass-strong: rgba(245, 244, 239, 0.09); --glass-border: rgba(245, 244, 239, 0.14);
  --ink: #0b0b0c;
  --green-glow: 0 0 0 transparent; --orange-glow: 0 0 0 transparent; --violet-glow: 0 0 0 transparent; --chill-glow: 0 0 0 transparent;
  --radius: 24px;
}
/* --green is the main accent and is the same purple for every kind of party; the other accents and the card colours change per kind */
:root                            { --green: #a88cff; --orange: #ff7a4a; --violet: #ff8fc4; --chill: #8fd9ff; --card-chill: #f1ece1; --card-spicy: #f7a81b; --card-unhinged: #ff9ccb; }
:root[data-theme="party"]        { --green: #a88cff; --orange: #ff6fae; --violet: #ff9b6b; --chill: #8fd9ff; --card-chill: #f1ece1; --card-spicy: #ff7ab8; --card-unhinged: #ffa57a; }
:root[data-theme="family"]       { --green: #a88cff; --orange: #ffb347; --violet: #8fc4ff; --chill: #8fd9ff; --card-chill: #f1ece1; --card-spicy: #ffb95c; --card-unhinged: #a9c0ff; }
:root[data-theme="thanksgiving"] { --green: #a88cff; --orange: #ff7a2f; --violet: #e9967a; --chill: #ffd9a0; --card-chill: #f3e6cf; --card-spicy: #ff8a45; --card-unhinged: #e9a18a; }
:root[data-theme="corporate"]    { --green: #a88cff; --orange: #8fa6ff; --violet: #8fc4ff; --chill: #bfe9ff; --card-chill: #e9eef5; --card-spicy: #9fb2ff; --card-unhinged: #7fd0ff; }

/* background: nothing drifting, nothing glowing */
.fog, .vignette, #particles { display: none !important; }

/* type */
h1, h2, h3, .display { letter-spacing: -0.035em; line-height: 1; }
h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -0.045em; line-height: 0.95; }
h2 { font-size: clamp(28px, 8vw, 36px); }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; }
.gradient-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; filter: none; }
.glow-violet { color: var(--violet); }
.label { font-size: 11.5px; letter-spacing: 0.14em; }
.big-emoji { font-size: 56px; filter: none; }

/* cards: flat panels with a hairline */
.card { background: var(--bg-2); border: 1px solid var(--glass-border); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.card.holo::before, .card.holo::after { display: none; }
.card.glow-g { box-shadow: none; border-color: var(--green); }
.card.glow-o { box-shadow: none; border-color: var(--orange); }
.card.glow-v { box-shadow: none; border-color: var(--violet); }

/* buttons: solid pills */
.btn { border-radius: 99px; letter-spacing: -0.02em; background: var(--glass-strong); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.btn-primary { background: var(--green); color: var(--ink); box-shadow: none; }
.btn-orange { background: var(--orange); color: var(--ink); box-shadow: none; }
.btn-violet { background: var(--text); color: var(--ink); box-shadow: none; }
.btn-ghost { background: transparent; border-color: rgba(245, 244, 239, 0.28); }
.btn-text { background: transparent; border-color: transparent; }
.btn-danger { background: transparent; border-color: color-mix(in srgb, var(--danger) 50%, transparent); }
.btn-sm { border-radius: 99px; }
.btn-skip { background: transparent; border-color: transparent; }

/* inputs */
.input { background: transparent; border-color: rgba(245, 244, 239, 0.22); border-radius: 18px; }
.input:focus { border-color: var(--green); box-shadow: none; }
.search .input { background: rgba(23, 23, 26, 0.92); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 99px; }
.pin b { background: transparent; border-color: rgba(245, 244, 239, 0.22); }
.pin b.filled { border-color: var(--green); box-shadow: none; color: var(--green); }
.pin b.cursor { border-color: var(--text); }
@keyframes blink { 50% { border-color: rgba(245, 244, 239, 0.22); box-shadow: none; } }

/* avatars */
.avatar { background: #1c1c1e; box-shadow: 0 0 0 1.5px rgba(245, 244, 239, 0.14); }
.avatar.icon { background: #1c1c1e; }
.avatar.initials { background: #232325; color: var(--text); }
.avatar.ring { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--green); }
.avatar.ring-v { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--violet); }
.avatar-pair .avatar.photo-badge { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--orange); }

/* tiles, chips, options */
.tile { background: var(--bg-2); border-color: transparent; border-radius: 20px; }
.tile.me { border-color: var(--green); box-shadow: none; }
.badge { background: var(--orange); color: var(--ink); border-color: transparent; }
.badge.online { background: var(--green); color: var(--ink); border-color: transparent; }
.dot.on, .dots i.on, .steps i.done, .steps i.now { box-shadow: none; }
.chip { background: transparent; border-color: var(--glass-border); }
.vibe { text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.1em; }
.vibe.chill { color: var(--card-chill); border-color: currentColor; background: transparent; text-shadow: none; }
.vibe.spicy { color: var(--card-spicy); border-color: currentColor; background: transparent; text-shadow: none; }
.vibe.unhinged { color: var(--card-unhinged); border-color: currentColor; background: transparent; text-shadow: none; }
.option { background: var(--bg-2); border-color: transparent; border-radius: 20px; }
.option.selected, .option.selected.o-orange, .option.selected.o-violet, .option.selected.o-chill { box-shadow: none; }
.option.selected { border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, var(--bg-2)); }
.option.selected.o-orange { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 10%, var(--bg-2)); }
.option.selected.o-violet { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 10%, var(--bg-2)); }
.option.selected.o-chill { border-color: var(--chill); background: color-mix(in srgb, var(--chill) 10%, var(--bg-2)); }

/* lobby bits */
.hero .findme { background: transparent; border: 0; border-top: 1px solid var(--glass-border); border-radius: 0; padding: 14px 0 0; }
.hero .findme .k, .findme-line b { color: var(--muted); letter-spacing: 0.14em; }
.carousel .slide .num { color: var(--muted); letter-spacing: 0.14em; }
.round-strip { background: transparent; border-color: var(--glass-border); border-radius: 99px; padding: 8px 14px; }
.round-strip.lightning { border-color: #ffe66d; box-shadow: none; }
.findme-line { background: rgba(245, 244, 239, 0.06); }
.recent .item { background: transparent; border-bottom: 1px solid var(--glass-border); border-radius: 0; padding: 10px 0; }
.break-banner { background: transparent; border-color: var(--orange); }

/* sheets, banners, toasts */
.overlay { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sheet { background: var(--bg-2); border-color: var(--glass-border); }
.switch.on { background: var(--green); box-shadow: none; }
.switch.on::after { background: var(--ink); }
#net-banner { background: var(--orange); color: var(--ink); }
.toast { background: var(--text); color: var(--ink); border: 0; border-radius: 22px; padding: 12px 20px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.toast.good { background: var(--green); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.toast.bad { background: var(--danger); color: #fff; }
.takeover { background: rgba(23, 23, 26, 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
.stars button.on { text-shadow: none; }
#fx-layer .bat { filter: none; color: var(--violet); }
@keyframes pulse-warn { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 244, 239, 0); } 50% { box-shadow: 0 0 0 4px rgba(245, 244, 239, 0.85); } }

/* scores */
.boards .tile-b { background: var(--bg-2); border-color: transparent; border-radius: 20px; }
.boards .tile-b.goat { background: var(--green); color: var(--ink); }
.boards .tile-b.goat .n, .boards .tile-b.goat .p { color: rgba(11, 11, 12, 0.65); }
.chip.board b { color: var(--green); }

/* ----- your own challenge cards: a solid colour poster with dark type ----- */
.game-card.holo { --card: var(--card-chill); background: var(--card); color: var(--ink); border-color: transparent; border-radius: 26px; padding: 18px; box-shadow: none; }
.game-card.holo.spicy { --card: var(--card-spicy); box-shadow: none; }
.game-card.holo.unhinged { --card: var(--card-unhinged); box-shadow: none; }
.game-card.holo.active-card { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--card); }
.game-card.holo .challenge-text { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.03em; margin: 16px 0 14px; }
.game-card.holo .chip { border-color: rgba(11, 11, 12, 0.22); color: var(--ink); text-shadow: none; }
.game-card.holo .vibe { background: var(--ink); color: var(--card); border-color: var(--ink); }
.game-card.holo .chip.board b { background: var(--ink); color: var(--card); padding: 1px 8px; border-radius: 99px; margin-left: 6px; }
.game-card.holo .muted, .game-card.holo .people .person, .game-card.holo .people .confirms-by, .game-card.holo .countdown { color: rgba(11, 11, 12, 0.66); }
.game-card.holo .countdown.low { background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 99px; text-shadow: none; }
.game-card.holo .avatar { box-shadow: 0 0 0 1.5px rgba(11, 11, 12, 0.25); }
.game-card.holo .pname, .game-card.holo .pname.w { background: none; border: 0; padding: 0; border-radius: 0; color: inherit; text-shadow: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.game-card.holo .pname.me { background: var(--ink); color: var(--card); text-decoration: none; padding: 0 8px 1px; border-radius: 8px; }
.game-card.holo .findme-line { background: rgba(11, 11, 12, 0.08); }
.game-card.holo .findme-line b { color: rgba(11, 11, 12, 0.66); }
.game-card.holo .btn { border-color: rgba(11, 11, 12, 0.3); background: transparent; color: var(--ink); }
.game-card.holo .btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.game-card.holo .btn-violet { border: 1.5px solid var(--ink); }
.game-card.holo .btn-skip { border-color: transparent; color: rgba(11, 11, 12, 0.66); min-height: 40px; }

/* cards other people pulled you into, and names anywhere else: quiet, on black */
.tagged-card { background: transparent; border: 1px dashed rgba(245, 244, 239, 0.3); }
.game-card.spicy, .game-card.unhinged { box-shadow: none; }
.pname { background: none; border: 0; padding: 0; border-radius: 0; text-shadow: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pname.me, .pname.w { text-shadow: none; border: 0; }
.countdown.low { text-shadow: none; }

.btn:disabled { opacity: 1; background: var(--glass-strong); color: var(--faint); }
