/* Lamplight: tribute (spec docs/reference/mockups-v3: Tribute, Defeat, Victory boards)
   One screen, three end states: .m-win (cash-out), .m-lose (night hearth), .m-won (the council). */

.lamp-tribute { background: #2a6a7a; color: #fff4dc; user-select: none; -webkit-font-smoothing: antialiased; font-family: var(--f-body); }
.lamp-tribute.m-lose { background: #171a3a; }
.lamp-tribute.m-won { background: #24407a; }
.lamp-tribute .shaker { position: absolute; inset: 0; overflow: clip; }
.lamp-tribute .bg { position: absolute; left: -20px; top: -12px; width: 1960px; height: 1104px; object-fit: cover; display: block; pointer-events: none; }
.lamp-tribute .shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 52% 78% at 20% 56%, rgba(10,34,52,.66), rgba(10,34,52,.34) 50%, rgba(10,34,52,0) 76%); }

/* ---------- head ---------- */
.lamp-tribute .head { position: absolute; left: 146px; top: 96px; z-index: 5; text-shadow: 0 3px 16px rgba(6,24,36,.6); }
.lamp-tribute .head h1 { margin: 0; font: 800 116px/1 var(--f-chunk); color: #ffd25e; letter-spacing: .5px; white-space: nowrap; transform-origin: 20% 60%;
  text-shadow: 0 7px 0 rgba(110,50,0,.42), 0 0 50px rgba(255,170,50,.55); opacity: 0; }
.lamp-tribute .head h1.in { animation: lt-slam calc(.7s / var(--speed, 1)) cubic-bezier(.2,1.7,.4,1) both; }
@keyframes lt-slam { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.lamp-tribute .head p { margin: 16px 0 0 8px; font: 700 24px/1.3 var(--f-body); color: rgba(255,244,220,.88); opacity: 0; transition: opacity .5s ease; }
.lamp-tribute .head p.in { opacity: 1; }
.lamp-tribute .head p b { font: 800 1em/1 var(--f-chunk); color: #fff4dc; }

/* ---------- owl obols, top right ---------- */
.lamp-tribute .ob { position: absolute; right: 56px; top: 34px; z-index: 6; display: flex; align-items: center; gap: 14px; text-shadow: 0 2px 14px rgba(6,24,36,.6); }
.lamp-tribute .ob .coin { width: 74px; height: 74px; display: inline-block; flex: none; }
.lamp-tribute .ob-num { display: inline-block; min-width: 56px; text-align: right; font: 800 92px/1 var(--f-chunk); color: #ffe08a; transform-origin: 70% 60%;
  text-shadow: 0 6px 0 rgba(110,60,0,.42), 0 0 34px rgba(255,190,60,.5); }
.lamp-tribute .ob-num.bump { animation: lt-opop .3s cubic-bezier(.2,1.8,.4,1); }
@keyframes lt-opop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.lamp-tribute .coinfly { position: absolute; width: 44px; height: 44px; z-index: 900; pointer-events: none; }
.lamp-tribute .coinfly .coin { display: block; width: 44px; height: 44px; filter: drop-shadow(0 0 6px rgba(255,200,80,.6)); }

/* ---------- the ferry ---------- */
.lamp-tribute .boat { position: absolute; left: 880px; top: 938px; width: 340px; height: 132px; z-index: 3; pointer-events: none; animation: lt-sail 7s ease-in-out infinite; }
.lamp-tribute .boat img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 6px rgba(0,20,30,.4)); }
.lamp-tribute .boat .glow { position: absolute; left: 40px; top: 34px; width: 240px; height: 70px; background: radial-gradient(ellipse, rgba(255,200,100,.6), rgba(255,160,60,0) 70%); mix-blend-mode: screen; animation: ltrib-flicker 2s ease-in-out infinite; }
@keyframes lt-sail { 0%,100% { transform: translate(0,0); } 50% { transform: translate(14px,6px); } }
@keyframes ltrib-flicker { 0% { opacity: .8; } 20% { opacity: 1; } 35% { opacity: .7; } 55% { opacity: .95; } 75% { opacity: .78; } 100% { opacity: .8; } }

/* ---------- host ---------- */
.lamp-tribute .hostfig { position: absolute; left: 1178px; top: 372px; width: 720px; height: 720px; z-index: 4; cursor: pointer; transform-origin: 50% 100%;
  opacity: 0; transform: translateY(80px); transition: opacity .5s ease, transform .9s cubic-bezier(.2,1.2,.4,1); }
.lamp-tribute .hostfig.in { opacity: 1; transform: none; }
.lamp-tribute .hostfig img { width: 100%; height: 100%; display: block; transform-origin: 50% 100%; animation: ltrib-breathe 5s ease-in-out infinite; pointer-events: none; }
/* Zeus's portrait is cut square on the left: let it fade into the light */
.lamp-tribute .hostfig.h-zeus img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
@keyframes ltrib-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px) scale(1.006, 1.01); } }

