/* Bjarne Brun link-in-bio (bjarnebrun.com). Yacht-night backdrop, neon-glow avatar, neon-outline buttons.
   Phone first; two-column glass card from 1000px. No build step. */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0e0a26;
  --night-2: #1a1145;
  --glass: rgba(16, 11, 44, 0.66);
  --glass-hi: rgba(28, 19, 70, 0.78);
  --pink: #ff3da8;
  --cyan: #28e6ff;
  --gold: #f5c451;
  --white: #ffffff;
  --text: #f3f1ff;
  --dim: #d4d0f2;
  --radius: 18px;
  --col: 34rem;
  --display: "Anton", Impact, "Arial Narrow Bold", "Helvetica Neue", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--night);
  color: var(--text);
  font: 400 1rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--gold); color: #1a1000; padding: .6rem 1rem; border-radius: 10px;
  font-weight: 700; z-index: 50; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* ---------- backdrop ---------- */
.scene { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.scene picture, .scene img {
  position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none;
  object-fit: cover; object-position: 50% 30%;
}
.scene img { /* drift removed 2026-10-13: moving background under backdrop-filter glass caused jank */ }
@keyframes drift {
  from { transform: scale(1.04) translate3d(-1.2%, 0, 0); }
  to   { transform: scale(1.1) translate3d(1.2%, -1.5%, 0); }
}
.shade {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 10, 38, .30) 0%, rgba(14, 10, 38, .52) 18%, rgba(14, 10, 38, .84) 40%, rgba(14, 10, 38, .95) 68%, var(--night) 100%);
}
/* neon deck strips, like the yacht's light lines */
.strips { position: fixed; left: 0; right: 0; top: 0; height: 40px; z-index: -1; pointer-events: none; }
.strips::before, .strips::after {
  content: ""; position: absolute; left: -5%; right: -5%; height: 2px; border-radius: 2px;
}
.strips::before { top: 14px; background: var(--pink); box-shadow: 0 0 8px var(--pink), 0 0 22px rgba(255, 61, 168, .7); animation: flicker 9s linear infinite; }
.strips::after  { top: 24px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan), 0 0 22px rgba(40, 230, 255, .6); opacity: .8; }

/* old fixed skyline replaced 2026-10-13 by the in-flow living mini town (see "mini town" section) */

/* ---------- layout ---------- */
.wrap {
  width: min(100% - 2.25rem, var(--col));
  margin-inline: auto;
  padding: clamp(1.25rem, 3.2vh, 3rem) 0 1.5rem;
}

.share {
  position: fixed; top: 40px; right: 12px; z-index: 5;
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: 0 .9rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(14, 10, 38, .6);
  color: var(--white); font: 600 .875rem/1 var(--body); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.share svg { width: 18px; height: 18px; }
.share:hover { border-color: var(--cyan); }

/* ---------- hero ---------- */
.hero { text-align: center; }
/* one rounded square: 3px pink -> gold -> cyan rim + soft neon glow behind it (no ring inside a ring) */
.card {
  position: relative; isolation: isolate;
  width: clamp(148px, 40vw, 164px);
  aspect-ratio: 1;
  margin: 0 auto .95rem;
  padding: 3px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--gold) 50%, var(--cyan) 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  animation: float 7s cubic-bezier(.45, 0, .55, 1) infinite;
  will-change: transform; backface-visibility: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: inherit; filter: blur(18px); opacity: .6;
  animation: glow 7s ease-in-out infinite;
  will-change: opacity; transform: translateZ(0);
}
.card picture, .card img { width: 100%; height: 100%; border-radius: 27px; object-fit: cover; background: var(--night-2); }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0.001deg); } 50% { transform: translate3d(0, -10px, 0) rotate(0.001deg); } }
@keyframes glow { 0%, 100% { opacity: .5; } 50% { opacity: .8; } }

