:root { --team: #ffd84d; --bg: #0d0524; --ink: #fff; --card: #2a1460; --gold: #ffd84d; --goldd: #b8860b; --navy: #1a0830; --mute: #d9ccff; --good: #17b26a; --bad: #d81b3c; }
/* same type rules as the TV: Bungee for titles and labels, Nunito for sentences, and one single-colour glyph set for emoji */
:root { --display: Bungee, 'Noto Emoji', Impact, sans-serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; overscroll-behavior: none; }
/* A phone's browser paints its own top bar in one flat colour (set from js/play/main.js). --top is that colour for
   each screen, and every background starts from it, so the bar and the page are one surface. */
html { background: #0d0524; } body { --top: #33127a; --blend: linear-gradient(var(--top), #0000 150px); }
[hidden] { display: none !important; }
/* the whole screen changes colour with the state of the show: body[data-view] is set from the view the TV sends */
body { background: var(--blend), radial-gradient(120% 70% at 50% 0%, #4a1a9a, var(--bg) 70%); color: var(--ink); font: 800 18px/1.3 Nunito, 'Noto Emoji', system-ui, sans-serif;
  display: flex; flex-direction: column; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: background-color .3s; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .08; background: radial-gradient(circle, #fff 1.2px, transparent 1.6px) 0 0 / 14px 14px; }
body[data-view=buzzer] { --top: #1b1730; background: var(--blend), radial-gradient(120% 70% at 50% 40%, #2a2340, var(--bg) 70%); }
body[data-view=live] { --top: #3a0a1b; background: var(--blend), radial-gradient(120% 70% at 50% 45%, #7a0f2c, var(--bg) 75%); }
body[data-view=locked] { --top: #150a36; background: var(--blend), radial-gradient(90% 60% at 50% 50%, #3b1d85, #05010f 80%); }
body[data-view=right] { --top: #129455; background: var(--blend), radial-gradient(120% 90% at 50% 30%, #17b26a, #0a5a34 85%); }
body[data-view=wrong] { --top: #a8142f; background: var(--blend), radial-gradient(120% 90% at 50% 30%, #d81b3c, #6b0a1f 85%); }
h1, h2, .display { font-family: var(--display); font-weight: 400; letter-spacing: .02em; margin: 0; }
#me { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--team); color: var(--navy); font-weight: 900; }
#me-team { font-family: var(--display); font-size: 13px; text-transform: uppercase; }
#status { position: relative; background: #ff3b5c; text-align: center; padding: 6px; font-size: 14px; }
#app { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px; min-height: 0; overflow-y: auto; }
#hostbar { position: relative; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 3px solid var(--gold); }
#hostbar::before { content: 'YOU’RE THE HOST'; width: 100%; font-size: 11px; letter-spacing: .16em; color: var(--gold); }
#hostbar button { flex: 1 1 40%; font-size: 15px; padding: 12px 6px; background: #3b1d85; }
#hostbar button.go { flex-basis: 100%; background: var(--gold); color: var(--navy); font-family: var(--display); font-size: 18px; box-shadow: 0 6px 0 var(--goldd); }

@keyframes bob { 50% { transform: translateY(-8px) rotate(4deg); } }
@keyframes popin { from { transform: scale(.6); opacity: 0; } }
@keyframes pop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes slam { 0% { transform: scale(3); opacity: 0; } 55% { transform: scale(.92); opacity: 1; } 75% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
@keyframes flipx { from { transform: perspective(600px) rotateX(-90deg); opacity: 0; } }
@keyframes ring { from { transform: scale(.7); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes heart { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.07); } 48% { transform: scale(1); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-12px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }

button, input, select { font: inherit; color: inherit; }
button { border: 0; border-radius: 16px; padding: 16px; background: var(--card); color: #fff; font-weight: 900; box-shadow: 0 5px 0 #0008; transition: transform .06s, box-shadow .06s; }
button:active { transform: translateY(4px); box-shadow: 0 1px 0 #0008; }
button:disabled { opacity: .35; }
button.primary { background: var(--gold); color: var(--navy); font-family: var(--display); font-size: 20px; min-height: 64px; box-shadow: 0 7px 0 var(--goldd); }
button.primary:active { box-shadow: 0 2px 0 var(--goldd); }
input[type=text], select { width: 100%; padding: 14px; border-radius: 14px; border: 3px solid #fff5; background: var(--bg); color: #fff; font-size: 20px; }
.prompt { font-size: 20px; text-align: center; margin: 0; padding: 14px; border-radius: 16px; background: var(--bg); border: 3px solid #fff5; }
.sub { color: var(--mute); font-size: 15px; text-align: center; margin: 0; }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.bigemoji { font-size: 84px; line-height: 1; animation: bob 2s ease-in-out infinite; }
#app > * { animation: popin .22s ease-out; }

/* join: the contestant in a spotlight, faces on a strip underneath, name on a podium plate */
.jtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--gold); text-shadow: 0 0 12px #ff7a3d; } .logo small { display: block; font-size: 10px; letter-spacing: .12em; color: #fff; text-shadow: none; margin-bottom: 3px; text-transform: uppercase; }
.roompill { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; border: 2px solid var(--gold); background: var(--bg); font-size: 13px; letter-spacing: .12em; color: var(--mute); }
.roompill b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--gold); }
#room-in { width: 4.6em; padding: 2px 4px; border: 0; border-bottom: 2px solid var(--gold); border-radius: 0; background: none; text-transform: uppercase; text-align: center; letter-spacing: .12em; font-family: var(--display); font-size: 18px; color: var(--gold); }
.jhero { position: relative; flex: 1; min-height: 190px; display: grid; place-items: center; }
.jhero::before { content: ''; position: absolute; left: 50%; top: -60px; width: 300px; height: 120%; margin-left: -150px; clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); background: linear-gradient(to bottom, #fff, transparent 90%); opacity: .2; filter: blur(8px); }
.avatar { position: relative; width: 180px; height: 180px; border-radius: 50%; background: var(--gold); border: 6px solid #fff; box-shadow: 0 10px 0 var(--goldd); display: grid; place-items: center; font-size: 100px; line-height: 1; }
.avatar::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 4px solid var(--gold); animation: ring 1.8s infinite; }
.avatar span { display: block; animation: pop .35s both; }
.emojis { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 10px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.emojis::-webkit-scrollbar { display: none; }
.emojis button { flex: none; width: 54px; height: 54px; padding: 0; border-radius: 50%; font-size: 26px; background: var(--bg); border: 3px solid #fff5; box-shadow: none; scroll-snap-align: center; }
.emojis button.on { background: var(--gold); border-color: #fff; transform: scale(1.1); }
.nick { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .16em; color: var(--mute); }
.nick input { height: 72px; text-align: center; border: 4px solid var(--gold); border-radius: 16px; font-family: var(--display); font-size: 32px; letter-spacing: 0; box-shadow: inset 0 0 24px #000; }
.linkish { background: none; box-shadow: none; padding: 8px; font-size: 14px; color: var(--mute); text-decoration: underline; }

/* lobby wait + host's games picker */
.inbadge { position: relative; width: 140px; height: 140px; border-radius: 50%; background: var(--team); display: grid; place-items: center; font-size: 78px; line-height: 1; animation: pop .5s both; }
.inbadge::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 4px solid #fff; animation: ring 1.6s infinite; }
.slamtxt { font-family: var(--display); font-size: 34px; line-height: 1.1; animation: slam .45s .2s both; }
.waiting { font-size: 14px; letter-spacing: .16em; color: var(--mute); text-transform: uppercase; animation: blink 1.4s infinite; }
details.games { width: 100%; border-radius: 16px; background: var(--bg); border: 2px solid #fff5; text-align: left; }
details.games summary { padding: 14px 16px; font-size: 15px; letter-spacing: .06em; cursor: pointer; }
details.games div { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
details.games button { padding: 8px 10px; border-radius: 10px; font-size: 13px; box-shadow: none; background: #0008; border: 1px solid #fff3; opacity: .45; }
details.games button.on { opacity: 1; background: #3b1d85; border-color: var(--gold); }

/* buzzer: grey while the host reads, then it goes live */
.buzzer { position: relative; flex: 1; display: grid; place-items: center; }
.buzzer button { position: relative; width: min(78vw, 52vh); aspect-ratio: 1; border-radius: 50%; font-family: var(--display); font-size: 52px; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff8a9c, #e3123c 60%, #8d0321); box-shadow: 0 14px 0 #5c0216, 0 0 70px #ff3b5c; border: 8px solid #fff5; animation: pulse .6s infinite; }
.buzzer button:active { transform: translateY(12px); box-shadow: 0 2px 0 #5c0216; }
.buzzer button.cold { background: radial-gradient(circle at 35% 30%, #8a8f9c, #4a4e5a 60%, #2a2d36); box-shadow: 0 14px 0 #1a1c22; font-size: 34px; animation: none; }
.buzzer button.early { animation: shake .4s; }
.buzzer .rings { position: absolute; width: min(78vw, 52vh); aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.buzzer .rings::before, .buzzer .rings::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 6px solid #ff3b5c; animation: ring 1.2s infinite; }
.buzzer .rings::after { animation-delay: .6s; } /* 1.2s and .6s: a ring leaves on every pulse of the button (.6s) */
.buzznote { font-family: var(--display); font-size: 20px; text-align: center; min-height: 52px; margin: 0; }
body[data-view=live] .buzznote { color: var(--gold); }

/* choices */
.choices { display: grid; gap: 12px; flex: 1; align-content: stretch; }
.choices button { font-size: 22px; min-height: 64px; display: flex; align-items: center; gap: 12px; text-align: left; animation: flipx .35s both; }
.choices button:nth-child(2) { animation-delay: .08s; } .choices button:nth-child(3) { animation-delay: .16s; } .choices button:nth-child(4) { animation-delay: .24s; } .choices button:nth-child(n+5) { animation-delay: .3s; }
.choices button .k { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--display); background: #0004; border-radius: 12px; }
.choices.grid button { justify-content: center; text-align: center; }
.choices:not(.grid) button:nth-child(4n+1), .c0 { background: #e3123c; } .choices:not(.grid) button:nth-child(4n+2), .c1 { background: #1f7bff; }
.choices:not(.grid) button:nth-child(4n+3), .c2 { background: #f5a800; color: var(--navy); } .choices:not(.grid) button:nth-child(4n+4), .c3 { background: #17b26a; }

/* locked in, and the result */
.lockedlbl { font-family: var(--display); font-size: 20px; letter-spacing: .3em; }
.locktile { min-width: 170px; max-width: 86vw; min-height: 170px; padding: 12px 22px; border-radius: 34px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: var(--display); font-size: 96px; line-height: 1; box-shadow: 0 10px 0 var(--goldd); animation: heart .9s infinite; }
.locktile.txt { font-size: 34px; min-height: 110px; }
.locked { color: var(--gold); }
.verdict { position: relative; width: 160px; height: 160px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 96px; line-height: 1; }
.verdict::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 6px solid #fff; animation: ring 1s 3; }
body[data-view=right] .verdict { color: #0b7a3e; } body[data-view=wrong] .verdict { color: #b00f2e; } body[data-view=wrong] .center { animation: shake .5s; }
.verdicttxt { font-family: var(--display); font-size: 42px; line-height: 1; animation: slam .45s both; }

/* sliders */
.slider-wrap { background: #0006; border-radius: 18px; padding: 18px 14px; }
input[type=range] { width: 100%; height: 44px; accent-color: var(--team); }
.readout { font-family: var(--display); font-size: 40px; text-align: center; color: var(--gold); }
.rangebar { position: relative; height: 26px; border-radius: 13px; background: #fff3; margin: 8px 0; overflow: hidden; }
.rangebar i { position: absolute; top: 0; bottom: 0; background: var(--team); border-radius: 13px; }
.row { display: flex; gap: 10px; } .row > * { flex: 1; }

/* chips */
.chiprow { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 16px; padding: 12px; }
.chiprow span { flex: 1; } .chiprow b { font-size: 24px; min-width: 76px; text-align: right; letter-spacing: -4px; }
.chiprow button { padding: 8px 16px; box-shadow: none; background: #fff3; font-size: 22px; }

/* match */
.matchrow { background: var(--card); border-radius: 16px; padding: 12px; display: grid; gap: 8px; font-size: 16px; }

/* draw / pad / stacker */
canvas.full, .pad { flex: 1; width: 100%; min-height: 0; border-radius: 18px; background: var(--bg); border: 3px dashed #fff5; touch-action: none; }
.pad { position: relative; overflow: hidden; flex: 0 0 auto; aspect-ratio: 16/9; align-self: center; border-style: solid; border-color: var(--team); }
.pad .ripple { position: absolute; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 4px solid var(--gold); animation: ripple .4s ease-out forwards; pointer-events: none; }
.pad .cross { position: absolute; width: 34px; height: 34px; margin: -17px; border: 4px solid var(--team); border-radius: 50%; pointer-events: none; }
.word { font-family: var(--display); font-size: 28px; color: var(--gold); text-align: center; }

/* letters */
.letters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.letters button { padding: 12px 0; font-family: var(--display); font-size: 22px; }

/* mash */
.mash { flex: 1; font-family: var(--display); font-size: 40px; background: var(--team); color: var(--navy); border-radius: 30px; }

.inks { display: flex; gap: 8px; justify-content: center; } .inks button { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 3px solid #0008; box-shadow: none; } .inks button.on { border-color: #fff; transform: scale(1.15); }
#app.settle { pointer-events: none; } #app.settle .choices button, #app.settle .mash { opacity: .55; transition: opacity .2s; }

/* "Got it" on the rules slides */
.buzzer button.gotit { font-size: 44px; background: radial-gradient(circle at 35% 30%, #8ff0b8, #17b26a 60%, #0a5a34); box-shadow: 0 14px 0 #06402a, 0 0 70px #2be37a; }
.buzzer button.gotit.done { animation: none; opacity: .65; font-size: 34px; transform: translateY(8px); box-shadow: 0 6px 0 #06402a; }

/* join: faces on an arc under the avatar (overrides the centred hero above) */
.jhero { display: block; min-height: 300px; }
.jwheel { position: absolute; left: 50%; top: calc(50% - 38px); width: 0; height: 0; }
.jwheel .avatar { position: absolute; left: -90px; top: -90px; }
.arc button { position: absolute; width: 54px; height: 54px; margin: -27px; padding: 0; border-radius: 50%; font-size: 26px; background: var(--bg); border: 3px solid #fff5; box-shadow: none; animation: pop .3s backwards; }
.arc button.on { background: var(--gold); border-color: #fff; transform: scale(1.12); }

/* join: two rings of faces around a slightly smaller avatar (overrides the arc sizes above) */
.jhero { min-height: 376px; }
.jwheel { top: 50%; }
.jwheel .avatar { width: 150px; height: 150px; left: -75px; top: -75px; font-size: 84px; }
.arc button { width: 44px; height: 44px; margin: -22px; font-size: 22px; border-width: 2px; }
.arc button.on { transform: scale(1.18); }

/* remote control for the TV's start screen */
body[data-view=remote] #app > * { animation: none; }
.rmpill { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; background: #2be37a; color: #06231d; font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
.rmpill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #06231d; animation: blink 1.4s infinite; }
.rmlbl { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.rmlevels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rmlevels button { height: 54px; padding: 0; border-radius: 14px; border: 3px solid #fff6; background: var(--bg); box-shadow: none; font-family: var(--display); font-size: 13px; text-transform: uppercase; }
.rmlevels.two { grid-template-columns: 1fr 1fr; } .solotag { font-family: var(--display); font-size: 14px; color: var(--gold); text-align: center; }
.rmlevels button.on { background: var(--gold); color: var(--navy); border-color: #fff; box-shadow: 0 5px 0 var(--goldd); }
.rmrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rmstep { display: flex; align-items: center; gap: 10px; } .rmstep button { width: 52px; height: 52px; padding: 0; border-radius: 14px; border: 3px solid #fff6; background: var(--bg); box-shadow: none; font-family: var(--display); font-size: 24px; }
.rmstep b { width: 52px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 36px; color: var(--gold); }
.rmcats { display: flex; flex-wrap: wrap; gap: 8px; }
.rmcats button { min-height: 44px; padding: 0 13px; border-radius: 30px; border: 2px dashed #fff8; background: none; box-shadow: none; color: var(--mute); font-size: 15px; }
.rmcats button.on { border-style: solid; border-color: var(--gold); background: #3b1d85; color: #fff; }
.rmplay { position: sticky; bottom: -16px; margin: auto -16px -16px; padding: 12px 16px max(18px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 3px solid var(--gold); display: flex; flex-direction: column; gap: 8px; }
.rmplay button { min-height: 72px; font-size: 28px; }

/* shaking the phone to roll: the buttons rattle until you stop */
.shakeme { display: grid; justify-items: center; gap: 4px; margin: 18px 0; text-align: center; }
.shakeme b { font-size: 96px; line-height: 1; font-weight: 400; animation: shake .9s infinite; }
.shakeme span { font-family: var(--display); font-size: 44px; color: var(--gold, #ffd84d); }
.shakeme small { font-size: 15px; color: var(--mute); }
body.shaking .shakeme b { animation-duration: .25s; }
.choices.late { display: none; }
.jmotion { margin: 0; font-size: 13px; }

/* glyph colours: a face on gold or on your team colour is drawn dark; everywhere else it takes the text colour */
.avatar, .inbadge, .arc button.on { color: var(--navy); } .arc button { color: #fff; } .bigemoji { color: var(--gold); }
body[data-view=right] .bigemoji, body[data-view=wrong] .bigemoji { color: #fff; }


/* motion, same rules as the TV: a new screen cuts in; only arrivals, reveals and verdicts move.
   Loops are kept for "we are waiting on you" (the buzzer, the waiting line) and for suspense (the locked-in heartbeat). */
@keyframes cut { from { opacity: 0; } }
#app > * { animation: cut .12s linear; }
.bigemoji { animation: pop .4s both; } .avatar::after { animation: none; } .inbadge::after { animation: ring 1.2s 2; }

/* lobby: your team, who captains it, and (for the captain) its name, mascot and colour */
.teamcard { width: 100%; border-radius: 18px; background: var(--bg); border: 3px solid var(--team); overflow: hidden; text-align: left; }
.teamcard h3 { margin: 0; padding: 10px 14px; background: var(--team); color: var(--navy); font-family: var(--display); font-size: 18px; line-height: 1.15; text-transform: uppercase; }
.teamcard .capline { margin: 0; padding: 10px 14px 0; font-size: 14px; color: var(--mute); }
.teamedit { padding: 6px 14px 0; display: grid; gap: 6px; } .teamedit label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 6px; display: grid; gap: 6px; }
.teamedit input[type=text] { padding: 10px 12px; font-size: 18px; letter-spacing: 0; text-transform: none; }
.pickrow { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; } .pickrow.sw { grid-template-columns: repeat(6, 1fr); }
.pickrow button { padding: 0; aspect-ratio: 1; border-radius: 12px; font-size: 20px; line-height: 1; background: #0008; border: 2px solid #fff3; box-shadow: none; display: grid; place-items: center; }
.pickrow button.on { border-color: #fff; background: var(--team); color: var(--navy); } .pickrow.sw button { aspect-ratio: 2; border-color: #0006; } .pickrow.sw button.on { border-color: #fff; box-shadow: 0 0 0 3px #fff; }
.pickrow.sw button:disabled { opacity: .18; }
.teambtns { display: flex; gap: 8px; padding: 12px 14px 14px; } .teambtns button { flex: 1; padding: 12px 8px; font-size: 14px; }

/* shake to roll: a die that tumbles to a new face with every shake, and sits square when you stop */
.shakeme.rolling { gap: 14px; margin: 26px 0 18px; }
.die { width: 150px; height: 150px; margin: 22px 0 26px; padding: 22px; box-sizing: border-box; border-radius: 30px; background: #fff; box-shadow: 0 10px 0 #b9b0dd, 0 22px 30px #0008;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); place-items: center; transition: transform .16s cubic-bezier(.3, 1.5, .5, 1); animation: dienudge 2.2s ease-in-out infinite; }
.die i { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); opacity: 0; } .die i.on { opacity: 1; }
body.shaking .die { animation: none; box-shadow: 0 6px 0 #b9b0dd, 0 30px 40px #0006; }
@keyframes dienudge { 0%, 70%, 100% { rotate: 0deg; } 78% { rotate: -9deg; } 86% { rotate: 8deg; } 94% { rotate: -4deg; } }

/* shaken loose: the die leaves its place and has the whole screen to bounce around (moved by js/play/main.js) */
.dieslot { width: 150px; height: 150px; margin: 22px 0 26px; border-radius: 30px; border: 3px dashed #fff3; box-sizing: border-box; }
.die.loose { position: fixed; left: 0; top: 0; z-index: 40; margin: 0; width: 116px; height: 116px; padding: 17px; border-radius: 24px; animation: none; transition: none; pointer-events: none; box-shadow: 0 6px 0 #b9b0dd, 0 14px 24px #0007; }
.die.loose i { width: 19px; height: 19px; } .die.loose.landed { transition: transform .22s cubic-bezier(.3, 1.6, .5, 1); }
