/* The fjords (fjord.js): a slow documentary montage of real fjord photos behind the chat. The film is the one loud thing;
   a flat dusk-blue wash and a dark edge sit on it so bubbles and the text between them stay easy to read. */
.fjord { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: -1; overflow: hidden; background: #1b2433; pointer-events: none; contain: strict; }
.fjord-shot { position: absolute; inset: 0; opacity: 0; }
.fjord-shot img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-select: none; }
.fjord::after { content: ""; position: absolute; inset: 0; background: rgb(12 20 36 / .26); box-shadow: inset 0 0 110px rgb(4 8 18 / .5); }
@media (prefers-color-scheme: dark) { .fjord::after { background: rgb(8 12 24 / .46); } }

/* the location card, as the films name a place: bottom left, white, quiet */
.fjord-cap { position: absolute; left: 20px; bottom: 34px; z-index: 1; max-width: calc(100% - 40px); color: #fff; opacity: 0;
  text-shadow: 0 1px 3px rgb(0 0 0 / .55); line-height: 1.2; }
.fjord-cap b { display: block; font-size: 21px; font-weight: 700; letter-spacing: .01em; }
.fjord-cap span { display: block; font-size: 15px; margin-top: 3px; }
.fjord-cap small { display: block; font-size: 11px; margin-top: 8px; opacity: .7; }

/* Plain chat (app.js, <html class="plain">, the menu's "Plain chat" row): no film and no flying sticker, just a still
   dusk-blue backdrop in the film's own colours, so the light text that sits straight on it still reads. */
html.plain .chat { background: #1f2a3d; }
html.plain .fjord, html.plain .driz-sky { display: none !important; }
