.onboarding-mode .shell,.onboarding-mode main{min-width:0}
.party-wizard{height:100%;min-height:0;min-width:0;width:100%;max-width:1200px;margin:auto;display:grid;grid-template-rows:24px minmax(0,1fr) 38px;gap:10px;color:#eee4d2;box-sizing:border-box}
.party-wizard-progress,.party-wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;font:11px/1.25 system-ui;color:#cabb9d;margin:0;padding:0;border:0;height:auto;min-height:0;min-width:0}.onboarding-mode .party-wizard-progress{height:24px;padding:0;border:0}.party-wizard-progress>span:first-child{letter-spacing:1.5px}.party-wizard-progress>span:last-child{color:#e1c28a}.party-wizard-footer button{font-size:12px;padding:6px 14px;min-height:36px}
.party-wizard-stage{position:relative;min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);border:1px solid #b894526b;border-radius:12px;overflow:hidden;background:#131918;box-shadow:0 16px 50px #0007}
.party-wizard-art{position:relative;min-height:0;min-width:0;overflow:hidden;background:#35281d}.party-wizard-art>img{width:100%;height:100%;object-fit:cover;object-position:44% center;display:block}.party-step-2 .party-wizard-art>img{object-position:49% center}.party-wizard-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#111715f0,transparent 65%),linear-gradient(90deg,transparent 70%,#131918)}.party-art-caption{position:absolute;z-index:1;left:28px;right:24px;bottom:32px;display:grid;gap:12px}.party-art-caption .eyebrow{font:10px/1.3 system-ui;letter-spacing:2px;color:#dbbd80}.party-art-caption>b{font:500 clamp(24px,2.6vw,36px)/1.2 Georgia,serif;color:#f0ddaf;text-shadow:0 2px 16px #000}
.party-wizard-content{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:clamp(16px,2.5vw,32px);background:radial-gradient(ellipse at top right,#8e6b2922,transparent 65%),#131918;box-sizing:border-box}.party-wizard-heading{min-width:0;flex-shrink:0}.party-wizard h1{font:500 29px/1.15 Georgia,serif;color:#eed6a2;margin:0}.party-wizard h2{font:500 16px/1.2 Georgia,serif;margin:0}.party-wizard p{font:13px/1.35 system-ui;color:#c7bda9;margin:0}.party-wizard-heading>p{margin-top:6px}.party-wizard-heading>h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dungeon-choice{display:flex;align-items:center;gap:10px;font:11px/1.2 system-ui;color:#c5b18d;margin-bottom:14px;min-width:0;max-width:100%}.dungeon-choice select{flex:1;width:0;min-width:0;min-height:38px;padding:7px 10px;font-size:12px;border-color:#a4844a77;background:#1d221d}
.quest-wizard-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quest-wizard-options button{position:relative;white-space:normal;text-align:left;min-width:0;display:flex;flex-direction:column;gap:9px;min-height:150px;padding:18px;color:#efe2c3;background:linear-gradient(135deg,#3a3426,#1d241f 85%);border:1px solid #9e85505e;border-radius:5px;box-shadow:inset 0 0 28px #080d0a44;transition:border-color .15s,background .15s}.quest-wizard-options button:after{content:'↗';position:absolute;right:10px;top:10px;color:#c6aa6c;font-size:16px}.quest-wizard-options button:hover:enabled,.quest-wizard-options button:focus-visible{border-color:#e0bd77;background:linear-gradient(135deg,#514530,#253025)}.quest-wizard-options .eyebrow{font:10px/1.2 system-ui;letter-spacing:1.5px;color:#cfac6c;padding-right:14px}.quest-wizard-options b{font:500 21px/1.15 Georgia,serif}.quest-wizard-options button>span:not(.eyebrow){font:12px/1.35 system-ui;color:#cbc3af}.quest-wizard-options small{font:11px/1.25 system-ui;color:#e0c68a;margin-top:auto}.party-wizard .party-wizard-note{font-size:11px;color:#ad9e7e}.party-wizard .party-wizard-error{color:#ffcfb5}
.party-wizard-seats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.party-seat{min-width:0;min-height:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 4px;background:linear-gradient(#343b2dba,#1b241e);border:1px solid #a68a5366;border-radius:6px;color:#e6dac3;text-align:center;white-space:normal;box-sizing:border-box}.party-seat.open{border-style:dashed;border-color:#c5a66b;background:#71603733}.party-seat.closed{background:#101714b3;border-style:dashed;color:#a9b4a8}.party-seat b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 12px/1.2 system-ui}.party-seat small{font:10px/1.2 system-ui;color:#c3c6ae}.party-seat-symbol{display:block;height:40px;font:30px/40px Georgia,serif;color:#cbb17e}.party-seat-portrait{display:block;width:60px;height:70px;object-fit:contain;filter:drop-shadow(0 3px 6px #000a)}.party-seat-supplies{display:flex;gap:2px;justify-content:center;max-width:100%;min-height:17px}.packed-supply{position:relative;display:flex;width:16px;height:17px;align-items:center;justify-content:center;border:1px solid #a89a6455;border-radius:3px;background:#111b16}.packed-supply img{width:100%;height:100%;object-fit:contain}.packed-supply.empty{color:#c9ba8c55;border-style:dashed;background:#0e151266}.packed-supply.company{border-color:#79bfc7}.packed-supply i{position:absolute;right:-2px;bottom:-3px;font:700 7px/1 system-ui;background:#16454d;color:#bcf0f3;border-radius:2px;padding:1px}
.party-supply-picker{min-width:0;display:grid;gap:9px;padding:12px;background:#0d1512a8;border:1px solid #8f7a4b66;border-radius:6px}.party-supply-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.party-supply-heading>span{font:11px/1.2 system-ui;color:#d7c38f}.party-supply-shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.supply-shelf{min-width:0}.supply-shelf h3{margin:0 0 6px;font:500 10px/1.2 system-ui;letter-spacing:.7px;text-transform:uppercase;color:#d5bd83}.supply-shelf.company h3{color:#9bced2}.supply-icon-strip{display:grid;grid-auto-flow:column;grid-auto-columns:64px;justify-content:start;gap:5px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#776a46 #101914;padding:2px 1px 5px}.supply-tile{min-width:0;border:1px solid #756a4455;border-radius:5px;background:#1e281f99;padding:3px;box-sizing:border-box}.supply-tile.is-selected{border-color:#dcbb72;background:#6d593c66;box-shadow:inset 0 0 0 1px #dcbb7233}.company .supply-tile.is-selected{border-color:#8bccd0;background:#31565b66;box-shadow:inset 0 0 0 1px #8bccd033}.supply-icon-info{position:relative;display:block;border:0;background:transparent;width:100%;min-height:40px;height:40px;margin:0;padding:2px;cursor:help}.supply-icon-info img{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 4px #000a)}.supply-stock{position:absolute;right:0;top:0;min-width:14px;padding:1px 3px;border:1px solid #92805277;border-radius:3px;background:#111b17;color:#eee2bc;font:10px/1.2 system-ui}.supply-tile .departure-stepper{display:grid;grid-template-columns:1fr 16px 1fr;align-items:center;gap:0;margin-top:2px}.supply-tile .departure-stepper button{min-width:0;min-height:28px;padding:0;font:18px/1 system-ui;background:#0f1813a8;border-radius:3px;border-color:#8d7c4955}.supply-tile output{font:12px/1.2 system-ui;text-align:center;color:#e7d4a6}.supply-shelf-empty{font-size:11px!important;min-height:74px;display:flex;align-items:center;color:#a89d80!important}.supply-info-dialog{max-width:360px}.supply-info-dialog>img{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 16px}.supply-info-dialog .primary{width:100%;margin-top:14px}
.party-wizard-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:center}.party-wizard-actions>button{min-height:44px;padding:8px 12px;font-size:14px}.party-enter{grid-column:1/-1;background:linear-gradient(#ddbd7b,#b99656)!important;color:#191d15!important;box-shadow:0 3px 14px #0004}.party-floor{display:flex;align-items:center;gap:8px;font:11px/1.2 system-ui;color:#c8bfae}.party-floor select{flex:1;min-width:0;min-height:44px;padding:6px;font-size:14px}.party-wait-leader{grid-column:2}.party-wizard .party-wizard-status{font-size:11px;min-height:14px;color:#dfc78e}.party-inline{background:transparent;border:0;text-decoration:underline;color:#e0c78d;padding:0 4px;font:inherit;min-height:24px}.party-wizard button:focus-visible{outline:2px solid #f3d797;outline-offset:2px}
.party-wizard .sr-only,.company-stock .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.guild-next-expedition{position:relative;overflow:hidden;padding:32px;border:1px solid #ab8e5466;border-radius:8px;background:linear-gradient(90deg,#111a15f5 20%,#111a15a8 65%,#111a1533),url('campaign/taking-contract-v1.webp') center 48%/cover;min-height:190px}.guild-next-expedition h3{font:500 25px/1.2 Georgia,serif;color:#eddaa9}.guild-next-expedition p{margin:12px 0 22px;max-width:380px}.guild-next-expedition>.primary{min-height:44px}.company-invite-count{display:inline-block;color:#ecd6a5;font-size:11px;margin-left:4px}.alpha-stock-list article>.shop-supply-icon{width:48px;height:48px;object-fit:contain;border-radius:6px;flex:none}.alpha-stock-list article>div{flex:1;min-width:0}
@media(max-width:760px){.party-wizard{gap:6px;grid-template-rows:20px minmax(0,1fr) 36px}.onboarding-mode .party-wizard-progress{height:20px}.party-wizard-progress{font-size:10px}.party-wizard-stage{display:block}.party-wizard-art{position:absolute;inset:0}.party-wizard-art>img{object-position:48% center}.party-wizard-art:after{background:linear-gradient(0deg,#101813f5 5%,#101813dd 65%,#10181344)}.party-art-caption{display:none}.party-wizard-content{position:relative;height:100%;padding:clamp(12px,3vw,22px);gap:12px;background:linear-gradient(0deg,#121a14dd,#121a1455);justify-content:center}.party-wizard h1{font-size:24px}.party-wizard h2{font-size:14px}.party-wizard p{font-size:12px}.dungeon-choice{margin-bottom:10px}.dungeon-choice select{font-size:11px}.quest-wizard-options{gap:8px}.quest-wizard-options button{min-height:132px;padding:12px;gap:7px;background:linear-gradient(140deg,#413b2bed,#1a251ef2)}.quest-wizard-options b{font-size:19px}.quest-wizard-options .eyebrow{font-size:9px}.quest-wizard-options button>span:not(.eyebrow){font-size:11px}.quest-wizard-options small{font-size:10px}.party-wizard-seats{gap:4px}.party-seat{min-height:110px;padding:6px 2px;gap:4px;background:linear-gradient(#343b2de8,#172219ed)}.party-seat-portrait{width:38px;height:48px}.party-seat b{font-size:10px}.party-seat small{font-size:9px}.party-seat-symbol{height:32px;font-size:26px;line-height:32px}.packed-supply{width:10px;height:13px}.party-seat-supplies{gap:1px;min-height:15px}.party-supply-picker{padding:8px;gap:7px}.party-supply-shelves{gap:8px}.party-supply-heading>span{font-size:10px}.party-wizard-footer button{font-size:11px}.party-floor{font-size:10px;gap:4px}.party-wizard .party-wizard-status:not(.has-message){display:none}}
@media(max-height:650px){.party-wizard-content{padding:12px 16px;gap:9px}.party-wizard h1{font-size:23px}.party-wizard h2{font-size:14px}.party-seat{min-height:92px;gap:3px;padding:5px 2px}.party-seat-portrait{height:32px;width:32px}.party-seat-symbol{height:24px;line-height:24px;font-size:24px}.party-wizard .party-wizard-status:not(.has-message){display:none}.quest-wizard-options button{min-height:116px;padding:12px;gap:6px}.quest-wizard-options b{font-size:18px}.dungeon-choice{margin-bottom:7px}.party-supply-picker{padding:7px 8px;gap:6px}.party-supply-shelves{gap:8px}.supply-shelf h3{margin-bottom:3px}.supply-icon-strip{grid-auto-columns:58px}.supply-icon-info{height:34px;min-height:34px}.supply-icon-info img{width:30px;height:30px}.supply-shelf-empty{min-height:66px}.party-art-caption{left:22px;bottom:24px}.party-art-caption>b{font-size:28px}}
@media(max-height:520px){.party-wizard{grid-template-rows:18px minmax(0,1fr) 32px;gap:5px}.onboarding-mode .party-wizard-progress{height:18px}.party-wizard-footer button{min-height:30px;padding:4px 10px}.party-wizard-content{padding:8px 12px;gap:6px}.party-wizard h1{font-size:21px}.party-wizard h2{font-size:13px}.party-wizard-heading>p{margin-top:3px;font-size:11px}.party-seat{min-height:68px;gap:2px;padding:4px 2px}.party-seat-portrait{height:22px;width:25px}.party-seat-symbol{height:22px;line-height:22px;font-size:22px}.party-seat b{font-size:10px}.party-seat small{font-size:9px}.party-seat-supplies{min-height:13px}.packed-supply{width:10px;height:12px}.party-supply-picker{gap:4px;padding:5px 7px}.supply-shelf h3{font-size:9px;margin-bottom:2px}.supply-icon-strip{grid-auto-columns:54px;gap:4px;padding-bottom:3px}.supply-icon-info{height:28px;min-height:28px}.supply-icon-info img{width:26px;height:26px}.supply-tile{padding:2px}.supply-tile .departure-stepper button{min-height:24px;font-size:16px}.supply-shelf-empty{min-height:58px}.party-supply-heading>span{font-size:9px}.party-wizard-actions{gap:4px}.party-wizard-actions>button,.party-floor select{min-height:34px;padding:5px 7px;font-size:12px}.quest-wizard-options button{min-height:104px;gap:4px;padding:9px}.quest-wizard-options b{font-size:16px}.quest-wizard-options button>span:not(.eyebrow){font-size:11px}.party-wizard .party-wizard-note{font-size:10px}.dungeon-choice{margin-bottom:4px}.dungeon-choice select{min-height:32px}.party-wizard .party-wizard-status.has-message{font-size:10px;line-height:1.2}.party-art-caption>b{font-size:24px}}
@media(orientation:landscape) and (max-height:500px){.party-wizard-stage{display:grid;grid-template-columns:minmax(0,.36fr) minmax(0,1fr)}.party-wizard-art{position:relative;inset:auto}.party-wizard-art:after{background:linear-gradient(90deg,transparent,#13191877)}.party-wizard-content{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:5px 10px;background:#131918;height:100%;align-content:center;padding:8px 10px}.party-wizard-heading{grid-column:1/-1}.party-wizard h1{font-size:19px}.party-wizard-heading>p{font-size:10px}.party-wizard-heading:has(.dungeon-choice){display:grid;grid-template-columns:1fr 1fr;gap:2px 10px}.party-wizard-heading:has(.dungeon-choice) .dungeon-choice{grid-row:1/3;margin:0;align-self:center;font-size:9px;gap:4px}.dungeon-choice select{font-size:10px;padding:4px;min-height:30px}.party-wizard-heading:has(.dungeon-choice)>p{margin:0}.party-wizard-heading:has(.dungeon-choice)>h1{font-size:17px}.quest-wizard-options{grid-column:1/-1;gap:5px}.quest-wizard-options button{min-height:78px;padding:7px;gap:3px}.quest-wizard-options .eyebrow{font-size:8px}.quest-wizard-options b{font-size:14px}.quest-wizard-options button>span:not(.eyebrow){font-size:10px}.quest-wizard-options small{font-size:9px}.party-wizard-note{display:none}.party-wizard-seats{grid-column:1/-1}.party-seat{min-height:59px;gap:1px;padding:2px}.party-seat-portrait{height:18px;width:22px}.party-seat small{font-size:8px}.party-seat b{font-size:9px}.packed-supply{width:10px;height:11px}.party-supply-picker{padding:4px;gap:3px}.party-supply-shelves{gap:5px}.party-wizard h2{font-size:11px}.party-supply-heading>span{font-size:8px}.supply-icon-strip{grid-auto-columns:45px;gap:3px}.supply-tile .departure-stepper{grid-template-columns:1fr 12px 1fr}.supply-tile .departure-stepper button{min-height:20px}.supply-icon-info{height:22px;min-height:22px}.supply-icon-info img{width:22px;height:22px}.supply-stock{font-size:8px}.supply-shelf-empty{min-height:47px;font-size:9px!important}.supply-shelf h3{font-size:8px}.party-wizard-actions>button,.party-floor select{min-height:30px;padding:4px;font-size:11px}.party-floor span{display:none}.party-wizard-status{grid-column:1/-1}.party-wizard .party-wizard-status.has-message{font-size:9px}}
@media(orientation:landscape) and (max-height:500px) and (min-width:700px){.quest-wizard-options{grid-template-columns:repeat(4,minmax(0,1fr))}.quest-wizard-options button{min-height:108px}.party-wizard-stage{grid-template-columns:minmax(0,.5fr) minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.quest-wizard-options button{transition:none}}
.company-inline-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.company-inline-form label{flex:1;min-width:140px}.company-stock article{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ffffff18}.company-stock article>img{width:42px;height:42px;object-fit:contain}.company-stock article>div{flex:1}.company-stock small,.company-thread small{display:block;opacity:.7}.company-stock form{display:flex;align-items:center;gap:8px}.company-stock input{width:64px}.company-thread{display:block;text-align:left;width:100%;margin:8px 0;padding:14px}.company-forum textarea{width:100%;resize:vertical;min-height:80px}.company-forum form{display:grid;gap:12px;margin:16px 0}.company-messages article{padding:16px 0;border-bottom:1px solid #ffffff18}.company-messages small{display:block;opacity:.65}.company-messages p{white-space:pre-wrap;overflow-wrap:anywhere}.company-warehouse h2,.company-forum h3{overflow-wrap:anywhere}.company-funding-choice{display:block;margin:10px 0}.company-funding-choice input{width:auto;margin-right:8px}@media(max-width:540px){.company-stock article{flex-wrap:wrap}.company-stock form{width:100%}.company-stock form button{flex:1}}
.supply-tile output{min-width:0;width:auto;display:block;padding:0}.supply-tile.is-selected .supply-icon-info:after{content:'✓';position:absolute;left:0;bottom:0;color:#ffe0a1;font:700 11px/1 system-ui;text-shadow:0 1px 3px #000}.company .supply-tile.is-selected .supply-icon-info:after{color:#b3eef0}@media(min-width:761px) and (min-height:521px){.packed-supply{width:18px;height:20px}}
.party-supply-picker .supply-tile .departure-stepper output{min-height:0;height:auto;min-width:0;width:auto;display:block;align-self:center;line-height:1.2;padding:0}
@media(orientation:landscape) and (max-height:500px){.party-inline{min-height:0;line-height:1.2}.supply-icon-strip{scrollbar-width:none}.supply-icon-strip::-webkit-scrollbar{display:none}.quest-wizard-options{grid-template-columns:repeat(4,minmax(0,1fr))}.quest-wizard-options button{min-height:110px}.party-step-1 .party-wizard-stage{grid-template-columns:minmax(0,.25fr) minmax(0,1fr)}}
@media(max-height:520px){.party-wizard-note{display:none}.quest-wizard-options b,.quest-wizard-options button>span:not(.eyebrow){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}}
