/* Lantern Quay: Driftholm's look, after its in-game theme pack, built in depth. A layered sky with
   cloud banks and hazed far isles; bevelled keel timber lit from the top left; parchment set into
   it; rope that casts a shadow; brass that catches the light; and lanterns that spill warm light.
   Lit for dusk.
   Contrast on the parchment (about #ecdcba): ink 12:1, muted 7:1, links 7.6:1, up and down 6:1. */

.theme-lantern-quay {
  --keel-tex: url("/static/img/hubs/keel.png");
  --tar-tex: url("/static/img/hubs/tar.png");
  --sail-tex: url("/static/img/hubs/sailcloth.png");
  --rope-x: url("/static/img/hubs/rope-round.png");
  --rope-y: url("/static/img/hubs/rope-round-down.png");
  --tar: #2b2420;
  --keel: #6b4a2f;
  --brass: #c9a227;
  --glow: #ffd98a;
  --sail: #f3ead7;

  --bg: #231a22;
  --surface: #36291f;
  --surface2: #4a3524;
  --line: #6b4a2f;
  --line-hi: #8e7458;
  --text: #f6ecd8;
  --muted: #e0d0b2;
  --primary: #ffd98a;
  --primary-hi: #ffe7b3;
  --primary-ink: #2b2420;

  --hub-accent: var(--sail);
  --panel-head-text: #2b2420;
  --panel-text: #2b1c12;
  --panel-muted: #4f3b28;
  --panel-link: #6b2f07;
  --panel-silver: #4a5666;
  --panel-bronze: #94420e;
  --panel-line: #b99d74;
  --panel-up: #245210;
  --panel-down: #8a2314;
  --slot-bg: #9c8667;
  --panel-card: #f6ead0;
  --panel-card2: #dcc59b;
  --panel-line-hi: #7d6040;
  --panel-btn-ink: #fff3da;

  /* Lighting. */
  --sky:
    radial-gradient(1.4px 1.4px at 14% 22%, #fff6da 98%, transparent) 0 0 / 280px 250px,
    radial-gradient(1px 1px at 66% 58%, #dfe6ff 98%, transparent) 0 0 / 210px 230px,
    radial-gradient(1px 1px at 38% 84%, #fff 98%, transparent) 0 0 / 370px 310px,
    linear-gradient(180deg, #151b40 0, #2f2c66 260px, #5d3d76 480px, #a8527a 680px, #e97c66 840px, #ffb56f 980px, #e5896c 1180px, #8b4f72 1550px, #3b2748 100%);
  --horizon: radial-gradient(closest-side, rgba(255, 224, 150, .85), rgba(255, 150, 96, .38) 48%, transparent);
  --paper: radial-gradient(140% 120% at 12% 0%, #f8ecd0 0, #ecdab5 52%, #dcc397 100%);
  --paper-grain: var(--sail-tex);
  --timber-shade: linear-gradient(135deg, rgba(255, 196, 122, .34), rgba(255, 196, 122, 0) 28%, rgba(10, 4, 12, .1) 62%, rgba(10, 4, 12, .46));
  --bevel: inset 3px 3px 0 rgba(255, 208, 148, .42), inset -3px -3px 0 rgba(16, 6, 4, .55), inset 6px 6px 8px -4px rgba(255, 200, 130, .35);
  --float: 0 2px 3px rgba(8, 3, 14, .55), 0 14px 22px -8px rgba(12, 5, 26, .62), 0 48px 70px -22px rgba(12, 5, 30, .75);
  --spill: rgba(255, 170, 70, .5);
  --vignette: rgba(10, 4, 24, .46);
  --haze: .62;
  --cloud-high: url("/static/img/hubs/clouds-dusk-high.png");
  --cloud-low: url("/static/img/hubs/clouds-dusk-low.png");
}

/* ---------- The sky, in layers ---------- */
body.theme-lantern-quay { position: relative; background: var(--sky); overflow-x: clip; }
/* A slight vignette over everything but the header. */
body.theme-lantern-quay::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; background: radial-gradient(125% 100% at 50% 42%, transparent 58%, var(--vignette) 100%); }

.theme-lantern-quay .sky { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.theme-lantern-quay .sky i { position: absolute; display: block; background-repeat: no-repeat; background-size: contain; background-position: center; }
.theme-lantern-quay .sky .horizon { left: 50%; top: 520px; width: 190%; max-width: 2600px; height: 900px; margin-left: calc(min(190%, 2600px) / -2); background: var(--horizon); }
.theme-lantern-quay .sky .cloud { left: -10%; width: 120%; image-rendering: pixelated; background-repeat: repeat-x; -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 96%); mask-image: linear-gradient(180deg, #000 42%, transparent 96%); }
.theme-lantern-quay .sky .far { top: 130px; height: 112px; background-image: var(--cloud-high); background-size: 480px 112px; background-position: 90px 0; opacity: .34; filter: blur(1.5px); }
.theme-lantern-quay .sky .mid { top: 640px; height: 300px; background-image: var(--cloud-low); background-size: 1136px 300px; opacity: .48; filter: blur(1.4px); }
.theme-lantern-quay .sky .near { top: 1230px; height: 450px; background-image: var(--cloud-low); background-size: 1704px 450px; background-position: 520px 0; opacity: .7; }
.theme-lantern-quay .sky .deep { bottom: 40px; height: 300px; background-image: var(--cloud-high); background-size: 1280px 300px; background-position: 260px 0; opacity: .45; }
/* Far isles fade into the air: smaller, paler, softer the further off. */
.theme-lantern-quay .sky .one { left: -2%; top: 560px; width: 190px; height: 300px; background-image: url("/static/img/hubs/isle-a.png"); opacity: var(--haze); filter: saturate(.6) blur(1px); }
.theme-lantern-quay .sky .two { right: 3%; top: 120px; width: 96px; height: 150px; background-image: url("/static/img/hubs/isle-b.png"); opacity: calc(var(--haze) * .75); filter: saturate(.4) blur(1.8px); }
.theme-lantern-quay .sky .three { right: -3%; top: 1180px; width: 240px; height: 360px; background-image: url("/static/img/hubs/isle-c.png"); opacity: .88; filter: saturate(.8) drop-shadow(0 30px 24px rgba(30, 14, 50, .4)); }
.theme-lantern-quay .sky .four { left: 38%; top: 96px; width: 62px; height: 90px; background-image: url("/static/img/hubs/isle-b.png"); opacity: calc(var(--haze) * .55); filter: saturate(.3) blur(2px); }
.theme-lantern-quay .nav, .theme-lantern-quay .hubshell, .theme-lantern-quay .foot { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.theme-lantern-quay .nav {
  z-index: 40; image-rendering: pixelated; border-bottom: 3px solid #7a5f14;
  background: linear-gradient(180deg, rgba(255, 208, 150, .16), transparent 45%, rgba(0, 0, 0, .42)), var(--tar-tex) repeat 0 0 / 384px 144px #2b2420;
  box-shadow: inset 0 -1px 0 #ffe596, 0 8px 20px rgba(8, 3, 16, .55);
}
.theme-lantern-quay .nav > * { image-rendering: auto; }
.theme-lantern-quay .servers > summary { background: rgba(20, 14, 12, .7); box-shadow: inset 0 1px 0 rgba(255, 220, 170, .25), 0 3px 6px rgba(0, 0, 0, .45); }

/* ---------- The name board and the lanterns ---------- */
/* The lit lantern's glow reaches past its tab: never past the page. */
.theme-lantern-quay .hubbar { overflow-x: clip; }
.theme-lantern-quay .hubbar { flex-direction: column; gap: 0; padding-block: 30px 0; background: none; border: 0; }
.theme-lantern-quay .hubname {
  position: relative; z-index: 2; justify-content: center; min-height: 76px; padding: 6px 64px; font-size: clamp(1.4rem, 6vw, 2.3rem); color: #ffe29c; image-rendering: pixelated;
  border: 2px solid #170d08; border-radius: 8px; background: var(--timber-shade), var(--keel-tex) repeat 0 0 / 384px 144px #6b4a2f;
  box-shadow: var(--bevel), inset 0 0 0 7px rgba(20, 8, 0, .16), inset 0 0 0 9px rgba(255, 210, 120, .3), var(--float);
  text-shadow: 0 -1px 0 #fff4c8, 0 2px 0 #8a640c, 0 4px 0 #3a2408, 0 6px 14px rgba(0, 0, 0, .7), 0 0 26px rgba(255, 190, 80, .55);
}
.theme-lantern-quay .hubname::before, .theme-lantern-quay .hubname::after { content: ""; position: absolute; bottom: calc(100% - 4px); width: 10px; height: 38px; background: var(--rope-y) repeat-y 0 0 / 10px 43px; filter: drop-shadow(4px 5px 3px rgba(8, 3, 14, .6)); }
.theme-lantern-quay .hubname::before { left: 30px; }
.theme-lantern-quay .hubname::after { right: 30px; }

.theme-lantern-quay .hubnav { position: relative; flex: none; width: 100%; margin-top: 22px; }
/* The beam the lanterns hang from. */
.theme-lantern-quay .hubnav::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 0; height: 18px; border-radius: 4px; border: 2px solid #170d08; image-rendering: pixelated;
  background: var(--timber-shade), var(--keel-tex) repeat 0 0 / 256px 96px #6b4a2f; box-shadow: var(--bevel), 0 16px 18px -6px rgba(10, 4, 20, .6);
}
.theme-lantern-quay .hubnav ul { position: relative; flex-wrap: wrap; justify-content: center; gap: 22px; overflow: visible; padding: 16px 4px 26px; }
.theme-lantern-quay .hubnav li { position: relative; padding-top: 24px; }
.theme-lantern-quay .hubnav li::before { content: ""; position: absolute; top: 0; left: 50%; width: 6px; height: 18px; margin-left: -3px; background: repeating-linear-gradient(180deg, #e9cf6a 0 3px, #6d530c 3px 6px); border-radius: 3px; box-shadow: 3px 3px 4px rgba(0, 0, 0, .5); }
.theme-lantern-quay .hubnav a {
  position: relative; z-index: 1; min-width: 118px; min-height: 60px; padding: 0 20px; border-radius: 14px; color: #fff3da; text-shadow: 0 1px 2px #1c0d02, 0 0 8px #1c0d02;
  border: 3px solid #a5841c; border-color: #f0d572 #8c6d15 #6d530c #c9a227;
  background:
    linear-gradient(90deg, transparent 11%, rgba(110, 80, 12, .85) 11% 13%, transparent 13% 87%, rgba(110, 80, 12, .85) 87% 89%, transparent 89%),
    radial-gradient(62% 82% at 50% 56%, rgba(255, 178, 70, .62), rgba(158, 82, 28, .85) 55%, #3b2012 100%);
  box-shadow: inset 0 0 12px rgba(20, 8, 0, .65), 0 0 16px 1px rgba(255, 160, 60, .38), 0 18px 18px -8px rgba(10, 4, 20, .75);
}
/* The brass cap and foot. */
.theme-lantern-quay .hubnav a::before, .theme-lantern-quay .hubnav a::after { content: ""; position: absolute; left: 20%; right: 20%; border: 1px solid #3d2e05; background: radial-gradient(40% 90% at 32% 25%, #fffbe0, transparent 70%), linear-gradient(180deg, #f0d572, #a5841c 60%, #6d530c); box-shadow: 0 3px 4px rgba(0, 0, 0, .4); }
.theme-lantern-quay .hubnav a::before { bottom: 100%; margin-bottom: 1px; height: 11px; border-radius: 50% 50% 3px 3px / 100% 100% 3px 3px; }
.theme-lantern-quay .hubnav a::after { top: 100%; margin-top: 2px; height: 8px; left: 28%; right: 28%; border-radius: 3px 3px 50% 50% / 3px 3px 100% 100%; }
.theme-lantern-quay .hubnav a:hover { filter: brightness(1.18); background-color: transparent; }
.theme-lantern-quay .hubnav a[aria-current="page"] {
  color: #2a1503; text-shadow: 0 1px 0 rgba(255, 252, 230, .9);
  background:
    linear-gradient(90deg, transparent 11%, rgba(150, 105, 15, .75) 11% 13%, transparent 13% 87%, rgba(150, 105, 15, .75) 87% 89%, transparent 89%),
    radial-gradient(72% 96% at 50% 50%, #fffdf2 0, #ffedb2 34%, #ffc654 70%, #e08d22 100%);
  box-shadow: inset 0 0 14px rgba(255, 255, 240, .9), 0 0 0 3px rgba(255, 220, 140, .45), 0 0 26px 9px rgba(255, 200, 96, .9), 0 0 80px 30px rgba(255, 148, 48, .55);
}
/* Its light on the wood and the air around it. */
.theme-lantern-quay .hubnav li:has(> a[aria-current="page"]) { z-index: 3; }
.theme-lantern-quay .hubnav li:has(> a[aria-current="page"])::after { content: ""; position: absolute; left: 50%; top: 50%; width: 320px; height: 230px; transform: translate(-50%, -52%); pointer-events: none; z-index: 2; opacity: .8; mix-blend-mode: soft-light; background: radial-gradient(closest-side, #ffe3a0, rgba(255, 170, 70, .75) 42%, transparent); }

/* ---------- Timber, rope and parchment ---------- */
.theme-lantern-quay .panel {
  position: relative; padding: 14px; border: 2px solid #170d08; border-radius: 12px; image-rendering: pixelated;
  background:
    radial-gradient(260px 150px at 8% 0, var(--spill), transparent 72%),
    var(--timber-shade), var(--keel-tex) repeat 0 0 / 384px 144px #6b4a2f;
  box-shadow: var(--bevel), var(--float);
}
.theme-lantern-quay .panel > * { image-rendering: auto; }
.theme-lantern-quay .panel-head { position: relative; gap: 8px; justify-content: space-between; min-height: 58px; padding: 0 4px 12px; background: none; border-radius: 0; }

/* A brass plaque: two screws, a bright edge and a streak of reflected light. */
.theme-lantern-quay .panel-head :is(h1, h2) {
  margin: 0; padding: 11px 34px; border-radius: 5px; color: #2b1c05; text-shadow: 0 1px 0 rgba(255, 248, 206, .9);
  background:
    radial-gradient(circle at 15px 50%, #fff8d8 0 1px, #a5841c 2px 3.5px, #3d2e05 4px 4.5px, transparent 5px),
    radial-gradient(circle at calc(100% - 15px) 50%, #fff8d8 0 1px, #a5841c 2px 3.5px, #3d2e05 4px 4.5px, transparent 5px),
    linear-gradient(108deg, transparent 22%, rgba(255, 255, 244, .85) 33%, rgba(255, 255, 244, .15) 41%, transparent 48%, transparent 72%, rgba(255, 252, 220, .4) 79%, transparent 86%),
    linear-gradient(180deg, #fff0ad 0, #e9cd5e 20%, #c9a227 52%, #9a7714 84%, #d6b744 100%);
  box-shadow: inset 0 1px 0 #fffbe4, inset 0 -2px 3px rgba(84, 58, 4, .75), 0 0 0 1px #3d2e05, 0 3px 0 #1d1208, 4px 8px 10px rgba(8, 3, 12, .55);
}
.theme-lantern-quay .panel-head a {
  min-height: 40px; padding: 0 14px; color: #fff3da; text-decoration: none; border-radius: 999px; border: 1px solid #170d08;
  background: linear-gradient(180deg, #4b3a2e, #231913); box-shadow: inset 0 1px 0 rgba(255, 220, 170, .35), 0 0 0 2px rgba(201, 162, 39, .55), 3px 6px 8px rgba(8, 3, 12, .5);
}
.theme-lantern-quay .panel-head a:hover { color: var(--glow); box-shadow: inset 0 1px 0 rgba(255, 220, 170, .35), 0 0 0 2px var(--glow), 0 0 18px rgba(255, 200, 100, .7); }

/* The parchment is set down into the timber, a rope laid round it. */
.theme-lantern-quay .panel-body {
  position: relative; padding: 24px 24px 26px; border-radius: 6px; background: var(--paper-grain) repeat 0 0 / 128px, var(--paper); background-blend-mode: multiply, normal;
  box-shadow: inset 6px 8px 16px rgba(74, 40, 8, .42), inset -3px -3px 8px rgba(255, 250, 228, .75), 0 0 0 2px rgba(20, 8, 2, .72), 0 3px 0 2px rgba(255, 214, 156, .3);
}
.theme-lantern-quay .panel-body::before, .theme-lantern-quay .sign .words::before {
  content: ""; position: absolute; inset: 5px; pointer-events: none; filter: drop-shadow(2px 4px 2px rgba(48, 22, 2, .55));
  background:
    var(--rope-x) repeat-x 0 0 / 38px 9px, var(--rope-x) repeat-x 0 100% / 38px 9px,
    var(--rope-y) repeat-y 0 0 / 9px 38px, var(--rope-y) repeat-y 100% 0 / 9px 38px;
}
/* Brass knots where the ropes cross. */
.theme-lantern-quay .panel-body::after {
  content: ""; position: absolute; inset: 2px; pointer-events: none; filter: drop-shadow(2px 3px 2px rgba(40, 18, 0, .55));
  --knot: #fffbe0 0 1.5px, #e9cd5e 3px, #a5841c 5px, #4a3806 7px, transparent 7.5px;
  background:
    radial-gradient(circle at 6px 6px, var(--knot)) left top / 15px 15px no-repeat, radial-gradient(circle at 6px 6px, var(--knot)) right top / 15px 15px no-repeat,
    radial-gradient(circle at 6px 6px, var(--knot)) left bottom / 15px 15px no-repeat, radial-gradient(circle at 6px 6px, var(--knot)) right bottom / 15px 15px no-repeat;
}

.theme-lantern-quay .hublist > li + li { border-top: 1px solid rgba(110, 74, 38, .42); box-shadow: inset 0 1px 0 rgba(255, 250, 230, .8); }
.theme-lantern-quay .hubrow { grid-template-columns: 44px minmax(0, 1fr) auto; }
.theme-lantern-quay .slot { width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(160deg, #80684c, #b39b77); box-shadow: inset 2px 4px 7px rgba(36, 18, 4, .68), inset -1px -2px 2px rgba(255, 238, 205, .55), 0 1px 0 rgba(255, 250, 230, .9); }
.theme-lantern-quay .slot img { filter: drop-shadow(2px 3px 1px rgba(30, 14, 0, .5)); }
.theme-lantern-quay .place { margin: 0 6px; box-shadow: inset -3px -4px 7px rgba(50, 26, 4, .42), inset 3px 3px 6px rgba(255, 255, 245, .75), 0 0 0 1px rgba(60, 34, 6, .45), 3px 5px 6px rgba(50, 24, 4, .4); }

.theme-lantern-quay .hubmap {
  border: 7px solid transparent; border-radius: 8px; overflow: hidden; position: relative;
  background: url("/static/img/hubs/archipelago.png") center / contain no-repeat padding-box, linear-gradient(180deg, #43467e, #a8608a 55%, #f6ab74) padding-box, var(--timber-shade) border-box, var(--keel-tex) border-box #6b4a2f;
  box-shadow: 0 0 0 2px #170d08, 5px 10px 14px rgba(48, 22, 4, .45);
}
.theme-lantern-quay .hubmap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 4px 6px 14px rgba(20, 6, 20, .5); pointer-events: none; }

/* ---------- The hero: a notice card beside an isle afloat in open sky ---------- */
.theme-lantern-quay .sign { column-gap: 30px; row-gap: 22px; padding: 0; border: 0; background: none; box-shadow: none; align-items: center; }
.theme-lantern-quay .sign .words {
  position: relative; padding: 34px 36px 32px; border: 15px solid transparent; border-radius: 14px;
  background: var(--paper-grain) padding-box, var(--paper) padding-box,
    radial-gradient(240px 160px at 94% 0, var(--spill), transparent 75%) border-box, var(--timber-shade) border-box, var(--keel-tex) repeat 0 0 / 384px 144px border-box #6b4a2f;
  background-blend-mode: multiply, normal, normal, normal, normal;
  box-shadow: inset 6px 8px 18px rgba(74, 40, 8, .42), inset -3px -3px 8px rgba(255, 250, 228, .75), 0 0 0 2px #170d08, var(--float);
}
.theme-lantern-quay .sign .words > * { position: relative; }
/* A lantern hung at the card's corner. */
.theme-lantern-quay .sign .words::after {
  content: ""; position: absolute; top: -4px; right: 30px; width: 30px; height: 40px; border-radius: 7px; border: 3px solid; border-color: #f0d572 #8c6d15 #6d530c #c9a227;
  background: linear-gradient(90deg, transparent 44%, rgba(150, 105, 15, .8) 44% 56%, transparent 56%), radial-gradient(70% 80% at 50% 50%, #fffdf2, #ffd979 55%, #e08d22);
  box-shadow: 0 -11px 0 -7px #8c6d15, 0 0 18px 7px rgba(255, 200, 96, .85), 0 0 70px 34px rgba(255, 150, 48, .4), 6px 10px 12px rgba(40, 16, 0, .45);
}
.theme-lantern-quay .sign h1 { color: #2b1c12; text-shadow: 0 1px 0 #fffaea, 3px 4px 0 rgba(201, 162, 39, .6), 6px 9px 10px rgba(80, 44, 6, .28); }
.theme-lantern-quay .sign-actions { gap: 16px; padding: 0; }
.theme-lantern-quay .sign .sign-art { position: relative; display: block; order: -1; align-self: center; justify-self: center; width: 100%; max-width: 620px; padding: 0 0 20px; border: 0; background: none; }
.theme-lantern-quay .sign .sign-art::before { content: ""; position: absolute; inset: -6% -4% 4%; background: radial-gradient(closest-side, var(--spill), transparent); }
.theme-lantern-quay .sign-art img { position: relative; z-index: 1; width: 100%; height: auto; max-height: 500px; object-fit: contain; image-rendering: auto; border: 0; filter: drop-shadow(0 8px 6px rgba(18, 6, 30, .35)) drop-shadow(0 42px 30px rgba(18, 6, 36, .5)); }
@media (min-width: 860px) {
  .theme-lantern-quay .sign.with-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto auto; }
  .theme-lantern-quay .sign.with-art .words { grid-column: 1; grid-row: 1; align-self: end; }
  .theme-lantern-quay .sign.with-art .sign-actions { grid-column: 1; grid-row: 2; align-self: start; }
  .theme-lantern-quay .sign.with-art .sign-art { grid-column: 2; grid-row: 1 / span 2; order: 0; }
}

.theme-lantern-quay .ip { background: linear-gradient(180deg, #fff8e6, #ead9b4); border: 2px solid #170d08; border-radius: 8px; box-shadow: inset 2px 3px 6px rgba(74, 40, 8, .35), 0 0 0 2px rgba(201, 162, 39, .7), var(--float); }
.theme-lantern-quay .ip .addr { color: var(--tar); }
.theme-lantern-quay .ip .copy { background: linear-gradient(180deg, #4b3a2e, #231913); color: var(--glow); }

/* Shop-sign buttons: a bevelled board, or lit brass for the main one. */
.theme-lantern-quay .sign .btn, .theme-lantern-quay .panel-actions .btn {
  min-height: 48px; padding-inline: 26px; border: 2px solid #170d08; border-radius: 9px; color: #fff3da; text-shadow: 0 2px 2px #1c0d02; image-rendering: pixelated;
  background: linear-gradient(rgba(28, 12, 2, .42), rgba(28, 12, 2, .42)), var(--timber-shade), var(--keel-tex) repeat 0 0 / 384px 144px #6b4a2f; box-shadow: var(--bevel), 0 0 0 1px rgba(201, 162, 39, .6), 0 4px 0 #1d1208, 5px 14px 18px -4px rgba(12, 5, 26, .6);
}
.theme-lantern-quay .sign .btn:hover, .theme-lantern-quay .panel-actions .btn:hover { color: var(--glow); box-shadow: var(--bevel), 0 0 0 2px var(--glow), 0 0 22px rgba(255, 200, 100, .75); }
.theme-lantern-quay .sign .btn.p, .theme-lantern-quay .panel-actions .btn.p {
  color: #2b1503; text-shadow: 0 1px 0 rgba(255, 250, 220, .85);
  background: linear-gradient(108deg, transparent 20%, rgba(255, 255, 244, .38) 34%, transparent 52%), linear-gradient(180deg, #fff0b8, #ffd477 45%, #e2a32e 85%, #f0bc4c);
  box-shadow: inset 0 1px 0 #fffbe4, inset 0 -3px 4px rgba(110, 64, 0, .55), 0 4px 0 #1d1208, 0 0 24px 5px rgba(255, 190, 84, .65), 5px 16px 20px -4px rgba(12, 5, 26, .55);
}
.theme-lantern-quay .panel-actions { padding-top: 6px; }

/* The coming-soon flag. */
.theme-lantern-quay .notice {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 6px max(var(--gutter), (100% - var(--page)) / 2) 0; padding: 12px 18px; text-align: center; color: #2b1c12;
  border: 2px solid #170d08; border-radius: 10px; background: var(--sail-tex) repeat, linear-gradient(180deg, #fbf2dc, #e6d2aa); background-blend-mode: multiply, normal;
  box-shadow: inset 0 0 0 3px rgba(201, 162, 39, .7), inset 3px 5px 10px rgba(90, 52, 10, .25), var(--float);
}
.theme-lantern-quay .notice p { margin: 0; }
.theme-lantern-quay .notice a { color: #6b2f07; font-weight: 600; }
.theme-lantern-quay .notice .badge { color: #fff3df; border-color: #170d08; background: linear-gradient(180deg, #b0402a, #7c1f10); box-shadow: inset 0 1px 0 rgba(255, 200, 180, .6), 3px 4px 6px rgba(50, 16, 4, .45); }

.theme-lantern-quay .foot { image-rendering: pixelated; border-top: 3px solid #170d08; background: linear-gradient(180deg, rgba(255, 196, 122, .08), rgba(10, 4, 12, .4)), var(--tar-tex) repeat 0 0 / 384px 144px #2b2420; box-shadow: inset 0 3px 0 rgba(255, 212, 150, .3), 0 -14px 30px rgba(10, 4, 20, .45); }

@media (max-width: 759.98px) {
  .theme-lantern-quay .hubbar { padding-top: 24px; }
  .theme-lantern-quay .hubname { width: auto; min-height: 60px; padding: 4px 38px; }
  .theme-lantern-quay .hubname::before, .theme-lantern-quay .hubname::after { height: 30px; }
  .theme-lantern-quay .hubnav { margin-top: 14px; }
  .theme-lantern-quay .hubnav ul { gap: 6px 14px; padding: 14px 0 18px; }
  .theme-lantern-quay .hubnav li { padding-top: 18px; }
  .theme-lantern-quay .hubnav li::before { height: 12px; }
  .theme-lantern-quay .hubnav a { min-width: 0; min-height: 46px; padding: 0 16px; }
  .theme-lantern-quay .hubnav li:has(> a[aria-current="page"])::after { width: 220px; height: 170px; }
  .theme-lantern-quay .sky .one { top: 900px; width: 120px; left: -8%; }
  .theme-lantern-quay .sky .three { width: 140px; right: -12%; }
}
@media (max-width: 559.98px) {
  .theme-lantern-quay .panel { padding: 8px; }
  .theme-lantern-quay .panel-head { padding: 2px 0 10px; min-height: 50px; }
  .theme-lantern-quay .panel-head :is(h1, h2) { padding: 9px 25px; font-size: .88rem; }
  .theme-lantern-quay .panel-head :is(h1, h2) { background-position: -3px 0, 3px 0, 0 0, 0 0; }
  .theme-lantern-quay .panel-head a { padding: 0 10px; }
  .theme-lantern-quay .panel-body { padding: 18px 15px 20px; }
  .theme-lantern-quay .panel-body::before { inset: 3px; }
  .theme-lantern-quay .panel-body::after { inset: 0; }
  .theme-lantern-quay .sign .words { border-width: 9px; padding: 22px 18px; }
  .theme-lantern-quay .sign .words::after { right: 16px; width: 24px; height: 32px; }
  .theme-lantern-quay .sign .kicker { padding-right: 38px; }
  .theme-lantern-quay .sign-actions > * { flex: 1 1 100%; }
}

/* ---------- Motion: the sky drifts, and slides at its own pace as the page scrolls ---------- */
@media (prefers-reduced-motion: no-preference) {
  .theme-lantern-quay .hubnav a[aria-current="page"] { animation: quay-flicker 4.2s ease-in-out infinite; }
  .theme-lantern-quay .sign-art img { animation: quay-bob 9s ease-in-out infinite; }
  .theme-lantern-quay .sky .far { animation: quay-drift 150s linear infinite alternate; }
  .theme-lantern-quay .sky .near { animation: quay-drift 100s linear infinite alternate-reverse; }
  @supports (animation-timeline: scroll()) {
    .theme-lantern-quay .sky .far, .theme-lantern-quay .sky .two, .theme-lantern-quay .sky .four { animation: quay-parallax linear both; animation-timeline: scroll(root); --fall: 40%; --sink: 320px; }
    .theme-lantern-quay .sky .mid, .theme-lantern-quay .sky .one { animation: quay-parallax linear both; animation-timeline: scroll(root); --sink: 190px; }
    .theme-lantern-quay .sky .near, .theme-lantern-quay .sky .three { animation: quay-parallax linear both; animation-timeline: scroll(root); --sink: 80px; }
  }
  @keyframes quay-flicker { 0%, 100% { filter: brightness(1); } 47% { filter: brightness(1.07); } 62% { filter: brightness(.97); } }
  @keyframes quay-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes quay-drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
  @keyframes quay-parallax { to { translate: 0 var(--sink); } }
}
