/* Echo toolbar styles: share bar, share dialog, Accessibility Manager, Cookie Manager, Report a Bug.
 *
 * Ported from AjaxPickering.ca (js/echo-*.js) on Nov 10, 2026. On the main site each script
 * injects its CSS as a <style> element at runtime; the games pages run a strict CSP
 * (style-src 'self'), so the same rules live here instead. The sections below were extracted
 * from each script's injectCss() unchanged, except that the cookie banner's rules are left
 * out (the games pages show no banner; see echo-cookies.js). The last section is games-only:
 * classes that replace the inline style="" colours the main-site scripts set, and room for
 * the toolbar in the games layout.
 *
 * To pick up a later main-site change, copy the changed rule here by hand.
 */
/* ---- from echo-share.js ---- */
#echo-share{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:9998;display:flex;flex-direction:column;box-shadow:0 6px 22px rgba(16,24,40,.22);font-family:inherit;}
#echo-share .es-cap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#003366;color:#fff;border:0;cursor:pointer;padding:10px 5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1;border-top-right-radius:10px;}
#echo-share .es-cap i{font-size:1.05rem;}
#echo-share .es-cap .es-cap-txt{display:flex;flex-direction:column;align-items:center;gap:2px;}
#echo-share .es-cap .es-word{font-size:.62rem;}
#echo-share .es-cap .es-sub{font-size:.5rem;font-weight:700;opacity:.82;letter-spacing:.14em;}
#echo-share .es-cap:hover{filter:brightness(1.12);}
#echo-share .es-cap:focus-visible{outline:2px solid #fff;outline-offset:-4px;}
#echo-share .es-tools{display:flex;flex-direction:column;}
#echo-share .es-tools .es-btn.es-last{border-bottom-right-radius:10px;}
#echo-share .es-btn{position:relative;height:46px;display:flex;align-items:center;border:0;padding:0;cursor:pointer;color:#fff;line-height:1;transition:filter .15s,transform .05s;}
#echo-share .es-btn .es-ico{width:46px;min-width:46px;height:46px;display:flex;align-items:center;justify-content:center;font-size:1.15rem;}
#echo-share .es-btn:hover{filter:brightness(1.12);}
#echo-share .es-btn:active{transform:scale(.94);}
#echo-share .es-btn:focus-visible{outline:2px solid #fff;outline-offset:-4px;}
#echo-share .es-btn .es-lbl{position:absolute;left:100%;top:0;height:46px;display:flex;align-items:center;padding:0 15px;white-space:nowrap;background-color:inherit;color:inherit;font-size:.82rem;font-weight:600;border-radius:0 8px 8px 0;box-shadow:6px 0 16px rgba(16,24,40,.2);opacity:0;transform:translateX(-8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease;}
#echo-share .es-btn:hover .es-lbl,#echo-share .es-btn:focus-visible .es-lbl{opacity:1;transform:translateX(0);}
@media (max-width:767px){#echo-share{left:0;right:0;top:auto;bottom:0;transform:none;flex-direction:row;box-shadow:0 -4px 16px rgba(16,24,40,.22);}
#echo-share .es-cap{flex-direction:row;gap:8px;padding:0 16px;border-top-right-radius:0;}
#echo-share .es-tools{flex-direction:row;flex:1;}
#echo-share .es-tools .es-btn.es-last{border-bottom-right-radius:0;}
#echo-share .es-btn{flex:1;height:50px;}
#echo-share .es-btn .es-ico{width:100%;min-width:0;height:50px;font-size:1.25rem;}
#echo-share .es-btn .es-lbl{display:none;}
}

/* ---- from echo-share-modal.js ---- */
#echo-share-modal *{box-sizing:border-box;}
#echo-share-modal{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;position:fixed;inset:0;z-index:2147481450;display:none;align-items:center;justify-content:center;padding:16px;}
#echo-share-modal.show{display:flex;}
#echo-share-modal .esm-ov{position:absolute;inset:0;background:rgba(6,14,25,.5);}
#echo-share-modal .esm-dlg{position:relative;background:#fff;color:#1b2733;width:560px;max-width:100%;max-height:92vh;overflow:auto;border-radius:16px;box-shadow:0 20px 60px rgba(6,14,25,.4);}
#echo-share-modal .esm-hd{background:#003366;color:#fff;padding:16px 20px;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:1;}
#echo-share-modal .esm-hd i{font-size:1.4rem;}
#echo-share-modal .esm-hd h2{margin:0;font-size:1.2rem;font-weight:700;flex:1;}
#echo-share-modal .esm-x{background:rgba(255,255,255,.16);border:0;color:#fff;width:34px;height:34px;border-radius:8px;font-size:1.2rem;cursor:pointer;line-height:1;}
#echo-share-modal .esm-x:hover{background:rgba(255,255,255,.3);}
#echo-share-modal .esm-bd{padding:16px 20px 20px;}
#echo-share-modal .esm-lbl{display:block;font-weight:600;font-size:.86rem;margin:0 0 4px;color:#1b2733;}
#echo-share-modal .esm-msg{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:.92rem;font-family:inherit;color:#1b2733;background:#fff;resize:vertical;min-height:68px;line-height:1.45;}
#echo-share-modal .esm-msg:focus{outline:2px solid #1a56db;outline-offset:1px;border-color:#1a56db;}
#echo-share-modal .esm-url{margin-top:10px;font-size:.8rem;color:#6b7280;background:#f5f6f8;border-radius:8px;padding:8px 10px;word-break:break-all;}
#echo-share-modal .esm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px;}
#echo-share-modal .esm-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;cursor:pointer;color:#fff;border-radius:12px;padding:14px 6px;font-family:inherit;font-size:.72rem;font-weight:700;line-height:1.12;text-align:center;transition:filter .15s,transform .05s;}
#echo-share-modal .esm-tile i{font-size:1.5rem;}
#echo-share-modal .esm-tile:hover{filter:brightness(1.1);}
#echo-share-modal .esm-tile:active{transform:scale(.96);}
#echo-share-modal .esm-tile:focus-visible{outline:3px solid #003366;outline-offset:2px;}
#echo-share-modal .esm-native-wrap{margin-top:14px;}
#echo-share-modal .esm-native{display:inline-flex;align-items:center;gap:8px;background:#eef1f5;border:1px solid #d7dee7;color:#1b2733;border-radius:9px;padding:9px 14px;font-family:inherit;font-size:.85rem;font-weight:600;cursor:pointer;}
#echo-share-modal .esm-native:hover{background:#e2e8f0;}
#echo-share-modal .esm-note{color:#8a94a1;font-size:.8rem;margin:12px 0 0;line-height:1.45;}
@media (max-width:520px){#echo-share-modal .esm-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:360px){#echo-share-modal .esm-grid{grid-template-columns:repeat(2,1fr);}
}

