/* =========================================================
   Grizzilla Venture Launch Dashboard
   Styles for the public /ventures page and the /admin dashboard.
   Relies on CSS variables defined in assets/styles.css.
   ========================================================= */

/* ---------- Stage badges (shared) ---------- */
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.stage-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.stage-planning { background: rgba(107,114,128,0.14); color: #6b7280; }
.stage-building { background: rgba(245,158,11,0.16); color: #b97e09; }
.stage-alpha    { background: rgba(59,130,246,0.16); color: #2563eb; }
.stage-beta     { background: rgba(139,92,246,0.16); color: #7c3aed; }
.stage-launched { background: rgba(78,204,163,0.18); color: var(--green-dark); }

/* ---------- Progress bar (shared) ---------- */
.progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(120,120,120,0.18);
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b 0%, #eab308 45%, var(--green) 100%);
  background-size: 220px 100%;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress.is-full .progress-fill {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
}
.pct {
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   PUBLIC PAGE  (light, matches the marketing site)
   ========================================================= */
.vt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .vt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vt-grid { grid-template-columns: 1fr; } }

.vt-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.vt-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.vt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.vt-card-head h3 { margin: 0; }
.vt-card-id { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.vt-logo {
  width: 40px; height: 40px; flex: 0 0 auto;
  object-fit: contain; border-radius: 9px;
  background: var(--gray-50); padding: 3px;
}
.vt-card.is-clickable { cursor: pointer; }
.vt-card.is-clickable:hover .vt-visit { color: var(--green-dark); }
.vt-visit {
  font-size: 0.82rem; font-weight: 600; color: var(--gray-500);
  align-self: flex-start;
}
.vt-visit::after { content: ' \2197'; }
.vt-card p.vt-summary { font-size: 0.95rem; color: var(--gray-500); margin: 0; flex: 1; }
.vt-meter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.vt-meter-row .pct { color: var(--ink); font-size: 0.95rem; }
.vt-loading, .vt-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-500);
  padding: 3rem 1rem;
}
.vt-error { color: #b91c1c; }
.vt-updated {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.vt-live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: vt-pulse 2s infinite;
}
@keyframes vt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* =========================================================
   ADMIN DASHBOARD  (dark theme)
   ========================================================= */
body.adm {
  background: #0a0a0a;
  color: #f5f5f5;
}
.adm-mono {
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
.adm-wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }

/* Header */
.adm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10,10,10,0.85);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.adm-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.adm-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.adm-brand svg { width: 30px; height: 30px; }
.adm-brand small { display: block; font-weight: 500; color: rgba(255,255,255,0.55); font-size: 0.75rem; }
.adm-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent; color: #f5f5f5;
  cursor: pointer; transition: all 0.2s ease;
}
.adm-btn:hover { border-color: var(--green); color: var(--green); }
.adm-btn-primary { background: var(--green); color: #0a0a0a; border-color: var(--green); }
.adm-btn-primary:hover { background: var(--green-dark); color: #fff; }
.adm-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Stats bar */
.adm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 600px) { .adm-stats { grid-template-columns: 1fr; } }
.adm-stat {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}
.adm-stat .num {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em;
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  color: var(--green);
}
.adm-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.15rem; }

/* Section titles */
.adm-section-title {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 2rem 0 0.9rem;
}

/* Venture cards */
.adm-vcard {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.adm-vcard.is-launched { border-color: rgba(78,204,163,0.45); }
.adm-vcard-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  user-select: none;
}
.adm-vcard-head:hover { background: rgba(255,255,255,0.02); }
.adm-vcard-title { flex: 1; min-width: 0; }
.adm-vcard-title .name { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.adm-vcard-title .summary { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 0.2rem; }
.adm-vcard-meter { width: 200px; flex: 0 0 auto; }
@media (max-width: 720px) { .adm-vcard-meter { width: 110px; } .adm-vcard-title .summary { display: none; } }
.adm-vcard-meter .meter-top { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-bottom: 0.35rem; }
.adm-vcard-meter .pct { color: #fff; }
.adm-chevron { transition: transform 0.25s ease; color: rgba(255,255,255,0.5); flex: 0 0 auto; }
.adm-vcard.is-open .adm-chevron { transform: rotate(90deg); }
.adm-check-overlay {
  flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #0a0a0a;
  display: none; align-items: center; justify-content: center;
  font-weight: 800;
}
.adm-vcard.is-launched .adm-check-overlay { display: inline-flex; }

/* Expanded body */
.adm-vcard-body { display: none; padding: 0 1.25rem 1.25rem; }
.adm-vcard.is-open .adm-vcard-body { display: block; }
.adm-tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1rem; }
.adm-tab {
  padding: 0.6rem 0.9rem; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.55); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.adm-tab.is-active { color: #fff; border-bottom-color: var(--green); }

.adm-cat-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin: 1rem 0 0.5rem;
}
.adm-item {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.adm-item label { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; flex: 1; }
.adm-item input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: 5px;
  background: transparent; cursor: pointer; transition: all 0.15s ease;
  position: relative;
}
.adm-item input[type="checkbox"]:checked { background: var(--green); border-color: var(--green); }
.adm-item input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a; font-size: 12px; font-weight: 900;
}
.adm-item input:disabled { opacity: 0.5; }
.adm-item .it-title { font-size: 0.92rem; line-height: 1.4; }
.adm-item.done .it-title { color: rgba(255,255,255,0.45); text-decoration: line-through; }
.adm-weight { flex: 0 0 auto; color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 1px; margin-top: 3px; }

/* Infrastructure rows */
.adm-infra {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.adm-infra .ia-name { flex: 1; min-width: 0; }
.adm-infra .ia-name b { font-weight: 600; font-size: 0.92rem; }
.adm-infra .ia-name span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.adm-status {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: 999px; flex: 0 0 auto;
}
.adm-status.active  { background: rgba(78,204,163,0.18); color: var(--green); }
.adm-status.needed  { background: rgba(245,158,11,0.18); color: #f59e0b; }
.adm-status.planned { background: rgba(59,130,246,0.18); color: #60a5fa; }
.adm-addlink {
  background: none; border: none; cursor: pointer;
  color: var(--green); font-size: 0.78rem; font-weight: 600; flex: 0 0 auto;
}
.adm-addlink:hover { text-decoration: underline; }
.adm-addlink:disabled { color: rgba(255,255,255,0.3); cursor: default; text-decoration: none; }

/* Login screen */
.adm-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.adm-login-card {
  width: 100%; max-width: 380px;
  background: #141414; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2.25rem;
}
.adm-login-card h1 { font-size: 1.5rem; margin-bottom: 0.35rem; color: #fff; }
.adm-login-card p.sub { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 1.5rem; }
.adm-field { margin-bottom: 1rem; }
.adm-field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem; color: rgba(255,255,255,0.7); }
.adm-field input {
  width: 100%; padding: 0.75rem 0.9rem;
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.14); border-radius: 9px;
  color: #f5f5f5; font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.adm-field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.adm-login-card .adm-btn-primary { width: 100%; justify-content: center; padding: 0.8rem; margin-top: 0.5rem; }
.adm-msg { font-size: 0.85rem; margin-top: 0.9rem; min-height: 1.1rem; }
.adm-msg.err { color: #f87171; }
.adm-empty { color: rgba(255,255,255,0.45); text-align: center; padding: 3rem 1rem; }

/* Confetti */
.adm-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.adm-confetti i {
  position: absolute; top: -12px; width: 8px; height: 12px; opacity: 0.9;
  animation: adm-fall 1.6s linear forwards;
}
@keyframes adm-fall {
  to { transform: translateY(105vh) rotate(540deg); opacity: 0; }
}

/* Admin: logo on venture head */
.adm-vlogo {
  width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain;
  border-radius: 8px; background: rgba(255,255,255,0.06); padding: 2px;
}

/* Admin: add-item form + item delete */
.adm-additem {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed rgba(255,255,255,0.1);
}
.adm-additem input, .adm-additem select {
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.14); border-radius: 7px;
  color: #f5f5f5; font-family: inherit; font-size: 0.85rem; padding: 0.5rem 0.6rem;
}
.adm-additem input.it-new-title { flex: 1; min-width: 160px; }
.adm-additem input:focus, .adm-additem select:focus { outline: none; border-color: var(--green); }
.adm-item .it-del {
  background: none; border: none; color: rgba(255,255,255,0.3); cursor: pointer;
  font-size: 1rem; line-height: 1; flex: 0 0 auto; padding: 0 0.2rem;
}
.adm-item .it-del:hover { color: #f87171; }

/* Admin: Details tab edit form */
.adm-details { display: grid; gap: 1rem; max-width: 620px; }
.adm-details .row { display: grid; gap: 0.4rem; }
.adm-details label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.adm-details input[type="text"], .adm-details input[type="url"], .adm-details input[type="number"], .adm-details textarea, .adm-details select {
  width: 100%; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px; color: #f5f5f5; font-family: inherit; font-size: 0.9rem; padding: 0.6rem 0.7rem;
}
.adm-details textarea { min-height: 70px; resize: vertical; line-height: 1.5; }
.adm-details input:focus, .adm-details textarea:focus, .adm-details select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow);
}
.adm-details .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .adm-details .two { grid-template-columns: 1fr; } }
.adm-details .hint { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-weight: 500; letter-spacing: 0; text-transform: none; }
.adm-logo-row { display: flex; align-items: center; gap: 0.9rem; }
.adm-logo-row img { width: 48px; height: 48px; object-fit: contain; border-radius: 9px; background: rgba(255,255,255,0.06); padding: 3px; flex: 0 0 auto; }
.adm-logo-row .nologo {
  width: 48px; height: 48px; border-radius: 9px; border: 1px dashed rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 0.7rem; flex: 0 0 auto;
}
.adm-details-actions { display: flex; align-items: center; gap: 0.75rem; }
.adm-saved { font-size: 0.82rem; color: var(--green); opacity: 0; transition: opacity 0.2s; }
.adm-saved.show { opacity: 1; }
.adm-saved.err { color: #f87171; }

/* Admin: editable infrastructure rows */
.adm-infra-edit {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.4fr 0.9fr auto;
  gap: 0.5rem; align-items: center;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.adm-infra-edit input, .adm-infra-edit select,
.adm-infra-add input, .adm-infra-add select {
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.14); border-radius: 7px;
  color: #f5f5f5; font-family: inherit; font-size: 0.82rem; padding: 0.45rem 0.55rem; min-width: 0; width: 100%;
}
.adm-infra-edit input:focus, .adm-infra-edit select:focus,
.adm-infra-add input:focus, .adm-infra-add select:focus { outline: none; border-color: var(--green); }
.adm-infra-edit .infra-actions { display: flex; align-items: center; gap: 0.3rem; }
.adm-infra-edit .ia-save {
  background: rgba(78,204,163,0.16); color: var(--green); border: none; cursor: pointer;
  border-radius: 6px; font-weight: 700; font-size: 0.78rem; padding: 0.4rem 0.6rem;
}
.adm-infra-edit .ia-save:hover { background: var(--green); color: #0a0a0a; }
.adm-infra-edit .ia-del { background: none; border: none; color: rgba(255,255,255,0.3); cursor: pointer; font-size: 1rem; padding: 0 0.2rem; }
.adm-infra-edit .ia-del:hover { color: #f87171; }
.adm-infra-edit .ia-tochk { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 720px) { .adm-infra-edit { grid-template-columns: 1fr 1fr; } .adm-infra-edit .infra-actions { grid-column: 1 / -1; } }
.adm-infra-add {
  display: grid; grid-template-columns: 0.9fr 1.4fr 1.4fr 0.9fr auto; gap: 0.5rem; align-items: center;
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed rgba(255,255,255,0.12);
}
@media (max-width: 720px) { .adm-infra-add { grid-template-columns: 1fr 1fr; } }

/* Admin: modal (Add venture) */
.adm-modal-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.adm-modal {
  width: 100%; max-width: 440px; background: #141414;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.75rem;
  max-height: 90vh; overflow: auto;
}
.adm-modal h2 { font-size: 1.25rem; color: #fff; margin-bottom: 1.1rem; }
.adm-modal .adm-details { gap: 0.9rem; }
.adm-modal-actions { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.adm-btn-ghost { background: transparent; }
.adm-danger {
  margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(248,113,113,0.25);
}
.adm-btn-danger { border-color: rgba(248,113,113,0.5); color: #f87171; }
.adm-btn-danger:hover { background: #f87171; color: #0a0a0a; border-color: #f87171; }
.adm-add-venture { display: flex; align-items: center; gap: 0.4rem; }

/* Segmented view toggle (Ventures / Master checklist) */
.adm-segment { display: inline-flex; background: #141414; border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 3px; gap: 2px; }
.adm-segment button {
  background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.6);
  font-family: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.45rem 1rem; border-radius: 999px;
}
.adm-segment button.is-active { background: var(--green); color: #0a0a0a; }

/* Card face: gauge + next-up */
.adm-vcard-top { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; user-select: none; }
.adm-vcard-top:hover { background: rgba(255,255,255,0.02); }
.vtop-id { display: flex; align-items: center; gap: 0.7rem; flex: 1; min-width: 0; }
.vtop-id .name { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.adm-gauge { flex: 0 0 auto; width: 116px; text-align: center; }
.adm-gauge svg { width: 116px; height: 68px; display: block; }
.adm-gauge .g-num {
  font-family: 'JetBrains Mono','SF Mono',ui-monospace,monospace; font-weight: 800; font-size: 0.95rem; fill: #f5f5f5;
}
.adm-gauge .g-cap { font-size: 0.6rem; fill: rgba(255,255,255,0.4); }

.adm-vcard-next { padding: 0 1.25rem 1rem; }
.adm-next-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.45rem; }
.adm-next-list { list-style: none; display: grid; gap: 0.35rem; }
.adm-next-list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.adm-next-list li .rank {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; background: rgba(78,204,163,0.16); color: var(--green);
  font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.adm-next-list li .rev { color: #f59e0b; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em; }
.adm-next-done { font-size: 0.88rem; color: var(--green); }

/* Checklist sort control */
.adm-sortbar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.adm-sortbar .seg { display: inline-flex; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.12); border-radius: 7px; overflow: hidden; }
.adm-sortbar .seg button { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; font-family: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.7rem; }
.adm-sortbar .seg button.is-active { background: rgba(78,204,163,0.18); color: var(--green); }

/* Master checklist */
.adm-master-intro { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin: 0.25rem 0 1.25rem; max-width: 720px; }
.adm-master-list { display: grid; gap: 0.4rem; }
.adm-master-row {
  display: flex; align-items: center; gap: 0.7rem;
  background: #141414; border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 0.6rem 0.85rem;
}
.adm-master-row.done { opacity: 0.5; }
.adm-master-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: 0 0 auto;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: 5px; background: transparent; cursor: pointer; position: relative;
}
.adm-master-row input[type="checkbox"]:checked { background: var(--green); border-color: var(--green); }
.adm-master-row input[type="checkbox"]:checked::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #0a0a0a; font-size: 12px; font-weight: 900; }
.adm-master-rank { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 800; color: rgba(255,255,255,0.35); font-size: 0.8rem; width: 26px; flex: 0 0 auto; text-align: right; }
.adm-master-main { flex: 1; min-width: 0; }
.adm-master-main .t { font-size: 0.92rem; }
.adm-master-row.done .t { text-decoration: line-through; }
.adm-master-chip {
  font-size: 0.68rem; font-weight: 700; color: var(--green); background: rgba(78,204,163,0.12);
  border-radius: 999px; padding: 0.15rem 0.5rem; flex: 0 0 auto;
}
.adm-master-tags { display: flex; gap: 0.4rem; align-items: center; flex: 0 0 auto; }
.adm-tag-rev { font-size: 0.62rem; font-weight: 800; color: #f59e0b; letter-spacing: 0.05em; }
.adm-tag-launch { font-size: 0.62rem; font-weight: 800; color: #60a5fa; letter-spacing: 0.05em; }
.adm-master-more { color: rgba(255,255,255,0.4); font-size: 0.85rem; text-align: center; padding: 1rem; }
