/* v10 — gift picker, per-gift effects, combo counter, gift wall, room members, Ludo dice bank, entry card */

/* ---------------------------------------------- 1. gift "To:" picker you can always reach */
#app #sheetBody .gto.wrapped { display: block; }
#app #sheetBody .gto.wrapped .lab { display: block; margin: 0 0 6px; }
#app #sheetBody .gto.wrapped .pick {
  display: flex; flex-wrap: wrap; gap: 8px; overflow: visible;
  max-height: 124px; overflow-y: auto; padding: 2px; scrollbar-width: thin;
}
#app #sheetBody .gto.wrapped .pick .pk { flex: 0 0 auto; max-width: 100%; }
#app #sheetBody .gto.wrapped .pick .pk small { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* a tappable side on the gift-match bar */
#app #matchBar .ms.tap { cursor: pointer; border-radius: 10px; padding: 2px 6px; transition: background .15s; }
#app #matchBar .ms.tap:active { background: #ffffff1f; }
#app #matchBar .ms.tap::after { content: '🎁'; font-size: 10px; margin-left: 4px; opacity: .8; }

/* ---------------------------------------------- 2. the gift moment, every gift its own move */
.bigfx.small { pointer-events: none; }
.bigfx.small .bf-dim { display: none; }
.bigfx.small .bf-rays { display: none; }
.bigfx.small .bf-name { font-size: 12px; bottom: 16%; }
.bigfx.small .bf-art { width: 150px; height: 150px; }
.bigfx.small .bf-ring { display: none; }
.bigfx .bf-art { position: relative; }
.bigfx .bf-x {
  position: absolute; right: -6px; bottom: -4px; font: 900 20px Inter, sans-serif; font-style: normal;
  color: #FFE9A8; text-shadow: 0 2px 0 #7a4a00, 0 0 14px #ffce4d; letter-spacing: -.5px;
}
.bigfx.small .bf-x { font-size: 15px; }

/* extra moves for the smaller gifts */
@keyframes mPop   { 0% { transform: scale(.2); opacity: 0 } 45% { transform: scale(1.18); opacity: 1 } 70% { transform: scale(.95) } 100% { transform: scale(1.02); opacity: 0 } }
@keyframes mFloat { 0% { transform: translateY(120px) scale(.7); opacity: 0 } 25% { opacity: 1 } 100% { transform: translateY(-150px) scale(1.05); opacity: 0 } }
@keyframes mBloom { 0% { transform: scale(.1) rotate(-40deg); opacity: 0 } 40% { transform: scale(1.15) rotate(6deg); opacity: 1 } 75% { transform: scale(1) rotate(0) } 100% { transform: scale(1.05); opacity: 0 } }
@keyframes mBeat  { 0% { transform: scale(.3); opacity: 0 } 25% { transform: scale(1.2); opacity: 1 } 40% { transform: scale(.95) } 55% { transform: scale(1.14) } 70% { transform: scale(1) } 100% { transform: scale(1.1); opacity: 0 } }
@keyframes mSlide { 0% { transform: translateX(-120%) rotate(-12deg); opacity: 0 } 35% { transform: translateX(0) rotate(0); opacity: 1 } 75% { opacity: 1 } 100% { transform: translateX(120%) rotate(12deg); opacity: 0 } }
@keyframes mSpin  { 0% { transform: scale(.3) rotate(0); opacity: 0 } 30% { opacity: 1 } 100% { transform: scale(1.1) rotate(900deg); opacity: 0 } }
@keyframes mDrop  { 0% { transform: translateY(-160px) scale(.8); opacity: 0 } 40% { transform: translateY(0) scale(1); opacity: 1 } 52% { transform: translateY(-22px) scale(1.04) } 64% { transform: translateY(0) scale(.97) } 100% { transform: translateY(0) scale(1); opacity: 0 } }
@keyframes mFlutter { 0% { transform: translate(-130px, 90px) rotate(-18deg) scale(.6); opacity: 0 } 30% { opacity: 1 } 50% { transform: translate(20px, -30px) rotate(10deg) scale(1.05) } 75% { transform: translate(-30px, 20px) rotate(-8deg) scale(1) } 100% { transform: translate(120px, -90px) rotate(16deg) scale(.9); opacity: 0 } }
@keyframes mBubble { 0% { transform: translateY(70px) scale(.5); opacity: 0 } 30% { transform: translateY(0) scale(1.1); opacity: 1 } 55% { transform: translateY(-14px) scale(.98) } 80% { transform: translateY(0) scale(1.04) } 100% { transform: translateY(-40px) scale(1); opacity: 0 } }
@keyframes mDart  { 0% { transform: translateX(-140%) scale(.7) rotate(-6deg); opacity: 0 } 30% { opacity: 1 } 55% { transform: translateX(0) scale(1.1) rotate(0) } 100% { transform: translateX(60%) scale(.95); opacity: 0 } }
@keyframes mBurst { 0% { transform: scale(.1); opacity: 0 } 35% { transform: scale(1.3); opacity: 1 } 60% { transform: scale(1); opacity: 1 } 100% { transform: scale(1.5); opacity: 0 } }
@keyframes mGallop { 0% { transform: translateX(-130%) scale(.8); opacity: 0 } 25% { opacity: 1 } 40% { transform: translateX(-30%) translateY(-14px) scale(1) } 55% { transform: translateX(0) translateY(0) scale(1.05) } 70% { transform: translateX(30%) translateY(-14px) scale(1) } 100% { transform: translateX(130%) scale(.85); opacity: 0 } }

.bigfx.m-pop     .bf-wrap { animation: mPop 2.2s ease-out both }
.bigfx.m-float   .bf-wrap { animation: mFloat 2.4s ease-in-out both }
.bigfx.m-bloom   .bf-wrap { animation: mBloom 2.2s ease-out both }
.bigfx.m-beat    .bf-wrap { animation: mBeat 2.3s ease-out both }
.bigfx.m-slide   .bf-wrap { animation: mSlide 2.2s ease-in-out both }
.bigfx.m-spin    .bf-wrap { animation: mSpin 2.3s ease-out both }
.bigfx.m-drop    .bf-wrap { animation: mDrop 2.3s cubic-bezier(.3,1.4,.5,1) both }
.bigfx.m-flutter .bf-wrap { animation: mFlutter 2.5s ease-in-out both }
.bigfx.m-bubble  .bf-wrap { animation: mBubble 2.4s ease-in-out both }
.bigfx.m-dart    .bf-wrap { animation: mDart 2.2s cubic-bezier(.2,.9,.3,1) both }
.bigfx.m-burst   .bf-wrap { animation: mBurst 2.4s ease-out both }
.bigfx.m-gallop  .bf-wrap { animation: mGallop 3.4s ease-in-out both }

