#openGameGuide{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;width:100%;margin:14px 0 0;padding:12px 14px;background:#f5e4c3;color:#2b2327;border:1px solid #eed4a0;border-radius:6px;text-align:left;font-size:12px;font-weight:800;letter-spacing:.3px}#openGameGuide span{font-size:10px;font-weight:400}#pauseGameGuide{min-height:48px}#raceGuide{position:fixed;inset:0;z-index:125;background:#0e121bec;backdrop-filter:blur(12px);padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));display:grid;place-items:center;touch-action:pan-y;overscroll-behavior:contain}#raceGuide *{box-sizing:border-box}.guide-shell{display:flex;flex-direction:column;width:min(1040px,100%);height:min(820px,100%);min-height:0;background:#1d2028;border:1px solid #e5cfa660;border-radius:14px;box-shadow:0 30px 100px #0008;overflow:hidden}.guide-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;background:#f5e6c7;color:#2a2326;padding:22px 28px;position:relative}.guide-header:after{content:'';position:absolute;bottom:0;left:0;right:0;height:8px;background:conic-gradient(#af2929 25%,#f5e6c7 0 50%,#af2929 0 75%,#f5e6c7 0) 0 0/16px 16px}.guide-header small{font-size:10px;font-weight:800;letter-spacing:2px;color:#9d2928}.guide-header h2{font:900 clamp(24px,4vw,36px)/1.1 Impact,'Arial Narrow',Arial,sans-serif;margin:7px 0 4px;letter-spacing:.1px}.guide-header button{flex-shrink:0;min-width:76px;min-height:48px;border-radius:7px;background:#a7292a;color:#fff1d3;font-size:13px;font-weight:bold}.guide-layout{display:grid;grid-template-columns:175px minmax(0,1fr);min-height:0;flex:1}.guide-tabs{display:flex;flex-direction:column;gap:8px;background:#151920;border-right:1px solid #eee1;padding:20px 12px}.guide-tabs button{min-height:48px;text-align:left;padding:12px 13px;border:1px solid #e4d6ba25;border-radius:7px;background:transparent;color:#d9ceba;font-size:13px;font-weight:700}.guide-tabs button[aria-selected=true]{background:#ac292b;border-color:#dd9f77;color:#fff1d3}.guide-body{overflow-y:auto;overscroll-behavior:contain;padding:28px;min-height:0;scrollbar-color:#8c7962 #1d2028;color:#f4e6cb}.guide-body [hidden]{display:none!important}.guide-lead{margin-bottom:24px}.guide-lead>span{font-size:9px;letter-spacing:2px;font-weight:bold;color:#e8b573}.guide-lead h2{font:900 clamp(27px,4vw,38px)/1.1 Impact,Arial,sans-serif;margin:10px 0}.guide-lead p,.guide-muted{color:#ccbfab;line-height:1.65;font-size:14px;margin:8px 0 18px}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.guide-card{min-width:0;padding:17px;background:linear-gradient(130deg,#2b3039,#23272f);border:1px solid #e9d5af25;border-radius:10px}.guide-art{height:104px;background:radial-gradient(ellipse at center,#eec37415,transparent 67%);margin-bottom:12px}.guide-art svg{display:block;width:120px;height:100%;margin:auto}.guide-card h3,.guide-route-list h3{margin:8px 0;font-size:19px;line-height:1.2;color:#fff0d0}.guide-card p,.guide-route-list p{font-size:13px;line-height:1.65;color:#d0c4b1;margin:0}.guide-badge{font-size:9px;letter-spacing:.8px;color:#edbc76;font-weight:bold}.guide-note{margin:18px 0;padding:16px 18px;background:#161c23;border-left:3px solid #d94334;border-radius:3px;font-size:13px;line-height:1.7;color:#d2c6b3}.guide-note strong{color:#fff0d1}.guide-wide{display:flex;gap:22px;align-items:center;margin-top:18px}.guide-wide .guide-art{flex:0 0 120px;margin:0}.guide-route-list{list-style:none;margin:20px 0;padding:0}.guide-route-list li{display:flex;gap:15px;border-bottom:1px solid #e9d5af22;padding:12px 0;align-items:center}.guide-route-list li>span{width:66px;flex-shrink:0}.guide-route-list svg{width:66px;height:66px}.guide-section-title{font-size:22px;margin:25px 0 10px}.guide-medals{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.guide-medals article{padding:12px 7px;border:1px solid #e9d5af25;border-radius:8px;text-align:center}.guide-medals svg{height:62px}.guide-medals h4{margin:5px 0;font-size:14px}.guide-medals p{font-size:11px;line-height:1.6;color:#cbbc9f}.guide-frankie .guide-art{filter:sepia(.3)}#raceGuide :focus-visible{outline:3px solid #ffd17c;outline-offset:3px}
@media(max-width:650px){#raceGuide{padding:0}.guide-shell{height:100%;width:100%;border:0;border-radius:0}.guide-header{padding:16px 16px 20px;padding-top:max(16px,env(safe-area-inset-top))}.guide-header small{font-size:8px;letter-spacing:1.2px}.guide-header h2{font-size:26px}.guide-header button{min-width:66px}.guide-layout{display:flex;flex-direction:column}.guide-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 12px;border:0;border-bottom:1px solid #eee1;flex-shrink:0}.guide-tabs button{font-size:11px;text-align:center;padding:9px 4px;min-height:44px}.guide-body{padding:21px 16px max(28px,env(safe-area-inset-bottom))}.guide-grid{grid-template-columns:1fr}.guide-inventory{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.guide-card{padding:14px}.guide-card h3{font-size:18px}.guide-card p{font-size:13px}.guide-inventory .guide-card{padding:12px}.guide-inventory .guide-card h3{font-size:16px}.guide-inventory .guide-badge{font-size:8px}.guide-art{height:88px}.guide-wide{display:block}.guide-wide .guide-art{height:90px;margin-bottom:12px}.guide-medals{grid-template-columns:repeat(2,1fr)}.guide-note{padding:14px}.guide-lead h2{font-size:29px}}
@media(max-height:500px) and (orientation:landscape){#raceGuide{padding:0 8px}.guide-shell{height:100%}.guide-header{padding:10px 18px 17px}.guide-header h2{font-size:25px;margin:4px 0}.guide-layout{display:grid;grid-template-columns:150px minmax(0,1fr)}.guide-tabs{display:flex;flex-direction:column;overflow-y:auto;padding:10px;gap:4px}.guide-tabs button{min-height:44px;font-size:11px}.guide-body{padding:18px}.guide-lead h2{font-size:27px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
