* {
  box-sizing: border-box;
}

:root {
  --color-aurora-deep: #050810;
  --color-aurora-mid: #0a0f1c;
  --color-aurora-blue: #22d3ee;
  --color-accent-muted: #06b6d4;
  --color-text-muted: #94a3b8;
  --glass-border: rgba(148, 163, 184, 0.12);
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35), 0 20px 50px -12px rgba(0, 0, 0, 0.45);
  --font-display: Plus Jakarta Sans, Inter, system-ui, sans-serif;
}

html {
  font-size: 16px;
}

body {
  position: relative;
  background-color: #050810;
  color: #e2e8f0;
  font-family: "Inter", system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 130% 90% at 50% -35%, rgba(34, 211, 238, 0.14), transparent 55%), radial-gradient(ellipse 70% 50% at 100% 10%, rgba(129, 140, 248, 0.09), transparent 50%), radial-gradient(ellipse 55% 45% at 0% 85%, rgba(45, 212, 191, 0.07), transparent 45%), linear-gradient(180deg, #050810 0%, #0a0f1c 38%, #0c1424 100%);
}

body.game-layout {
  display: block;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: #f8fafc;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #22d3ee;
  text-decoration: none;
}
a:hover {
  color: #67e8f9;
}

input, textarea, button {
  font-family: inherit;
}

@keyframes popIn {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes aurora-shift {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
.site-header .header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: nowrap;
}
.site-header .header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  flex: 1;
  min-width: 0;
}
.site-header .logo {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  letter-spacing: -0.03em;
  color: #f8fafc;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.site-header .logo .logo-accent {
  background: linear-gradient(135deg, #22d3ee 0%, #5eead4 55%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-header .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header .nav-toggle:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
}
.site-header .nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #e2e8f0;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header .nav-backdrop {
  display: none;
}
.site-header .site-nav {
  display: flex;
  gap: 0.35rem 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}
.site-header .site-nav a:not(.btn):not(.nav-profile-link) {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.15rem;
}
.site-header .site-nav a:not(.btn):not(.nav-profile-link):hover {
  color: #e2e8f0;
}
.site-header .site-nav .btn--nav {
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}
.site-header .site-nav__logout {
  font-size: 0.85rem !important;
  opacity: 0.85;
}
.site-header .site-nav .nav-profile-link {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.15rem;
  margin: -0.05rem 0;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: inherit;
  font-weight: inherit;
  color: #e2e8f0;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.site-header .site-nav .nav-profile-link:hover {
  color: #e2e8f0;
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.22);
}
.site-header .site-nav .nav-profile-link:hover .ui-identity {
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 4px 20px rgba(34, 211, 238, 0.12);
}
.site-header .site-nav .nav-profile-link:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 3px;
}
body.nav-open .site-header .nav-toggle {
  border-color: rgba(34, 211, 238, 0.45);
}
body.nav-open .site-header .nav-toggle .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .site-header .nav-toggle .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
body.nav-open .site-header .nav-toggle .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .site-header .nav-toggle {
    display: flex;
  }
  .site-header .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(5, 8, 16, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .site-header .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 160;
    width: min(100vw - 3rem, 320px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 5rem 1.25rem 2rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    background: rgba(10, 15, 28, 0.97);
    border-left: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-header .site-nav a:not(.nav-profile-link) {
    padding: 0.85rem 0.75rem !important;
    border-radius: 10px;
    font-size: 1rem !important;
  }
  .site-header .site-nav a:not(.nav-profile-link):hover {
    background: rgba(255, 255, 255, 0.04);
  }
  .site-header .site-nav .nav-profile-link {
    padding: 0.35rem 0.5rem !important;
    justify-content: flex-start;
  }
  .site-header .site-nav .btn--nav {
    text-align: center;
    margin-top: 0.35rem;
  }
  body.nav-open .site-header .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open .site-header .site-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
  }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}
