/* ================= Bluff =================
   A card table under a green-felt glow: the fact on a big cream card with a gold blank, lies dealt face-down
   as they're written, flipped up shuffled at the pick, the truth lit gold at the reveal with who fooled whom. */
.bl { position: relative; flex: 1; margin: -1.5vh -3vw -2.5vh; padding: 1.5vh 3vw 2.5vh; min-height: 0; display: grid; overflow: hidden; font-family: var(--display);
    background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(20, 80, 50, .5), transparent 70%); }
.bl i, .bl b, .bl em { font-style: normal; }
.bl-stage { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 1.6vh; min-height: 0; }
.bl-prompt { justify-self: center; max-width: 100%; padding: 2.4vh 3vw; border-radius: 2vh; text-align: center; font-weight: 900; font-size: 4.6vh; line-height: 1.15; color: #150c2c; background: linear-gradient(180deg, #fffdf6, #efe6d2); box-shadow: 0 0 0 .5vh var(--gold), 0 2vh 5vh rgba(0, 0, 0, .6); text-wrap: balance; animation: bl-deal .6s cubic-bezier(.2, 1.5, .4, 1); }
.bl-blank { display: inline-block; min-width: 14vw; padding: 0 .6vw; border-bottom: .8vh solid var(--gold); color: var(--gold); letter-spacing: .1em; }
.bl-table { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 1.4vh 1vw; min-height: 0; }
.bl-card { position: relative; display: grid; align-content: center; gap: .4vh; width: 22vw; min-height: 10vh; padding: 1.4vh 1.4vw; border-radius: 1.6vh; text-align: center; animation: bl-deal .5s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--k) * .08s); }
.bl-card.down { width: 12vh; min-height: 16vh; background: repeating-linear-gradient(45deg, #2a2360 0 1vh, #201a4c 1vh 2vh); box-shadow: inset 0 0 0 .4vh var(--gold), 0 1vh 3vh rgba(0, 0, 0, .5); }
.bl-card.down i { font-weight: 900; font-size: 6vh; color: rgba(255, 255, 255, .5); }
.bl-card.up { background: linear-gradient(180deg, #fffdf6, #efe6d2); color: #150c2c; box-shadow: inset 0 0 0 .3vh rgba(0, 0, 0, .15), 0 1vh 3vh rgba(0, 0, 0, .5); animation-name: bl-flip; }
.bl-card.up span { font-weight: 900; font-size: 2.9vh; line-height: 1.15; text-wrap: balance; }
.bl-card.up small { font-family: var(--body, Inter), sans-serif; font-weight: 700; font-size: 1.7vh; color: #6b5a8a; }
.bl-card.truth { color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); box-shadow: 0 0 0 .5vh #fff, 0 0 6vh color-mix(in srgb, var(--gold) 80%, transparent); animation: bl-truth .8s cubic-bezier(.2, 1.6, .4, 1); transform: scale(1.06); }
.bl-card.truth small { color: #5a3a00; }
.bl-card.lie { opacity: .8; }
@keyframes bl-deal { from { transform: translateY(-6vh) rotate(-6deg); opacity: 0; } }
@keyframes bl-flip { 0% { transform: rotateY(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes bl-truth { 0% { transform: scale(.8); } 60% { transform: scale(1.14); } 100% { transform: scale(1.06); } }
.bl-foot { min-height: 3.2vh; text-align: center; font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 2.4vh; color: #e8e0ff; }
.bl-foot b { color: var(--gold); }
/* waiting */
.bl-wait { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 36vh; gap: 2vw; align-items: center; min-height: 0; }
.bl-wait .wt-qr { z-index: 50; }
.bl-wmain { display: grid; justify-items: center; gap: 1.6vh; min-height: 0; }
.bl-sign { display: flex; align-items: center; gap: 1.4vw; }
.bl-sign span { font-size: 7vh; line-height: 1; animation: bl-shift 2.4s ease-in-out infinite alternate; }
@keyframes bl-shift { from { transform: rotate(-6deg); } to { transform: rotate(6deg) translateY(-.6vh); } }
.bl-sign b { font-weight: 900; font-size: 7.5vh; line-height: 1; color: #fff; text-shadow: 0 .8vh 0 rgba(0, 0, 0, .5), 0 0 5vh color-mix(in srgb, #2fd683 45%, transparent); }
.bl-demo { width: 100%; height: 40vh; }
.bl-demo .bl-prompt { font-size: 3.4vh; padding: 1.6vh 2vw; } .bl-demo .bl-card.up { width: 17vw; min-height: 7vh; } .bl-demo .bl-card.up span { font-size: 2.3vh; } .bl-demo .bl-card.down { width: 8vh; min-height: 11vh; } .bl-demo .bl-card.down i { font-size: 4vh; }
.bl-how { display: flex; flex-wrap: wrap; justify-content: center; gap: 1vh 1vw; }
.bl-how span { padding: .9vh 1.4vw; border-radius: 99px; font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 2.1vh; color: #fff; background: rgba(10, 8, 30, .7); box-shadow: inset 0 0 0 .2vh rgba(255, 255, 255, .12); }
.bl-roster { padding: .9vh 2.2vw; border-radius: 99px; font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 2.3vh; color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); }
/* playing */
.bl-play { position: relative; z-index: 2; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1.4vh; min-height: 0; }
.bl-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2vw; }
.bl-top .wg-title span { font-size: 5.4vh; } .bl-top .wg-title b { font-size: 4.6vh; }
.bl-phase { justify-self: center; padding: 1vh 2.6vw; border-radius: 99px; font-weight: 900; font-size: 3.2vh; color: #fff; background: rgba(10, 8, 30, .75); box-shadow: 0 0 0 .3vh var(--gold); text-transform: uppercase; letter-spacing: .05em; }
.bl-clock { display: grid; justify-items: center; width: 11vh; height: 11vh; align-content: center; border-radius: 50%; background: rgba(10, 8, 30, .8); box-shadow: 0 0 0 .4vh var(--gold); }
.bl-clock b { font-weight: 900; font-size: 5vh; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; } .bl-clock small { font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 1.5vh; color: var(--gold); }
.bl-clock.low { box-shadow: 0 0 0 .4vh var(--blood), 0 0 4vh var(--blood); animation: bl-tick .5s ease-in-out infinite alternate; }
@keyframes bl-tick { to { transform: scale(1.08); } }
.bl-body { display: grid; grid-template-columns: minmax(0, 1fr) 30vh; gap: 2vw; min-height: 0; }
.bl-scores { display: grid; gap: .5vh; align-content: start; }
.bl-scores h4 { margin: 0 0 .3vh; font-size: 2.2vh; color: var(--gold); }
.bl-scores div { display: grid; grid-template-columns: 3vh minmax(0, 1fr) auto; gap: .6vw; align-items: center; padding: .5vh .8vw; border-radius: .9vh; font-weight: 800; font-size: 2vh; background: rgba(0, 0, 0, .45); }
.bl-scores span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; } .bl-scores em { color: var(--gold); font-variant-numeric: tabular-nums; }
.bl-over { display: grid; place-items: center; gap: 1vh; width: 100%; }
.bl-over b { font-weight: 900; font-size: 9vh; color: #fff; text-shadow: 0 1vh 0 rgba(0, 0, 0, .5), 0 0 6vh color-mix(in srgb, var(--gold) 70%, transparent); } .bl-over span { font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 3vh; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .bl *, .blp * { animation: none !important; } }

/* ================= phone ================= */
.blp { display: grid; gap: .9rem; grid-template-columns: minmax(0, 1fr); }
.blp > * { min-width: 0; }
.blp-head { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 900; font-size: 1.3rem; line-height: 1.1; }
.blp-head .ic { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem; background: linear-gradient(135deg, #1f9d55, #0f3a24); }
.blp-head small { display: block; font-family: var(--body, Inter), sans-serif; font-weight: 700; font-size: .8rem; color: var(--muted, #a7a2b0); }
.blp-head > b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--gold); }
.blp-big { font-family: var(--display); font-weight: 900; font-size: 1.6rem; margin-bottom: .3rem; }
.blp-in { text-align: center; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ecto) 55%, transparent); }
.blp-prompt { padding: .9rem; border-radius: 14px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 1.2rem; line-height: 1.25; color: #150c2c; background: linear-gradient(180deg, #fffdf6, #efe6d2); box-shadow: 0 0 0 3px var(--gold); }
.blp-prompt .bl-blank { min-width: 4rem; border-bottom-width: 3px; }
.blp-turn { padding: .75rem .9rem; border-radius: 12px; font-weight: 900; text-align: center; background: var(--panel2, #24242b); }
.blp-turn.go { color: #140a00; background: linear-gradient(180deg, #fff6c8, var(--gold)); } .blp-turn.got { color: #fff; background: color-mix(in srgb, var(--ecto) 35%, #0b0b10); box-shadow: inset 0 0 0 2px var(--ecto); }
.blp-turn small { display: block; margin-top: .3rem; font-weight: 600; font-size: .85rem; color: #d9d2ea; } .blp-turn b { font-family: var(--display); font-size: 1.3rem; color: var(--gold); }
.blp-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; } .blp-form input { font-size: 16px; min-width: 0; }
.blp-opts { display: grid; gap: .5rem; }
.blp-opts button { position: relative; min-height: 54px; padding: .7rem .9rem; border: 0; border-radius: 12px; font: inherit; font-family: var(--display); font-weight: 900; font-size: 1.05rem; text-align: left; color: #150c2c; background: linear-gradient(180deg, #fffdf6, #efe6d2); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1); cursor: pointer; }
.blp-opts button.on { box-shadow: 0 0 0 3px var(--gold), 0 0 16px color-mix(in srgb, var(--gold) 60%, transparent); } .blp-opts button.mine { opacity: .5; } .blp-opts button small { position: absolute; right: .8rem; top: .5rem; font-family: var(--body, Inter), sans-serif; font-size: .7rem; color: #6b5a8a; }
.blp-result { display: grid; justify-items: center; gap: .3rem; padding: 1.2rem 1rem; border-radius: 16px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 30%, #1a1030), #0a0612); box-shadow: 0 0 0 3px var(--gold); }
.blp-result span { color: var(--gold); font-weight: 800; } .blp-result small { color: var(--muted, #a7a2b0); }
.pp-bluff { display: grid; place-items: center; }
.bl-mini { display: flex; gap: .5rem; } .bl-mini i { display: grid; place-items: center; width: 2.8rem; height: 3.8rem; border-radius: 8px; font-style: normal; font-family: var(--display); font-weight: 900; font-size: 1.4rem; color: rgba(255, 255, 255, .6); background: repeating-linear-gradient(45deg, #2a2360 0 6px, #201a4c 6px 12px); box-shadow: 0 0 0 2px var(--gold); animation: pp-flipin 4s ease-in-out infinite; }
.bl-mini i.t { color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); } .bl-mini i:nth-child(2) { animation-delay: .3s; } .bl-mini i:nth-child(3) { animation-delay: .6s; } .bl-mini i:nth-child(4) { animation-delay: .9s; }

/* game over: no empty fact card above the champion */
.bl-play.done .bl-prompt { display: none; }
.bl-over small { font-weight: 900; font-size: 2.6vh; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bl-play.done .bl-over { min-height: 52vh; align-content: center; }

/* readability pass (Oct 28): the small projector text one size up so it reads from the back of the room */
.bl-scores div { font-size: 2.4vh; }
.bl-scores h4 { font-size: 2.5vh; }
