/* Game decisions share one quiet backdrop. Documents retain their actual
   paper, workstation and notebook artwork; no decorative cards are added. */
.dialogue-shade .choices{
  gap:2px;
  padding:14px 22px;
  background:radial-gradient(ellipse at 50% 50%,rgba(9,12,17,.94),rgba(9,12,17,.73) 64%,transparent 100%);
  border:0;
  border-radius:0;
  box-shadow:none;
  scrollbar-color:#9c907c transparent;
  scroll-padding-block:10px;
}
.dialogue-shade .choices .choice{
  position:relative;
  min-width:44px;
  min-height:44px;
  padding:11px 12px 11px 28px;
  background:none;
  border:0;
  border-radius:0;
  box-shadow:none;
  color:#eee8dc;
  font:400 clamp(15px,1.45vw,18px)/1.75 Nanum,sans-serif;
  letter-spacing:0;
  text-align:left;
  text-shadow:0 1px 3px #000;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:keep-all;
  touch-action:manipulation;
  transition:color .12s ease-out;
}
.dialogue-shade .choices .choice::before{
  content:'';
  position:absolute;
  left:9px;
  top:calc(.875em + 11px);
  width:6px;
  height:8px;
  margin:0;
  background:currentColor;
  clip-path:polygon(0 0,100% 50%,0 100%);
  transform:translateY(-50%);
  opacity:.36;
  pointer-events:none;
}
.dialogue-shade .choices .choice:hover,
.dialogue-shade .choices .choice:focus-visible{
  background:none;
  color:#ffe0a3;
  outline:0;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}
