.ability-row { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.ability {
  padding: 9px 6px;
  border: 1px solid #d5ef78;
  background: #d5ef78;
  color: #1b2419;
  font: 700 9px "DM Sans", sans-serif;
  letter-spacing: .08em;
  cursor: pointer;
}
.ability:disabled { opacity: .45; cursor: not-allowed; }
.controls button[aria-pressed="false"] { color: #858e9d; }
#notice { flex: none; font-size: 11px; color: #f4bd86; min-height: 15px; margin-top: 6px; }

.tabs { flex: none; display: flex; border-bottom: 1px solid #303645; margin-top: 4px; }
.tabs button { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; color: #8f98a9; padding: 8px 2px; font: 700 10px "DM Sans", sans-serif; letter-spacing: .06em; cursor: pointer; }
.tabs button:hover { color: #e6ecf2; }
.tabs button[aria-selected="true"] { color: #d5ef78; border-bottom-color: #d5ef78; }
.tab-panels { flex: 1; min-height: 0; overflow-y: auto; padding-top: 10px; }

.tab-panel input, .tab-panel select {
  width: 100%; padding: 8px; margin: 0 0 8px; border: 1px solid #465061;
  background: #202635; color: #eef0f7; font: inherit; font-size: 12px;
}
.small-button { border: 1px solid #586276; background: #222b3a; color: #e6ecf2; padding: 8px 10px; cursor: pointer; font-size: 11px; white-space: nowrap; }
.small-button:hover:not(:disabled) { border-color: #d0ec6b; }
.small-button:disabled { opacity: .5; cursor: not-allowed; }
.button-row { display: flex; gap: 6px; align-items: flex-start; }
.button-row input, .button-row select { flex: 1; min-width: 0; }
.coop-copy, .item-list { color: #a8b2c1; font-size: 11px; line-height: 1.5; margin: 8px 0; overflow-wrap: anywhere; }
.item-list .item { border-top: 1px solid #343c4b; padding: 6px 0; display: flex; align-items: center; gap: 6px; }
.item-list .item span { flex: 1; }
.item-list .item button { padding: 4px 6px; }
.target-hint { position: absolute; top: 50px; left: 12px; right: 56px; padding: 9px; background: #d5ef78; color: #1b2419; font-size: 10px; font-weight: 700; pointer-events: none; }

.objective-strip {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: min(420px, calc(100% - 220px));
  display: grid; gap: 5px; padding: 8px 12px; background: #151b27ee; border: 1px solid #ffcb75; color: #f1f3f6;
  text-align: left; cursor: pointer; font: inherit;
}
.objective-strip:hover { background: #1d2535f2; }
.objective-strip.urgent { border-color: #ff6b7d; animation: urgent 0.8s ease-in-out infinite alternate; }
@keyframes urgent { from { box-shadow: 0 0 0 #ff6b7d00; } to { box-shadow: 0 0 16px #ff6b7d88; } }
.strip-top { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; letter-spacing: .12em; }
.strip-top strong { color: #ffcb75; }
#strip-timer { font-weight: 700; font-variant-numeric: tabular-nums; }
.objective-strip.urgent #strip-timer { color: #ff6b7d; }
.strip-track { height: 4px; background: #3a4250; display: block; }
#strip-progress { display: block; height: 100%; width: 0; background: #ffcb75; transition: width .2s; }
.strip-detail { font-size: 9px; letter-spacing: .1em; color: #a8b2c1; }
.overdrive-badge {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%); padding: 6px 10px; white-space: nowrap;
  background: #d5ef78; color: #1b2419; font-size: 10px; font-weight: 700; letter-spacing: .1em; pointer-events: none;
  animation: urgent 0.6s ease-in-out infinite alternate;
}
@media (max-width: 600px) {
  .objective-strip { top: 54px; width: calc(100% - 70px); left: 12px; transform: none; }
  .overdrive-badge { top: 130px; left: 12px; transform: none; white-space: normal; right: 56px; }
}
.objective-strip[hidden], .overdrive-badge[hidden] { display: none; }
