#chatGames{flex:0 0 auto;min-width:82px;padding:10px 13px!important;font-size:14px!important}#chatGames[hidden],#lucyProgress[hidden],#gamesDrawer[hidden],#profilePlay[hidden]{display:none!important}.lucy-progress{padding:5px 18px 7px;background:#f6f8fc;display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px;color:#58677d}.lucy-progress>span:first-child{font-weight:700;color:#165ed0}.lucy-progress progress{width:100%;height:4px;accent-color:#1b68ff}.games-drawer{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#f6f8fc;padding:16px 18px max(18px,env(safe-area-inset-bottom));color:#18233b}.games-top{display:flex;align-items:center;gap:8px;justify-content:space-between}.games-top h2{font-size:20px;margin:0}.games-top button{border:0;background:#e8effb;color:#165ed0;border-radius:30px;min-height:44px;padding:8px 13px;cursor:pointer}.games-drawer button{font-family:inherit;cursor:pointer;touch-action:manipulation;min-height:44px}.games-drawer button:disabled{opacity:.55;cursor:default}.games-drawer button:focus-visible{outline:3px solid #144fd3;outline-offset:3px}.games-drawer .primary,.games-drawer .secondary{padding:12px 18px;border-radius:28px;font-weight:700;width:100%;margin:6px 0}.games-drawer .primary{background:#1b68ff;color:white;border:1px solid #1b68ff}.games-drawer .secondary{background:white;color:#165ed0;border:1px solid #ccdafa}.game-body{max-width:540px;margin:16px auto;background:white;border:1px solid #dbe5f6;border-radius:22px;padding:20px}.game-body h3{font-size:23px;line-height:1.25;margin:12px 0}.game-body p{line-height:1.5}.game-lucy-line{font-weight:600;color:#375779}.games-stats{display:flex;justify-content:space-between;gap:12px;font-size:12px}.games-stats strong{display:block;font-size:22px;color:#18233b}.game-xp{width:100%;height:9px;accent-color:#1b68ff;margin:12px 0 0}.game-small{font-size:12px;color:#65748b;line-height:1.5}.game-menu{display:grid;gap:8px;margin:18px 0}.game-option{position:relative;display:block;text-align:left;padding:15px 30px 15px 14px;border:1px solid #d6e3f9;background:#f8faff;border-radius:15px;color:#18233b}.game-option strong,.game-option small{display:block}.game-option small{margin-top:5px;font-size:12px;color:#65748b}.game-option>span{position:absolute;right:14px;top:21px;font-size:23px;color:#1b68ff}.game-challenge{width:100%;text-align:left;border:1px solid #bacef0;border-radius:16px;background:#edf4ff;padding:14px;color:#18233b}.game-challenge span,.game-challenge small{display:block;margin-top:6px}.game-reward{border:1px solid #dce6f7;background:#f8faff;border-radius:15px;padding:14px;margin:16px 0}.game-reward p{font-size:12px;margin:8px 0}.landing-track{position:relative;height:72px;background:#edf2fb;border:1px solid #d3e1f6;border-radius:16px;margin:28px 0 15px;overflow:hidden;touch-action:none}.landing-zone{position:absolute;top:0;bottom:0;background:#a8c7ff;border-left:2px solid #1b68ff;border-right:2px solid #1b68ff}.landing-zone::after{content:'';position:absolute;top:0;bottom:0;left:50%;border-left:2px dashed #165ed0}.landing-marker{position:absolute;top:8px;bottom:8px;left:0;width:8px;border-radius:5px;background:#18233b;will-change:transform}.landing-tap{font-size:22px;min-height:64px!important;touch-action:none!important}.game-label{color:#165ed0;font-weight:800;font-size:13px;letter-spacing:.04em}.game-choices{display:grid;gap:5px}.game-choices .secondary{text-align:left}.game-choices .game-correct{background:#e5f7ed;border-color:#54a774;color:#155d37;opacity:1}.game-feedback{padding:12px;border-radius:12px;background:#eef5ff;font-size:14px}.game-score{font-size:62px;font-weight:800;color:#1b68ff;line-height:1.15}.game-score small{font-size:22px;color:#65748b}.game-new-best{font-weight:800;color:#165ed0}.game-earned{padding:12px;border-radius:12px;background:#eef4ff;font-weight:700;color:#165ed0}#gameReaction{border-left:3px solid #9fc2f5;margin:20px 0;padding:8px 14px;font-size:17px;line-height:1.5}.game-keepsake{display:block;width:100%;height:auto;border-radius:15px}.game-card-play{position:relative;z-index:3;min-height:38px;padding:7px 14px;margin-top:8px;border-radius:22px;border:1px solid #bed2f7;background:white;color:#165ed0;font-weight:700}.games-open .chat-thread>#messages,.games-open .chat-thread>#chatForm,.games-open .chat-thread>#chatActions,.games-open .chat-thread>#messageLimit,.games-open .chat-thread>#chatUnlock,.games-open .chat-thread>#typing,.games-open .chat-thread>#chatEngineNotice,.games-open .chat-thread>#chatError,.games-open .chat-thread>#tipThanksStatus{display:none!important}#gamesDrawer{grid-row:auto}.games-open .chat-thread{display:flex!important;flex-direction:column}.games-open .chat-head,.games-open .lucy-progress{flex-shrink:0}.games-open .games-drawer{display:block}.inbox-view #gamesDrawer,.inbox-view #lucyProgress{display:none!important}@media(max-width:700px){.games-drawer{padding:12px 12px max(14px,env(safe-area-inset-bottom))}.game-body{padding:17px;margin-top:12px}.games-top h2{font-size:18px}#chatPanel .chat-actions #chatGames{font-size:12px!important;min-width:70px;padding:9px!important}.lucy-progress{font-size:10px;padding:4px 14px 6px}.game-body h3{font-size:21px}}@media(prefers-reduced-motion:reduce){.games-drawer *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.arcade-canvas{display:block;width:100%;height:auto;max-height:280px;border:1px solid #d6e3f9;border-radius:18px;touch-action:none;object-fit:contain;background:#eff5ff}.arcade-instructions{font-size:14px;margin:8px 0 12px}.arcade-scoreline{display:flex;justify-content:space-between;align-items:center;margin:10px 0;color:#165ed0}.arcade-scoreline strong{font-size:24px}.arcade-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.arcade-controls:has(>button:only-child){grid-template-columns:1fr}.arcade-controls button{touch-action:none;user-select:none;-webkit-user-select:none;min-height:58px!important;margin:0!important}.arcade-controls.arcade-four{grid-template-columns:repeat(2,minmax(0,1fr))}.arcade-controls.arcade-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.arcade-controls.arcade-cards button{border-radius:12px!important;font-size:24px;padding:8px!important}.arcade-controls .arcade-lit{background:#1b68ff!important;color:white!important;opacity:1!important}.arcade-controls .arcade-matched{background:#e5f7ed!important;opacity:1!important}.arcade-status{min-height:24px;text-align:center;font-weight:700;color:#165ed0;margin:8px 0;font-size:14px}#gameShareStatus{font-size:13px;color:#65748b}.game-body:focus{outline:none}@media(max-width:400px){.arcade-instructions{font-size:13px}.arcade-controls button{min-height:52px!important;font-size:13px}.arcade-canvas{max-height:230px}}