/* ---------------------------------------------- 3. combo counter in the corner */
#app #room > .gcombo {
  position: absolute !important; left: 10px; bottom: 164px; z-index: 36;
  display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px;
  background: linear-gradient(100deg, #12523f, #07281f); border: 1.5px solid #f2ca50;
  box-shadow: 0 6px 20px #000a, 0 0 22px #f2ca5033; color: #FBF6E6; max-width: 72%;
  animation: gcIn .2s ease-out;
}
@keyframes gcIn { from { opacity: 0; transform: translateX(-16px) } to { opacity: 1; transform: none } }
#app #room > .gcombo.out { opacity: 0; transform: translateX(-12px); transition: .28s }
#app #room > .gcombo.bump { animation: gcBump .34s ease-out }
@keyframes gcBump { 0% { transform: scale(1) } 35% { transform: scale(1.1) } 100% { transform: scale(1) } }
#app #room > .gcombo .ca { width: 36px; height: 36px; display: grid; place-items: center; flex: none }
#app #room > .gcombo .ca .gart, #app #room > .gcombo .ca img { width: 34px; height: 34px; object-fit: contain }
#app #room > .gcombo .cw { display: grid; min-width: 0 }
#app #room > .gcombo .cw b { font: 800 12.5px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
#app #room > .gcombo .cw small { font: 600 10.5px Inter, sans-serif; color: #9fe3c6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
#app #room > .gcombo .cx {
  font: 900 21px Inter, sans-serif; color: #FFE08A; letter-spacing: -.6px; flex: none;
  text-shadow: 0 2px 0 #6b3f00, 0 0 12px #ffce4d;
}

/* ---------------------------------------------- 4. the gift line in the chat */
#app #chat .msg.giftline {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, #d4af3722, transparent); border-left: 2px solid #f2ca50;
  padding: 5px 10px; border-radius: 0 10px 10px 0; color: #e8f3ef;
}
#app #chat .msg.giftline .gl-a { width: 26px; height: 26px; flex: none; display: grid; place-items: center }
#app #chat .msg.giftline .gl-a .gart, #app #chat .msg.giftline .gl-a img { width: 26px; height: 26px; object-fit: contain }
#app #chat .msg.giftline .gl-t { font: 600 12.5px Inter, sans-serif; min-width: 0 }
#app #chat .msg.giftline .gl-t b { color: #FFE08A }
#app #chat .msg.giftline .gl-t u { color: #8fe9c4; text-decoration: none; font-weight: 800 }
#app #chat .msg.giftline .gl-t em { color: #9fb6b0; font-style: normal }
#app #chat .msg.giftline .gl-x { font: 900 13px Inter, sans-serif; font-style: normal; color: #FFE08A; flex: none }

/* ---------------------------------------------- 5. entry card, top right, 2 seconds */
#app #room > .jcard { display: none !important; }        /* replaced by the corner card */
#app #room > .ecard {
  position: absolute !important; right: 10px; top: 72px; z-index: 38;
  display: flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border-radius: 99px;
  background: linear-gradient(100deg, #0f4a39ee, #06261eee); border: 1.5px solid #f2ca50;
  box-shadow: 0 6px 18px #000b; color: #FBF6E6; max-width: 62%;
  animation: ecIn .22s cubic-bezier(.2,1.3,.4,1);
}
@keyframes ecIn { from { opacity: 0; transform: translateX(26px) } to { opacity: 1; transform: none } }
#app #room > .ecard.out { opacity: 0; transform: translateX(20px); transition: .24s }
#app #room > .ecard > div { display: grid; min-width: 0 }
#app #room > .ecard b { font: 800 13px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
#app #room > .ecard small { font: 600 10.5px Inter, sans-serif; color: #9fe3c6 }

/* ---------------------------------------------- 6. gift wall on a profile */
#app #sheetBody .gwall { margin-top: 16px }
#app #sheetBody .gwall > b { font: 800 13px Inter, sans-serif; color: #cfe3dd; display: block; margin-bottom: 8px }
#app #sheetBody .gwall .gw { display: flex; flex-wrap: wrap; gap: 8px }
#app #sheetBody .gwall .gwi {
  position: relative; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--s2, #10342a); border: 1px solid var(--line, #ffffff14);
}
#app #sheetBody .gwall .gwi.t3 { border-color: #7fd7ff55; background: linear-gradient(#123b4d, #0b2a35) }
#app #sheetBody .gwall .gwi.t4 { border-color: #f2ca5088; background: linear-gradient(#3d3016, #1d1708); box-shadow: 0 0 12px #f2ca5022 }
#app #sheetBody .gwall .gwi .gart, #app #sheetBody .gwall .gwi img { width: 42px; height: 42px; object-fit: contain }
#app #sheetBody .gwall .gwi i {
  position: absolute; right: -3px; bottom: -3px; font: 900 11px Inter, sans-serif; font-style: normal;
  background: #0b231c; border: 1px solid #f2ca5066; color: #FFE08A; border-radius: 99px; padding: 1px 5px;
}

/* ---------------------------------------------- 7. Ludo dice bank and re-throw */
#app #lCtl .lbank {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center;
  width: 100%; margin-top: 8px;
}
#app #lCtl .lbank .lbl { font: 700 11px Inter, sans-serif; color: #9fb6b0; text-transform: uppercase; letter-spacing: .4px }
#app #lCtl .lbank .hint { font: 700 11.5px Inter, sans-serif; color: #8fe9c4 }
#app #lCtl .lbank .bd {
  display: grid; place-items: center; padding: 3px; border-radius: 10px; font-style: normal;
  background: #0d2b22; border: 1.5px solid transparent;
}
#app #lCtl .lbank .bd.pick { cursor: pointer }
#app #lCtl .lbank .bd.pick.on { border-color: #f2ca50; box-shadow: 0 0 10px #f2ca5055 }
#app #lCtl .lbank .rethrow { padding: 6px 12px; font: 800 12px Inter, sans-serif; white-space: nowrap }
#app #lCtl .lbank .rethrow:disabled { opacity: .45 }
#app #lCtl .lbank .rethrow small { font-weight: 700; opacity: .8 }