main {
  flex: 1;
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  main {
    padding: 1.5rem 1rem 2.5rem;
  }
}
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  font-size: 0.88rem;
  background: rgba(5, 8, 16, 0.55);
}
.site-footer .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
}
.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.site-footer .footer-col a {
  color: #94a3b8;
  font-size: 0.85rem;
}
.site-footer .footer-col a:hover {
  color: #22d3ee;
}
.site-footer .footer-brand {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0 0 0.25rem;
}
.site-footer .footer-tagline {
  margin: 0;
  line-height: 1.5;
  max-width: 22rem;
}
.site-footer .footer-heading {
  font-weight: 700;
  color: #cbd5e1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.25rem;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  opacity: 0.7;
}
.site-footer .footer-bottom p {
  margin: 0;
}

@media (max-width: 700px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 440px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.btn--admin {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #818cf8;
}
.btn--admin:hover {
  background: rgba(129, 140, 248, 0.25);
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn--primary {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  color: #042f2e;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.38);
  filter: brightness(1.05);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--outline {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}
.btn--outline:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.06);
}
.btn--xl {
  padding: 1.15rem 2.6rem;
  font-size: 1.45rem;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.25);
}
.btn--sm {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}
.btn--full {
  width: 100%;
  text-align: center;
}

.glass-card {
  background: linear-gradient(155deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.65) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35), 0 20px 50px -12px rgba(0, 0, 0, 0.45);
}

.teacher-hint {
  background: rgba(34, 211, 238, 0.06);
  border-left: 4px solid #22d3ee;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.guide-link {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.45);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 1rem;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.guide-link:hover {
  background: rgba(34, 211, 238, 0.16);
  transform: translateY(-1px);
}

.guide-inline-link {
  background: none;
  border: none;
  color: #22d3ee;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  margin-left: 0.5rem;
}
.guide-inline-link:hover {
  opacity: 0.9;
}

.guide-root {
  pointer-events: none;
}

.guide-popover {
  position: fixed;
  z-index: 100000;
  pointer-events: auto;
  max-width: 100%;
}

.guide-popover__inner {
  position: relative;
  background: rgba(10, 15, 28, 0.96);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 22px;
  padding: 1.35rem 1.5rem 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.guide-popover__progress {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #22d3ee;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.guide-popover__title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: #fff;
}

.guide-popover__body {
  margin: 0 0 1.25rem;
  color: #94a3b8;
  line-height: 1.55;
  font-size: 0.98rem;
}

.guide-popover__actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.guide-popover__btn {
  min-width: 6rem;
}

.guide-popover__close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.guide-popover__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.loader {
  border: 5px solid rgba(148, 163, 184, 0.12);
  border-top: 5px solid #22d3ee;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 2rem;
}

.security-badge {
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nick-gradient--galaxy {
  background: linear-gradient(135deg, #818cf8, #6366f1, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nick-gradient--aurora {
  background: linear-gradient(135deg, #22d3ee, #14b8a6, #5eead4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nick-gradient--burning-gold {
  background: linear-gradient(135deg, #f59e0b, #ef4444, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cp {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-border {
  width: 72px;
  height: 72px;
  border: 4px solid #fff;
  border-radius: 14px;
}

.cp-avatar {
  font-size: 3.25rem;
}

.cp-badge {
  font-size: 3.5rem;
}

.cp-name {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.cp--sm.cp-border {
  width: 40px;
  height: 40px;
  border-width: 3px;
  border-radius: 8px;
}
.cp--sm.cp-avatar {
  font-size: 1.75rem;
}
.cp--sm.cp-badge {
  font-size: 1.75rem;
}
.cp--sm.cp-name {
  font-size: 1.15rem;
}

.cp--lg.cp-border {
  width: 96px;
  height: 96px;
  border-width: 5px;
  border-radius: 18px;
}
.cp--lg.cp-avatar {
  font-size: 4.5rem;
}
.cp--lg.cp-badge {
  font-size: 4.5rem;
}
.cp--lg.cp-name {
  font-size: 3rem;
}

.points-badge-inline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.65rem 1rem;
  border-radius: 12px;
  gap: 0.1rem;
}

.pbi-value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #22d3ee;
  line-height: 1.15;
}

.pbi-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.streak-badge--hot {
  animation: streakGlow 1.2s ease-in-out infinite;
}

@keyframes streakGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
  }
  50% {
    box-shadow: 0 0 8px 2px rgba(251, 191, 36, 0.25);
  }
}
@media (prefers-reduced-motion: reduce) {
  .streak-badge--hot {
    animation: none;
  }
}
.flash {
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.45;
}

.flash--success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.flash--error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.flash--info {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #22d3ee;
}

.lb-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.8rem;
}

.lb-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1200;
}