.name {
  margin: 0;
  font: 400 clamp(2.7rem, 12.5vw, 4.2rem)/.95 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 4px rgba(255, 61, 168, .95), 0 0 16px rgba(255, 61, 168, .75), 0 0 38px rgba(255, 61, 168, .45);
  animation: flicker 11s linear infinite;
}
@keyframes flicker {
  0%, 62%, 64.5%, 66%, 100% { opacity: 1; }
  63% { opacity: .55; }
  65.2% { opacity: .78; }
}
.handle, .tagline { text-shadow: 0 0 12px rgba(14, 10, 38, .95), 0 1px 2px rgba(0, 0, 0, .85); }
.handle { margin: .45rem 0 0; font: 600 1rem/1.2 var(--body); letter-spacing: .04em; color: var(--cyan); }
.tagline { margin: .55rem 0 0; font: 700 clamp(1.1rem, 4.6vw, 1.3rem)/1.3 var(--body); color: var(--gold); }
.games {
  list-style: none; margin: .75rem auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem;
  max-width: 34rem;
}
.games li {
  padding: .14rem .55rem; border-radius: 8px;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em; color: var(--text);
  background: rgba(14, 10, 38, .72); border: 1px solid rgba(245, 196, 81, .42);
}

/* ---------- link buttons ---------- */
.links { list-style: none; margin: 1.15rem 0 0; padding: 0; display: grid; gap: .7rem; }
.btn {
  --a: var(--pink);
  --a-glow: rgba(255, 61, 168, .38);
  position: relative;
  display: flex; align-items: center; gap: .9rem;
  min-height: 68px; padding: .65rem 1rem .65rem .7rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--a);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 0 14px var(--a-glow), inset 0 0 14px rgba(255, 255, 255, .03);
  text-decoration: none; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn[data-accent="cyan"] { --a: var(--cyan); --a-glow: rgba(40, 230, 255, .34); }
.btn[data-accent="gold"] { --a: var(--gold); --a-glow: rgba(245, 196, 81, .34); }
.btn:hover, .btn:focus-visible { background: var(--glass-hi); box-shadow: 0 0 22px var(--a-glow), 0 0 4px var(--a); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn .ico {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--a);
}
.btn .ico svg { width: 24px; height: 24px; fill: currentColor; }
.btn .txt { flex: 1; min-width: 0; text-align: left; }
.btn .lbl { display: block; font: 700 1.1rem/1.2 var(--body); color: var(--white); }
.btn .sub { display: block; font-size: .875rem; line-height: 1.3; color: var(--dim); margin-top: .12rem; }
.btn .go { flex: none; width: 20px; height: 20px; color: var(--a); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.sec { margin-top: 1.3rem; }
.sec-h { display: flex; align-items: center; gap: .7rem; margin: 0 0 .65rem; }
.sec-h h2 { margin: 0; font: 400 1.45rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.sec-h::after { content: ""; order: 1; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), transparent); box-shadow: 0 0 10px rgba(40, 230, 255, .5); }
.pill {
  order: 2; flex: none;
  font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1;
  color: var(--gold); padding: .42rem .68rem; border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, .55); background: rgba(14, 10, 38, .85);
}

.clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.clip a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text);
  border-radius: 14px; overflow: hidden; background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .18s ease, transform .18s ease;
}
.clip a:hover, .clip a:focus-visible { border-color: var(--pink); transform: translateY(-2px); }
/* phone: square crop instead of 9:16 so two cards stay compact (~230px tall incl. title) */
.clip .th { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; object-position: 50% 35%; background: var(--night-2); }
.clip .meta { display: block; padding: .5rem .65rem .65rem; }
.clip .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: .9375rem; line-height: 1.25; color: var(--white); overflow-wrap: anywhere; }
.clip .g { display: block; font-size: .875rem; color: var(--dim); margin-top: .2rem; }
/* clip without a thumbnail collapses to a neat text card, no empty box */
.clip.no-th { align-self: start; }
.clip.no-th a { justify-content: center; border-left: 3px solid var(--cyan); }
.clip.no-th .meta { padding: .8rem .8rem .85rem; }

.empty {
  padding: .85rem 1rem 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--glass), var(--glass)) padding-box,
    linear-gradient(120deg, rgba(245, 196, 81, .8), rgba(255, 61, 168, .5), rgba(40, 230, 255, .6)) border-box;
  border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.reel { display: flex; justify-content: center; gap: 8px; margin: 0 0 .7rem; }
