/* Scoped camp planning. Existing scenery, readable controls and native disclosures. */
.expedition-planner{min-width:0;margin:18px 0;border:1px solid #667c5d;border-radius:16px;background:#14231f;color:#edf1df;overflow:hidden;container-type:inline-size}
.expedition-planner[hidden]{display:none!important}
.ep-heading{position:relative;isolation:isolate;padding:23px 24px 20px;overflow:hidden;background:#182d27}
.ep-heading:before{content:"";position:absolute;inset:0;z-index:-2;background:url("assets/region-woods.svg") center 54%/cover;opacity:.31}
[data-ep-region="tides"] .ep-heading:before{background-image:url("assets/region-tides.svg")}
[data-ep-region="astral"] .ep-heading:before{background-image:url("assets/region-astral.svg")}
.ep-heading:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#11271bf0,#142b20b8 70%,#14231f85)}
.ep-kicker{display:block;color:#d9c68c;font-size:10px;font-weight:750;letter-spacing:1.5px;line-height:1.6}
.ep-heading h2{margin:8px 0 7px;color:#fbf1d8;font-family:Georgia,"Noto Serif TC","Songti TC",serif;font-weight:500;font-size:clamp(25px,4.4cqi,34px);line-height:1.22;letter-spacing:.1px}
.ep-heading p{max-width:580px;color:#d0ddc8;font-size:13px;line-height:1.7}
.ep-body{display:grid;gap:16px;padding:20px 22px}
.ep-body h3{margin:0 0 11px;font-size:14px;font-weight:700;letter-spacing:.2px;color:#e9edda}
.ep-inspect{padding:10px 12px;border:1px solid #83957266;border-radius:8px;background:#2b3828;color:#e0e4c9;font-size:12px;line-height:1.7}
.ep-route-grid,.ep-station-grid,.ep-challenge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ep-choice{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;min-height:132px;padding:13px;text-align:left;border:1px solid #61765e;border-radius:10px;background:linear-gradient(140deg,#253a2f,#1a2e26);color:#edf1df;font:inherit;cursor:pointer;overflow-wrap:anywhere;transition:border-color .16s,background .16s,box-shadow .16s}
.ep-choice:hover:not(:disabled):not([aria-disabled="true"]){border-color:#c3d499;background:#304733}
.ep-choice.is-selected{border-color:#e5cb86;background:linear-gradient(135deg,#39452b,#263a2a);box-shadow:inset 0 0 0 1px #e5cb8666}
.ep-choice:disabled{opacity:1;border-color:#536353;background:#1d2c25;color:#bbcab7;cursor:not-allowed}
.ep-choice:disabled.is-selected{border-color:#b8a66c;background:#2b3728}
.ep-choice[aria-disabled="true"]{cursor:wait}
.ep-choice-top{display:flex;align-items:center;gap:9px;min-width:0}
.ep-choice-top strong{flex:1;min-width:0;font-size:14px;font-weight:750;line-height:1.5;color:#f0eedc}
.ep-choice-icon{display:grid;place-items:center;flex:none;width:31px;height:33px;border:1px solid #82976d73;border-radius:8px;background:#152b21;color:#c6d8a3}
.ep-choice-icon svg{width:19px;height:19px}
.ep-choice.is-selected .ep-choice-icon{color:#f0d68d;border-color:#d5c1838c;background:#313c25}
.ep-check{width:18px;flex:none;color:#f4db98;font-size:16px;font-weight:750;text-align:right}
.ep-choice-description{font-size:12px;line-height:1.7;color:#c9d7bf}
.ep-choice-reason{font-size:11px;line-height:1.65;color:#ebc5a7}
.ep-choice-state{margin-top:auto;padding-top:2px;color:#b9cf9f;font-size:10px;font-weight:750;letter-spacing:.2px;line-height:1.6}
.ep-choice.is-selected .ep-choice-state{color:#f0d68d}
.ep-choice:disabled .ep-choice-state{color:#b5c4ad}
.ep-preview{padding:13px 14px 11px;border:1px solid #71856380;border-radius:10px;background:#20372d}
.ep-preview h3{font-size:11px;margin-bottom:10px;color:#dce8cb}
.ep-preview dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.ep-preview dl>div{min-width:0}
.ep-preview dt{display:flex;align-items:flex-start;gap:5px;margin-bottom:4px;font-size:10px;line-height:1.55;color:#d0ddc2}
.ep-preview dt svg{width:13px;height:15px;flex:none;color:#b4cf99}
.ep-preview dd{margin:0;color:#fff3cc;font-size:19px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.4}
.ep-preview>p{margin:10px 0 0;border-top:1px solid #89a0773d;padding-top:8px;color:#c0d0b7;font-size:10px;line-height:1.75}
.ep-xp-note{display:block;margin-top:3px;color:#dfdfb8}
.ep-disclosure{min-width:0;border:1px solid #5f755b;border-radius:10px;background:#192e25;overflow:hidden}
.ep-disclosure>summary{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px;list-style:none;cursor:pointer;color:#e8eed8}
.ep-disclosure>summary::-webkit-details-marker{display:none}
.ep-disclosure>summary>span:first-child{flex:1;min-width:0}
.ep-disclosure>summary strong{display:block;font-size:13px;font-weight:700;line-height:1.5}
.ep-disclosure>summary small{display:block;margin-top:3px;font-size:11px;line-height:1.6;color:#c3d1b7;overflow-wrap:anywhere}
.ep-disclosure[open]>summary{border-bottom:1px solid #6d836150;background:#263b2c}
.ep-chevron{flex:none;color:#d4dcae;font-size:23px;line-height:1;transition:transform .16s}
.ep-disclosure[open] .ep-chevron{transform:rotate(180deg)}
.ep-disclosure-content{padding:12px}
.ep-disclosure-note{font-size:12px;line-height:1.7;color:#c8d6bc;margin:0 0 11px}
.ep-camp-pips{display:flex;gap:5px;flex:none}
.ep-camp-pips i{display:block;width:10px;height:14px;border:1px solid #789170;border-radius:3px 3px 2px 2px;background:#172b22}
.ep-camp-pips i.is-built{background:#c8d993;border-color:#e6d399;box-shadow:0 0 8px #d7dc8b26}
.ep-camp-intro{display:flex;align-items:flex-start;gap:10px;margin:0 0 12px}
.ep-camp-intro p{flex:1;min-width:0;font-size:12px;line-height:1.7;color:#c8d6bc}
.ep-camp-intro>strong{flex:none;padding:5px 7px;background:#2a402e;border:1px solid #728c615e;border-radius:6px;font-size:10px;line-height:1.5;font-weight:650;color:#d8e2ba}
.ep-choice-preparation{min-height:118px;padding:11px}
.ep-choice-preparation .ep-choice-top strong,.ep-choice-challenge .ep-choice-top strong{font-size:12px}
.ep-choice-preparation .ep-choice-description,.ep-choice-challenge .ep-choice-description{font-size:11px}
.ep-challenge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ep-choice-challenge{min-height:135px;padding:11px;gap:7px}
.ep-choice-challenge .ep-choice-top{gap:6px;flex-wrap:wrap}
.ep-choice-challenge .ep-choice-icon{width:26px;height:27px}
.ep-choice-challenge .ep-choice-icon svg{width:16px;height:16px}
.ep-choice-challenge .ep-check{width:13px;font-size:13px}
.ep-workbench{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ep-workbench>button{display:flex;align-items:flex-start;gap:8px;min-width:0;min-height:76px;padding:10px;border:1px solid #6c816143;border-radius:9px;background:#20372b;color:#dce6c8;text-align:left;cursor:pointer;font:inherit}
.ep-workbench>button:hover:not([aria-disabled="true"]){border-color:#aabe88;background:#2b4331}
.ep-workbench>button>svg{width:20px;height:23px;flex:none;color:#d6c487}
.ep-workbench>button>span{min-width:0}
.ep-workbench strong{display:block;color:#f1ebcc;font-size:12px;line-height:1.6;font-weight:700}
.ep-workbench small{display:block;margin-top:3px;color:#c2d1b5;font-size:10px;line-height:1.65;overflow-wrap:anywhere}
.ep-workbench>button[aria-disabled="true"]{cursor:wait}
.ep-die>summary{min-height:56px}
.ep-die-chances{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:0 0 10px}
.ep-die-chances li{display:flex;flex-direction:column;align-items:center;min-width:0;gap:4px;padding:9px 3px;border:1px solid #72856470;border-radius:7px;background:#253b2c;font-size:10px;color:#d5dec7;text-align:center}
.ep-die-chances svg{width:20px;height:22px;color:#dccc95}
.ep-die-chances strong{font-size:16px;font-variant-numeric:tabular-nums;color:#f1edca}
.ep-die-chances small{font-size:10px;line-height:1.4;color:#d0dcbf}
.ep-die .ep-disclosure-note{margin:0;font-size:10px}
.ep-status{margin:0 22px 18px;padding:10px 12px;background:#2a422e;border:1px solid #97af76;border-radius:8px;color:#e6f0cc;font-size:12px;line-height:1.7}
.ep-status:empty{display:none}
.ep-status[data-ep-error="true"]{color:#f1d6c4;background:#3b332b;border-color:#c39874}
.ep-depart{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:12px 16px;border:1px solid #edcf90;border-radius:9px;background:#e1bf78;color:#1a2b20;font:inherit;font-size:14px;font-weight:750;line-height:1.5;cursor:pointer}
.ep-depart:hover:not(:disabled):not([aria-disabled="true"]){background:#f0d397;border-color:#f6dfa9}
.ep-depart:disabled,.ep-depart[aria-disabled="true"]{opacity:.55;cursor:default}
.forge-distribution{min-width:0;margin:12px 0;padding:11px 12px;border:1px solid #81966b66;border-radius:9px;background:#20372a;color:#e2ebd1}
.forge-distribution>h3,.forge-distribution>h4,.forge-distribution>strong{display:block;margin:0 0 7px;font-size:12px;line-height:1.5;font-weight:700;color:#f1e8c5}
.forge-distribution>p{margin:0 0 7px;font-size:11px;line-height:1.6;color:#cad9bd}
.forge-distribution-row{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.forge-distribution-row>span{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:4px;flex:1 1 91px;min-width:0;min-height:34px;padding:6px 7px;border:1px solid #8aa26f54;border-radius:6px;background:#152b20;color:#dce6c8;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.forge-distribution-row>span>svg{width:15px;height:17px;flex:none;color:#e6d397}
.forge-distribution-row>span>b,.forge-distribution-row>span>strong{font-size:12px;font-variant-numeric:tabular-nums;color:#f5e8ba;font-weight:750}
.forge-distribution-row>span>small{color:#bfd3b0;font-size:10px;font-variant-numeric:tabular-nums}
.forge-distribution>small,.forge-distribution>.forge-distribution-note{display:block;margin:7px 0 0;color:#c4d5b7;font-size:10px;line-height:1.7}
.expedition-planner button:focus-visible,.ep-disclosure>summary:focus-visible,.ep-heading h2:focus-visible{outline:3px solid #f0d08b;outline-offset:3px}
.ep-disclosure>summary:focus-visible{outline-offset:-4px}
@container(max-width:520px){.ep-body{padding:16px 14px;gap:12px}.ep-heading{padding:19px 16px 17px}.ep-heading p{font-size:12px}.ep-choice{padding:11px;gap:7px}.ep-choice-top{gap:7px}.ep-choice-top strong{font-size:13px}.ep-choice-icon{width:27px;height:29px}.ep-choice-icon svg{width:17px;height:17px}.ep-choice-description{font-size:11px}.ep-preview dl{gap:8px}.ep-preview dd{font-size:17px}.ep-preview dt{font-size:9px}.ep-preview dt svg{display:none}.ep-workbench{grid-template-columns:1fr}.ep-workbench>button{min-height:58px;align-items:center;padding:10px 12px;gap:11px}.ep-workbench strong{font-size:12px}.ep-workbench small{margin-top:1px;font-size:11px}.ep-camp-intro{display:block}.ep-camp-intro>strong{display:inline-block;margin-top:8px}.ep-challenge-grid{grid-template-columns:1fr}.ep-choice-challenge{min-height:0}.ep-choice-challenge .ep-choice-top{flex-wrap:nowrap}.ep-choice-challenge .ep-choice-state{margin-top:0}.ep-choice-preparation .ep-choice-top{flex-wrap:wrap}.ep-choice-preparation .ep-choice-top strong{flex-basis:calc(100% - 45px)}.ep-status{margin:0 14px 14px}}
@container(max-width:350px){.ep-body{padding:13px 11px}.ep-heading{padding:17px 13px}.ep-route-grid,.ep-station-grid{grid-template-columns:1fr}.ep-choice{min-height:0}.ep-choice-state{margin-top:1px}.ep-preview dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 16px}.ep-preview dt{font-size:10px}.ep-preview dd{font-size:18px}.ep-disclosure>summary{padding:11px;gap:8px}.ep-camp-pips{gap:3px}.ep-camp-pips i{width:8px;height:12px}.ep-die-chances{gap:4px}.ep-die-chances li{font-size:9px}.ep-die-chances small{font-size:9px}}
@media(max-width:600px){.expedition-planner{margin:14px 0;border-radius:12px}.ep-heading h2{font-size:26px}.forge-distribution{padding:9px 10px}.forge-distribution-row>span{flex-basis:85px;font-size:10px;padding:5px}}
@media(prefers-reduced-motion:reduce){.ep-choice,.ep-chevron,.ep-workbench>button{transition:none}}
html[data-motion="reduced"] .ep-choice,html[data-motion="reduced"] .ep-chevron,html[data-motion="reduced"] .ep-workbench>button,body.reduced-motion .ep-choice,body.reduced-motion .ep-chevron,body.reduced-motion .ep-workbench>button{transition:none}
html[data-contrast="high"] .expedition-planner button,html[data-contrast="high"] .ep-disclosure{border-width:2px}
@media(forced-colors:active){.expedition-planner,.ep-heading,.ep-choice,.ep-preview,.ep-disclosure,.ep-disclosure[open]>summary,.ep-workbench>button,.ep-die-chances li,.ep-status{color:CanvasText;background:Canvas;border-color:CanvasText}.ep-heading:before,.ep-heading:after{display:none}.ep-choice.is-selected{border-color:Highlight;outline:2px solid Highlight;outline-offset:-4px}.ep-choice-top strong,.ep-choice-description,.ep-choice-state,.ep-choice-reason,.ep-heading h2,.ep-heading p,.ep-kicker,.ep-preview h3,.ep-preview dt,.ep-preview dd,.ep-preview>p,.ep-disclosure>summary small,.ep-disclosure-note,.ep-camp-intro p,.ep-camp-intro>strong,.ep-workbench strong,.ep-workbench small,.ep-die-chances strong,.ep-die-chances small,.ep-check,.ep-chevron{color:CanvasText}.ep-choice:disabled,.ep-choice:disabled .ep-choice-state{color:GrayText}.ep-camp-pips i.is-built{background:Highlight}.expedition-planner button:focus-visible,.ep-disclosure>summary:focus-visible{outline-color:Highlight}}
