:root {
  --bg: #1a1a2e;
  --surface: #16213e;
  --card: #0f3460;
  --accent: #e94560;
  --text: #eee;
  --text-muted: #aab;
  --success: #53d769;
  --warning: #f5a623;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 1rem;
}

.container { max-width: 720px; margin: 0 auto; }

.back-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cover-banner img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

h1 { font-size: 1.6rem; margin-bottom: 0.25rem; }
.meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }

details {
  background: var(--surface);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--card);
}

summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: '▸ '; color: var(--accent); }
details[open] > summary::before { content: '▾ '; }

.section-body { padding: 0 1rem 1rem; }
.section-body ul { padding-left: 1.2rem; }
.section-body li { margin-bottom: 0.35rem; }
.section-body h3 { color: var(--accent); font-size: 0.95rem; margin: 0.75rem 0 0.35rem; }
.section-body p { margin-bottom: 0.5rem; }

.tip, .warning {
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}
.tip { background: rgba(83,215,105,0.12); border-left: 3px solid var(--success); }
.warning { background: rgba(245,166,35,0.12); border-left: 3px solid var(--warning); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}
th, td { padding: 0.4rem 0.6rem; text-align: left; border-bottom: 1px solid var(--card); }
th { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; }
