/* New Run — Lamplight board NewRun.dc.html. Scoped to .lamp-newrun; positions are the board's 1920×1080 px.
   Weights: --f-chunk is Parkinsans 800; --f-body 500 -> 500, 700/800 -> 600, 900 -> 700. */
.lamp-newrun { background: #2b1446; color: #fff4dc; user-select: none; overflow: hidden; }
.lamp-newrun .bg { position: absolute; inset: 0; background-size: cover; background-position: center; pointer-events: none; }
.lamp-newrun .veil { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 62% 80% at 66% 52%, rgba(26,8,38,.82), rgba(26,8,38,.6) 55%, rgba(26,8,38,.3) 80%), linear-gradient(90deg, rgba(26,8,38,.35), rgba(26,8,38,0) 30%); }
.lamp-newrun .keeper { position: absolute; left: -60px; top: 430px; width: 640px; height: 640px; pointer-events: none; transform-origin: 50% 100%; animation: ln-breathe 6s ease-in-out infinite; }
@keyframes ln-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.lamp-newrun .lamp { position: absolute; left: -30px; top: 770px; width: 200px; height: 200px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(120,190,255,.6), rgba(80,150,255,.15) 40%, rgba(80,150,255,0) 66%); mix-blend-mode: screen; animation: ln-flicker 2.2s ease-in-out infinite; }
@keyframes ln-flicker { 0% { opacity: .75; } 20% { opacity: 1; } 35% { opacity: .68; } 55% { opacity: .95; } 75% { opacity: .78; } 100% { opacity: .75; } }

