:root {
  --bg: #192e58;
  --card: #111a2e;
  --card2: #0f172a;
  --text: #e7eefc;
  --muted: #a9b6d3;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #66b2ff;
  --accent2: #7cdbb9;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.navlink {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
}
.navlink:hover {
  border-color: var(--line);
  color: var(--text);
}

.hero {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 40px;
}
.hero h2 {
  margin: 0 0 6px;
  font-size: 26px;
}
.hero p {
  margin: 0;
  color: var(--muted);
}

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 18px;
  flex-wrap: wrap;
}
.input,
.select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.input {
  flex: 1;
  min-width: 220px;
}
.select {
  min-width: 220px;
}
.input::placeholder {
  color: rgba(231, 238, 252, 0.55);
}

.state {
  min-height: 24px;
  color: var(--muted);
  padding-bottom: 12px;
}

.grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding-bottom: 28px;
}

.card {
  grid-column: span 12;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  min-height: 160px;
}
@media (min-width: 720px) {
  .card {
    grid-column: span 6;
  }
}
@media (min-width: 1000px) {
  .card {
    grid-column: span 4;
  }
}

.thumb {
  width: 38%;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid var(--line);
  position: relative;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb .badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
}

.content {
  padding: 14px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.desc {
  margin: 0;
  color: rgba(231, 238, 252, 0.8);
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cta {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}
.button {
  border: 1px solid rgba(102, 178, 255, 0.35);
  background: rgba(102, 178, 255, 0.1);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}
.button:hover {
  background: rgba(102, 178, 255, 0.16);
  border-color: rgba(102, 178, 255, 0.55);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
}

/* Event page */
.event-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  padding: 18px 0 8px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .event-header {
    grid-template-columns: 1fr;
  }
}

.event-hero {
  border-radius: var(--radius);
  overflow: hidden;

  background: rgba(255, 255, 255, 0.03);
  min-height: 240px;
}
.event-hero img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  display: block;
}

.event-info {
  border-radius: var(--radius);
  padding: 14px;
}
.backlink {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
}
.backlink:hover {
  color: var(--text);
}

.event-title {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.15;
  padding-bottom: 0.65rem;
}
.event-desc {
  margin: 10px 0 0;
  color: rgba(231, 238, 252, 0.82);
  line-height: 1.45;
}

.section-head {
  padding: 18px 0 10px;
}
.section-head h3 {
  margin: 20px 0 8px;
}

.section-head p {
  margin: 0 0 10px;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.tasks {
  display: grid;
  grid-template-columns: repeat(1fr, 1fr);
  gap: 14px;
  padding-bottom: 26px;
}

.task-card {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);

  padding: 14px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 850px) {
  .task-card {
    grid-column: span 6;
  }
}

.task-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.task-title {
  margin: 0;
  font-size: 18px;
}
.task-desc {
  margin: 0;
  color: rgba(231, 238, 252, 0.8);
  line-height: 1.4;
  max-width: 78ch;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

.task-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Task page */
.task-page {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 18px 0 26px;
  align-items: start;
}
@media (max-width: 980px) {
  .task-page {
    grid-template-columns: 1fr;
  }
}

.task-left,
.task-right {
  min-width: 0;
}

.slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slot {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.slot-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slot-time {
  font-weight: 700;
}
.slot-sub {
  color: var(--muted);
  font-size: 13px;
}

.slot-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slot-btn {
  border: 1px solid rgba(124, 219, 185, 0.35);
  background: rgba(124, 219, 185, 0.1);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}
.slot-btn:hover {
  background: rgba(124, 219, 185, 0.16);
  border-color: rgba(124, 219, 185, 0.55);
}
.slot-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.slot.selected {
  border-color: rgba(102, 178, 255, 0.55);
  box-shadow:
    0 0 0 2px rgba(102, 178, 255, 0.15),
    var(--shadow);
}

.form-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 74px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.form-msg {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.form-msg.ok {
  color: rgba(124, 219, 185, 0.95);
}
.form-msg.err {
  color: rgba(255, 120, 120, 0.95);
}

/* Admin */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: 18px 0 26px;
}
.admin-card {
  grid-column: span 12;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
@media (min-width: 980px) {
  .admin-card:nth-child(1) {
    grid-column: span 6;
  }
  .admin-card:nth-child(2) {
    grid-column: span 6;
  }
  .admin-card:nth-child(3) {
    grid-column: span 6;
  }
  .admin-card:nth-child(4) {
    grid-column: span 6;
  }
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-row {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.admin-row:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.admin-row .left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-row .title {
  font-weight: 800;
}
.admin-row .sub {
  color: var(--muted);
  font-size: 13px;
}

.admin-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
}

.admin-hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

/* Hard gate: dashboard skjules indtil body får .admin-ok */
body:not(.admin-ok) #dash {
  display: none;
}
body.admin-ok #loginOverlay {
  display: none;
}

/* Fullscreen overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 18px;
}

.overlay-card {
  width: min(520px, 94vw);
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 320px 1fr;
  height: calc(100vh - 80px);
  gap: 12px;
  padding-top: 14px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  overflow: auto;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.row {
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.row.active {
  background: rgba(102, 178, 255, 0.15);
}

/* ---------- Event cards (forside) ---------- */
/* Events container */
#events.events-wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 65px;
}

.events-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-card {
  border-radius: 22px;

  overflow: hidden;
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 0;
  min-height: 240px;
}

@media (max-width: 860px) {
  .event-card {
    grid-template-columns: 1fr;
  }
}

.event-media {
  position: relative;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-media img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 860px) {
  .event-media {
    padding: 14px 14px 0;
  }
  .event-media img {
    max-height: 220px;
  }
}

.event-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.event-date {
  font-size: 14px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.event-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  font-weight: 900;
}

.event-location {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 2px;
}

.event-desc {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
  max-width: 62ch;
}

.event-actions {
  margin-top: 8px;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
}

.event-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ---------- Auth UI ---------- */
.auth-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.auth-head {
  margin-bottom: 18px;
}
.auth-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
}
.auth-sub {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.auth-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.auth-input {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.92);
  padding: 0 14px;
  outline: none;
}
.auth-input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.auth-btn {
  margin-top: 6px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  cursor: pointer;
}
.auth-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.auth-msg {
  min-height: 18px;
  margin: 4px 0 0;
}
.auth-msg.ok {
  color: #a7f3d0;
}
.auth-msg.err {
  color: #fecaca;
}

