/* Hunch Harbor: extras on top of the shared game styles in /styles.css. */
.city-stage canvas#harbor-canvas { display: block; width: 100%; border-radius: 10px; outline: none; touch-action: none; }
.city-stage canvas#harbor-canvas:focus-visible { outline: 3px dashed var(--coral-deep); outline-offset: 3px; }

.hh-focus .bar i { background: var(--sky); }
.hh-focus .bar i.low { background: var(--coral); }

.harbor .tower-dialog { max-height: 92%; }
#dlg-art { display: block; width: 100%; max-width: 520px; height: auto; margin: 4px 0 10px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--sky-light); }
.dlg-text .zip { background: var(--butter-light); border: 2px dashed var(--ink-soft); border-radius: 10px; padding: 6px 10px; font-family: var(--round); font-weight: 800; }
.dlg-text .hint { background: var(--sky-light); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; }
.dlg-text .reveal { background: var(--mint-light); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; }
.dlg-text .fell { background: var(--coral-light); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; }
.dlg-text table { border-collapse: collapse; margin: 4px 0 8px; font-size: 14px; }
.dlg-text th, .dlg-text td { border: 2px solid var(--ink); padding: 3px 8px; text-align: left; }
.dlg-text th { background: var(--butter-light); font-family: var(--round); }
.dlg-input { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 4px 0 6px; }
.dlg-input input { width: 140px; font: inherit; font-family: var(--round); font-weight: 800; font-size: 18px; padding: 6px 10px; border: 2.5px solid var(--ink); border-radius: 11px; background: var(--card); color: var(--ink); }
.dlg-input label { font-family: var(--round); font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.dlg-choices .think { background: var(--sky-light); }
.dlg-choices button[disabled] { opacity: 0.55; cursor: not-allowed; }

.journal .part-head { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 22px 0 4px; }
.journal .lesson-card .trap { display: inline-block; font-family: var(--round); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; margin-left: 6px; }
.journal .lesson-card .trap.fell { background: var(--coral-light); }
.journal .lesson-card .trap.dodged { background: var(--mint-light); }

.skip-sources { margin: 6px 0 14px; padding-left: 20px; font-size: 14px; }
.skip-sources li { margin: 2px 0; }
#skip-extra h3 { font-size: 18px; margin: 14px 0 4px; }

@media (max-width: 760px) {
  .harbor .tower-dialog { max-height: none; }
  .dlg-input input { width: 120px; }
}