/* ---- from echo-a11y.js ---- */
#ap-a11y-panel,#ap-a11y-panel *{box-sizing:border-box;}
#ap-a11y-overlay{position:fixed;inset:0;background:rgba(6,14,25,.45);z-index:2147483000;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s linear .2s;}
#ap-a11y-overlay.ap-show{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .2s ease;}
#ap-a11y-panel{position:fixed;top:0;right:0;height:100%;width:360px;max-width:92vw;background:#fff;color:#1b2733;z-index:2147483001;box-shadow:-8px 0 30px rgba(6,14,25,.28);transform:translateX(102%);visibility:hidden;pointer-events:none;transition:transform .25s ease,visibility 0s linear .25s;display:flex;flex-direction:column;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;font-size:15px;line-height:1.4;}
#ap-a11y-panel.ap-show{transform:translateX(0);visibility:visible;pointer-events:auto;transition:transform .25s ease;}
#ap-a11y-panel .ap-hd{background:#003366;color:#fff;padding:16px 18px;display:flex;align-items:center;gap:10px;flex:0 0 auto;}
#ap-a11y-panel .ap-hd i{font-size:1.5rem;}
#ap-a11y-panel .ap-hd h2{margin:0;font-size:1.05rem;font-weight:700;flex:1;line-height:1.2;}
#ap-a11y-panel .ap-x{background:rgba(255,255,255,.14);color:#fff;border:0;width:34px;height:34px;border-radius:8px;cursor:pointer;font-size:1.1rem;line-height:1;}
#ap-a11y-panel .ap-x:hover{background:rgba(255,255,255,.28);}
#ap-a11y-panel .ap-body{overflow-y:auto;padding:14px 16px 20px;flex:1 1 auto;}
#ap-a11y-panel h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#5b6b7b;margin:18px 0 8px;font-weight:700;}
#ap-a11y-panel h3:first-child{margin-top:2px;}
#ap-a11y-panel .ap-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
#ap-a11y-panel .ap-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;border:2px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:12px 6px;cursor:pointer;color:#1b2733;font:inherit;min-height:74px;transition:border-color .12s,background .12s;}
#ap-a11y-panel .ap-tile i{font-size:1.35rem;color:#1a56db;}
#ap-a11y-panel .ap-tile span{font-size:.8rem;font-weight:600;line-height:1.15;}
#ap-a11y-panel .ap-tile:hover{border-color:#cbd5e1;}
#ap-a11y-panel .ap-tile[aria-pressed='true']{border-color:#1a56db;background:#eaf1fe;}
#ap-a11y-panel .ap-tile[aria-pressed='true'] i{color:#003366;}
#ap-a11y-panel .ap-step{display:flex;align-items:center;justify-content:space-between;gap:8px;border:2px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:8px 10px;margin-bottom:8px;}
#ap-a11y-panel .ap-step .ap-lbl{font-size:.85rem;font-weight:600;display:flex;align-items:center;gap:8px;}
#ap-a11y-panel .ap-step .ap-lbl i{color:#1a56db;width:18px;text-align:center;}
#ap-a11y-panel .ap-ctrls{display:flex;align-items:center;gap:6px;}
#ap-a11y-panel .ap-rnd{width:30px;height:30px;border-radius:50%;border:0;background:#003366;color:#fff;font-size:1rem;line-height:1;cursor:pointer;}
#ap-a11y-panel .ap-rnd:hover{filter:brightness(1.15);}
#ap-a11y-panel .ap-rnd:disabled{opacity:.35;cursor:not-allowed;}
#ap-a11y-panel .ap-val{min-width:44px;text-align:center;font-weight:700;font-size:.8rem;}
#ap-a11y-panel .ap-ft{flex:0 0 auto;border-top:1px solid #e2e8f0;padding:12px 16px;display:flex;gap:10px;align-items:center;background:#f8fafc;}
#ap-a11y-panel .ap-reset{flex:1;border:0;background:#e11d48;color:#fff;font-weight:700;border-radius:8px;padding:10px;cursor:pointer;font-size:.85rem;}
#ap-a11y-panel .ap-reset:hover{filter:brightness(1.08);}
#ap-a11y-panel .ap-stmt{font-size:.8rem;color:#1a56db;text-decoration:none;font-weight:600;white-space:nowrap;}
#ap-a11y-panel .ap-stmt:hover{text-decoration:underline;}
#ap-a11y-panel :focus-visible{outline:3px solid #1a56db;outline-offset:2px;}
#ap-a11y-fab{position:fixed;left:14px;bottom:14px;z-index:2147482000;width:52px;height:52px;border-radius:50%;border:0;background:#84cc16;color:#003366;font-size:1.5rem;cursor:pointer;box-shadow:0 6px 18px rgba(6,14,25,.3);}
@media (max-width:767px){#ap-a11y-panel{width:100%;max-width:100%;}
}
html[data-ap-lh='1'] body p,html[data-ap-lh='1'] body li,html[data-ap-lh='1'] body a,html[data-ap-lh='1'] body span,html[data-ap-lh='1'] body td,html[data-ap-lh='1'] body th,html[data-ap-lh='1'] body dd,html[data-ap-lh='1'] body dt,html[data-ap-lh='1'] body h1,html[data-ap-lh='1'] body h2,html[data-ap-lh='1'] body h3,html[data-ap-lh='1'] body h4,html[data-ap-lh='1'] body h5,html[data-ap-lh='1'] body h6,html[data-ap-lh='1'] body blockquote,html[data-ap-lh='1'] body label,html[data-ap-lh='1'] body small,html[data-ap-lh='1'] body strong,html[data-ap-lh='1'] body em,html[data-ap-lh='1'] body b,html[data-ap-lh='1'] body i:not([class*='fa']),html[data-ap-lh='1'] body figcaption,html[data-ap-lh='1'] body caption,html[data-ap-lh='1'] body button,html[data-ap-lh='1'] body input,html[data-ap-lh='1'] body select,html[data-ap-lh='1'] body textarea,html[data-ap-lh='1'] body legend{line-height:1.5!important}
html[data-ap-ls='1'] body p,html[data-ap-ls='1'] body li,html[data-ap-ls='1'] body a,html[data-ap-ls='1'] body span,html[data-ap-ls='1'] body td,html[data-ap-ls='1'] body th,html[data-ap-ls='1'] body dd,html[data-ap-ls='1'] body dt,html[data-ap-ls='1'] body h1,html[data-ap-ls='1'] body h2,html[data-ap-ls='1'] body h3,html[data-ap-ls='1'] body h4,html[data-ap-ls='1'] body h5,html[data-ap-ls='1'] body h6,html[data-ap-ls='1'] body blockquote,html[data-ap-ls='1'] body label,html[data-ap-ls='1'] body small,html[data-ap-ls='1'] body strong,html[data-ap-ls='1'] body em,html[data-ap-ls='1'] body b,html[data-ap-ls='1'] body i:not([class*='fa']),html[data-ap-ls='1'] body figcaption,html[data-ap-ls='1'] body caption,html[data-ap-ls='1'] body button,html[data-ap-ls='1'] body input,html[data-ap-ls='1'] body select,html[data-ap-ls='1'] body textarea,html[data-ap-ls='1'] body legend{letter-spacing:.05em!important}
html[data-ap-ws='1'] body p,html[data-ap-ws='1'] body li,html[data-ap-ws='1'] body a,html[data-ap-ws='1'] body span,html[data-ap-ws='1'] body td,html[data-ap-ws='1'] body th,html[data-ap-ws='1'] body dd,html[data-ap-ws='1'] body dt,html[data-ap-ws='1'] body h1,html[data-ap-ws='1'] body h2,html[data-ap-ws='1'] body h3,html[data-ap-ws='1'] body h4,html[data-ap-ws='1'] body h5,html[data-ap-ws='1'] body h6,html[data-ap-ws='1'] body blockquote,html[data-ap-ws='1'] body label,html[data-ap-ws='1'] body small,html[data-ap-ws='1'] body strong,html[data-ap-ws='1'] body em,html[data-ap-ws='1'] body b,html[data-ap-ws='1'] body i:not([class*='fa']),html[data-ap-ws='1'] body figcaption,html[data-ap-ws='1'] body caption,html[data-ap-ws='1'] body button,html[data-ap-ws='1'] body input,html[data-ap-ws='1'] body select,html[data-ap-ws='1'] body textarea,html[data-ap-ws='1'] body legend{word-spacing:.1em!important}
html[data-ap-lh='2'] body p,html[data-ap-lh='2'] body li,html[data-ap-lh='2'] body a,html[data-ap-lh='2'] body span,html[data-ap-lh='2'] body td,html[data-ap-lh='2'] body th,html[data-ap-lh='2'] body dd,html[data-ap-lh='2'] body dt,html[data-ap-lh='2'] body h1,html[data-ap-lh='2'] body h2,html[data-ap-lh='2'] body h3,html[data-ap-lh='2'] body h4,html[data-ap-lh='2'] body h5,html[data-ap-lh='2'] body h6,html[data-ap-lh='2'] body blockquote,html[data-ap-lh='2'] body label,html[data-ap-lh='2'] body small,html[data-ap-lh='2'] body strong,html[data-ap-lh='2'] body em,html[data-ap-lh='2'] body b,html[data-ap-lh='2'] body i:not([class*='fa']),html[data-ap-lh='2'] body figcaption,html[data-ap-lh='2'] body caption,html[data-ap-lh='2'] body button,html[data-ap-lh='2'] body input,html[data-ap-lh='2'] body select,html[data-ap-lh='2'] body textarea,html[data-ap-lh='2'] body legend{line-height:1.8!important}
html[data-ap-ls='2'] body p,html[data-ap-ls='2'] body li,html[data-ap-ls='2'] body a,html[data-ap-ls='2'] body span,html[data-ap-ls='2'] body td,html[data-ap-ls='2'] body th,html[data-ap-ls='2'] body dd,html[data-ap-ls='2'] body dt,html[data-ap-ls='2'] body h1,html[data-ap-ls='2'] body h2,html[data-ap-ls='2'] body h3,html[data-ap-ls='2'] body h4,html[data-ap-ls='2'] body h5,html[data-ap-ls='2'] body h6,html[data-ap-ls='2'] body blockquote,html[data-ap-ls='2'] body label,html[data-ap-ls='2'] body small,html[data-ap-ls='2'] body strong,html[data-ap-ls='2'] body em,html[data-ap-ls='2'] body b,html[data-ap-ls='2'] body i:not([class*='fa']),html[data-ap-ls='2'] body figcaption,html[data-ap-ls='2'] body caption,html[data-ap-ls='2'] body button,html[data-ap-ls='2'] body input,html[data-ap-ls='2'] body select,html[data-ap-ls='2'] body textarea,html[data-ap-ls='2'] body legend{letter-spacing:.1em!important}
html[data-ap-ws='2'] body p,html[data-ap-ws='2'] body li,html[data-ap-ws='2'] body a,html[data-ap-ws='2'] body span,html[data-ap-ws='2'] body td,html[data-ap-ws='2'] body th,html[data-ap-ws='2'] body dd,html[data-ap-ws='2'] body dt,html[data-ap-ws='2'] body h1,html[data-ap-ws='2'] body h2,html[data-ap-ws='2'] body h3,html[data-ap-ws='2'] body h4,html[data-ap-ws='2'] body h5,html[data-ap-ws='2'] body h6,html[data-ap-ws='2'] body blockquote,html[data-ap-ws='2'] body label,html[data-ap-ws='2'] body small,html[data-ap-ws='2'] body strong,html[data-ap-ws='2'] body em,html[data-ap-ws='2'] body b,html[data-ap-ws='2'] body i:not([class*='fa']),html[data-ap-ws='2'] body figcaption,html[data-ap-ws='2'] body caption,html[data-ap-ws='2'] body button,html[data-ap-ws='2'] body input,html[data-ap-ws='2'] body select,html[data-ap-ws='2'] body textarea,html[data-ap-ws='2'] body legend{word-spacing:.16em!important}
html[data-ap-lh='3'] body p,html[data-ap-lh='3'] body li,html[data-ap-lh='3'] body a,html[data-ap-lh='3'] body span,html[data-ap-lh='3'] body td,html[data-ap-lh='3'] body th,html[data-ap-lh='3'] body dd,html[data-ap-lh='3'] body dt,html[data-ap-lh='3'] body h1,html[data-ap-lh='3'] body h2,html[data-ap-lh='3'] body h3,html[data-ap-lh='3'] body h4,html[data-ap-lh='3'] body h5,html[data-ap-lh='3'] body h6,html[data-ap-lh='3'] body blockquote,html[data-ap-lh='3'] body label,html[data-ap-lh='3'] body small,html[data-ap-lh='3'] body strong,html[data-ap-lh='3'] body em,html[data-ap-lh='3'] body b,html[data-ap-lh='3'] body i:not([class*='fa']),html[data-ap-lh='3'] body figcaption,html[data-ap-lh='3'] body caption,html[data-ap-lh='3'] body button,html[data-ap-lh='3'] body input,html[data-ap-lh='3'] body select,html[data-ap-lh='3'] body textarea,html[data-ap-lh='3'] body legend{line-height:2.2!important}
html[data-ap-ls='3'] body p,html[data-ap-ls='3'] body li,html[data-ap-ls='3'] body a,html[data-ap-ls='3'] body span,html[data-ap-ls='3'] body td,html[data-ap-ls='3'] body th,html[data-ap-ls='3'] body dd,html[data-ap-ls='3'] body dt,html[data-ap-ls='3'] body h1,html[data-ap-ls='3'] body h2,html[data-ap-ls='3'] body h3,html[data-ap-ls='3'] body h4,html[data-ap-ls='3'] body h5,html[data-ap-ls='3'] body h6,html[data-ap-ls='3'] body blockquote,html[data-ap-ls='3'] body label,html[data-ap-ls='3'] body small,html[data-ap-ls='3'] body strong,html[data-ap-ls='3'] body em,html[data-ap-ls='3'] body b,html[data-ap-ls='3'] body i:not([class*='fa']),html[data-ap-ls='3'] body figcaption,html[data-ap-ls='3'] body caption,html[data-ap-ls='3'] body button,html[data-ap-ls='3'] body input,html[data-ap-ls='3'] body select,html[data-ap-ls='3'] body textarea,html[data-ap-ls='3'] body legend{letter-spacing:.16em!important}
html[data-ap-ws='3'] body p,html[data-ap-ws='3'] body li,html[data-ap-ws='3'] body a,html[data-ap-ws='3'] body span,html[data-ap-ws='3'] body td,html[data-ap-ws='3'] body th,html[data-ap-ws='3'] body dd,html[data-ap-ws='3'] body dt,html[data-ap-ws='3'] body h1,html[data-ap-ws='3'] body h2,html[data-ap-ws='3'] body h3,html[data-ap-ws='3'] body h4,html[data-ap-ws='3'] body h5,html[data-ap-ws='3'] body h6,html[data-ap-ws='3'] body blockquote,html[data-ap-ws='3'] body label,html[data-ap-ws='3'] body small,html[data-ap-ws='3'] body strong,html[data-ap-ws='3'] body em,html[data-ap-ws='3'] body b,html[data-ap-ws='3'] body i:not([class*='fa']),html[data-ap-ws='3'] body figcaption,html[data-ap-ws='3'] body caption,html[data-ap-ws='3'] body button,html[data-ap-ws='3'] body input,html[data-ap-ws='3'] body select,html[data-ap-ws='3'] body textarea,html[data-ap-ws='3'] body legend{word-spacing:.24em!important}
html[data-ap-font='readable'] body p,html[data-ap-font='readable'] body li,html[data-ap-font='readable'] body a,html[data-ap-font='readable'] body span,html[data-ap-font='readable'] body td,html[data-ap-font='readable'] body th,html[data-ap-font='readable'] body dd,html[data-ap-font='readable'] body dt,html[data-ap-font='readable'] body h1,html[data-ap-font='readable'] body h2,html[data-ap-font='readable'] body h3,html[data-ap-font='readable'] body h4,html[data-ap-font='readable'] body h5,html[data-ap-font='readable'] body h6,html[data-ap-font='readable'] body blockquote,html[data-ap-font='readable'] body label,html[data-ap-font='readable'] body small,html[data-ap-font='readable'] body strong,html[data-ap-font='readable'] body em,html[data-ap-font='readable'] body b,html[data-ap-font='readable'] body i:not([class*='fa']),html[data-ap-font='readable'] body figcaption,html[data-ap-font='readable'] body caption,html[data-ap-font='readable'] body button,html[data-ap-font='readable'] body input,html[data-ap-font='readable'] body select,html[data-ap-font='readable'] body textarea,html[data-ap-font='readable'] body legend{font-family:Verdana,Tahoma,Arial,sans-serif!important}
html[data-ap-font='dyslexic'] body p,html[data-ap-font='dyslexic'] body li,html[data-ap-font='dyslexic'] body a,html[data-ap-font='dyslexic'] body span,html[data-ap-font='dyslexic'] body td,html[data-ap-font='dyslexic'] body th,html[data-ap-font='dyslexic'] body dd,html[data-ap-font='dyslexic'] body dt,html[data-ap-font='dyslexic'] body h1,html[data-ap-font='dyslexic'] body h2,html[data-ap-font='dyslexic'] body h3,html[data-ap-font='dyslexic'] body h4,html[data-ap-font='dyslexic'] body h5,html[data-ap-font='dyslexic'] body h6,html[data-ap-font='dyslexic'] body blockquote,html[data-ap-font='dyslexic'] body label,html[data-ap-font='dyslexic'] body small,html[data-ap-font='dyslexic'] body strong,html[data-ap-font='dyslexic'] body em,html[data-ap-font='dyslexic'] body b,html[data-ap-font='dyslexic'] body i:not([class*='fa']),html[data-ap-font='dyslexic'] body figcaption,html[data-ap-font='dyslexic'] body caption,html[data-ap-font='dyslexic'] body button,html[data-ap-font='dyslexic'] body input,html[data-ap-font='dyslexic'] body select,html[data-ap-font='dyslexic'] body textarea,html[data-ap-font='dyslexic'] body legend{font-family:'Comic Sans MS','Comic Sans',Verdana,sans-serif!important;letter-spacing:.03em!important}
html[data-ap-align='left'] :is(body p,body li,body h1,body h2,body h3,body h4,body h5,body h6,body blockquote,body td,body dd){text-align:left!important}
html[data-ap-align='center'] :is(body p,body li,body h1,body h2,body h3,body h4,body h5,body h6,body blockquote,body td,body dd){text-align:center!important}
html[data-ap-align='right'] :is(body p,body li,body h1,body h2,body h3,body h4,body h5,body h6,body blockquote,body td,body dd){text-align:right!important}
html.ap-hl-links body a{text-decoration:underline!important;text-underline-offset:2px;outline:2px solid #1a56db!important;outline-offset:1px;}
html.ap-hl-head body :is(h1,h2,h3,h4,h5,h6){outline:2px dashed #1a56db!important;outline-offset:2px;background:rgba(26,86,219,.08)!important;}
html.ap-hide-img body img,html.ap-hide-img body picture,html.ap-hide-img body [role='img']{visibility:hidden!important}
html.ap-hide-img body [style*='background-image']{background-image:none!important}
html.ap-stop-anim body *,html.ap-stop-anim body *::before,html.ap-stop-anim body *::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition-duration:.001s!important;scroll-behavior:auto!important}
html.ap-focus body *:focus{outline:3px solid #1a56db!important;outline-offset:2px!important}
html[data-ap-cursor='black'] body,html[data-ap-cursor='black'] body *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 11-6 1 3.6 7.2-2.7 1.3-3.6-7.2L5 22z' fill='black' stroke='white' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto!important}
html[data-ap-cursor='white'] body,html[data-ap-cursor='white'] body *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 11-6 1 3.6 7.2-2.7 1.3-3.6-7.2L5 22z' fill='white' stroke='black' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto!important}
html[data-ap-contrast='dark'] body,html[data-ap-contrast='dark'] body *{background-color:transparent!important;color:#e8eef5!important;border-color:#33414f!important;box-shadow:none!important;}
html[data-ap-contrast='dark'] body{background-color:#0f1720!important;}
html[data-ap-contrast='dark'] body a,html[data-ap-contrast='dark'] body a *{color:#79b8ff!important;}
html[data-ap-contrast='dark'] body :is(input,textarea,select){background-color:#1b2733!important;color:#e8eef5!important;}
html[data-ap-contrast='dark'] body :is(button,.btn){background-color:#1b2733!important;color:#e8eef5!important;border:1px solid #33414f!important;}
html[data-ap-contrast='light'] body,html[data-ap-contrast='light'] body *{background-color:transparent!important;color:#1b2733!important;border-color:#d0d7de!important;box-shadow:none!important;}
html[data-ap-contrast='light'] body{background-color:#ffffff!important;}
html[data-ap-contrast='light'] body a,html[data-ap-contrast='light'] body a *{color:#0645ad!important;}
html[data-ap-contrast='light'] body :is(input,textarea,select){background-color:#ffffff!important;color:#1b2733!important;}
html[data-ap-contrast='light'] body :is(button,.btn){background-color:#ffffff!important;color:#1b2733!important;border:1px solid #d0d7de!important;}
html[data-ap-contrast='high'] body,html[data-ap-contrast='high'] body *{background-color:transparent!important;color:#ffffff!important;border-color:#ffffff!important;box-shadow:none!important;}
html[data-ap-contrast='high'] body{background-color:#000000!important;}
html[data-ap-contrast='high'] body a,html[data-ap-contrast='high'] body a *{color:#ffff00!important;}
html[data-ap-contrast='high'] body :is(input,textarea,select){background-color:#000000!important;color:#ffffff!important;}
html[data-ap-contrast='high'] body :is(button,.btn){background-color:#000000!important;color:#ffffff!important;border:1px solid #ffffff!important;}
html.ap-media-normalize body img,html.ap-media-normalize body video,html.ap-media-normalize body picture,html.ap-media-normalize body [style*='background-image']{filter:invert(1) hue-rotate(180deg)!important}
#ap-a11y-guide{position:fixed;left:0;right:0;height:0;border-top:3px solid #1a56db;box-shadow:0 0 6px rgba(26,86,219,.6);z-index:2147482500;pointer-events:none;}
#ap-a11y-mask-t,#ap-a11y-mask-b{position:fixed;left:0;right:0;background:rgba(4,10,20,.62);z-index:2147482400;pointer-events:none;}

/* ---- from echo-cookies.js ---- */
#ap-ck-modal *{box-sizing:border-box;}
#ap-ck-modal{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;}
.ap-ck-btn{border:0;border-radius:8px;padding:10px 16px;font-size:.85rem;font-family:inherit;font-weight:700;cursor:pointer;line-height:1;white-space:nowrap;}
.ap-ck-btn.pri{background:#003366;color:#fff;}
.ap-ck-btn.pri:hover{filter:brightness(1.15);}
.ap-ck-btn.sec{background:#e2e8f0;color:#1b2733;}
.ap-ck-btn.sec:hover{background:#cbd5e1;}
.ap-ck-btn.link{background:transparent;color:#003366;text-decoration:underline;padding:10px 6px;}
#ap-ck-modal{position:fixed;inset:0;z-index:2147481500;display:none;align-items:center;justify-content:center;padding:16px;}
#ap-ck-modal.ap-show{display:flex;}
#ap-ck-modal .ap-ck-ov{position:absolute;inset:0;background:rgba(6,14,25,.5);}
#ap-ck-modal .ap-ck-dlg{position:relative;background:#fff;color:#1b2733;width:560px;max-width:100%;max-height:90vh;overflow:auto;border-radius:14px;box-shadow:0 20px 60px rgba(6,14,25,.4);}
#ap-ck-modal .ap-ck-hd{background:#003366;color:#fff;padding:16px 20px;display:flex;align-items:center;gap:10px;position:sticky;top:0;}
#ap-ck-modal .ap-ck-hd i{font-size:1.4rem;}
#ap-ck-modal .ap-ck-hd h2{margin:0;font-size:1.1rem;flex:1;}
#ap-ck-modal .ap-ck-x{background:rgba(255,255,255,.16);border:0;color:#fff;width:34px;height:34px;border-radius:8px;font-size:1.2rem;cursor:pointer;line-height:1;}
#ap-ck-modal .ap-ck-x:hover{background:rgba(255,255,255,.3);}
#ap-ck-modal .ap-ck-bd{padding:16px 20px;}
#ap-ck-modal .ap-ck-intro{font-size:.9rem;line-height:1.5;margin:0 0 12px;}
#ap-ck-modal .ap-ck-row{border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;margin-bottom:10px;display:flex;gap:12px;align-items:flex-start;}
#ap-ck-modal .ap-ck-row .ap-ck-info{flex:1;}
#ap-ck-modal .ap-ck-row .ap-ck-name{font-weight:700;font-size:.92rem;}
#ap-ck-modal .ap-ck-row .ap-ck-desc{font-size:.82rem;color:#5b6b7b;line-height:1.4;margin-top:2px;}
.ap-sw{position:relative;width:46px;height:26px;flex:0 0 auto;margin-top:2px;}
.ap-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;}
.ap-sw .ap-track{position:absolute;inset:0;background:#cbd5e1;border-radius:26px;transition:background .15s;}
.ap-sw .ap-track::before{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .15s;box-shadow:0 1px 3px rgba(0,0,0,.3);}
.ap-sw input:checked+.ap-track{background:#003366;}
.ap-sw input:checked+.ap-track::before{transform:translateX(20px);}
.ap-sw input:disabled+.ap-track{background:#9db3c8;}
.ap-sw input:focus-visible+.ap-track{outline:3px solid #1a56db;outline-offset:2px;}
#ap-ck-modal .ap-ck-ft{display:flex;flex-wrap:wrap;gap:8px;padding:14px 20px 18px;border-top:1px solid #e2e8f0;position:sticky;bottom:0;background:#fff;}
#ap-ck-modal .ap-ck-ft .grow{flex:1;}

/* ---- from echo-bug.js ---- */
#ap-bug-modal *{box-sizing:border-box;}
#ap-bug-modal{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;}
#ap-bug-modal{position:fixed;inset:0;z-index:2147481600;display:none;align-items:center;justify-content:center;padding:16px;}
#ap-bug-modal.ap-show{display:flex;}
#ap-bug-modal .ap-bug-ov{position:absolute;inset:0;background:rgba(6,14,25,.5);}
#ap-bug-modal .ap-bug-dlg{position:relative;background:#fff;color:#1b2733;width:680px;max-width:100%;max-height:94vh;overflow:auto;border-radius:14px;box-shadow:0 20px 60px rgba(6,14,25,.4);}
#ap-bug-modal .ap-bug-hd{background:#003366;color:#fff;padding:16px 20px;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:1;}
#ap-bug-modal .ap-bug-hd i{font-size:1.4rem;}
#ap-bug-modal .ap-bug-hd h2{margin:0;font-size:1.1rem;flex:1;}
#ap-bug-modal .ap-bug-x{background:rgba(255,255,255,.16);border:0;color:#fff;width:34px;height:34px;border-radius:8px;font-size:1.2rem;cursor:pointer;line-height:1;}
#ap-bug-modal .ap-bug-x:hover{background:rgba(255,255,255,.3);}
#ap-bug-modal .ap-bug-bd{padding:16px 20px;}
#ap-bug-modal .ap-bug-intro{font-size:.9rem;line-height:1.45;margin:0 0 12px;color:#5b6b7b;}
#ap-bug-modal .ap-bug-fld{margin-bottom:10px;}
#ap-bug-modal .ap-bug-row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;}
#ap-bug-modal label.ap-bug-lbl{display:block;font-weight:700;font-size:.86rem;margin-bottom:4px;color:#1b2733;}
#ap-bug-modal label.ap-bug-lbl .opt{font-weight:400;color:#8291a1;}
#ap-bug-modal select,#ap-bug-modal input[type=text],#ap-bug-modal input[type=email],#ap-bug-modal textarea{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:9px 11px;font-size:.92rem;font-family:inherit;color:#1b2733;background:#fff;}
#ap-bug-modal textarea{resize:vertical;min-height:70px;line-height:1.45;}
#ap-bug-modal select:focus,#ap-bug-modal input:focus,#ap-bug-modal textarea:focus{outline:2px solid #1a56db;outline-offset:1px;border-color:#1a56db;}
#ap-bug-modal .ap-bug-err{color:#b91c1c;font-size:.82rem;margin-top:4px;display:none;}
#ap-bug-modal .ap-bug-fld.bad input,#ap-bug-modal .ap-bug-fld.bad textarea{border-color:#dc2626;}
#ap-bug-modal .ap-bug-fld.bad .ap-bug-err{display:block;}
#ap-bug-modal .ap-bug-hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden;}
#ap-bug-modal .ap-bug-tech{border:1px solid #e2e8f0;border-radius:10px;background:#f5f7fa;padding:10px 12px;font-size:.82rem;color:#5b6b7b;line-height:1.5;}
#ap-bug-modal .ap-bug-tech .ap-bug-tt{font-weight:700;color:#1b2733;display:block;margin-bottom:4px;}
#ap-bug-modal .ap-bug-tech code{background:#e8edf3;border-radius:4px;padding:1px 5px;color:#334155;font-size:.95em;}
#ap-bug-modal .ap-bug-tech .ap-bug-errln{color:#b45309;}
#ap-bug-modal .ap-bug-ft{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:14px 20px 18px;border-top:1px solid #e2e8f0;position:sticky;bottom:0;background:#fff;}
#ap-bug-modal .ap-bug-ft .grow{flex:1;}
.ap-bug-btn{border:0;border-radius:9px;padding:10px 18px;font-size:.88rem;font-family:inherit;font-weight:700;cursor:pointer;line-height:1;}
.ap-bug-btn.pri{background:#003366;color:#fff;}
.ap-bug-btn.pri:hover{filter:brightness(1.15);}
.ap-bug-btn.pri[disabled]{opacity:.6;cursor:default;}
.ap-bug-btn.sec{background:#e2e8f0;color:#1b2733;}
.ap-bug-btn.sec:hover{background:#cbd5e1;}
#ap-bug-modal .ap-bug-done{padding:26px 22px;text-align:center;}
#ap-bug-modal .ap-bug-done .ic{font-size:2.6rem;color:#16a34a;margin-bottom:8px;}
#ap-bug-modal .ap-bug-done .ic.bad{color:#dc2626;}
#ap-bug-modal .ap-bug-done h3{margin:0 0 6px;color:#003366;font-size:1.15rem;}
#ap-bug-modal .ap-bug-done p{margin:0 0 6px;color:#5b6b7b;font-size:.92rem;line-height:1.5;}
#ap-bug-modal .ap-bug-done .ref{font-weight:700;color:#1b2733;}
@media (max-width:560px){#ap-bug-modal .ap-bug-row{grid-template-columns:1fr;}
#ap-bug-modal .ap-bug-dlg{max-height:96vh;}
}


/* ---- games only ---- */

/* Tool launcher colours (the main site sets these with element.style). */
#echo-share .es-a11y-btn{background:#84cc16;color:#003366;}
#echo-share .es-cookie-btn{background:#b45309;}
#echo-share .es-bug-btn{background:#dc2626;}
#echo-share .es-cap.es-cap-static{cursor:default;}

/* Share tiles, in the brand colours the main site writes into style="" on each tile. */
#echo-share-modal .esm-tile[data-key="x"],#echo-share-modal .esm-tile[data-key="threads"]{background:#000;}
#echo-share-modal .esm-tile[data-key="facebook"]{background:#1877F2;}
#echo-share-modal .esm-tile[data-key="linkedin"]{background:#0A66C2;}
#echo-share-modal .esm-tile[data-key="whatsapp"]{background:#25D366;}
#echo-share-modal .esm-tile[data-key="telegram"]{background:#229ED9;}
#echo-share-modal .esm-tile[data-key="reddit"]{background:#FF4500;}
#echo-share-modal .esm-tile[data-key="pinterest"]{background:#E60023;}
#echo-share-modal .esm-tile[data-key="sms"]{background:#16a34a;}
#echo-share-modal .esm-tile[data-key="email"]{background:#5b6b7b;}
#echo-share-modal .esm-tile[data-key="instagram"]{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%);}
#echo-share-modal .esm-tile[data-key="copy"]{background:#003366;}
#echo-share-modal .esm-native-wrap[hidden]{display:none;}

/* The share dialog's toast (style.cssText on the main site). */
.esm-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#003366;color:#fff;padding:10px 18px;border-radius:20px;
  z-index:2147481700;box-shadow:0 4px 14px rgba(0,0,0,.25);font-size:.9em;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;transition:opacity .4s;}
.esm-toast.esm-fade{opacity:0;}

/* Report a Bug: the last field had style="margin-bottom:0;". */
#ap-bug-modal .ap-bug-fld.ap-bug-fld-last{margin-bottom:0;}
#ap-bug-modal form[hidden]{display:none;}

/* Cookie Manager: the privacy link and the list of what is stored. */
#ap-ck-modal .ap-ck-intro a{color:#1a56db;font-weight:600;}
#ap-ck-modal .ap-ck-desc code{background:#eef1f5;border-radius:4px;padding:0 4px;color:#334155;font-size:.95em;}

/* Room for the toolbar in the games layout. */
@media (max-width:767px){
  /* Docked along the bottom: keep the footer, the games toast and the share toast above it, and fill the iPhone home-bar strip. */
  #echo-share{padding-bottom:env(safe-area-inset-bottom,0px);background:#003366;}
  html.echo-on body{padding-bottom:calc(50px + env(safe-area-inset-bottom,0px));}
  html.echo-on .toast-live{bottom:calc(68px + env(safe-area-inset-bottom,0px));}
  .esm-toast{bottom:calc(74px + env(safe-area-inset-bottom,0px));}
}
@media (min-width:768px) and (max-width:860px){
  /* The 760 px column reaches the left edge here, so move it clear of the 46 px rail. */
  html.echo-on .wrap{padding-left:58px;}
}