/* ---------- speech bubbles (cream, SVG tail) ---------- */
.lamp-tribute .bubble { z-index: 50; max-width: none; box-sizing: border-box; box-shadow: 0 24px 44px -16px rgba(6,24,36,.75); transform-origin: var(--tx, 50%) 120%; }
.lamp-tribute .bubble::after { display: none; }
.lamp-tribute .bubble .tail { position: absolute; width: 42px; height: 42px; fill: #fff4dc; left: var(--tx, 50%); bottom: -30px; }
.lamp-tribute .bubble .txt { display: block; }
.lamp-tribute.m-lose #pb:not([style*="--tx"]) { transform-origin: 110% 40%; }
.lamp-tribute.m-lose #pb:not([style*="--tx"]) .tail { left: auto; right: -30px; bottom: auto; top: 40px; }

/* ---------- slab buttons ---------- */
.lamp-tribute .acts { position: absolute; left: 150px; top: 900px; z-index: 6; display: flex; align-items: center; gap: 30px; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.lamp-tribute .acts.in { opacity: 1; pointer-events: auto; }
.lamp-tribute .acts .slab { height: 116px; padding: 0 44px 4px; border-radius: 28px; gap: 16px; font: 800 46px/1 var(--f-chunk); letter-spacing: .3px; }
.lamp-tribute .acts .slab svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s cubic-bezier(.3,1.8,.5,1); }
.lamp-tribute .acts .slab:hover svg { transform: translateX(8px); }
.lamp-tribute .acts .slab .kbd { font-size: 16px; padding: 6px 9px; border-radius: 9px; background: rgba(0,0,0,.16); vertical-align: middle; }
.lamp-tribute .acts .slab.ready { animation: lt-ready 1.8s ease-in-out infinite; }
@keyframes lt-ready { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.12) drop-shadow(0 0 18px rgba(255,120,70,.6)); } }
.lamp-tribute .acts .ghostbtn { font-size: 20px; color: rgba(255,244,220,.9); text-shadow: 0 2px 12px rgba(6,24,36,.85); }
.lamp-tribute .acts .ghostbtn .kbd { font-size: 15px; padding: 4px 7px 5px; background: rgba(255,244,220,.14); }
.lamp-tribute .acts .ghostbtn svg { width: 22px; height: 22px; }

