/* "🎪 רחבת הערב" — the page /evening and the hall (evening.js, hall3d.js) */
.ev-hero {
  position: relative; overflow: hidden; border-radius: 4px; padding: 26px 18px 22px; margin: 6px 0 22px;
  background: radial-gradient(120% 90% at 50% 0%, #4a1030 0%, #1d0714 70%); color: #fff7ec; text-align: center;
}
.ev-lights { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,214,140,.9) 0 2px, transparent 3px);
  background-size: 34px 34px; background-position: 0 6px; opacity: .25; mask-image: linear-gradient(#000, transparent 40%); }
.ev-h1 { font-family: 'Secular One', Rubik, sans-serif; font-size: clamp(30px, 6vw, 48px); margin: 0 0 6px; color: #ffe3a3; position: relative; }
.ev-sub { margin: 0 0 12px; position: relative; color: #fff7ec; }
.ev-days { list-style: none; padding: 0; margin: 0 auto 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; position: relative; }
.ev-days li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,227,163,.35); border-radius: 4px; padding: 6px 10px; display: flex; gap: 6px; align-items: center; }
.ev-tonight { position: relative; background: rgba(0,0,0,.28); border: 1px solid rgba(255,227,163,.3); border-radius: 4px; padding: 14px; max-width: 560px; margin: 0 auto; }
.ev-tonight .hint { color: #f3dccb; }
.ev-tonight a { color: #ffe3a3; }
.ev-pill { display: inline-block; margin: 0 0 6px; padding: 4px 10px; border-radius: 4px; background: rgba(255,255,255,.14); font-weight: 600; }
.ev-pill.live { background: #c62828; color: #fff; }
.ev-title { font-size: 22px; font-weight: 700; margin: 4px 0; color: #fff; }
.ev-topic { margin: 0 0 6px; color: #f3dccb; }
.ev-clock { font-family: 'Secular One', Rubik, sans-serif; font-size: clamp(34px, 9vw, 54px); margin: 0; color: #ffe3a3; letter-spacing: 1px; direction: ltr; }
.ev-count { margin: 6px 0; color: #fff; }
.ev-enter { font-size: 20px; padding: 14px 26px; margin: 8px 0; background: linear-gradient(#e0b450, #b88a2a); color: #2a0610; border: 0; font-weight: 800; }
.ev-enter:hover { filter: brightness(1.08); }
.ev-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 18px; }
.ev-day { display: flex; gap: 12px; align-items: center; padding: 12px; }
.ev-dic { font-size: 32px; }
.ev-din { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ev-din .hint { overflow-wrap: anywhere; }
.ev-remind, .ev-rules { margin-bottom: 16px; }
.ev-rules ul { margin: 8px 0 0; padding-inline-start: 20px; }
.ev-rules li { margin-bottom: 6px; }

/* ---- the hall (full screen) --------------------------------------------------- */
html.hall-open, html.hall-open body { overflow: hidden; }
.hall { position: fixed; inset: 0; z-index: 9000; background: #0b0307; color: #fff; display: flex; flex-direction: column; }
.hall:focus { outline: none; }
.hl-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.2)); z-index: 3; }
.hl-title { flex: 1; margin: 0; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-count { background: rgba(255,255,255,.14); border-radius: 4px; padding: 4px 10px; font-weight: 600; white-space: nowrap; }
.hl-x { width: 44px; height: 44px; border: 0; border-radius: 4px; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.hl-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.hall-canvas { position: absolute; inset: 0; display: block; }
.hl-screen { position: absolute; z-index: 2; }   /* no background: the 3D screen behind it is black already */
.hall.flat .hl-screen { left: 50%; top: 12px; transform: translateX(-50%); width: min(96%, calc((100% - 24px) * 16 / 9)); aspect-ratio: 16 / 9; max-height: calc(100% - 24px); }
.hall.big .hl-screen { position: fixed; inset: 0; width: auto; height: auto; transform: none; z-index: 9001; }
.hall.big .hl-top, .hall.big .hl-bottom, .hall.big .hl-chat { position: relative; z-index: 9002; }
.hall.big .hl-top { position: fixed; top: 0; left: 0; right: 0; opacity: .0; transition: opacity .3s; }
.hall.big .hl-top:hover, .hall.big .hl-top:focus-within { opacity: 1; }
.hall.big .hl-bottom { position: fixed; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: .35; transition: opacity .3s; }
.hall.big .hl-bottom:hover, .hall.big .hl-bottom:focus-within { opacity: 1; }
.hl-yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-file { object-fit: contain; background: #000; }
.hl-block { position: absolute; inset: 0; }   /* no pausing / seeking: everyone sees the same moment */
.hl-tap { position: absolute; inset: auto 50% 50% auto; transform: translate(50%, 50%); padding: 14px 22px; font-size: 18px; font-weight: 700; border: 0; border-radius: 4px; background: #e0b450; color: #2a0610; cursor: pointer; z-index: 2; }
.hl-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 12px; background: radial-gradient(#2a0a18, #000); }
.hl-end p { margin: 0; font-size: clamp(15px, 2.4vw, 22px); }
.hl-err { position: absolute; bottom: 8px; left: 8px; right: 8px; margin: 0; background: rgba(0,0,0,.75); padding: 6px; border-radius: 4px; text-align: center; }
.hl-layer { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hl-tag { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; background: #fff6e0; color: #2a0610; border-radius: 4px; padding: 2px 7px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.4); display: flex; gap: 4px; align-items: center; }
.hl-dot { width: 7px; height: 7px; border-radius: 50%; background: #2e9d4f; display: inline-block; }
.hl-float { position: absolute; font-size: 30px; transform: translate(-50%, -50%); animation: hlUp 2.6s ease-out forwards; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hl-float.mine { font-size: 36px; }
@keyframes hlUp { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), -260%) scale(1); } }
.hl-bub { position: absolute; transform: translate(-50%, -100%); max-width: 200px; background: #fff; color: #222; border-radius: 4px; padding: 4px 8px; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.4); animation: hlFade 4.2s forwards; overflow-wrap: anywhere; }
@keyframes hlFade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.hl-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.5); z-index: 3; flex-wrap: wrap; }
.hl-reacts { display: flex; gap: 4px; flex-wrap: wrap; }
.hl-r { width: 44px; height: 44px; border-radius: 4px; border: 0; background: rgba(255,255,255,.12); font-size: 22px; cursor: pointer; }
.hl-r:active { transform: scale(.9); }
.hl-tools { display: flex; gap: 6px; }
.hl-btn { position: relative; min-width: 48px; height: 48px; border-radius: 4px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2px 8px; line-height: 1.1; }
.hl-bl { font-size: 11px; }
.hl-btn[aria-pressed="true"], .hl-btn[aria-expanded="true"] { background: #e0b450; color: #2a0610; }
.hl-badge { position: absolute; top: -4px; left: -4px; background: #c62828; color: #fff; border-radius: 10px; font-size: 11px; min-width: 18px; padding: 1px 4px; }
.hl-chat { position: absolute; z-index: 4; left: 10px; bottom: 76px; width: min(360px, calc(100% - 20px)); max-height: 46%; display: flex; flex-direction: column; background: rgba(20,6,12,.92); border: 1px solid rgba(255,227,163,.3); border-radius: 4px; }
.hl-chat[hidden] { display: none; }
.hl-msgs { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; min-height: 60px; }
.hl-msgs li { margin-bottom: 4px; overflow-wrap: anywhere; }
.hl-msgs li b { color: #ffe3a3; }
.hl-msgs li.mine b { color: #9fe0b0; }
.hl-rep { border: 0; background: none; cursor: pointer; opacity: .55; font-size: 12px; }
.hl-chatform { padding: 8px; border-top: 1px solid rgba(255,255,255,.12); }
.hl-chatform .hint { color: #e6cfc0; margin: 4px 0 0; }
.hl-chatform a { color: #ffe3a3; }
.hl-row { display: flex; gap: 6px; }
.hl-row input { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .hl-r { width: 38px; height: 40px; font-size: 19px; }
  .hl-bl { display: none; }
  .hl-btn { min-width: 44px; height: 44px; }
  .hl-chat { left: 6px; right: 6px; width: auto; bottom: 64px; max-height: 52%; }
}
@media (prefers-reduced-motion: reduce) { .hl-float, .hl-bub { animation-duration: 1.5s; } }
html.a11y-still .hl-float { animation: none; opacity: 1; }

/* ---- the live auction on the stage (evening-auction.js) ---------------------------- */
.hl-screen.au { container-type: size; }
.au-board { position: absolute; inset: 0; display: flex; gap: 3%; align-items: stretch; padding: 3%; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, #3b0d2a, #14040d 70%); border: 2px solid #e0b450; overflow: hidden; }
.au-board.jump .au-p { animation: auJump .5s ease-out; }
@keyframes auJump { 0% { transform: scale(1); } 35% { transform: scale(1.25); color: #fff3b0; } 100% { transform: scale(1); } }
.au-pic { flex: 0 0 44%; display: grid; place-items: center; background: #000; border-radius: 4px; overflow: hidden; }
.au-pic img { width: 100%; height: 100%; object-fit: contain; }
.au-pic .noimg { font-size: 12cqh; }
.au-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.2cqh; text-align: center; }
.au-k { font-size: clamp(10px, 4.2cqh, 18px); color: #f3dccb; }
.au-t { font-size: clamp(13px, 7cqh, 30px); line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.au-p { font: 800 clamp(22px, 17cqh, 80px)/1 Rubik, sans-serif; color: #ffe3a3; }
.au-lead { font-size: clamp(11px, 5cqh, 22px); font-weight: 700; }
.au-lead.me { color: #9fe0b0; }
.au-clock { position: relative; height: clamp(18px, 9cqh, 40px); background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; display: grid; place-items: center; }
.au-clock i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #e0b450, #f5d77a); transition: width .25s linear; }
.au-clock span { position: relative; font-weight: 800; font-size: clamp(11px, 5.5cqh, 24px); color: #2a0610; }
.au-clock.hot i { background: linear-gradient(90deg, #c62828, #ff6b6b); }
.au-clock.hot span { color: #fff; animation: auPulse .5s ease-in-out infinite alternate; }
@keyframes auPulse { to { transform: scale(1.12); } }
.au-stamp { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 2cqh; text-align: center; }
.au-stamp img { max-height: 45cqh; max-width: 60cqw; border-radius: 4px; }
.au-stamp b { font-family: 'Secular One', Rubik, sans-serif; font-size: clamp(30px, 22cqh, 110px); line-height: 1; transform: rotate(-6deg); padding: 0 .3em; border: 6px solid; border-radius: 6px; }
.au-stamp.yes b { color: #ffe3a3; border-color: #e0b450; animation: auSlam .45s cubic-bezier(.2, 1.6, .4, 1); }
.au-stamp.no b { color: #ddd; border-color: #888; font-size: clamp(20px, 14cqh, 70px); }
.au-stamp span { font-size: clamp(14px, 8cqh, 36px); font-weight: 700; }
@keyframes auSlam { from { transform: rotate(-6deg) scale(2.4); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }
.au-cf { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: auFall 2.4s var(--d, 0s) ease-in forwards; transform: rotate(var(--r)); }
@keyframes auFall { to { transform: translateY(110cqh) rotate(calc(var(--r) + 540deg)); } }
.au-next { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 1.5cqh; text-align: center; max-width: 90%; }
.au-next img { max-height: 50cqh; border-radius: 4px; }
.au-next b { font-size: clamp(16px, 9cqh, 40px); }
.au-next span { font-size: clamp(12px, 5cqh, 22px); color: #f3dccb; }
.au-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; background: rgba(42, 6, 16, .92); border-top: 1px solid rgba(224, 180, 80, .4); z-index: 3; }
.au-bar[hidden] { display: none; }
.au-bar p { margin: 0; text-align: center; }
.au-bar a { color: #ffe3a3; }
.au-bid { min-width: 200px; min-height: 54px; font-size: 20px; font-weight: 800; border: 0; border-radius: 4px; cursor: pointer; background: linear-gradient(#f5d77a, #e0b450 55%, #b88a2a); color: #2a0610; box-shadow: 0 4px 0 #7a5a1a; }
.au-bid:active { transform: translateY(2px); box-shadow: 0 2px 0 #7a5a1a; }
.au-bid.armed { background: linear-gradient(#ff8a8a, #c62828); color: #fff; box-shadow: 0 4px 0 #7a1010; }
.au-bid:disabled { background: #2e6b3e; color: #fff; box-shadow: none; cursor: default; }
.au-max { display: flex; gap: 6px; }
.au-max input { width: 130px; }
.au-note { width: 100%; font-size: 12px; color: #e6cfc0; }
.au-list { position: absolute; z-index: 5; top: 60px; left: 10px; width: min(380px, calc(100% - 20px)); max-height: 60%; overflow-y: auto; background: rgba(20, 6, 12, .96); border: 1px solid rgba(224, 180, 80, .4); border-radius: 4px; padding: 10px; }
.au-list[hidden] { display: none; }
.au-list h3 { margin: 0 0 8px; font-size: 16px; }
.au-ol { list-style: none; margin: 0; padding: 0; }
.au-ol li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.au-ol img, .au-ol .noimg { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex: none; display: grid; place-items: center; background: #000; }
.au-no { width: 22px; text-align: center; font-weight: 800; color: #ffe3a3; flex: none; }
.au-lt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.au-lt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-lt .hint { color: #e6cfc0; font-size: 12px; }
.au-s { font-size: 12px; white-space: nowrap; color: #ffe3a3; }
.au-s.yes { color: #9fe0b0; } .au-s.no { color: #bbb; } .au-s.on { color: #ff8a8a; font-weight: 700; }
@media (max-width: 760px) {
  .au-board { padding: 2%; gap: 2%; }
  .au-pic { flex: 0 0 40%; }
  .au-bid { min-width: 0; flex: 1; font-size: 18px; }
  .au-max input { width: 110px; }
  .au-list { top: 56px; left: 6px; right: 6px; width: auto; }
}
html.a11y-still .au-cf, html.a11y-still .au-stamp b, html.a11y-still .au-board.jump .au-p, html.a11y-still .au-clock.hot span { animation: none; }

/* ---- 🎆 the fireworks evening (fireworks.js + Fireworks in evening.js) ---- */
.fw-hall { background: #03030c; }
.fw-hall .fw-stage { position: absolute; inset: 0; overflow: hidden; }
.fw-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fw-hall .hl-top { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.55), transparent); }
.fw-hall .hl-bottom { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.fw-hall .hl-layer { z-index: 2; }
.fw-vol { position: absolute; bottom: calc(70px + env(safe-area-inset-bottom)); left: 12px; z-index: 4; background: rgba(10,8,24,.92); border: 1px solid rgba(224,180,80,.5);
  border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; min-width: min(280px, calc(100vw - 24px)); }
.fw-vrow { display: grid; grid-template-columns: auto minmax(0, 1fr) 3.2em; align-items: center; gap: 8px; font-size: 15px; }
.fw-vrow input { width: 100%; min-height: 32px; accent-color: #e0b450; }
.fw-tap { z-index: 5; }
.fw-tune-now { position: absolute; top: 54px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 13px; color: #f3d9a6; background: rgba(0,0,0,.35);
  padding: 2px 10px; border-radius: 10px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-tune-now:empty { display: none; }
.fw-end { z-index: 6; background: radial-gradient(rgba(42,10,40,.85), rgba(0,0,0,.92)); }
.fw-hall .hl-count:empty { display: none; }
.fw-namecap { position: absolute; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 3; margin: 0;
  padding: 6px 14px; border-radius: 20px; background: rgba(0,0,0,.45); color: #ffe6a8; font-size: 15px; white-space: nowrap; max-width: calc(100% - 24px);
  overflow: hidden; text-overflow: ellipsis; animation: fwCap 4.2s ease-in-out both; }
.fw-namecap b { color: #fff; }
@keyframes fwCap { 0% { opacity: 0; } 12%, 85% { opacity: 1; } 100% { opacity: 0; } }
html.a11y-still .fw-namecap { animation: none; }
@media (prefers-reduced-motion: reduce) { .fw-namecap { animation: none; } }

/* 🎆 the opening: neon words, the week's leading shops, a neon countdown */
.fw-intro { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; text-align: center; padding: 70px 16px 90px; }
.fw-neon { font-family: 'Secular One', Rubik, sans-serif; color: #fff; display: flex; flex-direction: column; align-items: center; gap: .1em; line-height: 1.12; }
.fw-hello .n1 { font-size: clamp(44px, 11vw, 140px); color: #fff4fb; text-shadow: 0 0 6px #fff, 0 0 18px #ff3fa4, 0 0 42px #ff3fa4, 0 0 90px #ff1f8a; animation: fwOn 1.2s steps(1) both, fwHum 2.6s ease-in-out 1.2s infinite; }
.fw-hello .n2 { font-size: clamp(30px, 7vw, 88px); color: #effeff; text-shadow: 0 0 6px #fff, 0 0 16px #19e3ff, 0 0 40px #19e3ff, 0 0 80px #0aa8ff; animation: fwOn 1.4s steps(1) .5s both, fwHum 3s ease-in-out 1.9s infinite; }
.fw-hello .n3 { font-size: clamp(40px, 10vw, 124px); color: #fffbe6; text-shadow: 0 0 6px #fff, 0 0 18px #ffd23a, 0 0 44px #ffb000, 0 0 90px #ff8a00; animation: fwOn 1.4s steps(1) 1s both, fwHum 2.8s ease-in-out 2.4s infinite; }
.fw-top .n2 { font-size: clamp(24px, 5.2vw, 60px); color: #fffbe6; text-shadow: 0 0 6px #fff, 0 0 16px #ffd23a, 0 0 40px #ffb000; margin-bottom: .35em; animation: fwOn 1s steps(1) both; }
.fw-toplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .18em; font-size: clamp(24px, 5vw, 58px); }
.fw-toplist li { display: flex; gap: .45em; align-items: center; justify-content: center; opacity: 0; }
.fw-toplist li.on { opacity: 1; animation: fwPop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.fw-toplist b { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; border-radius: 50%; border: 3px solid currentColor; font-size: .8em; }
.fw-toplist li { color: hsl(calc(320 + var(--i) * 52) 100% 88%); text-shadow: 0 0 6px #fff, 0 0 18px hsl(calc(320 + var(--i) * 52) 100% 60%), 0 0 44px hsl(calc(320 + var(--i) * 52) 100% 55%); }
.fw-toplist b { box-shadow: 0 0 12px hsl(calc(320 + var(--i) * 52) 100% 60%), inset 0 0 10px hsl(calc(320 + var(--i) * 52) 100% 60%); }
.fw-top .n3 { display: block; margin-top: .5em; font-size: clamp(18px, 3.4vw, 36px); color: #e9fffd; text-shadow: 0 0 6px #fff, 0 0 18px #2ee6d6, 0 0 40px #00bfb0; animation: fwHum 2.4s ease-in-out infinite; }
.fw-count span { display: block; font-family: 'Secular One', Rubik, sans-serif; font-size: min(52vh, 60vw); line-height: 1; color: hsl(var(--h) 100% 92%);
  text-shadow: 0 0 8px #fff, 0 0 26px hsl(var(--h) 100% 60%), 0 0 70px hsl(var(--h) 100% 55%), 0 0 140px hsl(var(--h) 100% 50%);
  -webkit-text-stroke: 3px hsl(var(--h) 100% 70%); animation: fwCount 1s ease-out both; }
@keyframes fwOn { 0% { opacity: 0 } 10% { opacity: 1 } 14% { opacity: .2 } 20% { opacity: 1 } 26% { opacity: .35 } 34%, 100% { opacity: 1 } }
@keyframes fwHum { 50% { filter: brightness(1.18) } }
@keyframes fwPop { from { opacity: 0; transform: scale(.4) } }
@keyframes fwCount { 0% { opacity: 0; transform: scale(1.9) } 18% { opacity: 1; transform: scale(1) } 80% { opacity: 1 } 100% { opacity: .15; transform: scale(.82) } }
@media (prefers-reduced-motion: reduce) { .fw-intro * { animation: none !important; opacity: 1 !important; } .fw-toplist li:not(.on) { opacity: 0 !important; } }
html.a11y-still .fw-intro * { opacity: 1 !important; }
html.a11y-still .fw-toplist li:not(.on) { opacity: 0 !important; }
/* the goodbye at the end of the fireworks (owner, 2026-11-03) */
.fw-end .fw-bye { position: static; display: flex; flex-direction: column; align-items: center; gap: .1em; line-height: 1.12; font-family: 'Secular One', 'Rubik', sans-serif; }
.fw-bye .n1 { font-size: clamp(40px, 10vw, 128px); color: #fff4fb; text-shadow: 0 0 6px #fff, 0 0 18px #ff3fa4, 0 0 42px #ff3fa4, 0 0 90px #ff1f8a; animation: fwOn 1.2s steps(1) both, fwHum 2.6s ease-in-out 1.2s infinite; }
.fw-bye .n2 { font-size: clamp(28px, 6.6vw, 84px); color: #effeff; text-shadow: 0 0 6px #fff, 0 0 16px #19e3ff, 0 0 40px #19e3ff, 0 0 80px #0aa8ff; animation: fwOn 1.4s steps(1) .6s both, fwHum 3s ease-in-out 2s infinite; }
.fw-bye .n3 { font-size: clamp(36px, 9vw, 116px); color: #fffbe6; text-shadow: 0 0 6px #fff, 0 0 18px #ffd23a, 0 0 44px #ffb000, 0 0 90px #ff8a00; animation: fwOn 1.4s steps(1) 1.2s both, fwHum 2.8s ease-in-out 2.6s infinite; }
.fw-out { margin-top: 18px; min-height: 52px; padding: 12px 34px; font: inherit; font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; color: #fff; background: rgba(0,0,0,.35); border: 3px solid #ff6fbf; border-radius: 4px; cursor: pointer; text-shadow: 0 0 8px #ff3fa4; box-shadow: 0 0 14px #ff3fa4, inset 0 0 12px rgba(255,63,164,.5); }
.fw-out:hover, .fw-out:focus-visible { background: rgba(255,63,164,.25); outline: 3px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fw-bye * { animation: none !important; } }
html.a11y-still .fw-bye * { animation: none !important; }

/* 🎲 the backgammon final on the stage (evening-shesh.js, 2026-11-06) */
.hl-screen.es { background: #120a05; overflow: hidden; border-radius: 4px; container-type: size; }
.es-board { position: absolute; inset: 11% 0 9% 0; }
.es-score { position: absolute; top: 0; left: 0; right: 0; height: 11%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2%;
  background: linear-gradient(#2a1608, #120a05); color: #f6ead2; font-weight: 800; font-size: clamp(10px, 3.2cqw, 22px); white-space: nowrap; }
.es-p { display: flex; align-items: center; gap: .4em; padding: .1em .5em; border-radius: 6px; transition: background .3s; }
.es-p b { color: #f5d58a; letter-spacing: .08em; }
.es-p.turn { background: rgba(245, 213, 138, .22); box-shadow: 0 0 0 2px rgba(245, 213, 138, .7); }
.es-chip { width: 1em; height: 1em; border-radius: 50%; display: inline-block; }
.es-chip.w { background: #f1e8d4; } .es-chip.b { background: #18110e; border: 1px solid #8a6a45; }
.es-mid { font-family: "Secular One", Rubik, sans-serif; font-size: 1.3em; color: #fff; }
.es-chance { position: absolute; top: 11%; left: 0; right: 0; height: 5px; display: flex; --p: 50%; }
.es-chance .w { width: var(--p); background: #f1e8d4; transition: width 1.2s ease; }
.es-chance .b { flex: 1; background: #b8336a; }
.es-comment { position: absolute; bottom: 0; left: 0; right: 0; height: 9%; display: grid; place-items: center; color: #fff3d6; font-weight: 700;
  font-size: clamp(10px, 3cqw, 20px); background: linear-gradient(#120a05, #2a1608); text-align: center; padding: 0 2%; }
.es-comment.pop { animation: esPop .6s ease; }
@keyframes esPop { 0% { transform: scale(.85); opacity: .2; } 60% { transform: scale(1.06); } 100% { transform: none; opacity: 1; } }
.es-over { position: absolute; inset: 0; pointer-events: none; }
.es-over > * { pointer-events: auto; }
.es-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #f6ead2; padding: 3%; text-align: center; overflow: auto; }
.es-big { font-family: "Secular One", Rubik, sans-serif; font-size: clamp(14px, 5cqw, 34px); color: #f5d58a; margin: 0; }
.es-bracket { display: flex; gap: 10px; margin-top: 8px; font-size: clamp(9px, 2.2cqw, 14px); }
.es-round { display: flex; flex-direction: column; gap: 6px; justify-content: space-around; }
.es-m { display: flex; flex-direction: column; border: 1px solid rgba(245, 213, 138, .4); border-radius: 4px; padding: 2px 6px; min-width: 70px; }
.es-m.live { border-color: #f5d58a; box-shadow: 0 0 8px rgba(245, 213, 138, .6); }
.es-m .won { color: #f5d58a; font-weight: 800; }
.es-intro, .es-crown { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2%; background: rgba(10, 4, 2, .82); text-align: center; z-index: 2; }
.es-neon { margin: 0; font-family: "Secular One", Rubik, sans-serif; color: #fff; text-shadow: 0 0 6px #fff, 0 0 18px var(--g), 0 0 38px var(--g), 0 0 70px var(--g); animation: esFlick 2.2s ease-in-out infinite alternate; }
.es-neon.n1 { --g: #ff3d8b; font-size: clamp(16px, 7.5cqw, 64px); }
.es-neon.n2 { --g: #3de3ff; font-size: clamp(16px, 7cqw, 54px); }
.es-neon.n3 { --g: #f5d58a; font-size: clamp(12px, 4cqw, 30px); }
.es-neon.n4 { --g: #b06bff; font-size: clamp(16px, 7cqw, 54px); }
.es-neon.n5 { --g: #f5d58a; font-size: clamp(10px, 3cqw, 20px); }
.es-neon.big { font-size: clamp(22px, 13cqw, 86px); }
.es-vs { display: flex; gap: 4%; align-items: center; justify-content: center; flex-wrap: wrap; }
@keyframes esFlick { 0%, 92% { opacity: 1; } 94% { opacity: .55; } 96% { opacity: 1; } 98% { opacity: .7; } }
.es-sky { position: absolute; inset: 0; z-index: 1; }
.es-sky .fw-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.es-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.es-crown { background: transparent; z-index: 4; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .es-neon, .es-comment.pop { animation: none; } }
html.a11y-still .es-neon, html.a11y-still .es-comment.pop { animation: none !important; }
