:root {
  --mewtwo-y: #B8A0D4;
  --mewtwo-x: #D4CCE8;
  --accent-gold: #F5C842;
  --accent-pink: #E040A0;
  --accent-blue: #3A8FE8;
  --accent-cyan: #00E5FF;
  --accent-purple: #B070F0;
  --accent-teal: #00D4A0;

  --pokered: var(--accent-pink);
  --pokeyellow: var(--accent-gold);
  --dark-bg: #0A0612;
  --card-bg: #18122A;
  --card-bg2: #1A1030;
  --card-border: rgba(184,160,212,0.42);
  --text-main: #F8F3FF;
  --text-muted: #D4C6EA;
  --grass: #00D4A0;
  --glow-red: rgba(224,64,160,0.5);
  --glow-yellow: rgba(245,200,66,0.5);
  --border-dim: rgba(184,160,212,0.2);
  --border-bright: rgba(184,160,212,0.48);
  --sun-shadow: 0 3px 0 rgba(0,0,0,0.65), 0 10px 24px rgba(0,0,0,0.45), 0 0 18px rgba(176,112,240,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: #0A0612;
  min-height: 100%;
}

body {
  background:
    radial-gradient(ellipse 60% 50% at 20% 12%, rgba(180,80,220,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(40,100,220,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 45% 60% at 50% 100%, rgba(0,229,255,0.12) 0%, transparent 80%),
    linear-gradient(180deg, #0A0612 0%, #14082A 100%);
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(184,160,212,0.05) 39px, rgba(184,160,212,0.05) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(184,160,212,0.05) 39px, rgba(184,160,212,0.05) 40px),
    linear-gradient(rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  pointer-events: none;
  z-index: 1000;
}

body::after {
  content: '';
  position: fixed;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 60px solid rgba(224,64,160,0.08);
  box-shadow: -180px 240px 0 -140px rgba(0,229,255,0.12);
  pointer-events: none;
  z-index: 0;
}

header {
  position: relative;
  padding: 24px 20px 0;
  text-align: center;
  z-index: 10;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 3.25rem;
  letter-spacing: 3px;
  line-height: 0.95;
  color: var(--pokeyellow);
  text-shadow: 0 3px 0 #000, 0 0 18px var(--glow-yellow), 0 0 34px rgba(224,64,160,0.35);
}

.logo span { color: var(--accent-cyan); text-shadow: 0 3px 0 #000, 0 0 16px rgba(0,229,255,0.55); }

.tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.76rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 700;
  text-shadow: 0 2px 0 #000;
}

.tabs {
  display: flex;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 0;
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background:
    linear-gradient(110deg, rgba(224,64,160,0.24), transparent 28%, transparent 72%, rgba(58,143,232,0.24)),
    rgba(10,6,18,0.96);
  border-top: 2px solid var(--card-border);
  border-left: 2px solid rgba(255,255,255,0.12);
  border-right: 2px solid rgba(255,255,255,0.12);
  border-radius: 6px 6px 0 0;
  z-index: 1500;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.6), 0 0 28px rgba(0,229,255,0.12);
  backdrop-filter: blur(10px);
}

.tab {
  flex: 1;
  min-height: 50px;
  padding: 8px 4px;
  background: linear-gradient(180deg, #1A1030, #0F0A1B);
  border: 2px solid rgba(184,160,212,0.46);
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -10px 18px rgba(0,0,0,0.35);
}

.tab::before {
  content: '';
  position: absolute;
  inset: 4px 8px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0.55;
}

.tab::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 24px;
  height: 3px;
  transform: translateX(-50%);
  background: rgba(200,200,226,0.55);
  border-radius: 999px;
}

.tab.active {
  color: #09090D;
  background: linear-gradient(180deg, #FFE48A, var(--accent-gold) 52%, #C78A14);
  border-color: #FFF1A3;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 18px rgba(245,200,66,0.48), 0 0 24px rgba(224,64,160,0.24), 0 3px 0 rgba(0,0,0,0.65);
}

.tab.active::after {
  background: #09090D;
  box-shadow: 0 0 8px rgba(0,0,0,0.45);
}

.tab:hover:not(.active) {
  color: var(--text-main);
  border-color: rgba(0,229,255,0.72);
  background: linear-gradient(180deg, #241638, #151027);
}

.content {
  padding: 20px 16px calc(92px + env(safe-area-inset-bottom));
  position: relative;
  z-index: 10;
}

.view { display: none; }
.view.active { display: block; }

.hidden { display: none !important; }

.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  margin-top: 4px;
  font-weight: 700;
}

.hunt-card {
  background:
    linear-gradient(135deg, rgba(140,60,200,0.11), rgba(40,100,220,0.08)),
    var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sun-shadow);
}

.hunt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--accent-cyan)), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.hunt-card:hover::before, .hunt-card.selected::before { opacity: 1; }
.hunt-card:hover { border-color: rgba(0,229,255,0.8); transform: translateY(-1px); }
.hunt-card.selected { border-color: var(--accent-gold); background: linear-gradient(135deg, rgba(245,200,66,0.13), rgba(224,64,160,0.12)), var(--card-bg2); }

.hunt-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

.hunt-icon {
  width: 48px; height: 48px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.5);
}

