/* The Town floor (town.js): a band along the bottom of the whole screen, in front
   of the page and the video. Clicks pass through to whatever is under it. On a
   Twitch surface town.js hides it wherever it would overlap the player (any layer
   over a Twitch iframe pauses it). */
#town-strip {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 46vh; min-height: 260px; max-height: 480px; /* the floor is the lower part; above it is air for heads and jumps */
  pointer-events: none; overflow: visible; z-index: 28;
}
#town-strip .town-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

#town-strip .town-name,
#town-strip .town-bubble { position: absolute; left: 0; top: 0; will-change: transform; white-space: nowrap; }
#town-strip .town-name {
  font-weight: 700; font-size: 11px; line-height: 1.2; color: #fff;
  background: rgba(0, 0, 0, .55); border-radius: 2px; padding: 0 5px 1px;
}
/* Same look as the chat characters' bubbles (portrait.css .pt-bubble). */
#town-strip .town-bubble {
  max-width: 240px; width: max-content; white-space: normal;
  background: #fff; color: #141414; border: 3px solid #111; border-radius: 14px;
  padding: 4px 10px 6px; font-weight: 600; font-size: 14px; line-height: 1.2;
  overflow-wrap: anywhere; text-shadow: none;
}
