/*
Theme Name: Buzz App
Theme URI: https://buzzapp.co.nz
Author: Buzz App
Description: Game-show night theme for buzzapp.co.nz. Navy, sunshine yellow and a pink spark, with a playable buzz-in test drive. Sister theme to Quiz App.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buzzapp
Fonts: Bowlby One and Bricolage Grotesque, SIL Open Font License 1.1.
*/

/* Buzz App: yellow leads, pink is the spark (Quiz App is the reverse). */

/* ---------- basics ---------- */
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
.ba-sec { padding-top: 110px !important; padding-bottom: 110px !important; position: relative; }
.ba-sec-tight { padding-top: 72px !important; padding-bottom: 72px !important; position: relative; }
.ba-sec > *, .ba-sec-tight > * { position: relative; z-index: 1; }
.ba-eyebrow { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 14px !important; margin-bottom: 0 !important; }
.ba-lead { font-size: 21px !important; line-height: 1.5; max-width: 640px; }
.ba-note { font-size: 14px !important; opacity: .8; }
.has-text-align-center.ba-lead { margin-left: auto; margin-right: auto; }
:where(.wp-block-heading) { text-wrap: balance; }
h3.wp-block-heading { margin-top: 0; }
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.wp-block-post-content > .alignfull, .wp-site-blocks > * + *, main.wp-block-group { margin-block-start: 0 !important; }
.wp-block-post-content > .alignfull + .alignfull { margin-top: 0 !important; }
main .has-navy-background-color a:not(.wp-block-button__link):not(.ba-btn):not(.ba-td-btn) { color: #ffd23f; }
.ba-card a:not(.wp-block-button__link) { color: #100c24; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ba-muted { color: #5d5873; }
:focus-visible { outline: 3px solid #ff4f7b; outline-offset: 3px; }

/* Intro text, stickers and the join box line up with the headings at any width */
.is-layout-constrained > .ba-lead:not(.has-text-align-center),
.is-layout-constrained > .ba-join,
.is-layout-constrained > .ba-sticker { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; margin-right: auto !important; }

/* stickers */
.ba-sticker { display: inline-block; background: #ff4f7b; color: #100c24; font-weight: 800; font-size: 14px !important; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 8px; transform: rotate(-2deg); width: fit-content; }
.ba-sticker.is-yellow { background: #ffd23f; }

/* highlighted word: yellow pill, like the logo */
.ba-pill { display: inline-block; background: #ffd23f; color: #100c24; padding: .12em .32em 0; border-radius: 999px; transform: rotate(-3deg); line-height: 1; }
.ba-hl { color: #ffd23f; position: relative; white-space: nowrap; }
.ba-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .12em; border-radius: 99px; background: #ff4f7b; transform: rotate(-1.5deg); }
.has-cream-background-color .ba-hl, .has-lavender-background-color .ba-hl, .has-white-background-color .ba-hl { color: #100c24; }

/* ---------- buttons (block styles) ---------- */
.wp-block-button .wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease; text-decoration: none; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button__link { box-shadow: 0 5px 0 #b38f10; }
.wp-block-button.is-style-yellow .wp-block-button__link { background: #ffd23f; color: #100c24; box-shadow: 0 5px 0 #b38f10; }
.wp-block-button.is-style-pink .wp-block-button__link { background: #ff4f7b; color: #100c24; box-shadow: 0 5px 0 #b3214a; }
.wp-block-button.is-style-navy .wp-block-button__link { background: #100c24; color: #fff; box-shadow: 0 5px 0 #000; }
.wp-block-button.is-style-navy .wp-block-button__link:hover { color: #ffd23f; }
.wp-block-button.is-style-ghost-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; padding: 12px 26px; box-shadow: none; }
.wp-block-button.is-style-ghost-light .wp-block-button__link:hover { color: #ffd23f; border-color: #ffd23f; }
.wp-block-button.is-style-ghost-dark .wp-block-button__link { background: transparent; color: #100c24; border: 3px solid #100c24; padding: 11px 25px; box-shadow: none; }

/* ---------- header ---------- */
.ba-header { padding-top: 16px !important; padding-bottom: 16px !important; position: relative; z-index: 20; }
.ba-logo { margin: 0 !important; line-height: 0; }
.ba-logo img { width: auto; display: block; }
.ba-header .wp-block-navigation a { color: #fff; font-weight: 600; text-decoration: none; }
.ba-header .wp-block-navigation a:hover { color: #ffd23f; }
.ba-header .wp-block-navigation__responsive-container.is-menu-open { background: #100c24 !important; color: #fff !important; }
.ba-header .wp-block-navigation__responsive-container.is-menu-open a { font-family: 'Bowlby One', sans-serif; text-transform: uppercase; font-size: 28px; }
.ba-header .wp-block-button__link { padding: 10px 20px !important; font-size: 15px !important; }
.ba-login a { color: #fff !important; font-weight: 700; text-decoration: none; }
.ba-login a:hover { color: #ffd23f !important; }

/* ---------- confetti ---------- */
.ba-confetti { overflow: hidden; }
.ba-confetti::before, .ba-confetti::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
.ba-confetti::before { left: 6%; top: 44px; width: 18px; height: 18px; border-radius: 50%; background: #ff4f7b; box-shadow: 38vw 50px 0 -3px #ffd23f, 86vw -14px 0 0 #3ddbd9, 24vw 520px 0 -4px #a78bfa, 70vw 560px 0 -2px #ff4f7b; }
.ba-confetti::after { right: 6%; top: 120px; width: 26px; height: 8px; border-radius: 4px; background: #ffd23f; transform: rotate(-30deg); box-shadow: -50vw 300px 0 0 #ff4f7b; }

/* ---------- hero ---------- */
.ba-hero { padding-top: 56px !important; padding-bottom: 130px !important; }
.ba-hero h1 { margin-top: 10px; margin-bottom: .4em !important; }
.ba-mock { position: relative; min-height: 520px; }
.ba-screen { position: absolute; left: 0; right: 40px; top: 20px; background: #2a2152; border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45); transform: rotate(2deg); }
.ba-screen-in { background: #1d1640; border-radius: 12px; padding: 24px; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.ba-screen-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #b9b3d1; }
.ba-timer { white-space: nowrap; font-family: 'Bowlby One', sans-serif; background: #ffd23f; color: #100c24; border-radius: 999px; padding: 6px 14px; font-size: 18px; letter-spacing: 0; }
.ba-screen-q { font-family: 'Bowlby One', sans-serif; text-transform: uppercase; font-size: 28px; line-height: 1.05; }
.ba-spot { display: flex; align-items: center; gap: 16px; background: #ffd23f; color: #100c24; border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 0 #b38f10; transform: rotate(-1.5deg); }
.ba-spot .ba-face { flex: none; width: 64px; height: 64px; border-radius: 18px; background: #ff4f7b; display: flex; align-items: center; justify-content: center; font-size: 34px; border: 3px solid #100c24; }
.ba-spot { flex-wrap: wrap; }
.ba-spot > div { flex: 1 1 120px; min-width: 120px; }
.ba-spot small { display: block; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ba-spot strong { display: block; font-family: 'Bowlby One', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; }
.ba-spot em { white-space: nowrap; margin-left: auto; font-style: normal; font-family: 'Bowlby One', sans-serif; font-size: 20px; }
.ba-queue { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: 14px; color: #d9d5e6; }
.ba-queue span { background: #2a2152; border-radius: 999px; padding: 6px 12px; }
.ba-queue b { color: #ffd23f; }
.ba-screen-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #b9b3d1; font-weight: 700; }
.ba-screen-foot b { color: #ffd23f; letter-spacing: .1em; }
.ba-phone { position: absolute; right: 0; bottom: 0; width: 200px; background: #000; border-radius: 34px; padding: 10px; box-shadow: 0 24px 50px rgba(0,0,0,.5); transform: rotate(-6deg); }
.ba-phone-in { background: #100c24; border-radius: 26px; padding: 22px 14px 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; text-align: center; }
.ba-phone-in small { font-size: 11px; font-weight: 700; color: #b9b3d1; }
.ba-phone-in strong { font-family: 'Bowlby One', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 15px; line-height: 1.1; }
.ba-phone-buzz { width: 132px; height: 132px; border-radius: 50%; background: #ffd23f; color: #100c24; display: flex; align-items: center; justify-content: center; font-family: 'Bowlby One', sans-serif; font-size: 28px; text-transform: uppercase; box-shadow: 0 9px 0 #b38f10, 0 0 0 8px rgba(255, 210, 63, .18); }
.ba-points { position: absolute; left: -24px; bottom: 40px; background: #ff4f7b; color: #100c24; font-family: 'Bowlby One', sans-serif; text-transform: uppercase; font-size: 26px; padding: 14px 20px; border-radius: 16px; transform: rotate(-8deg); box-shadow: 0 8px 0 #b3214a; }

/* join box (shortcode) */
.ba-join { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #1d1640; border: 2px dashed #3a3166; border-radius: 18px; padding: 14px 14px 14px 20px; max-width: 520px; box-sizing: border-box; color: #fff; margin-top: 28px; }
.ba-join label { font-weight: 800; font-size: 15px; flex: 1 1 140px; line-height: 1.35; }
.ba-join label span { display: block; font-weight: 400; color: #b9b3d1; }
.ba-join input { width: 150px; min-height: 48px; border-radius: 12px; border: 2px solid #4a4180; background: #100c24; color: #fff; font-family: 'Bowlby One', sans-serif; font-size: 22px; letter-spacing: .15em; text-align: center; text-transform: uppercase; box-sizing: border-box; }
.ba-join input:focus { outline: none; border-color: #ffd23f; }
.ba-join button { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: #ffd23f; color: #100c24; font-family: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.ba-join.is-light { background: #fff; border-color: #100c24; color: #100c24; }
.ba-join.is-light label span { color: #5d5873; }
.ba-join.is-light input { background: #fff8ec; color: #100c24; border-color: #100c24; }

/* ---------- ticker ---------- */
.ba-ticker { transform: rotate(-2deg); margin-top: -44px !important; padding: 18px 0 !important; position: relative; z-index: 3; box-shadow: 0 10px 0 #100c24; overflow: hidden; width: calc(100vw + 160px) !important; max-width: none !important; margin-left: calc(50% - 50vw - 80px) !important; margin-right: 0 !important; }
.ba-ticker p { font-family: 'Bowlby One', sans-serif; text-transform: uppercase; font-size: 30px !important; white-space: nowrap; margin: 0 !important; text-align: center; color: #100c24; }
.ba-ticker p .s { margin: 0 18px; color: #ff4f7b; }
.ba-ticker.is-moving p { display: flex !important; width: max-content; text-align: left !important; animation: ba-marquee var(--ba-dur, 36s) linear infinite; will-change: transform; }
.ba-ticker .ba-run { display: inline-flex; align-items: center; flex: none; }
.ba-ticker:hover p { animation-play-state: paused; }
@keyframes ba-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--ba-run, 50%))); } }

/* ---------- cards ---------- */
.ba-card { border: 3px solid #100c24; border-radius: 24px; padding: 32px !important; box-shadow: 8px 8px 0 #100c24; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; }
.ba-card > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-block-column > .ba-card:not(:only-child) { height: auto; flex: none; }
.ba-tilt-l { transform: rotate(-1.5deg); }
.ba-tilt-r { transform: rotate(1deg) translateY(16px); }
.ba-num { font-family: 'Bowlby One', sans-serif; font-size: 72px !important; line-height: 1 !important; }
.ba-tile { background: #1d1640; border-radius: 22px; padding: 28px !important; border-top: 8px solid #ffd23f; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; }
.ba-tile > * { margin: 0 !important; }
.ba-tile p { color: #d9d5e6; }
.ba-tile h3 { font-size: 22px; }
.ba-tile.is-pink { border-top-color: #ff4f7b; } .ba-tile.is-cyan { border-top-color: #3ddbd9; } .ba-tile.is-lilac { border-top-color: #a78bfa; } .ba-tile.is-orange { border-top-color: #ff8c42; } .ba-tile.is-green { border-top-color: #2fd48a; }
.ba-dark-card { background: #100c24; color: #fff; border-radius: 24px; padding: 32px !important; height: 100%; box-sizing: border-box; }
.ba-dark-card > * { margin: 0 0 10px !important; }
.ba-dark-card h3 { color: #ffd23f; font-size: 26px; }
.ba-dark-card p, .ba-dark-card li { color: #d9d5e6; }
.wp-block-columns.ba-cols { gap: 24px; }
.wp-block-columns.ba-cols > .wp-block-column { display: flex; flex-direction: column; }
.ba-cols h2.wp-block-heading { font-size: clamp(34px, 4.2vw, 54px); }

/* ---------- ticks list ---------- */
.ba-ticks { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.ba-ticks li { padding-left: 38px; position: relative; }
.ba-ticks li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #ffd23f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23100c24' stroke-width='3'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- steps list (how it works page) ---------- */
.ba-steps { list-style: none; counter-reset: ba; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.ba-steps li { counter-increment: ba; position: relative; padding: 18px 20px 18px 78px; background: #fff; border: 3px solid #100c24; border-radius: 18px; font-weight: 600; }
.ba-steps li::before { content: counter(ba); position: absolute; left: 18px; top: 50%; transform: translateY(-50%) rotate(-4deg); width: 44px; height: 44px; border-radius: 12px; background: #ffd23f; font-family: 'Bowlby One', sans-serif; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.ba-steps kbd { font-family: 'Bowlby One', sans-serif; background: #100c24; color: #ffd23f; border-radius: 6px; padding: 1px 8px; font-size: .85em; }

/* ---------- leaderboard mock ---------- */
.ba-board { background: #100c24; border-radius: 28px; padding: 32px; color: #fff; box-shadow: 14px 14px 0 #ffd23f; transform: rotate(1.5deg); display: flex; flex-direction: column; gap: 12px; }
.ba-board-top { display: flex; justify-content: space-between; align-items: center; font-family: 'Bowlby One', sans-serif; text-transform: uppercase; font-size: 28px; gap: 12px; }
.ba-board-top span { font-family: 'Bricolage Grotesque', sans-serif; background: #ff4f7b; color: #100c24; font-weight: 800; border-radius: 999px; padding: 6px 14px; font-size: 14px; white-space: nowrap; }
.ba-row { display: flex; align-items: center; gap: 14px; background: #2a2152; border-radius: 14px; padding: 14px 18px; font-weight: 800; font-size: 19px; }
.ba-row b { font-family: 'Bowlby One', sans-serif; font-weight: 400; font-size: 24px; min-width: 30px; color: #ffd23f; }
.ba-row i { font-style: normal; font-size: 22px; }
.ba-row span { flex: 1; }
.ba-row em { font-style: normal; font-family: 'Bowlby One', sans-serif; font-size: 22px; }
.ba-row.is-top { background: #ffd23f; color: #100c24; }
.ba-row.is-top b { color: #100c24; }
.ba-board small { font-size: 13px; color: #b9b3d1; }
.ba-sponsor { display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px dashed #3a3166; border-radius: 14px; padding: 10px; font-weight: 700; font-size: 14px; color: #b9b3d1; }
.ba-sponsor b { color: #fff; }

/* ---------- pricing ---------- */
.ba-plan { background: #fff; border: 3px solid #100c24; border-radius: 24px; padding: 28px !important; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; position: relative; }
.ba-plan > * { margin: 0 !important; }
.ba-plan h3 { font-size: 22px; }
.ba-plan .ba-price { font-family: 'Bowlby One', sans-serif; font-size: 48px !important; line-height: 1; }
.ba-plan .ba-price small { font-size: 18px; }
.ba-plan ul { padding-left: 20px; line-height: 1.4; display: flex; flex-direction: column; gap: 6px; }
.ba-plan .wp-block-buttons { margin-top: auto !important; padding-top: 8px; }
.ba-plan.is-featured { background: #ffd23f; box-shadow: 10px 10px 0 #100c24; transform: rotate(-1.5deg); }
.ba-plan.is-featured::before { content: "Venue fave"; position: absolute; top: -18px; right: 18px; background: #ff4f7b; color: #100c24; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-radius: 10px; border: 3px solid #100c24; transform: rotate(4deg); }
.is-featured .ba-muted { color: #3b3554; }
.ba-plan.is-featured .wp-block-button__link { background: #100c24; color: #fff; box-shadow: 0 5px 0 #000; }

/* ---------- FAQ ---------- */
.wp-block-details { border-bottom: 2px solid #100c24; padding: 18px 0; }
.wp-block-details summary { cursor: pointer; font-weight: 800; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-family: 'Bowlby One', sans-serif; color: #ff4f7b; font-size: 26px; line-height: 1; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details + .wp-block-heading { margin-top: 64px !important; }

/* ---------- big CTA ---------- */
.ba-cta h2 { font-size: clamp(56px, 9vw, 110px) !important; line-height: .9 !important; }

/* ---------- plain pages (terms, privacy) ---------- */
.ba-prose { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.ba-prose h2 { font-size: 30px; margin-top: 48px; }
.ba-prose h3 { font-size: 21px; margin-top: 28px; }

/* ---------- footer ---------- */
.ba-footer a { color: #d9d5e6; text-decoration: none; }
.ba-footer a:hover { color: #ffd23f; }
.ba-family { font-size: 14px !important; color: #b9b3d1; }
.ba-family a { color: #ff4f7b !important; font-weight: 700; }

/* ---------- test drive (shortcode) ---------- */
.ba-td { max-width: 1100px; margin: 0 auto; background: #2a2152; border-radius: 28px; padding: 14px; box-shadow: 14px 14px 0 #ffd23f; color: #fff; box-sizing: border-box; }
.ba-td-in { background: #100c24; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 22px; box-sizing: border-box; min-height: 0; }
.ba-td-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ba-td-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #ffd23f; }
.ba-td-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff4f7b; }
.ba-td-score { font-family: 'Bowlby One', sans-serif; background: #ffd23f; color: #100c24; border-radius: 999px; padding: 6px 16px; font-size: 18px; }
.ba-td-round { font-weight: 700; color: #b9b3d1; font-size: 15px; }
.ba-td h2, .ba-td h3 { color: #fff; margin: 6px 0 0; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.04; }
.ba-td-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.ba-td-grid.is-play { gap: 18px 28px; grid-template-areas: "q side" "opts side" "status players"; }
.ba-td-grid.is-play .ba-td-q { grid-area: q; } .ba-td-grid.is-play .ba-td-opts { grid-area: opts; } .ba-td-grid.is-play .ba-td-status { grid-area: status; }
.ba-td-grid.is-play .ba-td-side { grid-area: side; } .ba-td-grid.is-play > .ba-td-players { grid-area: players; align-self: start; }
.ba-td-status { min-height: 64px; display: flex; align-items: center; gap: 14px; background: #1d1640; border-radius: 16px; padding: 14px 18px; font-weight: 700; color: #d9d5e6; }
.ba-td-status strong { font-family: 'Bowlby One', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 22px; color: #fff; display: block; line-height: 1.05; }
.ba-td-status.is-open { background: #ffd23f; color: #100c24; } .ba-td-status.is-open strong { color: #100c24; }
.ba-td-status.is-pink { background: #ff4f7b; color: #100c24; } .ba-td-status.is-pink strong { color: #100c24; }
.ba-td-status.is-cyan { background: #3ddbd9; color: #100c24; } .ba-td-status.is-cyan strong { color: #100c24; }
.ba-td-status .ba-face { flex: none; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; border: 3px solid #100c24; background: #fff; }
.ba-td-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ba-td-opt { min-height: 68px; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; border-radius: 16px; padding: 14px 18px; font-family: inherit; font-size: 19px; font-weight: 800; color: #100c24; cursor: pointer; transition: transform .12s ease, opacity .2s ease; }
.ba-td-opt:nth-child(1) { background: #ffd23f; } .ba-td-opt:nth-child(2) { background: #ff4f7b; } .ba-td-opt:nth-child(3) { background: #3ddbd9; } .ba-td-opt:nth-child(4) { background: #a78bfa; }
.ba-td-opt:hover:not(:disabled) { transform: translateY(-3px); }
.ba-td-opt:disabled { cursor: default; }
.ba-td-opt b { font-family: 'Bowlby One', sans-serif; font-weight: 400; font-size: 24px; width: 28px; }
.ba-td-opt span { flex: 1; }
.ba-td-opt.is-dim { opacity: .3; }
.ba-td-opt.is-right { outline: 4px solid #fff; outline-offset: 3px; }
.ba-td-opt.is-wrong { outline: 4px dashed #fff; outline-offset: 3px; opacity: .55; }
.ba-td-opts.is-locked .ba-td-opt { cursor: not-allowed; }
.ba-td-side { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ba-td-buzz { width: 200px; height: 200px; border-radius: 50%; border: 0; background: #3a3166; color: #8f88ad; font-family: 'Bowlby One', sans-serif; font-size: 40px; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 0 #1d1640; transition: transform .08s ease, box-shadow .08s ease, background .2s ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ba-td-buzz.is-live { background: #ffd23f; color: #100c24; box-shadow: 0 12px 0 #b38f10, 0 0 0 12px rgba(255, 210, 63, .2); animation: ba-pulse 1s ease-in-out infinite; }
.ba-td-buzz.is-live:active, .ba-td-buzz.is-pressed { transform: translateY(9px); box-shadow: 0 3px 0 #b38f10; animation: none; }
.ba-td-buzz.is-won { background: #ff4f7b; color: #100c24; box-shadow: 0 12px 0 #b3214a; }
.ba-td-buzz:disabled { cursor: default; }
@keyframes ba-pulse { 50% { box-shadow: 0 12px 0 #b38f10, 0 0 0 22px rgba(255, 210, 63, .06); } }
.ba-td-key { font-size: 13px; color: #b9b3d1; text-align: center; margin: 0; }
.ba-td-key kbd { font-family: inherit; font-weight: 800; background: #2a2152; color: #fff; border-radius: 6px; padding: 2px 8px; }
.ba-td-players { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.ba-td-p { display: flex; align-items: center; gap: 10px; background: #1d1640; border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: 15px; }
.ba-td-p i { font-style: normal; font-size: 20px; }
.ba-td-p span { flex: 1; }
.ba-td-p em { font-style: normal; font-family: 'Bowlby One', sans-serif; color: #ffd23f; }
.ba-td-p.is-you { outline: 2px solid #ffd23f; }
.ba-td-p.is-out { opacity: .45; }
.ba-td-fb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #1d1640; border-radius: 16px; padding: 18px 22px; }
.ba-td-fb strong { display: block; font-family: 'Bowlby One', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 24px; }
.ba-td-fb span { color: #d9d5e6; }
.ba-td-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: #ffd23f; color: #100c24 !important; font-family: inherit; font-weight: 800; font-size: 17px; cursor: pointer; box-shadow: 0 5px 0 #b38f10; text-decoration: none !important; }
.ba-td-btn.is-ghost { background: transparent; color: #fff !important; border: 2px solid #fff; box-shadow: none; }
.ba-td-end { display: flex; flex-wrap: wrap; gap: 32px; }
.ba-td-end > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.ba-td-end p { color: #d9d5e6; margin: 0; }
.ba-td-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ba-td-start { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ba-td-start p { color: #d9d5e6; margin: 0; max-width: 560px; }

/* ---------- contact form (shortcode) ---------- */
.ba-contact { display: flex; flex-direction: column; gap: 16px; color: #100c24; }
.ba-contact > p, .ba-contact-row > p { margin: 0 !important; }
.ba-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-field { display: flex; flex-direction: column; gap: 6px; }
.ba-field label { font-weight: 800; font-size: 15px; }
.ba-field label span { font-weight: 400; color: #5d5873; }
.ba-field input, .ba-field select, .ba-field textarea { width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; border: 2px solid #100c24; border-radius: 12px; background: #fff; color: #100c24; font-family: inherit; font-size: 17px; line-height: 1.4; }
.ba-field textarea { min-height: 160px; resize: vertical; }
.ba-field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23100c24' stroke-width='2.5'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; }
.ba-field input:focus, .ba-field select:focus, .ba-field textarea:focus { outline: none; border-color: #ff4f7b; box-shadow: 0 0 0 3px rgba(255, 79, 123, .3); }
.ba-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ba-contact-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ba-contact-foot .ba-note { margin: 0 !important; }
.ba-contact button { min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: #ffd23f; color: #100c24; font-family: inherit; font-weight: 800; font-size: 18px; cursor: pointer; box-shadow: 0 5px 0 #b38f10; transition: transform .12s, box-shadow .12s; }
.ba-contact button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #b38f10; }
.ba-contact-status { margin: 0 0 16px !important; padding: 14px 18px; border-radius: 12px; font-weight: 700; border: 2px solid #100c24; }
.ba-contact-status.is-ok { background: #3ddbd9; }
.ba-contact-status.is-error { background: #ff4f7b; }

/* ---------- 404 ---------- */
.ba-404-buzz { padding: 0 !important; width: 160px; height: 160px; border-radius: 50%; background: #ffd23f; color: #100c24; display: flex; align-items: center; justify-content: center; font-family: 'Bowlby One', sans-serif; font-size: 44px; box-shadow: 0 12px 0 #b38f10; margin: 0 auto 24px !important; transform: rotate(-6deg); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ba-sec { padding-top: 80px !important; padding-bottom: 80px !important; }
  .ba-mock { min-height: 0; margin-top: 20px; }
  .ba-screen { position: relative; left: auto; right: auto; top: auto; transform: none; }
  .ba-phone, .ba-points, .ba-login { display: none; }
  .ba-tilt-l, .ba-tilt-r, .ba-board, .ba-plan.is-featured { transform: none; }
  .ba-ticker p { font-size: 22px !important; }
  .ba-td-grid { grid-template-columns: 1fr; }
  .ba-td-grid.is-play { grid-template-areas: "q" "status" "side" "opts" "players"; }
  .ba-td-start + .ba-td-side { order: -1; }
  .ba-td-start + .ba-td-side .ba-td-players { display: none; }
  .ba-td-players { flex-direction: row; flex-wrap: wrap; }
  .ba-td-p { flex: 1 1 140px; }
  .ba-td-grid.is-play .ba-td-key { display: none; }
}
@media (max-width: 600px) {
  .ba-td-in { padding: 20px; }
  .ba-td-opts { grid-template-columns: 1fr; }
  .ba-td-buzz { width: 160px; height: 160px; font-size: 32px; }
  .ba-screen-q { font-size: 22px; }
  .ba-spot strong { font-size: 20px; }
  .ba-contact-row { grid-template-columns: 1fr; }
  .ba-join input { flex: 1 1 120px; width: auto; }
  .ba-td-buzz { width: 130px; height: 130px; font-size: 28px; }
  .ba-header .ba-logo img { height: 42px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ba-ticker.is-moving p, .ba-td-buzz.is-live { animation: none; }
  .wp-block-button .wp-block-button__link, .ba-td-opt, .ba-td-buzz, .ba-contact button { transition: none; }
}

/* footer link lists, 404 join box */
.ba-footlinks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ba-404-join .ba-join, main.ba-confetti .ba-join { margin-left: auto !important; margin-right: auto !important; }