.hunt-icon-0 { background: rgba(76,175,80,0.15); }
.hunt-icon-1 { background: rgba(227,53,13,0.15); }
.hunt-icon-2 { background: rgba(103,58,183,0.15); }
.hunt-icon-3 { background: rgba(33,150,243,0.15); }
.hunt-icon-4 { background: rgba(255,235,59,0.15); }

.hunt-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.55rem; letter-spacing: 2px; color: var(--text-main); }
.hunt-meta { font-size: 0.86rem; color: var(--text-muted); margin-top: 2px; font-weight: 600; }
.hunt-desc { font-size: 0.98rem; color: #ECECFA; line-height: 1.5; font-weight: 600; }
.hunt-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

.tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  padding: 5px 9px;
  border-radius: 2px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.challenge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-bright);
}

.back-btn {
  background: linear-gradient(180deg, #1A1030, #100A1D);
  border: 2px solid var(--card-border);
  border-radius: 3px;
  color: var(--text-main);
  min-height: 44px;
  padding: 8px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.back-btn:hover { color: var(--text-main); border-color: rgba(255,255,255,0.2); }

.progress-bar-wrap {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 2px solid var(--card-border);
  border-radius: 3px;
  height: 16px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan), var(--accent-gold));
  transition: width 0.5s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 0 8px var(--glow-yellow);
}

.progress-text { font-family: 'Share Tech Mono', monospace; font-size: 0.92rem; color: var(--accent-cyan); font-weight: 400; white-space: nowrap; text-shadow: 0 2px 0 #000; }

.challenge-item {
  background:
    linear-gradient(135deg, rgba(140,60,200,0.1), rgba(40,100,220,0.08)),
    var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  box-shadow: var(--sun-shadow);
}

.challenge-item.completed { border-color: rgba(0,212,160,0.85); background: linear-gradient(135deg, rgba(0,212,160,0.12), rgba(58,143,232,0.08)), var(--card-bg2); }

.challenge-item.completed::after {
  content: '✓';
  position: absolute;
  top: 14px; right: 16px;
  color: var(--accent-teal);
  font-size: 1.1rem;
  font-weight: 900;
}

.challenge-item:not(.completed):hover { border-color: rgba(0,229,255,0.6); transform: translateX(3px); }

.challenge-top { display: flex; align-items: flex-start; gap: 12px; }

.challenge-num {
  width: 34px; height: 34px;
  border-radius: 3px;
  background: var(--dark-bg);
  border: 2px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.86rem;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 400;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

.challenge-item.completed .challenge-num {
  background: rgba(0,212,160,0.15);
  border-color: rgba(0,212,160,0.5);
  color: var(--accent-teal);
}

.challenge-body { flex: 1; }

.challenge-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.34rem; font-weight: 400; letter-spacing: 1.5px; color: var(--text-main); margin-bottom: 4px; }
.challenge-item.completed .challenge-name { color: var(--text-muted); text-decoration: line-through; }

.challenge-detail { font-size: 0.94rem; color: #ECECFA; line-height: 1.5; font-weight: 600; }

.challenge-tip {
  font-size: 0.9rem;
  color: var(--accent-gold);
  margin-top: 6px;
  padding: 8px 10px;
  background: rgba(245,200,66,0.13);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 3px 3px 0;
  display: none;
  font-weight: 700;
}

.challenge-item.open .challenge-tip { display: block; }

.challenge-xp { font-family: 'Share Tech Mono', monospace; font-size: 0.82rem; color: var(--accent-gold); font-weight: 400; letter-spacing: 1.5px; margin-top: 5px; text-shadow: 0 2px 0 #000; }

.upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  min-height: 46px;
  padding: 10px 14px;
  background: rgba(245,200,66,0.13);
  border: 2px dashed rgba(245,200,66,0.78);
  border-radius: 3px;
  color: var(--accent-gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.upload-btn:hover { background: rgba(245,200,66,0.22); border-color: var(--accent-gold); }

.upload-btn.has-photo {
  border-style: solid;
  border-color: rgba(0,212,160,0.9);
  background: rgba(0,212,160,0.15);
  color: #74FFE0;
}

.snap-thumb {
  width: 100%;
  border-radius: 4px;
  margin-top: 10px;
  max-height: 200px;
  object-fit: cover;
  border: 2px solid var(--card-border);
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}

.snap-thumb:hover { opacity: 0.82; }

.points-panel {
  background:
    linear-gradient(135deg, rgba(224,64,160,0.1), rgba(58,143,232,0.1)),
    var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--sun-shadow);
}

.points-label { font-family: 'Share Tech Mono', monospace; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-cyan); font-weight: 400; }

.points-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--pokeyellow);
  text-shadow: 0 3px 0 #000, 0 0 16px var(--glow-yellow);
  line-height: 1;
}

