:root{
  --fmb-navy:#092f4e;
  --fmb-navy-2:#0f466d;
  --fmb-navy-3:#071f35;
  --fmb-blue:#1d78b3;
  --fmb-cream:#fff4d7;
  --fmb-paper:#fff9e8;
  --fmb-gold:#e8a936;
  --fmb-gold-light:#ffd56b;
  --fmb-brass:#9a5b20;
  --fmb-wood:#8a4b20;
  --fmb-red:#c94031;
  --fmb-green:#248853;
  --fmb-ink:#16283a;
  --fmb-muted:#627383;
}

/* Adventure Club full-canvas takeover */
body.tbac-fmb-page{background:#11100d!important}
body.tbac-fmb-page:before{content:"";position:fixed;inset:0;z-index:-2;background:url('img/brainy-bot-academy-bg.png') center center/cover no-repeat fixed}
body.tbac-fmb-page:after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(6,20,31,.20),rgba(9,31,46,.28) 44%,rgba(8,20,29,.38));pointer-events:none}
body.tbac-fmb-page #page,
body.tbac-fmb-page #wrapper,
body.tbac-fmb-page #inner-wrap,
body.tbac-fmb-page .site,
body.tbac-fmb-page .site-container,
body.tbac-fmb-page .site-content,
body.tbac-fmb-page .content-bg,
body.tbac-fmb-page .content-area,
body.tbac-fmb-page .content-container,
body.tbac-fmb-page .site-main,
body.tbac-fmb-page article.page,
body.tbac-fmb-page article.type-page,
body.tbac-fmb-page .entry,
body.tbac-fmb-page .entry-content,
body.tbac-fmb-page .entry-content-wrap{width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.tbac-fmb-page .entry-header,
body.tbac-fmb-page .entry-hero,
body.tbac-fmb-page .entry-hero-container-inner,
body.tbac-fmb-page .page-header,
body.tbac-fmb-page #secondary,
body.tbac-fmb-page .primary-sidebar{display:none!important}
body.tbac-fmb-page #masthead,
body.tbac-fmb-page .site-header-wrap,
body.tbac-fmb-page header.site-header,
body.tbac-fmb-page .kadence-sticky-header,
body.tbac-fmb-page .site-main-header-wrap,
body.tbac-fmb-page .site-bottom-header-wrap{display:none!important}
body.tbac-fmb-page #colophon,
body.tbac-fmb-page .site-footer,
body.tbac-fmb-page .site-footer-wrap{background:transparent!important;box-shadow:none!important}
body.tbac-fmb-page .fmb-game-page-main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}

.fmb-app,.fmb-app *{box-sizing:border-box}
.fmb-app{position:relative;min-height:calc(100dvh - 44px);color:var(--fmb-ink);font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;overflow-x:hidden}
.fmb-bg{display:none}
.fmb-shell{position:relative;z-index:1;width:min(1220px,calc(100% - 24px));min-height:calc(100dvh - 44px);margin:0 auto;padding:10px 0 20px;display:flex;flex-direction:column;align-items:center}
.fmb-stage{width:100%;display:flex;justify-content:center;align-items:flex-start;flex:1;min-width:0}

