/* Inside the ship's menus, the speaker keeps the same paper balloon as on deck. */
.characterLine {
  display:flex;
  align-items:flex-start;
  gap:13px;
  margin:18px 0 16px;
}
.speakerPortrait {
  flex:0 0 auto;
  width:56px;
  height:57px;
  image-rendering:pixelated;
  border:2px solid #5b536d;
  box-shadow:2px 2px #050b16;
}
.dialogueBox {
  --paper:#fff1ce;
  --chip:#ffb290;
  position:relative;
  min-width:0;
  padding:10px 15px 11px;
  background:var(--paper);
  border:2px solid #17212b;
  color:#242438;
  box-shadow:inset 0 2px #fff9e4,2px 2px #17212b;
  border-radius:0;
}
.characterLine .dialogueBox { flex:1; margin-right:3px; }
.dialogueBox::before {
  content:"";
  position:absolute;
  left:-11px;
  top:15px;
  width:11px;
  height:10px;
  background:linear-gradient(to bottom,#17212b 0 2px,var(--paper) 2px 8px,#17212b 8px);
  clip-path:polygon(0 0,100% 0,100% 100%,70% 100%,70% 70%,40% 70%,40% 40%,0 40%);
}
.dialogueBox b {
  display:table;
  margin:0 0 4px;
  padding:1px 6px 2px;
  color:#292333;
  background:var(--chip);
  font:16px/1 Tiny,Rubik,sans-serif;
}
.dialogueBox p { margin:0; font:500 15px/1.4 Rubik,sans-serif; color:#242438; }
.bigTop .dialogueBox { --chip:#f0c67e; margin-left:5px; padding:6px 9px 7px; }
.bigTop .dialogueBox p { font-size:12px; line-height:1.32; }
.bigTop .dialogueBox b { margin-bottom:2px; font-size:13px; }
@media (max-width:610px) {
  .characterLine { gap:9px; margin:12px 0; }
  .speakerPortrait { width:42px; height:43px; }
  .characterLine .dialogueBox { padding:7px 10px 8px; }
  .characterLine .dialogueBox p { font-size:14px; }
  .bigTop .dialogueBox { margin:0 2px; }
  .bigTop .dialogueBox::before { left:18px; top:-7px; transform:rotate(60deg); }
}
