  .bingo { background: rgba(0,0,0,.25); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .85rem; }
  .bingo .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .bingo .row b { color: var(--cream); } .bingo .row .sp { flex: 1; }
  /* the Quests page (Kiril's redesign, `quests-page-redesign.md`): the lobby's cartoon recipe; two tabs, one Collect button, the streak card,
     the quest rows, the four DICE tickets, the cream weekly card with its CRAPS header; a ready thing is fully gold, a collected one is stamped red */
  #tasksPage { background: radial-gradient(circle at 50% 18%, #1A8A4C 0%, #0D5A31 70%); }
  #tasksPage .ptitle { transform: rotate(-3deg); }
  .qbody { padding-top: 10px; }
  .qtabs { position: relative; display: flex; gap: 4px; padding: 4px; background: #0B3D22; border: 4px solid var(--ink2); border-radius: 999px; box-shadow: 0 5px 0 var(--ink2); margin-top: 4px; }
  .qtab { position: relative; flex: 1; min-height: 44px; padding: 0 10px; border-radius: 999px; background: transparent; color: #fff; font: 19px/1 var(--lilita); font-weight: 400; transition: none; }
  .qtab.on { background: #FFD23F; color: var(--ink2); }
  @media (max-width: 379px) { .qtab { font-size: 17px; padding: 0 6px; } } /* (three tabs, Today · This week · Calendar, fit a 360 px phone a notch smaller: daily-roll-calendar.md §2.4) */
  .qtab:active:not(:disabled) { transform: none; }
  .qbadge { position: absolute; top: -13px; right: -2px; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 999px; background: #E8343B; border: 3px solid var(--ink2); color: #fff; font: 14px/1 var(--lilita); display: grid; place-items: center; }
  .qbadge:empty { display: none; }
  .gbtn.collect { --rot: -1deg; background: #FFD23F; width: 100%; height: 70px; margin-top: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%; font-size: 28px; padding: 0 16px; }
  .gbtn.collect .l1 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .gbtn.collect .l2 { display: block; font: 14px/1 var(--lilita); color: var(--ink2); text-shadow: none; }
  .qcard { background: #0B3D22; border: 4px solid var(--ink2); border-radius: 20px; box-shadow: 0 5px 0 var(--ink2); padding: 12px 14px 14px; margin-top: 18px; color: #fff; }
  .qrowh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .qrowh b { font: 18px/1.1 var(--lilita); font-weight: 400; } .qrowh b .shld { font-size: 14px; color: #A6F0F7; margin-left: 6px; white-space: nowrap; } /* (the streak shields in hand, gems-shop.md §4) */ .qrowh small { font: 13px/1.1 var(--lilita); color: #CFE8D6; white-space: nowrap; }
  .coins { display: flex; gap: 6px; margin-top: 12px; }
  .coin { flex: 1; min-width: 0; aspect-ratio: 1; max-height: 46px; padding: 0; border-radius: 50%; border: 3px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); background: #072A17; color: #FFD93B; font: 11px/1 var(--lilita); font-weight: 400; display: grid; place-items: center; cursor: default; transition: none; }
  .coin:active:not(:disabled) { transform: none; } .coin:hover:not(:disabled) { filter: none; }
  .coin.claimed { background: #7ED957; color: var(--ink2); font-size: 16px; }
  .coin.today { background: #FFD23F; color: var(--ink2); cursor: pointer; font-size: 12px; }
  .coin.today:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  .qdiv { border-top: 2px dashed rgba(255,255,255,.18); margin: 12px 0 10px; }
  .qfree { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; }
  .qfree b { font: 16px/1.1 var(--lilita); font-weight: 400; } .qfree small { font: 13px/1.1 var(--lilita); color: #CFE8D6; }
  .qfree .ok { font: 14px/1 var(--lilita); color: #7ED957; white-space: nowrap; }
  .qbtn { min-height: 40px; padding: 0 16px; background: #FFD23F; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 12px; box-shadow: 0 3px 0 var(--ink2); font: 16px/1 var(--lilita); font-weight: 400; transition: none; }
  .qbtn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  .qhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 22px 0 4px; }
  .qhead h3 { margin: 0; font: clamp(21px, 6.6vw, 26px)/1 var(--marker); font-weight: 400; color: #fff; text-shadow: 3px 3px 0 var(--ink2); white-space: nowrap; }
  .qhead small { font: 13px/1.15 var(--lilita); color: #CFE8D6; text-align: right; } .qhead .nw { white-space: nowrap; }
  .qrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin-top: 10px; padding: 10px 14px; text-align: left; background: #0B3D22; color: #fff; border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 5px 0 var(--ink2); font-weight: 400; transition: none; }
  .qrow:hover:not(:disabled) { filter: none; } .qrow:active:not(:disabled) { transform: none; }
  .qrow .qck { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.55); display: grid; place-items: center; font: 16px/1 var(--lilita); }
  .qrow .qt { flex: 1; min-width: 0; } .qrow .qt b { display: block; font: 16px/1.15 var(--lilita); font-weight: 400; } .qrow .qt small { display: block; margin-top: 3px; font: 12px/1.2 var(--lilita); color: #CFE8D6; }
  .qrow .qr { font: 18px/1 var(--lilita); color: #FFD93B; white-space: nowrap; }
  .qrow.got .qck { background: #7ED957; border-color: var(--ink2); color: var(--ink2); } .qrow.got .qr { color: #7ED957; }
  .qrow.ready { background: #FFD23F; color: var(--ink2); box-shadow: 0 5px 0 var(--ink2), 0 0 0 3px #FFF2A8, inset 0 4px 0 rgba(255,255,255,.5); cursor: pointer; }
  .qrow.ready .qck { border-color: var(--ink2); background: rgba(255,255,255,.45); } .qrow.ready .qt small { color: #5a4300; } .qrow.ready .qr { color: var(--ink2); }
  .qrow.ready:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2), 0 0 0 3px #FFF2A8, inset 0 4px 0 rgba(255,255,255,.5); }
  .tickets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
  .ticket { display: flex; flex-direction: column; min-width: 0; min-height: 150px; padding: 0; background: #FFF4D6; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 14px; box-shadow: 0 4px 0 var(--ink2); overflow: hidden; text-align: center; font-weight: 400; transition: none; }
  .ticket:hover:not(:disabled) { filter: none; } .ticket:active:not(:disabled) { transform: none; }
  .ticket .tband { flex: 0 0 44px; height: 44px; display: grid; place-items: center; font: 30px/1 var(--marker); color: #fff; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); border-bottom: 2px dashed var(--ink2); }
  .ticket .tband.d { background: #3FA9F5; } .ticket .tband.i { background: #FF8A3D; } .ticket .tband.c { background: #7ED957; } .ticket .tband.e { background: #B57BFF; }
  .ticket .tbody { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 5px 8px; }
  .ticket .trm { font: 9px/1 var(--lilita); letter-spacing: .08em; color: #7a3fd0; }
  .ticket .tt { font: 14px/1.15 var(--lilita); overflow-wrap: normal; hyphens: none; }
  .ticket .ts { font: 12px/1.15 var(--lilita); color: #4a4336; }
  .ticket .tr { font: 13px/1 var(--lilita); color: var(--ink2); }
  .ticket .play { display: grid; place-items: center; margin-top: auto; width: 100%; min-height: 44px; background: #B57BFF; color: #fff; border: 3px solid var(--ink2); border-radius: 12px; box-shadow: 0 3px 0 var(--ink2); font: 17px/1 var(--lilita); text-shadow: 1px 1px 0 var(--ink2); cursor: pointer; }
  .ticket .play:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  .ticket.ready { background: #FFD23F; box-shadow: 0 4px 0 var(--ink2), 0 0 0 3px #FFF2A8; cursor: pointer; } .ticket.ready .ts { color: #5a4300; }
  .ticket.ready:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink2), 0 0 0 3px #FFF2A8; }
  .stamp { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(232,52,59,.88); transform: rotate(-12deg); z-index: 0; pointer-events: none; }
  .ticket.got .tt, .wsq.got .lbl { position: relative; z-index: 1; color: #fff; text-shadow: 1px 1px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2), 0 2px 0 var(--ink2); }
  .ticket.got .ts, .ticket.got .tr, .ticket.got .trm { position: relative; z-index: 1; }
  @media (max-width: 369px) { .tickets { gap: 6px; } .ticket .tt { font-size: 13px; } .ticket .tband { font-size: 24px; height: 38px; flex-basis: 38px; } }
  .qnote { margin-top: 8px; font: 14px/1.2 var(--lilita); color: #E3F5E9; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
  .wcard { background: #FFF4D6; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 20px; box-shadow: 0 6px 0 var(--ink2); padding: 12px; margin-top: 18px; transform: rotate(-.6deg); }
  .wcard .wh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .wcard .wh h3 { margin: 0; font: 26px/1 var(--marker); font-weight: 400; color: var(--ink2); text-shadow: none; }
  .wcard .wh small { font: 13px/1.1 var(--lilita); color: #5f5648; white-space: nowrap; }
  .wcard .craps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; } /* (the weekly card's CRAPS header only: unscoped, these rules boxed the Pick a game Classic craps card's dice and title) */
  .wcard .craps span { height: 40px; display: grid; place-items: center; border: 3px solid var(--ink2); border-radius: 10px; box-shadow: 0 3px 0 var(--ink2); font: 26px/1 var(--marker); color: #fff; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); }
  .wcard .craps .c1 { background: #E8343B; } .wcard .craps .c2 { background: #3FA9F5; } .wcard .craps .c3 { background: #FFD23F; } .wcard .craps .c4 { background: #7ED957; } .wcard .craps .c5 { background: #B57BFF; }
  .wgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
  .wsq { position: relative; min-width: 0; min-height: 60px; padding: 10px 3px 4px; background: #FFFBEF; color: var(--ink2); border: 2px solid var(--ink2); border-radius: 9px; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; font: 11px/1.15 var(--lilita); font-weight: 400; overflow: hidden; transition: none; }
  .wsq:hover:not(:disabled) { filter: none; } .wsq:active:not(:disabled) { transform: none; }
  .wsq .lbl { display: block; font: 11px/1.15 var(--lilita); color: var(--ink2); text-transform: none; letter-spacing: 0; overflow-wrap: normal; hyphens: none; } /* (its own font and ink, never the account screens' pale uppercase .lbl; a word never breaks in two) */
  .wsq .n { position: absolute; top: 2px; right: 4px; font: 9px/1 var(--lilita); color: #4a4336; }
  @media (max-width: 349px) { .wsq .lbl { font-size: 10px; } }
  .wsq .star { font-size: 15px; line-height: 1; }
  .wsq.centre { background: #FFE9B8; } .wsq.centre .lbl { font: 12px/1.1 var(--marker); }
  .wsq.ready { background: #FFD23F; border-width: 3px; box-shadow: 0 0 0 3px #FFF2A8, inset 0 3px 0 rgba(255,255,255,.6); cursor: pointer; }
  .wsq.ready:active:not(:disabled) { transform: translateY(1px); }
  .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; font: 12px/1.2 var(--lilita); color: #5f5648; }
  .legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #E8343B; vertical-align: -1px; margin-right: 4px; }
  .legend .sq { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #FFD23F; border: 2px solid var(--ink2); box-sizing: border-box; vertical-align: -1px; margin-right: 4px; }
  .pboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .pbox { background: #0B3D22; color: #fff; border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 5px 0 var(--ink2); padding: 10px 12px; }
  .pbox b { display: block; font: 16px/1.1 var(--lilita); font-weight: 400; }
  .pbox .pbar { height: 10px; margin: 8px 0; background: rgba(0,0,0,.35); border: 2px solid var(--ink2); border-radius: 999px; overflow: hidden; } .pbox .pbar i { display: block; height: 100%; background: #7ED957; }
  .pbox small { display: block; font: 12px/1.2 var(--lilita); color: #CFE8D6; }
  .qpop { position: fixed; z-index: 12; width: min(260px, calc(100vw - 32px)); background: #fff; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 14px; box-shadow: 0 5px 0 var(--ink2); padding: 10px 12px; font: 13px/1.3 var(--lilita); }
  .qpop b { display: block; font-size: 15px; } .qpop small { display: block; margin-top: 4px; color: #5f5648; }
  /* the daily roll (daily-roll-calendar.md §1.3): the card at the top of Today, the 4 × 3 prize board on the felt's green, the cream tiles, Roll, the result line;
     the dice are the CSS cubes (table.css .scene/.cube) in an absolute wrap over the board, each scene placed over its square by quests.js */
  .rboard { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; padding: 8px; background: #14703F; border: 4px solid var(--ink2); border-radius: 16px; overflow: hidden; }
  .rsq { position: relative; aspect-ratio: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: #FFF4D6; border: 3px solid var(--ink2); border-radius: 12px; color: var(--ink2); }
  .rsq .ric { height: 26px; display: grid; place-items: center; line-height: 1; }
  .ric svg.gem, .cic svg.gem { width: 24px; height: 24px; } .rchip { width: 28px; height: 22px; display: block; } .rxp { font-size: 22px; line-height: 1; color: #F0B429; text-shadow: 1px 1px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); } .rbolt { font-size: 21px; line-height: 1; }
  .rsq .ramt { font: 15px/1 var(--lilita); }
  .rsq.hit { background: #FFD23F; box-shadow: inset 0 0 0 3px #FFF2A8; }
  .rsq .rst { position: absolute; right: -5px; top: -7px; padding: 3px 5px; background: #E8343B; color: #fff; border: 2px solid var(--ink2); border-radius: 999px; font: 12px/1 var(--lilita); transform: rotate(8deg); z-index: 3; }
  .rsq .rst.two { right: auto; left: -5px; background: #FFD23F; color: var(--ink2); transform: rotate(-8deg); }
  .rboard .rdice { position: absolute; inset: 0; display: block; margin: 0; gap: 0; pointer-events: none; z-index: 2; } /* (scoped to the prize board: poker's Hand ranks rows call their example dice .rdice too, and an unscoped rule threw them all into the sheet's corner) */
  .rboard .rdice .scene { position: absolute; left: 0; top: 0; }
  .rboard .rdice .face { padding: calc(var(--die, 44px) * .14); gap: 1px; }
  .rboard .rdice .scene .fd { opacity: .55; } /* the landed die (the craps table's flat .fd, in the skin's colours, the same size and centred on its square) is see-through: the prize, its stamps and the gold of the hit square read through it; the pips and the outline stay sharp */
  .gbtn.rollgo { --rot: -1deg; background: #FFD23F; width: 100%; height: 64px; margin-top: 12px; border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%; font-size: 30px; box-shadow: 0 6px 0 var(--ink2), inset 0 -8px 0 rgba(0,0,0,.16), inset 0 5px 0 rgba(255,255,255,.4); touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  .gbtn.rollgo:disabled { opacity: .7; }
  .rres { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 44px; margin-top: 12px; font: 18px/1.15 var(--lilita); text-align: center; }
  .rres b { font-weight: 400; min-height: 1em; }
  .rres .rdbl { color: #FFD23F; font: 20px/1 var(--marker); text-shadow: 2px 2px 0 var(--ink2); white-space: nowrap; }
  /* the 30-day calendar (daily-roll-calendar.md §2.4): the third tab's card, 5 × 6 squares: claimed green with a check, today's gold with the glow (tap to open),
     the rest dark with the prize's small icon; days 7, 14 and 21 purple-bordered with a bigger icon; day 30 the dice's real preview under a thick gold border */
  .calcard .cnote { margin-top: 6px; font: 13px/1.2 var(--lilita); color: #CFE8D6; }
  .cgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
  .csq { position: relative; aspect-ratio: 1; min-width: 0; padding: 2px 2px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #06281A; color: #fff; border: 3px solid var(--ink2); border-radius: 12px; box-shadow: 0 3px 0 var(--ink2); font-weight: 400; transition: none; overflow: hidden; }
  .csq:hover:not(:disabled) { filter: none; } .csq:active:not(:disabled) { transform: none; }
  .csq .cic { display: grid; place-items: center; height: 22px; line-height: 1; } .csq .cic svg.gem { width: 18px; height: 18px; } .csq .cic .rchip { width: 22px; height: 17px; } .csq .cic .rxp, .csq .cic .rbolt { font-size: 16px; }
  .csq .camt { font: 11px/1 var(--lilita); color: #FFD93B; white-space: nowrap; }
  @media (max-width: 379px) { .csq .camt { font-size: 10px; letter-spacing: -.01em; } }
  .csq .cday { position: absolute; left: 0; right: 0; bottom: 2px; font: 10px/1 var(--lilita); color: rgba(255,255,255,.7); text-align: center; }
  .csq.big { border-color: #B57BFF; } .csq.big .cic { height: 28px; } .csq.big .cic svg.gem { width: 24px; height: 24px; } .csq.big .cic .rchip { width: 28px; height: 22px; }
  .csq.final { border: 4px solid #FFD23F; } .csq.final .cic { height: 30px; } .csq.final .cic .diepv { width: 30px; height: 30px; padding: 4px; } .csq.final .cday { font: 11px/1 var(--lilita); color: #FFD23F; }
  .csq.got { background: #7ED957; color: var(--ink2); } .csq.got .cck { font: 22px/1 var(--lilita); } .csq.got .cday { color: rgba(0,0,0,.6); }
  .csq.now { background: #FFD23F; color: var(--ink2); box-shadow: 0 3px 0 var(--ink2), 0 0 0 3px #FFF2A8; cursor: pointer; } .csq.now .camt { color: var(--ink2); } .csq.now .cday { color: rgba(0,0,0,.6); }
  .csq.now:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2), 0 0 0 3px #FFF2A8; }