.points-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; font-weight: 600; }

.complete-banner {
  background: linear-gradient(135deg, rgba(245,200,66,0.16), rgba(224,64,160,0.14), rgba(58,143,232,0.12));
  border: 2px solid rgba(245,200,66,0.75);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--sun-shadow);
}

.complete-banner.visible { display: block; }

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.complete-trophy { font-size: 2.5rem; margin-bottom: 8px; }

.complete-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--pokeyellow);
  text-shadow: 0 3px 0 #000, 0 0 16px var(--glow-yellow);
}

.complete-sub { font-size: 0.95rem; color: #ECECFA; margin-top: 4px; font-weight: 600; }

.section-hint { margin-top: 20px; }

#no-hunt-msg { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.no-hunt-icon { font-size: 2.5rem; margin-bottom: 12px; }
.no-hunt-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.45rem; font-weight: 400; letter-spacing: 2px; color: var(--text-main); margin-bottom: 6px; }
.no-hunt-sub { font-size: 0.96rem; font-weight: 600; color: #ECECFA; }

.gallery-empty {
  text-align: center;
  padding: 50px 20px;
  color: #ECECFA;
}

.gallery-empty-icon { font-size: 3rem; margin-bottom: 12px; }

.gallery-empty-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.gallery-empty-sub { font-size: 0.95rem; line-height: 1.55; font-weight: 600; }

.gallery-hunt-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-hunt-label::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--border-bright), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.gallery-cell {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  box-shadow: var(--sun-shadow);
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-cell:hover img { transform: scale(1.05); }

.gallery-cell-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  line-height: 1.3;
  text-shadow: 0 2px 0 #000;
}

.gallery-xp-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--pokeyellow);
  color: #000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  padding: 4px 7px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.65);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-meta { margin-top: 14px; text-align: center; }

.lightbox-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--pokeyellow);
}

.lightbox-sub { font-family: 'Share Tech Mono', monospace; font-size: 0.82rem; color: var(--accent-cyan); margin-top: 4px; font-weight: 400; letter-spacing: 1px; }

.lightbox-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }

