:root{color-scheme:dark;font:15px/1.45 system-ui,sans-serif;color:#edf1ff;background:#0b1322}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #b8c4ff;outline-offset:3px}[hidden]{display:none!important}a{color:#bfd0ff;text-decoration:none}#chat-app{max-width:640px;margin:auto;height:var(--chat-height,100dvh);display:flex;flex-direction:column;background:#121c2d;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);position:relative}.app-nav{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 16px;min-height:52px;border-bottom:1px solid #30415b;flex:none;font-size:13px}.app-nav button{background:none;border:0;color:#c6d2ee;min-height:36px}.app-nav a{display:flex;align-items:center;min-height:36px}#brand{font-weight:650}#login-panel{padding:30px 24px;overflow:auto;flex:1}#login-panel h1{font-size:29px;line-height:1.2;margin:16px 0}#login-panel p{color:#b7c5dc}#login-panel form{display:grid;gap:8px;margin:24px 0 14px}#login-panel input{width:100%;border:1px solid #4b5d7d;background:#0d1729;color:#fff;padding:13px;border-radius:12px;font-size:16px;margin-bottom:12px}#sign-in,#close-help{background:#6269ef;color:#fff;border:0;border-radius:12px;padding:13px}#sign-in:disabled{opacity:.6}.chat-mark{background:#384bb4;width:56px;height:56px;display:grid;place-items:center;border-radius:18px;font-size:28px}#login-status{font-size:13px;min-height:20px}#register-link{font-size:13px}#chat-mount{flex:1;min-height:0;display:flex}body.standalone-chat #website-support{position:relative;inset:auto;z-index:auto;width:100%;height:100%;display:flex;font:15px/1.45 system-ui,sans-serif}body.standalone-chat #website-chat{position:relative;inset:auto;flex:1;width:100%;max-width:none;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;min-height:0}body.standalone-chat #website-chat header{padding:15px 18px;flex:none}body.standalone-chat #website-chat .chat-profile-name{font-size:18px}body.standalone-chat #website-chat .chat-profile-id{font-size:13px}body.standalone-chat #website-chat .chat-messages{min-height:0;background-color:#102039;padding:18px;overscroll-behavior:contain}body.standalone-chat #website-chat .chat-message{max-width:92%}body.standalone-chat #website-chat .chat-message.mine{max-width:92%}body.standalone-chat #website-chat .chat-message small{font-size:11px}body.standalone-chat #website-chat .chat-redeem-details{font-size:14px}body.standalone-chat #website-chat .chat-compose{padding:10px 14px;flex:none}body.standalone-chat #website-chat textarea{font-size:16px;background:#0d1729;min-height:54px;max-height:110px}body.standalone-chat #website-chat .chat-compose>button{min-width:64px;min-height:44px}body.standalone-chat #website-chat .chat-status{font-size:12px;flex:none}body.standalone-chat #website-chat footer{flex:none;padding:4px 16px 10px}body.standalone-chat .chat-launcher,body.standalone-chat .chat-close,body.standalone-chat .chat-game-teaser,body.standalone-chat .chat-upload-games,body.standalone-chat .chat-new{display:none!important}#install-banner{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#243252;font-size:12px;flex:none}#install-banner span{flex:1}#install-banner button{border:0;background:#6269ef;color:white;padding:10px;border-radius:9px;min-height:44px;font-size:12px}#install-banner #dismiss-install{background:transparent;font-size:20px}#connection,#app-status{padding:8px 16px;margin:0;background:#29354f;font-size:12px}dialog{background:#1e2c45;color:#edf1ff;border:1px solid #52617d;border-radius:18px;max-width:min(400px,90vw);padding:24px}dialog::backdrop{background:#0009}dialog h2{margin-top:0}dialog p{color:#c4d0e5}@media(min-width:700px){#chat-app{border-left:1px solid #30415b;border-right:1px solid #30415b}}@media(max-height:550px){#install-banner{display:none}body.standalone-chat #website-chat header{padding:8px 16px}.app-nav{min-height:40px;padding:2px 14px}}

.social-login{display:grid;gap:10px;margin-top:24px}.social-login button{width:100%;min-height:44px;border:1px solid #52617d;border-radius:10px;background:#243252;color:#fff;padding:10px;font-weight:600}.social-login button:disabled{opacity:.6;cursor:default}#facebook-signin{background:#1877f2;border-color:#1877f2}#google-signin{min-height:44px;max-width:100%;overflow:hidden;display:flex;justify-content:center}#social-status{font-size:13px;margin:0;min-height:0}#social-status:empty{display:none}.login-divider{display:flex;align-items:center;gap:12px;color:#b7c5dc;font-size:12px;margin-top:22px}.login-divider:before,.login-divider:after{content:"";height:1px;background:#344561;flex:1}

#login-panel .remember-option{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:18px;font-size:14px;cursor:pointer}#login-panel .remember-option input{width:20px;height:20px;margin:0;padding:0;flex:none;accent-color:#6269ef}#full-website-link{display:block;margin-top:14px;padding:8px 0;font-size:14px}

/* Compact login and branded member header. */
#login-panel{padding-top:22px}.social-login{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px}#social-status{grid-column:1/-1}#google-signin{min-width:0;gap:8px;align-items:center;justify-content:center}.google-compact-label{font-size:14px;color:#edf1ff}#facebook-signin{font-size:14px}.app-nav{display:grid;grid-template-columns:auto minmax(50px,1fr) auto;gap:10px;padding:10px 14px}#brand{text-align:center;min-width:0}#header-logo{display:block;max-width:140px;width:100%;height:48px;object-fit:contain;margin:auto}.account-corner{display:flex;flex-direction:column;align-items:flex-end;min-width:0;max-width:210px}#member-profile{display:flex;align-items:center;gap:8px;text-align:right;min-width:0}#member-profile span{min-width:0}#member-name{display:block;font-size:14px;overflow-wrap:anywhere}#member-id{display:block;font-size:11px;color:#b7c5dc}#member-photo{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none}.account-corner #logout{min-height:28px;padding:2px 0;font-size:12px}body.standalone-chat #website-chat>header{display:none}body.standalone-chat #website-chat .chat-messages{background-image:linear-gradient(#10203940,#10203940),url('/sportsbook/chat-wallpaper-midnight.png');background-size:cover;background-position:center;background-repeat:no-repeat}#chat-actions{display:flex;gap:10px;flex:none;padding:10px 14px;border-top:1px solid #344561;background:#1e2c45}#chat-actions button{flex:1;min-height:44px;border:1px solid #7a84ff;border-radius:12px;background:#384bb4;color:#fff;font-weight:650}#chat-actions #open-payments{background:#6269ef}
/* Modal sheets preserve the conversation beneath them. */
dialog.bottom-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(640px,100%);max-width:100%;max-height:85dvh;padding:18px 18px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#18253c;border:1px solid #455675;overflow:auto;box-sizing:border-box}dialog.bottom-sheet[open]{animation:chat-sheet-in .22s ease-out}dialog.bottom-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}dialog.bottom-sheet h2{font-size:19px;margin:0}dialog.bottom-sheet header button{border:0;background:transparent;color:#edf1ff;font-size:27px;width:44px;height:44px;flex:none}#catalog-status{font-size:13px;min-height:19px;margin:0 0 12px;color:#bdcae1;overflow-wrap:anywhere}#catalog-pages{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y}#catalog-pages::-webkit-scrollbar{display:none}.catalog-page{flex:0 0 100%;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,106px);gap:10px;scroll-snap-align:start;padding:2px}.catalog-tile{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;border:1px solid #465a7a;border-radius:13px;background:#202f49;color:#edf1ff;font-size:13px}.catalog-tile[aria-pressed="true"]{border:2px solid #96a3ff;background:#354783}.catalog-tile img{max-width:100%;width:110px;height:52px;object-fit:contain}.catalog-tile span{max-width:100%;overflow-wrap:anywhere}.catalog-paging{display:flex;justify-content:center;align-items:center;gap:18px;margin:12px 0;font-size:13px}.catalog-paging button{width:44px;height:40px;border:1px solid #53617c;border-radius:10px;background:#243252;color:#edf1ff;font-size:24px}.catalog-paging button:disabled{opacity:.4}#catalog-choose{width:100%;padding:13px;border:0;border-radius:12px;background:#6269ef;color:#fff;font-weight:650}#catalog-choose:disabled{opacity:.45}#connected-payments{display:block;text-align:center;margin-top:14px;font-size:13px}#catalog-website{height:85dvh}#catalog-website[open]{display:flex;flex-direction:column}#website-frame{width:100%;flex:1;min-height:120px;border:0;background:#fff;margin-top:12px}#website-external{font-size:13px}@keyframes chat-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){dialog.bottom-sheet[open]{animation:none}}@media(max-width:440px){.facebook-prefix{display:none}.account-corner{max-width:145px}#member-name{font-size:12px}#member-photo{width:26px;height:26px}#header-logo{height:40px;max-width:100px}.app-nav{gap:8px;font-size:12px}}@media(max-height:600px){.catalog-page{grid-template-rows:repeat(3,76px)}.catalog-tile img{height:32px}dialog.bottom-sheet{max-height:94dvh}}

#chat-actions #open-redeem{background:#243252}#redeem-status{font-size:13px;color:#c5d1e7;min-height:20px}#redeem-fields{border:0;padding:0;margin:0;display:grid;gap:8px;min-width:0}#redeem-fields label{font-size:14px;margin-top:4px}#redeem-fields input,#redeem-fields select{width:100%;min-width:0;border:1px solid #4b5d7d;background:#0d1729;color:#fff;padding:11px;border-radius:10px;font-size:16px}#redeem-fields input[readonly]{background:#243252;color:#c7d4ed}.redeem-balance-row,.redeem-total{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;font-size:14px}.redeem-balance-row button{background:transparent;color:#c6d3ff;border:1px solid #546581;border-radius:8px;min-height:36px;font-size:12px;padding:6px 10px}.redeem-total{border-top:1px solid #43536c;margin-top:8px;font-weight:650}.redeem-note{font-size:12px;color:#b9c8df}#submit-redeem{border:0;border-radius:12px;padding:13px;color:#fff;background:#6269ef;font-weight:650;min-height:44px}#submit-redeem:disabled,#refresh-redeem-balance:disabled{opacity:.45}#redeem-sheet header{position:sticky;top:-18px;background:#18253c;z-index:1;padding-top:8px}

.catalog-platform-balance{font-size:12px;color:#c9dfcf;font-variant-numeric:tabular-nums}

/* Anchor the shell to the visible viewport, including iOS keyboard panning. */
html,body.standalone-chat{height:100%;overflow:hidden;overscroll-behavior:none}body.standalone-chat #chat-app{position:fixed;top:var(--chat-top,0px);left:0;right:0;width:100%;height:var(--chat-height,100dvh);overflow:hidden}#login-panel{min-height:0;overscroll-behavior:contain}.keyboard-open #install-banner,.keyboard-open #chat-actions{display:none!important}.keyboard-open #chat-app{padding-bottom:0}.keyboard-open .app-nav{padding-top:4px;padding-bottom:4px}.keyboard-open #website-chat .chat-compose{padding-top:6px;padding-bottom:6px}dialog.bottom-sheet{bottom:calc(100% - var(--chat-top,0px) - var(--chat-height,100dvh));max-height:calc(var(--chat-height,100dvh) - 12px)}

.redeem-platform-row,.redeem-field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}.redeem-field-row{margin-top:10px}.redeem-field-row>div{display:grid;grid-template-rows:auto 1fr;gap:7px;min-width:0}.redeem-logo-picker{position:relative;min-height:84px;border:1px solid #4b5d7d;border-radius:12px;background:#0d1729;min-width:0}.redeem-logo-picker:focus-within{outline:2px solid #b8c4ff;outline-offset:3px}.redeem-logo-face{height:100%;min-height:84px;display:flex;align-items:center;justify-content:center;padding:12px 28px 12px 12px}.redeem-logo-face img{width:100%;height:58px;object-fit:contain}.redeem-logo-face span{font-size:13px;overflow-wrap:anywhere}.redeem-picker-arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%)}#redeem-fields .redeem-logo-picker select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.redeem-platform-row .redeem-balance-row{flex-direction:column;align-items:flex-end;justify-content:center;padding:8px 0;text-align:right;min-width:0;overflow-wrap:anywhere}#redeem-fields .redeem-field-row label{font-size:13px;line-height:1.4}@media(max-width:360px){.redeem-platform-row,.redeem-field-row{gap:8px}#redeem-fields .redeem-field-row label{min-height:36px;display:flex;align-items:flex-end}}

#catalog-status:empty{display:none}
#member-avatar{position:relative;display:inline-flex;flex:none;align-items:center}
#member-avatar:has(#member-photo[hidden]):has(#member-social-badge:not([hidden])){width:34px;height:34px;border-radius:50%;background:#34445d}
#member-social-badge{position:absolute;right:-3px;bottom:-3px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;font:bold 12px Arial,sans-serif;box-shadow:0 0 0 2px #121c2d}
#member-social-badge.facebook{background:#1877f2;color:white}#member-social-badge.google{background:white;color:#4285f4}




.redeem-platform-row{grid-template-columns:minmax(0,1fr);gap:4px}
.redeem-platform-row .redeem-logo-face{justify-content:flex-start;gap:18px;min-height:72px;padding-right:32px}
.redeem-platform-row .redeem-logo-picker{min-height:72px}
.redeem-platform-row .redeem-logo-face img{width:120px;max-width:36%;height:48px;flex-shrink:0}
.redeem-platform-row .redeem-inline-balance{color:#2cc739;font-size:16px}
.redeem-platform-row .redeem-balance-row{padding:0;flex-direction:row;justify-content:flex-end}
@media(max-width:360px){.redeem-platform-row{gap:4px}.redeem-platform-row .redeem-logo-face{gap:10px}}

.app-nav{position:relative;justify-content:flex-start}#brand{margin-right:auto;text-align:left}#header-logo{margin-left:0}.account-corner{margin-left:auto}
#chat-settings{position:relative;flex:none}#chat-settings>summary{list-style:none;cursor:pointer;width:40px;height:44px;display:grid;place-items:center;font-size:25px}#chat-settings>summary::-webkit-details-marker{display:none}
.settings-box{position:absolute;right:0;top:100%;width:190px;padding:8px;background:#1e2c45;border:1px solid #4b5d7d;border-radius:12px;box-shadow:0 12px 32px #0007;z-index:30}
.settings-box a,.settings-box button{display:flex;width:100%;align-items:center;min-height:44px;padding:8px 12px;text-align:left;font:inherit;color:#edf1ff;background:none;border:0;border-radius:6px}
.settings-box a:hover,.settings-box button:hover{background:#34445d}
body.standalone-chat #website-chat .chat-compose{justify-content:flex-end;gap:10px}
body.standalone-chat #website-chat .chat-compose>textarea{flex:0 0 calc((100% - 74px)*.7);width:calc((100% - 74px)*.7);min-width:0}
body.standalone-chat #website-chat .chat-compose>button{min-width:44px;width:44px;display:grid;place-items:center;padding:8px}

.settings-box{width:min(250px,calc(100vw - 32px))}#settings-account{padding:10px 12px 14px;border-bottom:1px solid #4b5d7d;margin-bottom:6px;text-align:left}#settings-account small{display:block}#member-balance{color:#2cc739;margin-top:6px;font-size:12px}.settings-box a{justify-content:space-between;gap:8px}
body.standalone-chat #website-chat .chat-compose{position:relative;flex-wrap:wrap}
.composer-tools{flex:0 0 100%;display:flex;align-items:center;justify-content:flex-end;gap:8px;position:relative;min-width:0}
body.standalone-chat #website-chat .composer-tools button{min-width:36px;min-height:36px;padding:4px 8px;border:1px solid #4b5d7d;border-radius:8px;background:#1e2c45;color:#edf1ff;font-size:22px}
.composer-filename{font-size:11px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-emojis{position:absolute;bottom:100%;right:0;display:grid;grid-template-columns:repeat(4,40px);padding:8px;background:#1e2c45;border:1px solid #4b5d7d;border-radius:10px;z-index:4}

/* Bubble cap scales down with the conversation on smaller screens. */
body.standalone-chat #website-chat .chat-message{width:min(500px,92%);max-width:92%;box-sizing:border-box}
#chat-settings>summary{font-size:40px;width:48px;height:48px;line-height:1}
body.standalone-chat #website-chat .chat-compose{display:grid;grid-template-columns:minmax(64px,.3fr) minmax(0,.7fr) 44px;align-items:stretch;gap:8px}
body.standalone-chat #website-chat .chat-compose>textarea{grid-column:2;grid-row:1;width:100%;min-width:0}
body.standalone-chat #website-chat .chat-compose>button[type=submit]{grid-column:3;grid-row:1}
body.standalone-chat #website-chat .chat-compose>#open-actions{grid-column:1;grid-row:1;width:auto;font-size:13px;align-self:center;min-height:44px}
body.standalone-chat #website-chat .composer-tools{grid-column:2/4;justify-content:flex-start}
.composer-emojis{left:0;right:auto}
#chat-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;border:0;background:none}
#chat-actions button{padding:12px}
#games-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#games-list button{min-width:0;overflow-wrap:anywhere;padding:14px;background:#243252;color:#edf1ff;border:1px solid #546581;border-radius:10px;font:inherit}
.keyboard-open #actions-sheet #chat-actions{display:grid!important}

/* Inline disclosure below the composer; four actions stay on one row. */
#chat-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px 14px;border-top:1px solid #344561;background:#1e2c45}
#chat-actions button{padding:8px 3px;min-width:0;font-size:12px;white-space:nowrap}
#chat-actions #open-platforms{font-size:14px}
body.standalone-chat #website-chat .composer-tools{grid-column:1/-1;grid-row:2;justify-content:flex-start}
#header-account{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:right}
#header-member-name{font-size:14px;overflow-wrap:anywhere}#header-member-balance{font-size:12px;color:#2cc739;overflow-wrap:anywhere}
@media(max-width:440px){#header-member-name{font-size:12px}#header-member-balance{font-size:11px}.account-corner{max-width:none}#member-profile{gap:6px}.app-nav{grid-template-columns:minmax(70px,1fr) auto auto}}

/* Compact composer controls; preserve attachment feedback when selected. */
body.standalone-chat #website-chat .chat-compose>#open-actions{width:100px;max-width:100%;height:36px;min-height:36px;padding:0;box-sizing:border-box;justify-self:start}
body.standalone-chat #website-chat .composer-tools{width:120px;max-width:100%;height:35px;min-height:35px;align-items:flex-start}
body.standalone-chat #website-chat .composer-tools>button{height:36px;min-height:36px;line-height:1;padding:0 8px;box-sizing:border-box;flex-shrink:0}
body.standalone-chat #website-chat .composer-tools:has(.composer-filename:not(:empty)){width:auto;height:auto;min-height:36px;flex-wrap:wrap}

/* Group Actions and attachment controls in the composer's left column. */
body.standalone-chat #website-chat .chat-compose{grid-template-columns:100px minmax(0,1fr) 44px}
body.standalone-chat #website-chat .composer-tools,body.standalone-chat #website-chat .composer-tools:has(.composer-filename:not(:empty)){grid-column:1;grid-row:1;display:grid;grid-template-columns:36px 36px;justify-content:start;align-content:start;gap:6px 8px;width:100px;max-width:100%;height:auto;min-height:78px}
body.standalone-chat #website-chat .composer-tools>#open-actions{grid-column:1/-1;grid-row:1;width:100px;max-width:none;height:36px;min-height:36px;padding:0;font-size:13px;background:#6269ef;border:0}
body.standalone-chat #website-chat .composer-tools>.composer-upload{grid-column:1;grid-row:2}
body.standalone-chat #website-chat .composer-tools>.composer-emoji{grid-column:2;grid-row:2}
body.standalone-chat #website-chat .composer-tools>.composer-filename{grid-column:1/-1;max-width:100px}
body.standalone-chat #website-chat .composer-tools>.composer-filename:empty{display:none}

/* Redeem steps and compact two-column composer tools. */
body.standalone-chat #redeem-title{color:#2cc739}
.redeem-progress{display:flex;gap:8px;list-style:none;padding:0;margin:12px 0 20px}
.redeem-progress li{flex:1;padding:8px 4px;text-align:center;color:#b8c5dc;border-bottom:2px solid #475b7b}
.redeem-progress [aria-current=step]{color:#2cc739;border-color:#2cc739;font-weight:700}
#redeem-fields>fieldset{border:0;padding:0;margin:0;min-width:0}
#redeem-sheet [hidden]{display:none!important}
#redeem-payout-step>input{width:100%;box-sizing:border-box;margin-bottom:16px}
#redeem-review dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
#redeem-review dd{margin:0;overflow-wrap:anywhere}
#redeem-review img{display:block;max-width:70%;max-height:196px;margin:12px 0 12px auto;border-radius:8px}
#redeem-next,#redeem-back,#payout-remove-image{border:1px solid #546581;border-radius:12px;padding:12px;color:#fff;background:#243252;min-height:44px}#redeem-next{background:#6269ef;border:0;font-weight:650}#redeem-next:disabled{opacity:.45}#redeem-payout-step>label{display:block;margin:14px 0 8px}
.redeem-navigation{display:flex;gap:12px;margin-top:20px}.redeem-navigation button{flex:1}
body.standalone-chat #website-chat .chat-compose{grid-template-columns:80px minmax(0,1fr) 44px}
body.standalone-chat #website-chat .composer-tools,body.standalone-chat #website-chat .composer-tools:has(.composer-filename:not(:empty)){width:80px;grid-template-columns:36px 36px;gap:6px 8px;min-height:78px}

/* V2 install control and persistent app navigation. */
#install-app{border:1px solid #7a84ff;border-radius:10px;background:#384bb4;color:#fff;font-size:12px;font-weight:700;padding:8px 10px;min-height:40px;white-space:nowrap}
.app-nav{grid-template-columns:auto minmax(0,1fr) auto auto}
@media(max-width:440px){.app-nav{grid-template-columns:minmax(65px,1fr) auto auto auto;gap:6px;padding-inline:8px}#header-logo{max-width:108px}#install-app{font-size:11px;padding-inline:7px}}
body.standalone-chat #website-chat .composer-tools>#open-actions{display:none}
body.standalone-chat #website-chat .chat-compose{grid-template-columns:80px minmax(0,1fr) 44px}
body.standalone-chat #website-chat .composer-tools,body.standalone-chat #website-chat .composer-tools:has(.composer-filename:not(:empty)){min-height:36px;grid-template-rows:36px}
body.standalone-chat #website-chat .composer-tools>.composer-upload{grid-column:1;grid-row:1}
body.standalone-chat #website-chat .composer-tools>.composer-emoji{grid-column:2;grid-row:1}
#chat-actions{gap:4px;padding:7px 8px 5px;background:#17243a;border-top:1px solid #3c4c69}
#chat-actions button,#chat-actions #open-platforms{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;padding:4px 2px;border:1px solid transparent;border-radius:11px;background:transparent;color:#c8d3ec;font-size:11px;font-weight:650;line-height:1.15;white-space:normal}
#chat-actions button .action-icon{font-size:21px;line-height:1}
#chat-actions button[aria-pressed="true"]{background:#3449a3;border-color:#7a84ff;color:#fff}
#chat-actions button:focus-visible{outline:2px solid #b8c4ff;outline-offset:1px}
body.standalone-chat #website-chat .composer-tools>#open-actions{grid-column:1;grid-row:1/3;width:36px;height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:24px;gap:4px}
#open-actions .action-chevron{font-size:22px;line-height:16px}#open-actions[aria-expanded=true] .action-chevron{transform:rotate(180deg)}
body.standalone-chat #website-chat .composer-tools>.composer-upload{grid-column:2;grid-row:1}
body.standalone-chat #website-chat .composer-tools>.composer-emoji{grid-column:2;grid-row:2}

#registration-frame{display:block;width:100%;border:0;min-height:360px;color-scheme:dark}
#link-existing-account{display:block;background:none;border:0;color:#bfd0ff;padding:14px 0;text-align:left;font-size:13px}
#register-link{display:block;margin-top:16px}

/* Account creation belongs to the conversation area, over one continuous wallpaper. */
#auth-conversation{display:flex;flex:1;min-height:0;flex-direction:column}
#auth-message-area{flex:1;min-height:0;overflow:auto;padding:24px 18px;background-color:#102039;background-image:linear-gradient(#10203940,#10203940),url('/sportsbook/chat-wallpaper-midnight.png');background-size:cover;background-position:center;background-repeat:no-repeat}
#auth-message-area #login-panel{width:100%;max-width:550px;margin:0 auto;padding:22px;overflow:visible;background:rgba(18,28,45,.9);border:1px solid #435776;border-radius:16px;box-shadow:0 8px 24px #0003}
#auth-message-area #auth-heading{font-size:21px;margin:0 0 18px;line-height:1.3}
#auth-composer{flex:none;padding:22px 16px;text-align:center;color:#b7c5dc;background:#121c2d;border-top:1px solid #30415b;font-size:13px}
@media(max-width:480px){#auth-message-area{padding:16px 10px}#auth-message-area #login-panel{padding:16px 12px}}

#login-status:empty{display:none}
#create-account-prompt{font-size:13px;margin:16px 0}
#chat-create-account{border:0;background:none;color:#bfd0ff;font:inherit;font-weight:650;padding:4px 0;cursor:pointer;text-decoration:underline}
#auth-message-area #login-panel{opacity:1}

/* Guest and member modes share the enabled composer and action toolbar. */
body.standalone-chat #website-chat #auth-message-area{padding:24px 18px}
body.standalone-chat #website-chat .chat-intro{display:none}
#auth-message-area #login-panel{margin-bottom:20px}
@media(max-width:480px){body.standalone-chat #website-chat #auth-message-area{padding:16px 10px}}

/* Controls for the original chat when opened inside Play Now. */
.playnow-chat-embed .app-nav { z-index: 5; }
.playnow-chat-embed #brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.playnow-chat-embed #header-logo { max-width: clamp(62px, 27vw, 140px); }
.embedded-chat-title { white-space: nowrap; font-size: clamp(12px, 3.5vw, 16px); }
.embedded-chat-close {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 24px;
}
.playnow-chat-embed #chat-settings { position: absolute; top: calc(100% + 6px); right: 10px; }
.playnow-chat-embed #chat-settings > summary {
  font-size: 26px;
  background: transparent;
  border: 0;
}
.playnow-chat-embed #chat-settings > summary:focus-visible {
  outline: 2px solid #b8c4ff;
  outline-offset: 2px;
}
.playnow-chat-embed #chat-settings[open] .settings-box {
  width: min(250px, calc(100vw - 24px));
  max-height: 64dvh;
  overflow: auto;
  animation: chat-settings-enter .22s ease-out;
}
@keyframes chat-settings-enter { from { transform: translateX(105%); } }
@media (prefers-reduced-motion: reduce) {
  .playnow-chat-embed #chat-settings[open] .settings-box { animation: none; }
}

.playnow-chat-embed #member-login {
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  column-gap: 12px;
}
.playnow-chat-embed #member-login > label[for],
.playnow-chat-embed #member-login > input { grid-column: 1 / -1; }
.playnow-chat-embed #login-panel .remember-option { margin-top: 0; }
.playnow-chat-embed #create-account-prompt { font-size: 15px; }

/* The compact Play Now iframe uses two game tiles per row. */
.playnow-chat-embed #games-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.playnow-chat-embed #games-list button{min-width:0;overflow-wrap:anywhere}



/* Let the game use only the space remaining above the navigation. */
body.standalone-chat #website-chat .chat-upload-panel{min-height:0;overflow:hidden}
body.standalone-chat #website-chat .chat-upload-panel>button,body.standalone-chat #website-chat .chat-upload-panel>strong{flex:none}
body.standalone-chat #website-chat .chat-upload-panel iframe{display:block;flex:1 1 0;min-height:0;min-width:0;background:#0b1322}

/* Embedded drawer only: retain standalone full-page chat sizing. */
html.playnow-chat-embed #auth-message-area #login-panel{width:85%;max-width:85%;box-sizing:border-box;margin-inline:auto}
html.playnow-chat-embed body.standalone-chat #website-chat .chat-message{width:fit-content;max-width:75%;min-width:0;overflow-wrap:anywhere}
html.playnow-chat-embed #website-chat .chat-message.mine{margin-left:auto;margin-right:0}
html.playnow-chat-embed #website-chat .chat-message.theirs{margin-right:auto;margin-left:0}

/* Keep V2 navigation above the older composer and action color overrides. */
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .composer-tools>#open-actions{display:none!important}
html:not(.playnow-chat-embed) #chat-actions #open-platforms,
html:not(.playnow-chat-embed) #chat-actions #open-payments,
html:not(.playnow-chat-embed) #chat-actions #open-redeem,
html:not(.playnow-chat-embed) #chat-actions #open-games{background:transparent;border-color:transparent;color:#c8d3ec;font-size:11px}
html:not(.playnow-chat-embed) #chat-actions button[aria-pressed="true"]{background:#3449a3;border-color:#7a84ff;color:#fff}

/* Mobile-first sign-in card and one-row, three-line composer. */
html:not(.playnow-chat-embed) #auth-message-area #login-panel{width:calc(100% - 20px);max-width:420px;padding:16px;margin:0 auto 14px}
html:not(.playnow-chat-embed) #auth-message-area #auth-heading{font-size:20px;margin-bottom:12px}
html:not(.playnow-chat-embed) #login-panel form{gap:5px;margin:14px 0 8px}
html:not(.playnow-chat-embed) #login-panel input:not([type=checkbox]){min-height:44px;padding:10px 12px;margin-bottom:7px}
html:not(.playnow-chat-embed) #login-panel .remember-option{min-height:32px;margin-top:5px}
html:not(.playnow-chat-embed) #create-account-prompt{margin:8px 0 0}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .chat-compose{display:grid;grid-template-columns:76px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:8px 12px;flex-wrap:nowrap}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .composer-tools,
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .composer-tools:has(.composer-filename:not(:empty)){grid-column:1;grid-row:1;display:grid;grid-template-columns:36px 36px;grid-template-rows:44px;align-items:center;gap:4px;width:76px;min-height:44px;height:auto}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .composer-tools>.composer-upload{grid-column:1;grid-row:1}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .composer-tools>.composer-emoji{grid-column:2;grid-row:1}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .chat-compose>textarea{grid-column:2;grid-row:1;width:100%;min-height:44px;max-height:92px;overflow-y:auto;resize:none}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .chat-compose>button[type=submit]{grid-column:3;grid-row:1;min-width:44px;width:44px;height:44px;min-height:44px}

/* Settings screens stay within the mobile app viewport. */
html:not(.playnow-chat-embed) .settings-box{max-height:calc(var(--chat-height,100dvh) - 72px);overflow-y:auto;overscroll-behavior:contain}
#settings-sheet-content{display:grid;gap:10px;padding-bottom:8px}
#settings-sheet-content .settings-detail{display:flex;justify-content:space-between;gap:16px;margin:0;padding:12px;border:1px solid #435776;border-radius:11px;color:#edf1ff}
#settings-sheet-content .settings-detail span{text-align:right;overflow-wrap:anywhere}
#settings-sheet-content .settings-note{margin:0;padding:12px;color:#c4d0e5}
#settings-sheet-content .settings-action-link{display:block;padding:13px 14px;min-height:44px;border:1px solid #7a84ff;border-radius:11px;background:#3449a3;color:#fff;font-weight:650}

/* App action sheets share the conversation edge above the composer. */
html:not(.playnow-chat-embed) body.standalone-chat #website-chat :is(#catalog-sheet,#redeem-sheet,#games-sheet){position:absolute;inset:auto 0 auto 0;margin:0;width:100%;max-width:100%;z-index:8;border-radius:18px 18px 0 0;box-shadow:0 -12px 30px #0008;overflow-y:auto;overscroll-behavior:contain}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat :is(#catalog-sheet,#redeem-sheet,#games-sheet)[open]{animation:chat-action-rise .24s ease-out both}
@keyframes chat-action-rise{from{clip-path:inset(100% 0 0 0 round 18px 18px 0 0)}to{clip-path:inset(0 0 0 0 round 18px 18px 0 0)}}
@media(prefers-reduced-motion:reduce){html:not(.playnow-chat-embed) body.standalone-chat #website-chat :is(#catalog-sheet,#redeem-sheet,#games-sheet)[open]{animation:none}}

/* The standalone guest opens sign-in from the default Play Now artwork. */
html.playnow-chat-embed #chat-hero,
html:not(.playnow-chat-embed):not(.chat-auth-open) #auth-message-area #login-panel{display:none!important}
html:not(.playnow-chat-embed) #auth-message-area #chat-hero{width:calc(100% - 20px);max-width:420px;margin:0 auto 14px;display:grid;gap:12px}
html:not(.playnow-chat-embed) #chat-hero video{display:block;width:100%;max-height:min(60dvh,560px);object-fit:contain;border-radius:16px;background:#0b1322}
html:not(.playnow-chat-embed) #hero-play-now{min-height:48px;width:100%;border:1px solid #8b95ff;border-radius:12px;background:#6269ef;color:#fff;font-weight:700;font-size:16px}
html:not(.playnow-chat-embed).chat-auth-open #hero-play-now{display:none}
html:not(.playnow-chat-embed).chat-auth-open #chat-hero video{max-height:220px}
html:not(.playnow-chat-embed).chat-auth-open #auth-message-area #login-panel{animation:chat-auth-enter .28s ease-out both}
@keyframes chat-auth-enter{from{transform:translateX(100%);opacity:.5}to{transform:translateX(0);opacity:1}}
@media(prefers-reduced-motion:reduce){html:not(.playnow-chat-embed).chat-auth-open #auth-message-area #login-panel{animation:none}}
html:not(.playnow-chat-embed) #login-panel .login-submit-row{display:flex;align-items:center;gap:10px;margin-top:5px}
html:not(.playnow-chat-embed) #login-panel .login-submit-row .remember-option{flex:1;min-width:0;margin:0}
html:not(.playnow-chat-embed) #login-panel .login-submit-row #sign-in{flex:0 0 52%;min-height:44px;padding:8px 10px;font-size:13px;line-height:1.2}
html:not(.playnow-chat-embed) #chat-actions :is(#open-platforms,#open-payments,#open-redeem,#open-games)[aria-pressed="true"]{background:#555;border-color:#7a84ff;color:#fff}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat #games-sheet{background:rgba(24,37,60,.9)}
html:not(.playnow-chat-embed) body.standalone-chat #website-chat .chat-compose{position:relative;top:5px}
