/* Action briefing uses the actual game art and static UI examples. */
.sheet.briefing-sheet{inset:0;margin:auto;width:min(480px,calc(100% - 24px));height:min(734px,calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));max-height:none;padding:0;border:1px solid #586252;border-radius:18px;overflow:hidden;background:#151e21;box-shadow:0 24px 100px #000c}
.briefing-sheet[open]{display:flex;flex-direction:column}
.briefing-sheet::backdrop{background:#060c12cc;backdrop-filter:blur(7px)}
.briefing-sheet>.sheet-handle{display:none}
.briefing-sheet>header{flex:none;position:relative;min-height:52px;padding:10px 17px;background:#1e282a;border-bottom:1px solid #c3d59020}
.briefing-sheet>header h2{font-size:17px;letter-spacing:2px}
.briefing-sheet>header .icon-button{width:32px;height:32px}
.briefing-sheet>.sheet-body{display:flex;flex-direction:column;flex:1;min-height:0;padding:0}
.briefing-context{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 17px;flex:none;border-bottom:1px solid #c3d59014;font-size:11px;color:#a5b494}
.briefing-skip{display:flex;gap:2px;align-items:center;min-height:29px;border:0;padding:0 2px;background:transparent;color:#c4ccbc;font-size:11px}
.briefing-skip .ui-icon{width:14px;height:14px}
.briefing-view{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#506451 transparent;outline:none}
.briefing-view:focus-visible{outline:2px solid #c3d590;outline-offset:-3px}
.briefing-page{padding:13px 18px 10px;animation:briefing-enter .28s ease-out both}
.briefing-kicker{margin:0 0 5px;color:#a7b693;font-size:9px;font-weight:650;letter-spacing:2px}
.briefing-page h3{margin:0 0 13px;font-size:21px;line-height:1.35;color:#f0f0df;letter-spacing:.3px}
.briefing-visual{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-height:210px;margin:0 0 16px;padding:15px;border:1px solid #a9bc922d;border-radius:12px;background:radial-gradient(ellipse at 50% 100%,#48635328,transparent 75%),linear-gradient(145deg,#202c30,#10191d);overflow:hidden;pointer-events:none;user-select:none}
.briefing-visual .ui-icon{width:20px;height:20px;flex:none}
.briefing-visual .sprite,.briefing-visual .item-art{flex:none;filter:drop-shadow(0 4px 4px #0008)}
.briefing-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 8px;border:1px solid #b8d08840;border-radius:6px;font-size:10px;color:#c6d89f;background:#32423870}
.briefing-pill .ui-icon{width:13px;height:13px}
.briefing-pill.red{border-color:#d47f7f55;background:#65343570;color:#e7a3a0}
.briefing-route{height:210px;padding:0;display:block}
.briefing-route-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#5f6b6555;stroke-width:2}
.briefing-route-lines .chosen{stroke:#c1d994;stroke-width:3;stroke-dasharray:5 5}
.briefing-route-node{position:absolute;display:flex;flex-direction:column;align-items:center;gap:4px;transform:translate(-50%,-50%);font-size:10px;color:#bec7b6}
.briefing-route-node>.ui-icon{width:33px;height:33px;border-radius:50%;padding:7px;box-sizing:content-box;background:#253131;border:1px solid #526453}
.briefing-route-node.route-start{left:50%;top:83%;color:#d2e5a4}
.briefing-route-node.route-start>.ui-icon{width:23px;height:23px;border-color:#a6c579;background:#3c4e36}
.briefing-route-node.route-camp{left:21.875%;top:50%;color:#d2e5a4}
.briefing-route-node.route-camp>.ui-icon{border-color:#a6c579}
.briefing-route-node.route-elite{left:78.125%;top:50%;color:#d29d82}
.briefing-route-node.route-boss{left:50%;top:15%;color:#cf9396}
.briefing-route-node.route-boss>.ui-icon{width:22px;height:22px;border-color:#886164}
.briefing-map-stamp{position:absolute;right:13px;bottom:10px;font-size:8px;color:#758777;letter-spacing:2px}
.briefing-card{display:flex;flex-direction:column;align-items:center;position:relative;width:105px;min-height:168px;padding:33px 7px 7px;border:1px solid #9e7474;border-radius:9px;background:linear-gradient(160deg,#583e3a,#2d2929);color:#f1e8db;text-align:center}
.briefing-card.skill{border-color:#708e83;background:linear-gradient(160deg,#34564b,#233631)}
.briefing-card.tactic{border-color:#8b81a4;background:linear-gradient(160deg,#51445f,#302c3e)}
.briefing-cost{position:absolute;top:5px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:29px;height:29px;font-size:23px;line-height:1;border-radius:50%;color:#fffbdc;background:#272b25;border:1px solid #d4df9c88}
.briefing-card>strong{font-size:12px;line-height:1.25;margin:5px 0 10px}
.briefing-card>.item-art{margin-bottom:9px}
.briefing-card-effect{font-size:14px;line-height:1.4;font-weight:700}
.briefing-card>small{font-size:9px;line-height:1.45;color:#d1c4b8;margin-top:3px}
.briefing-card>em{font-style:normal;font-size:8px;color:#cab7aa;margin-top:auto;padding-top:6px;letter-spacing:3px}
.briefing-card.skill>em{color:#9bc9b1}.briefing-card.tactic>em{color:#c5add9}
.briefing-shoot{justify-content:space-evenly;gap:10px;padding:14px 20px}
.briefing-aim-line{display:flex;flex-direction:column;align-items:center;gap:7px;color:#c3d590;flex:none}
.briefing-aim-line>.ui-icon{width:27px;height:27px}.briefing-aim-line>small{font-size:9px}
.briefing-shot-target{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:83px}
.briefing-shot-target>strong{font-size:11px}.briefing-shot-target>.briefing-pill{font-size:8px;padding:3px 5px}
.briefing-demo-hp{display:block;padding:3px 11px;border-radius:4px;background:#86505a;border:1px solid #c38f8f;font-size:11px}
.briefing-step-dot{position:absolute;top:13px;display:grid;place-items:center;width:21px;height:21px;border:1px solid #c3d590;border-radius:50%;background:#252f27;color:#dce9bb;font-size:12px}
.briefing-step-dot.first{left:9px}.briefing-step-dot.second{right:9px}
.briefing-resources{flex-direction:column;gap:12px;padding:12px}
.briefing-resource-row{display:flex;align-items:center;justify-content:space-around;width:100%;border-bottom:1px solid #7d8f7140;padding-bottom:10px}
.briefing-resource-row>div{display:flex;align-items:center;gap:7px;font-size:11px;color:#c1d59b}
.briefing-resource-row>div>b{font-size:23px;line-height:1}.briefing-resource-row small{font-size:12px;color:#939f8c;font-weight:400}
.briefing-resource-row>i{height:20px;width:1px;background:#76866960}
.briefing-support-cards{display:flex;justify-content:center;gap:8px;width:100%}
.briefing-support-cards>.briefing-card{width:calc((100% - 16px)/3);min-height:151px;padding:27px 5px 6px;min-width:0}
.briefing-support-cards .briefing-cost{width:24px;height:24px;font-size:20px}
.briefing-support-cards .briefing-card>strong{font-size:11px;margin:5px 0 7px}
.briefing-support-cards .briefing-card-effect{font-size:12px}
.briefing-support-cards .briefing-card>small{font-size:9px}
.briefing-survivor{gap:9px;padding:15px 12px;justify-content:space-around}
.briefing-hero-art{position:relative;display:flex;align-items:center;justify-content:center;width:42%;height:180px}
.briefing-hero-art>.actor-sprite{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%)}
.briefing-ability-demo{display:flex;flex-direction:column;align-items:flex-start;width:54%;gap:9px;z-index:1}
.briefing-ability-demo>small{color:#a5bda1;font-size:10px}.briefing-ability-demo>strong{font-size:17px;color:#d9e6b6}.briefing-ability-demo>span:not(.briefing-pill){font-size:11px;color:#cfdbc6;line-height:1.6}
.briefing-resource-pips{display:flex;align-items:center;gap:5px;width:100%}
.briefing-resource-pips>i{width:12px;height:12px;border-radius:50%;background:#c3d590;box-shadow:0 0 8px #b0d07330}.briefing-resource-pips>i.empty{background:transparent;border:1px solid #667b56;box-shadow:none}
.briefing-resource-pips>b{font-size:14px;margin-left:5px;color:#ccdcab}
.briefing-ability-demo>.briefing-pill{font-size:9px;padding:5px;white-space:nowrap}
.briefing-monsters{gap:6px;align-items:center;justify-content:space-around;padding:16px 9px 42px}
.briefing-monsters>div{display:flex;flex-direction:column;align-items:center;gap:8px;width:calc((100% - 12px)/3);min-width:0}
.briefing-monsters>div>.sprite{max-width:100%;height:auto;aspect-ratio:var(--art-ratio);min-height:0}
.briefing-monsters strong{font-size:11px;color:#d3d8c7;text-align:center}.briefing-monsters small{font-size:9px;color:#c3d590;text-align:center}
.briefing-monster-alert{position:absolute;bottom:12px;left:0;width:100%;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:#aabc9e}
.briefing-monster-alert>.ui-icon{width:14px;height:14px}
.briefing-growth{align-items:stretch;gap:10px;padding:13px 10px}
.briefing-growth-lane{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;flex:1;min-width:0;border-right:1px solid #61735d60;padding-right:8px}
.briefing-growth-lane.persistent{border:0;padding:0}
.briefing-growth-lane>span{display:flex;align-items:center;gap:5px;font-size:11px;color:#b0c995}.briefing-growth-lane>div{display:flex;align-items:center;justify-content:center;gap:9px;min-height:60px;width:100%}
.briefing-growth-lane>div>.ui-icon{width:16px;height:16px;color:#8fa180}
.briefing-growth-lane>strong{font-size:11px;text-align:center;line-height:1.5}.briefing-growth-lane>small{font-size:9px;line-height:1.6;text-align:center;color:#a5b29d}
.briefing-growth-lane>div>b{display:flex;flex-direction:column;align-items:center;font-size:25px;color:#d4e7ad;line-height:1.3}.briefing-growth-lane>div>b>small{font-size:9px;color:#a5b29d;font-weight:400}
.briefing-waves{flex-direction:column;gap:20px;padding:16px 11px}
.briefing-wave-track{display:flex;justify-content:space-between;gap:6px;width:100%;position:relative}
.briefing-wave-track:before{content:'';position:absolute;left:8%;right:8%;top:17px;height:1px;background:#7c986b70;z-index:-1}
.briefing-wave-track>div{display:flex;flex-direction:column;align-items:center;gap:7px;width:18%;font-size:9px;color:#aabb9d}
.briefing-wave-track>div>.ui-icon{width:36px;height:36px;padding:8px;border-radius:50%;background:#29392d;border:1px solid #6d865d}
.briefing-wave-track>div.elite>.ui-icon{background:#44382d;border-color:#977350}.briefing-wave-track>div.boss>.ui-icon{background:#522f35;border-color:#ab7178}
.briefing-wave-track>div>b{font-size:14px;line-height:1;color:#e1e7d0}
.briefing-wave-loop{display:flex;align-items:center;gap:7px;color:#c9d5ad;font-size:12px;border:1px dashed #7d92644d;padding:10px 13px;border-radius:7px}
.briefing-wave-loop .ui-icon{width:15px;height:15px}.briefing-visual-note{font-size:10px;color:#a6b79a}
.briefing-tips{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.briefing-tips>li{display:flex;align-items:flex-start;gap:9px;margin:0;padding:0}
.briefing-tips>li>b{flex:none;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;border:1px solid #a7bb834d;background:#2b392e;font-size:10px;font-weight:500;color:#c1d994;margin-top:1px}
.briefing-tips strong{display:block;font-size:12px;color:#dfdfcf;line-height:1.55;font-weight:650}
.briefing-tips p{margin:3px 0 0;font-size:11px;line-height:1.65;color:#aab9a8}
.briefing-note{display:flex;align-items:flex-start;gap:6px;margin:13px 0 0;padding-top:10px;border-top:1px solid #687b5733;font-size:10px;line-height:1.6;color:#a8b58f}
.briefing-note>.ui-icon{width:13px;height:13px;flex:none;margin-top:2px}
.briefing-footer{flex:none;display:flex;flex-direction:column;padding:4px 17px 14px;background:#1b2628;border-top:1px solid #74866740}
.briefing-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;height:36px;color:#b9c9a4}
.briefing-pagination>[role=status]{font-size:10px;letter-spacing:1px;font-variant-numeric:tabular-nums;white-space:nowrap}
.briefing-pagination>[role=group]{display:flex;justify-content:center;gap:1px}
.briefing-pagination button{display:grid;place-items:center;border:0;background:transparent;width:27px;height:34px;padding:0;border-radius:5px}
.briefing-pagination button>i{display:block;width:6px;height:6px;border-radius:50%;background:#637258;transition:width .2s,background .2s}
.briefing-pagination button[aria-current]>i{width:17px;border-radius:4px;background:#c3d590}
.briefing-pagination>small{font-size:9px;color:#829779;white-space:nowrap}
.briefing-buttons{display:grid;grid-template-columns:1fr 1.45fr;gap:9px}
.briefing-buttons>button{display:flex;align-items:center;justify-content:center;gap:7px;height:43px;min-height:43px;margin:0;font-size:13px;border-radius:9px;padding:8px 10px}
.briefing-buttons .ui-icon{width:16px;height:16px}.briefing-prev>.ui-icon{transform:rotate(180deg)}
.briefing-buttons>button:disabled{opacity:.3;cursor:default}
.briefing-sheet button:focus-visible{outline:2px solid #dce6b5;outline-offset:2px}
@keyframes briefing-enter{from{opacity:0;transform:translateX(calc(var(--page-direction,0)*24px))}to{opacity:1;transform:translateX(0)}}
@media(max-width:370px){.briefing-page{padding:12px 13px 9px}.briefing-page h3{font-size:18px}.briefing-visual{padding-left:8px;padding-right:8px;min-height:195px}.briefing-context{padding-left:13px;padding-right:13px}.briefing-shoot{gap:5px}.briefing-shoot .briefing-card{width:94px}.briefing-aim-line>.ui-icon{width:20px;height:20px}.briefing-shot-target{min-width:76px}.briefing-ability-demo>strong{font-size:15px}.briefing-ability-demo>.briefing-pill{font-size:8px}.briefing-pagination button{width:23px}.briefing-footer{padding-left:13px;padding-right:13px}.briefing-pagination{gap:4px}.briefing-monsters strong{font-size:10px}.briefing-monsters small{font-size:8px}.briefing-growth-lane>div{gap:6px}.briefing-growth-lane>div>.item-art{max-width:46px}.briefing-route{padding:0}}
@media(max-height:650px){.briefing-page h3{margin-bottom:9px}.briefing-visual{min-height:174px;margin-bottom:12px}.briefing-route{height:185px}.briefing-tips{gap:8px}.briefing-footer{padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){.briefing-page{animation:none}.briefing-pagination button>i{transition:none}}
