@charset "UTF-8";
/* Two plans share one paper ledger and one set of material labels. The
   selected column follows the choice buttons at every viewport width. */
#app .game-shell[data-page="adventure"] .plan-comparison.plan-comparison-ledger {
  padding: 10px !important; min-width: 0;
}
#app .game-shell[data-page="adventure"] .plan-comparison-ledger .comparison-context { margin: 0; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger .comparison-context > b { font-size: 13px; line-height: 19px; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger .comparison-intro { margin: 3px 0 6px; font-size: 10px; line-height: 16px; }
#app .game-shell[data-page="adventure"] .plan-matrix {
  width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0;
  color: #674b2c; font-size: 12px; font-variant-numeric: tabular-nums;
}
#app .game-shell[data-page="adventure"] .plan-matrix .plan-matrix-label { width: 30%; }
#app .game-shell[data-page="adventure"] .plan-matrix :is(th,td) {
  padding: 2px 4px; height: 26px; vertical-align: middle; border: 0;
  border-bottom: 1px solid #b99b623b; line-height: 22px;
}
#app .game-shell[data-page="adventure"] .plan-matrix th { text-align: left; font-weight: 500; }
#app .game-shell[data-page="adventure"] .plan-matrix td { text-align: center; }
#app .game-shell[data-page="adventure"] .plan-matrix :is(th,td).is-selected { background: #9fbc6a2b; }
#app .game-shell[data-page="adventure"] .plan-matrix thead th { padding: 0 3px 5px; border-bottom: 1px solid #b99b6270; }
#app .game-shell[data-page="adventure"] .plan-matrix thead th:first-child { font-size: 11px; }
#app .game-shell[data-page="adventure"] .plan-matrix:not(.plan-discard-matrix) thead th {
  position: sticky; top: 0; z-index: 2; background: #f2e4c2; box-shadow: 0 1px #b99b62;
}
#app .game-shell[data-page="adventure"] .plan-matrix:not(.plan-discard-matrix) thead th.is-selected { background: #e0dfb4; }
#app .game-shell[data-page="adventure"] .plan-matrix th :is(.resource-icon,.ui-icon) {
  width: 18px; height: 22px; max-height: 22px; object-fit: contain;
  display: inline-block; margin: 0 4px 0 0; vertical-align: middle;
}
#app .game-shell[data-page="adventure"] .plan-matrix td b { font-size: 16px; line-height: 22px; color: #4a6d2e; white-space: nowrap; }
#app .game-shell[data-page="adventure"] .plan-matrix td small { margin-left: 2px; color: #80623f; font-size: 10px; line-height: 16px; white-space: nowrap; }
#app .game-shell[data-page="adventure"] .plan-matrix td .is-short b { color: #a34c2b; }
#app .game-shell[data-page="adventure"] .plan-matrix .plan-matrix-group th {
  padding: 4px 5px 2px; height: 26px; background: #c8b27e26; color: #72512e; font-size: 11px; line-height: 18px;
}
#app .game-shell[data-page="adventure"] .plan-matrix .choice-button {
  width: 100%; height: 54px; min-height: 54px; margin: 0;
  padding: 2px 10px !important; font-size: 12px; line-height: 16px;
}
#app .game-shell[data-page="adventure"] .plan-matrix .choice-button .button-label {
  display: flex; align-items: center; justify-content: center; gap: 3px; min-width: 0;
}
#app .game-shell[data-page="adventure"] .plan-matrix .plan-choice-mark { font-size: 14px; flex: 0 0 auto; }
#app .game-shell[data-page="adventure"] .plan-matrix .plan-choice-title { display: block; font-size: 12px; line-height: 16px; }
#app .game-shell[data-page="adventure"] .plan-matrix .plan-choice-title small { display: block; margin: 0; color: inherit; font-size: 9px; line-height: 13px; }
#app .game-shell[data-page="adventure"] .plan-matrix th.is-selected .choice-button { filter: drop-shadow(0 0 1px #deb84a); }
#app .game-shell[data-page="adventure"] .plan-matrix-risk { display: block; font-size: 10px; line-height: 16px; padding: 2px 0; }
#app .game-shell[data-page="adventure"] .plan-matrix-risk.is-danger { color: #965132; }
#app .game-shell[data-page="adventure"] .plan-matrix-risk.is-safe { color: #4a6d2e; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger :is(.plan-discard-details,.plan-event-details) { border-top: 1px solid #c7ad8070; margin-top: 3px; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger :is(.plan-discard-details,.plan-event-details) > summary {
  min-height: 44px; display: flex; align-items: center; font-size: 11px; line-height: 17px; cursor: pointer; list-style: none;
}
#app .game-shell[data-page="adventure"] .plan-discard-details > summary::before { content: '▸'; margin-right: 4px; }
#app .game-shell[data-page="adventure"] .plan-discard-details[open] > summary::before { content: '▾'; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger summary::-webkit-details-marker { display: none; }
#app .game-shell[data-page="adventure"] .plan-discard-matrix th:first-child { width: 30%; }
#app .game-shell[data-page="adventure"] .plan-discard-matrix thead th { font-size: 11px; line-height: 18px; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger .plan-empty { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger .plan-empty > img { width: 64px; height: 68px; object-fit: contain; }
#app .game-shell[data-page="adventure"] .plan-comparison-ledger .plan-empty p { font-size: 12px; line-height: 20px; }
#app .game-shell[data-page="adventure"] .plan-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@container (max-width: 350px) {
  #app .game-shell[data-page="adventure"] .plan-matrix :is(th,td) { padding-inline: 2px; }
  #app .game-shell[data-page="adventure"] .plan-matrix th { font-size: 11px; }
  #app .game-shell[data-page="adventure"] .plan-matrix td b { font-size: 15px; }
  #app .game-shell[data-page="adventure"] .plan-matrix th :is(.resource-icon,.ui-icon) { width: 16px; height: 20px; margin-right: 3px; }
  #app .game-shell[data-page="adventure"] .plan-matrix .choice-button { padding-inline: 5px !important; }
  #app .game-shell[data-page="adventure"] .plan-matrix .choice-button .button-label { gap: 2px; }
  #app .game-shell[data-page="adventure"] .plan-matrix .plan-choice-title { font-size: 11px; }
}
