.g-head { background: radial-gradient(60% 70% at 85% 10%, rgba(200, 48, 42, 0.1), transparent 70%); }
.g-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 80px; align-items: end; margin-top: clamp(36px, 5vw, 64px); }
.toc { display: grid; gap: 2px; }
.toc a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--hair); font: 500 17px/1.2 var(--f-body); color: var(--ink-2); transition: color 0.4s var(--ease), padding-left 0.5s var(--ease); }
.toc a:hover { color: var(--ink); padding-left: 8px; }
.toc span { font: 500 11px/1 var(--f-mono); color: var(--accent-2); }
@media (max-width: 860px) { .g-intro { grid-template-columns: 1fr; } }
.life { padding-top: clamp(40px, 6vw, 80px); }
.life-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.hud {
  position: sticky; top: 110px; padding: 24px; border-radius: 24px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.8s var(--ease);
}
.hud.hurt { box-shadow: inset 0 0 0 1px rgba(208, 80, 61, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.hud-top { display: flex; justify-content: space-between; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--hair); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.hud-row + .hud-row { margin-top: 20px; }
.hl-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); }
.hl-row b { font-size: 13px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.meter { margin-top: 10px; height: 4px; border-radius: 4px; background: var(--hair); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--c); transform-origin: 0 50%; }
.hud-log { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink); min-height: 2.6em; }
.hud.hurt .hud-log { color: var(--accent-2); }

.stages { display: grid; gap: 0; }
.stage { padding: clamp(60px, 10vh, 120px) 0; border-top: 1px solid var(--hair); opacity: 0.32; transition: opacity 0.8s var(--ease); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage.on { opacity: 1; }
.stamp { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); }
.stage h3 { margin: 18px 0 22px; }
.stage p:not(.stamp) { color: var(--ink-2); font-size: 18px; line-height: 1.65; max-width: 56ch; }
.stage .btn { margin-top: 30px; }
.kit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.kit li { padding: 9px 14px; border-radius: 99px; background: rgba(237, 237, 235, 0.04); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 12px; color: var(--ink-2); }
@media (max-width: 900px) {
  .life-grid { grid-template-columns: 1fr; }
  .hud { top: 76px; z-index: 3; padding: 14px 16px; border-radius: 18px; background: rgba(16, 16, 16, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .hud-top { padding-bottom: 10px; margin-bottom: 10px; }
  .hud .hud-row { display: inline-block; width: calc(50% - 8px); margin: 0 4px 8px 0; }
  .hud-row + .hud-row { margin-top: 0; }
  .hl-row { font-size: 12px; }
  .meter { margin-top: 6px; }
  .hud-log { margin-top: 4px; padding-top: 10px; font-size: 12px; min-height: 0; }
  .stage { opacity: 1; padding: 64px 0; }
}
.badges {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px; scrollbar-width: none; cursor: grab; outline: none;
}
.badges::-webkit-scrollbar { display: none; }
.badges.drag { cursor: grabbing; scroll-snap-type: none; }
.badge {
  position: relative; scroll-snap-align: start; display: flex; flex-direction: column; min-height: 340px; padding: 26px 24px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(170deg, #1b1b1b, #121212 60%); box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.7s var(--ease);
}
.badge:hover { transform: translateY(-6px); }
.badge::before { content: ""; position: absolute; left: 50%; top: 14px; width: 54px; height: 8px; margin-left: -27px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8); }
.badge::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--accent); }
.badge.atm::after { background: var(--moss); }
.b-role { margin-top: 26px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.badge h3 { margin: 14px 0 12px; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 44px; line-height: 0.95; text-transform: uppercase; }
.badge p:not(.b-role):not(.b-key) { color: var(--ink-2); font-size: 15px; }
.b-key { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; font-size: 12px; color: var(--ink-2); }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--hair); }
.rules li { padding: 28px 24px 0 0; }
.rules b { font: 500 11px/1 var(--f-mono); color: var(--accent-2); }
.rules h3 { margin: 16px 0 10px; font: 600 19px/1.2 var(--f-body); }
.rules p { color: var(--ink-3); font-size: 15px; }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr 1fr; gap: 0 18px; } }
.black { padding-top: 0; }
.bm { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; padding: clamp(36px, 6vw, 90px); isolation: isolate;
  background: repeating-linear-gradient(135deg, rgba(200, 48, 42, 0.05) 0 2px, transparent 2px 18px), linear-gradient(180deg, var(--bg-2), var(--bg-1)); }
.bm-xy { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; justify-self: end; }
.bm-xy span { font-size: 13px; color: var(--accent-2); }
.bm-xy b { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(64px, 9vw, 140px); line-height: 0.9; }
@media (max-width: 860px) { .bm { grid-template-columns: 1fr; } .bm-xy { justify-self: start; } }
.death-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: start; }
.death-list p { padding: 26px 0; border-top: 1px solid var(--hair); color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.death-list b { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .death-grid { grid-template-columns: 1fr; } }