.reel span {
  width: 24px; height: 34px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(180deg, rgba(255, 61, 168, .3), rgba(40, 230, 255, .22));
  opacity: .4; animation: reel 2.4s ease-in-out infinite;
}
.reel span:nth-child(2) { animation-delay: .3s; }
.reel span:nth-child(3) { animation-delay: .6s; }
.reel span:nth-child(4) { animation-delay: .9s; }
.reel span:nth-child(5) { animation-delay: 1.2s; }
@keyframes reel { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: .85; transform: translateY(-3px); } }
.empty-body { display: flex; gap: .85rem; align-items: flex-start; }
.empty .anchor { flex: none; width: 38px; height: 38px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(245, 196, 81, .5)); }
.empty h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--white); }
.empty p { margin: .25rem 0 0; font-size: .9375rem; line-height: 1.45; color: var(--dim); }
.btn-sm {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; margin-top: .75rem; padding: 0 1.1rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  color: #071018; background: var(--cyan);
  box-shadow: 0 0 18px rgba(40, 230, 255, .35);
  transition: box-shadow .18s ease, transform .18s ease;
}
.btn-sm:hover, .btn-sm:focus-visible { box-shadow: 0 8px 30px -6px var(--cyan); transform: translateY(-1px); }
.btn-sm svg { width: 18px; height: 18px; fill: currentColor; }

.contact {
  display: flex; align-items: center; gap: .75rem;
  min-height: 64px; padding: .55rem .55rem .55rem 1rem; border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, rgba(245, 196, 81, .14), rgba(245, 196, 81, .04)), var(--glass);
  box-shadow: 0 0 16px rgba(245, 196, 81, .22);
}
.mail-ico { flex: none; width: 22px; height: 22px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.ct { flex: 1; min-width: 0; }
.ck { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); line-height: 1.2; }
.ct a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; font-size: clamp(.875rem, 4vw, 1rem); color: var(--white); text-decoration: none; white-space: nowrap; }
@media (max-width: 379px) { .mail-ico { display: none; } .contact { padding-left: .85rem; } }
.ct a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.copy {
  flex: none; min-height: 46px; min-width: 64px; padding: 0 1rem; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: var(--white);
  font: 700 .9375rem/1 var(--body); cursor: pointer;
}
.copy:hover { border-color: var(--gold); color: var(--gold); }
.contact-note { margin: .55rem 0 0; font-size: .875rem; color: var(--dim); }

.foot {
  margin-top: 1.4rem; padding: .9rem 0 .3rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center; font-size: .875rem; color: var(--dim);
}
.foot p { margin: .2rem 0; }
.foot strong { color: var(--white); font-weight: 600; }

/* phone: the "Business email" label already names this block, so the big heading is screen-reader only to keep
   links, clips and email inside one 932px screen; it is shown again on wider screens */
@media (max-width: 719px) {
  .sec-h-contact { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }
  .sec-contact { margin-top: 1rem; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 2rem 1.2rem 9rem; }
.lost .code { font: 400 clamp(5rem, 30vw, 9rem)/1 var(--display); color: var(--white); text-shadow: 0 0 6px var(--cyan), 0 0 26px rgba(40, 230, 255, .6); margin: 0; animation: flicker 7s linear infinite; }
.lost h1 { font: 400 clamp(1.8rem, 8vw, 2.6rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: .6rem 0 0; color: var(--pink); text-shadow: 0 0 14px rgba(14, 10, 38, .9); }
.lost p { text-shadow: 0 0 12px rgba(14, 10, 38, .95); color: var(--dim); max-width: 24rem; margin: .8rem auto 1.6rem; font-size: 1.05rem; }
.lost .btn { display: inline-flex; width: auto; min-height: 56px; padding: .6rem 1.4rem; }

/* ---------- privacy page ---------- */
.legal { position: relative; z-index: 1; padding-bottom: 3rem; }
.legal-panel {
  padding: 1.4rem 1.2rem 1rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 14, 54, .82), rgba(14, 10, 38, .76));
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.legal-hero .handle a { text-decoration: none; }
.legal-hero .handle a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-hero .name { margin-top: .5rem; }
.legal-date { margin: .5rem 0 0; font-size: .875rem; color: var(--dim); }
.legal p { margin: 0 0 .6rem; color: var(--text); }
.legal .sec p a, .foot a { color: var(--cyan); text-underline-offset: 3px; }
.legal .sec p a:hover, .foot a:hover { color: var(--gold); }
.legal .foot { text-align: center; }
@media (min-width: 1000px) {
  .legal.wrap { --col: 44rem; display: block; min-height: 0; padding-top: 4rem; }
  .legal-panel { padding: 2.4rem 2.8rem 1.6rem; border-radius: 34px; }
}
.lost .foot { border-top: 0; margin-top: 1.2rem; }

/* ---------- larger screens ---------- */
@media (min-width: 560px) {
  .clip .th { aspect-ratio: 3 / 4; }
}
@media (min-width: 720px) {
  .wrap { padding-top: 3.5rem; }
  .clips { grid-template-columns: repeat(3, 1fr); }
  .share { top: 46px; right: 22px; }
}
/* desktop: two-column glass card (identity left, links / clips / contact right) */
@media (min-width: 1000px) {
  :root { --col: 66rem; }
  .wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 3rem 0 4rem; }
  .panel {
    width: 100%;
    display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); column-gap: 3.5rem; align-items: center;
    padding: 2.8rem 3.2rem 2.2rem; border-radius: 34px;
    background: linear-gradient(180deg, rgba(20, 14, 54, .76), rgba(14, 10, 38, .68));
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  }
  .card { width: 100%; max-width: 320px; border-radius: 36px; margin-bottom: 1.5rem; }
  .card picture, .card img { border-radius: 33px; }
  .links { margin-top: 0; }
  .sec { margin-top: 1.7rem; }
  .foot { text-align: left; margin-top: 1.6rem; }
  .shade {
    background:
      radial-gradient(ellipse at 50% 45%, rgba(14, 10, 38, .55) 0%, rgba(14, 10, 38, .4) 60%, rgba(14, 10, 38, .25) 100%),
      linear-gradient(180deg, rgba(14, 10, 38, 0) 55%, rgba(14, 10, 38, .85) 100%);
  }
}
@media (min-width: 1000px) and (max-height: 760px) {
  .wrap { place-items: start center; }
}