.lamp-newrun .head { position: absolute; left: 84px; top: 56px; text-shadow: 0 3px 16px rgba(20,6,30,.6); }
.lamp-newrun .head h1 { margin: 0; font: 400 74px/1 var(--f-chunk); color: #fff4dc; letter-spacing: .4px; text-shadow: 0 5px 0 rgba(30,8,40,.5), 0 0 34px rgba(255,170,80,.3); }
.lamp-newrun .head p { margin: 12px 0 0 4px; font: 700 22px/1.3 var(--f-body); color: rgba(255,244,220,.82); max-width: 640px; }

/* Zeus: cream bubble with his face medallion instead of a tail */
.lamp-newrun .zb { left: 70px; top: 228px; width: 440px; max-width: none; z-index: 50; padding: 18px 26px 20px 112px; border-radius: 30px; background: #fff4dc; color: #2a1838; font: 700 24px/1.3 var(--f-body); box-shadow: 0 24px 44px -16px rgba(10,4,20,.8); transform-origin: 10% 50%; --whoc: #2f6fd1; }
.lamp-newrun .zb::after { content: none; }
.lamp-newrun .zb .who { margin-bottom: 6px; font: 400 20px/1 var(--f-chunk); letter-spacing: .5px; color: #2f6fd1; }
.lamp-newrun .zb .face { position: absolute; left: -14px; top: 50%; width: 104px; height: 104px; margin-top: -52px; border-radius: 50%; background: #3b62c4 url("../../../assets/chars/zeus.webp?v=matte4") no-repeat; background-size: 217%; background-position: 50% 7%; /* the head of a matte bust */ box-shadow: 0 10px 20px -6px rgba(10,4,20,.7), 0 0 0 6px #fff4dc; }

.lamp-newrun .lbl { font: 900 18px/1 var(--f-body); letter-spacing: .3px; color: rgba(255,244,220,.86); }
.lamp-newrun .lbl span { font-family: var(--f-chunk); font-weight: 400; color: rgba(255,244,220,.74); }
.lamp-newrun .grid-l { position: absolute; left: 560px; top: 200px; }

/* patron deck medallions */
.lamp-newrun .grid { position: absolute; left: 540px; top: 226px; width: 760px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 2px; }
.lamp-newrun .deck { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 156px; padding: 8px 0 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.lamp-newrun .deck .halo { position: absolute; left: 50%; top: -6px; width: 160px; height: 160px; margin-left: -80px; border-radius: 40px; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255,214,110,.6), rgba(255,180,80,.18) 46%, rgba(255,180,80,0) 68%); transition: opacity .25s; }
.lamp-newrun .deck .md { position: relative; width: 104px; height: 104px; flex: none; border-radius: 26px; background-color: rgba(42,22,62,.72); background-size: 80%; background-repeat: no-repeat; background-position: 50% 58%; /* rounded tile, the whole matte emblem visible */ box-shadow: 0 10px 18px -6px rgba(10,2,20,.7); transition: transform .22s cubic-bezier(.3,1.8,.5,1); }
.lamp-newrun .deck:hover .md, .lamp-newrun .deck:focus-visible .md { transform: translateY(-8px) scale(1.08); }
.lamp-newrun .deck .nm { max-width: 150px; font: 400 17px/1.08 var(--f-chunk); color: #fff4dc; text-align: center; text-shadow: 0 2px 10px rgba(10,2,20,.7); }
.lamp-newrun .deck.sel .halo { opacity: 1; animation: ln-pulse 2.4s ease-in-out infinite; }
@keyframes ln-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.lamp-newrun .deck.sel .md { transform: translateY(-6px) scale(1.12); box-shadow: 0 14px 22px -6px rgba(10,2,20,.7), 0 0 26px rgba(255,200,90,.85); }
.lamp-newrun .deck.sel .nm { color: #ffd25e; }
.lamp-newrun .deck.dk-bump .md { animation: ln-bump calc(.4s / var(--speed, 1)) cubic-bezier(.2,1.8,.4,1); }
@keyframes ln-bump { 0% { transform: translateY(-6px) scale(.9); } 100% { transform: translateY(-6px) scale(1.12); } }
.lamp-newrun .deck.locked { cursor: not-allowed; }
.lamp-newrun .deck.locked .md { filter: grayscale(1) brightness(.42) contrast(.9); }
.lamp-newrun .deck.locked .nm { color: rgba(255,244,220,.62); }
.lamp-newrun .deck .lk { position: absolute; left: 50%; top: 48px; width: 30px; height: 30px; margin-left: -15px; fill: none; stroke: rgba(255,244,220,.7); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.lamp-newrun .deck.dk-nope .md, .lamp-newrun .tier.dk-nope .dot { animation: ln-deny .32s; }
@keyframes ln-deny { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.lamp-newrun .deck:focus-visible, .lamp-newrun .tier:focus-visible { outline: 3px solid #ffd25e; outline-offset: 5px; border-radius: 22px; }

/* the chosen deck */
.lamp-newrun .det { position: absolute; left: 1360px; top: 196px; width: 500px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lamp-newrun .det .rays { position: absolute; left: 50%; top: -50px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; pointer-events: none; background: repeating-conic-gradient(from 0deg, rgba(255,214,140,.16) 0deg 8deg, rgba(255,214,140,0) 8deg 22deg); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 66%); mask-image: radial-gradient(circle, #000 20%, transparent 66%); animation: ln-spin 30s linear infinite; }
@keyframes ln-spin { to { transform: rotate(360deg); } }
.lamp-newrun .det .big { position: relative; width: 230px; height: 230px; border-radius: 52px; background-color: rgba(42,22,62,.72); background-size: 80%; background-repeat: no-repeat; background-position: 50% 58%; box-shadow: 0 22px 36px -12px rgba(10,2,20,.8), 0 0 50px rgba(255,190,90,.45); }
.lamp-newrun .det .big.dpop { animation: ln-dpop calc(.5s / var(--speed, 1)) cubic-bezier(.2,1.8,.4,1); }
@keyframes ln-dpop { from { transform: scale(.6); } to { transform: scale(1); } }
.lamp-newrun .det h2 { margin: 26px 0 0; font: 400 54px/1 var(--f-chunk); color: #fff4dc; text-shadow: 0 4px 0 rgba(30,8,40,.5); }
.lamp-newrun .det .pat { margin-top: 10px; font: 900 18px/1 var(--f-body); letter-spacing: .3px; color: #ffd25e; }
.lamp-newrun .det .eff { margin-top: 14px; font: 700 25px/1.3 var(--f-body); color: #fff4dc; max-width: 460px; }
.lamp-newrun .det .eff .t-k, .lamp-newrun .det .eff .t-h { color: #ffe7b0; }
.lamp-newrun .det .eff .t-g { color: #ffd25e; }
/* starting numbers: a soft tray of tokens that look the way each number looks in a Trial (Play and Discard
   badges, the obol purse), with the patron's change as a small pill on the token */
.lamp-newrun .det .facts { display: flex; justify-content: center; gap: 4px; margin-top: 18px; padding: 16px 14px 12px; border-radius: 28px; background: rgba(22,8,34,.5); box-shadow: 0 18px 34px -18px rgba(8,2,14,.9); }
.lamp-newrun .fact { width: 112px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lamp-newrun .det .facts.many .fact { width: 92px; }
.lamp-newrun .fact .tok { position: relative; height: 54px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.lamp-newrun .fact .tok b { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(180deg, #fffaf0, #f3e2bf); box-shadow: inset 0 2px 0 #fff, 0 5px 0 rgba(90,40,60,.45), 0 12px 18px -8px rgba(0,0,0,.6); font: 400 30px/56px var(--f-chunk); text-align: center; color: #2a1838; }
.lamp-newrun .f-plays .tok b { color: #d9401f; }
.lamp-newrun .f-discards .tok b { color: #0e8a86; }
.lamp-newrun .f-favors .tok b { color: #7a3fc4; }
.lamp-newrun .f-offers .tok b { color: #a8306a; }
.lamp-newrun .f-hand .tok b { width: 42px; height: 56px; border-radius: 9px; line-height: 58px; }
.lamp-newrun .f-obols .tok b, .lamp-newrun .f-interest .tok b { color: #c98a0c; }
.lamp-newrun .f-interest .tok b { opacity: .55; }
.lamp-newrun .fact small { font: 800 15px/1.1 var(--f-body); color: rgba(255,244,220,.72); white-space: nowrap; }
.lamp-newrun .fact .dl { position: absolute; right: -18px; top: -12px; height: 24px; padding: 0 8px; border-radius: 12px; font: 900 15px/24px var(--f-body); font-style: normal; color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.25); white-space: nowrap; }
.lamp-newrun .fact.up .dl { background: #2fa86a; }
.lamp-newrun .fact.down .dl { background: #e0553a; }
.lamp-newrun .fact.up small { color: #9fe8c4; }
.lamp-newrun .fact.down small { color: #ffb3a4; }

/* tier track */
.lamp-newrun .tiers { position: absolute; left: 560px; top: 762px; width: 1300px; }
.lamp-newrun .track { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 16px; }
.lamp-newrun .track .line { position: absolute; left: 5%; right: 5%; top: 27px; height: 6px; border-radius: 6px; background: rgba(255,244,220,.12); }
.lamp-newrun .track .fill { position: absolute; left: 5%; top: 27px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ffd25e, #ff9a4a); box-shadow: 0 0 14px rgba(255,190,80,.8); transition: width .4s cubic-bezier(.3,1.4,.5,1); }
.lamp-newrun .tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.lamp-newrun .tier .dot { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 400 28px/1 var(--f-chunk); color: #fff4dc; background: radial-gradient(circle at 38% 30%, rgba(90,60,120,.95), rgba(40,18,60,.95) 70%); box-shadow: inset 0 2px 0 rgba(255,255,255,.16), 0 6px 14px -4px rgba(10,2,20,.7); transition: transform .2s cubic-bezier(.3,1.8,.5,1); }
.lamp-newrun .tier:hover .dot { transform: translateY(-4px) scale(1.08); }
.lamp-newrun .tier .tn { font: 400 21px/1 var(--f-chunk); color: rgba(255,244,220,.88); }
.lamp-newrun .tier.sel .dot { color: #4a2a04; background: radial-gradient(circle at 34% 28%, #fff3b8 0%, #ffd650 30%, #e8a21e 72%, #b9740b 100%); box-shadow: inset 0 -4px 0 rgba(110,54,0,.32), 0 0 26px rgba(255,200,80,.8); transform: scale(1.12); }
.lamp-newrun .tier.sel .tn { color: #ffd25e; }
.lamp-newrun .tier.done .dot { color: #4a2a04; background: #e7b84a; }
.lamp-newrun .tier.locked { cursor: not-allowed; }
.lamp-newrun .tier.locked .dot { color: rgba(255,244,220,.5); background: rgba(30,12,44,.85); }
.lamp-newrun .tier.locked .tn { color: rgba(255,244,220,.58); }
.lamp-newrun .tier-desc { margin-top: 16px; min-height: 28px; font: 700 21px/1.3 var(--f-body); color: rgba(255,244,220,.86); }
.lamp-newrun .tier-desc b { font: 400 24px/1 var(--f-chunk); color: #ffd25e; }
.lamp-newrun .tier-desc .t-k, .lamp-newrun .tier-desc .t-h { color: #ffe7b0; }
.lamp-newrun .tier-desc .t-g { color: #ffd25e; }

/* seed and actions */
.lamp-newrun .seedbox { position: absolute; left: 560px; top: 968px; display: flex; align-items: center; gap: 14px; }
.lamp-newrun .seedbox label { font: 900 18px/1 var(--f-body); color: rgba(255,244,220,.8); }
.lamp-newrun .well { width: 270px; height: 62px; box-sizing: border-box; padding: 0 18px; border: 0; border-radius: 20px; background: rgba(14,4,22,.7); box-shadow: inset 0 3px 10px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.08); color: #fff4dc; font: 400 28px/62px var(--f-chunk); letter-spacing: 3px; text-transform: uppercase; outline: none; user-select: text; }
.lamp-newrun .well::placeholder { color: rgba(255,244,220,.5); }
.lamp-newrun .well:focus { box-shadow: inset 0 3px 10px rgba(0,0,0,.55), 0 0 0 3px rgba(255,210,94,.6), 0 0 24px rgba(255,190,80,.4); }
.lamp-newrun .ibtn { width: 58px; height: 58px; padding: 0; background: rgba(30,10,44,.7); }
.lamp-newrun .ibtn .ico { width: 26px; height: 26px; stroke-width: 2.4; }
.lamp-newrun .ibtn:focus-visible { outline: 3px solid #ffd25e; outline-offset: 5px; }
.lamp-newrun .acts { position: absolute; right: 60px; top: 938px; display: flex; align-items: center; gap: 30px; }
.lamp-newrun .ghost { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border: 0; background: none; color: rgba(255,244,220,.88); font: 900 22px/1 var(--f-body); cursor: pointer; transition: color .15s, transform .15s cubic-bezier(.3,1.8,.5,1); }
.lamp-newrun .ghost:hover, .lamp-newrun .ghost:focus-visible { color: #ffd66b; transform: translateX(-4px); }
.lamp-newrun .ghost:focus-visible { outline: 3px solid #ffd25e; outline-offset: 5px; border-radius: 16px; }
.lamp-newrun .ghost .ico { width: 24px; height: 24px; stroke-width: 2.4; }
.lamp-newrun .slab { --c1: #ff7c50; --c2: #f2492a; --lip: #b3321b; --shade: rgba(110,18,8,.6); --glow: rgba(255,120,70,.6);
  position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; box-sizing: border-box; height: 116px; padding: 0 40px 4px 36px;
  border: 0; border-radius: 28px; color: #fff; cursor: pointer; overflow: hidden;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.42), inset 0 -6px 0 rgba(0,0,0,.08), 0 9px 0 var(--lip), 0 26px 40px -14px var(--shade);
  transition: transform .16s cubic-bezier(.3,1.8,.5,1), box-shadow .16s ease;
  font: 400 50px/1 var(--f-chunk); letter-spacing: .4px; text-shadow: 0 3px 0 rgba(100,20,8,.25); }
.lamp-newrun .slab::before { content: ""; position: absolute; top: -40%; bottom: -40%; left: -140px; width: 70px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.6), rgba(255,255,255,0)); transform: skewX(-20deg); pointer-events: none; }
.lamp-newrun .slab:hover { transform: translateY(-5px) scale(1.02); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -6px 0 rgba(0,0,0,.08), 0 14px 0 var(--lip), 0 34px 50px -14px var(--shade), 0 0 50px var(--glow); }
.lamp-newrun .slab:hover::before { left: 118%; transition: left .6s ease-out; }
.lamp-newrun .slab:active { transform: translateY(8px) scale(.98, .94); box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 1px 0 var(--lip), 0 8px 16px -6px var(--shade); transition-duration: .05s; }
.lamp-newrun .slab:focus-visible { outline: none; box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 9px 0 var(--lip), 0 0 0 5px rgba(255,244,220,.95), 0 0 40px var(--glow); }
.lamp-newrun .slab .ico { width: 44px; height: 44px; stroke-width: 2.6; }
.lamp-newrun .slab .kbd { display: inline-block; padding: 4px 10px 5px; border-radius: 9px; background: rgba(40,0,0,.2); color: rgba(255,255,255,.9); font: 900 14px/1 var(--f-body); text-shadow: none; opacity: 1; vertical-align: middle; letter-spacing: 0; }

@media (prefers-reduced-motion: reduce) {
  .lamp-newrun *, .lamp-newrun *::before, .lamp-newrun *::after { animation: none !important; transition-duration: .001s !important; }
  .lamp-newrun .zb.show { opacity: 1; transform: none; }
  .lamp-newrun .zb.hide { opacity: 0; }
}
.reduced .lamp-newrun *, .reduced .lamp-newrun *::before, .reduced .lamp-newrun *::after { animation: none !important; transition-duration: .001s !important; }
.reduced .lamp-newrun .zb.show { opacity: 1; transform: none; }
.reduced .lamp-newrun .zb.hide { opacity: 0; }
.lamp-newrun .t-s-H { color: #ff7a7f; } .lamp-newrun .t-s-D { color: #ffa94d; } .lamp-newrun .t-s-C { color: #7fd69a; } .lamp-newrun .t-s-S { color: #9db4ff; }
.lamp-newrun .det h2 { white-space: nowrap; }
.lamp-newrun .det.long .eff { font-size: 21px; }
.lamp-newrun .det .facts.many .fact small { white-space: normal; text-wrap: balance; text-align: center; }
