/* Slightly smaller covers across home rails and separate game catalogs. */
.game .game-cover{width:94%;margin-inline:auto}
.game .game-info{padding-inline:3%;box-sizing:border-box}
.live-card .live-image{width:94%;margin:3% auto 0;border-radius:8px}
.ui-search-results>a>img{width:64px;height:86px;object-fit:cover}

.sample-panel{min-width:0}
.sample-filter{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:4px 0 17px;padding:14px;border:1px solid #43554e;border-radius:10px;background:#202a25}
.sample-filter .ui-field{flex:1 1 132px;min-width:0;gap:6px;margin:0}
.sample-filter .ui-field>span{font-size:11px;color:#a6bbb0}
.sample-filter :is(input,select){width:100%;min-width:0;max-width:100%;height:40px;box-sizing:border-box;background:#1a231f;border:1px solid #40544a;border-radius:6px;color:#cfe2d7;padding:7px 11px;font:inherit;font-size:12px;color-scheme:dark}
.sample-filter select{padding-right:32px}
.sample-filter .btn{min-height:40px;font-size:12px;gap:6px;display:inline-flex;align-items:center;justify-content:center}
.sample-filter .btn .icon{width:15px;height:15px}
.sample-query-error{flex:1 0 100%;font-size:12px;color:#ffa9b3;margin:0;line-height:1.5}
.sample-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0 0 17px}
.sample-metrics>div{min-width:0;background:linear-gradient(130deg,#26403444,#233029);border:1px solid #425a4c;border-radius:10px;padding:14px}
.sample-metrics>div>small{font-size:11px;color:#91af9a;display:block;margin-bottom:7px}
.sample-metrics>div>strong{color:#dcf7e7;font-size:21px;font-weight:600;line-height:1.35;font-variant-numeric:tabular-nums}
.sample-money{display:inline-grid;grid-template-columns:var(--sample-number-width,max-content) max-content;align-items:baseline;column-gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:inherit}
.sample-money>.sample-currency{display:block!important;margin:0!important;padding:0!important;font-size:10px!important;font-weight:400;color:#91ac9c;line-height:inherit;text-align:left;letter-spacing:0}
.sample-number{min-width:0;text-align:left}
.sample-cell-stack{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}
.sample-cell-stack>b{font-weight:550;color:#dcece2}
.sample-cell-stack>small{margin:0!important;padding:0!important;text-align:left;line-height:1.5}
.sample-data-table time{display:flex;flex-direction:column;align-items:flex-start;text-align:left}
.sample-data-table time>small{margin:0!important;padding:0!important;text-align:left}
.sample-data-table{min-width:570px;font-variant-numeric:tabular-nums}
.sample-data-table :is(th,td){padding:11px 13px;font-size:12px;vertical-align:middle;line-height:1.65}
.sample-data-table th{white-space:nowrap}
.sample-data-table td>b{font-weight:550;color:#dcece2}
.sample-data-table td time{font-size:11px;white-space:nowrap}
.sample-data-table td time small{font-size:9px;color:#81988a;margin-top:0}
.sample-data-table td>.text-link{font-size:11px;white-space:nowrap}
.sample-data-table td:first-child{white-space:nowrap}
.sample-status{font-size:10px;color:#c9b782;background:#ad8e1720;border:1px solid #bbac5026;padding:4px 7px;border-radius:5px;white-space:nowrap;display:inline-block;line-height:1.3}
.sample-status.is-positive{color:#87dbb8;background:#29bb7920;border-color:#3ba87a30}
.sample-positive{color:#91e9be}
.sample-negative{color:#ef9caa}
.sample-data-note{font-size:11px;line-height:1.7;color:#809c8b;margin:14px 0 0;display:flex;align-items:flex-start;gap:7px}
.sample-data-note>.icon{width:13px;height:13px;flex-shrink:0;margin-top:3px}
.sample-result-count{font-size:11px;line-height:1.6;color:#98b6a2;margin:12px 0 0}
.sample-referral-code{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border:1px solid #4b7763;border-radius:10px;background:radial-gradient(at top left,#4bd49a26,transparent),#23312a;margin:10px 0 18px}
.sample-referral-code small{display:block;font-size:11px;color:#a5bfad;margin-bottom:8px}
.sample-referral-code input{width:min(100%,280px);border:0;background:transparent;outline-offset:4px;font-family:inherit;font-size:26px;letter-spacing:1px;color:#b6f6d1;font-variant-numeric:tabular-nums}
.sample-referral-code .btn,.sample-referral-link .btn{font-size:12px;min-height:40px}
.sample-referral-label{font-size:12px;color:#b5c9bc;display:block;margin:0 0 7px}
.sample-referral-link{display:flex;gap:9px;align-items:stretch;min-width:0}
.sample-referral-link input{flex:1;min-width:0;border:1px solid #435d4e;border-radius:7px;background:#1b2921;color:#b7d5c0;padding:10px 13px;font-size:12px}
.sample-register-preview{font-size:12px;display:inline-flex;align-items:center;gap:7px;min-height:38px;margin:3px 0 11px}
.sample-register-preview .icon{width:14px;height:14px}
.sample-referral-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.sample-referral-actions .btn{font-size:12px;min-height:38px}
.sample-notice-actions{display:flex;justify-content:space-between;gap:15px}
.sample-notice-actions .text-link{font-size:12px;min-height:36px}

.wheel-preview .wheel-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:15px}
.wheel-preview .wheel-tabs .ui-tab{text-align:center;justify-content:center;min-width:0;font-size:12px;padding:8px 4px}
.wheel-preview .wheel-tabs .is-current{color:var(--wheel-accent);border-color:var(--wheel-accent);background:color-mix(in srgb,var(--wheel-dark) 50%,#25342d)}
.wheel-preview .ui-wheel-intro h2{margin:8px 0 10px;font-size:23px}
.wheel-meta{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:12px;color:#9bb4a5;font-size:11px;line-height:1.2}
.wheel-meta>.wheel-availability{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.wheel-meta .wheel-availability strong{margin:0;line-height:1}
.wheel-meta>span:first-child{color:var(--wheel-accent)}
.wheel-meta strong{font-size:20px;color:var(--wheel-accent);font-variant-numeric:tabular-nums}
.wheel-preview .ui-wheel-shell{width:min(310px,calc(100vw - 86px));height:auto;aspect-ratio:1;margin:24px auto}
.wheel-preview .ui-wheel{border-color:var(--wheel-accent);background:repeating-conic-gradient(from 0deg,#26362e 0deg 36deg,var(--wheel-dark) 36deg 72deg);box-shadow:0 0 0 4px #26332b,0 0 0 5px var(--wheel-accent),0 12px 30px #0006,inset 0 0 25px #0006;transition:transform 5.2s cubic-bezier(.15,.5,.1,1)}
.wheel-preview .ui-wheel>span{transform:rotate(calc(var(--i)*36deg + 18deg));flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;padding-top:20px;line-height:1.25}
.wheel-preview .ui-wheel>span>b{font-size:13px;color:#ecfff4;font-weight:700;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #000}
.wheel-preview .ui-wheel>span>small{font-size:8px;color:#accfba}
.wheel-preview .ui-wheel-center{width:60px;height:60px;border-color:var(--wheel-accent);background:#24392d;box-shadow:0 0 0 5px #203026}
.wheel-preview .ui-wheel-center img{width:37px;height:37px;object-fit:contain}
.wheel-preview .ui-wheel-pointer{border-top-color:var(--wheel-accent)}
.wheel-preview>.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
.wheel-preview>.btn>.icon{width:18px;height:18px}
.wheel-preview>.btn:disabled{opacity:.55;cursor:wait;transform:none}
.wheel-spin-status{color:#a2bdab;font-size:11px;line-height:1.6;text-align:center;margin:10px 0 15px}
.wheel-prize-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.wheel-prize-grid>div{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 5px;border:1px solid #526551;border-radius:8px;background:#23332966;min-width:0}
.wheel-prize-grid small{font-size:9px;color:#91ab98}
.wheel-prize-grid b{font-size:14px;color:var(--wheel-accent);font-variant-numeric:tabular-nums}
.wheel-prize-grid span{font-size:9px;color:#a3b5a7}
.wheel-links{display:flex;justify-content:space-between;gap:15px;margin:12px 0 0}
.wheel-links .text-link{display:flex;align-items:center;gap:6px;font-size:12px;min-height:36px}
.wheel-links .icon{width:14px;height:14px}
.wheel-result h2 small{font-size:14px;color:#acccba}
.wheel-result>.text-link{display:inline-flex;align-items:center;min-height:40px;font-size:12px;margin-top:8px}
@media(max-width:760px){
 .sample-filter{gap:10px 8px;padding:12px}
 .sample-filter .ui-field{flex:1 1 calc(50% - 8px)}
 .sample-filter :is(input,select){font-size:16px;height:44px;padding:8px;letter-spacing:-.2px}
 .sample-filter>.btn{min-height:44px;flex:1 0 100%}
 .sample-metrics{gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .sample-metrics>div{padding:12px 10px}
 .sample-metrics>div>strong{font-size:18px}
 .sample-metrics>div>small{font-size:10px}
 .sample-referral-code{padding:14px;gap:10px;flex-wrap:wrap}
 .sample-referral-code input{width:min(100%,280px);border:0;background:transparent;outline-offset:4px;font-family:inherit;font-size:23px}
 .sample-referral-link{flex-wrap:wrap}
 .sample-referral-link input{width:100%;flex-basis:100%;font-size:16px;height:44px;box-sizing:border-box}
 .sample-referral-link>.btn{flex:1;min-height:44px}
 .sample-referral-actions>.btn{flex:1;white-space:nowrap}
 .wheel-preview .ui-wheel-shell{width:min(280px,calc(100vw - 72px));margin:22px auto}
 .wheel-preview .ui-wheel>span{padding-top:15px}
 .wheel-preview .ui-wheel>span>b{font-size:11px}
 .wheel-prize-grid b{font-size:12px}
 .wheel-preview .ui-wheel-center{width:50px;height:50px}
 .wheel-preview .ui-wheel-center img{width:31px;height:31px}
}
@media(prefers-reduced-motion:reduce){.wheel-preview .ui-wheel{transition:none!important}}

.sample-referral-code input:focus-visible{outline:2px solid #7aebce;border-radius:4px}
@media(max-width:760px){.sample-referral-code input{width:100%;font-size:23px}}

@media(max-width:480px){.wheel-prize-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wheel-preview .ui-wheel>span>b{font-size:12px}}

/* Keep the wheel and its actions together, sized to the available viewport. */
dialog.service-modal:has(.wheel-preview),dialog.service-modal:has(.wheel-result){width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
dialog.service-modal:has(.wheel-preview) .service-modal-header,dialog.service-modal:has(.wheel-result) .service-modal-header{padding:12px 18px}
dialog.service-modal:has(.wheel-preview) .service-modal-header h1,dialog.service-modal:has(.wheel-result) .service-modal-header h1{font-size:20px;margin-top:4px}
dialog.service-modal .service-modal-content:has(>.wheel-preview){padding:14px 18px;overflow:visible;scrollbar-gutter:auto;flex:0 0 auto}
.wheel-preview[data-wheel-kind]{display:grid;gap:6px}
.wheel-preview[data-wheel-kind] .wheel-tabs{padding:0;margin:0;gap:6px;overflow:visible}
.wheel-preview[data-wheel-kind] .wheel-tabs .ui-tab{min-height:40px;padding:5px 4px;font-size:12px}
.wheel-preview[data-wheel-kind]>.state-preview-toggle{top:48px}
.wheel-preview[data-wheel-kind]>.ui-wheel-intro{padding-inline:28px}
.wheel-preview[data-wheel-kind] .ui-wheel-intro h2{font-size:18px;line-height:1.5;margin:0 0 4px}
.wheel-preview[data-wheel-kind] .wheel-meta{gap:9px;min-height:22px}
.wheel-preview[data-wheel-kind] .wheel-availability{gap:5px}
.wheel-preview[data-wheel-kind] .wheel-meta strong{font-size:18px}
.wheel-preview[data-wheel-kind] .ui-wheel-shell{width:min(300px,calc(100vw - 88px),calc(100dvh - 354px));height:auto;aspect-ratio:1;margin:10px auto 8px}
.wheel-preview[data-wheel-kind] .ui-wheel{border-width:7px;overflow:hidden}
.wheel-preview[data-wheel-kind] .ui-wheel>span{padding-top:12px}
.wheel-preview[data-wheel-kind] .ui-wheel>span>b{font-size:12px}
.wheel-preview[data-wheel-kind] .ui-wheel-center{width:48px;height:48px;border-width:3px}
.wheel-preview[data-wheel-kind] .ui-wheel-center img{width:30px;height:30px}
.wheel-preview[data-wheel-kind]>.btn{min-height:44px;margin:0}
.wheel-preview[data-wheel-kind] .wheel-spin-status{margin:0;min-height:18px;font-size:10px;line-height:1.8}
.wheel-preview[data-wheel-kind] .wheel-links{margin:0;gap:12px}
.wheel-preview[data-wheel-kind] .wheel-links .text-link{min-height:38px;font-size:12px}
@media(max-height:620px){
 .wheel-preview[data-wheel-kind] .ui-wheel>span{padding-top:9px}
 .wheel-preview[data-wheel-kind] .ui-wheel>span>b{font-size:11px}
 .wheel-preview[data-wheel-kind] .ui-wheel>span>small{font-size:7px}
 .wheel-preview[data-wheel-kind] .ui-wheel-center{width:40px;height:40px}
 .wheel-preview[data-wheel-kind] .ui-wheel-center img{width:25px;height:25px}
}
/* A short landscape screen uses the free horizontal space instead of scrolling. */
@media(max-height:540px) and (min-width:600px){
 dialog.service-modal:has(.wheel-preview){width:min(680px,calc(100vw - 24px))}
 .wheel-preview[data-wheel-kind]{grid-template-columns:minmax(190px,1fr) minmax(200px,1fr);column-gap:22px;align-items:center}
 .wheel-preview[data-wheel-kind] .wheel-tabs{grid-column:1/-1}
 .wheel-preview[data-wheel-kind]>.ui-wheel-intro{grid-column:2;grid-row:2;padding:0 22px}
 .wheel-preview[data-wheel-kind] .ui-wheel-shell{grid-column:1;grid-row:2/6;width:min(250px,calc(100dvh - 168px));margin:9px auto}
 .wheel-preview[data-wheel-kind]>.btn{grid-column:2;grid-row:3}
 .wheel-preview[data-wheel-kind] .wheel-spin-status{grid-column:2;grid-row:4}
 .wheel-preview[data-wheel-kind] .wheel-links{grid-column:2;grid-row:5;justify-content:center;flex-wrap:wrap;gap:0 15px}
 .wheel-preview[data-wheel-kind]>.state-preview-toggle{top:48px}
}

/* Compact reward result after removing the explanatory paragraph. */
.wheel-result{padding:8px 0 2px}
.wheel-result .df-result-icon{width:64px;height:64px;margin-bottom:16px}
.wheel-result h2{margin:10px 0 16px}
.wheel-result .ui-summary{margin:16px 0}
.wheel-result .btn{margin-top:4px}