/*town-css:start*/
/* ---------- mini town (in-flow strip at the bottom of the page) ----------
   Art + markup: scripts/town_build.py. This block: site/_build/town.css -> _build/town_css.py.
   Stage = 2400 x 300 units, scaled with --s. Only transform/opacity animate; the town sits below <main>,
   so nothing animated is ever under backdrop-filter glass. */
.town {
  --s: .8; --ox: 0px;
  position: relative; height: calc(360px * var(--s)); overflow: hidden;
  contain: layout paint style; pointer-events: none; -webkit-user-select: none; user-select: none;
  background: linear-gradient(180deg, rgba(11, 8, 32, 0) 0%, rgba(11, 8, 32, .6) 14%, rgba(11, 8, 32, .88) 30%, rgba(11, 8, 32, .94) 62%, #0b0820 100%);
}
.town-stage {
  position: absolute; left: 50%; bottom: 0; width: 2400px; height: 300px; margin-left: -1200px;
  transform-origin: 50% 100%; transform: translateX(var(--ox)) scale(var(--s));
}
.town-stage > img, .t-beams, .t-peds, .t-wins, .t-signs, .t-palms { position: absolute; left: 0; top: 0; width: 2400px; height: 300px; max-width: none; }
.t-far { opacity: .62; }
.t-signs > *, .t-wins > *, .t-peds > *, .t-palms > *, .t-beams > * { position: absolute; display: block; }

/* searchlights from the casino crown */
.beam {
  top: -116px; width: 46px; height: 130px; margin-left: -23px;
  background: linear-gradient(0deg, rgba(255, 244, 207, .34) 0%, rgba(25, 227, 255, .12) 55%, rgba(25, 227, 255, 0) 100%);
  clip-path: polygon(44% 100%, 56% 100%, 100% 0, 0 0);
  transform-origin: 50% 100%; will-change: transform;
  animation: sweep 12s ease-in-out infinite alternate;
}
.beam1 { left: 1172px; transform: rotate(-26deg); }
.beam2 { left: 1228px; transform: rotate(18deg); animation-duration: 15s; animation-delay: -7s; }
@keyframes sweep { from { transform: rotate(-30deg); } to { transform: rotate(30deg); } }

/* tiny pedestrians behind the street row (seen through the plazas) */
.ped { top: 197px; left: 0; will-change: transform; animation: ped-r 90s linear infinite; }
.ped img { animation: bob .5s steps(2) infinite; }
.ped1 { animation-delay: -20s; }
.ped2 { animation-name: ped-l; animation-duration: 120s; animation-delay: -64s; }
.ped2 img { transform: scaleX(-1); animation-name: bob-l; }
.ped3 { animation-duration: 140s; animation-delay: -95s; opacity: .8; }
@keyframes ped-r { from { transform: translate3d(-40px, 0, 0); } to { transform: translate3d(2440px, 0, 0); } }
@keyframes ped-l { from { transform: translate3d(2440px, 0, 0); } to { transform: translate3d(-40px, 0, 0); } }
@keyframes bob { 50% { transform: translateY(-1.5px); } }
@keyframes bob-l { from { transform: scaleX(-1); } 50% { transform: scaleX(-1) translateY(-1.5px); } }

/* window lights switching on and off slowly */
.tw { background: linear-gradient(180deg, #ffd27a, #f59a3c); opacity: 0; will-change: opacity; animation: tw 24s infinite; }
@keyframes tw { 0%, 46% { opacity: 0; animation-timing-function: steps(1, end); } 47%, 82% { opacity: .92; animation-timing-function: steps(1, end); } 83%, 100% { opacity: 0; } }

/* GAMBA casino sign (DOM text = exact spelling) */
.gamba {
  position: absolute; left: 1088px; top: 66px; width: 224px; height: 64px;
  pointer-events: auto; color: #fff; text-decoration: none; cursor: default;
}
a.gamba { cursor: pointer; }
a.gamba:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 8px; }
.gamba > * { position: absolute; display: block; }
.g-glow {
  inset: -18px -26px; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(255, 45, 149, .5), rgba(255, 45, 149, 0));
  will-change: opacity; animation: glow 4.5s ease-in-out infinite;
}
.gb {
  inset: 0;
  background-image: radial-gradient(circle, #fff3c4 0 1.9px, rgba(245, 197, 66, .75) 2.6px, rgba(245, 197, 66, 0) 4px),
                    radial-gradient(circle, #fff3c4 0 1.9px, rgba(245, 197, 66, .75) 2.6px, rgba(245, 197, 66, 0) 4px);
  background-size: 30px 10px; background-repeat: repeat-x; background-position: 2px 0, 2px 54px;
  will-change: opacity;
}
.gb0 { background-size: 10px 10px; opacity: .28; }
.gb1 { animation: chase 1.2s infinite; }
.gb2 { background-position: 12px 0, 12px 54px; animation: chase 1.2s -.8s infinite; }
.gb3 { background-position: 22px 0, 22px 54px; animation: chase 1.2s -.4s infinite; }
@keyframes chase { 0%, 33% { opacity: 1; animation-timing-function: steps(1, end); } 34%, 100% { opacity: .05; } }
.g-word {
  left: 0; right: 0; top: 7px; text-align: center; white-space: nowrap;
  font: 400 46px/50px var(--display); letter-spacing: .09em; padding-left: .09em;
  color: #fff4fb;
  text-shadow: 0 0 2px #fff, 0 0 7px #ff2d95, 0 0 16px #ff2d95, 0 0 30px rgba(255, 45, 149, .85);
}
.g-word b { font-weight: 400; display: inline-block; will-change: opacity; }
.g-word b:nth-child(4) { animation: neon 8s linear infinite; }
.g-word b:nth-child(2) { animation: neon 13s linear -5s infinite; }
@keyframes neon {
  0%, 70%, 73%, 75%, 100% { opacity: 1; }
  71% { opacity: .25; } 72% { opacity: .85; } 74% { opacity: .3; }
}
.g-sub {
  left: 0; right: 0; top: 71px; text-align: center;
  font: 800 10px/14px var(--body); letter-spacing: .5em; padding-left: .5em; color: #c9f8ff;
  text-shadow: 0 0 6px #19e3ff, 0 0 12px rgba(25, 227, 255, .8);
}
/* sidewalk easel next to the red carpet: "SOON" until data/links.json casino_enabled is true */
.g-soon {
  left: 186px; top: 150px; width: 40px; height: 26px;
  font: 400 13px/22px var(--display); letter-spacing: .08em; text-align: center; color: var(--gold);
  background: #120a2e; border: 1.5px solid var(--gold); border-radius: 4px;
  box-shadow: 0 0 10px rgba(245, 197, 66, .45);
}
.g-soon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 8px; margin-left: -1px; background: var(--gold); }
.gamba.open .g-soon { color: #fff; border-color: var(--pink); box-shadow: 0 0 12px rgba(255, 45, 149, .6); text-shadow: 0 0 6px var(--pink); }

/* other neon signs */
.sg { font: 400 24px/1 var(--display); letter-spacing: .08em; white-space: nowrap; }
.sg b { font-weight: 400; display: inline-block; }
.sg-bar {
  left: 984px; top: 96px; width: 62px; text-align: center; font-size: 30px; color: #e9fdff;
  text-shadow: 0 0 2px #fff, 0 0 7px #19e3ff, 0 0 16px #19e3ff, 0 0 28px rgba(25, 227, 255, .7);
  will-change: opacity; animation: neon 10s linear -3s infinite;
}
.sg-hotel {
  left: 853px; top: 62px; width: 24px; padding: 5px 0; text-align: center;
  font-size: 18px; line-height: 19px; color: #fff0f8; white-space: normal;
  background: #130b30; border: 1.5px solid var(--pink); border-radius: 6px;
  text-shadow: 0 0 6px #ff2d95, 0 0 14px rgba(255, 45, 149, .8);
}
.sg-hotel b { display: block; }
.sg-brun { left: 735px; top: 29px; width: 103px; text-align: center; font-size: 14px; letter-spacing: .32em; padding-left: .32em; color: #ffe9a8; text-shadow: 0 0 6px rgba(245, 197, 66, .9); }
.sg-game { left: 1386px; top: 126px; width: 136px; text-align: center; font-size: 27px; }
.sg-game b:first-child { color: #fff0f8; text-shadow: 0 0 2px #fff, 0 0 7px #ff2d95, 0 0 16px #ff2d95; }
.sg-game b:last-child { margin-left: .22em; color: #e9fdff; text-shadow: 0 0 2px #fff, 0 0 7px #19e3ff, 0 0 16px #19e3ff; will-change: opacity; animation: neon 6s linear -2s infinite; }
.invader { left: 1443px; top: 158px; width: 22px; height: 16px; }
.invader::before, .invader::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8' shape-rendering='crispEdges'%3E%3Cpath fill='%2319e3ff' d='M2 0h1v1h-1zM8 0h1v1h-1zM3 1h1v1h-1zM7 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM4 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM7 2h1v1h-1zM8 2h1v1h-1zM1 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM8 3h1v1h-1zM9 3h1v1h-1zM0 4h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM4 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM8 4h1v1h-1zM9 4h1v1h-1zM10 4h1v1h-1zM0 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM7 5h1v1h-1zM8 5h1v1h-1zM10 5h1v1h-1zM0 6h1v1h-1zM2 6h1v1h-1zM8 6h1v1h-1zM10 6h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1z'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 4px #19e3ff); will-change: opacity; animation: inv 1.1s infinite; }
.invader::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8' shape-rendering='crispEdges'%3E%3Cpath fill='%2319e3ff' d='M2 0h1v1h-1zM8 0h1v1h-1zM0 1h1v1h-1zM3 1h1v1h-1zM7 1h1v1h-1zM10 1h1v1h-1zM0 2h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM4 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM7 2h1v1h-1zM8 2h1v1h-1zM10 2h1v1h-1zM0 3h1v1h-1zM1 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM8 3h1v1h-1zM9 3h1v1h-1zM10 3h1v1h-1zM0 4h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM4 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM8 4h1v1h-1zM9 4h1v1h-1zM10 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM7 5h1v1h-1zM8 5h1v1h-1zM9 5h1v1h-1zM2 6h1v1h-1zM8 6h1v1h-1zM1 7h1v1h-1zM9 7h1v1h-1z'/%3E%3C/svg%3E"); animation-delay: -.55s; }
@keyframes inv { 0%, 49% { opacity: 1; animation-timing-function: steps(1, end); } 50%, 100% { opacity: 0; } }
.sg-gold { left: 1586px; top: 100px; width: 80px; text-align: center; font-size: 25px; color: #fff3c4; text-shadow: 0 0 2px #fff, 0 0 8px var(--gold), 0 0 18px rgba(245, 197, 66, .8); }
.spire { left: 1197px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 6px 2px rgba(255, 77, 109, .8); will-change: opacity; animation: blink 2.6s infinite; }
@keyframes blink { 0%, 60% { opacity: 1; animation-timing-function: steps(1, end); } 61%, 100% { opacity: .15; } }
.screen { top: 201px; width: 12px; height: 10px; background: #fff; opacity: 0; will-change: opacity; animation: scr 3.3s infinite; }
.s1 { left: 1396px; } .s2 { left: 1440px; animation-duration: 4.1s; animation-delay: -1.3s; } .s3 { left: 1484px; animation-duration: 2.7s; animation-delay: -2s; }
@keyframes scr { 0%, 100% { opacity: 0; } 20% { opacity: .55; } 24% { opacity: .1; } 60% { opacity: .4; } 64% { opacity: 0; } }

/* palms sway on their trunk base */
.palm { top: 50px; width: 120px; height: 190px; transform-origin: 50% 100%; will-change: transform; animation: sway 7s ease-in-out infinite alternate; }
.palm2 { animation-duration: 8.5s; animation-delay: -3s; }
.palm3 { animation-duration: 6.4s; animation-delay: -5s; }
@keyframes sway { from { transform: rotate(-1.3deg); } to { transform: rotate(1.6deg); } }

/* Bjarne: the strip of 10 frames slides inside a 48x94 window (transform-only sprite animation) */
.bj { position: absolute; left: 0; top: 162px; width: 48px; height: 94px; transform: translate3d(1234px, 0, 0); will-change: transform; }
.bj-face, .bj-win { position: absolute; inset: 0; }
.bj-win { overflow: hidden; }
.bj.left .bj-face { transform: scaleX(-1); }
.bj-strip {
  width: 480px; height: 94px;
  background: url("../img/town/bjarne_walk.png") 0 0 / 480px 94px no-repeat;
  background-image: image-set(url("../img/town/bjarne_walk.png") 1x, url("../img/town/bjarne_walk@2x.png") 2x);
  transform: translate3d(-432px, 0, 0); will-change: transform;
}
.bj.walk .bj-strip { animation: bj-walk .9s steps(8) infinite; }
.bj.idle-a .bj-strip { transform: translate3d(-384px, 0, 0); }
.bj.idle-b .bj-strip { transform: translate3d(-432px, 0, 0); }
@keyframes bj-walk { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-384px, 0, 0); } }
.bj-shadow { position: absolute; left: 5px; bottom: -2px; width: 38px; height: 8px; border-radius: 50%; background: radial-gradient(closest-side, rgba(5, 3, 18, .7), rgba(5, 3, 18, 0)); }

/* passing car / scooter (moved by js/town.js with the Web Animations API, transform only) */
.ride { position: absolute; left: 0; top: 262px; transform: translate3d(-300px, 0, 0); will-change: transform; }
.ride img { max-width: none; }
.ride.left img { transform: scaleX(-1); }
.ride.scooter { top: 254px; }

.town.off *, .town.off *::before, .town.off *::after { animation-play-state: paused !important; }

.lost { min-height: calc(100vh - 150px); min-height: calc(100dvh - 150px); padding-bottom: 1.5rem; }
@media (min-width: 560px) { .town { --s: .92; --ox: 0px; } }
/* short landscape screens: the fixed Share button could sit over the animated town, so drop its blur there */
@media (max-height: 520px) { .share { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 10, 38, .92); } }
@media (min-width: 1000px) {
  .town { --s: 1.02; }
  .wrap { min-height: calc(100vh - 367px); min-height: calc(100dvh - 367px); padding-bottom: 1.5rem; } /* critic: whole town (360px * --s) above the fold when it fits */
}
@media (min-width: 1700px) { .town { --s: 1.22; } .wrap { min-height: calc(100vh - 440px); min-height: calc(100dvh - 440px); } }
@media (prefers-reduced-motion: reduce) {
  .ped, .ride { display: none; }
  .tw:nth-child(3n) { opacity: .92; }
}
/*town-css:end*/

/* ---------- motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .btn:focus-visible, .clip a:hover, .btn-sm:hover { transform: none; }
}
@media (prefers-contrast: more) {
  .btn, .empty, .contact, .clip a { background: #0b0820; }
  .btn .sub, .games li, .foot, .empty p, .contact-note, .clip .g { color: #ecebff; }
}
@media (forced-colors: active) {
  .btn, .contact, .copy, .share, .btn-sm, .empty, .clip a { border: 2px solid CanvasText; }
}

/* top neon strips removed 2026-10-13 (user request) */
.strips { display: none !important; }
