:root {
  --bg: #0b0c10;
  --panel: #151820;
  --panel-2: #10131a;
  --text: #e8eefb;
  --muted: #9fb0c9;
  --brand: #2b66f6;
  --ok: #20c997;
  --warn: #ffa94d;
  --border: #253048;
  --shadow: 0 10px 25px rgba(0,0,0,.35), 0 4px 10px rgba(0,0,0,.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

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

.logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand), #7aa2ff);
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  font-weight: bold;
}

.logo img,
img.logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.hero {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.card-condensed {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}

.card-condensed .disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #7aa2ff, #2b66f6, #20c997, #7aa2ff);
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 14px;
  color: #dbe7ff;
}

.card-condensed .info {
  margin-left: 20px;
  flex: 1;
}

.card-condensed .actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  background: #1f6bff;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(43,102,246,.35);
}

.btn.alt {
  background: #22304a;
  color: #d4e1ff;
  border: 1px solid var(--border);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content {
  background: var(--panel);
  padding: 24px;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  background: none;
  color: var(--text);
  border: none;
  cursor: pointer;
}

details {
  margin-top: 14px;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}

pre {
  background: #0e1220;
  padding: 10px;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid var(--border);
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  word-break: break-word;
}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
