/* Ages of Vermoor v2.3.2 — Campaign Continuity */
#aov220-choice-panel { display: none !important; }

.aov230-panel {
  border: 1px solid rgba(102, 208, 255, .26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 31, 42, .98), rgba(10, 20, 28, .98));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  margin: 0 0 14px;
  overflow: hidden;
}
.aov230-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}
.aov230-head > div:first-child { display: grid; gap: 2px; }
.aov230-head strong { letter-spacing: .02em; }
.aov230-head span { color: var(--muted, #93a8b5); font-size: .82rem; }
.aov230-head-right { display: flex; align-items: center; gap: 8px; }
.aov230-status, .aov230-version {
  border: 1px solid rgba(102, 208, 255, .24);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.aov230-content { padding: 12px; display: grid; gap: 10px; }
.aov230-section {
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 11px;
  padding: 11px;
  background: rgba(255,255,255,.018);
}
.aov230-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.aov230-section-title span { color: var(--muted, #93a8b5); font-size: .8rem; }
.aov230-resume-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.aov230-resume-grid > div { border-left: 2px solid rgba(102,208,255,.35); padding-left: 9px; }
.aov230-resume-grid span { color: var(--muted, #93a8b5); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.aov230-resume-grid p { margin: 3px 0 0; line-height: 1.35; }
.aov230-resume-grid small { display: block; color: var(--muted, #93a8b5); margin-top: 3px; }
.aov230-decision-prompt { color: var(--muted, #b7c6cf); margin: 0 0 9px; white-space: pre-wrap; }
.aov230-choices { display: grid; gap: 8px; }
.aov230-choice {
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid rgba(102,208,255,.28);
  border-radius: 10px;
  padding: 10px;
  background: rgba(34, 78, 105, .22);
  color: inherit;
  cursor: pointer;
}
.aov230-choice:hover { background: rgba(48, 105, 138, .30); border-color: rgba(102,208,255,.52); }
.aov230-choice > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(102,208,255,.18); font-weight: 700; }
.aov230-choice div { display: grid; gap: 3px; }
.aov230-choice small { color: var(--muted, #9db1bd); font-weight: 400; }
.aov230-dismiss { margin-top: 9px; }
.aov230-rolls { display: flex; flex-wrap: wrap; gap: 7px; }
.aov230-roll { border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 5px 8px; font-size: .82rem; }
.aov230-roll.success { border-color: rgba(83, 211, 139, .38); }
.aov230-roll.failure { border-color: rgba(238, 103, 103, .42); }
.aov230-details { padding: 0; }
.aov230-details > summary { cursor: pointer; padding: 10px 11px; font-weight: 650; }
.aov230-details[open] > summary { border-bottom: 1px solid rgba(255,255,255,.07); }
.aov230-history, .aov230-checkpoints, .aov230-companion-form { padding: 10px 11px; display: grid; gap: 8px; }
.aov230-history > div, .aov230-checkpoints > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.055); padding-bottom: 7px; }
.aov230-history > div:last-child, .aov230-checkpoints > div:last-child { border-bottom: 0; padding-bottom: 0; }
.aov230-history div > span, .aov230-checkpoints div > div > span { display: block; color: var(--muted, #93a8b5); }
.aov230-history small, .aov230-checkpoints small { display: block; color: var(--muted, #93a8b5); font-size: .72rem; }
.aov230-toolbar { padding: 10px 11px 0; }
.aov230-companion-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
.aov230-companion-form label { display: grid; gap: 4px; color: var(--muted, #a8bac4); font-size: .82rem; }
.aov230-companion-form label:nth-child(3) { grid-column: 1 / -1; }
.aov230-companion-form button { justify-self: start; }
.aov230-muted { color: var(--muted, #93a8b5); }
.aov230-error { color: #ff9a9a; }
.aov230-panel.is-resolving { opacity: .88; }
.aov230-panel button:disabled { opacity: .55; cursor: wait; }

/* Character selection refinements included in v2.3. */
.aov-character-card.is-active { outline: 2px solid rgba(102,208,255,.55); }
.aov-character-card-details { display: grid; gap: 7px; margin: 2px 0 4px; }
.aov-character-card-details > div { display: grid; grid-template-columns: 86px 1fr; gap: 8px; align-items: start; }
.aov-character-card-details span { color: var(--muted,#8ba1ae); font-size: .82rem; }
.aov-character-card-details strong { font-weight: 600; line-height: 1.3; }

@media (max-width: 760px) {
  .aov230-resume-grid, .aov230-companion-form { grid-template-columns: 1fr; }
  .aov230-head, .aov230-section-title { align-items: flex-start; flex-direction: column; }
  .aov230-head-right { width: 100%; justify-content: space-between; }
}


/* Ages of Vermoor v2.3.1 — one-click actions and collapsible continuity */
.aov230-collapse-toggle {
  flex: 0 0 auto;
  min-width: 70px;
}
.aov230-panel.is-collapsed .aov230-head {
  border-bottom: 0;
}
.aov230-panel.is-collapsed .aov230-content,
#aov230-content[hidden],
#aov231-pending-body[hidden] {
  display: none !important;
}
.aov230-section-title > div {
  display: grid;
  gap: 2px;
}
.aov230-pending-body {
  display: grid;
  gap: 9px;
}
.aov230-decision-section.is-collapsed {
  padding-bottom: 8px;
}
.aov230-decision-section.is-collapsed .aov230-section-title {
  margin-bottom: 0;
}
.aov230-choice[data-aov-submitting="true"] {
  opacity: .68;
  cursor: wait;
  pointer-events: none;
}
.aov230-choice:active {
  transform: translateY(1px);
}
@media (max-width: 760px) {
  .aov230-head-right {
    flex-wrap: wrap;
  }
  .aov230-collapse-toggle {
    min-width: 64px;
  }
}


/* Ages of Vermoor v2.3.2 — dedicated non-collapsible choice dock */
#aov230-continuity-panel .aov230-decision-section { display: none !important; }

.aov232-choice-dock {
  border: 1px solid rgba(102, 208, 255, .34);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 37, 49, .99), rgba(10, 22, 30, .99));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
  margin: 12px 0 14px;
  overflow: hidden;
}
.aov232-choice-dock[hidden] { display: none !important; }
.aov232-choice-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(102,208,255,.045);
}
.aov232-choice-head > div { display: grid; gap: 2px; }
.aov232-choice-head strong { letter-spacing: .02em; }
.aov232-choice-head span { color: var(--muted,#93a8b5); font-size: .82rem; }
.aov232-choice-status {
  border: 1px solid rgba(102,208,255,.26);
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
}
.aov232-choice-status.is-working { border-color: rgba(246,196,87,.45); }
.aov232-choice-status.is-error { border-color: rgba(238,103,103,.55); color: #ffb0b0; }
.aov232-choice-body { padding: 12px; display: grid; gap: 10px; }
.aov232-choice-prompt { margin: 0; color: var(--muted,#b8c8d1); line-height: 1.42; white-space: pre-wrap; }
.aov232-choice-grid { display: grid; gap: 8px; }
.aov232-choice-button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  align-items: center;
  gap: 11px;
  text-align: left;
  border: 1px solid rgba(102,208,255,.30);
  border-radius: 11px;
  padding: 11px;
  background: rgba(34,78,105,.24);
  color: inherit;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, transform .08s ease, opacity .12s ease;
}
.aov232-choice-button:hover:not(:disabled) { background: rgba(48,105,138,.34); border-color: rgba(102,208,255,.58); }
.aov232-choice-button:active:not(:disabled) { transform: translateY(1px); }
.aov232-choice-button:disabled { opacity: .55; cursor: wait; }
.aov232-choice-button.is-selected { border-color: rgba(246,196,87,.70); background: rgba(118,88,27,.24); }
.aov232-choice-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(102,208,255,.18);
  font-weight: 750;
}
.aov232-choice-copy { display: grid; gap: 3px; min-width: 0; }
.aov232-choice-copy b { line-height: 1.3; }
.aov232-choice-copy small { color: var(--muted,#9db1bd); font-weight: 400; line-height: 1.3; }
.aov232-choice-message { min-height: 1.1em; color: var(--muted,#93a8b5); font-size: .82rem; }
.aov232-choice-message.is-error { color: #ffaaaa; }
.aov232-choice-message.is-success { color: #8ce5b2; }
@media (max-width: 760px) {
  .aov232-choice-head { align-items: flex-start; flex-direction: column; }
  .aov232-choice-status { align-self: flex-start; }
}


/* AOV_V233_NATIVE_CHOICE_PANEL */
#aov232-choice-dock {
  display: none !important;
}
.aov-native-choice-panel {
  margin-top: 12px;
  margin-bottom: 12px;
  border-color: rgba(102, 208, 255, .38);
}
.aov-native-choice-panel[hidden] {
  display: none !important;
}
.aov-native-choice-body {
  display: grid;
  gap: 10px;
}
.aov-native-choice-buttons {
  display: grid;
  gap: 8px;
}
.aov-native-choice-button {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  text-align: left;
  color: inherit;
  background: rgba(38, 86, 113, .24);
  border: 1px solid rgba(102, 208, 255, .32);
  border-radius: 11px;
  cursor: pointer;
}
.aov-native-choice-button:hover:not(:disabled) {
  background: rgba(48, 105, 138, .36);
  border-color: rgba(102, 208, 255, .62);
}
.aov-native-choice-button:active:not(:disabled) {
  transform: translateY(1px);
}
.aov-native-choice-button:disabled {
  opacity: .58;
  cursor: wait;
}
.aov-native-choice-button.selected {
  border-color: rgba(246, 196, 87, .72);
  background: rgba(118, 88, 27, .26);
}
.aov-native-choice-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(102, 208, 255, .18);
  font-weight: 750;
}
.aov-native-choice-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.aov-native-choice-copy b {
  line-height: 1.3;
}
.aov-native-choice-copy small {
  color: var(--muted, #9db1bd);
  font-weight: 400;
  line-height: 1.3;
}
.aov-native-choice-message {
  min-height: 1.1em;
  color: var(--muted, #93a8b5);
  font-size: .82rem;
}
.aov-native-choice-message.error {
  color: #ffaaaa;
}


/* AOV_V240_ARSENAL_UI */
.aov-arsenal-page {
  width: min(1500px, calc(100vw - 28px));
  margin: 14px auto 40px;
  display: grid;
  gap: 12px;
}
.aov-arsenal-two {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(420px, 1.3fr);
  gap: 12px;
}
.aov-arsenal-summary,
.aov-equip-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 9px;
}
.aov-arsenal-summary > div,
.aov-equip-score-grid > div,
.aov-material {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.aov-arsenal-summary span,
.aov-equip-score-grid span,
.aov-material span {
  color: var(--muted,#91a7b4);
  font-size: .78rem;
}
.aov-arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 10px;
}
.aov-arsenal-item,
.aov-arsenal-empty,
.aov-recipe {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 11px;
  background: rgba(255,255,255,.025);
}
.aov-arsenal-item.is-locked {
  border-color: rgba(246,196,87,.50);
}
.aov-arsenal-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.aov-arsenal-item h3,
.aov-recipe h3 {
  margin: 0 0 3px;
}
.aov-item-stats,
.aov-item-score,
.aov-recipe-cost {
  margin: 7px 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(102,208,255,.06);
}
.aov-arsenal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.aov-arsenal-table th,
.aov-arsenal-table td {
  text-align: left;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.aov-material-grid,
.aov-recipe-grid {
  display: grid;
  gap: 8px;
}
.aov-material-grid {
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
}
.aov-recipe-grid {
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}
.aov-recipe.cannot-craft {
  opacity: .62;
}
@media (max-width:900px) {
  .aov-arsenal-two {
    grid-template-columns: 1fr;
  }
  .aov-arsenal-summary,
  .aov-equip-score-grid {
    grid-template-columns: repeat(2,minmax(120px,1fr));
  }
}


/* AOV_V250_MULTIPLAYER_UI */
.aov-mp-page {
  width: min(1500px, calc(100vw - 28px));
  margin: 14px auto 40px;
  display: grid;
  gap: 12px;
}
.aov-mp-two {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.aov-mp-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(120px,1fr));
  gap: 9px;
}
.aov-mp-summary > div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.aov-mp-summary span {
  color: var(--muted,#91a7b4);
  font-size: .78rem;
}
.aov-mp-member-grid,
.aov-mp-invite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 10px;
}
.aov-mp-member,
.aov-mp-invite {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 11px;
  background: rgba(255,255,255,.025);
}
.aov-mp-member.is-current {
  border-color: rgba(102,208,255,.55);
}
.aov-mp-member.is-active-turn {
  box-shadow: inset 3px 0 0 rgba(246,196,87,.75);
}
.aov-mp-member-head,
.aov-mp-invite > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.aov-mp-member h3 {
  margin: 0 0 3px;
}
.aov-mp-character-meta {
  margin: 8px 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(102,208,255,.06);
}
.aov-mp-invite.inactive {
  opacity: .58;
}
.aov-mp-invite strong {
  font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size: 1.08rem;
  letter-spacing: .08em;
}
.aov-mp-invite strong + span {
  display: block;
}
.aov-mp-controls,
.aov-mp-invite-create {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 9px;
  align-items: end;
}
.aov-mp-chat-log {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  margin-bottom: 10px;
}
.aov-mp-chat-message {
  max-width: 82%;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.aov-mp-chat-message.mine {
  margin-left: auto;
  border-color: rgba(102,208,255,.35);
  background: rgba(38,86,113,.20);
}
.aov-mp-chat-message > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .8rem;
}
.aov-mp-chat-message > div span {
  color: var(--muted,#91a7b4);
}
.aov-mp-chat-message p {
  margin: 5px 0 0;
  white-space: pre-wrap;
}
.aov-mp-chat-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  align-items: stretch;
}
.aov-mp-chat-entry textarea {
  min-height: 70px;
}
.aov-shared-member {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.aov-shared-member.active-turn {
  border-left: 3px solid rgba(246,196,87,.75);
  padding-left: 7px;
}
.badge.active-turn {
  border-color: rgba(246,196,87,.62);
}
.badge.ready {
  box-shadow: inset 0 -2px 0 rgba(93,220,144,.42);
}
@media (max-width:900px) {
  .aov-mp-two {
    grid-template-columns: 1fr;
  }
  .aov-mp-summary {
    grid-template-columns: repeat(2,minmax(120px,1fr));
  }
}
@media (max-width:600px) {
  .aov-mp-summary {
    grid-template-columns: 1fr;
  }
  .aov-mp-chat-entry {
    grid-template-columns: 1fr;
  }
}


/* AOV_V251_NAVIGATION_LAYOUT */
.aov-alt-view-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.aov-native-choice-panel + .console {
  margin-top: 0;
}
.console + #aov230-continuity-panel {
  margin-top: 12px;
}
@media (max-width: 700px) {
  .aov-alt-view-actions {
    width: 100%;
    justify-content: flex-end;
  }
}


/* AOV_V260_VOICE_UI */
.aov-narration-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.aov-action-console {
  align-items: stretch;
}
.aov-action-entry {
  display: grid;
  gap: 8px;
  width: 100%;
}
.aov-voice-action-bar {
  display: grid;
  grid-template-columns: auto minmax(150px,1fr) minmax(90px,180px);
  gap: 9px;
  align-items: center;
}
.aov-voice-action-button.recording {
  border-color: rgba(255,95,95,.80);
  background: rgba(130,25,25,.32);
  box-shadow: 0 0 0 2px rgba(255,95,95,.13);
}
.aov-voice-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.aov-voice-meter-fill {
  width: 2%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(90,210,154,.9), rgba(246,196,87,.95), rgba(255,95,95,.95));
  transition: width .08s linear;
}
.aov-voice-draft {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(102,208,255,.28);
  border-radius: 10px;
  background: rgba(102,208,255,.045);
}
.aov-voice-draft[hidden] {
  display: none !important;
}
.aov-voice-draft textarea {
  min-height: 86px;
}
.aov-voice-page {
  width: min(1450px,calc(100vw - 28px));
  margin: 14px auto 40px;
  display: grid;
  gap: 12px;
}
.aov-voice-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(130px,1fr));
  gap: 9px;
}
.aov-voice-summary > div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.aov-voice-summary span {
  color: var(--muted,#91a7b4);
  font-size: .78rem;
}
.aov-voice-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 9px;
}
.aov-voice-controls label {
  display: grid;
  gap: 4px;
  min-width: 180px;
}
.aov-voice-controls .aov-check {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 250px;
}
.aov-voice-ptt {
  width: 100%;
  min-height: 72px;
  margin: 10px 0;
  border: 1px solid rgba(102,208,255,.45);
  border-radius: 14px;
  background: rgba(35,86,116,.28);
  color: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.aov-voice-ptt:active:not(:disabled) {
  background: rgba(120,45,45,.35);
  border-color: rgba(255,100,100,.75);
}
.aov-voice-peer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 9px;
}
.aov-voice-peer {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}
.aov-voice-peer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.aov-voice-peer label {
  display: grid;
  gap: 4px;
}
@media (max-width:800px) {
  .aov-voice-action-bar {
    grid-template-columns: 1fr;
  }
  .aov-voice-summary {
    grid-template-columns: repeat(2,minmax(120px,1fr));
  }
}


/* AOV_V261_PERSISTENT_FOLDS */
.aov261-fold {
  padding: 0;
  overflow: hidden;
}
.aov261-fold-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
}
.aov261-fold-toggle:hover {
  background: rgba(102,208,255,.045);
}
.aov261-fold-arrow {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform .14s ease;
}
.aov261-fold.is-open .aov261-fold-arrow {
  transform: rotate(0deg);
}
.aov261-fold.is-open .aov261-fold-toggle {
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.aov261-fold-body[hidden] {
  display: none !important;
}


/* AOV_V262_FOLD_HARDENING */
.aov261-fold-toggle {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  user-select: none;
}
.aov261-fold-body {
  position: relative;
  z-index: 1;
}


/* AOV_V263_STABLE_FOLD_CONTROLS */
.aov261-fold-toggle {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.aov261-fold-toggle:active {
  background: rgba(102,208,255,.09);
}


/* AOV_V270_TACTICAL_COMBAT_UI */
#aov-combat-nav.aov-combat-active-button {
  border-color: rgba(255,123,92,.72);
  background: rgba(133,48,32,.32);
}
.aov-combat-active-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-color: rgba(255,123,92,.48);
}
.aov-combat-active-banner > div {
  display: grid;
  gap: 2px;
}
.aov-combat-page {
  width: min(1550px,calc(100vw - 28px));
  margin: 14px auto 42px;
  display: grid;
  gap: 12px;
}
.aov-combat-header {
  border-color: rgba(255,123,92,.40);
}
.aov-combat-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(120px,1fr));
  gap: 9px;
}
.aov-combat-summary > div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.aov-combat-summary span {
  color: var(--muted,#91a7b4);
  font-size: .78rem;
}
.aov-combat-initiative {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 0 2px;
}
.aov-initiative-chip {
  display: grid;
  grid-template-columns: 24px auto 24px;
  gap: 6px;
  align-items: center;
  min-width: max-content;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: inherit;
  cursor: pointer;
}
.aov-initiative-chip.is-active {
  border-color: rgba(246,196,87,.78);
  background: rgba(118,88,27,.30);
}
.aov-initiative-chip.is-out {
  opacity: .45;
  text-decoration: line-through;
}
.aov-initiative-chip > span,
.aov-initiative-chip > small {
  color: var(--muted,#91a7b4);
}
.aov-battlefield {
  display: grid;
  gap: 12px;
}
.aov-battlefield > section {
  display: grid;
  gap: 8px;
}
.aov-battlefield h2 {
  margin: 0 4px;
  font-size: 1rem;
}
.aov-combatant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(255px,1fr));
  gap: 9px;
}
.aov-combatant {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.aov-combatant.party {
  border-left: 3px solid rgba(90,210,154,.68);
}
.aov-combatant.enemy {
  border-left: 3px solid rgba(255,100,100,.70);
}
.aov-combatant.is-active {
  box-shadow: 0 0 0 2px rgba(246,196,87,.22);
  border-color: rgba(246,196,87,.60);
}
.aov-combatant.is-out {
  opacity: .58;
}
.aov-combatant-head,
.aov-hp-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.aov-combatant h3 {
  margin: 0 0 2px;
}
.aov-hp-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.aov-hp-track > div {
  height: 100%;
  background: linear-gradient(90deg,rgba(255,95,95,.9),rgba(246,196,87,.9),rgba(90,210,154,.9));
}
.aov-combat-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aov-combat-stats > span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(102,208,255,.07);
  font-size: .78rem;
}
.aov-condition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.aov-death-saves {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255,95,95,.08);
}
.aov-combat-actions .panel-body {
  display: grid;
  gap: 10px;
}
.aov-action-section {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.022);
}
.aov-action-section label {
  display: grid;
  gap: 4px;
}
.aov-ready-action {
  grid-template-columns: repeat(2,minmax(180px,1fr)) auto;
  align-items: end;
}
.aov-waiting-turn {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.aov-host-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
}
.aov-host-controls label {
  display: grid;
  gap: 4px;
}
.aov-combat-log {
  max-height: 420px;
}
.aov-combat-log article {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.aov-combat-log article > div {
  display: grid;
  gap: 3px;
}
.aov-combat-log small {
  color: var(--muted,#91a7b4);
}
.aov-combat-start-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(150px,1fr));
  gap: 10px;
  align-items: end;
}
.aov-combat-start-grid label {
  display: grid;
  gap: 4px;
}
.aov-combat-message {
  min-height: 1.2em;
  color: var(--muted,#91a7b4);
}
.aov-combat-message.is-error {
  color: #ffaaaa;
}
.aov-combat-message.is-success {
  color: #8ce5b2;
}
@media (max-width:900px) {
  .aov-combat-summary,
  .aov-combat-start-grid {
    grid-template-columns: repeat(2,minmax(130px,1fr));
  }
  .aov-ready-action {
    grid-template-columns: 1fr;
  }
}


/* AOV_V280_LIVING_WORLD_UI */
#aov-world-nav.aov-world-active-button {
  border-color: rgba(126,205,125,.72);
  background: rgba(39,103,57,.30);
}
.aov-world-page {
  width: min(1580px,calc(100vw - 28px));
  margin: 14px auto 42px;
  display: grid;
  gap: 12px;
}
.aov-world-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(130px,1fr));
  gap: 9px;
}
.aov-world-summary > div,
.aov-world-supplies > div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.aov-world-summary span,
.aov-world-supplies span {
  color: var(--muted,#91a7b4);
  font-size: .78rem;
  text-transform: capitalize;
}
.aov-world-supplies {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: 8px;
}
.aov-world-two {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.aov-travel-planner,
.aov-combat-start-grid {
  display: grid;
  grid-template-columns: minmax(220px,1fr) auto auto;
  gap: 10px;
  align-items: end;
}
.aov-travel-planner label {
  display: grid;
  gap: 4px;
}
.aov-route-preview {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(102,208,255,.14);
  border-radius: 10px;
}
.aov-travel-progress,
.aov-world-clock-track,
.aov-world-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.aov-travel-progress > div,
.aov-world-clock-track > div,
.aov-world-meter > div {
  height: 100%;
  background: linear-gradient(90deg,rgba(90,210,154,.9),rgba(246,196,87,.95),rgba(255,95,95,.9));
}
.aov-travel-events,
.aov-world-feed {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}
.aov-travel-events article,
.aov-world-feed article {
  display: grid;
  gap: 3px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.aov-travel-events small,
.aov-world-feed small {
  color: var(--muted,#91a7b4);
}
.aov-location-grid,
.aov-npc-grid,
.aov-faction-grid,
.aov-clock-grid,
.aov-quest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 9px;
}
.aov-location-card,
.aov-npc-card,
.aov-faction-card,
.aov-clock-card,
.aov-world-quest {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.aov-location-card.is-current {
  border-color: rgba(90,210,154,.60);
  box-shadow: 0 0 0 2px rgba(90,210,154,.12);
}
.aov-location-card > div:first-child,
.aov-npc-head,
.aov-faction-head,
.aov-clock-head,
.aov-quest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.aov-location-card h3,
.aov-npc-card h3,
.aov-faction-card h3,
.aov-clock-card h3,
.aov-world-quest h3 {
  margin: 0 0 3px;
}
.aov-service-list,
.aov-npc-tags,
.aov-branch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.aov-world-meter-row {
  display: grid;
  grid-template-columns: 70px 1fr 34px;
  gap: 7px;
  align-items: center;
  font-size: .78rem;
}
.aov-world-meter-row b {
  text-align: right;
}
.aov-goal-list {
  display: grid;
  gap: 4px;
  color: var(--muted,#a9bac4);
}
.aov-clock-card.is-triggered {
  border-color: rgba(255,95,95,.60);
  background: rgba(115,35,35,.16);
}
.aov-world-quest.is-closed {
  opacity: .65;
}
.aov-objective-list {
  display: grid;
  gap: 6px;
}
.aov-objective-list > div {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto auto;
  gap: 7px;
  align-items: center;
  padding: 7px;
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.aov-objective-list > div.completed {
  opacity: .68;
}
.aov-objective-list > div.failed {
  color: #ffaaaa;
}
.aov-director-panel {
  border-color: rgba(160,130,255,.36);
}
.aov-director-beat {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(160,130,255,.20);
  border-radius: 11px;
  background: rgba(91,63,139,.10);
}
.aov-director-beat h2 {
  margin: 3px 0;
  text-transform: capitalize;
}
.aov-director-pacing {
  display: grid;
  grid-template-columns: repeat(3,minmax(180px,1fr));
  gap: 9px;
  margin-top: 10px;
}
.aov-director-pacing label {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  gap: 7px;
  align-items: center;
  text-transform: capitalize;
}
.aov-world-message {
  min-height: 1.2em;
  margin-top: 8px;
  color: var(--muted,#91a7b4);
}
.aov-world-message.is-error {
  color: #ffaaaa;
}
.aov-world-message.is-success {
  color: #8ce5b2;
}
@media (max-width:950px) {
  .aov-world-summary {
    grid-template-columns: repeat(2,minmax(130px,1fr));
  }
  .aov-world-two {
    grid-template-columns: 1fr;
  }
  .aov-director-pacing {
    grid-template-columns: repeat(2,minmax(160px,1fr));
  }
  .aov-travel-planner {
    grid-template-columns: 1fr;
  }
}


/* AOV_V290_BETA_HARDENING_UI */
#aov-system-nav.aov-system-warning-button{border-color:rgba(255,115,92,.75);background:rgba(126,44,35,.30)}
.aov-system-page{width:min(1500px,calc(100vw - 28px));margin:14px auto 42px;display:grid;gap:12px}
.aov-system-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:9px}
.aov-system-summary>div,.aov-system-grid>div{display:grid;gap:3px;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025)}
.aov-system-summary span,.aov-system-grid span{color:var(--muted,#91a7b4);font-size:.78rem}.good-text{color:#8ce5b2}.bad-text{color:#ffaaaa}
.aov-system-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.aov-system-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;margin-bottom:10px}
.aov-system-checks,.aov-snapshot-list,.aov-system-errors{display:grid;gap:8px}.aov-system-checks article,.aov-snapshot-list article,.aov-system-errors>article{display:grid;gap:4px;padding:9px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.02)}
.aov-system-checks article.passed{border-left:3px solid rgba(90,210,154,.7)}.aov-system-checks article.failed,.aov-system-error{border-left:3px solid rgba(255,95,95,.75)}
.aov-snapshot-list article{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.aov-snapshot-list article>div{display:grid;gap:2px}.aov-snapshot-list span,.aov-snapshot-list small{color:var(--muted,#91a7b4)}
.aov-system-settings{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.aov-system-settings label{display:grid;gap:4px}.aov-safe-mode{display:flex;justify-content:space-between;align-items:center;gap:12px}.aov-safe-mode>div{display:grid;gap:3px}.aov-safe-mode.is-active{padding:10px;border:1px solid rgba(255,95,95,.55);border-radius:10px;background:rgba(100,30,30,.15)}
.aov-system-errors pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.aov-system-message{min-height:1.2em;margin-top:8px;color:var(--muted,#91a7b4)}.aov-system-message.is-error{color:#ffaaaa}.aov-system-message.is-success{color:#8ce5b2}
@media(max-width:1000px){.aov-system-summary{grid-template-columns:repeat(3,minmax(110px,1fr))}.aov-system-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.aov-system-two{grid-template-columns:1fr}}