.auth-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.signup-line {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.auth-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  text-decoration: none;
}
.auth-link:hover {
  text-decoration: underline;
}

.nav {
  background: #0b2340;
  padding: 14px 20px;
  color: white;
  /* fjern display:flex her */
}

.nav-inner {
  max-width: 1100px;
  width: 100%; /* 🔥 VIGTIGT */
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between; /* logo venstre, links højre */
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hidden {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap; /* gør plads til 2 rækker */
    gap: 10px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto; /* burger helt til højre */
  }

  .nav-links {
    width: 100%;
    display: none; /* skjul menu som default */
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links.open {
    display: flex; /* vis når burger trykkes */
  }
}

/* ---------- Profile (minimal) ---------- */
.profile {
  padding: 22px 0 40px;
}

.profile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.profile-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 900;
}

.profile-me {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.profile-logout {
  min-height: 40px;
  padding: 10px 16px;
}

/* cards list */
.profile-regs .events-wrap {
  padding: 0;
  gap: 12px;
}

/* make the cards compact */
.profile-regs .event-card {
  grid-template-columns: 1fr !important;
  min-height: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03); /* lille diskret, ikke stor */
  border-radius: 18px;
  box-shadow: none;
}

.profile-regs .event-body {
  padding: 14px 16px;
  gap: 6px;
}

.profile-regs .event-date {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.68);
}

.profile-regs .event-title {
  font-size: clamp(18px, 2.4vw, 26px);
  margin: 0;
}

.profile-regs .event-location {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

/* actions */
.profile-regs .event-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* make buttons smaller */
.profile-regs .event-btn {
  min-height: 38px;
  padding: 9px 14px;
}

/* frameld button variant */
.profile-regs button.event-btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.profile-regs button.event-btn:hover {
  background: rgba(255, 120, 120, 0.1);
  border-color: rgba(255, 120, 120, 0.35);
}

/* mobile */
@media (max-width: 600px) {
  .profile-head {
    align-items: flex-start;
  }
  .profile-logout {
    width: 100%;
  }
}

.print-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.print-modal-inner {
  background: white;
  color: black;
  width: min(900px, 95vw);
  max-height: 90vh;
  overflow: auto;
  padding: 20px;
  border-radius: 14px;
}

.hidden {
  display: none;
}

.print-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#printBtn,
#closePrint {
  color: black;
}

/* PRINT MODE */
@media print {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  body * {
    visibility: hidden !important;
  }

  #printModal,
  #printModal * {
    visibility: visible !important;
  }

  #printModal {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: none !important;
  }

  .print-modal-inner {
    position: static !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .print-header,
  .print-actions,
  #printBtn,
  #closePrint,
  header,
  nav,
  .nav,
  .container > :not(#printModal) {
    display: none !important;
  }

  #printContent {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  thead {
    display: table-header-group;
  }

  tr,
  td,
  th {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
    page-break-after: avoid;
  }
}
/* Admin: skjulte tasks i listen */
#tasks .row.is-hidden {
  opacity: 0.55;
  filter: grayscale(0.2);
}

#tasks .row.is-hidden:hover {
  opacity: 0.75;
}

.task-card-full {
  opacity: 0.65;
}

.task-card-full .pill {
  background: rgba(255, 80, 80, 0.15);
  border-color: rgba(255, 80, 80, 0.4);
}

/* ---------- Admin event overview ---------- */
.admin-overview {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-top: 67px;
  background: rgba(255, 255, 255, 0.03);
}

.overview-content {
  display: grid;
  gap: 16px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
}

@media (max-width: 760px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

.overview-donut-wrap {
  display: grid;
  place-items: center;
}

.overview-donut {
  --percent: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(rgba(124, 219, 185, 0.95) calc(var(--percent) * 1%), rgba(255, 255, 255, 0.12) 0);
  position: relative;
  box-shadow: var(--shadow);
}

.overview-donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--bg);
}

.overview-donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  text-align: center;
  font-weight: 900;
}

.overview-donut-center span {
  display: block;
  font-size: 30px;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

@media (max-width: 760px) {
  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.overview-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.16);
}

.overview-stat strong {
  display: block;
  font-size: 24px;
}

.overview-stat span {
  color: var(--muted);
  font-size: 13px;
}

.user-overview {
  margin-top: 8px;
}

.user-overview summary {
  cursor: pointer;
  font-weight: 900;
  margin-bottom: 10px;
}

.user-list {
  display: grid;
  gap: 10px;
}

.user-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.16);
}

.user-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.user-card-title {
  font-weight: 900;
}

.user-card-sub {
  color: var(--muted);
  font-size: 13px;
}

.user-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.user-detail-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.user-detail-item {
  color: var(--muted);
  font-size: 13px;
}