.lb-silver {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #1e293b;
}

.lb-bronze {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
}

.shop-card--equipped {
  border-color: rgba(34, 211, 238, 0.45) !important;
}

.shop-tag--equipped {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.35);
  margin-bottom: 0.5rem;
}

.ui-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: min(18rem, 100%);
  padding: 0.18rem 0.65rem 0.18rem 0.22rem;
  border-radius: 999px;
  vertical-align: middle;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.88) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 4px 18px rgba(0, 0, 0, 0.28);
}

.ui-identity__collab {
  position: relative;
  flex-shrink: 0;
  line-height: 0;
}

.ui-identity--sm {
  gap: 0.35rem;
  padding: 0.1rem 0.5rem 0.1rem 0.12rem;
  max-width: min(14rem, 100%);
}
.ui-identity--sm .ui-avatar {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.82rem;
  border-width: 2px;
}
.ui-identity--sm .ui-badge--collab {
  width: 0.92rem;
  height: 0.92rem;
  min-width: 0.92rem;
  font-size: 0.52rem;
  right: -3px;
  bottom: -2px;
  border-width: 1.5px;
}
.ui-identity--sm .ui-name {
  font-size: 0.82rem;
  max-width: 9.5rem;
}

.ui-identity--lg {
  gap: 0.65rem;
  padding: 0.28rem 0.85rem 0.28rem 0.3rem;
  max-width: min(22rem, 100%);
}
.ui-identity--lg .ui-avatar {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.65rem;
  border-width: 3px;
}
.ui-identity--lg .ui-badge--collab {
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  font-size: 0.78rem;
  right: -5px;
  bottom: -3px;
}
.ui-identity--lg .ui-name {
  font-size: 1.2rem;
  max-width: 15rem;
}

.ui-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  background: linear-gradient(165deg, rgba(51, 65, 85, 0.55) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.ui-badge--collab {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, rgb(30, 41, 59) 0%, rgb(15, 23, 42) 100%);
  border: 2px solid rgba(8, 12, 22, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.ui-name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
  letter-spacing: -0.01em;
}

.shop-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.shop-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.shop-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #22d3ee;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.shop-hero h1 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.shop-lead {
  color: #94a3b8;
  margin: 0;
  max-width: 36rem;
  line-height: 1.55;
}

.shop-banner {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.shop-banner--info {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.shop-balance {
  min-width: 200px;
  text-align: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  align-self: center;
}

.shop-balance__value {
  display: block;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #22d3ee;
}

.shop-balance__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.shop-balance__link {
  margin-top: 1rem;
  display: inline-block;
}

.shop-flash {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.shop-flash--ok {
  background: rgba(39, 201, 63, 0.12);
  border: 1px solid rgba(39, 201, 63, 0.4);
  color: #27c93f;
}

.shop-flash--err {
  background: rgba(255, 95, 86, 0.1);
  border: 1px solid rgba(255, 95, 86, 0.35);
  color: #ff8a84;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.shop-filter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.shop-filter.is-active, .shop-filter:hover {
  border-color: #22d3ee;
  color: #fff;
  background: rgba(34, 211, 238, 0.1);
}
.shop-filter:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 2px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.shop-card {
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.shop-card--owned {
  opacity: 0.98;
  border-color: rgba(39, 201, 63, 0.28);
}

.shop-card__type {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

.shop-card__visual {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.shop-preview-border {
  width: 72px;
  height: 72px;
  border: 4px solid #fff;
  border-radius: 14px;
}

.shop-preview-badge {
  font-size: 3.5rem;
}

.shop-preview-avatar {
  font-size: 3rem;
  opacity: 0.9;
}

.shop-card__title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.shop-card__desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 1rem;
  flex: 1;
}

.shop-card__footer {
  margin-top: auto;
}

.shop-price {
  display: block;
  font-weight: 800;
  color: #22d3ee;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.shop-buy-form {
  margin: 0;
}

.shop-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.shop-tag--owned {
  background: rgba(39, 201, 63, 0.15);
  color: #27c93f;
  border: 1px solid rgba(39, 201, 63, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .shop-card:hover {
    transform: none;
  }
}
.student-profile {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 4rem;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: radial-gradient(ellipse 120% 80% at 0% 0%, rgba(34, 211, 238, 0.14) 0%, transparent 55%), linear-gradient(155deg, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.72) 100%);
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.profile-hero__main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  min-width: 0;
}

.profile-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #22d3ee;
  margin: 0 0 0.35rem;
}

.profile-hero__text h1 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  margin: 0 0 0.35rem;
  color: #e2e8f0;
  line-height: 1.15;
}

.profile-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
}

.profile-badge-equipped {
  font-size: 1.15rem;
  line-height: 1;
  margin-right: 0.15rem;
}

.profile-name {
  font-size: inherit;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35) 0%, transparent 70%);
  opacity: 0.65;
  filter: blur(6px);
  z-index: 0;
}

