  :root {
    --bg: #05060d;
    --bg-2: #0a0d1a;
    --ink: #e8eef7;
    --ink-dim: #8893a8;
    --line: rgba(255,255,255,0.08);
    --cyan: #00e5ff;
    --magenta: #ff2e9a;
    --yellow: #ffd400;
    --green: #00ff95;
    --red: #ff3d4e;
    --accent: var(--cyan);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html {
    background: #05060d !important;
  }
  body {
    background: #05060d;
    color: #e8eef7;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
  }
  /* 背景レイヤー(別div) */
  .bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
      radial-gradient(ellipse at 30% -10%, rgba(0,229,255,0.06), transparent 50%),
      radial-gradient(ellipse at 80% 110%, rgba(255,46,154,0.05), transparent 50%),
      #05060d;
  }
  /* グリッドノイズ背景 */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,229,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
  }

  .container {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    position: relative;
    z-index: 1;
  }

  /* ===== HEADER ===== */
  header.brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px;
  }
  @media (max-width: 720px) {
    header.brand {
      justify-content: center;
      gap: 16px;
    }
    .logo {
      width: 100%;
      justify-content: center;
    }
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(0,229,255,0.35);
  }
  .title {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1;
  }
  .subtitle {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--ink-dim);
    margin-top: 4px;
    text-transform: uppercase;
  }
  .back-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--cyan);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--cyan);
    background: rgba(0,229,255,0.06);
    box-shadow: 0 0 12px rgba(0,229,255,0.25);
    text-shadow: 0 0 6px rgba(0,229,255,0.6);
    transition: all 0.2s;
  }
  .back-link:hover {
    background: rgba(0,229,255,0.15);
    box-shadow: 0 0 20px rgba(0,229,255,0.5);
  }
  .back-link::before {
    content: '< ';
    opacity: 0.7;
  }

  /* ===== PAGE TITLE ===== */
  .page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .page-subtitle {
    font-size: 12px;
    color: var(--ink-dim);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 48px;
  }
  @media (max-width: 600px) {
    .page-title { font-size: 28px; }
  }

  /* ===== SECTIONS ===== */
  .section {
    margin-bottom: 56px;
    position: relative;
  }
  .section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .section-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: var(--cyan);
    background: rgba(0,229,255,0.1);
    padding: 4px 10px;
    border: 1px solid var(--cyan);
    text-shadow: 0 0 6px rgba(0,229,255,0.6);
    letter-spacing: 0.1em;
  }
  .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink);
    flex: 1;
  }
  .section-title.warning { color: var(--yellow); }
  .section-title.danger { color: var(--red); }

  /* ===== CONTENT ===== */
  .content {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.8;
  }
  .content p {
    margin-bottom: 14px;
  }
  .content strong {
    color: var(--cyan);
    font-weight: 700;
  }
  .content a {
    color: var(--magenta);
    text-decoration: underline;
    text-decoration-style: dotted;
  }

  /* ===== STEP LIST ===== */
  .step-list {
    list-style: none;
    counter-reset: step;
    margin: 16px 0;
  }
  .step-list li {
    counter-increment: step;
    position: relative;
    padding: 16px 16px 16px 64px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid var(--cyan);
  }
  .step-list li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0,229,255,0.5);
    letter-spacing: 0.05em;
  }
  .step-list li strong { color: var(--ink); }

  /* ===== TYPE CARDS ===== */
  .type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
  }
  @media (max-width: 600px) {
    .type-grid {
      grid-template-columns: 1fr;
    }
  }
  .type-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--type-color, var(--cyan));
    padding: 18px;
    position: relative;
    overflow: hidden;
  }
  .type-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--type-color, var(--cyan));
    box-shadow: 0 0 10px var(--type-color, var(--cyan));
  }
  .type-card.attacker { --type-color: #ff3d4e; }
  .type-card.tank { --type-color: #00e5ff; }
  .type-card.speedster { --type-color: #00ffc8; }
  .type-card.smasher { --type-color: #ffd400; }
  .type-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--type-color, var(--cyan));
    text-shadow: 0 0 8px var(--type-color, var(--cyan));
    margin-bottom: 6px;
  }
  .type-skill {
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 700;
  }
  .type-desc {
    font-size: 12px;
    color: var(--ink-dim);
    line-height: 1.6;
  }

  /* ===== NOTICE BOX ===== */
  .notice {
    border: 1px solid var(--yellow);
    background: rgba(255,212,0,0.05);
    padding: 20px 24px;
    margin: 24px 0;
    position: relative;
  }
  .notice::before {
    content: '!';
    position: absolute;
    top: -12px; left: 20px;
    background: var(--bg);
    color: var(--yellow);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 18px;
    width: 24px; height: 24px;
    border: 1.5px solid var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 6px var(--yellow);
  }
  .notice.danger {
    border-color: var(--red);
    background: rgba(255,61,78,0.05);
  }
  .notice.danger::before {
    color: var(--red);
    border-color: var(--red);
    text-shadow: 0 0 6px var(--red);
  }
  .notice-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--yellow);
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  .notice.danger .notice-title { color: var(--red); }
  .notice-body {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink);
  }
  .notice-body ul {
    list-style: none;
    margin-top: 8px;
  }
  .notice-body ul li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
  }
  .notice-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--yellow);
  }
  .notice.danger .notice-body ul li::before { color: var(--red); }

  /* ===== INFO TABLE ===== */
  .stat-table {
    width: 100%;
    margin: 16px 0;
    border-collapse: collapse;
    font-size: 13px;
  }
  .stat-table th {
    text-align: left;
    padding: 10px 12px;
    background: rgba(0,229,255,0.06);
    border-bottom: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  .stat-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .stat-table tr:hover td {
    background: rgba(255,255,255,0.02);
  }

  /* ===== FOOTER ===== */
  footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--ink-dim);
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  footer .footer-cta {
    margin-bottom: 24px;
  }
  footer .footer-cta a {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: var(--magenta);
    text-decoration: none;
    padding: 14px 32px;
    border: 1.5px solid var(--magenta);
    background: rgba(255,46,154,0.06);
    box-shadow: 0 0 20px rgba(255,46,154,0.3);
    text-shadow: 0 0 8px rgba(255,46,154,0.6);
    transition: all 0.2s;
  }
  footer .footer-cta a:hover {
    background: rgba(255,46,154,0.15);
    box-shadow: 0 0 30px rgba(255,46,154,0.6);
  }
  footer .footer-cta a::after {
    content: ' →';
  }
  footer .copyright {
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.6;
    margin-bottom: 12px;
  }
  footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  footer .footer-links a {
    color: var(--ink-dim);
    text-decoration: none;
    transition: color 0.2s;
  }
  footer .footer-links a:hover {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0,229,255,0.5);
  }
  footer .footer-sep {
    color: var(--line);
    opacity: 0.6;
  }
