@font-face { font-family: "LINE Seed Sans TH"; src: url(assets/fonts/LINESeedSansTH_Rg.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "LINE Seed Sans TH"; src: url(assets/fonts/LINESeedSansTH_Bd.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: "LINE Seed Sans TH"; src: url(assets/fonts/LINESeedSansTH_He.ttf); font-weight: 800; font-display: swap; }
:root { --cream: #f6eedb; --cream2: #e9dfc6; --creamEdge: #b7a983; --ink: #1d2029; --slab: #1c2230; --slab2: #2a3244; --slabEdge: #0a0c11; --gold: #ffc21c; --goldEdge: #b97d00; --red: #ef5a4c; --redEdge: #a5281d; --green: #2fb573; --mute: #a9b3c6; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0c2233; font-family: "LINE Seed Sans TH", "Leelawadee UI", Tahoma, sans-serif; color: var(--cream); user-select: none; -webkit-user-select: none; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
img { -webkit-user-drag: none; }
.hide { display: none !important; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; background: #1b5f8a; overflow: hidden; }
.noanim * { animation: none !important; transition: none !important; }
/* the stage is 1920 x 1080 on a 16:9 window and grows wider or taller on any other window (app.js fit): everything on it
   is placed from an edge or from the middle, never at a fixed spot of a 1920 x 1080 picture */
#gl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
#hud, #bubbles, #fx { position: absolute; inset: 0; pointer-events: none; }
#hud > * { pointer-events: auto; }
#bubbles { z-index: 20; }
#fx { z-index: 40; }
.face { display: block; width: 100%; height: 100%; object-fit: cover; }
.coin { display: inline-block; width: 24px; height: 24px; object-fit: contain; vertical-align: middle; }

/* ---------- round counter ---------- */
#roundBox { position: absolute; left: 432px; top: 16px; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 16px 3px 14px; border-radius: 18px; background: var(--slab); border: 4px solid var(--slabEdge); }
#roundBox .rb1 { display: flex; align-items: baseline; gap: 7px; }
#roundBox .rb1 span { font-size: 18px; font-weight: 700; color: var(--mute); }
#roundBox .rb1 b { font-size: 36px; line-height: 1; font-weight: 800; }
#roundBox p { margin: 0; font-size: 14px; line-height: 1.25; color: var(--mute); white-space: nowrap; }
#roundBox p.fe { font-size: 15px; font-weight: 700; color: var(--ink); }
#roundBox p.fe b { display: block; font-size: 18px; font-weight: 800; }
#roundBox em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink); opacity: .75; white-space: nowrap; }
#roundBox.feast .rb1 span, #roundBox.feast .rb1 b { color: var(--ink); }
#roundBox.f1 { background: #ffc21c; border-color: #b97d00; }
#roundBox.f2 { background: #ff9f6b; border-color: #a5521d; }
#roundBox.f3 { background: #b9a2ff; border-color: #4a3399; }

/* ---------- whose turn: a bar at the top of the screen, in the player's colour ---------- */
#turnBar { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; height: 70px; padding: 0 30px 3px 8px; border-radius: 99px; background: var(--c); color: var(--ink); border: 5px solid var(--ink); white-space: nowrap; z-index: 6; animation: tbin .32s cubic-bezier(.3, 1.5, .5, 1); }
#turnBar .tf { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #10141d; }
#turnBar small { font-size: 21px; font-weight: 700; }
#turnBar b { font-size: 34px; line-height: 1; font-weight: 800; }
@keyframes tbin { 0% { translate: 0 -90px; } }

/* ---------- player cards: one in each corner ---------- */
.pc { position: absolute; width: 400px; height: 156px; padding: 9px 12px 8px 130px; border-radius: 24px; background: var(--slab); border: 5px solid var(--slabEdge); transition: opacity .2s, filter .2s; }
.pc.tl { left: 18px; top: 16px; }
.pc.tr { right: 18px; top: 16px; }
.pc.bl { left: 18px; bottom: 22px; }
.pc.br { right: 18px; bottom: 22px; }
.pc .pf { position: absolute; left: 12px; top: 15px; width: 106px; height: 106px; border-radius: 22px; background: color-mix(in srgb, var(--c) 30%, #10141d); border: 5px solid var(--c); overflow: hidden; }
.pc .pm { display: flex; align-items: baseline; gap: 10px; }
.pc .pm b { font-size: 27px; line-height: 1.15; font-weight: 800; }
.pc .pm small { font-size: 14.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc .cash { margin-top: 1px; }
.pc .cash b { font-size: 37px; line-height: 1.12; font-weight: 800; vertical-align: middle; }
.pc .cash .coin { width: 32px; height: 32px; margin-right: 8px; }
.pc .sub { font-size: 15px; color: var(--mute); white-space: nowrap; }
.pc .sub u { text-decoration: none; padding: 0 9px 1px; border-radius: 99px; background: var(--gold); color: var(--ink); font-weight: 700; }
.pc .lots { display: flex; gap: 4px; margin-top: 6px; height: 16px; align-items: center; }
.pc .lots i { width: 15px; height: 15px; border-radius: 4px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.pc .lots { align-items: flex-end; height: 26px; }
.pc .lots i.lv1 { height: 10px; }
.pc .lots i.lv2 { height: 15px; }
.pc .lots i.lv3 { height: 20px; }
.pc .lots i.lv4 { height: 26px; outline: 2px solid var(--gold); }
.pc .lots span { font-size: 14px; color: #6f7a90; }
.pc .lots .isl { margin-left: 6px; padding: 0 9px 1px; border-radius: 99px; background: #49b6d6; color: var(--ink); font-style: normal; font-size: 14px; font-weight: 800; }
.pc .lots .isl.zn { background: #e9b949; }
.pc .lots .isl.rw { background: #b9a4f0; }
.pc .lots { flex-wrap: nowrap; overflow: hidden; }
.pc .lots .isl { flex: none; white-space: nowrap; }
.pc .sub u { margin-left: 6px; }
.pc .sub u.jail { background: #8d99ad; }
/* the card of the player whose turn it is: one even frame in the player's colour, a tag on its edge, and the other
   cards step back. No scaling and no glow: the frame stays straight */
.pc.turn { border-color: var(--c); background: color-mix(in srgb, var(--c) 20%, var(--slab)); }
.pc.wait { filter: saturate(.55) brightness(.78); }
.pc .nowTag { position: absolute; left: 20px; padding: 1px 16px 3px; border-radius: 99px; background: var(--c); color: var(--ink); border: 4px solid var(--ink); font-size: 17px; font-weight: 800; white-space: nowrap; }
.pc.tl .nowTag, .pc.tr .nowTag { bottom: -20px; }
.pc.bl .nowTag, .pc.br .nowTag { top: -20px; }
.pc.out { filter: saturate(.25) brightness(.75); }
.pc .bustTag { position: absolute; right: 16px; top: 44px; padding: 0 14px 3px; border: 4px solid var(--red); border-radius: 12px; color: var(--red); font-size: 26px; font-weight: 800; transform: rotate(-7deg); background: #101113; }

/* ---------- caption, questions, speech ---------- */
@keyframes shake { 15% { translate: -10px 0; } 35% { translate: 9px 0; } 55% { translate: -6px 0; } 75% { translate: 4px 0; } }
/* ---------- signs: the news of the game, in the middle of the screen. One plate, a colour and a picture per kind ---------- */
#sign { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%); display: flex; align-items: stretch; min-width: 500px; width: max-content; border-radius: 26px; background: var(--slab); color: var(--cream); border: 6px solid var(--k); box-shadow: 0 10px 0 rgba(0, 0, 0, .45); z-index: 28; animation: sginC .3s cubic-bezier(.3, 1.5, .5, 1); --k: #8d99ad; }
@keyframes sgin { 0% { scale: .55; opacity: 0; } }
/* for a plate that is centred with translate(-50%, -50%): the shift has to be written in front of the scale, or the
   shift is scaled too and the plate seems to grow out of its lower right corner */
@keyframes sginC { 0% { transform: translate(-50%, -50%) scale(.55); opacity: 0; } }
@keyframes binC { 0% { transform: translate(-50%, -50%) scale(.5); opacity: 0; } 70% { transform: translate(-50%, -50%) scale(1.06); } }
@keyframes binX { 0% { transform: translateX(-50%) scale(.5); opacity: 0; } 70% { transform: translateX(-50%) scale(1.06); } }
@keyframes stampC { 0% { transform: translate(-50%, -50%) rotate(-8deg) scale(2.8); opacity: 0; } }
@keyframes sayinC { 0% { transform: translate(-50%, -100%) scale(.6); opacity: 0; } }
#sign .sgi { flex: none; width: 124px; display: flex; align-items: center; justify-content: center; background: var(--k); border-radius: 20px 0 0 20px; }
#sign .sgi img { width: 84px; height: 84px; object-fit: contain; }
#sign .sgt { padding: 10px 36px 14px 24px; display: flex; flex-direction: column; justify-content: center; }
#sign .sgt small { font-size: 23px; font-weight: 700; color: var(--mute); white-space: nowrap; }
#sign .sgt > b { font-size: 46px; line-height: 1.18; font-weight: 800; white-space: nowrap; }
#sign .sgt span { font-size: 25px; font-weight: 700; color: var(--mute); white-space: nowrap; }
#sign .sgt em { align-self: flex-start; margin-top: 6px; padding: 1px 18px 3px; border-radius: 99px; background: var(--gold); color: var(--ink); font-style: normal; font-size: 22px; font-weight: 800; }
#sign .who { font-weight: 800; }
#sign .amt { font-style: normal; color: var(--gold); }
#sign.s-small { min-width: 0; }
#sign.s-small .sgi { width: 92px; }
#sign.s-small .sgi img { width: 60px; height: 60px; }
#sign.s-small .sgt > b { font-size: 34px; }
#sign.s-small .sgt small { font-size: 20px; }
#sign.s-big .sgt > b { font-size: 62px; }
#sign.s-big .sgi { width: 150px; }
#sign.s-big .sgi img { width: 108px; height: 108px; }
#sign.s-shake { animation: sginC .3s cubic-bezier(.3, 1.5, .5, 1), shake .5s .3s; }
#sign.k-buy { --k: #2fb573; } #sign.k-build { --k: #4fb3cf; } #sign.k-pass { --k: #ffc21c; } #sign.k-free { --k: #2fb573; }
#sign.k-fair { --k: #e06fa6; } #sign.k-fly { --k: #58c1e6; } #sign.k-skip { --k: #5c6880; } #sign.k-sell { --k: #c08a55; } #sign.k-dbl { --k: #9a7fe6; }
#sign.k-toll { --k: #ef5a4c; } #sign.k-toll .amt { color: #ff9085; font-size: 1.18em; }
#sign.k-take { --k: #ef5a4c; background: #2b1614; } #sign.k-take .amt { color: #ff9085; }
#sign.k-mark { --k: #ffc21c; background: #2b2410; } #sign.k-mark .sgt > b { color: var(--gold); }
/* jail: iron bars instead of a picture */
#sign.k-jail { --k: #8d99ad; }
#sign.k-jail .sgi { background: #10141d repeating-linear-gradient(90deg, #8d99ad 0 12px, transparent 12px 30px); background-position: 9px 0; border-right: 6px solid #8d99ad; }
#sign .sgs { position: absolute; right: -34px; top: -38px; padding: 0 22px 5px; border: 7px solid #d93a2b; border-radius: 16px; background: #ffeceb; color: #c42c1e; font-size: 56px; line-height: 1.15; font-weight: 800; rotate: 9deg; box-shadow: 0 6px 0 rgba(0, 0, 0, .4); animation: stamp .3s .12s cubic-bezier(.2, 1.6, .5, 1) both; }

/* ---------- the dice: the strength gauge, the throw button, the total ---------- */
#rollUi { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 16px; z-index: 27; }
#rollUi.auto { top: 34%; }
.rhead { padding: 3px 28px 6px; border-radius: 99px; background: rgba(15, 19, 28, .94); font-size: 30px; font-weight: 800; white-space: nowrap; }
#rollUi.mine .rhead { background: var(--c); color: var(--ink); border: 5px solid var(--ink); }
.gauge { position: relative; display: flex; width: 620px; height: 66px; border-radius: 20px; border: 6px solid var(--ink); background: var(--ink); box-shadow: 0 7px 0 rgba(0, 0, 0, .4); }
.gauge i { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-style: normal; font-size: 23px; line-height: 1.05; font-weight: 800; color: var(--ink); }
.gauge i small { font-size: 13px; font-weight: 700; opacity: .7; }
.gauge .z0 { background: #7ed0ea; border-radius: 13px 0 0 13px; } .gauge .z1 { background: #ffd45e; } .gauge .z2 { background: #ff8a6b; border-radius: 0 13px 13px 0; }
.gauge u { position: absolute; right: 0; top: 0; bottom: 0; width: 6%; border-radius: 0 13px 13px 0; background: repeating-linear-gradient(45deg, var(--ink) 0 6px, var(--gold) 6px 12px); font-size: 0; }
.gauge em { position: absolute; left: 0; top: -15px; bottom: -15px; width: 12px; margin-left: -6px; border-radius: 6px; background: #fff; border: 3px solid var(--ink); }
.gauge.set i { opacity: .35; }
.gauge.set.on0 .z0, .gauge.set.on1 .z1, .gauge.set.on2 .z2 { opacity: 1; }
.gauge.set em { background: var(--gold); }
.throwBtn { width: 230px; height: 230px; border-radius: 50%; background: var(--gold); color: var(--ink); border: 8px solid var(--ink); box-shadow: inset 0 6px 0 #ffe27a, 0 12px 0 var(--goldEdge), 0 20px 0 rgba(0, 0, 0, .4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; touch-action: none; transition: scale .12s; }
.throwBtn img { width: 96px; height: 96px; object-fit: contain; pointer-events: none; }
.throwBtn b { font-size: 34px; font-weight: 800; pointer-events: none; }
.throwBtn:hover { scale: 1.04; }
.throwBtn.held { top: 8px; scale: 1; box-shadow: inset 0 6px 0 #ffe27a, 0 4px 0 var(--goldEdge), 0 8px 0 rgba(0, 0, 0, .4); }
.throwBtn.held img { animation: rattle .16s linear infinite; }
@keyframes rattle { 25% { rotate: -9deg; translate: -3px 2px; } 75% { rotate: 9deg; translate: 3px -2px; } }
.throwBtn.gone { scale: 0; opacity: 0; transition: scale .2s, opacity .2s; }
.rhint { max-width: 760px; padding: 5px 22px 8px; border-radius: 16px; background: rgba(15, 19, 28, .9); font-size: 19px; text-align: center; }
#rollNum { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; z-index: 27; }
#rollNum small { padding: 2px 24px 5px; border-radius: 99px; background: rgba(15, 19, 28, .94); font-size: 27px; font-weight: 800; white-space: nowrap; }
#rollNum > b { font-size: 230px; line-height: 1.05; font-weight: 800; color: #fff; -webkit-text-stroke: 20px var(--ink); paint-order: stroke fill; text-shadow: 0 12px 0 rgba(0, 0, 0, .35); }
#rollNum > b.done { color: var(--gold); animation: numpop .28s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes numpop { 0% { scale: 1.5; } }
#rollNum em { margin-top: -6px; padding: 2px 24px 5px; border-radius: 99px; background: #9a7fe6; color: var(--ink); border: 4px solid var(--ink); font-style: normal; font-size: 27px; font-weight: 800; white-space: nowrap; animation: sgin .3s .25s both; }

/* ---------- a question to the player: a window in the middle of the screen, the rest dimmed a little ---------- */
#askDim { position: absolute; inset: 0; background: rgba(8, 10, 16, .34); z-index: 29; pointer-events: none; animation: veil .2s ease; }
#ask { position: absolute; left: 50%; top: 33%; transform: translate(-50%, -50%); width: max-content; max-width: 1100px; border-radius: 28px; background: var(--cream); color: var(--ink); border: 6px solid var(--ink); box-shadow: 0 12px 0 rgba(0, 0, 0, .45); overflow: hidden; z-index: 30; animation: sginC .25s cubic-bezier(.3, 1.4, .5, 1); }
#ask.tall { top: 50%; }
#ask .ah { display: flex; align-items: baseline; gap: 14px; padding: 8px 30px 11px; background: var(--z, #3a4254); color: var(--ink); font-size: 32px; font-weight: 800; }
#ask .ah small { margin-left: auto; padding-left: 30px; font-size: 19px; font-weight: 700; opacity: .8; white-space: nowrap; }
#ask .ah.dark { color: var(--cream); }
#ask .ab { padding: 14px 28px 22px; }
#ask p { margin: 0 0 14px; font-size: 25px; font-weight: 700; line-height: 1.3; text-align: center; }
#ask p small { display: block; font-size: 18px; font-weight: 400; color: #5c5f6b; }
#ask .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.say { position: absolute; transform: translate(-50%, -100%); width: max-content; max-width: 400px; padding: 9px 20px 12px; border-radius: 22px; background: #fffaf0; color: var(--ink); font-size: 25px; font-weight: 700; line-height: 1.3; text-align: center; box-shadow: 0 5px 0 #cfc5ad, 0 9px 0 rgba(0, 0, 0, .3); transform-origin: 50% 100%; animation: sayinC .2s ease; }
.say::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -12px; border: 12px solid transparent; border-top: 16px solid #fffaf0; border-bottom: 0; filter: drop-shadow(0 5px 0 #cfc5ad); }
.say em { display: block; margin: 0 auto 1px; width: max-content; padding: 0 12px 1px; border-radius: 99px; background: var(--c); color: var(--ink); font-style: normal; font-size: 15px; font-weight: 800; }
@keyframes sayin { 0% { scale: .6; opacity: 0; } }
/* the fortune card: three backs shuffle, the top one comes forward and turns over, its effect slides out below */
#flip { position: absolute; left: 50%; top: calc(50% - 340px); width: 0; height: 0; perspective: 1400px; z-index: 25; --a: #7a5fd0; --b: #4a3399; animation: veil .16s ease; }
#flip.bad { --a: #56617a; --b: #2c3447; }
#flip .deck i { position: absolute; left: -150px; top: 40px; width: 300px; height: 410px; border-radius: 26px; background: repeating-linear-gradient(45deg, #5a3fb0 0 18px, #6a4fc0 18px 36px); border: 9px solid var(--cream); box-shadow: 0 8px 0 rgba(0, 0, 0, .35); opacity: 0; animation: shuf 1s ease both; }
#flip .deck i:nth-child(2) { animation-name: shuf2; }
#flip .deck i:nth-child(3) { animation-name: shuf3; }
@keyframes shuf { 0% { opacity: 0; transform: translateY(80px) scale(.7); } 15% { opacity: 1; transform: none; } 40% { transform: translateX(-190px) rotate(-12deg); } 70% { transform: none; opacity: 1; } 100% { opacity: 0; transform: none; } }
@keyframes shuf2 { 0% { opacity: 0; transform: translateY(80px) scale(.7); } 15% { opacity: 1; transform: none; } 40% { transform: translateX(190px) rotate(12deg); } 70% { transform: none; opacity: 1; } 100% { opacity: 0; transform: none; } }
@keyframes shuf3 { 0% { opacity: 0; transform: translateY(80px) scale(.7); } 15% { opacity: 1; transform: none; } 40% { transform: translateY(-36px); } 70% { transform: none; opacity: 1; } 100% { opacity: 0; transform: none; } }
.cardT { position: absolute; left: -170px; top: 20px; width: 340px; height: 460px; transform-style: preserve-3d; animation: pick .85s cubic-bezier(.3, 1.2, .5, 1) both; }
/* the card comes up from below with its back to us, then turns over */
/* no opacity on the card itself: anything but full opacity flattens the card, and its front then shows through,
   mirrored, where the back should be. The fade-in is on the holder (#flip) instead. */
@keyframes pick { 0% { transform: translateY(170px) rotateY(180deg) scale(.6); } 30% { transform: translateY(-14px) rotateY(180deg) scale(.92); } 44% { transform: translateY(-14px) rotateY(180deg) scale(.92); } 100% { transform: none; } }
.cback, .cfront { position: absolute; inset: 0; border-radius: 30px; border: 10px solid var(--cream); backface-visibility: hidden; box-shadow: 0 12px 0 rgba(0, 0, 0, .4); }
.cback { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, #5a3fb0 0 18px, #6a4fc0 18px 36px); display: flex; align-items: center; justify-content: center; }
.cback b { font-size: 190px; font-weight: 800; color: var(--gold); -webkit-text-stroke: 10px #3f2c80; paint-order: stroke fill; }
.cfront { background: radial-gradient(circle at 50% 46%, var(--a) 0 46%, var(--b) 100%); text-align: center; overflow: hidden; }
.cfront::before { content: ""; position: absolute; left: 50%; top: 46%; width: 620px; height: 620px; margin: -310px; background: repeating-conic-gradient(rgba(255, 255, 255, .09) 0 12deg, transparent 12deg 24deg); }
.cfront small { position: relative; display: inline-block; margin-top: 16px; padding: 2px 22px 4px; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 21px; font-weight: 800; }
.cpic { position: relative; width: 216px; height: 216px; margin: 14px auto 0; border-radius: 50%; background: var(--cream); border: 9px solid var(--gold); box-shadow: 0 7px 0 rgba(0, 0, 0, .3); display: flex; align-items: center; justify-content: center; }
.cpic img { width: 164px; height: 164px; object-fit: contain; }
.cfront h4 { position: relative; margin: 16px 10px 0; font-size: 44px; line-height: 1.15; font-weight: 800; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.cunder { position: absolute; left: -280px; top: 522px; width: 560px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cunder .big { min-width: 240px; animation: eff .3s 1.15s cubic-bezier(.3, 1.4, .5, 1) both; }
.ceff small { display: block; margin-top: 3px; font-size: 21px; font-weight: 700; color: #6b6250; }
.ceff { align-self: stretch; padding: 14px 20px 18px; border-radius: 22px; background: var(--cream); color: var(--ink); text-align: center; font-size: 31px; font-weight: 800; line-height: 1.25; box-shadow: 0 8px 0 var(--creamEdge), 0 13px 0 rgba(0, 0, 0, .35); animation: eff .35s .85s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes eff { 0% { transform: translateY(-70px) scale(.8); opacity: 0; } }
#banner { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); min-width: 560px; padding: 20px 70px 28px; border-radius: 30px; background: var(--cream); color: var(--ink); border: 7px solid var(--ink); text-align: center; box-shadow: 0 14px 0 rgba(0, 0, 0, .45); z-index: 30; animation: binC .3s ease; white-space: nowrap; }
#banner b { display: block; font-size: 92px; line-height: 1.15; font-weight: 800; }
#banner span { display: block; font-size: 31px; font-weight: 700; }
#banner small { display: inline-block; padding: 2px 26px 5px; border-radius: 99px; background: var(--ink); color: var(--cream); font-size: 24px; font-weight: 800; }
/* a festival begins: a striped awning on top, the colours of that festival */
#banner.feast { padding-top: 34px; background: var(--f1); }
#banner.feast::before { content: ""; position: absolute; left: -7px; right: -7px; top: -7px; height: 30px; border-radius: 24px 24px 0 0; border: 7px solid var(--ink); background: repeating-linear-gradient(90deg, var(--f2) 0 44px, #fffaf0 44px 88px); }
#banner.feast span { display: inline-block; margin-top: 6px; padding: 3px 30px 6px; border-radius: 99px; background: var(--ink); color: var(--gold); font-size: 36px; font-weight: 800; }
#banner.f1 { --f1: #ffd45e; --f2: #ef5a4c; }
#banner.f2 { --f1: #ffb98a; --f2: #7a5fd0; }
#banner.f3 { --f1: #c7b8ff; --f2: #1c2152; }
@keyframes bin { 0% { scale: .5; opacity: 0; } 70% { scale: 1.06; } }
.float { position: absolute; transform: translate(-50%, 0); font-size: 46px; font-weight: 800; text-shadow: 0 3px 0 #08090a, 0 0 14px rgba(0, 0, 0, .5); animation: rise 1.4s ease-out forwards; }
.float.plus { color: #7be39a; }
.float.minus { color: #ff8a7d; }
@keyframes rise { 0% { opacity: 0; translate: 0 16px; scale: .6; } 15% { opacity: 1; translate: 0 0; scale: 1.1; } 100% { opacity: 0; translate: 0 -64px; } }
.stamp { position: absolute; transform: translate(-50%, -50%) rotate(-8deg); padding: 0 30px 6px; border: 8px solid #d93a2b; border-radius: 20px; background: #ffeceb; color: #c42c1e; font-size: 84px; font-weight: 800; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 0 rgba(0, 0, 0, .4); animation: stampC .3s cubic-bezier(.2, 1.6, .5, 1); }
@keyframes stamp { 0% { scale: 2.8; opacity: 0; } }

/* ---------- buttons ---------- */
.big { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 2px 28px 0; border-radius: 18px; font-size: 24px; font-weight: 800; white-space: nowrap; text-decoration: none; position: relative; }
.big:active { top: 3px; }
.big.main { background: var(--gold); color: var(--ink); box-shadow: inset 0 3px 0 #ffe27a, 0 6px 0 var(--goldEdge); }
.big.alt { background: #3a4254; color: var(--cream); box-shadow: inset 0 3px 0 #4c556a, 0 6px 0 #171b25; }
.big.bad { background: var(--red); color: #fff; box-shadow: inset 0 3px 0 #ff8b7e, 0 6px 0 var(--redEdge); }
/* a light button for dark places (the end screen): the dark one lost its lower edge against the dark picture */
.big.lite { background: var(--cream); color: var(--ink); box-shadow: inset 0 3px 0 #fff, 0 6px 0 var(--creamEdge); }
.big.dc { background: #5865f2; color: #fff; box-shadow: inset 0 3px 0 #8b95ff, 0 6px 0 #3c45a5; padding: 0 18px 4px; }
.big svg { width: 30px; height: 30px; pointer-events: none; }
.big.ico { padding: 2px 16px 0; }
.big.wide { flex: 1; }
#tools { position: absolute; right: 434px; top: 18px; display: flex; gap: 8px; z-index: 45; }
#tools button.off { color: #5f6a80; position: relative; }
/* switched off: a stroke across the picture */
#tools button.off::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--red); rotate: -40deg; }
#tools button { width: 50px; height: 50px; border-radius: 14px; background: var(--slab); color: var(--mute); font-size: 17px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--slabEdge); }
#tools button:hover { color: var(--cream); background: #343c4e; }
#tools svg { width: 24px; height: 24px; pointer-events: none; }

/* ---------- the bankruptcy scene ---------- */
#bust { position: absolute; inset: 0; z-index: 48; display: flex; align-items: center; justify-content: center; }
.bveil { position: absolute; inset: 0; background: rgba(9, 11, 16, .8); animation: veil .25s ease; }
@keyframes veil { 0% { opacity: 0; } }
.bbox { position: relative; display: flex; flex-direction: column; align-items: center; animation: quake .55s 1.06s both; }
@keyframes quake { 0%, 100% { translate: 0 0; } 12% { translate: -16px 10px; } 28% { translate: 14px -8px; } 44% { translate: -10px 6px; } 62% { translate: 8px -4px; } 80% { translate: -4px 2px; } }
.bname { padding: 0 44px 8px; border-radius: 26px; background: var(--c); color: var(--ink); font-size: 96px; line-height: 1.25; font-weight: 800; box-shadow: 0 9px 0 rgba(0, 0, 0, .5); position: relative; z-index: 0; animation: bname 1.5s ease both; }
/* the name comes first, big, in the middle (--wy = how far below its own place that is); the word then slams down over
   it, and the name slides up from behind the word to its place above */
@keyframes bname { 0% { translate: 0 var(--wy); scale: .6; opacity: 0; } 14% { translate: 0 var(--wy); scale: 1.3; opacity: 1; } 74% { translate: 0 var(--wy); scale: 1.3; } 100% { translate: 0 0; scale: 1; } }
@keyframes drop { 0% { translate: 0 -120px; opacity: 0; } }
.bword { position: relative; z-index: 1; margin-top: 6px; }
.shard { position: absolute; left: 0; top: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); animation: shard 1.45s .9s cubic-bezier(.3, .9, .4, 1) both; }
@keyframes shard { 0% { transform: translate(0, -90px) scale(1.5); opacity: 0; } 12% { transform: none; opacity: 1; } 16% { transform: translate(0, 7px); } 20% { transform: none; } 46% { transform: none; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }
.brick { position: absolute; top: 0; height: 24px; border-radius: 3px; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .22), 0 3px 0 #12151c; outline: 3px solid #12151c; transform: translateY(var(--fy)) rotate(var(--fr)); animation: brick .7s calc(var(--fd) + .9s) cubic-bezier(.5, 0, .9, .6) both; }
@keyframes brick { 0% { transform: translateY(46%) rotate(0deg); opacity: 0; } 8% { opacity: 1; } 100% { transform: translateY(var(--fy)) rotate(var(--fr)); } }
.bsub { margin-top: 74px; padding: 6px 30px 9px; border-radius: 99px; background: rgba(15, 19, 28, .9); font-size: 30px; font-weight: 700; color: var(--cream); animation: veil .4s 2s both; }

/* ---------- menu ---------- */
.inmenu #hud, .inmenu #bubbles, .ending #hud, .ending #bubbles, .ending #tools { display: none; }
#menu { position: absolute; inset: 0; z-index: 50; pointer-events: none; }
#menu > * { pointer-events: auto; }
.mside { position: absolute; left: 0; top: 0; bottom: 0; width: 600px; padding: 50px 60px 40px; background: #161b27; box-shadow: 8px 0 0 #0a0c11; display: flex; flex-direction: column; }
.mlogo h1 { margin: 6px 0 0; text-align: center; line-height: 1; font-weight: 800; transform: rotate(-3deg); }
.mlogo h1 span { display: block; font-size: 88px; letter-spacing: -2px; color: var(--gold); -webkit-text-stroke: 12px var(--ink); paint-order: stroke fill; text-shadow: 0 10px 0 var(--goldEdge), 0 18px 0 rgba(0, 0, 0, .45); }
.mlogo h1 span.b { font-size: 150px; letter-spacing: 0; color: var(--red); text-shadow: 0 10px 0 var(--redEdge), 0 18px 0 rgba(0, 0, 0, .45); margin-top: -4px; }
.mbtn.slim { padding: 13px 26px 11px; }
.mbtn.slim b { font-size: 25px; }
.howp p.note, .howp p.none { margin: 0 0 12px; font-size: 19px; color: #5c5f6b; }
.stab { display: grid; gap: 6px; }
.stab > div { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr .9fr 1fr; padding: 8px 18px 10px; border-radius: 14px; background: #fffaf0; font-size: 21px; font-weight: 700; }
.stab .sh { background: none; font-size: 16px; color: #5c5f6b; padding-bottom: 0; }
.stab .sr.top { background: var(--gold); }
.howp .stab { max-height: 560px; overflow-y: auto; }
.linkb { border: 0; background: none; padding: 0; font: inherit; color: #b3402e; text-decoration: underline; cursor: pointer; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 1020px; }
.pick { padding: 5px 13px 7px 16px; border-radius: 12px; background: #fffaf0; box-shadow: inset 7px 0 0 var(--z), 0 3px 0 #cfc5ad; font-size: 19px; font-weight: 800; color: var(--ink); }
.pick small { display: block; font-size: 13px; font-weight: 400; color: #5c5f6b; }
.pick:hover { background: var(--gold); }
.big.two { flex-direction: column; gap: 0; padding: 7px 22px 5px; line-height: 1.15; }
.big.two b { font-size: 22px; }
.big.two small { font-size: 16px; font-weight: 700; opacity: .75; }
.mlogo h1 em { display: inline-block; margin: -10px 150px -30px -150px; padding: 0 22px 5px; border-radius: 99px; background: var(--cream); color: var(--ink); font-style: normal; font-size: 40px; position: relative; z-index: 1; transform: rotate(5deg); box-shadow: 0 5px 0 var(--creamEdge); }
.mlogo p { margin: 30px 0 0; font-size: 21px; color: var(--mute); text-align: center; }
.mnav { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.mbtn { width: 100%; text-align: left; border-radius: 22px; background: var(--gold); color: var(--ink); padding: 17px 26px 15px; box-shadow: inset 0 3px 0 #ffe27a, 0 8px 0 var(--goldEdge); position: relative; transition: padding-left .12s; }
.mbtn b { display: block; font-size: 32px; font-weight: 800; }
.mbtn span { display: block; font-size: 17px; color: #5a4300; }
.mbtn:hover { padding-left: 36px; }
.mbtn:active { top: 4px; box-shadow: inset 0 3px 0 #ffe27a, 0 4px 0 var(--goldEdge); }
.mbtn.alt { background: #3a4254; color: var(--cream); box-shadow: inset 0 3px 0 #4c556a, 0 8px 0 #10131b; }
.mbtn.alt span { color: var(--mute); }
.links { display: flex; gap: 12px; margin-top: 30px; }
.links a { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 58px; border-radius: 18px; }
.links a svg { width: 34px; height: 34px; pointer-events: none; }
.links a.yt { background: #ff0000; box-shadow: inset 0 3px 0 #ff6a6a, 0 6px 0 #a80000; }
.links a.dc { background: #5865f2; color: #fff; box-shadow: inset 0 3px 0 #8b95ff, 0 6px 0 #3c45a5; }
.mfoot { margin-top: auto; display: flex; gap: 10px; }
.mfoot button { width: 54px; height: 54px; border-radius: 16px; background: #3a4254; color: var(--cream); font-size: 26px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 5px 0 #10131b; }
.mfoot svg { width: 26px; height: 26px; pointer-events: none; }
.mfoot button.off { color: #5f6a80; position: relative; }
.mfoot button.off::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--red); rotate: -40deg; }
.howp { position: absolute; left: 670px; top: 96px; width: 900px; padding: 24px 34px 30px; border-radius: 30px; background: var(--cream); color: var(--ink); box-shadow: 0 12px 0 var(--creamEdge), 0 20px 0 rgba(0, 0, 0, .4); }
.howp h3 { margin: 0 0 10px; font-size: 34px; font-weight: 800; }
.how > div { display: flex; align-items: center; gap: 20px; padding: 10px 0; border-top: 2px dashed #cbbf9f; }
.how .hi { flex: none; width: 110px; height: 84px; display: flex; justify-content: center; align-items: center; }
.how .hi img { width: 84px; height: 84px; object-fit: contain; }
.how p { margin: 0; font-size: 20px; line-height: 1.35; }
.how p b { display: block; font-size: 23px; font-weight: 800; }
.howp .big { margin-top: 14px; }

/* ---------- end: the winners' stand ---------- */
#end { position: absolute; inset: 0; z-index: 60; background: linear-gradient(180deg, rgba(10, 14, 22, .9) 0, rgba(10, 14, 22, .25) 230px, rgba(10, 14, 22, 0) 420px, rgba(10, 14, 22, 0) calc(100% - 320px), rgba(10, 14, 22, .88) calc(100% - 70px)); }
/* the winner's sign */
.winsign { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; animation: binX .45s ease; }
.wrib { display: flex; align-items: center; position: relative; z-index: 2; margin-bottom: -20px; }
.wrib b { padding: 2px 46px 6px; background: var(--red); color: #fff; font-size: 44px; line-height: 1.2; font-weight: 800; letter-spacing: 6px; border-radius: 10px; box-shadow: 0 6px 0 var(--redEdge), 0 10px 0 rgba(0, 0, 0, .35); }
.wrib i { width: 54px; height: 50px; background: var(--redEdge); margin: 16px -12px 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%); }
.wrib i:last-child { transform: scaleX(-1); }
.wplate { display: flex; align-items: center; gap: 22px; min-width: 760px; padding: 30px 34px 20px 26px; border-radius: 30px; background: var(--slab); border: 9px solid var(--gold); box-shadow: 0 9px 0 var(--goldEdge), 0 16px 0 rgba(0, 0, 0, .45); }
.wface { flex: none; width: 132px; height: 132px; border-radius: 26px; background: color-mix(in srgb, var(--c) 35%, #10141d); border: 6px solid var(--c); overflow: hidden; }
.wname { flex: 1; min-width: 0; }
.wname small { display: block; font-size: 24px; font-weight: 700; color: var(--gold); }
.wname b { display: block; font-size: 88px; line-height: 1.12; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 5px 0 rgba(0, 0, 0, .4); }
.wcup { flex: none; padding: 8px 20px 10px; border-radius: 18px; background: #10141d; font-size: 46px; font-weight: 800; color: var(--gold); }
.wcup .coin { width: 40px; height: 40px; margin-right: 10px; }
.winsign p { margin: 12px 0 0; padding: 5px 26px 8px; border-radius: 99px; background: rgba(15, 19, 28, .9); font-size: 22px; font-weight: 700; }
/* the player's name: the chip in the menu and the card that asks for it */
.mprof { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 6px 16px 6px 6px; border-radius: 99px; background: #232a3a; color: var(--cream); align-self: center; }
.mprof img { width: 52px; height: 52px; border-radius: 50%; background: #3a4254; object-fit: cover; }
.mprof b { font-size: 23px; font-weight: 800; }
.mprof em { font-style: normal; font-size: 15px; color: var(--mute); text-decoration: underline; }
.mnav { margin-top: 22px !important; }
.pop.prof { z-index: 70; }
.pop.prof .card { width: 720px; }
.pop.prof input { width: 100%; padding: 12px 20px 14px; border-radius: 16px; border: 0; background: #fffaf0; box-shadow: inset 0 4px 0 #dcd3bb; font: inherit; font-size: 34px; font-weight: 800; color: var(--ink); user-select: text; -webkit-user-select: text; }
.pop.prof p.lab { margin: 16px 0 6px; font-weight: 700; }
.chars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.chars button { padding: 0; border-radius: 16px; background: #fffaf0; box-shadow: 0 4px 0 #cfc5ad; overflow: hidden; aspect-ratio: 1; }
.chars button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chars button.on { background: var(--gold); box-shadow: 0 4px 0 var(--goldEdge), 0 0 0 4px var(--ink); }
.etitle { position: absolute; left: 0; right: 0; top: 26px; text-align: center; }
.etitle h2 { margin: 0; font-size: 104px; line-height: 1.15; font-weight: 800; color: var(--gold); -webkit-text-stroke: 10px var(--ink); paint-order: stroke fill; text-shadow: 0 8px 0 var(--goldEdge), 0 14px 0 rgba(0, 0, 0, .45); animation: bin .4s ease; }
.etitle p { display: inline-block; margin: 6px 0 0; padding: 5px 26px 8px; border-radius: 99px; background: rgba(15, 19, 28, .9); font-size: 23px; font-weight: 700; }
.plate { position: absolute; transform: translate(-50%, 0); width: 178px; padding: 4px 6px 8px; border-radius: 18px; background: var(--slab); border-top: 7px solid var(--c); text-align: center; box-shadow: 0 6px 0 var(--slabEdge); }
.plate b { display: block; font-size: 25px; font-weight: 800; color: var(--c); }
.plate span { display: block; font-size: 29px; line-height: 1.15; font-weight: 800; }
.plate span .coin { width: 26px; height: 26px; margin-right: 6px; }
.plate small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--mute); white-space: nowrap; }
.plate.r0 span { font-size: 34px; color: var(--gold); }
.plate.out span { color: #ff8a7d; font-size: 25px; }
#end > .row2 { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0; }
.pop .card { position: relative; }
.pop .card .row2 { margin-top: 14px; }
.xbtn { position: absolute; right: -18px; top: -18px; width: 62px; height: 62px; border-radius: 50%; background: var(--red); color: #fff; font-size: 32px; font-weight: 800; line-height: 1; box-shadow: inset 0 3px 0 #ff8b7e, 0 6px 0 var(--redEdge); }
.xbtn:active { top: -15px; }
.row2 { display: flex; gap: 14px; margin-top: 26px; align-items: center; justify-content: center; }
.pop { position: absolute; inset: 0; background: rgba(8, 9, 11, .8); display: flex; align-items: center; justify-content: center; z-index: 5; }
.pop .card { width: 820px; padding: 24px 30px 30px; border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 12px 0 var(--creamEdge); }
.pop h3 { margin: 0; font-size: 32px; font-weight: 800; }
.pop p { margin: 6px 0 12px; font-size: 20px; }
.shareImg { width: 100%; border-radius: 14px; display: block; }
/* ---------- marks on the board: the totals of the dice over the stops they lead to, the arrow over the stop being walked to ---------- */
#hud > #tags { position: absolute; inset: 0; pointer-events: none; z-index: 28; }
.tag { position: absolute; transform: translate(-50%, -50%); }
/* a pin: the number in a round head, its point standing on the middle of the stop, a small dark spot where it stands */
.tag.tnum { transform: translate(-50%, -100%); padding-bottom: 15px; animation: sgin .25s cubic-bezier(.3, 1.5, .5, 1) both; transform-origin: 50% 100%; }
.tag.tnum b { display: block; min-width: 54px; height: 54px; padding: 0 9px; border-radius: 99px; background: var(--gold); color: var(--ink); border: 4px solid var(--ink); font-size: 31px; line-height: 44px; font-weight: 800; text-align: center; }
.tag.tnum::after { content: ""; position: absolute; left: 50%; bottom: 0; margin-left: -11px; border: 11px solid transparent; border-top: 18px solid var(--ink); border-bottom: 0; }
.tag.tnum::before { content: ""; position: absolute; left: 50%; bottom: -5px; width: 22px; height: 10px; margin-left: -11px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.tag.dest { filter: drop-shadow(4px 0 0 var(--ink)) drop-shadow(-4px 0 0 var(--ink)) drop-shadow(0 4px 0 var(--ink)) drop-shadow(0 -4px 0 var(--ink)); }
.tag.dest i { display: block; width: 70px; height: 84px; background: var(--c); clip-path: polygon(28% 0, 72% 0, 72% 44%, 100% 44%, 50% 100%, 0 44%, 28% 44%); animation: bobd .5s ease-in-out infinite alternate; }
@keyframes bobd { from { translate: 0 0; } to { translate: 0 -20px; } }

/* ---------- choosing a stop on the board itself (a flight) ---------- */
#pick { position: absolute; inset: 0; z-index: 5; }
/* the head plate stands on the open square in the middle of the board: nothing that can be pressed is under it */
.pkhead { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 470px; padding: 12px 30px 16px; border-radius: 30px; background: #58c1e6; color: var(--ink); border: 5px solid var(--ink); text-align: center; box-shadow: 0 7px 0 rgba(0, 0, 0, .4); pointer-events: none; animation: sginC .28s cubic-bezier(.3, 1.5, .5, 1); }
.pkhead img { width: 64px; height: 64px; object-fit: contain; }
.pkhead b { font-size: 32px; line-height: 1.2; font-weight: 800; white-space: nowrap; }
.pkhead span { font-size: 22px; line-height: 1.3; font-weight: 700; }
.pkhead .big { margin-top: 10px; pointer-events: auto; }
/* selling to pay a bill: the bill in one big number, one bar that fills as lots are chosen (red while short, green
   when covered), and over each lot a small plate with what it gives */
.pkhead .pkbill { font-size: 46px; }
.pkhead .pkbill .coin { width: 40px; height: 40px; margin-right: 10px; vertical-align: -5px; }
.pkhead .pkstate { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 340px; margin-top: 6px; }
.pkbar { display: block; width: 100%; height: 30px; border-radius: 99px; background: var(--ink); border: 4px solid var(--ink); overflow: hidden; }
.pkbar u { display: block; height: 100%; border-radius: 99px; background: var(--red); transition: width .2s; }
.pkstate.ok .pkbar u { background: var(--green); }
.pkstate em { font-style: normal; font-size: 30px; line-height: 1.2; font-weight: 800; color: #c42c1e; }
.pkstate.ok em { color: #1f8a55; }
.tag.tsale b { display: block; padding: 0 12px 2px; border-radius: 99px; background: var(--cream); color: var(--ink); border: 4px solid var(--ink); font-size: 24px; font-weight: 800; white-space: nowrap; }
.tag.tsale.on b { background: var(--red); color: #fff; }
.pktip { position: absolute; transform: translate(-50%, -100%); padding: 4px 18px 7px; border-radius: 16px; background: var(--ink); color: var(--cream); border: 4px solid var(--gold); text-align: center; white-space: nowrap; pointer-events: none; }
.pktip b { display: block; font-size: 24px; font-weight: 800; }
.pktip small { display: block; font-size: 17px; font-weight: 700; color: var(--mute); }

/* ---------- the cards a player keeps: plates next to their player card ---------- */
.pc .held { position: absolute; left: -5px; width: 400px; display: flex; flex-direction: column; gap: 6px; }
.pc.tl .held, .pc.tr .held { top: calc(100% + 30px); }
.pc.bl .held, .pc.br .held { bottom: calc(100% + 30px); }
/* the window for choosing what to sell when a bill cannot be paid */
.sells { display: grid; grid-template-columns: repeat(2, minmax(330px, 1fr)); gap: 8px 12px; margin: 4px 0 12px; }
.sellrow { display: flex; align-items: center; gap: 10px; padding: 7px 14px 8px 10px; border-radius: 14px; background: #fffaf0; box-shadow: 0 3px 0 #cfc5ad; font-size: 21px; cursor: pointer; }
.sellrow input { width: 28px; height: 28px; accent-color: var(--red); flex: none; cursor: pointer; }
.sellrow i { width: 14px; height: 30px; border-radius: 5px; flex: none; }
.sellrow b { font-weight: 800; }
.sellrow span { margin-left: auto; font-size: 18px; font-weight: 700; color: #5c5f6b; white-space: nowrap; }
#ask p.sellsum { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: #c42c1e; }
#ask p.sellsum.ok { color: #1f8a55; }
.big:disabled { filter: saturate(.2) brightness(.8); cursor: default; }
/* a button of the buy and build windows with a picture of what it gives */
.big.two.pic { padding: 12px 14px 9px; }
.big.two.pic img { width: 216px; height: 156px; object-fit: contain; margin-bottom: 4px; border-radius: 14px; background: rgba(255, 255, 255, .42); pointer-events: none; }
#ask .row { align-items: stretch; }
.hc { display: flex; align-items: center; gap: 10px; padding: 5px 14px 6px 8px; border-radius: 16px; background: var(--slab); border: 4px solid #58c1e6; }
.hc.free { border-color: var(--green); }
.hc img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.hc p { margin: 0; font-size: 16.5px; line-height: 1.25; color: var(--mute); white-space: nowrap; }
.hc p b { display: block; font-size: 23px; font-weight: 800; color: var(--cream); }