/* ---------------------------------------------- 8. room members sheet rows */
#app #sheetBody .card .item { display: flex; align-items: center; gap: 10px; padding: 6px 0; width: 100%; background: none; border: 0; color: inherit; text-align: left }
#app #sheetBody .card .item .nm { flex: 1; min-width: 0; display: grid }
#app #sheetBody .card .item .nm b { font: 800 13.5px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
#app #sheetBody .card .item .nm small { font: 600 11px Inter, sans-serif; color: #9fb6b0 }

/* ---------------------------------------------- which dice for this goti */
.diepick { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: #000a; animation: dpIn .14s ease-out }
@keyframes dpIn { from { opacity: 0 } to { opacity: 1 } }
.diepick .dpc {
  background: linear-gradient(#10402f, #06241b); border: 1.5px solid #f2ca50; border-radius: 20px;
  padding: 18px 20px; display: grid; gap: 12px; justify-items: center; box-shadow: 0 16px 48px #000c; max-width: 86vw;
}
.diepick .dpc > b { font: 800 15px Inter, sans-serif; color: #FBF6E6 }
.diepick .dpr { display: flex; gap: 14px }
.diepick .dpr button {
  display: grid; justify-items: center; gap: 7px; padding: 10px 14px; border-radius: 14px;
  background: #0d2b22; border: 1.5px solid #ffffff1f; color: #cfe3dd; cursor: pointer;
}
.diepick .dpr button:active { border-color: #f2ca50; background: #14402f }
.diepick .dpr button i { font: 700 11.5px Inter, sans-serif; font-style: normal; color: #8fe9c4; white-space: nowrap }
.diepick .dpx { background: none; border: 0; color: #9fb6b0; font: 700 13px Inter, sans-serif; padding: 4px 10px; cursor: pointer }

/* ---------------------------------------------- add to home screen */
.instbar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 130;
  display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 9px; border-radius: 16px;
  background: linear-gradient(100deg, #10402f, #06241b); border: 1.5px solid #f2ca50;
  box-shadow: 0 10px 30px #000b; color: #FBF6E6; animation: ibIn .25s cubic-bezier(.2,1.2,.4,1);
}
@keyframes ibIn { from { opacity: 0; transform: translateY(20px) } to { opacity: 1; transform: none } }
.instbar .ib-i { width: 40px; height: 40px; flex: none; border-radius: 11px; overflow: hidden }
.instbar .ib-i img { width: 100%; height: 100%; display: block; object-fit: cover }
.instbar .ib-t { display: grid; flex: 1; min-width: 0 }
.instbar .ib-t b { font: 800 13.5px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.instbar .ib-t small { font: 600 11px Inter, sans-serif; color: #9fe3c6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.instbar .ib-go {
  flex: none; background: linear-gradient(#f7d96b, #d4a930); color: #231a04; border: 0;
  font: 900 13px Inter, sans-serif; padding: 9px 16px; border-radius: 99px; cursor: pointer;
}
.instbar .ib-x { flex: none; background: none; border: 0; color: #9fb6b0; font-size: 20px; line-height: 1; padding: 4px 6px; cursor: pointer }

/* ---------------------------------------------- top-ups live on the website */
#app #sheetBody .paynote {
  display: grid; gap: 5px; padding: 12px 14px; border-radius: 14px; margin: 4px 0 2px;
  background: var(--s2, #10342a); border: 1px solid #f2ca5055;
}
#app #sheetBody .paynote b { font: 800 13.5px Inter, sans-serif; color: #FFE08A }
#app #sheetBody .paynote small { font: 600 12px/1.5 Inter, sans-serif; color: #cfe3dd }
#app #sheetBody .paynote small b { color: #8fe9c4; font-size: 12px }

/* ---------------------------------------------- get the app, on the first screen */
#authBox .getapp {
  display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%;
  margin: 10px 0 0; padding: 13px 16px; border-radius: 16px; cursor: pointer;
  background: #ffffff14; border: 1.5px solid #f2ca5077; color: #FBF6E6;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
#authBox .getapp:active { background: #ffffff22 }
#authBox .getapp svg { width: 21px; height: 21px; flex: none; color: #f2ca50 }
#authBox .getapp span { display: grid; text-align: left; line-height: 1.25 }
#authBox .getapp span { font: 800 15px Inter, sans-serif }
#authBox .getapp small { font: 600 11.5px Inter, sans-serif; color: #9fe3c6 }

#app #sheetBody ol.howto { list-style: none; counter-reset: h; padding: 0; margin: 10px 0 0 }
#app #sheetBody ol.howto li { counter-increment: h; position: relative; padding: 10px 0 10px 40px; border-top: 1px solid #ffffff14 }
#app #sheetBody ol.howto li:first-child { border-top: 0 }
#app #sheetBody ol.howto li::before {
  content: counter(h); position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: #f2ca50; color: #231a04; font: 900 13px Inter, sans-serif; display: grid; place-items: center;
}
#app #sheetBody ol.howto li b { display: block; font: 700 14px Inter, sans-serif }
#app #sheetBody ol.howto li small { font: 600 12.5px Inter, sans-serif; color: #9fb6b0 }

/* ---------------------------------------------- iPhone: show exactly where to tap */
.iosg { position: fixed; inset: 0; z-index: 140; background: #000c; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center; padding: 42px 16px 0; animation: igIn .2s ease-out }
@keyframes igIn { from { opacity: 0 } to { opacity: 1 } }
.iosg .ig-card { width: 100%; max-width: 420px; background: linear-gradient(#10402f, #06241b); border: 1.5px solid #f2ca50;
  border-radius: 22px; padding: 20px 18px 16px; text-align: center; box-shadow: 0 18px 50px #000c }
.iosg .ig-logo { width: 68px; height: 68px; border-radius: 17px; display: block; margin: 0 auto 10px }
.iosg .ig-t { display: block; font: 800 19px Inter, sans-serif; color: #FBF6E6 }
.iosg .ig-u { display: block; font: 600 13px Inter, sans-serif; color: #9fe3c6; margin-top: 3px }
.iosg .ig-warn { background: #3a2e10; border: 1px solid #f2ca5055; border-radius: 14px; padding: 11px 13px; margin-top: 14px; text-align: left }
.iosg .ig-warn b { display: block; font: 800 13.5px Inter, sans-serif; color: #FFE08A }
.iosg .ig-warn small { display: block; font: 600 12px/1.5 Inter, sans-serif; color: #e2d7bb; margin-top: 3px }
.iosg .ig-warn small b { display: inline; color: #fff }
.iosg .ig-steps { list-style: none; padding: 0; margin: 16px 0 4px; text-align: left }
.iosg .ig-steps li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #ffffff14 }
.iosg .ig-steps li:first-child { border-top: 0 }
.iosg .ig-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: #0b2f23; border: 1.5px solid #f2ca5066; color: #f2ca50; font: 900 20px Inter, sans-serif; font-style: normal }
.iosg .ig-ic svg { width: 21px; height: 21px }
.iosg .ig-steps li div b { display: block; font: 700 14.5px Inter, sans-serif; color: #FBF6E6 }
.iosg .ig-steps li div small { display: block; font: 600 12px Inter, sans-serif; color: #9fb6b0; margin-top: 2px }
.iosg .ig-x { width: 100%; margin-top: 12px; padding: 13px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(#f7d96b, #d4a930); color: #231a04; font: 900 15px Inter, sans-serif }
/* the arrow bounces at the bottom, where Safari's share button actually is */
.iosg .ig-arrow { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: 62px; height: 62px;
  border-radius: 50%; background: #f2ca50; color: #231a04; display: grid; place-items: center;
  box-shadow: 0 0 0 10px #f2ca5033, 0 10px 28px #000a; animation: igBob 1.1s ease-in-out infinite }
.iosg .ig-arrow svg { width: 30px; height: 30px }
@keyframes igBob { 0%,100% { transform: translateX(-50%) translateY(0) } 50% { transform: translateX(-50%) translateY(-14px) } }

/* ---- v10d: room IDs, room search results, the room on a profile ---- */
.ridc{opacity:.75;font-variant-numeric:tabular-nums}
.ridrow{display:flex;align-items:center;justify-content:space-between;gap:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:9px 12px;font-size:13px}
.ridrow b{font-size:16px;letter-spacing:.5px;font-variant-numeric:tabular-nums}
.rid.srch7 .kin input{text-align:left}
.fnd{display:grid;gap:8px;margin-top:4px}
.fndr{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:14px;padding:8px 10px;color:inherit}
.fndr:active{background:rgba(255,255,255,.1)}
.fndr .grow{display:grid;gap:1px;min-width:0}
.fndr .grow b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fndr .grow small{font-size:11px;opacity:.6}
.fndr .cnt{flex:none;font-size:12px;opacity:.7}
.hroom{display:flex;align-items:center;gap:10px;width:100%;text-align:left;margin-top:14px;padding:10px;border-radius:16px;color:inherit;
  background:linear-gradient(135deg,rgba(214,161,69,.18),rgba(255,255,255,.04));border:1px solid rgba(214,161,69,.35)}
.hroom:active{transform:scale(.99)}
.hroom .grow{display:grid;gap:1px;min-width:0}
.hroom .grow b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hroom .grow small{font-size:11px;opacity:.65}
.hroom .grow small.mut{font-size:10px;letter-spacing:.6px;text-transform:uppercase;opacity:.55}
.hroom .ent{flex:none;font-size:12px;font-weight:700;color:#e7c27a;white-space:nowrap}

/* ---- v10e: the YouTube player stays inside the room ---- */
#app #ytBox .ytwrap{position:relative;line-height:0}
#app #ytBox .ytwrap iframe{pointer-events:none}
.ytglass{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;padding:0;margin:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ytend{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#000000cc;line-height:1.3;z-index:2}
.ytend b{font-size:14px;color:#fff}
.ytend .btn{width:auto;padding:0 16px!important}
#app #ytBox .ytctl{display:flex;gap:5px;flex:none}
#app #ytBox .ytctl .btn{padding:0 7px!important;font-size:11px!important}
#app #ytBox .yb>span:first-child{max-width:24%!important}
/* minimized: the glass and the finished-overlay collapse with the video */
#app #ytBox.min .ytwrap,#app #ytBox.min .ytglass,#app #ytBox.min .ytend{height:2px!important;max-height:2px!important;min-height:0!important;opacity:0;pointer-events:none;overflow:hidden}

/* ---- v10f: waiting for the server, without losing your login ---- */
#bootWait{position:fixed;inset:0;z-index:999;display:flex;align-items:center;justify-content:center;background:#07140f;padding:24px}
#bootWait .bw{display:grid;gap:12px;justify-items:center;text-align:center;max-width:280px;width:100%}
#bootWait .bw b{font-size:15px;color:#e8f3ed;font-weight:600}
#bootWait .bw .btn{width:100%}
#bootWait .bwd{width:34px;height:34px;border-radius:50%;border:3px solid #ffffff22;border-top-color:#e7c27a;animation:bwspin 1s linear infinite}
@keyframes bwspin{to{transform:rotate(360deg)}}
/* the always-reachable close on the video's drag bar (works when rolled up too) */
#app #ytBox .ydrag .yclose{flex:none;padding:0 9px;height:24px;border-radius:12px;background:#ff5b5b33;color:#ffd7d7;font-size:12px;font-weight:700;border:1px solid #ff8d8d66;line-height:22px}
#app #ytBox.min .ydrag .yclose{display:block}

/* ---- v10g: the entrance plays in a band at the top, not over the whole screen ----
   The room stays visible and usable underneath; the person still gets their moment. */
body>.entx{inset:auto 0 auto 0!important;top:0!important;height:30vh!important;max-height:240px;
  border-radius:0 0 20px 20px;box-shadow:0 10px 30px #000a;background:#000!important}
body>.entx canvas,body>.entx .entx-bg{top:-32vh!important;height:100vh!important}
body>.entx .entx-card{top:auto!important;bottom:10px!important}
body>.entx .entx-name{font-size:clamp(22px,7vw,34px)!important;margin:2px 0 1px!important}
body>.entx .entx-sub{font-size:clamp(10px,3vw,13px)!important;letter-spacing:.1em!important}
body>.entx .entx-crown{font-size:10px!important;letter-spacing:.25em!important}
#app.entshake{animation:none!important}

/* ---- v10h: an emoji aimed at somebody on another mic ---- */
.rxfly{position:fixed;z-index:8500;pointer-events:none;transform:translate(-50%,-50%);transition:transform .62s cubic-bezier(.3,-0.2,.4,1.3),opacity .3s ease .95s;opacity:1}
.rxfly.go{transform:translate(-50%,-50%) translate(var(--dx),var(--dy)) scale(1.35);opacity:0}
.rxfly.solo{animation:rxsolo 1.4s ease-out forwards}
@keyframes rxsolo{0%{transform:translate(-50%,-50%) scale(.6);opacity:0}20%{transform:translate(-50%,-90%) scale(1.15);opacity:1}100%{transform:translate(-50%,-170%) scale(1);opacity:0}}
.rxhit{animation:rxhit .6s ease-out}
@keyframes rxhit{0%{transform:scale(1)}30%{transform:scale(1.18)}60%{transform:scale(.95)}100%{transform:scale(1)}}
.rxto{margin:6px 0 2px}
.rxto>small.mut{display:block;margin-bottom:4px;font-size:11px;letter-spacing:.5px;text-transform:uppercase;opacity:.6}
.rxto .chips{flex-wrap:wrap}

/* ---- v10i: one emoji list, the mirrored kiss, and replying to a message ---- */
.flipx .cstk,.cstk.flipx,.rxfly .cstk.flipx{transform:scaleX(-1)}
#reBar{display:flex;align-items:center;gap:8px;margin:0 10px 4px;padding:6px 10px;border-radius:12px;background:rgba(255,255,255,.07);border-left:3px solid var(--gold,#e7c27a)}
#reBar .rq{display:grid;gap:1px;min-width:0;flex:1}
#reBar .rq b{font-size:12px;color:#e7c27a}
#reBar .rq small{font-size:11px;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#reBar button{flex:none;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;border:0;font-size:12px}
.requote{display:grid;gap:1px;margin:2px 0 4px;padding:4px 8px;border-radius:8px;background:rgba(255,255,255,.06);border-left:3px solid rgba(231,194,122,.7)}
.requote b{font-size:11px;color:#e7c27a}
.requote small{font-size:11px;opacity:.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
#chat .msg{touch-action:pan-y}

/* ---- v10j: clearing the chat, and the gift match winner ---- */
.mwin{position:fixed;inset:0;z-index:9500;display:flex;align-items:center;justify-content:center;background:rgba(4,16,12,.72);backdrop-filter:blur(3px);opacity:0;transition:opacity .25s ease}
.mwin.go{opacity:1}
.mwin.out{opacity:0}
.mw-in{display:grid;justify-items:center;gap:4px;text-align:center;padding:22px 24px 26px;border-radius:24px;max-width:300px;
  background:linear-gradient(160deg,#1d3b30,#0d231c);border:1px solid rgba(231,194,122,.5);box-shadow:0 20px 60px #000b,0 0 60px rgba(231,194,122,.22);
  transform:scale(.8);transition:transform .35s cubic-bezier(.2,1.5,.4,1)}
.mwin.go .mw-in{transform:scale(1)}
.mw-in{position:relative;overflow:hidden}
.mw-burst{position:absolute;left:50%;top:92px;width:300px;height:300px;margin:-150px 0 0 -150px;pointer-events:none;
  background:url(art/win_burst.webp) center/contain no-repeat;mix-blend-mode:screen;opacity:0;transform:scale(.4) rotate(0deg)}
.mwin.go .mw-burst{animation:mwburst 5.2s ease-out forwards}
@keyframes mwburst{0%{opacity:0;transform:scale(.35) rotate(0)}14%{opacity:.6;transform:scale(1) rotate(8deg)}
  60%{opacity:.34;transform:scale(1.1) rotate(20deg)}100%{opacity:.2;transform:scale(1.16) rotate(30deg)}}
.mw-cup{position:relative;z-index:1;line-height:0;animation:mwcup 2.4s ease-in-out infinite}
.mw-cup img{width:120px;height:auto;display:block;filter:drop-shadow(0 8px 18px rgba(0,0,0,.55)) drop-shadow(0 0 26px rgba(255,200,80,.6))}
.mw-cup.draw{font-size:58px;line-height:1;filter:drop-shadow(0 0 16px rgba(255,210,74,.75))}
@keyframes mwcup{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(3deg)}}
.mwin.go .mw-cup{animation:mwpop .6s cubic-bezier(.2,1.7,.4,1) both, mwcup 2.4s ease-in-out 0.6s infinite}
@keyframes mwpop{0%{transform:scale(.3) rotate(-25deg);opacity:0}60%{transform:scale(1.12) rotate(6deg);opacity:1}100%{transform:scale(1) rotate(-3deg)}}
.mw-ttl{position:relative;z-index:2;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:#ffe3a8;margin-top:6px;font-weight:800;text-shadow:0 2px 6px #000,0 0 14px rgba(0,0,0,.9)}
.mw-av{position:relative;z-index:1;margin:8px 0 2px}
.mw-nm{position:relative;z-index:1;font-size:24px;font-weight:900;color:#fff;word-break:break-word;line-height:1.15}
.mw-sc{position:relative;z-index:1;font-size:17px;font-weight:800;color:#ffd24a;margin-top:2px}
.mw-vs{position:relative;z-index:1;font-size:12px;opacity:.7;margin-top:6px;color:#dff0e8}
.mw-tot{position:relative;z-index:1;font-size:11px;opacity:.5;margin-top:8px;color:#dff0e8}

/* ---- v10k: the stickers move, never the board ---- */
#app .ludo:not(.ibtn){grid-template-columns:minmax(0,1fr);width:100%}
#app .ludo:not(.ibtn)>*{max-width:100%}
#app .reactbar{min-width:0;width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#app #sheetBox{overflow-x:hidden}

/* ---- v10k: the small round "back to the room" pill you can move ---- */
#app #miniRoom{left:auto;right:12px;width:auto;max-width:72vw;padding:0 14px 0 8px;height:44px;border-radius:999px;
  display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;touch-action:none;
  background:linear-gradient(135deg,#1fa66a,#15855a);box-shadow:0 6px 20px #0009,0 0 0 1px rgba(255,255,255,.12) inset}
#app #miniRoom .mr-dot{flex:none;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.25);display:grid;place-items:center;font-size:14px}
#app #miniRoom .mr-tx{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app #miniRoom.drag{opacity:.9;transform:scale(1.04)}
#app #miniRoom .mr-live{flex:none;width:7px;height:7px;border-radius:50%;background:#7cf2b0;animation:mrLive 1.4s ease-in-out infinite}
@keyframes mrLive{0%,100%{opacity:1}50%{opacity:.25}}

/* ---- v10k: the edge you pull to step out of a room ---- */
#app .edgehint{position:fixed;left:0;top:0;bottom:0;width:4px;z-index:70;background:linear-gradient(90deg,rgba(231,194,122,.85),rgba(231,194,122,0));
  opacity:0;pointer-events:none;transition:opacity .15s}
#app .edgehint.on{opacity:1}

/* ---- v10n: the little "+10s" that shows when somebody skips the video ---- */
#app #ytBox .ytglass{touch-action:manipulation}
#app #ytBox .ysk{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.9);background:#000a;color:#fff;font-weight:800;font-size:15px;padding:8px 14px;border-radius:999px;pointer-events:none;opacity:0;z-index:4}
#app #ytBox .ysk.go{animation:yskp .85s ease-out}
@keyframes yskp{0%{opacity:0;transform:translate(-50%,-50%) scale(.8)}18%{opacity:1;transform:translate(-50%,-50%) scale(1)}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(1.05)}}

/* ---- v10p: the quiet "get the app" bar, Android browsers only ---- */
#app .apkbar{position:absolute;left:8px;right:8px;z-index:6;display:flex;align-items:center;gap:10px;
 padding:9px 10px;border-radius:16px;background:rgba(10,40,31,.97);border:1px solid #ffffff1f;
 box-shadow:0 10px 28px -8px #000c;backdrop-filter:blur(10px);animation:gaup .28s ease-out}
@keyframes gaup{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
#app .apkbar img{width:34px;height:34px;border-radius:9px;flex:none}
#app .apkbar .gt{flex:1;min-width:0;line-height:1.25}
#app .apkbar .gt b{display:block;font-size:13.5px;font-weight:800;color:#eaf5f0}
#app .apkbar .gt small{display:block;font-size:11.5px;color:#9fb6b0}
#app .apkbar .gb{flex:none;padding:8px 14px;border-radius:999px;background:linear-gradient(#f7d96b,#d4a930);
 color:#231a04;font-size:13px;font-weight:900;text-decoration:none}
#app .apkbar .gx{flex:none;width:26px;height:26px;border-radius:50%;background:#ffffff14;color:#9fb6b0;font-size:12px;line-height:24px}

/* ---- v10s: the round music button in the room ---- */
#app #bMusic{position:absolute;z-index:6;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
 font-size:22px;line-height:1;color:#0d2a20;background:linear-gradient(#f7d96b,#d4a930);
 border:0;box-shadow:0 8px 20px -6px #000c,0 0 0 2px #ffffff18 inset}
#app #bMusic:active{transform:translateY(1px)}
#app #bMusic.on{animation:musbeat 1.6s ease-in-out infinite}
@keyframes musbeat{0%,100%{box-shadow:0 8px 20px -6px #000c,0 0 0 2px #ffffff18 inset,0 0 0 0 #f7d96b66}
 50%{box-shadow:0 8px 20px -6px #000c,0 0 0 2px #ffffff18 inset,0 0 0 9px #f7d96b00}}

/* ---- the music player, as a small puck you can move -----------------------
   It used to be a strip across the whole width, sitting right on top of the
   typing box and the gift button. Now it is a circle: tap it for the controls,
   hold and drag it anywhere, and it stays where you put it.
   The !important marks are deliberate: #room has a blanket rule that pins
   everything inside it in place, and it outranks a plain class selector. */
#stMini.musmini{
  position:fixed !important; left:14px !important; right:auto !important;
  top:auto !important; bottom:150px !important;
  width:54px !important; height:54px !important;
  padding:0 !important; gap:0; justify-content:center;
  overflow:hidden; touch-action:none; cursor:grab; user-select:none;
  box-shadow:0 6px 18px #0009; z-index:40;
  transition:width .18s ease, height .18s ease, border-radius .18s ease, padding .18s ease;
}
#stMini.musmini .mn, #stMini.musmini button{display:none}
#stMini.musmini .musn{font-size:22px; line-height:1}
#stMini.musmini.open{
  width:min(calc(100vw - 28px), 320px) !important; height:auto !important;
  min-height:46px; border-radius:24px; padding:7px 12px !important;
  gap:6px; justify-content:flex-start; overflow:visible;
}
#stMini.musmini.open .mn{display:block}
#stMini.musmini.open button{display:inline-block}
#stMini.musmini.open .musn{font-size:15px}
#stMini.musmini.mdrag{transition:none; cursor:grabbing; opacity:.92}
#stMini.musmini.playing .musn{animation:muspulse 1.6s ease-in-out infinite}
@keyframes muspulse{0%,100%{opacity:1}50%{opacity:.45}}

/* ---- gift match: who the room is gifting, and a kinder light show ---------
   The two people in the match now carry a gift box on their seat, so nobody has
   to read the scoreboard to know who to send to. */
#seats .seat.pkup{position:relative}
#seats .seat.pkup .pkbadge{
  position:absolute; top:-4px; right:-2px; z-index:3;
  width:25px; height:25px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:14px; line-height:1;
  background:#0b241c; border:1.5px solid var(--gold,#f6e3a6);
  box-shadow:0 0 10px rgba(246,227,166,.55);
  animation:pkPulse 1.5s ease-in-out infinite;
}
@keyframes pkPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}

/* The gift animation used to black out the whole screen, so while it played you
   could not see the chat or reach the Gift button. It is lighter now, and the
   bottom of the screen is left alone so people can keep gifting through it. */
/* Written to be cheap for a phone to draw. The first version of this used masks and
   filters to fade the layers out, and those are exactly what a mid-range Android
   chokes on: a masked, filtered, spinning layer has to be repainted every frame.
   Now every layer is painted once and only moved or faded, which the phone's
   graphics chip does on its own without redrawing anything. */
.bigfx{contain:layout style paint}
.bigfx .bf-dim{
  background:linear-gradient(to bottom, rgba(0,0,0,.42) 0, rgba(0,0,0,.42) 52%, rgba(0,0,0,.12) 76%, rgba(0,0,0,0) 90%) !important;
  -webkit-mask-image:none; mask-image:none; will-change:opacity;
}
.bigfx .bf-rays{
  width:560px!important; height:560px!important; margin:-280px 0 0 -280px!important;
  background:repeating-conic-gradient(rgba(245,197,66,.13) 0 6deg, rgba(0,0,0,0) 6deg 17deg)!important;
  filter:none; -webkit-mask-image:none; mask-image:none; will-change:transform,opacity;
}
.bigfx .bf-flash{
  background:radial-gradient(30% 24% at 50% 44%, rgba(255,255,255,.38), rgba(255,255,255,0) 70%)!important;
  filter:none; -webkit-mask-image:none; mask-image:none; will-change:opacity;
}
/* the glow behind the gift was a 44px blur filter recalculated as it moved; it is a
   plain painted halo now, which looks the same and costs nothing */
.bigfx .bf-art{filter:none!important; will-change:transform,opacity}
.bigfx .bf-wrap::before{content:'';position:absolute;inset:-18%;border-radius:50%;
  background:radial-gradient(closest-side, rgba(255,200,80,.42), rgba(255,200,80,0));pointer-events:none}
.bigfx .bf-parts i{will-change:transform,opacity}
/* shaking the whole room drags the video along with it - never while one is playing */
#app #room.hasyt.bfshake{animation:none!important}
/* phones with little memory or few cores skip the two heaviest layers altogether */
html.lite .bigfx .bf-rays, html.lite .bigfx .bf-splash, html.lite .bigfx .bf-trail{display:none!important}
html.lite #app #room.bfshake{animation:none!important}

/* ---- gift sheet header: fits any phone ------------------------------------
   The four tabs were locked into equal quarters inside a box that hid whatever
   did not fit, so on a narrow screen - or next to a long diamond balance like
   98979.6M - the words were cut into "Classi Specia Premiu". Now each tab is at
   least as wide as its own word, they spread out when there is room, and the row
   slides sideways when there is not. Nothing is ever cut off. */
#app .gtabs{gap:8px!important;align-items:center}
#app .gtabs .seg{
  flex:1 1 auto; min-width:0;
  overflow-x:auto!important; overflow-y:hidden;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
#app .gtabs .seg::-webkit-scrollbar{display:none}
#app .gtabs .seg button{
  flex:1 1 auto!important; min-width:max-content!important;
  padding:9px 11px!important; font-size:12.5px!important;
  white-space:nowrap;
}
/* the balance gives way first, and shortens itself rather than pushing the tabs out */
#app .gbal{flex:0 0 auto; max-width:42%; min-width:0; overflow:hidden}
#app .gbal span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:block; min-width:0}
#seats .seat.pkup .sav{position:relative}
#app #room.hasyt .seat.pkup .pkbadge{width:19px;height:19px;font-size:11px;top:-5px;right:-5px}
#app #room.hasyt .seats{padding-top:8px!important}
/* level 2: a phone that still cannot keep up gets just the gift, its name and the counter */
html.lite2 .bigfx .bf-dim, html.lite2 .bigfx .bf-flash, html.lite2 .bigfx .bf-ring,
html.lite2 .bigfx .bf-parts, html.lite2 .bigfx .bf-wrap::before{display:none!important}
html.lite2 .bigfx .bf-art .gart{width:200px!important;height:200px!important}

/* ---- ready-made gift clips: one canvas, the name over it, taps go straight through */
.bigfx.clipfx{pointer-events:none!important;contain:strict}
.bigfx.clipfx .cf-cv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bigfx.clipfx .cf-v{position:absolute;left:0;top:0;width:2px;height:2px;opacity:0;pointer-events:none}

/* ---- the gift has to stay on screen ------------------------------------------
   Two faults made big gifts vanish almost as soon as they arrived. The lion's move
   only named its fade at the very end, so the browser faded it across the whole
   five seconds - it was nearly gone after one. And big gifts that borrow a small
   gift's move (chest, lantern, fireworks, unicorn, genie) ran it at the small
   length, so the picture left after two seconds while the lights carried on for
   three more over an empty screen. Every move now holds the gift in full view
   until three quarters of the way through, and big gifts run it at full length. */
@keyframes mRoar{0%{transform:scale(.2);opacity:1}8%{transform:scale(1.32)}14%{transform:scale(1)}20%{transform:scale(1.16)}27%{transform:scale(1)}74%{transform:scale(1);opacity:1}100%{transform:scale(1.4);opacity:0}}
@keyframes mPop { 0% { transform: scale(.2); opacity: 0 } 45% { transform: scale(1.18); opacity: 1 } 70% { transform: scale(.95) } 74% { opacity: 1 } 100% { transform: scale(1.02); opacity: 0 } }
@keyframes mFloat { 0% { transform: translateY(120px) scale(.7); opacity: 0 } 25% { opacity: 1 } 74% { opacity: 1 } 100% { transform: translateY(-150px) scale(1.05); opacity: 0 } }
@keyframes mBloom { 0% { transform: scale(.1) rotate(-40deg); opacity: 0 } 40% { transform: scale(1.15) rotate(6deg); opacity: 1 } 75% { transform: scale(1) rotate(0) } 74% { opacity: 1 } 100% { transform: scale(1.05); opacity: 0 } }
@keyframes mBeat { 0% { transform: scale(.3); opacity: 0 } 25% { transform: scale(1.2); opacity: 1 } 40% { transform: scale(.95) } 55% { transform: scale(1.14) } 70% { transform: scale(1) } 74% { opacity: 1 } 100% { transform: scale(1.1); opacity: 0 } }
@keyframes mSpin { 0% { transform: scale(.3) rotate(0); opacity: 0 } 30% { opacity: 1 } 74% { opacity: 1 } 100% { transform: scale(1.1) rotate(900deg); opacity: 0 } }
@keyframes mDrop { 0% { transform: translateY(-160px) scale(.8); opacity: 0 } 40% { transform: translateY(0) scale(1); opacity: 1 } 52% { transform: translateY(-22px) scale(1.04) } 64% { transform: translateY(0) scale(.97) } 74% { opacity: 1 } 100% { transform: translateY(0) scale(1); opacity: 0 } }
@keyframes mFlutter { 0% { transform: translate(-130px, 90px) rotate(-18deg) scale(.6); opacity: 0 } 30% { opacity: 1 } 50% { transform: translate(20px, -30px) rotate(10deg) scale(1.05) } 75% { transform: translate(-30px, 20px) rotate(-8deg) scale(1) } 74% { opacity: 1 } 100% { transform: translate(120px, -90px) rotate(16deg) scale(.9); opacity: 0 } }
@keyframes mBubble { 0% { transform: translateY(70px) scale(.5); opacity: 0 } 30% { transform: translateY(0) scale(1.1); opacity: 1 } 55% { transform: translateY(-14px) scale(.98) } 80% { transform: translateY(0) scale(1.04) } 74% { opacity: 1 } 100% { transform: translateY(-40px) scale(1); opacity: 0 } }
@keyframes mDart { 0% { transform: translateX(-140%) scale(.7) rotate(-6deg); opacity: 0 } 30% { opacity: 1 } 55% { transform: translateX(0) scale(1.1) rotate(0) } 74% { opacity: 1 } 100% { transform: translateX(60%) scale(.95); opacity: 0 } }
@keyframes mBurst { 0% { transform: scale(.1); opacity: 0 } 35% { transform: scale(1.3); opacity: 1 } 60% { transform: scale(1); opacity: 1 } 74% { opacity: 1 } 100% { transform: scale(1.5); opacity: 0 } }
@keyframes mGallop { 0% { transform: translateX(-130%) scale(.8); opacity: 0 } 25% { opacity: 1 } 40% { transform: translateX(-30%) translateY(-14px) scale(1) } 55% { transform: translateX(0) translateY(0) scale(1.05) } 70% { transform: translateX(30%) translateY(-14px) scale(1) } 74% { opacity: 1 } 100% { transform: translateX(130%) scale(.85); opacity: 0 } }
.bigfx:not(.small).m-pop .bf-wrap,
.bigfx:not(.small).m-float .bf-wrap,
.bigfx:not(.small).m-bloom .bf-wrap,
.bigfx:not(.small).m-beat .bf-wrap,
.bigfx:not(.small).m-spin .bf-wrap,
.bigfx:not(.small).m-drop .bf-wrap,
.bigfx:not(.small).m-flutter .bf-wrap,
.bigfx:not(.small).m-bubble .bf-wrap,
.bigfx:not(.small).m-dart .bf-wrap,
.bigfx:not(.small).m-burst .bf-wrap,
.bigfx:not(.small).m-gallop .bf-wrap{animation-duration:5s}
/* the dhol is played, not just shown: it rocks on every beat */
@keyframes mDhol{0%{transform:scale(.2) rotate(-14deg);opacity:0}8%{transform:scale(1.18) rotate(5deg);opacity:1}14%{transform:scale(1) rotate(-4deg)}20%{transform:scale(1.1) rotate(4deg)}26%{transform:scale(1) rotate(-4deg)}32%{transform:scale(1.1) rotate(4deg)}38%{transform:scale(1) rotate(-4deg)}44%{transform:scale(1.1) rotate(4deg)}50%{transform:scale(1) rotate(-4deg)}56%{transform:scale(1.1) rotate(4deg)}62%{transform:scale(1) rotate(-4deg)}68%{transform:scale(1.1) rotate(4deg)}74%{transform:scale(1) rotate(0);opacity:1}100%{transform:scale(1.3);opacity:0}}
.bigfx.m-dhol .bf-wrap{animation:mDhol 5s ease-in-out both}
.bigfx.small.m-dhol .bf-wrap{animation-duration:2.4s}


/* ---- Fruit Party ---------------------------------------------------------- */
#app .bar2 .ibtn.fruitb{background:linear-gradient(#ff7a9c,#e0456b)!important;border:2px solid #ffd0dc!important;box-shadow:0 3px 0 #a01038!important;font-size:20px}
#fpWrap{position:fixed;inset:0;z-index:9600;background:rgba(4,16,12,.72);backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center}
#fpCard{width:100%;max-width:460px;background:linear-gradient(#123a2c,#0a241b);border:1px solid #2c7a5c;border-top-left-radius:20px;border-top-right-radius:20px;padding:14px 14px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.5)}
@media(min-width:520px){#fpWrap{align-items:center}#fpCard{border-radius:20px}}
#fpCard .fp-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}
#fpCard .fp-top b{font-size:18px;color:#f6e3a6;font-family:Fraunces,serif}
#fpCard .fp-gold{margin-left:auto;font-weight:700;color:#ffe9a8;background:#06120e;border:1px solid #2c7a5c;border-radius:99px;padding:5px 12px;font-size:13px}
#fpCard .fp-x{width:34px;height:34px;border-radius:50%;border:0;background:#1d4a3a;color:#eaf5f0;font-size:15px}
#fpCard .fp-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:8px;aspect-ratio:1/1;max-height:62vh}
.fp-cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:14px;background:#0b241c;border:2px solid #1d4a3a;color:#eaf5f0;padding:4px;overflow:hidden;transition:transform .08s}
.fp-cell:active{transform:scale(.96)}
.fp-cell .fp-e{font-size:min(8vw,34px);line-height:1}
.fp-cell .fp-m{font-weight:800;color:#f6e3a6;font-size:13px}
.fp-cell .fp-pot{font-size:10.5px;color:#9cc0b0}
.fp-cell .fp-mine{font-size:10px;color:#13241c;background:#f6e3a6;border-radius:6px;padding:0 5px;font-weight:700;margin-top:1px}
.fp-cell.hot{border-color:#ffd166;box-shadow:0 0 0 2px #ffd166,0 0 18px #ffd166;background:#1a3a2c}
.fp-center{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#06120e;border-radius:14px;border:1px dashed #2c7a5c}
.fp-center .fp-big{font-size:min(10vw,40px);font-weight:800;color:#f6e3a6}
.fp-center small{color:#9cc0b0;font-size:11px}
#fpCard .fp-hist{display:flex;gap:4px;justify-content:center;margin:10px 0 4px;min-height:22px;flex-wrap:wrap}
#fpCard .fp-hist span{font-size:16px;opacity:.85}
#fpCard .fp-chips{display:flex;gap:8px;margin:6px 0}
.fp-chip{flex:1;min-height:42px;border-radius:12px;border:1px solid #2c7a5c;background:#0b241c;color:#eaf5f0;font-weight:700;font-size:13px}
.fp-chip.on{background:#f6e3a6;color:#13241c;border-color:#f6e3a6}
#fpCard .fp-note{text-align:center;color:#9cc0b0;font-size:11.5px;margin-top:8px}
