/* ==========================================================================
   Comic strip engine — shared panel art for the home cover and browser demo.
   Adapted from the app's scene styles so both use the same inks and inserts.
   ========================================================================== */

.scene {
  position: relative;
  aspect-ratio: 12 / 7;
  overflow: hidden;
  background-color: #c9dfef;
}

.scene svg {
  display: block;
  width: 100%;
  height: 100%;
}

.scene .ink,
.scene .ink-thin {
  fill: none;
  stroke: #1b1712;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene .ink {
  stroke-width: 2.5;
}

.scene .ink-thin {
  stroke-width: 1.6;
  opacity: 0.82;
}

.scene .ink-thin.soft {
  opacity: 0.45;
}

.scene .ink-fill {
  stroke: #1b1712;
  stroke-width: 2.5;
  stroke-linejoin: round;
}

/* In-panel comic inserts */

.panel-inserts {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 12 / 7;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
}

.panel-bubble {
  position: relative;
  max-width: 70%;
  padding: 5px 9px 6px;
  background: #fbf7ec;
  border: 2.5px solid #1b1712;
  border-radius: 12px 12px 12px 3px;
  color: #1b1712;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.005em;
  text-wrap: balance;
  box-shadow: 2px 2px 0 #1b1712;
}

.panel-bubble::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -9px;
  width: 14px;
  height: 10px;
  background: #fbf7ec;
  border-left: 2.5px solid #1b1712;
  border-bottom: 2.5px solid #1b1712;
  transform: skewX(-24deg);
}

.panel-screentag {
  margin-left: auto;
  align-self: flex-start;
  padding: 4px 7px;
  background: #1b1712;
  color: #fbf7ec;
  border: 2px solid #1b1712;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.panel-sfx {
  margin-left: auto;
  align-self: flex-end;
  padding: 2px 7px 3px;
  background: #fbf7ec;
  border: 2.5px solid #1b1712;
  border-radius: 4px;
  color: #1b1712;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.1;
  transform: rotate(-4deg);
  box-shadow: 2px 2px 0 #1b1712;
}
