/* ================= Would You Rather =================
   Two halves of the screen, each its own color, alive with a slow shimmer; bars race along the bottom of each;
   the minority side lights up under a spotlight while the other dims. */
.wy { 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); --A: var(--pumpkin); --B: var(--ecto); }
.wy i, .wy b, .wy em { font-style: normal; }
.wy-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 0; border-radius: 2.6vh; overflow: hidden; box-shadow: 0 0 0 .4vh rgba(255, 255, 255, .12), 0 3vh 8vh rgba(0, 0, 0, .6); }
.wy-side { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 1.4vh; padding: 3vh 3vw; min-height: 0; transition: filter .8s, opacity .8s; }
.wy-side.a { background: linear-gradient(160deg, color-mix(in srgb, var(--A) 55%, #1a0a05), color-mix(in srgb, var(--A) 25%, #0b0710)); }
.wy-side.b { background: linear-gradient(200deg, color-mix(in srgb, var(--B) 50%, #05150c), color-mix(in srgb, var(--B) 22%, #0b0710)); }
.wy-side::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .08), transparent 30%); animation: wy-shimmer 14s linear infinite; pointer-events: none; }
.wy-side.b::before { animation-direction: reverse; }
@keyframes wy-shimmer { to { rotate: 360deg; } }
.wy-side > * { position: relative; }
.wy-tag { font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 2.2vh; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.wy-text { display: grid; align-content: center; font-weight: 900; font-size: 6vh; line-height: 1.05; color: #fff; text-shadow: 0 .8vh 0 rgba(0, 0, 0, .35); text-wrap: balance; }
.wy-side.b .wy-tag, .wy-side.b .wy-text { text-align: right; justify-items: end; }
.wy-bar { position: relative; height: 5vh; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; box-shadow: inset 0 0 0 .25vh rgba(255, 255, 255, .15); }
.wy-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 255, 255, .55), #fff); box-shadow: 0 0 3vh rgba(255, 255, 255, .5); transition: width .7s cubic-bezier(.2, .9, .3, 1); }
.wy-side.b .wy-bar i { margin-left: auto; }
.wy-bar b { position: absolute; left: 1.4vw; top: 50%; transform: translateY(-50%); font-weight: 900; font-size: 3vh; color: #1a1000; text-shadow: 0 0 .6vh #fff; }
.wy-side.b .wy-bar b { left: auto; right: 1.4vw; }
.wy-pct { min-height: 4vh; font-weight: 900; font-size: 3.4vh; color: var(--gold); text-align: center; }
.wy-side.hit { animation: wy-hit .35s ease-out; }
@keyframes wy-hit { 30% { filter: brightness(1.25); } }
.wy-or { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); width: 11vh; height: 11vh; display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 4vh; color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); box-shadow: 0 0 0 .5vh #0b0710, 0 0 5vh color-mix(in srgb, var(--gold) 70%, transparent); animation: wy-or 2.4s ease-in-out infinite alternate; }
@keyframes wy-or { to { transform: translate(-50%, -50%) rotate(8deg) scale(1.06); } }
/* the reveal: a spotlight on the minority, the crowd dims */
.wy-side.spot { filter: brightness(1.15); z-index: 2; }
.wy-side.spot::after { content: ""; position: absolute; left: 50%; top: -40%; width: 120%; height: 200%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .35), transparent 60%); pointer-events: none; animation: wy-spot .9s ease-out; }
@keyframes wy-spot { from { opacity: 0; transform: translateX(-50%) scale(.6); } }
.wy-side.dim { filter: brightness(.45) saturate(.6); }
.wy-side.spot .wy-pct { animation: wy-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes wy-pop { from { transform: scale(2); opacity: 0; } }
/* waiting */
.wy-wait { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 40vh; gap: 2vw; align-items: center; min-height: 0; }
.wy-wait .wt-qr { z-index: 50; }
.wy-wmain { display: grid; gap: 1.8vh; min-height: 0; }
.wy-sign { display: flex; align-items: center; justify-content: center; gap: 1.4vw; }
.wy-sign span { font-size: 8vh; line-height: 1; animation: wy-think 2.6s ease-in-out infinite alternate; }
@keyframes wy-think { to { transform: rotate(-12deg) translateY(-.6vh); } }
.wy-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, var(--gold) 50%, transparent); }
.wy-demo .wy-split { height: 38vh; } .wy-demo .wy-text { font-size: 4.2vh; } .wy-demo .wy-side { padding: 2vh 2vw; } .wy-demo .wy-or { width: 8vh; height: 8vh; font-size: 3vh; }
.wy-how { display: flex; flex-wrap: wrap; justify-content: center; gap: 1vh 1vw; }
.wy-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); }
/* playing */
.wy-play { position: relative; z-index: 2; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 1.4vh; min-height: 0; }
.wy-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2vw; }
.wy-top .wg-title span { font-size: 5.4vh; } .wy-top .wg-title b { font-size: 4.6vh; }
.wy-phase { justify-self: center; padding: 1vh 2.6vw; border-radius: 99px; font-weight: 900; font-size: 3.4vh; color: #fff; background: rgba(10, 8, 30, .75); box-shadow: 0 0 0 .3vh var(--gold); text-transform: uppercase; letter-spacing: .05em; }
.wy-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); }
.wy-clock b { font-weight: 900; font-size: 5vh; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; } .wy-clock small { font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 1.5vh; color: var(--gold); }
.wy-clock.low { box-shadow: 0 0 0 .4vh var(--blood), 0 0 4vh var(--blood); animation: wy-tick .5s ease-in-out infinite alternate; }
@keyframes wy-tick { to { transform: scale(1.08); } }
.wy-foot { display: flex; justify-content: space-between; font-family: var(--body, Inter), sans-serif; font-weight: 800; font-size: 2.4vh; color: #e8e0ff; }
.wy-win { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .wy *, .wyp * { animation: none !important; } }

/* ================= phone ================= */
.wyp { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.wyp > * { min-width: 0; }
.wyp-head { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 900; font-size: 1.3rem; line-height: 1.1; }
.wyp-head .ic { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem; background: linear-gradient(135deg, var(--pumpkin), var(--ecto)); }
.wyp-head small { display: block; font-family: var(--body, Inter), sans-serif; font-weight: 700; font-size: .8rem; color: var(--muted, #a7a2b0); }
.wyp-head > b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--gold); }
.wyp-turn { padding: .75rem .9rem; border-radius: 12px; font-weight: 900; text-align: center; color: #140a00; background: linear-gradient(180deg, #fff6c8, var(--gold)); }
.wyp-sides { position: relative; display: grid; gap: .8rem; }
.wyp-side { min-height: 30vh; padding: 1.2rem; border: 0; border-radius: 18px; font: inherit; font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1.1; color: #fff; text-wrap: balance; cursor: pointer; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .25); }
.wyp-side.a { background: linear-gradient(160deg, color-mix(in srgb, var(--pumpkin) 85%, #fff), var(--pumpkin)); }
.wyp-side.b { background: linear-gradient(200deg, color-mix(in srgb, var(--ecto) 80%, #fff), var(--ecto)); }
.wyp-side.on { box-shadow: 0 0 0 4px #fff, 0 0 30px rgba(255, 255, 255, .35); }
.wyp-side:not(.on):active { transform: scale(.98); }
.wyp-or { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-weight: 900; color: #1a1000; background: linear-gradient(180deg, #fff6c8, var(--gold)); box-shadow: 0 0 0 4px var(--ink, #0b0b10); pointer-events: none; }
.wyp-result { display: grid; justify-items: center; gap: .3rem; padding: 1.1rem 1rem; border-radius: 16px; text-align: center; background: var(--panel, #1c1c21); box-shadow: inset 0 0 0 2px var(--line, #333); }
.wyp-result.brave { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 35%, #1a1030), #0a0612); box-shadow: 0 0 0 3px var(--gold); }
.wyp-big { font-family: var(--display); font-weight: 900; font-size: 1.35rem; } .wyp-result span { color: var(--gold); font-weight: 800; }
.wyp-bars { display: grid; gap: .6rem; }
.wyp-bars div { position: relative; display: grid; gap: .3rem; padding: .6rem .8rem; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.wyp-bars span { font-weight: 800; font-size: .95rem; } .wyp-bars i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--pumpkin)); }
.wyp-bars b { position: absolute; right: .8rem; top: .5rem; font-family: var(--display); color: var(--gold); }
.wyp-bars div.min { box-shadow: inset 0 0 0 2px var(--gold); } .wyp-bars div.min i { background: linear-gradient(90deg, #fff6c8, var(--gold)); }
/* the phone preshow motif */
.pp-wyr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.wy-mini { display: contents; }
.wy-mini b { display: grid; place-items: center; font-family: var(--display); font-weight: 900; color: #fff; }
.wy-mini b:first-child { background: color-mix(in srgb, var(--pumpkin) 70%, #000); animation: pp-wy 4s ease-in-out infinite; } .wy-mini b:last-child { background: color-mix(in srgb, var(--ecto) 65%, #000); animation: pp-wy 4s ease-in-out -2s infinite; }
.wy-mini em { display: grid; place-items: center; padding: 0 .5rem; font-style: normal; font-family: var(--display); font-weight: 900; color: var(--gold); background: #0b0710; }
@keyframes pp-wy { 0%, 100% { filter: brightness(.7); } 50% { filter: brightness(1.2); } }

/* readability pass (Oct 28): the small projector text one size up so it reads from the back of the room */
.wy-how span { font-size: 2.5vh; }
.wy-tag { font-size: 2.5vh; }
