body.is-instructions{background:#18233b url("background.webp") center center/cover no-repeat fixed}
body.is-instructions::before{display:none}
body.is-instructions .page-shell{width:min(1040px,calc(100% - 120px));padding:24px 0}
body.is-instructions .campaign-header,body.is-instructions footer{display:none}
#instructions.instructions-screen{padding:20px 28px 26px;border:3px solid #20e5f1;border-radius:18px;background:linear-gradient(#090d3066,#10103299),url("menu-room.webp") center/cover no-repeat;box-shadow:0 0 0 4px #080c26,0 0 30px #12daef33}
.instructions-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:100px;border-bottom:3px solid var(--cyan)}
.instructions-logo{width:310px;max-width:48%;margin-top:0;margin-bottom:14px}
.instructions-brand>p{font-weight:900;font-size:14px;letter-spacing:2px;text-align:center;color:#e7e5ff;line-height:1.5;max-width:50%;margin:0 16px 0 0}
.instructions-brand>p>span{font-size:30px;color:#20e5f1;display:inline-block;margin-left:20px;vertical-align:middle}
.instructions-heading{text-align:center;margin:14px 0 34px}
.instructions-heading .eyebrow{margin:0 0 6px;color:#20e5f1;font-size:12px}
.instructions-heading h1{color:#ffe733;font-size:clamp(28px,4.2vw,48px);line-height:1.06;margin:0;font-weight:900;text-shadow:3px 3px #675500,5px 5px #02051a;letter-spacing:1px}
.instruction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.instruction-card{position:relative;padding:32px 16px 20px;border:2px solid #31b5e6;border-radius:12px;background:linear-gradient(150deg,#17173e,#090d2d);min-width:0}
.step-number{position:absolute;left:10px;top:-13px;min-width:52px;padding:5px 10px;color:#071727;background:#73ffd0;border:2px solid #083943;box-shadow:3px 3px #060b24;border-radius:4px;font-size:24px;font-weight:900;line-height:1}
.instruction-card h2{font-size:19px;color:#ffe733;border-bottom:2px solid #20e5f1;padding-bottom:14px;margin:8px 0 16px;min-height:64px;line-height:1.15;overflow-wrap:anywhere}
.instruction-card p{font-size:14px;line-height:1.65;color:#f4f2ff;margin:12px 0}
.enemy-guide,.supply-guide{padding:0;margin:18px 0 0;list-style:none}
.enemy-guide li{display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center;font-size:13px;line-height:1.3;margin:12px 0}
.enemy-guide img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}
.enemy-guide strong{color:#ffe733;white-space:nowrap}
.supply-guide li{display:flex;align-items:center;gap:12px;min-height:65px;margin:8px 0 14px;line-height:1.35}
.supply-sprite{display:block;width:44px;height:54px;flex:0 0 44px;background:none;image-rendering:pixelated;overflow:hidden}
.supply-guide strong{display:block;color:#ffe733;font-size:13px;margin-bottom:3px}
.supply-guide span{display:block;color:#ebebff;font-size:13px}
.instruction-card p.card-small{font-size:12px;color:#c5c8e8;line-height:1.45}
.control-hint{display:flex;gap:10px;align-items:center;font-size:12px;color:#c5c8e8;margin-top:20px}
kbd{display:inline-grid;place-items:center;min-width:38px;min-height:34px;border:2px solid #49c2ed;border-radius:5px;font:900 22px "Trebuchet MS",Verdana,sans-serif;color:#e8edff;box-shadow:0 3px #05091d;background:#182144}
.instructions-important{display:flex;align-items:center;gap:20px;border:2px solid #20e5f1;border-radius:12px;padding:16px 20px;margin-top:24px;background:#111537}
.instructions-important>strong{color:#111025;background:#ffe733;padding:8px 12px;border:2px solid #090d28;box-shadow:3px 3px #03051b;font-size:19px;transform:rotate(-3deg)}
.instructions-important p{margin:0;font-size:15px;font-weight:700;line-height:1.5}
.ammo-details{margin:14px 0 0;color:#d6dafa;font-size:13px;line-height:1.65}
.ammo-details summary{cursor:pointer;padding:6px 0;text-decoration:underline;text-underline-offset:3px;color:var(--cyan)}
.ammo-details p{margin:8px 0 0;padding:12px;background:#202447;border-radius:6px}
.instructions-actions{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:22px}
#instructions #readyButton{width:min(570px,100%);padding:18px 20px;font-size:clamp(17px,2.5vw,28px);color:#101020;background:linear-gradient(#fff943,#f4d90b);border:3px solid #fff782;outline:2px solid #20e5f1;outline-offset:2px;box-shadow:0 7px #05091e,inset 0 -5px #d6b500;border-radius:12px;letter-spacing:.4px}
#readyButton>span{margin-right:12px}
#instructions .instructions-actions .secondary{color:#bddcff;background:transparent;border:2px solid #20e5f1;box-shadow:none;font-size:14px;padding:12px 26px}
@media(max-width:950px){.instruction-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.instruction-card h2{min-height:0}.instruction-card h2 br{display:none}.instructions-brand>p>span{display:none}}
@media(max-width:550px){body.is-instructions .page-shell{width:calc(100% - 20px);padding:10px 0}#instructions.instructions-screen{padding:14px;border-radius:12px}.instructions-brand{gap:8px;min-height:76px}.instructions-logo{max-width:58%;margin-top:0;margin-bottom:0}.instructions-brand>p{font-size:9px;letter-spacing:.5px;max-width:42%;margin:0}.instructions-heading{margin:22px 0 32px}.instructions-heading h1{font-size:29px}.instruction-grid{grid-template-columns:1fr;gap:28px}.instruction-card{padding:26px 18px 16px}.instruction-card h2{font-size:20px;margin:8px 0 12px;padding-bottom:12px}.instruction-card p{font-size:15px}.enemy-guide li{font-size:15px;grid-template-columns:44px 1fr auto}.enemy-guide img{width:44px;height:44px}.supply-guide strong,.supply-guide span{font-size:15px}.instructions-important{display:block;padding:14px;margin-top:24px}.instructions-important>strong{display:inline-block;margin-bottom:12px}.instructions-important p{font-size:14px}#instructions #readyButton{font-size:17px;padding:18px 10px}}

/* Crop the subtitle from the shared reference only in the instructions logo. */
.instructions-logo .logo-crop{aspect-ratio:1000/395}
.instructions-logo .logo-crop img{top:-13.924%}
