.mission-tabs{flex-wrap:wrap}.objective-panel{padding:24px;margin:20px 0;border:1px solid #ffffff20;border-radius:16px;background:linear-gradient(130deg,#1e292a,#111b1e)}.objective-panel h2{font-size:clamp(19px,3vw,26px);margin:8px 0 14px}.objective-panel p{color:#bcc7c7;line-height:1.65}.objective-complete{border-color:#81bca463}.objective-panel .mission-status{color:#dfbd7b;letter-spacing:.12em;font-size:11px}.objective-crew-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:24px}.objective-crew-slot>button:first-child,.objective-picker-grid>button,.objective-secret>button{display:block;width:100%;border:0;background:none;padding:0;color:inherit;cursor:pointer}.objective-crew-slot>button:first-child{aspect-ratio:2/3;border-radius:10px;border:1px dashed #bda56c70}.objective-crew-slot>button:disabled{opacity:1;cursor:default}.objective-empty{display:grid;place-items:center;height:100%;font-size:32px;color:#d3b572;background:#ffffff04}.objective-crew-slot .card,.objective-picker-grid .card,.objective-secret .card{width:100%;pointer-events:none}.objective-slot-name{display:block;text-align:center;font-size:11px;line-height:1.5;min-height:34px;margin-top:8px}.objective-remove{width:100%;padding:9px 2px!important;font-size:11px}.objective-feedback{min-height:24px}.objective-picker{width:min(950px,96vw);max-width:96vw}.objective-picker input{width:100%;margin:12px 0}.objective-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:16px}.objective-picker-grid>button[hidden]{display:none}.objective-picker-grid>button>span{display:block;font-size:12px;margin-top:7px}.objective-picker-grid>button:focus-visible,.objective-crew-slot>button:focus-visible{outline:3px solid #edc474;outline-offset:4px}.objective-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.objective-info{font-size:22px;min-width:44px;min-height:44px;padding:6px!important}.objective-mysteries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:650px;margin:20px auto 0}.objective-secret{text-align:center;min-width:0}.objective-secret b,.objective-secret small{display:block;margin-top:8px;font-size:12px}.objective-secret small{color:#90bea7}.objective-unknown{aspect-ratio:2/3;display:grid;place-items:center;border:1px solid #bda56c45;border-radius:12px;background:radial-gradient(circle,#c7a65d18,#0b171b);font-size:64px;color:#bda56c6b}.objective-confrontation{width:min(460px,94vw);text-align:center}.objective-fight-card{position:relative;width:min(210px,50vw);margin:16px auto}.objective-fight-card .card{width:100%;pointer-events:none}.objective-impact-mark{display:none;position:absolute;inset:25% 0;color:#ffe2a1;font-size:80px;text-shadow:0 0 25px #ff772a}.objective-impact{animation:objective-shake .26s ease}.objective-impact .objective-impact-mark{display:block;animation:objective-spark .26s ease forwards}.objective-punch{min-height:52px;min-width:180px;touch-action:manipulation;font-size:18px}.objective-fight-result{min-height:50px;line-height:1.6}.objective-win{animation:objective-glow 1s ease}.objective-win .objective-fight-result{color:#a3e6b6}.objective-loss .objective-fight-result{color:#f3a18f}.objective-secret-intro{width:min(590px,94vw)}.objective-secret-intro p{line-height:1.7;color:#c4cecd}.journey-objective-checks{list-style:none;padding:0;margin:12px 0}.journey-objective-checks li{margin:6px 0;color:#b5c3c1;font-size:12px}.journey-objective-checks li.done{color:#aad5b2}
@keyframes objective-shake{25%{transform:translate(-7px,2px) rotate(-2deg)}65%{transform:translate(5px,-2px) rotate(2deg)}}@keyframes objective-spark{to{opacity:0;transform:scale(1.4)}}@keyframes objective-glow{50%{box-shadow:0 0 30px #d9b76a70}}
@media(max-width:600px){.objective-panel{padding:18px 12px}.objective-crew-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.objective-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.objective-mysteries{gap:10px}.objective-secret b{font-size:11px}.objective-unknown{font-size:40px}.objective-panel .primary{white-space:normal}.mission-tabs button{flex:1;padding:12px 8px}.objective-crew-slot:nth-child(4){grid-column:1}.objective-crew-slot>button:first-child{min-height:100px}}
@media(prefers-reduced-motion:reduce){.objective-impact,.objective-win,.objective-impact .objective-impact-mark{animation:none}.objective-impact-mark{display:none!important}}
/* Dials: scoped layout, same owned-card picker and card presentation. */
.dial-lab-slots{grid-template-columns:repeat(var(--dial-slots),minmax(0,1fr))}.dial-laboratory h3{font-size:1.2rem;margin:1.4rem 0 .75rem}.dial-lab-narrative{padding:1rem;border-left:3px solid #dfbd7b;background:#ffffff05}.dial-lab-rewards{grid-template-columns:repeat(auto-fit,minmax(130px,190px));justify-content:center}.dial-lab-rewards>button{border:2px solid transparent;border-radius:10px;padding:8px}.dial-lab-rewards>button[aria-pressed=true]{border-color:#edc474;background:#dfbd7b18}.dial-lab-rewards strong{display:block;font-size:1.3rem;color:#edc474}.dial-lab-history details{border-top:1px solid #ffffff20;padding:1rem 0}.dial-lab-history summary{cursor:pointer;line-height:1.6}.dial-lab-history-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,140px));gap:12px}.dial-lab-history-cards .card{width:100%;pointer-events:none}.dial-lab-history-cards span{display:block;text-align:center;font-size:.875rem}.dial-lab-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;list-style:none;padding:0;font-size:.875rem;color:#aab9bb}.dial-lab-steps [aria-current]{color:#edc474}.dial-laboratory .objective-slot-name{font-size:.875rem}.dial-laboratory .objective-remove{font-size:.875rem;min-height:44px}
@media(max-width:800px){.dial-lab-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.dial-lab-slots[style="--dial-slots:2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.dial-lab-slots .objective-crew-slot:nth-child(4){grid-column:auto}.dial-lab-rewards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.dial-lab-steps{grid-template-columns:1fr}.dial-lab-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Laboratory previews keep the artwork separate from long card names. */
.dial-lab-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #0b171b;
}
.dial-lab-art-portrait {
  aspect-ratio: 2 / 3;
}
.dial-lab-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.dial-lab-slots .objective-crew-slot {
  min-width: 0;
}
.dial-lab-slots .objective-crew-slot > button:first-child {
  height: auto;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.dial-lab-rewards {
  align-items: start;
  gap: 12px;
}
.dial-lab-rewards > button > span,
.dial-lab-slots .objective-slot-name {
  overflow-wrap: anywhere;
}