/* Official brand deck */
.fmb-brand-deck{width:min(1120px,100%);display:grid;grid-template-columns:112px minmax(240px,390px) 112px;justify-content:center;align-items:center;gap:18px;margin:0 auto -16px;position:relative;z-index:3;pointer-events:none}
.fmb-brand-side{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.18),rgba(5,30,49,.9) 72%);border:3px solid var(--fmb-gold);box-shadow:0 0 0 3px rgba(10,49,78,.88),0 8px 22px rgba(0,0,0,.4);padding:7px}
.fmb-brand-side img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 5px rgba(0,0,0,.35))}
.fmb-game-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.fmb-logo{display:block;width:min(330px,100%);height:auto;max-height:220px;object-fit:contain;filter:drop-shadow(0 9px 10px rgba(0,0,0,.42))}
.fmb-brand-ribbon{margin-top:-8px;padding:5px 15px 4px;border-radius:999px;background:linear-gradient(180deg,#164f79,#082d4b);border:2px solid #dba441;color:#fff3c7;font-size:10px;line-height:1;font-weight:1000;letter-spacing:.12em;box-shadow:0 3px 0 #60360f,0 7px 14px rgba(0,0,0,.28);white-space:nowrap}
.fmb-brand-footer{margin-top:8px;padding:6px 18px;border-radius:999px;background:rgba(5,29,46,.88);border:1px solid rgba(244,194,84,.65);color:#f8e8b2;display:flex;gap:10px;align-items:center;justify-content:center;font-size:10px;font-weight:1000;letter-spacing:.11em;box-shadow:0 7px 18px rgba(0,0,0,.28)}
.fmb-brand-footer i{font-style:normal;color:#e5a637}

/* Main brass and navy game cabinet */
.fmb-panel{position:relative;width:min(940px,100%);align-self:flex-start;text-align:center;background:linear-gradient(180deg,rgba(255,250,230,.985),rgba(244,236,210,.985));border:5px solid var(--fmb-navy);border-radius:24px;padding:24px;box-shadow:0 0 0 3px #b9782a,0 0 0 6px rgba(9,47,78,.88),0 20px 55px rgba(0,0,0,.43);overflow:hidden}
.fmb-panel:before{content:"";position:absolute;inset:8px;border:1px solid rgba(151,91,31,.36);border-radius:15px;pointer-events:none}
.fmb-host-setup{width:min(780px,100%)}
.fmb-display-panel{width:min(1180px,100%)}
.fmb-panel>*{position:relative;z-index:1}
.fmb-kicker{font-size:12px;line-height:1.1;font-weight:1000;letter-spacing:.16em;color:#934e21;text-transform:uppercase}
.fmb-panel h1,.fmb-screen-heading h1{margin:5px 0 8px;color:var(--fmb-navy);font-size:clamp(28px,4.5vw,46px);line-height:.98;font-weight:1000;letter-spacing:-.025em;text-shadow:0 2px 0 rgba(255,255,255,.65)}
.fmb-screen-heading{margin-bottom:14px}
.fmb-screen-heading p,.fmb-lead{max-width:680px;margin:7px auto 15px;color:#445361;font-size:16px;line-height:1.38;font-weight:700}

/* Setup / join forms */
.fmb-form{display:grid;gap:13px;text-align:left;max-width:680px;margin:0 auto}
.fmb-form label{display:grid;gap:6px;color:#193a54;font-size:13px;font-weight:1000;letter-spacing:.02em}
.fmb-form input,.fmb-form select{width:100%;min-height:48px;border:3px solid #7792a6;border-radius:11px;padding:10px 12px;background:#fffefa;color:#17354c;font:inherit;font-size:17px;font-weight:800;box-shadow:inset 0 2px 5px rgba(23,53,76,.08)}
.fmb-form input:focus,.fmb-form select:focus{outline:3px solid rgba(240,176,50,.34);border-color:#d2922b}
.fmb-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fmb-divider{display:flex;align-items:center;gap:12px;margin:17px 0}
.fmb-divider:before,.fmb-divider:after{content:"";height:2px;background:linear-gradient(90deg,transparent,#c8ad78,transparent);flex:1}
.fmb-divider span{font-size:10px;color:#786746;font-weight:1000;letter-spacing:.13em}

/* Buttons */
.fmb-primary,.fmb-secondary,.fmb-danger,.fmb-ghost,.fmb-pause-button,.fmb-lock-button{appearance:none;border-radius:12px;padding:11px 18px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;font-family:inherit;font-size:15px;line-height:1.05;font-weight:1000;letter-spacing:.02em;cursor:pointer;transition:transform .12s ease,filter .12s ease,box-shadow .12s ease}
.fmb-primary{color:#17354c;background:linear-gradient(180deg,#ffd85b,#efaf29);border:3px solid #996013;box-shadow:inset 0 2px 0 rgba(255,255,255,.65),0 4px 0 #714510,0 7px 15px rgba(0,0,0,.2)}
.fmb-secondary{color:#f9efd0;background:linear-gradient(180deg,#1b638f,#0d4267);border:3px solid #082b44;box-shadow:inset 0 2px 0 rgba(255,255,255,.16),0 4px 0 #061b2c,0 7px 14px rgba(0,0,0,.18)}
.fmb-danger{color:#fff;background:linear-gradient(180deg,#d84f3f,#ad3027);border:3px solid #7b211c;box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 4px 0 #651b17}
.fmb-ghost{color:#284a61;background:#e9e2cf;border:2px solid #9b927d;box-shadow:0 3px 0 #776f5e}
.fmb-pause-button{color:#17354c;background:linear-gradient(180deg,#f6d174,#d79b31);border:3px solid #865718;box-shadow:0 4px 0 #684312}
.fmb-primary:not(:disabled):hover,.fmb-secondary:hover,.fmb-danger:hover,.fmb-ghost:hover,.fmb-pause-button:hover,.fmb-lock-button:not(:disabled):hover{filter:brightness(1.06);transform:translateY(-1px)}
.fmb-primary:disabled,.fmb-lock-button:disabled{opacity:.44;cursor:not-allowed;filter:grayscale(.25);box-shadow:none}

/* v0.1.14 interaction-state contrast guard.
   WordPress/Kadence can inject global a:hover/a:focus colors after plugin styles.
   Lock every game control to its intended foreground/background in all states. */
.fmb-app a.fmb-primary,
.fmb-app a.fmb-primary:link,
.fmb-app a.fmb-primary:visited,
.fmb-app a.fmb-primary:hover,
.fmb-app a.fmb-primary:focus,
.fmb-app a.fmb-primary:active,
.fmb-app button.fmb-primary,
.fmb-app button.fmb-primary:hover,
.fmb-app button.fmb-primary:focus,
.fmb-app button.fmb-primary:active{color:#17354c!important;background:linear-gradient(180deg,#ffd85b,#efaf29)!important;text-decoration:none!important}

.fmb-app a.fmb-secondary,
.fmb-app a.fmb-secondary:link,
.fmb-app a.fmb-secondary:visited,
.fmb-app a.fmb-secondary:hover,
.fmb-app a.fmb-secondary:focus,
.fmb-app a.fmb-secondary:active,
.fmb-app button.fmb-secondary,
.fmb-app button.fmb-secondary:hover,
.fmb-app button.fmb-secondary:focus,
.fmb-app button.fmb-secondary:active{color:#f9efd0!important;background:linear-gradient(180deg,#1b638f,#0d4267)!important;text-decoration:none!important}

.fmb-app a.fmb-danger,
.fmb-app a.fmb-danger:link,
.fmb-app a.fmb-danger:visited,
.fmb-app a.fmb-danger:hover,
.fmb-app a.fmb-danger:focus,
.fmb-app a.fmb-danger:active,
.fmb-app button.fmb-danger,
.fmb-app button.fmb-danger:hover,
.fmb-app button.fmb-danger:focus,
.fmb-app button.fmb-danger:active{color:#fff!important;background:linear-gradient(180deg,#d84f3f,#ad3027)!important;text-decoration:none!important}

.fmb-app a.fmb-ghost,
.fmb-app a.fmb-ghost:link,
.fmb-app a.fmb-ghost:visited,
.fmb-app a.fmb-ghost:hover,
.fmb-app a.fmb-ghost:focus,
.fmb-app a.fmb-ghost:active,
.fmb-app button.fmb-ghost,
.fmb-app button.fmb-ghost:hover,
.fmb-app button.fmb-ghost:focus,
.fmb-app button.fmb-ghost:active{color:#284a61!important;background:#e9e2cf!important;text-decoration:none!important}

.fmb-app button.fmb-pause-button,
.fmb-app button.fmb-pause-button:hover,
.fmb-app button.fmb-pause-button:focus,
.fmb-app button.fmb-pause-button:active{color:#17354c!important;background:linear-gradient(180deg,#f6d174,#d79b31)!important}

.fmb-app button.fmb-lock-button,
.fmb-app button.fmb-lock-button:hover,
.fmb-app button.fmb-lock-button:focus,
.fmb-app button.fmb-lock-button:active{color:#17344b!important;background:linear-gradient(180deg,#ffe06a,#efad2b)!important}

.fmb-app .fmb-primary:focus-visible,
.fmb-app .fmb-secondary:focus-visible,
.fmb-app .fmb-danger:focus-visible,
.fmb-app .fmb-ghost:focus-visible,
.fmb-app .fmb-pause-button:focus-visible,
.fmb-app .fmb-lock-button:focus-visible,
.fmb-app .fmb-answer:focus-visible{outline:4px solid #fff!important;outline-offset:3px;box-shadow:0 0 0 7px #0b3e62,0 5px 14px rgba(0,0,0,.28)!important}

.fmb-app .fmb-primary:active,
.fmb-app .fmb-secondary:active,
.fmb-app .fmb-danger:active,
.fmb-app .fmb-ghost:active,
.fmb-app .fmb-pause-button:active,
.fmb-app .fmb-lock-button:active{transform:translateY(2px);filter:brightness(.96)}

.fmb-app .fmb-primary:disabled,
.fmb-app .fmb-secondary:disabled,
.fmb-app .fmb-danger:disabled,
.fmb-app .fmb-ghost:disabled,
.fmb-app .fmb-pause-button:disabled,
.fmb-app .fmb-lock-button:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.25);transform:none;box-shadow:none}
.fmb-host-actions,.fmb-postgame-actions,.fmb-display-actions{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:16px}
.fmb-postgame-actions>*{min-width:190px}

/* Room information */
.fmb-room-meta{display:grid;grid-template-columns:.78fr 1.7fr .85fr .75fr;gap:8px;margin:0 0 13px}
.fmb-room-meta>div{min-width:0;padding:7px 10px;border-radius:10px;background:linear-gradient(180deg,#113f62,#082e4d);border:2px solid #bd7d2e;box-shadow:inset 0 0 0 1px rgba(255,213,107,.28);color:#fff}
.fmb-room-meta small{display:block;color:#e6b858;font-size:8px;font-weight:1000;letter-spacing:.12em}
.fmb-room-meta strong{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:1000}
.fmb-lobby-code{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:17px;padding:11px 16px;background:linear-gradient(180deg,#0b3858,#071f35);border:4px solid #c48631;box-shadow:inset 0 0 0 2px rgba(255,211,100,.25);color:#fff;margin-bottom:11px}
.fmb-lobby-code small{color:#f5c76a;font-size:10px;font-weight:1000;letter-spacing:.15em}
.fmb-lobby-code span{color:#d9e7ef;font-size:11px;font-weight:800}
.fmb-room-code{margin:3px 0 4px;color:#ffe26d;font-size:clamp(52px,11vw,88px);line-height:.9;font-weight:1000;letter-spacing:.09em;text-shadow:0 4px 0 #8d331e,0 7px 12px rgba(0,0,0,.45)}
.fmb-room-code.giant{font-size:clamp(70px,11vw,112px)}
.fmb-player-count{margin:10px 0;color:#1c6f45;font-size:21px;font-weight:1000;letter-spacing:.03em}
.fmb-player-count.huge{font-size:28px}
.fmb-player-grid{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}
.fmb-player-grid span{padding:7px 10px;border:2px solid #98b687;border-radius:999px;background:#f2f6e6;color:#31522e;font-size:12px;font-weight:1000;box-shadow:0 2px 0 rgba(79,109,57,.16)}
.fmb-player-grid.big span{padding:9px 13px;font-size:15px}
.fmb-player-ticket{margin:8px auto 14px;max-width:560px;padding:15px;border:3px solid #c78834;border-radius:16px;background:linear-gradient(180deg,#fff7dc,#f5e7c2);box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}
.fmb-player-ticket small{display:block;color:#8a5420;font-size:9px;font-weight:1000;letter-spacing:.13em}
.fmb-player-ticket span{display:block;color:#5b6470;font-size:12px;font-weight:700}
.fmb-big-name{margin:3px 0 5px;color:#0c466d;font-size:34px;line-height:1;font-weight:1000}

/* QR / share */
.fmb-share-layout{display:grid;grid-template-columns:236px minmax(0,1fr);gap:15px;align-items:stretch;margin:8px 0 3px}
.fmb-share-side{display:flex;flex-direction:column;justify-content:center;gap:7px;text-align:left}
.fmb-share-label{font-size:9px;color:#84501d;font-weight:1000;letter-spacing:.13em}
.fmb-share-link,.fmb-display-url{margin:0 0 5px;padding:9px 11px;border:2px solid #9eb1bd;border-radius:9px;background:#f7fbfd;color:#24475e;font-size:12px;font-weight:900;overflow-wrap:anywhere}
.fmb-qr-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;border:3px solid #bd7b2c;border-radius:15px;background:#fffaf0;box-shadow:inset 0 0 0 2px #e4c990}
.fmb-qr-title{color:#123d5c;font-size:10px;font-weight:1000;letter-spacing:.12em}
.fmb-qr-image{display:block;width:min(190px,100%);height:auto;padding:7px;border:2px solid #c9d2d8;border-radius:8px;background:#fff}
.fmb-qr-caption{color:#596672;font-size:10px;line-height:1.25;font-weight:700}
.fmb-display-lobby{display:grid;grid-template-columns:minmax(290px,1fr) 250px;gap:16px;align-items:stretch;max-width:800px;margin:10px auto}
.fmb-display-lobby .fmb-qr-card{height:100%}
.fmb-host-tip,.fmb-gameboard-connected{max-width:720px;margin:12px auto 0;padding:9px 12px;border:2px solid #c9994c;border-radius:10px;background:#fff1c9;color:#654923;font-size:11px;line-height:1.35;font-weight:800}
.fmb-gameboard-connected{background:#e8f4f8;border-color:#80afc8;color:#27536c}

/* Gameplay header and question */
.fmb-host-strip,.fmb-mobile-score{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:8px;padding:8px 11px;border-radius:9px;background:linear-gradient(180deg,#123f61,#082e4c);border:2px solid #b97a2d;color:#fff1c9;font-size:11px;font-weight:1000;letter-spacing:.04em}
.fmb-mobile-score span:last-child{white-space:nowrap}
.fmb-game-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;color:#163a55;font-size:13px;font-weight:1000}
.fmb-game-top>span{padding:8px 12px;border:2px solid #bd8032;border-radius:10px;background:#f8e8bc;color:#74461e;letter-spacing:.07em}
.fmb-question-card{position:relative;min-height:235px;padding:24px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px solid #aa6e23;border-radius:18px;background:linear-gradient(180deg,#fffdf2,#fff2ce);box-shadow:inset 0 0 0 3px #e4c176,0 7px 0 rgba(91,55,17,.14);overflow:hidden}
.fmb-question-card:before,.fmb-question-card:after{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:#aa6d28;box-shadow:inset 0 1px 2px #573211;top:10px}
.fmb-question-card:before{left:11px}.fmb-question-card:after{right:11px}
.fmb-fact-label{margin-bottom:9px;color:#8b4e1e;font-size:11px;font-weight:1000;letter-spacing:.15em}
.fmb-question-text{max-width:900px;color:#172a3b;font-size:clamp(24px,4.1vw,40px);line-height:1.06;font-weight:1000;letter-spacing:-.018em;overflow-wrap:anywhere}
.fmb-question-text.small{margin:5px 0 10px;font-size:clamp(15px,2.3vw,22px);line-height:1.14}
.fmb-explanation{max-width:780px;color:#43515d;font-size:16px;line-height:1.32;font-weight:750}
.fmb-reveal-answer{margin:1px 0 3px;color:#b7372c;font-size:clamp(34px,6vw,56px);line-height:.96;font-weight:1000;text-shadow:0 2px 0 #fff}
.fmb-reveal-label{padding:7px 11px;border:2px solid #8da3af;border-radius:9px;background:#eef4f6;color:#31536a;font-size:11px;letter-spacing:.08em}

/* Timer dial */
.fmb-timer-box{width:112px;height:112px;flex:0 0 112px;display:grid;grid-template-rows:auto 1fr auto;place-items:center;padding:10px;border:5px solid #81531f;border-radius:50%;background:radial-gradient(circle at 50% 45%,#1a5278 0,#0a3453 61%,#071e31 100%);box-shadow:inset 0 0 0 3px #e2ad4f,inset 0 0 0 6px rgba(255,223,134,.18),0 6px 13px rgba(0,0,0,.25);color:#fff}
.fmb-timer-caption{font-size:8px;line-height:1;font-weight:1000;letter-spacing:.11em;color:#f4ca72}
.fmb-timer-box>span{font-size:34px;line-height:.92;font-weight:1000;font-variant-numeric:tabular-nums;color:#fff5c4;text-shadow:0 2px 0 #8a3c18,0 0 9px rgba(255,190,64,.55)}
.fmb-timer-box>small{font-size:7px;line-height:1;font-weight:1000;letter-spacing:.1em;color:#cce0eb}

/* Answer and lock controls */
.fmb-answer-instruction{margin-top:12px;color:#7b5020;font-size:10px;line-height:1.2;font-weight:1000;letter-spacing:.11em}
.fmb-answer-row{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:8px}
.fmb-answer{min-height:64px;border-radius:13px;border:4px solid rgba(0,0,0,.28);color:#fff;font-family:inherit;font-size:clamp(18px,3.1vw,25px);font-weight:1000;letter-spacing:.02em;cursor:pointer;text-shadow:0 2px 0 rgba(0,0,0,.28);box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 4px 0 rgba(0,0,0,.25);transition:transform .12s ease,box-shadow .12s ease,filter .12s ease,border-color .12s ease;transform-origin:center}
.fmb-truth{background:linear-gradient(180deg,#41a963,#217846);border-color:#145834}
.fmb-baloney{background:linear-gradient(180deg,#dc5948,#b8342b);border-color:#81261f}
.fmb-answer.is-selected{transform:translateY(-2px) scale(1.025);border-color:#fff0a8;box-shadow:0 0 0 4px #eeb73e,0 6px 0 rgba(0,0,0,.22),0 10px 17px rgba(21,41,74,.2);filter:saturate(1.12) brightness(1.04)}
.fmb-answer:disabled{opacity:.48;cursor:not-allowed}
.fmb-lock-button{width:100%;margin-top:10px;color:#17344b;background:linear-gradient(180deg,#ffe06a,#efad2b);border:3px solid #936014;box-shadow:inset 0 2px 0 rgba(255,255,255,.55),0 4px 0 #704610;font-size:17px}
.fmb-locked{margin-top:10px;padding:11px;border:3px solid #6b9db8;border-radius:12px;background:linear-gradient(180deg,#eaf7fb,#d9edf5);color:#1f526e;font-size:20px;font-weight:1000}
.fmb-locked small{display:block;margin-top:4px;color:#4b6e80;font-size:10px;letter-spacing:.025em}
.fmb-personal-result{margin:5px 0 9px;padding:8px 12px;border-radius:10px;font-size:clamp(22px,4vw,33px);line-height:1;font-weight:1000}
.fmb-personal-result.good{border:2px solid #69a67d;background:#e5f5e9;color:#17683b}
.fmb-personal-result.bad{border:2px solid #cc8079;background:#fbe5e3;color:#a52e28}
.fmb-personal-result.timeout{border:2px solid #dda15b;background:#fff0d3;color:#874016}
.fmb-personal-result.timeout small{display:block;margin-top:5px;color:#6f4b2e;font-size:11px;line-height:1.25}

/* Sandwich panels */
.fmb-play-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px;align-items:stretch}
.fmb-play-main{min-width:0;display:flex;flex-direction:column}
.fmb-sandwich{min-width:0;padding:9px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border:4px solid #a76b27;border-radius:16px;background:linear-gradient(180deg,#123f61,#082b46);box-shadow:inset 0 0 0 2px rgba(241,184,79,.5);color:#fff}
.fmb-sandwich-copy{width:100%;display:flex;justify-content:space-between;gap:6px;align-items:flex-start;text-align:left;color:#fff0bd}
.fmb-sandwich-copy b{font-size:11px;line-height:1.05;letter-spacing:.035em}
.fmb-sandwich-copy span{padding:4px 6px;border-radius:7px;background:#fbe7ad;color:#233a4d;font-size:9px;line-height:1.1;font-weight:1000;white-space:nowrap}
.fmb-sandwich>img{width:100%;max-width:185px;aspect-ratio:760/780;object-fit:contain;margin:5px auto 2px;border:3px solid #c78934;border-radius:10px;background:#fff6d9}
.fmb-sandwich>small{margin-top:3px;color:#ecd9a4;font-size:9px;line-height:1.15;font-weight:800;text-align:center}
.fmb-sandwich.compact{display:grid;grid-template-columns:minmax(0,1fr) 74px;grid-template-areas:"copy image" "note image";column-gap:8px;row-gap:1px;min-height:72px;margin-bottom:7px;padding:6px 8px;border-width:3px;border-radius:12px}
.fmb-sandwich.compact .fmb-sandwich-copy{grid-area:copy;align-self:end;display:block}
.fmb-sandwich.compact .fmb-sandwich-copy b{display:block;font-size:9px}
.fmb-sandwich.compact .fmb-sandwich-copy span{display:inline-block;margin-top:3px;font-size:8px;padding:3px 5px}
.fmb-sandwich.compact>img{grid-area:image;width:70px;height:70px;margin:0;border-width:2px;border-radius:8px}
.fmb-sandwich.compact>small{grid-area:note;align-self:start;margin:0;text-align:left;font-size:8px}
.fmb-display-game-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.55fr);gap:15px;align-items:start}
.fmb-sandwich-watch{padding:10px;border:4px solid #a56b28;border-radius:16px;background:linear-gradient(180deg,#123f61,#082b46);box-shadow:inset 0 0 0 2px rgba(239,183,78,.44);color:#fff}
.fmb-sandwich-watch h3{margin:0 0 8px;color:#ffe080;font-size:12px;letter-spacing:.11em}
.fmb-sandwich-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.fmb-sandwich-player{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:6px;align-items:center;padding:4px 5px;border:1px solid rgba(255,218,123,.28);border-radius:9px;background:rgba(255,255,255,.085)}
.fmb-sandwich-player img{width:54px;height:54px;object-fit:contain;border-radius:7px;background:#fff6d9}
.fmb-sandwich-player span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:1000}
.fmb-sandwich-player b{color:#ffd365;font-size:10px}
.fmb-sandwich-more{margin-top:7px;color:#f2d786;font-size:10px;font-weight:1000}

/* Leaderboard */
.fmb-board{margin-top:12px;padding:8px;border:3px solid #9c6325;border-radius:14px;background:linear-gradient(180deg,#123f61,#082b46);color:#fff;box-shadow:inset 0 0 0 1px rgba(245,199,99,.33)}
.fmb-board h3{margin:0 0 6px;color:#ffe490;font-size:11px;letter-spacing:.13em}
.fmb-rank{display:grid;grid-template-columns:31px minmax(0,1fr) auto;gap:7px;align-items:center;padding:6px 8px;border-top:1px solid rgba(255,255,255,.13);text-align:left}
.fmb-rank:first-of-type{border-top:0}
.fmb-rank b{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f1b43c;color:#18344b;font-size:12px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.32)}
.fmb-rank span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f8f4e8;font-size:12px;font-weight:1000}
.fmb-rank strong{color:#ffd66e;font-size:12px;font-variant-numeric:tabular-nums}
.fmb-final-score{margin:4px 0 8px;color:#17633b;font-size:clamp(52px,11vw,84px);line-height:.95;font-weight:1000;text-shadow:0 2px 0 #fff}
.fmb-final-score small{display:block;margin-top:5px;color:#4a5d68;font-size:12px;letter-spacing:.08em}
.fmb-mini-status,.fmb-waiting,.fmb-result-count{margin:9px 0 0;color:#5b6870;font-size:11px;font-weight:900}

/* Pause treatment */
.fmb-paused-card{position:relative;min-height:300px;padding:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px solid #7b5e34;border-radius:18px;background:repeating-linear-gradient(-45deg,#ede4cb 0,#ede4cb 15px,#e5dac0 15px,#e5dac0 30px);overflow:hidden;color:#29495d}
.fmb-paused-card:before{content:"";position:absolute;inset:0;background:rgba(240,237,225,.75);backdrop-filter:blur(7px)}
.fmb-paused-card>*{position:relative;z-index:1}
.fmb-pause-icon{width:60px;height:60px;display:grid;place-items:center;margin-bottom:7px;border:4px solid #bd8132;border-radius:50%;background:#103e5f;color:#fff;font-size:27px;font-weight:1000;letter-spacing:-.18em;padding-right:.18em}
.fmb-paused-card h2{margin:3px 0 8px;color:#183e58;font-size:clamp(27px,4vw,39px);line-height:1}
.fmb-paused-card p{max-width:560px;margin:0 auto 14px;color:#51626e;font-size:14px;line-height:1.35;font-weight:800}
.fmb-paused-time{display:flex;align-items:center;gap:8px;padding:8px 12px;border:2px solid #9b7a47;border-radius:10px;background:#fffaf0}
.fmb-paused-time strong{font-size:27px;font-variant-numeric:tabular-nums}
.fmb-paused-time span{max-width:52px;font-size:8px;line-height:1.05;font-weight:1000;letter-spacing:.09em;text-align:left}

/* Error / status */
.fmb-error{margin-bottom:10px;padding:9px 11px;border:2px solid #cb776d;border-radius:9px;background:#ffe8e3;color:#87231d;font-size:12px;font-weight:900}
.fmb-lock-meter{height:14px;margin-top:9px;border:2px solid #8e9ba3;border-radius:999px;background:#d5d9d7;overflow:hidden}
.fmb-lock-meter div{height:100%;background:linear-gradient(90deg,#29824f,#60b56f);transition:width .25s}
.fmb-display-host-return{margin-top:10px}

/* Countdown urgency. Both answer buttons behave identically. */
@keyframes fmb-soft-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.014)}}
@keyframes fmb-medium-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.032)}}
@keyframes fmb-strong-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.055)}}
@keyframes fmb-timer-punch{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
.fmb-app.fmb-urgency-soft .fmb-answer-row .fmb-answer:not(:disabled){animation:fmb-soft-pulse 1.35s ease-in-out infinite}
.fmb-app.fmb-urgency-medium .fmb-answer-row .fmb-answer:not(:disabled){animation:fmb-medium-pulse .82s ease-in-out infinite;box-shadow:0 0 0 3px rgba(238,183,62,.5),0 5px 0 rgba(0,0,0,.21)}
.fmb-app.fmb-urgency-strong .fmb-answer-row .fmb-answer:not(:disabled){animation:fmb-strong-pulse .44s ease-in-out infinite;box-shadow:0 0 0 4px rgba(207,64,49,.38),0 5px 0 rgba(0,0,0,.22)}
.fmb-app.fmb-urgency-medium .fmb-timer-box,.fmb-app.fmb-urgency-strong .fmb-timer-box{animation:fmb-timer-punch .75s ease-in-out infinite}
.fmb-app.fmb-urgency-soft .fmb-timer-box{border-color:#af7422}
.fmb-app.fmb-urgency-medium .fmb-timer-box{border-color:#d27b23;background:radial-gradient(circle,#7c431b,#4d2b17 72%)}
.fmb-app.fmb-urgency-strong .fmb-timer-box{border-color:#c33d31;background:radial-gradient(circle,#8b2f25,#481a18 72%)}
.fmb-app.fmb-time-expired .fmb-timer-box{border-color:#8b2621;background:#4b1b18}
.fmb-app.fmb-time-expired .fmb-answer{opacity:.46;animation:none!important}

/* Display-specific scale */
.fmb-app[data-fmb-mode="display"] .fmb-brand-deck{grid-template-columns:96px minmax(250px,340px) 96px}
.fmb-app[data-fmb-mode="display"] .fmb-brand-side{width:90px;height:90px}
.fmb-app[data-fmb-mode="display"] .fmb-logo{width:min(310px,100%);max-height:190px}
.fmb-app[data-fmb-mode="display"] .fmb-panel{padding:20px 22px}
.fmb-app[data-fmb-mode="display"] .fmb-question-card{min-height:280px}
.fmb-app[data-fmb-mode="display"] .fmb-question-text{font-size:clamp(34px,4.2vw,52px)}

/* Player phone mode stays compact and one-screen oriented during play. */
.fmb-app[data-fmb-mode="player"] .fmb-shell{width:min(680px,calc(100% - 12px));padding-top:5px}
.fmb-app[data-fmb-mode="player"] .fmb-brand-deck{grid-template-columns:62px minmax(130px,205px) 62px;gap:8px;margin-bottom:-10px}
.fmb-app[data-fmb-mode="player"] .fmb-brand-side{width:58px;height:58px;border-width:2px;padding:4px}
.fmb-app[data-fmb-mode="player"] .fmb-logo{width:min(190px,100%);max-height:132px}
.fmb-app[data-fmb-mode="player"] .fmb-brand-ribbon{font-size:7px;padding:4px 8px;margin-top:-5px}
.fmb-app[data-fmb-mode="player"] .fmb-brand-footer{display:none}
.fmb-app[data-fmb-mode="player"] .fmb-panel{width:min(620px,100%);padding:13px 14px;border-width:4px;border-radius:18px}
.fmb-app[data-fmb-mode="player"] .fmb-room-meta{grid-template-columns:.8fr 1.55fr .7fr;margin-bottom:9px}
.fmb-app[data-fmb-mode="player"] .fmb-room-meta strong{font-size:11px}
.fmb-app[data-fmb-mode="player"] .fmb-question-card{min-height:155px;padding:15px 16px}
.fmb-app[data-fmb-mode="player"] .fmb-question-text{font-size:clamp(20px,6vw,30px)}
.fmb-app[data-fmb-mode="player"] .fmb-question-text.small{font-size:14px}
.fmb-app[data-fmb-mode="player"] .fmb-explanation{font-size:13px;line-height:1.18}
.fmb-app[data-fmb-mode="player"] .fmb-timer-box{width:78px;height:78px;flex-basis:78px;border-width:4px;padding:7px}
.fmb-app[data-fmb-mode="player"] .fmb-timer-box>span{font-size:25px}
.fmb-app[data-fmb-mode="player"] .fmb-timer-caption{font-size:6px}
.fmb-app[data-fmb-mode="player"] .fmb-timer-box>small{font-size:6px}
.fmb-app[data-fmb-mode="player"] .fmb-answer{min-height:54px;font-size:18px}
.fmb-app[data-fmb-mode="player"] .fmb-lock-button{min-height:45px;margin-top:7px;font-size:15px;padding:8px}
.fmb-app[data-fmb-mode="player"] .fmb-game-top{margin-bottom:6px}
.fmb-app[data-fmb-mode="player"] .fmb-game-top>span{padding:6px 9px;font-size:10px}
.fmb-app[data-fmb-mode="player"] .fmb-answer-instruction{margin-top:8px;font-size:8px}
.fmb-app[data-fmb-mode="player"] .fmb-personal-result{margin:3px 0 6px;font-size:21px}

@media(max-width:900px){
  body.tbac-fmb-page:before{background-position:center top;background-attachment:scroll}
  .fmb-brand-deck{grid-template-columns:82px minmax(220px,310px) 82px;gap:10px}
  .fmb-brand-side{width:76px;height:76px}
  .fmb-logo{max-height:185px}
  .fmb-play-layout,.fmb-display-game-layout{grid-template-columns:1fr}
  .fmb-play-layout>.fmb-sandwich:not(.compact){display:grid;grid-template-columns:minmax(0,1fr) 112px;grid-template-areas:"copy image" "note image";min-height:108px}
  .fmb-play-layout>.fmb-sandwich:not(.compact) .fmb-sandwich-copy{grid-area:copy}
  .fmb-play-layout>.fmb-sandwich:not(.compact)>img{grid-area:image;width:106px;height:106px;margin:0}
  .fmb-play-layout>.fmb-sandwich:not(.compact)>small{grid-area:note;text-align:left}
  .fmb-display-game-layout .fmb-sandwich-watch{margin-top:0}
}

@media(max-width:700px){
  .fmb-shell{width:calc(100% - 10px);padding-top:5px;padding-bottom:8px}
  .fmb-brand-deck{grid-template-columns:54px minmax(150px,225px) 54px;gap:6px;margin-bottom:-8px}
  .fmb-brand-side{width:50px;height:50px;padding:3px;border-width:2px}
  .fmb-logo{width:min(210px,100%);max-height:142px}
  .fmb-brand-ribbon{font-size:6px;padding:3px 7px;margin-top:-4px}
  .fmb-brand-footer{display:none}
  .fmb-panel{padding:13px;border-width:4px;border-radius:18px;box-shadow:0 0 0 2px #b9782a,0 0 0 4px rgba(9,47,78,.88),0 12px 30px rgba(0,0,0,.37)}
  .fmb-panel h1,.fmb-screen-heading h1{font-size:28px}
  .fmb-screen-heading p,.fmb-lead{font-size:13px;margin:5px auto 10px}
  .fmb-form{gap:8px}
  .fmb-form input,.fmb-form select{min-height:44px;padding:8px 9px;font-size:16px}
  .fmb-two{gap:7px}
  .fmb-share-layout,.fmb-display-lobby{grid-template-columns:1fr}
  .fmb-share-side{text-align:center}
  .fmb-display-lobby .fmb-qr-card{max-width:270px;margin:auto;width:100%}
  .fmb-room-meta{grid-template-columns:repeat(2,1fr);gap:5px}
  .fmb-room-meta>div{padding:6px 8px}
  .fmb-room-meta small{font-size:7px}.fmb-room-meta strong{font-size:11px}
  .fmb-room-code{font-size:62px}.fmb-room-code.giant{font-size:75px}
  .fmb-player-grid span{font-size:10px;padding:5px 7px}
  .fmb-player-count{font-size:16px}
  .fmb-question-card{min-height:145px;padding:13px 14px;border-width:4px}
  .fmb-question-text{font-size:clamp(19px,6.2vw,28px)}
  .fmb-question-text.small{font-size:14px}.fmb-explanation{font-size:12px}
  .fmb-answer{min-height:52px;font-size:17px;border-width:3px}
  .fmb-host-actions,.fmb-postgame-actions,.fmb-display-actions{display:grid;grid-template-columns:1fr;width:100%;gap:7px}
  .fmb-host-actions>*,.fmb-postgame-actions>*,.fmb-display-actions>*{width:100%;min-width:0}
  .fmb-board{max-height:31vh;overflow:auto}
  .fmb-sandwich-grid{grid-template-columns:1fr}
  .fmb-paused-card{min-height:220px;padding:16px}
  .fmb-paused-card h2{font-size:27px}.fmb-paused-card p{font-size:12px}
}

@media(max-width:430px){
  .fmb-app[data-fmb-mode="player"] .fmb-shell{width:calc(100% - 6px)}
  .fmb-app[data-fmb-mode="player"] .fmb-brand-deck{grid-template-columns:44px minmax(126px,174px) 44px;gap:4px}
  .fmb-app[data-fmb-mode="player"] .fmb-brand-side{width:42px;height:42px}
  .fmb-app[data-fmb-mode="player"] .fmb-logo{width:min(166px,100%);max-height:112px}
  .fmb-app[data-fmb-mode="player"] .fmb-panel{padding:10px 10px 11px}
  .fmb-app[data-fmb-mode="player"] .fmb-mobile-score{font-size:9px;padding:5px 7px;margin-bottom:5px}
  .fmb-app[data-fmb-mode="player"] .fmb-sandwich.compact{min-height:60px;grid-template-columns:minmax(0,1fr) 60px;padding:4px 6px;margin-bottom:4px}
  .fmb-app[data-fmb-mode="player"] .fmb-sandwich.compact>img{width:56px;height:56px}
  .fmb-app[data-fmb-mode="player"] .fmb-question-card{min-height:125px;padding:11px 11px}
  .fmb-app[data-fmb-mode="player"] .fmb-question-text{font-size:clamp(18px,6vw,25px)}
  .fmb-app[data-fmb-mode="player"] .fmb-game-top>span{font-size:8px;padding:5px 7px}
  .fmb-app[data-fmb-mode="player"] .fmb-timer-box{width:68px;height:68px;flex-basis:68px;padding:5px}
  .fmb-app[data-fmb-mode="player"] .fmb-timer-box>span{font-size:21px}
  .fmb-app[data-fmb-mode="player"] .fmb-answer-row{gap:6px;margin-top:5px}
  .fmb-app[data-fmb-mode="player"] .fmb-answer{min-height:48px;font-size:15px}
  .fmb-app[data-fmb-mode="player"] .fmb-lock-button{min-height:42px;font-size:14px;margin-top:5px}
}

@media(prefers-reduced-motion:reduce){
  .fmb-app .fmb-answer,.fmb-app .fmb-timer-box{animation:none!important;transition:none!important}
  .fmb-app.fmb-urgency-soft .fmb-answer-row .fmb-answer:not(:disabled){outline:2px solid rgba(238,183,62,.45)}
  .fmb-app.fmb-urgency-medium .fmb-answer-row .fmb-answer:not(:disabled){outline:3px solid rgba(222,132,40,.5)}
  .fmb-app.fmb-urgency-strong .fmb-answer-row .fmb-answer:not(:disabled){outline:4px solid rgba(196,61,50,.55)}
}

/* Fibby's Baloney Challenge */
.fmb-challenge-chip{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:center;margin:0 0 10px;padding:10px 12px;border:3px solid #0d5083;border-radius:16px;background:linear-gradient(180deg,#eef8ff,#d7edff);box-shadow:inset 0 0 0 2px rgba(255,255,255,.65)}
.fmb-challenge-chip.compact{grid-template-columns:68px minmax(0,1fr);padding:8px 10px;border-radius:14px}
.fmb-challenge-chip.mine{border-color:#c78625;background:linear-gradient(180deg,#fff5d9,#ffe7ae)}
.fmb-challenge-chip img{width:100%;max-width:88px;height:auto;display:block;filter:drop-shadow(0 6px 8px rgba(0,0,0,.22))}
.fmb-challenge-chip.compact img{max-width:68px}
.fmb-challenge-chip-copy{min-width:0;text-align:left}
.fmb-challenge-chip-copy small{display:block;color:#9e5b20;font-size:9px;font-weight:1000;letter-spacing:.14em}
.fmb-challenge-chip-copy strong{display:block;margin-top:3px;color:#113a5b;font-size:20px;line-height:1;font-weight:1000}
.fmb-challenge-chip-copy span{display:block;margin-top:4px;color:#48606f;font-size:11px;line-height:1.25;font-weight:800}

.fmb-challenge-marker{display:grid;grid-template-columns:116px minmax(0,1fr);gap:11px;align-items:center;margin-top:10px;padding:10px 12px;border:3px solid #c78626;border-radius:15px;background:linear-gradient(180deg,#fff6d6,#ffe8af);box-shadow:0 4px 0 rgba(130,80,22,.14)}
.fmb-challenge-marker img{width:100%;max-width:116px;height:auto;display:block;filter:drop-shadow(0 7px 9px rgba(0,0,0,.24))}
.fmb-challenge-marker-copy{text-align:left}
.fmb-challenge-marker-copy b{display:block;color:#8f3f17;font-size:20px;line-height:1;font-weight:1000}
.fmb-challenge-marker-copy span{display:block;margin-top:5px;color:#5f553c;font-size:13px;line-height:1.2;font-weight:900}

.fmb-challenge-panel{margin-top:10px;padding:12px;border:3px solid #9a6323;border-radius:16px;background:linear-gradient(180deg,#fff7de,#fff2cb);text-align:left;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 6px 14px rgba(0,0,0,.08)}
.fmb-challenge-panel-head{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center;margin-bottom:8px}
.fmb-challenge-panel-head img{width:100%;max-width:72px;height:auto;display:block;filter:drop-shadow(0 5px 7px rgba(0,0,0,.2))}
.fmb-challenge-panel-head small{display:block;color:#9a5a1c;font-size:9px;font-weight:1000;letter-spacing:.15em}
.fmb-challenge-panel-head strong{display:block;margin-top:2px;color:#173d5a;font-size:23px;line-height:1;font-weight:1000}
.fmb-challenge-panel p{margin:0;color:#445560;font-size:14px;line-height:1.35;font-weight:800}
.fmb-challenge-reward{margin-top:8px;padding:8px 10px;border-radius:10px;background:#fdfbf0;border:2px solid #d8c48c;color:#6c5633;font-size:12px;font-weight:1000}
.fmb-challenge-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.fmb-challenge-actions>*{min-width:220px}
.fmb-challenge-pending{margin-top:10px;color:#355671;font-size:12px;font-weight:1000}
.fmb-challenge-result{padding:10px 12px;border-radius:12px;font-size:22px;line-height:1;font-weight:1000}
.fmb-challenge-result.good{border:2px solid #69a67d;background:#e5f5e9;color:#17683b}
.fmb-challenge-result.skip{border:2px solid #ddb162;background:#fff0d3;color:#874016}
.fmb-challenge-result small{display:block;margin-top:6px;font-size:12px;line-height:1.25}

.fmb-app[data-fmb-mode="player"] .fmb-challenge-chip{grid-template-columns:56px minmax(0,1fr);gap:8px;padding:7px 8px;margin-bottom:6px;border-width:2px;border-radius:12px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-chip img{max-width:56px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-chip-copy strong{font-size:15px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-chip-copy span{font-size:10px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-marker{grid-template-columns:82px minmax(0,1fr);gap:8px;padding:8px;border-width:2px;border-radius:12px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-marker img{max-width:82px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-marker-copy b{font-size:16px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-marker-copy span{font-size:11px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-panel{padding:10px;border-width:2px;border-radius:12px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-panel-head{grid-template-columns:56px minmax(0,1fr);gap:8px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-panel-head img{max-width:56px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-panel-head strong{font-size:16px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-panel p{font-size:12px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-result{font-size:18px}
.fmb-app[data-fmb-mode="player"] .fmb-challenge-result small,.fmb-app[data-fmb-mode="player"] .fmb-challenge-reward,.fmb-app[data-fmb-mode="player"] .fmb-challenge-pending{font-size:10px}

@media(max-width:700px){
  .fmb-challenge-chip{grid-template-columns:62px minmax(0,1fr);padding:8px 9px}
  .fmb-challenge-chip img{max-width:62px}
  .fmb-challenge-chip-copy strong{font-size:16px}
  .fmb-challenge-marker{grid-template-columns:86px minmax(0,1fr);padding:8px 9px}
  .fmb-challenge-marker img{max-width:86px}
  .fmb-challenge-marker-copy b{font-size:16px}
  .fmb-challenge-marker-copy span{font-size:11px}
  .fmb-challenge-panel-head{grid-template-columns:58px minmax(0,1fr)}
  .fmb-challenge-panel-head img{max-width:58px}
  .fmb-challenge-panel-head strong{font-size:18px}
  .fmb-challenge-panel p{font-size:12px}
  .fmb-challenge-result{font-size:18px}
  .fmb-challenge-result small{font-size:10px}
  .fmb-challenge-actions{display:grid;grid-template-columns:1fr}
  .fmb-challenge-actions>*{min-width:0;width:100%}
}

/* v0.1.10 official strike / elimination art integration */
.fmb-room-meta{grid-template-columns:.72fr 1.45fr .9fr .75fr .82fr}
.fmb-strike-badge{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;padding:3px 7px;border-radius:999px;background:rgba(255,248,221,.95);border:1px solid rgba(154,96,28,.55);color:#653d13;font-weight:1000;white-space:nowrap}
.fmb-strike-badge img{display:block;width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.18))}
.fmb-strike-badge.small{padding:2px 5px;gap:4px;font-size:9px}
.fmb-strike-badge.small img{width:28px;height:28px}
.fmb-no-strikes{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,220,127,.24);color:#f7dfa0;font-size:9px;font-weight:1000;white-space:nowrap}
.fmb-sandwich-strikes{width:100%;display:flex;justify-content:center;margin-top:2px}
.fmb-sandwich.is-spectator{filter:saturate(.78)}
.fmb-sandwich-player{grid-template-columns:48px minmax(0,1fr) auto auto}
.fmb-sandwich-player .fmb-mini-sandwich{width:48px;height:48px;object-fit:contain;border-radius:7px;background:#fff6d9}
.fmb-sandwich-player .fmb-piece-count{font-size:9px;color:#ffdd75;white-space:nowrap}
.fmb-sandwich-player.is-out{opacity:.75;background:rgba(50,49,54,.42)}
.fmb-out-mark{display:inline-flex;align-items:center;gap:4px;min-width:0}
.fmb-out-mark img{width:33px;height:33px;object-fit:contain;background:transparent!important;border:0!important}
.fmb-out-mark b{font-size:7px;line-height:1;color:#ffd56b;white-space:nowrap}

.fmb-final-two-banner{margin:0 auto 10px;text-align:center}
.fmb-final-two-banner img{display:block;width:min(700px,100%);max-height:190px;margin:auto;object-fit:contain;filter:drop-shadow(0 8px 11px rgba(0,0,0,.24))}

.fmb-round-event{margin:12px 0;padding:12px;border:4px solid #b9782a;border-radius:18px;background:linear-gradient(180deg,#fff9df,#ffe8a9);box-shadow:inset 0 0 0 2px rgba(255,255,255,.7),0 9px 22px rgba(0,0,0,.17);overflow:hidden;text-align:center}
.fmb-round-event.elimination{border-color:#bf3d2f;background:linear-gradient(180deg,#fff1d6,#ffd4b0)}
.fmb-event-title{display:block;width:min(680px,100%);max-height:220px;margin:0 auto 8px;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(0,0,0,.24))}
.fmb-elimination-lockup{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.fmb-x-badge{width:120px;height:120px;object-fit:contain;filter:drop-shadow(0 6px 7px rgba(0,0,0,.2))}
.fmb-elimination-lockup div{text-align:left}
.fmb-elimination-lockup b{display:block;color:#8e2f23;font-size:30px;line-height:1;font-weight:1000}
.fmb-elimination-lockup span{display:block;margin-top:4px;color:#68422f;font-size:12px;font-weight:1000;letter-spacing:.08em}
.fmb-strike-earned{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;color:#88471c;font-size:22px;font-weight:1000}

.fmb-spectator-card{margin-top:10px;padding:10px;border:3px solid #145184;border-radius:15px;background:linear-gradient(180deg,#e8f5ff,#d6eaff);text-align:center}
.fmb-spectator-card img{display:block;width:min(430px,100%);max-height:150px;margin:0 auto 5px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.2))}
.fmb-spectator-card p{max-width:560px;margin:0 auto;color:#375269;font-size:12px;line-height:1.3;font-weight:900}

.fmb-saved-baloney-graphic{display:block;width:min(640px,100%);max-height:250px;margin:2px auto 10px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.22))}

.fmb-baloney-bin{margin-top:12px;padding:10px;border:3px solid #925a21;border-radius:15px;background:linear-gradient(180deg,#5b351c,#342215);box-shadow:inset 0 0 0 2px rgba(255,214,113,.18);color:#fff}
.fmb-baloney-bin-sign{display:block;width:min(390px,100%);max-height:125px;margin:-4px auto 6px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.3))}
.fmb-bin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.fmb-bin-player{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:7px;align-items:center;padding:6px;border-radius:9px;background:rgba(255,255,255,.08);border:1px solid rgba(255,221,133,.2);text-align:left}
.fmb-bin-player img{grid-row:1/3;width:44px;height:44px;object-fit:contain}
.fmb-bin-player span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:1000;color:#fff4d6}
.fmb-bin-player b{font-size:8px;color:#ffd76e}

.fmb-rank{grid-template-columns:31px minmax(0,1fr) auto auto}
.fmb-rank-status{display:flex;align-items:center;gap:4px;color:#f6d989;font-size:9px;font-weight:1000}
.fmb-rank-status .fmb-no-strikes{min-height:24px;padding:3px 6px}

@media(max-width:900px){
  .fmb-room-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fmb-event-title{max-height:180px}
  .fmb-elimination-lockup b{font-size:24px}
}
@media(max-width:700px){
  .fmb-room-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fmb-final-two-banner img{max-height:130px}
  .fmb-round-event{padding:8px;border-width:3px}
  .fmb-event-title{max-height:145px}
  .fmb-x-badge{width:86px;height:86px}
  .fmb-elimination-lockup b{font-size:20px}
  .fmb-elimination-lockup span{font-size:9px}
  .fmb-strike-earned{font-size:17px}
  .fmb-bin-grid{grid-template-columns:1fr}
  .fmb-rank{grid-template-columns:28px minmax(0,1fr) auto}
  .fmb-rank-status{grid-column:2/4;justify-content:flex-start}
}
@media(max-width:430px){
  .fmb-app[data-fmb-mode="player"] .fmb-final-two-banner img{max-height:95px}
  .fmb-app[data-fmb-mode="player"] .fmb-event-title{max-height:105px}
  .fmb-app[data-fmb-mode="player"] .fmb-round-event{margin:7px 0;padding:6px}
  .fmb-app[data-fmb-mode="player"] .fmb-x-badge{width:70px;height:70px}
  .fmb-app[data-fmb-mode="player"] .fmb-elimination-lockup{gap:8px}
  .fmb-app[data-fmb-mode="player"] .fmb-elimination-lockup b{font-size:17px}
  .fmb-app[data-fmb-mode="player"] .fmb-spectator-card img{max-height:95px}
  .fmb-app[data-fmb-mode="player"] .fmb-spectator-card p{font-size:10px}
  .fmb-app[data-fmb-mode="player"] .fmb-strike-badge.small img{width:24px;height:24px}
  .fmb-app[data-fmb-mode="player"] .fmb-saved-baloney-graphic{max-height:135px}
}

/* v0.1.12 Baloney Challenge copy + mobile host flow */
.fmb-challenge-copy{margin:9px 0 10px;padding:12px 14px;border-radius:13px;background:linear-gradient(180deg,#fffef7,#fff3c9);border:3px solid #df9a24;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 4px 10px rgba(111,71,16,.10);text-align:center}
.fmb-challenge-copy small{display:block;margin-bottom:5px;color:#9a5318;font-size:9px;font-weight:1000;letter-spacing:.14em}
.fmb-challenge-copy strong{display:block;color:#153f60;font-size:clamp(18px,3.4vw,28px);line-height:1.12;font-weight:1000}
.fmb-challenge-copy.missing{border-color:#c27b6f;background:#fff0ed}
.fmb-host-mobile-action{display:none}

@media(max-width:700px){
  .fmb-app[data-fmb-mode="host"] .fmb-panel{padding-bottom:88px}
  .fmb-app[data-fmb-mode="host"] .fmb-host-mobile-action{
    position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:99999;
    display:block;padding:8px;border-radius:16px;background:rgba(7,31,53,.97);border:3px solid #e0a135;
    box-shadow:0 0 0 2px rgba(255,218,118,.22),0 9px 26px rgba(0,0,0,.4);backdrop-filter:blur(8px)
  }
  .fmb-app[data-fmb-mode="host"] .fmb-host-mobile-action>.fmb-primary{width:100%;min-height:56px;font-size:19px}
  .fmb-app[data-fmb-mode="host"] .fmb-host-mobile-action.challenge{padding:7px 8px 8px}
  .fmb-mobile-action-label{margin-bottom:5px;color:#ffe58b;font-size:9px;font-weight:1000;letter-spacing:.13em;text-align:center}
  .fmb-mobile-challenge-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .fmb-mobile-challenge-buttons>button{width:100%;min-height:50px;font-size:15px}
  .fmb-app[data-fmb-mode="host"] .fmb-challenge-copy{padding:10px 11px}
  .fmb-app[data-fmb-mode="host"] .fmb-challenge-copy strong{font-size:20px}
}

/* v0.1.13 gameplay-first layout + larger sandwich visibility */
.fmb-auto-advance-note{margin:10px 0 2px;padding:8px 12px;border:2px solid #9d7b39;border-radius:10px;background:#fff4ca;color:#604617;font-size:11px;font-weight:1000;letter-spacing:.08em;text-align:center}

/* Make the player's own sandwich a major game-state reference on desktop/tablet. */
.fmb-play-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px}
.fmb-sandwich>img{max-width:275px}
.fmb-sandwich-copy b{font-size:13px}
.fmb-sandwich-copy span{font-size:10px}

/* Shared gameboard sandwich watch is intentionally large and glanceable. */
.fmb-display-game-layout{grid-template-columns:minmax(0,1.35fr) minmax(430px,.8fr);gap:18px}
.fmb-sandwich-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fmb-sandwich-player{grid-template-columns:92px minmax(0,1fr) auto auto;min-height:98px;padding:7px 8px;gap:8px}
.fmb-sandwich-player .fmb-mini-sandwich,.fmb-sandwich-player>img:first-child{width:88px;height:88px}
.fmb-sandwich-player span{font-size:13px}
.fmb-sandwich-player .fmb-piece-count{font-size:11px}
.fmb-strike-badge.small img{width:42px;height:42px}

/* Approved event graphics should read as major moments, not tiny decorations. */
.fmb-event-title{max-height:280px}
.fmb-saved-baloney-graphic{max-height:300px}
.fmb-final-two-banner img{max-height:230px}
.fmb-baloney-bin-sign{max-height:155px;width:min(480px,100%)}
.fmb-spectator-card img{max-height:185px}

/* Active player phone: remove ornamental header and prioritize the live game. */
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-brand-deck{display:none!important}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-shell{padding-top:3px;width:min(680px,calc(100% - 6px));min-height:100dvh}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-panel{padding:8px 9px 10px;border-radius:15px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-mobile-score{margin:0 0 5px;padding:5px 7px;min-height:28px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-game-top{margin:0 0 5px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-question-card{min-height:128px;padding:10px 12px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-question-text{font-size:clamp(20px,6vw,29px);line-height:1.04}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-fact-label{font-size:8px;margin-bottom:4px}

/* On phones, the sandwich sits directly between the question and answer controls. */
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact{
  display:grid;grid-template-columns:minmax(0,1fr) 132px;grid-template-areas:"copy image" "strikes image" "note image";
  column-gap:10px;row-gap:3px;min-height:138px;margin:6px 0;padding:6px 8px;border-width:3px;border-radius:12px
}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact .fmb-sandwich-copy{grid-area:copy;align-self:end;display:block}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact .fmb-sandwich-copy b{font-size:11px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact .fmb-sandwich-copy span{display:inline-block;margin-top:4px;font-size:9px;padding:4px 6px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact>img{grid-area:image;width:128px;height:128px;margin:0;border-width:2px;border-radius:9px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact .fmb-sandwich-strikes{grid-area:strikes;justify-content:flex-start}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact>small{grid-area:note;align-self:start;margin:0;text-align:left;font-size:9px;line-height:1.15}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-answer-instruction{margin:5px 0 3px;font-size:8px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-answer-row{gap:7px;margin-top:0}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-answer{min-height:52px;font-size:17px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-lock-button{min-height:43px;margin-top:5px;font-size:14px;padding:7px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-challenge-marker{grid-template-columns:58px minmax(0,1fr);min-height:62px;margin-top:5px;padding:5px 7px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-challenge-marker img{max-width:58px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-challenge-marker-copy b{font-size:13px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-challenge-marker-copy span{font-size:9px}
.fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-challenge-chip{margin-top:7px}

@media(max-width:1000px){
  .fmb-display-game-layout{grid-template-columns:minmax(0,1fr) minmax(330px,.8fr)}
  .fmb-sandwich-player{grid-template-columns:78px minmax(0,1fr) auto auto;min-height:84px}
  .fmb-sandwich-player .fmb-mini-sandwich,.fmb-sandwich-player>img:first-child{width:74px;height:74px}
  .fmb-play-layout{grid-template-columns:minmax(0,1fr) 260px}
  .fmb-sandwich>img{max-width:235px}
}

@media(max-width:900px){
  .fmb-display-game-layout{grid-template-columns:1fr}
  .fmb-sandwich-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fmb-play-layout{grid-template-columns:1fr}
  .fmb-play-layout>.fmb-sandwich:not(.compact){grid-template-columns:minmax(0,1fr) 180px;min-height:180px}
  .fmb-play-layout>.fmb-sandwich:not(.compact)>img{width:174px;height:174px}
}

@media(max-width:520px){
  .fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact{grid-template-columns:minmax(0,1fr) 116px;min-height:122px}
  .fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-sandwich.compact>img{width:112px;height:112px}
  .fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-question-card{min-height:115px}
  .fmb-app[data-fmb-mode="player"].fmb-player-live .fmb-question-text{font-size:clamp(18px,5.8vw,25px)}
}


/* v0.1.15 mobile participant answer reliability */
.fmb-app[data-fmb-mode="player"] .fmb-answer,
.fmb-app[data-fmb-mode="player"] .fmb-lock-button{
  touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.fmb-app[data-fmb-mode="player"] .fmb-lock-button:not(:disabled){
  position:relative;
  z-index:2;
}

/* v0.1.16 live competition visibility on every gameplay screen */
.fmb-competition-watch{margin-top:12px;padding:12px;border-width:4px}
.fmb-competition-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.fmb-competition-heading h3{margin:0;color:#ffe080;font-size:14px;letter-spacing:.10em}
.fmb-competition-heading>span{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,225,143,.25);color:#dceeff;font-size:8px;font-weight:1000;letter-spacing:.12em;white-space:nowrap}
.fmb-competition-heading>span:before{content:'';width:7px;height:7px;border-radius:50%;background:#8eea8a;box-shadow:0 0 0 3px rgba(142,234,138,.12)}
.fmb-competition-watch .fmb-sandwich-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.fmb-competition-watch .fmb-sandwich-player{position:relative;display:grid;grid-template-columns:28px 88px minmax(0,1fr);grid-template-areas:"place sandwich copy" "place sandwich danger";align-items:center;gap:6px 8px;min-height:102px;padding:7px 8px;border:2px solid rgba(255,218,123,.28);border-radius:12px;background:rgba(255,255,255,.085)}
.fmb-competition-watch .fmb-sandwich-player.is-me{border-color:#ffe07a;background:rgba(255,220,94,.15);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.fmb-competition-watch .fmb-competitor-place{grid-area:place;align-self:start;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f6c84f;color:#183c57;font-size:10px;font-weight:1000}
.fmb-competition-watch .fmb-mini-sandwich{grid-area:sandwich;width:86px!important;height:86px!important;object-fit:contain;border-radius:9px;background:#fff6d9}
.fmb-competition-watch .fmb-competitor-copy{grid-area:copy;min-width:0;align-self:end}
.fmb-competition-watch .fmb-competitor-copy>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:13px;font-weight:1000}
.fmb-competition-watch .fmb-competitor-copy em{display:inline-block;margin-left:4px;padding:2px 4px;border-radius:5px;background:#ffe071;color:#173c5b;font-size:7px;font-style:normal;vertical-align:middle}
.fmb-competition-watch .fmb-competitor-copy small{display:block;margin-top:3px;color:#d7eafa;font-size:9px;font-weight:900}
.fmb-competition-watch .fmb-competitor-danger{grid-area:danger;display:flex;align-items:center;gap:5px;min-width:0;align-self:start;flex-wrap:wrap}
.fmb-competition-watch .fmb-piece-count{padding:3px 6px;border-radius:999px;background:rgba(255,209,86,.12);border:1px solid rgba(255,218,123,.22);color:#ffdd75;font-size:9px;white-space:nowrap}
.fmb-competition-watch .fmb-strike-badge.small{padding:1px 4px;font-size:8px}
.fmb-competition-watch .fmb-strike-badge.small img{width:31px;height:31px}
.fmb-live-status{display:inline-flex;align-items:center;min-height:20px;margin-top:4px;padding:3px 6px;border-radius:999px;font-size:8px;font-weight:1000;letter-spacing:.06em;white-space:nowrap}
.fmb-live-status.is-locked{background:#d7f7d3;color:#225c2d;border:1px solid #78c47d}
.fmb-live-status.is-thinking{background:#e6eff8;color:#31546d;border:1px solid #97b3c8}
.fmb-live-status.is-missed{background:#ffe1d7;color:#81372b;border:1px solid #d69b8b}
.fmb-live-status.is-out{background:#ffe2cf;color:#802c22;border:1px solid #d68e71}
.fmb-no-active{grid-column:1/-1;padding:16px;text-align:center;color:#f7dfa0;font-size:12px;font-weight:900}

/* Shared gameboard scales the entire field rather than hiding players after 12. */
.fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-sandwich-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-sandwich-player{grid-template-columns:31px 104px minmax(0,1fr);min-height:118px}
.fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-mini-sandwich{width:102px!important;height:102px!important}
.fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-competitor-copy>span{font-size:15px}
.fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-live-status{font-size:9px}

/* Host always has a live competition board during question, pause and reveal. */
.fmb-app[data-fmb-mode="host"] .fmb-competition-watch{margin-top:14px}

/* Participant phone: game controls stay first, competition becomes a swipeable strip below them. */
@media(max-width:700px){
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch{margin-top:8px;padding:8px 7px 9px;overflow:hidden}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-heading{margin-bottom:6px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-heading h3{font-size:11px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-heading>span{font-size:7px;padding:3px 5px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-sandwich-grid{
    display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 6px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain
  }
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-sandwich-grid::-webkit-scrollbar{height:5px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-sandwich-player{
    flex:0 0 190px;scroll-snap-align:start;grid-template-columns:22px 70px minmax(0,1fr);min-height:82px;padding:5px 6px;gap:4px 6px
  }
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-competitor-place{width:21px;height:21px;font-size:8px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-mini-sandwich{width:68px!important;height:68px!important}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-competitor-copy>span{font-size:11px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-competitor-copy small{font-size:7px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-piece-count{font-size:7px;padding:2px 4px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-strike-badge.small{font-size:7px}
  .fmb-app[data-fmb-mode="player"] .fmb-competition-watch .fmb-strike-badge.small img{width:24px;height:24px}
  .fmb-app[data-fmb-mode="player"] .fmb-live-status{font-size:7px;min-height:17px;padding:2px 4px;margin-top:2px}
}

/* Tablet: comfortable two-column overview. */
@media(min-width:701px) and (max-width:1100px){
  .fmb-competition-watch .fmb-sandwich-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Large shared displays can fit more players without making the board absurdly tall. */
@media(min-width:1500px){
  .fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-sandwich-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-sandwich-player{grid-template-columns:27px 86px minmax(0,1fr);min-height:101px}
  .fmb-app[data-fmb-mode="display"] .fmb-competition-watch .fmb-mini-sandwich{width:84px!important;height:84px!important}
}

/* Shared display automatically changes density so every active player remains visible. */
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded{grid-template-columns:1fr}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-sandwich-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-sandwich-player{grid-template-columns:22px 67px minmax(0,1fr);min-height:78px;padding:5px 6px;gap:4px 5px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-mini-sandwich{width:65px!important;height:65px!important}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-competitor-place{width:21px;height:21px;font-size:8px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-competitor-copy>span{font-size:11px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-competitor-copy small{font-size:7px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-live-status{font-size:7px;min-height:17px;padding:2px 4px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-piece-count{font-size:7px;padding:2px 4px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-strike-badge.small{font-size:7px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-strike-badge.small img{width:24px;height:24px}
.fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-packed .fmb-competition-watch .fmb-sandwich-grid{grid-template-columns:repeat(6,minmax(0,1fr))}

/* Host phone gets the same swipeable live-competition treatment as participant phones. */
@media(max-width:700px){
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch{margin-top:9px;padding:8px 7px 9px;overflow:hidden}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-heading{margin-bottom:6px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-heading h3{font-size:11px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-heading>span{font-size:7px;padding:3px 5px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-sandwich-grid{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 6px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-sandwich-player{flex:0 0 195px;scroll-snap-align:start;grid-template-columns:22px 70px minmax(0,1fr);min-height:82px;padding:5px 6px;gap:4px 6px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-competitor-place{width:21px;height:21px;font-size:8px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-mini-sandwich{width:68px!important;height:68px!important}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-competitor-copy>span{font-size:11px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-competitor-copy small{font-size:7px}
  .fmb-app[data-fmb-mode="host"] .fmb-live-status{font-size:7px;min-height:17px;padding:2px 4px;margin-top:2px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-piece-count{font-size:7px;padding:2px 4px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-strike-badge.small{font-size:7px}
  .fmb-app[data-fmb-mode="host"] .fmb-competition-watch .fmb-strike-badge.small img{width:24px;height:24px}
}

@media(max-width:1100px){
  .fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-crowded .fmb-competition-watch .fmb-sandwich-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .fmb-app[data-fmb-mode="display"] .fmb-display-game-layout.is-packed .fmb-competition-watch .fmb-sandwich-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* v0.1.17 How To Play + configurable Adventure rewards */
body.fmb-modal-open{overflow:hidden}
.fmb-how-button{width:100%;margin-top:10px}
.fmb-how-modal[hidden]{display:none!important}
.fmb-how-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px}
.fmb-how-backdrop{position:absolute;inset:0;background:rgba(4,18,31,.82);backdrop-filter:blur(5px)}
.fmb-how-card{position:relative;z-index:1;width:min(920px,96vw);max-height:min(88vh,920px);overflow:auto;padding:26px;border:5px solid #f0c558;border-radius:20px;background:linear-gradient(180deg,#123e60,#0b2941);box-shadow:0 24px 70px rgba(0,0,0,.52),inset 0 0 0 2px rgba(255,255,255,.10);color:#f9f3df}
.fmb-how-card h2{margin:4px 42px 18px 0;color:#ffe177;font-size:clamp(28px,5vw,48px);line-height:1;letter-spacing:.04em}
.fmb-how-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:3px solid #7c4a16;background:#ffd45b;color:#17384e;font-family:inherit;font-size:28px;font-weight:1000;line-height:1;cursor:pointer}
.fmb-how-close:hover,.fmb-how-close:focus,.fmb-how-close:active{background:#ffe27e!important;color:#102f46!important;border-color:#6a3d0d!important;outline:none}
.fmb-how-close:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #2e91d0}
.fmb-how-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fmb-how-grid>div{padding:14px;border:2px solid rgba(255,220,122,.28);border-radius:14px;background:rgba(255,255,255,.075)}
.fmb-how-grid b{display:block;margin-bottom:5px;color:#ffe17a;font-size:16px}
.fmb-how-grid p,.fmb-how-rewards p{margin:0;color:#eef6fb;font-size:14px;line-height:1.45}
.fmb-how-rewards{margin-top:14px;padding:15px;border-radius:14px;background:rgba(247,200,72,.13);border:2px solid rgba(247,200,72,.42)}
.fmb-how-rewards>b{display:block;margin-bottom:5px;color:#ffe171;font-size:15px;letter-spacing:.07em}
.fmb-how-done{width:100%;margin-top:16px}
.fmb-lobby-help-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:14px}

.fmb-reward-schedule{margin:12px 0;padding:12px 14px;border:3px solid #ad7b1e;border-radius:14px;background:linear-gradient(180deg,rgba(255,221,100,.17),rgba(255,255,255,.06));box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.fmb-reward-schedule>strong{display:block;margin-bottom:8px;color:#ffe17a;font-size:13px;letter-spacing:.10em;text-align:center}
.fmb-reward-schedule>div{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}
.fmb-reward-schedule>div span{display:inline-flex;gap:5px;align-items:center;padding:5px 8px;border-radius:999px;background:rgba(7,34,53,.68);border:1px solid rgba(255,222,124,.35);color:#fff;font-size:10px;font-weight:900}
.fmb-reward-schedule>div b{color:#ffe17a}
.fmb-reward-schedule small{display:block;margin-top:8px;color:#dceafa;text-align:center;font-size:9px;font-weight:800}

.fmb-reward-result{margin:14px auto;padding:16px;max-width:680px;border:4px solid #b07b1c;border-radius:16px;text-align:center;background:linear-gradient(180deg,#fff1a9,#efc951);color:#17394f;box-shadow:0 7px 0 #774a14,0 12px 24px rgba(0,0,0,.22)}
.fmb-reward-result>b{display:block;font-size:18px;letter-spacing:.07em}
.fmb-reward-result>div{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:8px 0}
.fmb-reward-result>div strong{padding:7px 10px;border-radius:10px;background:#173e5b;color:#fff;font-size:13px}
.fmb-reward-result>span{display:block;font-size:11px;font-weight:900}
.fmb-reward-result.neutral{border-color:#647d8e;background:#e8f0f4;color:#23465b;box-shadow:0 6px 0 #455b69,0 10px 20px rgba(0,0,0,.18)}
.fmb-reward-result.pending{filter:saturate(.8)}
.fmb-rank.is-podium{border-color:#e0b846;background:rgba(255,220,99,.13)}

@media(max-width:700px){
  .fmb-how-modal{padding:8px}
  .fmb-how-card{width:100%;max-height:94vh;padding:18px 13px 16px;border-width:4px;border-radius:16px}
  .fmb-how-card h2{font-size:31px;margin-bottom:12px}
  .fmb-how-grid{grid-template-columns:1fr;gap:8px}
  .fmb-how-grid>div{padding:10px 11px}
  .fmb-how-grid b{font-size:14px}
  .fmb-how-grid p,.fmb-how-rewards p{font-size:12px;line-height:1.38}
  .fmb-how-rewards{padding:11px}
  .fmb-lobby-help-actions{display:grid;grid-template-columns:1fr;width:100%}
  .fmb-lobby-help-actions>*{width:100%}
  .fmb-reward-schedule{padding:9px 8px}
  .fmb-reward-schedule>div{display:grid;grid-template-columns:1fr 1fr;gap:5px}
  .fmb-reward-schedule>div span{justify-content:center;font-size:8px;padding:5px 4px}
  .fmb-reward-result{padding:12px 9px;margin:10px 0}
  .fmb-reward-result>b{font-size:15px}
  .fmb-reward-result>div strong{font-size:11px}
}
.fmb-adventure-link-status{margin:-3px 0 12px;padding:7px 10px;border-radius:10px;text-align:center;font-size:9px;font-weight:1000;letter-spacing:.06em}
.fmb-adventure-link-status.connected{background:#d9f4d7;border:2px solid #76b775;color:#245a2c}
.fmb-adventure-link-status.guest{background:#f0e8d8;border:2px solid #a89a7b;color:#5b503b}


/* v0.1.18 single-tap mobile Lock In reliability */
.fmb-app .fmb-lock-button.is-submitting{
  opacity:.82!important;
  transform:none!important;
  filter:none!important;
  cursor:wait!important;
}
@media (hover:none), (pointer:coarse){
  .fmb-app .fmb-lock-button:not(:disabled):hover{
    transform:none!important;
    filter:none!important;
  }
  .fmb-app .fmb-lock-button{
    -webkit-user-select:none;
    user-select:none;
  }
}

/* v0.1.19 Baloney Slice cross-promotion + Premium Membership messaging */
.fmb-pack-host-note,.fmb-premium-teaser{padding:9px 11px;border-radius:10px;font-size:11px;line-height:1.35;font-weight:800;text-align:left}
.fmb-pack-host-note{background:#e9f4fb;border:2px solid #79a9c5;color:#214c66}
.fmb-premium-teaser{background:#fff2bd;border:2px solid #d5a63a;color:#604515}
.fmb-pack-promo{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 4px;padding:13px 15px;border:3px solid #a66e23;border-radius:15px;background:linear-gradient(180deg,#fff3c2,#f2d680);box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),0 5px 0 #754615,0 9px 18px rgba(0,0,0,.15);text-align:left;color:#17374e}
.fmb-pack-promo-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.fmb-pack-promo-copy>small{color:#89511c;font-size:9px;font-weight:1000;letter-spacing:.14em}
.fmb-pack-promo-copy>strong{color:#0a3e61;font-size:clamp(15px,2vw,20px);line-height:1.05;font-weight:1000}
.fmb-pack-subtitle{display:block;max-width:760px;color:#4b5c67;font-size:10px;line-height:1.25;font-weight:800}
.fmb-pack-promo-copy p{margin:4px 0 0;color:#314b5a;font-size:11px;line-height:1.3;font-weight:800}
.fmb-pack-badges{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:2px}
.fmb-pack-badge,.fmb-pack-count{display:inline-flex;align-items:center;min-height:21px;padding:3px 7px;border-radius:999px;font-size:8px;line-height:1;font-weight:1000;letter-spacing:.045em;white-space:nowrap}
.fmb-pack-count{background:#173f5c;color:#fff}
.fmb-pack-badge.included{background:#dcefdc;color:#215c2f;border:1px solid #70aa79}
.fmb-pack-badge.owned{background:#d7eef8;color:#174f70;border:1px solid #74a9c2}
.fmb-pack-badge.premium{background:#6b3e86;color:#fff1a5;border:1px solid #caa7df}
.fmb-pack-badge.premium-owned{background:#276c47;color:#fff;border:1px solid #8ed0a8}
.fmb-pack-badge.coins{background:#f8dd67;color:#5f430b;border:1px solid #ba8e20}
.fmb-pack-promo-actions{display:flex;gap:7px;flex:0 0 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.fmb-pack-cta{min-height:38px;padding:8px 11px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none!important;font-family:inherit;font-size:9px;line-height:1.1;font-weight:1000;letter-spacing:.025em;box-shadow:0 3px 0 rgba(0,0,0,.28);transition:transform .12s ease,filter .12s ease}
.fmb-pack-cta.primary{background:linear-gradient(180deg,#1b638f,#0d4267);border:2px solid #082b44;color:#fff5d2!important}
.fmb-pack-cta.membership{background:linear-gradient(180deg,#7b4a99,#59306f);border:2px solid #3f2052;color:#fff5a6!important}
.fmb-pack-promo.is-final{margin:20px auto 14px;padding:18px 19px;border-width:4px;max-width:900px;background:linear-gradient(180deg,#fff1a4,#efc950)}
.fmb-pack-promo.is-final .fmb-pack-promo-copy>small{font-size:11px;color:#8d4a17}
.fmb-pack-promo.is-final .fmb-pack-promo-copy>strong{font-size:clamp(23px,4vw,36px)}
.fmb-pack-promo.is-final .fmb-pack-promo-copy p{font-size:13px}
.fmb-pack-promo.is-final .fmb-pack-cta{min-height:46px;padding:10px 14px;font-size:11px}

/* Keep new sales links readable under theme-wide hover/focus overrides. */
.fmb-app a.fmb-pack-cta.primary,
.fmb-app a.fmb-pack-cta.primary:link,
.fmb-app a.fmb-pack-cta.primary:visited,
.fmb-app a.fmb-pack-cta.primary:hover,
.fmb-app a.fmb-pack-cta.primary:focus,
.fmb-app a.fmb-pack-cta.primary:active{color:#fff5d2!important;background:linear-gradient(180deg,#1b638f,#0d4267)!important;text-decoration:none!important}
.fmb-app a.fmb-pack-cta.membership,
.fmb-app a.fmb-pack-cta.membership:link,
.fmb-app a.fmb-pack-cta.membership:visited,
.fmb-app a.fmb-pack-cta.membership:hover,
.fmb-app a.fmb-pack-cta.membership:focus,
.fmb-app a.fmb-pack-cta.membership:active{color:#fff5a6!important;background:linear-gradient(180deg,#7b4a99,#59306f)!important;text-decoration:none!important}
.fmb-app a.fmb-pack-cta:hover{filter:brightness(1.08);transform:translateY(-1px)}
.fmb-app a.fmb-pack-cta:focus-visible{outline:3px solid #fff!important;outline-offset:2px;box-shadow:0 0 0 6px #1d78b3,0 3px 0 rgba(0,0,0,.28)}

.fmb-app[data-fmb-mode="display"] .fmb-pack-promo{margin-top:12px}
.fmb-app[data-fmb-mode="display"] .fmb-pack-promo-copy>strong{font-size:clamp(17px,2.1vw,24px)}
.fmb-app[data-fmb-mode="display"] .fmb-pack-promo-copy p{font-size:12px}

@media(max-width:700px){
  .fmb-pack-host-note,.fmb-premium-teaser{font-size:9px;padding:7px 8px}
  .fmb-pack-promo{display:grid;grid-template-columns:1fr;gap:8px;margin:11px 0 2px;padding:10px 9px;border-width:2px;border-radius:12px;box-shadow:0 3px 0 #754615,0 7px 14px rgba(0,0,0,.13)}
  .fmb-pack-promo-copy>small{font-size:7px}
  .fmb-pack-promo-copy>strong{font-size:15px}
  .fmb-pack-subtitle{font-size:8px;line-height:1.2}
  .fmb-pack-promo-copy p{font-size:9px;line-height:1.25}
  .fmb-pack-badge,.fmb-pack-count{font-size:7px;min-height:18px;padding:2px 5px}
  .fmb-pack-promo-actions{display:grid;grid-template-columns:1fr;width:100%;gap:5px}
  .fmb-pack-cta{width:100%;min-height:37px;font-size:8px;padding:7px 8px}
  .fmb-pack-promo.is-final{padding:14px 11px;margin-top:15px}
  .fmb-pack-promo.is-final .fmb-pack-promo-copy>strong{font-size:22px}
  .fmb-pack-promo.is-final .fmb-pack-promo-copy p{font-size:10px}
  .fmb-pack-promo.is-final .fmb-pack-cta{min-height:42px;font-size:9px}
}
.fmb-app .fmb-pack-host-note a,
.fmb-app .fmb-pack-host-note a:link,
.fmb-app .fmb-pack-host-note a:visited,
.fmb-app .fmb-pack-host-note a:hover,
.fmb-app .fmb-pack-host-note a:focus,
.fmb-app .fmb-pack-host-note a:active{color:#0b537d!important;font-weight:1000;text-decoration:underline!important}
.fmb-app .fmb-pack-host-note a:hover{color:#7a4215!important;background:#fff1b4!important;border-radius:4px}
.fmb-app .fmb-pack-host-note a:focus-visible{outline:3px solid #d49a2a!important;outline-offset:2px;border-radius:4px}

/* v0.1.20 Multiplayer Welcome Lobby */
.fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-shell{width:min(1220px,calc(100% - 24px));padding-top:10px}
.fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-deck{grid-template-columns:112px minmax(240px,390px) 112px;gap:18px;margin-bottom:-16px}
.fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-side{width:104px;height:104px;border-width:3px;padding:7px}
.fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-logo{width:min(330px,100%);max-height:220px}
.fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-ribbon{font-size:10px;padding:5px 15px 4px;margin-top:-8px}
.fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-footer{display:flex}
.fmb-app[data-fmb-mode="player"] .fmb-panel.fmb-welcome-player-panel{width:min(1180px,100%);padding:25px 26px 30px}
.fmb-welcome-home{width:100%;display:grid;gap:22px;text-align:left}
.fmb-welcome-heading{position:relative;width:min(950px,100%);margin:0 auto;text-align:center;padding:17px 24px 18px;border:3px solid #a66c28;border-radius:18px;background:linear-gradient(180deg,rgba(255,251,236,.97),rgba(244,232,198,.97));box-shadow:inset 0 0 0 2px rgba(255,255,255,.72),0 6px 0 rgba(100,60,18,.26),0 12px 24px rgba(0,0,0,.18)}
.fmb-welcome-heading:before{content:"";position:absolute;inset:7px;border:1px solid rgba(149,95,37,.22);border-radius:12px;pointer-events:none}
.fmb-welcome-heading>*{position:relative;z-index:1}
.fmb-welcome-heading h1{margin:5px auto 8px;max-width:940px;color:var(--fmb-navy);font-size:clamp(34px,5vw,57px);line-height:.96;font-weight:1000;letter-spacing:-.035em;text-shadow:0 2px 0 rgba(255,255,255,.72)}
.fmb-welcome-heading>p{max-width:850px;margin:7px auto 0;color:#455766;font-size:16px;line-height:1.42;font-weight:800}
.fmb-home-profile-bar{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:-4px auto 0;padding:8px 11px;border:2px solid #b67b2c;border-radius:999px;background:linear-gradient(180deg,#103f62,#082c49);color:#fff0c0;font-size:10px;font-weight:1000;letter-spacing:.03em}
.fmb-home-profile-bar span{padding:2px 7px;border-right:1px solid rgba(255,255,255,.18)}
.fmb-home-profile-bar span:last-child{border-right:0}
.fmb-home-profile-bar .is-premium{color:#ffe16e}
.fmb-welcome-hero-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:18px;align-items:stretch}
.fmb-home-join-card,.fmb-home-featured,.fmb-home-card,.fmb-home-section{position:relative;border:3px solid #a66c28;border-radius:18px;background:linear-gradient(180deg,rgba(255,251,236,.98),rgba(244,232,198,.98));box-shadow:inset 0 0 0 2px rgba(255,255,255,.72),0 7px 0 rgba(100,60,18,.28),0 14px 25px rgba(0,0,0,.13);overflow:hidden}
.fmb-home-join-card,.fmb-home-featured,.fmb-home-card{padding:18px}
.fmb-home-join-card:before,.fmb-home-featured:before,.fmb-home-card:before,.fmb-home-section:before{content:"";position:absolute;inset:7px;border:1px solid rgba(149,95,37,.22);border-radius:12px;pointer-events:none}
.fmb-home-join-card>* ,.fmb-home-featured>* ,.fmb-home-card>* ,.fmb-home-section>*{position:relative;z-index:1}
.fmb-home-eyebrow{display:block;margin-bottom:5px;color:#93501f;font-size:10px;line-height:1.1;font-weight:1000;letter-spacing:.14em;text-transform:uppercase}
.fmb-home-join-card h2,.fmb-home-featured h2,.fmb-home-card h2,.fmb-home-section h2{margin:3px 0 8px;color:#0b3c5f;font-size:clamp(23px,3.2vw,34px);line-height:1;font-weight:1000;letter-spacing:-.025em}
.fmb-home-join-card .fmb-form{gap:10px}
.fmb-home-join-card .fmb-form input{min-height:44px}
.fmb-home-join-card .fmb-divider{margin:12px 0}
.fmb-home-join-card>.fmb-secondary,.fmb-home-join-card>.fmb-ghost{width:100%;margin-top:8px}
.fmb-home-featured{display:flex;flex-direction:column;background:linear-gradient(145deg,#0d3c5f,#082943 55%,#113f5c);border-color:#c3862f;box-shadow:inset 0 0 0 2px rgba(255,212,103,.28),0 7px 0 rgba(75,45,16,.4),0 18px 30px rgba(0,0,0,.22);color:#fff}
.fmb-home-featured>.fmb-home-eyebrow{color:#ffd76d}
.fmb-home-pack-card{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);gap:13px;min-width:0;padding:13px;border:2px solid #b47a31;border-radius:14px;background:linear-gradient(180deg,#fff7d9,#f0ddb2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),0 4px 0 rgba(97,57,17,.17);color:#17374e}
.fmb-home-featured .fmb-home-pack-card{flex:1;border-color:#e0ad48;background:linear-gradient(180deg,#fff1a7,#efc85d);box-shadow:inset 0 0 0 2px rgba(255,255,255,.45),0 5px 0 #765017,0 9px 18px rgba(0,0,0,.18)}
.fmb-home-pack-card.is-featured{grid-template-columns:126px minmax(0,1fr);align-items:center;padding:17px}
.fmb-home-pack-art{width:88px;height:88px;align-self:center;justify-self:center;position:relative;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff7c3,#f2b438 62%,#b86622 63%,#7c3b18 100%);border:4px solid #0a3c5d;box-shadow:0 0 0 3px #d58e28,0 8px 14px rgba(0,0,0,.2)}
.fmb-home-pack-card.is-featured .fmb-home-pack-art{width:118px;height:118px}
.fmb-home-slice-disc{display:block;width:70%;height:70%;border-radius:50%;background:radial-gradient(circle at 35% 28%,#ffb6bb,#ef7f8c 68%,#bb4554 70%);border:3px solid #9e3340;box-shadow:inset 0 0 0 3px rgba(255,255,255,.35)}
.fmb-home-slice-disc:before{content:"";position:absolute;inset:27%;border-radius:50%;background:radial-gradient(circle,#f7c2c2 0 8%,transparent 9%),radial-gradient(circle at 72% 34%,#f7c2c2 0 7%,transparent 8%),radial-gradient(circle at 36% 73%,#f7c2c2 0 6%,transparent 7%)}
.fmb-home-slice-spark{position:absolute;right:-5px;top:-8px;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#ffd846;border:2px solid #9d5d17;color:#fff;font-size:17px;text-shadow:0 2px 0 #9f5f16;transform:rotate(10deg)}
.fmb-home-pack-body{min-width:0}
.fmb-home-pack-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:5px}
.fmb-home-pack-badge,.fmb-home-question-count{display:inline-flex;align-items:center;min-height:23px;padding:4px 7px;border-radius:999px;font-size:8px;line-height:1;font-weight:1000;letter-spacing:.06em}
.fmb-home-pack-badge{color:#fff;background:#0e4c75}
.fmb-home-pack-badge.premium,.fmb-home-pack-badge.premium-owned{color:#4a3100;background:#ffe16b;border:1px solid #b9791f}
.fmb-home-pack-badge.owned{background:#247e4e}
.fmb-home-pack-badge.coins{background:#91541f}
.fmb-home-pack-badge.included{background:#2a6f88}
.fmb-home-question-count{background:#fff3cf;border:1px solid #c59d51;color:#764d1e}
.fmb-home-pack-card h3{margin:2px 0 6px;color:#0a3c5d;font-size:clamp(17px,2.2vw,24px);line-height:1;font-weight:1000}
.fmb-home-pack-card p{margin:0;color:#465966;font-size:11px;line-height:1.3;font-weight:800}
.fmb-home-pack-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.fmb-home-pack-cta{min-height:38px!important;padding:7px 10px!important;font-size:9px!important}
.fmb-home-section{padding:19px}
.fmb-home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:13px}
.fmb-home-section-head>div{min-width:0}
.fmb-home-section-head h2{margin-bottom:5px}
.fmb-home-section-head p{max-width:720px;margin:0;color:#51616d;font-size:12px;line-height:1.35;font-weight:800}
.fmb-home-section-head>a,.fmb-home-section-head>button{flex:0 0 auto}
.fmb-home-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fmb-home-two-column{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}
.fmb-home-leaderboard{padding:17px 18px}
.fmb-home-leaderboard .fmb-home-section-head{margin-bottom:8px}
.fmb-home-board-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:8px 0 8px;padding:4px;border:2px solid #a87532;border-radius:11px;background:#e4d3aa}
.fmb-home-board-tab{appearance:none;border:0;border-radius:7px;padding:8px 5px;background:transparent;color:#64491f;font:inherit;font-size:9px;font-weight:1000;letter-spacing:.05em;cursor:pointer}
.fmb-home-board-tab.is-active{background:#0e4266;color:#fff2c8;box-shadow:0 2px 0 #072b45}
.fmb-home-board-tab:hover,.fmb-home-board-tab:focus{color:#17384f;background:#fff0bd}
.fmb-home-board-tab.is-active:hover,.fmb-home-board-tab.is-active:focus{color:#fff2c8;background:#15547e}
.fmb-home-board-list ol{list-style:none;margin:0;padding:0}
.fmb-home-board-list li{display:grid;grid-template-columns:29px minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px 3px;border-top:1px solid rgba(111,83,42,.2)}
.fmb-home-board-list li:first-child{border-top:0}
.fmb-home-board-list li.is-empty{display:block;padding:16px 7px;text-align:center;color:#65727b;font-size:11px;font-weight:800}
.fmb-home-board-rank{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f0b53d;border:2px solid #9b6120;color:#17374e;font-size:10px;font-weight:1000}
.fmb-home-board-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173c56;font-size:11px;font-weight:1000}
.fmb-home-board-list strong{color:#1c6f45;font-size:12px}
.fmb-home-privacy-note{margin:7px 0 0;color:#74786f;font-size:8px;line-height:1.25;font-weight:800}
.fmb-home-promotion{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center;padding:17px;background:linear-gradient(145deg,#0c3d61,#0b2c48);border-color:#d29a3c;color:#fff}
.fmb-home-promo-art{position:relative;width:140px;height:118px;display:grid;place-items:center;margin:auto}.fmb-home-promo-art span{display:block;width:96px;height:96px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#ffb9bd,#ef8190 68%,#b63e4d 70%);border:5px solid #7f2837;box-shadow:0 0 0 6px #ffd446,0 0 0 10px #b65c19,0 9px 18px rgba(0,0,0,.3)}.fmb-home-promo-art span:before,.fmb-home-promo-art span:after{content:"";position:absolute;background:#ffd33e;border:2px solid #a35e15;transform:rotate(25deg)}.fmb-home-promo-art span:before{width:28px;height:7px;left:2px;top:24px}.fmb-home-promo-art span:after{width:32px;height:8px;right:0;bottom:21px}.fmb-home-promo-art b{position:absolute;right:5px;top:0;color:#ffe453;font-size:35px;text-shadow:0 3px 0 #8f4f14}
.fmb-home-promotion .fmb-home-eyebrow{color:#ffd76d}
.fmb-home-promotion h2{color:#fff2bf;text-shadow:0 2px 0 rgba(0,0,0,.3)}
.fmb-home-promotion p{margin:5px 0 10px;color:#d8e9f3;font-size:11px;line-height:1.35;font-weight:800}
.fmb-home-reward-pills{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 10px}
.fmb-home-reward-pills span{padding:5px 7px;border-radius:999px;background:#fff1a6;color:#6f4415;font-size:8px;font-weight:1000}
.fmb-home-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.fmb-home-how-grid article{min-width:0;padding:11px;border:2px solid #bd8b48;border-radius:13px;background:#fff7da;text-align:center}
.fmb-home-how-grid img{display:block;width:100%;height:115px;margin:0 auto 8px;object-fit:contain;filter:drop-shadow(0 5px 5px rgba(0,0,0,.2))}
.fmb-home-how-grid b{display:block;color:#0d4265;font-size:11px;line-height:1.15}
.fmb-home-how-grid p{margin:5px 0 0;color:#58656e;font-size:9px;line-height:1.3;font-weight:800}
.fmb-home-bottom-cards .fmb-home-card{min-height:180px}
.fmb-home-premium,.fmb-home-locker{display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px;align-items:center}
.fmb-home-premium{background:linear-gradient(145deg,#fff2a8,#ebc14c)}
.fmb-home-premium-star,.fmb-home-locker-icon{width:68px;height:68px;display:grid;place-items:center;border-radius:50%;border:4px solid #0d4163;background:#0d4163;color:#ffd84e;font-size:39px;box-shadow:0 0 0 3px #c4872c,0 7px 13px rgba(0,0,0,.18)}
.fmb-home-locker-icon{background:#f4c64d;padding:6px}.fmb-home-locker-icon img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(0,0,0,.22))}
.fmb-home-premium p,.fmb-home-locker p{margin:4px 0 10px;color:#4e5b64;font-size:11px;line-height:1.35;font-weight:800}
.fmb-home-premium .fmb-primary,.fmb-home-locker .fmb-secondary{min-height:40px;padding:8px 11px;font-size:10px}

@media(max-width:900px){
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-deck{grid-template-columns:82px minmax(220px,310px) 82px;gap:10px}
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-side{width:76px;height:76px}
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-logo{max-height:185px}
  .fmb-welcome-hero-grid,.fmb-home-two-column{grid-template-columns:1fr}
  .fmb-home-join-card{order:1}
  .fmb-home-featured{order:2}
  .fmb-home-pack-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-shell{width:min(100% - 10px,1220px);padding-top:5px}
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-deck{grid-template-columns:58px minmax(130px,205px) 58px;gap:7px;margin-bottom:-9px}
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-side{width:54px;height:54px;border-width:2px;padding:4px}
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-logo{width:min(190px,100%);max-height:132px}
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-ribbon{font-size:6px;padding:4px 7px;margin-top:-4px}
  .fmb-app.fmb-welcome-mode[data-fmb-mode="player"] .fmb-brand-footer{display:none}
  .fmb-app[data-fmb-mode="player"] .fmb-panel.fmb-welcome-player-panel{padding:14px 10px 18px;border-width:4px;border-radius:18px}
  .fmb-welcome-home{gap:14px}
  .fmb-welcome-heading{padding:13px 12px 14px;border-width:2px;border-radius:14px}
  .fmb-welcome-heading:before{inset:5px;border-radius:9px}
  .fmb-welcome-heading h1{font-size:clamp(27px,9vw,39px)}
  .fmb-welcome-heading>p{font-size:12px;line-height:1.33}
  .fmb-home-profile-bar{border-radius:13px;font-size:8px;gap:3px;padding:6px}
  .fmb-home-profile-bar span{border-right:0;padding:2px 4px}
  .fmb-home-join-card,.fmb-home-featured,.fmb-home-card,.fmb-home-section{padding:12px;border-width:2px;border-radius:14px;box-shadow:0 4px 0 rgba(100,60,18,.22),0 9px 18px rgba(0,0,0,.12)}
  .fmb-home-pack-card,.fmb-home-pack-card.is-featured{grid-template-columns:72px minmax(0,1fr);gap:9px;padding:9px}
  .fmb-home-pack-art,.fmb-home-pack-card.is-featured .fmb-home-pack-art{width:66px;height:66px;border-width:3px;box-shadow:0 0 0 2px #d58e28,0 5px 9px rgba(0,0,0,.17)}
  .fmb-home-slice-spark{width:24px;height:24px;font-size:13px}
  .fmb-home-pack-card h3{font-size:16px}
  .fmb-home-pack-card p{font-size:9px}
  .fmb-home-pack-badge,.fmb-home-question-count{font-size:6px;min-height:19px;padding:3px 5px}
  .fmb-home-pack-actions{display:grid;grid-template-columns:1fr;gap:5px}
  .fmb-home-pack-cta{width:100%;font-size:8px!important}
  .fmb-home-section-head{display:grid;grid-template-columns:1fr;align-items:start;gap:8px}
  .fmb-home-section-head>a,.fmb-home-section-head>button{width:100%}
  .fmb-home-pack-grid{grid-template-columns:1fr}
  .fmb-home-promotion{grid-template-columns:88px minmax(0,1fr);gap:8px}
  .fmb-home-promo-art{width:84px;height:92px}.fmb-home-promo-art span{width:62px;height:62px;border-width:3px;box-shadow:0 0 0 4px #ffd446,0 0 0 7px #b65c19,0 6px 10px rgba(0,0,0,.25)}.fmb-home-promo-art b{font-size:24px}
  .fmb-home-promotion h2{font-size:20px}
  .fmb-home-how-grid{grid-template-columns:1fr}
  .fmb-home-how-grid article{display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-areas:"img title" "img copy";gap:3px 9px;text-align:left;align-items:center}
  .fmb-home-how-grid img{grid-area:img;width:84px;height:78px;margin:0}
  .fmb-home-how-grid b{grid-area:title;align-self:end}
  .fmb-home-how-grid p{grid-area:copy;align-self:start}
  .fmb-home-premium,.fmb-home-locker{grid-template-columns:58px minmax(0,1fr)}
  .fmb-home-premium-star,.fmb-home-locker-icon{width:54px;height:54px;font-size:29px;border-width:3px}
}
.fmb-home-board-tab:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #0b3e62}
.fmb-home-board-tab:active{transform:translateY(1px);filter:brightness(.96)}