.dialogue-shade .choices .choice:hover::before,
.dialogue-shade .choices .choice:focus-visible::before{opacity:1}
.dialogue-shade .choices .choice:active{color:#fff7e5}
.dialogue-shade .choices .choice:disabled{opacity:.42}
.dialogue-shade .choices[hidden]{display:none!important}
.dialogue-shade.choice-shade{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  overflow:hidden;
  padding:max(12px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
  background:linear-gradient(0deg,rgba(8,10,14,.78),rgba(8,10,14,.16) 64%,transparent);
}
.dialogue-shade.choice-shade .choices{
  grid-area:2/1;
  position:relative;
  left:auto;
  bottom:auto!important;
  width:min(44em,100%);
  max-height:64svh;
  margin:0 auto;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
}

/* The enlarged object is the scene, and the lower edge carries its actions. */
.shade:has(>.campaign-inspection),
.shade:has(>.campaign-physical){
  background:radial-gradient(ellipse at 50% 36%,#35322bf7,#111316fa 75%);
}
.campaign-inspection.panel,
.campaign-physical.panel{
  border:0;
  border-radius:0;
  box-shadow:none;
  background:none;
}
.campaign-inspection>.panel-content{
  min-height:0;
  scroll-padding:12px;
  scrollbar-color:#9a8a70 transparent;
}
.campaign-paper-content{
  color:#332f28;
  scroll-padding-block:12px;
  scrollbar-color:#98866b transparent;
}
.campaign-paper-content h2{
  margin:0 0 18px;
  font:700 clamp(18px,1.7vw,23px)/1.6 Nanum,sans-serif;
  letter-spacing:0;
  color:#302b24;
}
.campaign-paper-body{
  font:400 clamp(16px,1.5vw,19px)/1.9 Nanum,sans-serif;
  letter-spacing:0;
  color:#3c352c;
  white-space:pre-line;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
.campaign-inspection>.panel-actions,
.campaign-physical>.panel-actions{
  width:100%;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:2px 22px;
  min-height:56px;
  padding:6px 20px max(8px,env(safe-area-inset-bottom));
  border:0;
  box-shadow:none;
  background:linear-gradient(0deg,rgba(9,11,15,.88),rgba(9,11,15,.55) 60%,transparent);
}
.campaign-inspection .panel-actions button,
.campaign-physical .panel-actions button{
  min-width:44px;
  min-height:44px;
  padding:8px 2px;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:none;
  color:#ede4d3;
  font:400 15px/1.65 Nanum,sans-serif;
  letter-spacing:0;
  white-space:normal;
  overflow-wrap:anywhere;
  touch-action:manipulation;
}
.campaign-inspection .panel-actions button:hover,
.campaign-inspection .panel-actions button:focus-visible,
.campaign-physical .panel-actions button:hover,
.campaign-physical .panel-actions button:focus-visible{
  background:none;
  color:#ffe0a3;
  outline:0;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}
.campaign-inspection .panel-actions button:disabled,
.campaign-physical .panel-actions button:disabled{opacity:.42}
.campaign-inspection .campaign-back{margin-right:auto}
.campaign-physical .physical-caption{
  max-width:44em;
  margin:12px 0 8px;
  padding:0 16px;
  color:#dfd7c8;
  font:400 15px/1.75 Nanum,sans-serif;
  white-space:pre-line;
  overflow-wrap:anywhere;
}

/* Comparisons are annotations in the same physical notebook. */
.investigation-book[data-page="campaign-compare"] .book-left h2,
.investigation-book[data-page="campaign-compare"] .book-right h2{
  font:700 18px/1.65 Nanum,sans-serif;
  letter-spacing:0;
  margin-bottom:14px;
  color:#40342a;
}
.investigation-book[data-page="campaign-compare"] .book-source-heading{
  font:400 14px/1.65 Nanum,sans-serif;
  color:#75634f;
  margin:20px 0 8px;
}
.investigation-book[data-page="campaign-compare"] .book-support-entry{
  min-height:76px;
  padding:5px 0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:#4b3f31;
}
.investigation-book[data-page="campaign-compare"] .comparison-answer{
  min-height:52px;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
}
.investigation-book[data-page="campaign-compare"] .book-claim:hover,
.investigation-book[data-page="campaign-compare"] .book-claim:focus-visible{
  color:#80542d;
  background:none;
}

/* Field observations remain a short line below the object, never a card. */
.inspection .inspection-thought,
.archive-inspection .archive-thought{
  font-size:15px;
  line-height:1.75;
  letter-spacing:0;
  color:#e8e1d3;
  overflow-wrap:anywhere;
}
.archive-inspection .archive-paper-turn{
  min-width:44px;
  min-height:44px;
  color:#eee3cc;
  background:none;
  border:0;
  box-shadow:none;
  font-size:15px;
  text-decoration:none;
}
.archive-inspection .archive-paper-turn:hover,
.archive-inspection .archive-paper-turn:focus-visible{
  color:#ffe0a3;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}

@media(max-width:640px) and (orientation:portrait){
  .dialogue-shade .choices{
    padding:8px max(18px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left));
    max-height:36svh;
    overflow-x:hidden;
    overflow-y:auto;
  }
  .dialogue-shade .choices .choice{font-size:16px;min-height:44px}
  .campaign-paper-content h2{font-size:19px;line-height:1.6;margin-bottom:16px}
  .campaign-paper-body{font-size:16px;line-height:1.9}
  .campaign-inspection>.panel-actions,
  .campaign-physical>.panel-actions{
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
    gap:2px 16px;
  }
  .inspection .inspection-thought,
  .archive-inspection .archive-thought{font-size:14px;line-height:1.65}
}
@media(max-height:500px) and (orientation:landscape){
  .dialogue-shade .choices{padding-block:4px;max-height:40svh;overflow-x:hidden;overflow-y:auto}
  .dialogue-shade .choices .choice{min-height:44px;font-size:14px;padding-block:8px}
  .dialogue-shade .choices .choice::before{top:calc(.875em + 8px)}
  .campaign-paper-content h2{font-size:18px;line-height:1.55;margin-bottom:12px}
  .campaign-paper-body{font-size:16px;line-height:1.8}
  .campaign-inspection>.panel-actions,
  .campaign-physical>.panel-actions{min-height:48px;padding-top:0;gap:0 16px}
  .inspection .inspection-thought,
  .archive-inspection .archive-thought{font-size:13px;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){
  .dialogue-shade .choices .choice{transition:none!important}
}
.direction-reduced-motion .dialogue-shade .choices .choice{transition:none!important}
