.help-page{background:radial-gradient(ellipse at 90% 0,#19352d4d,transparent 42%),var(--coal-deep);line-height:1.8}
.help-page a{touch-action:manipulation}
.help-page a:hover{color:var(--gold)}
.help-skip{position:absolute;top:-80px;left:16px;z-index:10;padding:10px 16px;background:var(--gold);color:var(--coal-deep)}
.help-skip:focus{top:10px}
.help-top{display:flex;align-items:center;gap:24px;min-height:68px;padding:12px clamp(16px,4vw,48px);border-bottom:1px solid #ede8dc25;background:#101411}
.help-top>span{font-size:12px;letter-spacing:.1em;color:var(--muted)}
.help-top nav{margin-left:auto;display:flex;gap:22px;align-items:center;font-size:12px}
.help-top nav a{display:flex;align-items:center;min-height:44px}
.help-main{width:min(100%,1040px);margin:auto;padding:40px clamp(16px,4vw,48px) 48px}
.help-heading .eyebrow{margin:0 0 10px;font-size:10px}
.help-heading h1{font-size:clamp(27px,4vw,42px);line-height:1.35;letter-spacing:-.03em;margin:0 0 8px}
.help-heading>p:last-child{font-size:13px;color:var(--muted);margin:0}
.help-contents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#ede8dc24;border:1px solid #ede8dc24;margin:28px 0 40px;scroll-margin-top:20px}
.help-contents a{min-width:0;display:flex;align-items:center;gap:12px;min-height:60px;padding:14px 18px;font-size:14px;background:#141b17}
.help-contents a:hover{background:#20291e}
.help-contents small{font:11px Consolas,monospace;color:var(--gold)}
.help-contents span{font:11px Consolas,monospace;color:var(--muted);margin-left:auto}
.help-section{scroll-margin-top:24px;margin-top:42px;min-width:0}
.help-section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #ede8dc44;padding-bottom:8px;margin-bottom:8px}
.help-section-title h2{font-size:20px;margin:0;line-height:1.6;font-weight:700}
.help-section-title h2 small{font:11px Consolas,monospace;color:var(--gold);margin-right:9px}
.help-section-title>a{font-size:11px;color:var(--muted);display:flex;min-height:44px;align-items:center}
.help-section details{border-bottom:1px solid #ede8dc20;min-width:0}
.help-section summary{cursor:pointer;min-height:56px;align-content:center;padding:14px 4px;color:#e0e3d5;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.help-section summary::marker{color:var(--gold);font-size:11px}
.help-section summary:hover{color:var(--gold)}
.help-section summary:focus-visible{outline:2px solid var(--cool);outline-offset:1px}
.help-section details[open]>summary{color:var(--gold)}
.help-answer{padding:0 18px 18px 20px;color:#c1c9ba;font-size:13px;line-height:1.95;overflow-wrap:anywhere}
.help-answer p{margin:0 0 12px}
.help-answer p:last-child{margin-bottom:0}
.help-answer a{color:var(--cool);text-decoration:underline;text-decoration-color:#7ed9df66;text-underline-offset:4px}
.help-answer code,.help-card-coordinates code{font-family:Consolas,monospace;color:#d9d5b8;background:#e5c36e0d;padding:2px 4px;overflow-wrap:anywhere;white-space:normal}
.help-answer dl{margin:0}
.help-answer dt{color:var(--ink);font-weight:600;display:flex;gap:8px;align-items:center;margin:12px 0 3px}
.help-answer dt:first-child{margin-top:0}
.help-answer dd{margin:0 0 10px}
.help-key{flex:none;display:inline-block;width:15px;height:15px;border:1px solid #d9d8ba55}
.help-key.is-origin{background:#f0dfb81c url('assets/ui/origin-reticle.svg') center/100% 100% no-repeat}
.help-key.is-y,.help-cell.is-y{background:repeating-linear-gradient(135deg,#ffd77e45 0 3px,#cd8e322e 3px 6px),#3a3821;border-color:#ffd16d}
.help-key.is-r,.help-cell.is-r{background:radial-gradient(circle,#ccffff8c 0 1px,transparent 1.4px) 0 0/7px 7px,#1a4146;border-color:#8ff2f4}
.help-key.is-both,.help-cell.is-both{background:repeating-linear-gradient(0deg,#9df17265 0 3px,#25704b59 3px 7px),#183923;border-color:#b4ff8d}
.help-intro{margin:12px 0 22px;font-size:12px;color:var(--muted);line-height:1.9}
.help-card-group{margin-top:24px;min-width:0}
.help-card-group h3{font-size:12px;letter-spacing:.06em;color:var(--cool);font-weight:500;margin:0 0 8px}
.help-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px;align-items:start}
.help-card{scroll-margin-top:24px}
.help-card summary{font-size:13px}
.help-card summary .help-card-id{font:10px Consolas,monospace;color:var(--muted);display:inline-block;width:35px;margin-left:5px}
.help-card-body{font-size:12px;line-height:1.95;padding:0 4px 20px}
.help-card-model{color:var(--muted);font:11px/1.9 Consolas,'Microsoft YaHei UI',sans-serif;margin:0 0 10px;overflow-wrap:anywhere}
.help-card-stats{display:flex;flex-wrap:wrap;gap:5px 14px;color:var(--gold);font-size:11px;margin:0 0 10px}
.help-card-flavor{margin:0 0 14px;color:#d4dbc9}
.help-card-range{display:flex;align-items:center;gap:16px;min-width:0}
.help-range-grid{flex:0 0 106px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:#080e0c;padding:6px;border:1px solid #a6b39a33;aspect-ratio:1}
.help-cell{aspect-ratio:1;display:block;min-width:0;border:1px solid #a0b09b35;background:#202d23}
.help-cell.is-origin{background:#f0dfb81c url('assets/ui/origin-reticle.svg') center/100% 100% no-repeat;border-color:#e5c36e99}
.help-card-coordinates{min-width:0;font-size:11px;color:#b8c3b0}
.help-card-coordinates p{margin:5px 0;overflow-wrap:anywhere}
.help-card-coordinates b{font-weight:500;color:var(--gold)}
.help-card-coordinates p:last-child b{color:var(--cool)}
.help-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#ede8dc20;border:1px solid #ede8dc20;margin-top:16px}
.help-references>a{background:#141b17;display:block;padding:18px;min-width:0}
.help-references>a:hover{background:#20291e}
.help-references strong{font-size:13px;color:var(--cool);font-weight:500;display:block;margin-bottom:5px}
.help-references span{display:block;font-size:12px;color:var(--muted);line-height:1.9}
.help-footer{display:flex;flex-wrap:wrap;gap:12px 24px;padding:20px clamp(16px,4vw,48px);border-top:1px solid #ede8dc20;font-size:11px;color:var(--muted)}
.help-footer>span{margin-right:auto}
.help-footer a{display:inline-flex;min-height:44px;align-items:center}
.help-footer>span{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:700px){
  .help-top{gap:16px}.help-top>span{display:none}.help-top nav{gap:18px;font-size:11px}
  .help-main{padding-top:28px}.help-contents{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:30px}
  .help-contents a{padding:12px 14px;gap:10px;min-height:56px;font-size:13px}
  .help-section{margin-top:32px}.help-card-grid{grid-template-columns:minmax(0,1fr)}
  .help-references{grid-template-columns:minmax(0,1fr)}
  .help-answer{padding-left:12px;padding-right:8px}.help-section summary{font-size:13px}
}
@media(max-width:360px){
  .help-contents a{padding:12px 10px;gap:8px}.help-heading h1{font-size:26px}
  .help-top nav{gap:14px}.help-card-range{gap:12px}.help-range-grid{flex-basis:96px}
}