.user-avatar-large {
  position: relative;
  z-index: 1;
  width: 108px;
  height: 108px;
  background: rgba(34, 211, 238, 0.08);
  border: 3px solid #22d3ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 12px 40px rgba(0, 0, 0, 0.35);
}

.avatar-icon {
  line-height: 1;
}

.profile-hero__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: min(280px, 100%);
}

.profile-points-card {
  text-align: center;
  padding: 1.35rem 1.5rem;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.points-value {
  display: block;
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 900;
  color: #22d3ee;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.points-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.profile-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mini-stat {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

.mini-stat__value {
  display: block;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #e2e8f0;
}

.mini-stat__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.profile-loadout {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

.profile-loadout__title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.loadout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.loadout-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.loadout-slot__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.loadout-slot__preview {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.loadout-slot__preview .cp {
  transform: scale(0.85);
}

.loadout-slot--active .loadout-slot__preview {
  border-style: solid;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
}

.loadout-slot__placeholder {
  font-size: 1.1rem;
  font-weight: 700;
  color: #94a3b8;
  opacity: 0.45;
}

.profile-security {
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-security__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.profile-security__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  flex-shrink: 0;
}

.profile-security h2 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
  color: #e2e8f0;
  margin: 0 0 0.25rem;
}

.profile-security__lead {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
  font-size: 0.95rem;
}

.profile-security__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.profile-security__status {
  font-weight: 700;
  font-size: 0.92rem;
}
.profile-security__status--ok {
  color: #4ade80;
}
.profile-security__status--warn {
  color: #94a3b8;
}

.rewards-section {
  margin-top: 0.5rem;
}

.rewards-head {
  margin-bottom: 1.75rem;
}

.rewards-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #22d3ee;
  margin: 0 0 0.4rem;
}

.rewards-section h2 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #e2e8f0;
  margin: 0 0 0.5rem;
}

.rewards-section .subtitle {
  color: #94a3b8;
  margin: 0;
  max-width: 42rem;
  line-height: 1.55;
  font-size: 0.98rem;
}
.rewards-section .subtitle a {
  color: #22d3ee;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.rewards-section .subtitle a:hover {
  border-bottom-color: #22d3ee;
}

.status-alert {
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.45;
}
.status-alert.success {
  background: rgba(39, 201, 63, 0.1);
  color: #4ade80;
  border: 1px solid rgba(39, 201, 63, 0.35);
}
.status-alert.error {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

@media (max-width: 900px) {
  .profile-hero {
    grid-template-columns: 1fr;
  }
  .profile-hero__aside {
    min-width: 0;
  }
  .loadout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .profile-hero__main {
    flex-direction: column;
    text-align: center;
  }
  .profile-tagline {
    justify-content: center;
  }
  .profile-mini-stats {
    grid-template-columns: 1fr;
  }
}
.auth-container {
  max-width: 450px;
  margin: 4rem auto;
  padding: 3rem;
}
.auth-container h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.auth-page.join-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-page .auth-card {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem !important;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #94a3b8;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: #fff;
  font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #22d3ee;
}
.form-group textarea {
  height: 120px;
  resize: none;
}
.form-group .large-input {
  font-size: 1.5rem !important;
  text-align: center;
  letter-spacing: 0.1em;
  padding: 0.8rem !important;
}

.auth-error {
  background: rgba(255, 95, 86, 0.1);
  border-radius: 10px;
  padding: 1rem;
  color: #ff5f56;
  text-align: center;
  font-weight: 700;
}

.dashboard {
  padding: 1rem 0;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.dashboard .header-left h1 {
  font-size: 2.8rem;
  margin: 0 0 0.5rem;
}
.dashboard .header-left p {
  color: #94a3b8;
  font-size: 1.2rem;
  margin: 0;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2.5rem;
}
@media (max-width: 1280px) {
  .quiz-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}
@media (max-width: 600px) {
  .quiz-grid {
    grid-template-columns: 1fr;
  }
}

.quiz-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.quiz-card:hover {
  transform: translateY(-10px);
  border-color: #22d3ee;
}
.quiz-card .quiz-thumb {
  height: 160px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.quiz-card .quiz-id {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
}
.quiz-card .quiz-info {
  padding: 2rem;
  flex: 1;
}
.quiz-card .quiz-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.quiz-card .quiz-info p {
  color: #94a3b8;
  line-height: 1.5;
  font-size: 1rem;
}
.quiz-card .quiz-footer {
  padding: 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 0.85rem;
}
.quiz-card .quiz-actions {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(0, 0, 0, 0.1);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal {
  width: 100%;
  max-width: 600px;
  border: 1px solid #22d3ee;
  padding: 3rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.modal-header h2 {
  font-size: 2rem;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.5;
}
.close-btn:hover {
  opacity: 1;
}

.editor-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  height: calc(100vh - 120px);
}

.questions-sidebar {
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-item {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-item:hover, .sidebar-item.active {
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.06);
}
.sidebar-item .q-type {
  font-size: 0.8rem;
  color: #22d3ee;
  margin-bottom: 0.3rem;
}
.sidebar-item .q-preview {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
}

.editor-main {
  padding: 3rem;
  overflow-y: auto;
}

.question-edit-card {
  padding: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.answers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.answer-input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.answer-input-group.correct {
  border-color: #26890c;
  background: rgba(38, 137, 12, 0.05);
}
.answer-input-group input[type=text] {
  background: transparent;
  border: none;
  padding: 0.5rem;
  flex: 1;
}

.correct-checkbox {
  width: 25px;
  height: 25px;
  cursor: pointer;
  accent-color: #26890c;
}

.lobby-container {
  padding: 1rem 0;
  min-height: 85vh;
}

.lobby-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.header-content h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.header-content p {
  font-size: 1.2rem;
  color: var(--color-aurora-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lobby-main {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

.join-info {
  padding: 2.5rem;
  text-align: center;
  border: 2px solid var(--color-aurora-blue);
}

.join-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.join-info p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.join-code {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 950;
  color: var(--color-aurora-blue);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 48px rgba(34, 211, 238, 0.35);
}

.qrcode-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 16px;
  display: inline-block;
}
.qrcode-container img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.players-list-container {
  padding: 0;
}
.players-list-container h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 2rem;
}

.players-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.player-pill {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(34, 211, 238, 0.1);
  border: 2px solid var(--color-aurora-blue);
}

.placeholder-text {
  color: var(--color-text-muted);
  font-size: 1.3rem;
  width: 100%;
  text-align: center;
  padding-top: 4rem;
  opacity: 0.5;
}

.game-play-container {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--color-aurora-deep);
}

.status-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: var(--color-aurora-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.game-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.centered-card {
  padding: 3rem;
  text-align: center;
  max-width: 90%;
}

.joined-badge {
  margin-top: 2rem;
  color: var(--color-aurora-blue);
  font-weight: 800;
  font-size: 1.2rem;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  height: 100%;
}

.opt-btn {
  border: none;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.1s;
}
.opt-btn:active {
  transform: scale(0.95);
  opacity: 0.8;
}

.opt-red {
  background: #e21b3c;
  box-shadow: 0 8px 0 #a9142d;
}

.opt-blue {
  background: #1368ce;
  box-shadow: 0 8px 0 #0e4e9b;
}

.opt-yellow {
  background: #d89e00;
  box-shadow: 0 8px 0 #a27700;
}

.opt-green {
  background: #26890c;
  box-shadow: 0 8px 0 #1c6609;
}

.shape {
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.master-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #050810;
}

.master-header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(148, 163, 184, 0.12);
}
.master-header .q-timer {
  font-size: 2.5rem;
  font-weight: 950;
  color: #22d3ee;
}
.master-header .q-stats {
  font-size: 1.5rem;
  font-weight: 700;
}

.master-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.master-content .q-text {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 1200px;
}

.master-options {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.master-options .m-opt {
  padding: 2.5rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 2rem;
  font-weight: 700;
}
.master-options .m-opt .m-shape {
  font-size: 3rem;
}

.master-footer {
  height: 120px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 3rem;
  background: rgba(0, 0, 0, 0.4);
}

.dev-map-page {
  max-width: 760px;
  margin: 0 auto;
}

.dev-map-hero {
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  border-radius: 22px;
}

.dev-map-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #22d3ee;
  margin: 0 0 0.5rem;
}

.dev-map-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.dev-map-lead {
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.dev-map-actions {
  margin-top: 1.5rem;
}

.dev-map-flash {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.dev-map-flash--ok {
  background: rgba(39, 201, 63, 0.12);
  border: 1px solid rgba(39, 201, 63, 0.35);
  color: #4ade80;
}
.dev-map-flash--err {
  background: rgba(255, 95, 86, 0.1);
  border: 1px solid rgba(255, 95, 86, 0.35);
  color: #fca5a5;
}

.dev-map-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dev-map-empty {
  text-align: center;
  color: #94a3b8;
  padding: 2rem;
}

.dev-map-card {
  padding: 1.5rem 1.75rem;
  border-radius: 22px;
  text-align: left;
}
.dev-map-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.dev-map-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.dev-map-phase {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.dev-map-phase--geplant {
  color: #94a3b8;
}
.dev-map-phase--in_arbeit {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}
.dev-map-phase--fertig {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.35);
}
.dev-map-phase--live {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.08);
}

.dev-map-date {
  font-size: 0.8rem;
  color: #94a3b8;
}

.dev-map-title {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.dev-map-body {
  color: #e2e8f0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.dev-map-author {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.dev-map-delete-form {
  display: inline;
}

.dev-map-btn-danger {
  border-color: rgba(248, 113, 113, 0.45) !important;
  color: #fca5a5 !important;
}
.dev-map-btn-danger:hover {
  background: rgba(248, 113, 113, 0.12) !important;
}

.dev-map-form-page {
  max-width: 640px;
  margin: 0 auto;
}

.dev-map-form-wrap {
  padding: 2rem 2rem 2.5rem;
  border-radius: 22px;
}

.dev-map-form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.dev-map-form-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.dev-map-form .form-group {
  margin-bottom: 1.35rem;
}
.dev-map-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: #94a3b8;
}
.dev-map-form input[type=text],
.dev-map-form input[type=number],
.dev-map-form select,
.dev-map-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(5, 8, 16, 0.45);
  color: #f8fafc;
  font-size: 1rem;
}
.dev-map-form textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.55;
}
.dev-map-form select {
  cursor: pointer;
}

.dev-map-form-submit {
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .dev-map-hero {
    padding: 1.5rem 1.25rem;
  }
  .dev-map-form-wrap {
    padding: 1.5rem 1.15rem 2rem;
  }
}
.admin-page {
  max-width: 64rem;
  margin: 0 auto;
}
.admin-page h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.admin-back {
  margin-bottom: 1.5rem;
}
.admin-back a {
  color: #94a3b8;
  font-size: 0.9rem;
}
.admin-back a:hover {
  color: #22d3ee;
}

.admin-empty {
  color: #94a3b8;
  padding: 2rem 0;
  text-align: center;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.admin-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.2s;
  position: relative;
}
.admin-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
}
.admin-card__value {
  font-size: 2rem;
  font-weight: 900;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: #22d3ee;
}
.admin-card__label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}
.admin-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.admin-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-nav-item {
  display: block;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.admin-nav-item:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.04);
}

.admin-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  overflow-x: auto;
  background: rgba(15, 23, 42, 0.55);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  text-align: left;
  padding: 0.75rem 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td {
  border-bottom: none;
}
.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
}

.positive {
  color: #4ade80;
}

.negative {
  color: #f87171;
}

.action-cell {
  white-space: nowrap;
}

.role-tag, .status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.role-student {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
}

.role-teacher {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}

.role-admin,
.role-system_admin {
  background: rgba(129, 140, 248, 0.12);
  color: #818cf8;
}

.role-school_admin {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.status-lobby {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.status-playing {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
}

.status-finished {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}

.status-results,
.status-summary {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
}

.btn--sm {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--sm:hover {
  border-color: rgba(34, 211, 238, 0.4);
}

.btn--approve {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.35);
  color: #4ade80;
}

.btn--reject {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.btn--muted {
  opacity: 0.7;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fb-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
.fb-card.fb-status--new {
  border-left: 3px solid #fbbf24;
}
.fb-card.fb-status--read {
  border-left: 3px solid #22d3ee;
}
.fb-card.fb-status--archived {
  opacity: 0.6;
}
.fb-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.fb-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
}
.fb-card__status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}
.fb-card__date {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-left: auto;
}
.fb-card__from {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}
.fb-card__url {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
}
.fb-card__message {
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.fb-card__actions {
  display: flex;
  gap: 0.5rem;
}

.feedback-page {
  max-width: 36rem;
  margin: 0 auto;
}

.feedback-header {
  text-align: center;
  margin-bottom: 2rem;
}
.feedback-header h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.feedback-header p {
  color: #94a3b8;
}

.feedback-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.form-group select,
.form-group input,
.form-group textarea {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #22d3ee;
}
.form-group textarea {
  resize: vertical;
  min-height: 6rem;
}

.legal-page {
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}
.legal-page h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  color: #22d3ee;
}
.legal-page p, .legal-page li {
  color: #94a3b8;
}
.legal-page ul {
  padding-left: 1.5rem;
}
.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-updated {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.legal-note {
  margin-top: 3rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24 !important;
  font-size: 0.9rem;
}

.faq-page {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.faq-header h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.faq-header p {
  color: #94a3b8;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item:hover, .faq-item[open] {
  border-color: rgba(34, 211, 238, 0.35);
}

.faq-question {
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  color: #f1f5f9;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
  color: #94a3b8;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  color: #22d3ee;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #94a3b8;
  line-height: 1.65;
}
.faq-answer p {
  margin: 0;
}
.faq-answer a {
  color: #22d3ee;
}

.leaderboard-page {
  max-width: 40rem;
  margin: 0 auto;
}

.leaderboard-header {
  text-align: center;
  margin-bottom: 2rem;
}
.leaderboard-header h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.leaderboard-header p {
  color: #94a3b8;
}

.leaderboard-empty {
  text-align: center;
  color: #94a3b8;
  padding: 3rem 0;
}

.leaderboard-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.55);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}
.leaderboard-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.leaderboard-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}
.leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}
.leaderboard-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

tr.lb-me {
  background: rgba(34, 211, 238, 0.06) !important;
}
tr.lb-me td {
  font-weight: 700;
}

.lb-rank {
  width: 3.5rem;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lb-name {
  font-weight: 600;
}

.lb-pts {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #22d3ee;
  font-weight: 700;
}

th.lb-pts {
  text-align: right;
}

th.lb-rank {
  text-align: center;
}

/*# sourceMappingURL=style.css.map */
