.template-card{font-size:16px;border:1px solid var(--line);background:var(--paper);border-radius:20px;padding:28px;margin:22px 0 44px}.template-lead{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.template-lead h2{font-size:clamp(30px,4vw,46px);margin-top:18px}.template-route{background:#212321;border:1px solid #57534b;border-radius:16px;padding:12px;text-align:center}.template-route svg{width:100%;max-height:380px;display:block;font:16px Quicksand,sans-serif}.template-route small{display:block;color:var(--muted);padding:4px 10px 10px}.template-card>.stats{margin-top:24px;grid-template-columns:repeat(3,minmax(0,1fr))}.template-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:26px 0}.template-columns li{margin-bottom:8px}.template-checkpoints>div{display:grid;grid-template-columns:minmax(0,1fr) 80px 60px;gap:10px;padding:9px 0}.template-checkpoints span{color:var(--muted)}.template-checkpoints time{color:var(--gold);font-weight:700}.template-notes{background:#272725;border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:16px 0}.template-notes summary{cursor:pointer;font:700 18px 'Rethink Sans',sans-serif}.template-notes summary small{display:block;font:400 14px/1.7 Quicksand,sans-serif;color:var(--muted);margin:4px 0 4px 20px}.template-notes[open]>p{margin-top:16px}.template-warnings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.template-warnings article{padding-left:12px;border-left:2px solid var(--gold)}.template-warnings strong{font:700 17px 'Rethink Sans',sans-serif;color:var(--gold)}.template-warnings p{font-size:16px;line-height:1.6;margin:7px 0}.template-warnings a{font-size:14px}.template-resources{display:flex;gap:12px 20px;flex-wrap:wrap;margin-top:22px}.template-resources a{font-size:14px}.template-credit{margin:18px 0 0}.template-setup-note{padding:14px 16px;border-left:3px solid var(--gold);background:#272725;margin:12px 0}.template-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.template-toolbar h2{margin:0 auto 0 0}.template-error{color:var(--peach)}
@media(max-width:760px){.template-card{padding:18px}.template-lead,.template-columns,.template-warnings{grid-template-columns:1fr;gap:20px}.template-route svg{max-height:280px}.template-checkpoints>div{grid-template-columns:minmax(0,1fr) 65px 50px;gap:6px;font-size:14px}.template-card>.stats{gap:8px}.template-card .stat{padding:12px 8px}.template-card .stat strong{font-size:25px}.template-card .stat span{font-size:13px}}

.template-map{height:430px;width:100%;border-radius:10px;overflow:hidden;color:#292929}.template-map>svg{height:100%;max-height:none;color:#fff}.template-map-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 0 6px}.template-map-key{display:flex;gap:8px 12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.template-map-popup{color:#292929;font:14px/1.5 Quicksand,sans-serif;max-width:245px;padding:4px}.template-map-popup strong{font-family:'Rethink Sans',sans-serif}.template-map-popup p{margin:8px 0}.template-map-popup button{cursor:pointer;border:1px solid #777;border-radius:5px;background:white;color:#292929;padding:4px 10px}@media(max-width:760px){.template-map{height:380px}}