.lb-btn {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 3px;
  border: 2px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.lb-btn:hover { border-color: rgba(255,255,255,0.3); }
.lb-btn.danger { color: #EF9A9A; border-color: rgba(244,67,54,0.3); }
.lb-btn.danger:hover { background: rgba(244,67,54,0.1); border-color: rgba(244,67,54,0.6); }
.lb-btn.primary { color: var(--pokeyellow); border-color: rgba(245,200,66,0.55); }
.lb-btn.primary:hover { background: rgba(245,200,66,0.16); }

.rules-section { margin-bottom: 20px; }

.rules-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.42rem;
  letter-spacing: 2px;
  color: var(--pokeyellow);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-title::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
}

.rule-item {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(140,60,200,0.1), rgba(40,100,220,0.08)), var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 4px;
  box-shadow: var(--sun-shadow);
}

.rule-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.rule-text { font-size: 0.97rem; color: #ECECFA; line-height: 1.55; font-weight: 600; }
.rule-text strong { color: var(--text-main); }

.type-grass { background: rgba(0,212,160,0.16); color: #74FFE0; border: 1px solid rgba(0,212,160,0.55); }
.type-water { background: rgba(58,143,232,0.18); color: #A9D8FF; border: 1px solid rgba(58,143,232,0.58); }
.type-fire { background: rgba(224,64,160,0.16); color: #FFB9DF; border: 1px solid rgba(224,64,160,0.58); }
.type-electric { background: rgba(245,200,66,0.16); color: #FFE48A; border: 1px solid rgba(245,200,66,0.6); }
.type-normal { background: rgba(212,204,232,0.13); color: #F0EAF8; border: 1px solid rgba(212,204,232,0.48); }
.type-psychic { background: rgba(224,64,160,0.18); color: #FFB9DF; border: 1px solid rgba(224,64,160,0.62); }
.type-ghost { background: rgba(176,112,240,0.18); color: #E6D0FF; border: 1px solid rgba(176,112,240,0.6); }
.type-dragon { background: rgba(58,143,232,0.18); color: #C9D9FF; border: 1px solid rgba(58,143,232,0.58); }
.type-fighting { background: rgba(0,229,255,0.16); color: #9CF2FF; border: 1px solid rgba(0,229,255,0.55); }
.type-flying { background: rgba(0,229,255,0.13); color: #B7F5FF; border: 1px solid rgba(0,229,255,0.48); }
.difficulty-easy { background: rgba(0,212,160,0.14); color: #74FFE0; border: 1px solid rgba(0,212,160,0.5); }
.difficulty-medium { background: rgba(245,200,66,0.14); color: #FFE48A; border: 1px solid rgba(245,200,66,0.55); }
.difficulty-hard { background: rgba(224,64,160,0.14); color: #FFB9DF; border: 1px solid rgba(224,64,160,0.55); }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #101022;
  border: 2px solid rgba(0,212,160,0.85);
  color: #74FFE0;
  padding: 12px 22px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.7px;
  z-index: 3000;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--sun-shadow);
}

.toast.show { transform: translateX(-50%) translateY(0); }

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,64,160,0.6), transparent);
  margin: 16px 0;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

/* Prize banner */
.prize-banner {
  display: none;
  margin: 12px 0 8px;
  padding: 18px 20px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid transparent;
}
.prize-banner.visible { display: block; }

.prize-banner.prize-active {
  background: linear-gradient(135deg, rgba(0,200,100,0.18), rgba(0,160,80,0.10));
  border-color: rgba(0,220,110,0.7);
  box-shadow: 0 0 24px rgba(0,220,110,0.25);
  animation: prize-pulse 1.8s ease-in-out infinite;
}
.prize-banner.prize-upcoming {
  background: linear-gradient(135deg, rgba(90,120,255,0.18), rgba(60,80,200,0.10));
  border-color: rgba(120,160,255,0.6);
}
.prize-banner.prize-ended {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

.prize-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.prize-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.prize-banner.prize-active .prize-title { color: #4dffb0; }
.prize-banner.prize-upcoming .prize-title { color: #99bbff; }
.prize-banner.prize-ended .prize-title { color: #aaa; }

.prize-sub {
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.88;
}
.prize-banner.prize-active .prize-sub { color: #ccffe8; }
.prize-banner.prize-upcoming .prize-sub { color: #ccd8ff; }
.prize-banner.prize-ended .prize-sub { color: #888; }

@keyframes prize-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0,220,110,0.25); }
  50%       { box-shadow: 0 0 40px rgba(0,220,110,0.50); }
}
