/* Guide presentation only; share the LP's restrained surfaces and spacing. */
.guide-page {
  --panel:#191d21;
  --line:#30363c;
  --surface-edge:#394047;
  --surface-shadow:0 6px 18px #00000024,inset 0 1px 0 #ffffff06;
  background:radial-gradient(ellipse 800px 650px at 50% 120px,#c7dcd509,transparent 80%),var(--bg);
  isolation:isolate;
}
.guide-page::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse at center,transparent 45%,#00000020);
}
.guide-page header { min-height:68px; border-bottom-color:#ffffff12; }
.guide-page header > a:last-child { padding-block:12px; flex:0 0 auto; color:var(--muted); }
.guide-page main.wrap { width:min(1000px,calc(100% - 40px)); }
.guide-page section { padding-block:clamp(40px,5vw,64px); border-bottom-color:#ffffff12; }
.guide-page .intro { padding-block:36px 40px; }
.guide-page .eyebrow { margin-bottom:18px; font-size:11px; letter-spacing:.14em; }
.guide-page .intro h1 { font-size:clamp(44px,7vw,76px); line-height:1.04; letter-spacing:-.035em; margin-bottom:24px; }
.guide-page .lead { font-size:clamp(20px,2.4vw,25px); line-height:1.6; margin-bottom:12px; text-wrap:balance; }
.guide-page h2 { font-size:clamp(24px,2.8vw,32px); line-height:1.5; margin-bottom:24px; text-wrap:balance; }
.guide-page p { line-height:1.85; text-wrap:pretty; }
.guide-page p:last-child { margin-bottom:0; }
.guide-page .note { font-size:12px; line-height:1.85; }
.guide-page .contents { margin-top:28px; gap:8px 20px; }
.guide-page .contents a { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; padding:12px 2px; border-color:#ffffff1c; color:var(--ink); }
.guide-page .contents a::after { content:"↓"; color:var(--mint); font:14px var(--mono); }
.guide-page .contents a:active { color:var(--mint); }
.guide-page .flow-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
.battle-guide #roulette .flow-layout > div > p { max-width:760px; }
.guide-page .roulette { margin-block:24px; border-color:var(--surface-edge); }
.guide-page .roulette > div { padding:18px; background:linear-gradient(145deg,#ffffff04,transparent),var(--panel); }
.guide-page .roulette strong { font-size:40px; line-height:1.25; margin-top:4px; }
.guide-page .roulette small { font-size:17px; margin-left:2px; }
.guide-page .battle-examples { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; margin-top:32px; align-items:start; }
.guide-page .screen { width:100%; max-width:320px; margin:0 auto; padding:8px; border:1px solid var(--surface-edge); border-top-color:#50575d; background:linear-gradient(145deg,#ffffff04,transparent 60%),var(--panel); box-shadow:var(--surface-shadow); }
.guide-page .screen img { border:1px solid #ffffff12; }
.guide-page .screen figcaption { padding:12px 6px 4px; font-size:12px; line-height:1.7; text-wrap:pretty; }
.guide-page .matchup-scroll { scrollbar-width:thin; scrollbar-color:#65747e #191d21; }
.guide-page .matchup-table { max-width:900px; margin-bottom:8px; border-color:#46515a; }
.guide-page .matchup-table th,.guide-page .matchup-table td { border-color:#3e4952; }
.guide-page .matchup-table caption { padding-bottom:12px; }
.guide-page .matchup-table thead th:nth-child(6) { --type-color:#ffffff; }
.guide-page .table-hint { margin-block:12px; }
.guide-page #affinity > .note:last-child { margin-top:16px; }
.guide-page .reference-list { margin-block:24px 18px; }
.guide-page .reference-list > div { padding:16px 0; gap:6px 28px; align-items:baseline; border-color:#ffffff14; }
.guide-page .reference-list dt { font-size:15px; }
.guide-page .reference-list dd { font-size:14px; line-height:1.85; text-wrap:pretty; }
.guide-page .reference-list dt span:not(.buzz-word) { font:11px/1.6 var(--mono); letter-spacing:.025em; }
.battle-guide #tips > p:last-child { max-width:760px; }
.guide-page .guts-icon { margin-right:8px; }
.guide-page .closing { margin-block:32px 0; padding:36px 20px; border:1px solid var(--surface-edge); background:radial-gradient(ellipse at 50% 100%,#ffe47706,transparent 70%),var(--panel); box-shadow:var(--surface-shadow); }
.guide-page .closing h2 { margin-bottom:20px; }
.guide-page .closing .eyebrow { font-size:10px; letter-spacing:.12em; }
.guide-page .closing .button { width:min(100%,340px); min-height:60px; justify-content:center; align-items:center; margin:0 0 18px; padding:16px 20px; color:#18221c; border:1px solid #fff0b0; background:#f1d876; box-shadow:inset 0 1px 0 #fff5c780,0 3px 0 #9b7936; font:800 18px/1.4 system-ui,sans-serif; transition:background .16s,transform .16s; }
.guide-page .closing .button:disabled { color:var(--muted); border-color:var(--line); background:var(--bg); box-shadow:none; }
.guide-page .closing .button:not(:disabled):active { background:#e8ca61; transform:translateY(1px); }
.guide-page .back { width:fit-content; padding:8px 4px; margin:0 auto; }
.guide-page footer { padding-block:28px 36px; }

/* Let each shot image and its description share enough room. */
.shooting-guide .shot-grid { grid-template-columns:minmax(0,1fr); gap:16px; margin-bottom:20px; }
.shooting-guide .shot-card:has(.shot-example) { padding:16px; gap:12px; min-height:0; border:1px solid var(--surface-edge); border-top-color:#50575d; background:linear-gradient(145deg,#ffffff04,transparent 60%),var(--panel); box-shadow:var(--surface-shadow); }
.shooting-guide .shot-card:has(.shot-example) .shot-letter { min-width:20px; font-size:28px; }
.shooting-guide .shot-example { width:104px; height:137.28px; flex:0 0 104px; object-fit:cover; object-position:50% 32%; }
.shooting-guide .shot-card h3 { font-size:17px; line-height:1.6; margin-bottom:10px; }
.shooting-guide .shot-card h3 small { display:block; font-size:11px; margin-bottom:3px; }
.shooting-guide .shot-card p { font-size:14px; line-height:1.85; text-wrap:pretty; }
.shooting-guide #items .flow-layout { grid-template-columns:minmax(0,1fr); }
.shooting-guide #items .reference-list { display:grid; gap:20px; margin:0; }
.shooting-guide #items .reference-list > div { padding:20px; border:1px solid var(--surface-edge); background:var(--panel); }
.shooting-guide #items .reference-list dt { display:flex; align-items:center; gap:12px; }
.shooting-guide .item-icon { margin:0; flex:0 0 32px; }
.shooting-guide #items .reference-list dd { margin-top:12px; }
.shooting-guide .guide-inline-link { display:inline-block; }

@media(max-width:699px) {
  .shooting-guide .contents a:last-child { grid-column:1 / -1; }
}
@media(min-width:700px) {
  .guide-page .intro { padding-top:44px; }
  .guide-page .contents { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .shooting-guide .contents { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .guide-page .flow-layout .roulette { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .guide-page .battle-examples { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:760px; margin:36px auto 0; gap:32px; }
  .guide-page .reference-list > div { grid-template-columns:190px minmax(0,1fr); }
  .guide-page .reference-list dt span:not(.buzz-word) { display:block; margin:3px 0 0; }
  .guide-page .closing { padding-block:44px; }
  .shooting-guide .shot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .shooting-guide #items .reference-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(min-width:1000px) {
  .shooting-guide .shot-card:has(.shot-example) { gap:18px; padding:20px; }
  .shooting-guide .shot-card:has(.shot-example) .shot-letter { min-width:24px; font-size:32px; }
  .shooting-guide .shot-example { width:132px; height:174.24px; flex-basis:132px; }
}
@media(max-width:380px) {
  .guide-page .wrap,.guide-page main.wrap { width:calc(100% - 32px); }
  .guide-page header { gap:8px; font-size:11px; }
  .guide-page .wordmark { font-size:16px; }
  .guide-page .contents { gap:4px 12px; font-size:11px; }
  .guide-page .contents a::after { font-size:12px; }
  .guide-page h2 { font-size:23px; }
  .guide-page .closing { padding-inline:16px; }
  .shooting-guide .shot-card:has(.shot-example) { padding:12px; gap:10px; }
  .shooting-guide .shot-card:has(.shot-example) .shot-letter { min-width:16px; font-size:24px; }
  .shooting-guide .shot-example { width:88px; height:116.16px; flex-basis:88px; }
  .shooting-guide .shot-card h3 { font-size:16px; }
}
@media(hover:hover) and (pointer:fine) {
  .guide-page .contents a:hover { color:var(--mint); border-color:#96f2cd80; }
  .guide-page header > a:hover,.guide-page .back:hover { color:var(--mint); }
  .guide-page .closing .button:not(:disabled):hover { background:#ffe99a; transform:translateY(-1px); }
}
@media(prefers-reduced-motion:reduce) {
  .guide-page .closing .button { transition:none; }
  .guide-page .closing .button:not(:disabled):is(:hover,:active) { transform:none; }
}