.game-body[data-arcade="ella"] .arcade-canvas{max-height:135px}

/* Chat header entry and numbered game selection. */
#chatPanel .chat-head #chatGames{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-width:72px;min-height:44px;padding:9px 12px!important;border:1px solid #e0e6ed;border-radius:24px;background:#f3f5f8;color:#536176;font-size:14px!important;font-weight:600;white-space:nowrap;box-shadow:none}
#chatPanel .chat-head #chatGames:hover,#chatPanel .chat-head #chatGames[aria-expanded=true]{background:#e8edf3;color:#34445b;border-color:#d1dae5}
#chatPanel .chat-head .close-chat{flex-shrink:0}
#chatPanel .chat-person>div{min-width:0}
#chatPanel .chat-person strong{overflow-wrap:anywhere}
#chatGames:focus-visible{outline:3px solid #18233b;outline-offset:3px}
.game-body.game-menu-screen{background:transparent;border:0;padding:0;max-width:560px}
.game-menu-intro{text-align:center;padding:10px 8px 0}
.game-menu-intro h3{font-size:27px;margin:8px 0}
.game-menu-intro .game-lucy-line{font-size:15px;line-height:1.5;font-weight:500;margin:0;color:#58677d}
.game-menu-screen .game-menu{gap:14px;margin:20px 0}
.game-menu-screen .game-option{display:flex;align-items:flex-start;gap:14px;padding:20px;border-radius:22px;background:white;border:1px solid #d2e0f7;box-shadow:0 5px 18px #193c7010;transition:box-shadow .15s,border-color .15s}
.game-menu-screen .game-option:hover:not(:disabled){border-color:#1b68ff;box-shadow:0 7px 20px #1b68ff20}
.game-menu-screen .game-option>span{position:static;color:inherit}
.game-menu-screen .game-number{display:flex;align-items:center;justify-content:center;flex:0 0 46px;height:46px;border-radius:15px;background:#1b68ff;color:white!important;font-size:26px;font-weight:800}
.game-menu-screen .game-option-guess .game-number{background:#e8efff;color:#1858c4!important}
.game-menu-screen .game-option-copy{display:block;flex:1;min-width:0}
.game-menu-screen .game-category{display:block;font-size:12px;letter-spacing:.05em;font-weight:750;color:#3264a7;margin:1px 0 7px}
.game-menu-screen .game-option strong{font-size:21px;line-height:1.3;color:#18233b}
.game-menu-screen .game-option small{font-size:15px;line-height:1.5;color:#53647b;margin-top:7px}
.game-menu-screen .game-option-cta{display:inline-flex;font-size:14px;font-weight:750;background:#edf3ff;color:#155ad0;border-radius:20px;padding:8px 16px;margin-top:14px}
.game-menu-screen .game-option-arcade .game-option-cta{background:#1b68ff;color:white}
.game-progress-card{border:1px solid #dbe5f6;border-radius:20px;background:white;padding:18px;margin:18px 0}
.game-progress-card h4{font-size:16px;margin:0 0 16px}
.game-progress-card .games-stats{font-size:14px;color:#65748b;gap:8px}
.game-progress-card .games-stats strong{font-size:25px;margin-top:5px}
.game-progress-card .games-stats strong small{font-size:12px;font-weight:500;color:#65748b}
.game-progress-card .game-small{margin:6px 0 0}
.game-menu-screen .game-challenge{padding:18px;border-radius:20px;font-size:15px;line-height:1.5}
.game-challenge .game-challenge-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.game-challenge-heading b{font-size:13px;background:white;color:#1858c4;padding:4px 9px;border-radius:14px}
.game-menu-screen .game-reward{background:white;padding:18px;border-radius:20px}
.game-menu-screen .game-reward p,.game-menu-screen .game-small{font-size:14px}
@media(max-width:380px){#chatPanel .chat-head{gap:5px;padding-inline:9px}#chatPanel .chat-head #chatGames{min-width:60px;padding:8px!important;gap:4px}#chatPanel .chat-person{gap:7px}#chatPanel .chat-person #chatAvatar{width:34px;height:34px}.game-menu-screen .game-option{padding:16px;gap:10px}.game-menu-screen .game-number{flex-basis:38px;height:38px;font-size:23px}.game-menu-screen .game-option strong{font-size:19px}}
/* A compact, touch-first arena shared by all ten arcade games. */
.games-open:has(.arcade-active) .lucy-progress,.games-open:has(.board-active) .lucy-progress{display:none!important}
.game-body.arcade-active,.game-body.board-active{margin:8px auto;padding:12px;max-width:440px}
.arcade-active .game-label{margin:0 0 5px;text-align:center}.arcade-active .arcade-instructions{font-size:14px;line-height:1.35;margin:4px 0 8px;text-align:center}.arcade-active .arcade-scoreline{margin:6px 0}.arcade-active .arcade-scoreline strong{font-size:21px}.arcade-active .arcade-canvas{height:clamp(120px,calc(var(--chat-height,100dvh) - 380px),245px);max-height:245px}.arcade-active .arcade-status{margin:6px 0;min-height:21px;line-height:1.3;font-size:14px}.arcade-active .arcade-controls{gap:8px}.arcade-active .arcade-controls button{min-height:48px!important;padding:10px 8px}.arcade-active .arcade-round-note{margin:6px 0 0;text-align:center;font-size:12px}
.arcade-active[data-arcade=scarlett] .arcade-canvas,.arcade-active[data-arcade=ella] .arcade-canvas{display:none}
.arcade-active[data-arcade=scarlett] .arcade-controls{gap:10px}.arcade-active .punch-pad{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:clamp(68px,calc((var(--chat-height,100dvh) - 330px)/2),125px);border-radius:20px!important;background:#eff5ff;border:2px solid #bad3fb;transition:background .12s,box-shadow .12s}.punch-pad span{font-size:30px;line-height:1}.punch-pad strong{font-size:14px}.games-drawer .punch-pad:disabled{opacity:1;color:#647792}.punch-pad[data-punch="1"]{border-color:#f0aebe!important}.punch-pad[data-punch="2"]{border-color:#c9b1f4!important}.punch-pad[data-punch="3"]{border-color:#9bd7d1!important}.arcade-controls .punch-pad.arcade-lit{background:#1b68ff!important;color:#fff!important;box-shadow:0 0 0 4px #1b68ff22}.punch-pad:active:not(:disabled){background:#d4e5ff!important}.arcade-active[data-arcade=ella] .arcade-cards button{height:clamp(48px,calc((var(--chat-height,100dvh) - 310px)/3),85px);font-size:28px}
.board-active{text-align:center}.board-active .game-label{margin:4px 0 10px}.board-players{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;color:#53647b}.board-players b{font-size:27px;color:#1b68ff;vertical-align:middle}.board-players>span:last-child b{color:#dc2626}.board-status{min-height:24px;font-weight:650;color:#18233b;margin:8px 0!important}.noughts-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:min(300px,calc(var(--chat-height,100dvh) - 310px));margin:12px auto}.games-drawer .board-cell{aspect-ratio:1;min-height:44px;padding:0;border:1px solid #cadcf7;border-radius:16px;background:#f0f6ff;font-size:clamp(28px,9vw,52px);line-height:1;font-weight:700}.games-drawer .board-cell:disabled{opacity:1;cursor:default}.board-cell.board-x{color:#1b68ff}.board-cell.board-o{color:#dc2626}.games-drawer .board-cell.board-win{background:#e1f7ec;border-color:#42a876}.board-cell:hover:not(:disabled){background:#dfeeff}.board-cell:focus-visible{outline-offset:1px!important}
@media(max-height:560px){.games-top{gap:5px}.games-top h2{font-size:16px}.games-drawer{padding-top:6px}.arcade-active .arcade-instructions{font-size:13px}.arcade-active .arcade-round-note{display:none}.arcade-active .arcade-canvas{height:120px}.noughts-board{max-width:180px}.games-drawer .board-cell{border-radius:10px}}

#chatPanel #chatEngineNotice{padding:4px 12px 7px;font-size:12px;line-height:1.4;text-align:center}

/* MyFittys classics: large, labelled targets and an uncluttered mobile board. */
.mf-classic{max-width:520px;margin:0 auto;color:var(--ink,#18233b)}
.mf-classic-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.mf-classic-heading>img{border-radius:50%;flex-shrink:0}.mf-classic-heading h3{margin:2px 0;font-size:24px}.mf-classic-heading .game-label{margin:0}
.mf-match-score{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid #c8d6ed;border-radius:14px;padding:10px 6px;gap:6px;text-align:center;font-size:14px}.mf-match-score b{display:block;font-size:22px;margin-top:4px}.mf-classic-status{font-size:16px;line-height:1.5;min-height:48px;margin:14px 0 6px;font-weight:600}.mf-four-legend{display:flex;justify-content:space-between;gap:8px;font-size:14px;margin:10px 0}.mf-four-legend span{display:flex;align-items:center;gap:6px}.mf-four-legend i{width:14px;height:14px;border-radius:50%;display:inline-block}.mf-four-legend .you{background:#2467e8}.mf-four-legend .them{background:#dc2626}
.mf-four{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;border-radius:18px;padding:9px;background:#10274b;box-shadow:inset 0 1px 0 #ffffff30}.mf-four-column{display:flex;flex-direction:column;gap:6px;align-items:stretch;border:0;background:transparent;padding:2px;min-width:0;cursor:pointer;touch-action:manipulation;border-radius:9px}.mf-four-column:disabled{opacity:1;cursor:default}.mf-four-column:not(:disabled):hover{background:#ffffff20}.mf-four-column:focus-visible{outline:3px solid #9dc8ff;outline-offset:1px}.mf-column-number{color:#dae7ff;font-size:14px;line-height:24px}.mf-token{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e8eef8;box-shadow:inset 0 2px 4px #08142c50;overflow:hidden}.mf-token.you{background:#2467e8;border:3px solid #659dff}.mf-token.them{background:#dc2626;border:3px solid #dc2626}.mf-token img{width:76%;height:76%;border-radius:50%;object-fit:contain;pointer-events:none}.mf-token.winning{outline:3px solid #ffdf60;outline-offset:-3px;box-shadow:0 0 9px #ffdf6070}.mf-token.just-dropped{animation:mf-drop .23s ease-out}
.mf-classic-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.mf-classic-actions>button{flex:1;min-height:48px;touch-action:manipulation}.mf-difficulty{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:14px}.mf-difficulty select{font:inherit;font-size:16px;min-height:44px;border:1px solid #aabbd5;border-radius:10px;padding:6px 10px;background:var(--card,#fff);color:inherit;max-width:65%}.mf-hand{margin:16px 0}.mf-hand h4{font-size:16px;display:flex;justify-content:space-between;margin:8px 0}.mf-hand h4>span{border-radius:20px;padding:3px 12px;background:#dce9ff;color:#183d78}.mf-card-fan{display:flex;gap:7px;flex-wrap:wrap;min-height:100px}.mf-playing-card{width:clamp(52px,16vw,72px);aspect-ratio:5/7;border:1px solid #cbd5e1;border-radius:9px;position:relative;background:#fff;color:#15223b;box-shadow:0 3px 8px #142c5412;display:flex;align-items:center;justify-content:center;flex-shrink:0}.mf-playing-card.red{color:#b92348}.mf-card-corner{position:absolute;top:5px;left:6px;font-size:17px;font-weight:800;line-height:1}.mf-card-corner small{display:block;font-size:13px;margin-top:2px}.mf-card-corner.bottom{top:auto;left:auto;bottom:5px;right:6px;transform:rotate(180deg)}.mf-card-suit{font-size:25px}.mf-playing-card.mf-card-back{background:linear-gradient(145deg,#112b52,#2467e8);border:2px solid #83acfa}.mf-card-back>img{width:65%;border-radius:50%}.arcade-cards button.mf-card-back{background:#153c78 url('/optimized/mf-auth-logo-384.webp') center/46px 46px no-repeat;border:2px solid #78a5ee;min-height:64px}.game-option-classic{border-color:#b8cdf0}.mf-classic button:focus-visible{outline:3px solid #779de7;outline-offset:2px}
@keyframes mf-drop{from{transform:translateY(-12px);opacity:.5}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.mf-token.just-dropped{animation:none}}@media(max-width:360px){.mf-four{gap:3px;padding:6px}.mf-four-column{gap:5px;padding:1px}.mf-token.you,.mf-token.them{border-width:2px}.mf-classic-heading h3{font-size:21px}}
html[data-theme=dark] .mf-classic{background:#141e2e;color:#eef3fc;border-color:#344b6b}html[data-theme=dark] .mf-classic .game-small{color:#b8c9e2}html[data-theme=dark] .mf-classic .game-label{color:#9ec6ff}html[data-theme=dark] .mf-difficulty select{background:#1c2a40;color:#eef3fc;border-color:#405b80}

/* Photo counters share the account avatar and selected Fitty portrait. */
.board-players>span{display:flex;align-items:center;gap:8px}
.board-portrait{display:inline-flex;flex:0 0 auto;width:34px;height:34px;border-radius:50%;overflow:hidden;border:2px solid #1b68ff;background:#fff;box-sizing:border-box}
.board-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.board-portrait.board-fitty{border-color:#dc2626}
.board-cell .board-portrait{width:76%;height:auto;aspect-ratio:1;vertical-align:middle;border-width:3px}
.board-cell.board-win .board-portrait{box-shadow:0 0 0 3px #b7e8cf}
.games-top h2:focus{outline:none}

/* Personalised Four in a Row counters share the account photo renderer. */
.mf-counter-photo{display:flex;width:100%;height:100%;aspect-ratio:1;min-width:0;overflow:hidden;border-radius:50%;pointer-events:none}
.mf-token .mf-counter-photo img,.mf-four-legend .mf-counter-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%;border-radius:50%;pointer-events:none}
.mf-four-legend i{width:30px;height:30px;flex-shrink:0;overflow:hidden;box-sizing:border-box}
.mf-four-legend i.you{border:2px solid #659dff}.mf-four-legend i.them{border:2px solid #dc2626}

.game-subscribe-notice{padding:20px;margin:0 0 20px;border:1px solid #519af0;border-radius:18px;background:linear-gradient(135deg,#edf5ff,#fff);color:#14253d;text-align:center}
.game-subscribe-notice h3{font-size:20px;margin:0 0 8px}.game-subscribe-notice p{font-size:15px;line-height:1.6;margin:0 0 14px}.game-subscribe-notice button{width:100%}