/* ================================================================ cash-out (Tribute board) */
.lamp-tribute .tally { position: absolute; left: 150px; top: 330px; width: 720px; z-index: 5; }
.lamp-tribute .tally .row { display: flex; align-items: center; gap: 20px; height: 78px; opacity: 0; transform: translateX(-40px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.25,1.5,.45,1); }
.lamp-tribute .tally .row.in { opacity: 1; transform: none; }
.lamp-tribute .r-ico { flex: none; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(8,30,46,.6); box-shadow: inset 0 2px 0 rgba(255,255,255,.12); }
.lamp-tribute .r-ico svg { width: 30px; height: 30px; fill: none; stroke: #ffd25e; stroke-width: 2.4; }
.lamp-tribute .r-txt { flex: 1; min-width: 0; text-shadow: 0 2px 12px rgba(6,24,36,.6); }
.lamp-tribute .r-txt b { display: block; font: 800 34px/1 var(--f-chunk); color: #fff4dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lamp-tribute .r-txt .sub { display: block; margin-top: 6px; font: 700 18px/1 var(--f-body); color: rgba(255,244,220,.74); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lamp-tribute .r-val { display: flex; align-items: center; gap: 10px; font: 800 48px/1 var(--f-chunk); color: #ffe08a; text-shadow: 0 4px 0 rgba(110,60,0,.4), 0 0 22px rgba(255,190,60,.45); }
.lamp-tribute .r-val .coin { display: inline-block; flex: none; width: 34px; height: 34px; }
.lamp-tribute .row.in .r-val { animation: lt-vpop .45s cubic-bezier(.2,1.9,.4,1) .12s both; }
.lamp-tribute .row .r-val.bump { animation: lt-opop .3s cubic-bezier(.2,1.8,.4,1); }
@keyframes lt-vpop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lamp-tribute .r-val.zero { color: rgba(255,244,220,.5); text-shadow: none; }
.lamp-tribute .r-val.zero .coin { filter: grayscale(1); opacity: .45; }
.lamp-tribute .total { display: flex; align-items: center; gap: 20px; height: 116px; margin-top: 14px; padding: 0 26px 0 22px; border-radius: 30px;
  background: radial-gradient(ellipse 70% 130% at 72% 50%, rgba(255,190,70,.36), rgba(255,190,70,.1) 60%, rgba(255,190,70,0) 100%);
  opacity: 0; transform: scale(.85); transition: opacity .35s ease, transform .5s cubic-bezier(.25,1.6,.45,1); }
.lamp-tribute .total.in { opacity: 1; transform: none; }
.lamp-tribute .total b { flex: 1; font: 800 46px/1 var(--f-chunk); color: #fff4dc; text-shadow: 0 2px 12px rgba(6,24,36,.6); }
.lamp-tribute .total b small { display: block; margin-top: 8px; font: 700 15px/1 var(--f-body); letter-spacing: .3px; color: rgba(255,244,220,.6); }
.lamp-tribute .total .r-val { font-size: 84px; }
.lamp-tribute .total .r-val .coin { width: 60px; height: 60px; }
.lamp-tribute #tot { display: inline-block; }
/* a long tally (Favors that pay out) keeps the same footprint */
.lamp-tribute .tally.dense { top: 300px; }
.lamp-tribute .tally.dense .row { height: 62px; }
.lamp-tribute .tally.dense .r-ico { width: 48px; height: 48px; }
.lamp-tribute .tally.dense .r-ico svg { width: 26px; height: 26px; }
.lamp-tribute .tally.dense .r-txt { display: flex; align-items: baseline; gap: 14px; }
.lamp-tribute .tally.dense .r-txt b { flex: none; font-size: 30px; }
.lamp-tribute .tally.dense .r-txt .sub { margin: 0; }
.lamp-tribute .tally.dense .r-val { font-size: 40px; }
.lamp-tribute .tally.dense .total { height: 96px; margin-top: 8px; }
.lamp-tribute .tally.dense .total .r-val { font-size: 70px; }

.lamp-tribute.m-win .stats { position: absolute; left: 150px; top: 726px; z-index: 5; display: flex; flex-wrap: wrap; width: 1040px; gap: 18px 46px; }
.lamp-tribute.m-win .stat:nth-child(3) { flex-basis: 100%; } /* the Favor of the trial gets its own row (long names) */
.lamp-tribute .stat { display: flex; align-items: center; gap: 14px; text-shadow: 0 2px 12px rgba(6,24,36,.7); opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .45s cubic-bezier(.2,1.4,.4,1); }
.lamp-tribute .stat.in { opacity: 1; transform: none; }
.lamp-tribute .stat .s-ico { flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.lamp-tribute .stat .s-ico svg { width: 34px; height: 34px; fill: none; stroke: #fff4dc; stroke-width: 2.3; filter: drop-shadow(0 2px 6px rgba(6,24,36,.6)); }
.lamp-tribute .stat .s-ico .im { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(6,24,36,.5)); }
.lamp-tribute .stat small { display: block; font: 900 15px/1 var(--f-body); letter-spacing: .3px; color: rgba(255,244,220,.7); }
.lamp-tribute .stat b { display: block; margin-top: 6px; font: 800 30px/1 var(--f-chunk); color: #fff4dc; white-space: nowrap; }
.lamp-tribute .hi { color: #ffd25e; }

/* ================================================================ defeat (Defeat board) */
.lamp-tribute.m-lose .bg { left: 0; top: 0; width: 1920px; height: 1080px; }
.lamp-tribute .night { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #26306e 0%, #1b2052 60%, #141638 100%); mix-blend-mode: multiply; opacity: .92; }
.lamp-tribute.m-lose .shade { background: radial-gradient(ellipse 58% 80% at 22% 50%, rgba(8,10,30,.62), rgba(8,10,30,0) 74%); }
.lamp-tribute .ember { position: absolute; left: 1500px; top: 470px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,150,70,.42), rgba(255,110,50,.1) 42%, rgba(255,100,40,0) 66%); mix-blend-mode: screen; animation: ltrib-flicker 2.6s ease-in-out infinite; }
.lamp-tribute.m-lose .zeus { position: absolute; left: 1128px; top: 214px; width: 580px; height: 580px; z-index: 3; cursor: pointer;
  opacity: 0; transform: translateY(-60px); transition: opacity .5s ease, transform .9s cubic-bezier(.2,1.4,.4,1); }
.lamp-tribute.m-lose.zeus-in .zeus { opacity: 1; transform: none; }
.lamp-tribute.m-lose .zeus img { width: 100%; height: 100%; display: block; pointer-events: none; transform-origin: 50% 100%; animation: lt-gloat 3.2s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 90%), linear-gradient(90deg, transparent 0, #000 16%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 58%, transparent 90%), linear-gradient(90deg, transparent 0, #000 16%); mask-composite: intersect; }
@keyframes lt-gloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lamp-tribute.m-lose .hostfig { left: 1360px; top: 430px; width: 640px; height: 640px; }
.lamp-tribute.m-lose .hostfig img { filter: brightness(.92); }
.lamp-tribute.m-lose .head { left: 120px; top: 76px; text-shadow: none; }
.lamp-tribute.m-lose .head h1 { color: #d9d6ff; text-shadow: 0 7px 0 rgba(10,10,40,.6), 0 0 46px rgba(140,150,255,.5); }
.lamp-tribute.m-lose .head h1.in { animation: lt-sink calc(.9s / var(--speed, 1)) cubic-bezier(.2,1.3,.4,1) both; }
@keyframes lt-sink { from { opacity: 0; transform: translateY(-40px) scale(1.15); } to { opacity: 1; transform: none; } }
.lamp-tribute.m-lose .head p { margin-left: 6px; color: rgba(230,228,255,.8); }

.lamp-tribute .miss { position: absolute; left: 126px; top: 300px; width: 760px; z-index: 5; opacity: 0; transform: translateY(10px); transition: opacity .5s ease-out, transform .5s ease-out; }
.lamp-tribute .miss.in { opacity: 1; transform: none; }
.lamp-tribute .miss-top { display: flex; align-items: center; gap: 16px; }
.lamp-tribute .miss-top .im { flex: none; width: 60px; height: 60px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 3px rgba(166,224,122,.3), 0 0 22px rgba(140,200,90,.5); }
.lamp-tribute .miss-top .im.ic { display: flex; align-items: center; justify-content: center; background: rgba(10,12,40,.6); box-shadow: 0 0 0 3px rgba(207,210,255,.25), 0 0 22px rgba(140,150,255,.4); }
.lamp-tribute .miss-top .im.ic svg { width: 32px; height: 32px; fill: none; stroke: #cfd2ff; stroke-width: 2.3; }
.lamp-tribute .miss-top b { display: block; font: 800 32px/1 var(--f-chunk); color: #fff4dc; }
.lamp-tribute .miss-top span span { display: block; margin-top: 6px; font: 700 18px/1 var(--f-body); color: rgba(230,228,255,.75); }
.lamp-tribute .bar { position: relative; margin-top: 18px; height: 28px; border-radius: 99px; background: rgba(6,8,26,.6); box-shadow: inset 0 3px 8px rgba(0,0,0,.45); overflow: hidden; }
.lamp-tribute .bar .got { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(180deg, #8fdcff, #3aa0e8); box-shadow: inset 0 3px 0 rgba(255,255,255,.35); transform-origin: left; transform: scaleX(0); }
.lamp-tribute .miss.in .bar .got { animation: lt-fill calc(1.2s / var(--speed, 1)) cubic-bezier(.2,1,.3,1) .2s both; }
@keyframes lt-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lamp-tribute .bar .left { position: absolute; top: 0; bottom: 0; right: 0; background: repeating-linear-gradient(-45deg, rgba(255,90,70,.75) 0 10px, rgba(255,90,70,.45) 10px 20px); opacity: 0; }
.lamp-tribute .miss.in .bar .left { animation: lt-pulse 1.4s ease-in-out 1.4s infinite both; }
@keyframes lt-pulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
.lamp-tribute .bar-l { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font: 700 19px/1 var(--f-body); color: rgba(230,228,255,.78); }
.lamp-tribute .bar-l b { font: 800 26px/1 var(--f-chunk); color: #ff8a7a; }

.lamp-tribute.m-lose .stats, .lamp-tribute.m-won .stats { position: absolute; z-index: 5; display: flex; gap: 44px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.2,1.4,.4,1); }
.lamp-tribute.m-lose .stats { left: 126px; top: 478px; }
.lamp-tribute.m-lose .stats.in, .lamp-tribute.m-won .stats.in { opacity: 1; transform: none; }
.lamp-tribute .st small { display: block; font: 900 15px/1 var(--f-body); letter-spacing: .3px; color: rgba(230,228,255,.76); }
.lamp-tribute .st b { display: block; margin-top: 8px; font: 800 32px/1 var(--f-chunk); color: #fff4dc; white-space: nowrap; }

.lamp-tribute .keep { position: absolute; left: 126px; top: 590px; width: 740px; z-index: 5; opacity: 0; transition: opacity .5s ease-out; }
.lamp-tribute .keep.in { opacity: 1; }
.lamp-tribute .keep .lbl { font: 900 18px/1 var(--f-body); color: rgba(230,228,255,.85); }
.lamp-tribute .keep .lbl span { color: rgba(230,228,255,.72); }
.lamp-tribute .krow { display: flex; align-items: center; gap: 18px; height: 68px; opacity: 0; transform: translateX(-30px); transition: opacity .35s ease, transform .45s cubic-bezier(.25,1.5,.45,1); }
.lamp-tribute .krow.in { opacity: 1; transform: none; }
.lamp-tribute .krow .ic { flex: none; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(10,12,40,.6); }
.lamp-tribute .krow .ic svg { width: 26px; height: 26px; fill: none; stroke: #cfd2ff; stroke-width: 2.3; }
.lamp-tribute .krow .tx { flex: 1; min-width: 0; }
.lamp-tribute .krow .tx b { display: block; font: 800 28px/1 var(--f-chunk); color: #fff4dc; }
.lamp-tribute .krow .tx > span { display: block; margin-top: 5px; font: 700 16px/1.15 var(--f-body); color: rgba(230,228,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lamp-tribute .krow .favs i { font-style: normal; cursor: help; }
.lamp-tribute .krow .favs i:hover { color: #ffd66b; }
.lamp-tribute .krow .v { flex: none; display: flex; align-items: center; gap: 8px; font: 800 36px/1 var(--f-chunk); color: #fff4dc; }
.lamp-tribute .krow .v .coin { display: inline-block; width: 28px; height: 28px; }

.lamp-tribute.m-lose .boat { left: 880px; top: 850px; width: 460px; height: 179px; animation: ltrib-drift 8s ease-in-out infinite; }
@keyframes ltrib-drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(10px,5px); } }
.lamp-tribute.m-lose .boat img { filter: none; transition: filter 2.4s ease; }
.lamp-tribute.m-lose .boat.dark img { filter: brightness(.55) saturate(.45); }
.lamp-tribute .lamp { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,170,.95), rgba(255,180,80,.4) 34%, rgba(255,140,40,0) 70%); mix-blend-mode: screen; transition: opacity .45s ease, transform .45s ease; }
.lamp-tribute .lamp.out { opacity: 0; transform: scale(.3); }
.lamp-tribute .snuff { position: absolute; width: 18px; height: 22px; margin: -11px 0 0 -9px; border-radius: 50%; background: radial-gradient(ellipse, rgba(34,20,30,.96) 45%, rgba(34,20,30,0) 75%); opacity: 0; transition: opacity .35s ease .1s; }
.lamp-tribute .snuff.on { opacity: 1; }
.lamp-tribute .smoke { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(200,205,235,.55); filter: blur(2px); opacity: 0; }
.lamp-tribute .smoke.go { animation: lt-smoke 1.4s ease-out forwards; }
@keyframes lt-smoke { 0% { opacity: .8; transform: translate(0,0) scale(.6); } 100% { opacity: 0; transform: translate(8px,-70px) scale(2.4); } }
.lamp-tribute .lamps-n { position: absolute; left: 880px; top: 1036px; width: 460px; z-index: 4; text-align: center; font: 700 17px/1 var(--f-body); color: rgba(230,228,255,.75); }
.lamp-tribute .lamps-n b { font: 800 22px/1 var(--f-chunk); color: #ffd25e; }
.lamp-tribute.m-lose .bubble { box-shadow: 0 24px 44px -16px rgba(4,6,20,.8); font-size: 24px; }
.lamp-tribute.m-lose .acts { left: 126px; gap: 24px; }
.lamp-tribute.m-lose .acts .slab { font-size: 44px; padding: 0 44px 4px 38px; }
.lamp-tribute.m-lose .acts #title { padding: 0 40px 4px; }
.lamp-tribute.m-lose .acts .slab svg { width: 38px; height: 38px; stroke-width: 2.6; }
.lamp-tribute.m-lose .acts .slab:hover svg { transform: none; }

/* ================================================================ victory (Victory board) */
.lamp-tribute.m-won .bg { transform-origin: 25% 40%; animation: lt-dawn 18s ease-out both; }
@keyframes lt-dawn { from { transform: scale(1.08); filter: brightness(.75); } to { transform: scale(1); filter: brightness(1); } }
.lamp-tribute .sun { position: absolute; left: 300px; top: 250px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,236,170,.75), rgba(255,190,110,.2) 40%, rgba(255,170,90,0) 68%); mix-blend-mode: screen; animation: ltrib-sun 5s ease-in-out infinite; }
@keyframes ltrib-sun { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
.lamp-tribute.m-won .shade { background: radial-gradient(ellipse 46% 62% at 22% 36%, rgba(14,24,60,.62), rgba(14,24,60,.3) 55%, rgba(14,24,60,0) 80%), linear-gradient(180deg, rgba(14,24,60,0) 60%, rgba(14,24,60,.45) 100%); }
.lamp-tribute .lantern { position: absolute; top: 1100px; width: 22px; height: 30px; margin-left: -11px; border-radius: 40% 40% 46% 46%; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 60%, #fff3c4, #ffc35a 55%, #e6862a); box-shadow: 0 0 18px 6px rgba(255,190,90,.65);
  animation-name: ltrib-rise; animation-timing-function: cubic-bezier(.3,.1,.5,1); animation-iteration-count: infinite; }
@keyframes ltrib-rise { 0% { opacity: 0; transform: translate(0,0) scale(.7); } 10% { opacity: 1; } 85% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx), -1240px) scale(.35); } }
.reduced .lamp-tribute .lantern { display: none; }

.lamp-tribute.m-won .head { left: 120px; top: 56px; width: 1000px; text-shadow: none; }
.lamp-tribute .kick { font: 900 20px/1 var(--f-body); letter-spacing: .6px; color: #ffd25e; text-shadow: 0 2px 12px rgba(10,16,40,.7); }
.lamp-tribute.m-won .head h1 { margin-top: 12px; font-size: 108px; line-height: .95; letter-spacing: .4px; white-space: normal; text-shadow: 0 7px 0 rgba(110,50,0,.45), 0 0 60px rgba(255,190,80,.55); }
.lamp-tribute.m-won .head p { margin: 18px 0 0 4px; font-size: 26px; color: #fff4dc; text-shadow: 0 2px 14px rgba(10,16,40,.75); }
.lamp-tribute.m-won .head p b { color: #ffd25e; font-size: 1em; }
.lamp-tribute.m-won .stats { left: 124px; top: 398px; }
.lamp-tribute.m-won .st small { color: rgba(255,244,220,.82); text-shadow: 0 2px 10px rgba(10,16,40,.8); }
.lamp-tribute.m-won .st b { font-size: 40px; text-shadow: 0 3px 0 rgba(10,16,40,.4), 0 0 18px rgba(10,16,40,.6); }

.lamp-tribute .unl { position: absolute; left: 124px; top: 500px; z-index: 5; display: flex; gap: 40px; opacity: 0; transition: opacity .4s; }
.lamp-tribute .unl.in { opacity: 1; }
.lamp-tribute .ul { display: flex; align-items: center; gap: 16px; }
.lamp-tribute .ul .md { position: relative; flex: none; width: 96px; height: 96px; border-radius: 24px; background: rgba(42,22,62,.72) 50% 58%/80% no-repeat; box-shadow: 0 12px 22px -8px rgba(10,16,40,.7); transition: transform .7s cubic-bezier(.3,1.4,.5,1), filter .5s, box-shadow .5s; }
.lamp-tribute .ul.locked .md { transform: scale(.3); filter: grayscale(1) brightness(.45); }
.lamp-tribute .ul.open .md { transform: none; filter: none; box-shadow: 0 12px 22px -8px rgba(10,16,40,.7), 0 0 34px rgba(255,210,110,.9); }
.lamp-tribute .ul .tx { opacity: 0; transform: translateX(-10px); transition: opacity .4s ease .15s, transform .4s ease .15s; }
.lamp-tribute .ul.open .tx { opacity: 1; transform: none; }
.lamp-tribute .ul .tx small { display: block; font: 900 15px/1 var(--f-body); letter-spacing: .3px; color: #ffd25e; text-shadow: 0 2px 10px rgba(10,16,40,.8); }
.lamp-tribute .ul .tx b { display: block; margin-top: 6px; font: 800 30px/1.05 var(--f-chunk); color: #fff4dc; text-shadow: 0 2px 12px rgba(10,16,40,.8); }
.lamp-tribute .ul .tx > span { display: block; max-width: 420px; margin-top: 4px; font: 700 16px/1.2 var(--f-body); color: rgba(255,244,220,.86); text-shadow: 0 2px 10px rgba(10,16,40,.8); }
.lamp-tribute .ul .tx > span span { color: inherit; background: none; }
.lamp-tribute .tierdot { flex: none; width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 46px/1 var(--f-chunk); color: #4a2a04;
  background: radial-gradient(circle at 34% 28%, #fff3b8 0%, #ffd650 30%, #e8a21e 72%, #b9740b 100%); box-shadow: inset 0 -5px 0 rgba(110,54,0,.32), 0 0 30px rgba(255,200,80,.8); transition: transform .6s cubic-bezier(.2,1.8,.4,1), filter .4s; }
.lamp-tribute .ul.locked .tierdot { transform: scale(.3); filter: grayscale(1); }
.lamp-tribute.m-won .unl.none + .acts { top: 520px; }

.lamp-tribute.m-won .acts { left: 124px; top: 650px; gap: 24px; }
.lamp-tribute.m-won .acts .slab { height: 112px; padding: 0 36px 6px; flex-direction: column; gap: 6px; font-size: 40px; }
.lamp-tribute.m-won .acts .slab small { font: 700 16px/1 var(--f-body); letter-spacing: 0; text-shadow: none; opacity: .88; }
.lamp-tribute.m-won .acts #endless { --c: #ffd860; --cd: #f2ad1c; --lip: #b37608; --tc: #3a2006; text-shadow: none; }
.lamp-tribute.m-won .acts #endless.ready { animation-name: lt-ready-gold; }
@keyframes lt-ready-gold { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.1) drop-shadow(0 0 18px rgba(255,200,64,.7)); } }
.lamp-tribute.m-won .acts .ghostbtn { font-size: 21px; color: #fff4dc; text-shadow: 0 2px 12px rgba(10,16,40,.9); }

.lamp-tribute .god { position: absolute; bottom: -40px; z-index: 4; pointer-events: none; transform-origin: 50% 100%; opacity: 0; transform: translateY(120px) scale(.8);
  transition: transform .6s cubic-bezier(.2,1.6,.4,1) var(--d, 0s), opacity .3s ease var(--d, 0s); }
.lamp-tribute.council .god { opacity: 1; transform: none; }
.lamp-tribute .god.zeusfig { pointer-events: auto; cursor: pointer; }
.lamp-tribute .god .gi { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; object-position: 50% 100%; animation: ltrib-bob 3.2s ease-in-out infinite; filter: drop-shadow(0 -6px 24px rgba(255,220,150,.35)); }
@keyframes ltrib-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.lamp-tribute .halo { position: absolute; left: 50%; top: 6%; width: 70%; aspect-ratio: 1; margin-left: -35%; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,170,.55), rgba(255,210,120,0) 66%); mix-blend-mode: screen; }
.lamp-tribute.m-won .bubble { box-shadow: 0 24px 44px -16px rgba(10,16,40,.8); }
.lamp-tribute.m-won .bubble .tail { bottom: -30px; }

/* the game's reduced-motion setting: transitions land at once too */
.reduced .lamp-tribute *, .reduced .lamp-tribute *::before, .reduced .lamp-tribute *::after { transition-duration: .001ms !important; transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  .lamp-tribute *, .lamp-tribute *::before, .lamp-tribute *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
