@font-face{font-family:CountDisplay;src:url('./luckiest-guy.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:CountBody;src:url('./nunito-sans-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
.count-home{--count-bg:#0b1120;--count-muted:#a8b9d6;--count-blue:#216fad;color:#fff;background:var(--count-bg);font-family:CountBody,'Trebuchet MS',sans-serif;isolation:isolate;line-height:1.5;text-align:left}
.count-home *{box-sizing:border-box}
.count-home a{color:inherit;text-decoration:none}
.count-home button,.count-home input{font:inherit}
.count-home img{display:block;max-width:100%}
.count-home .count-display{font-family:CountDisplay,'Trebuchet MS',sans-serif;font-weight:400;color:#fff;line-height:1.02;letter-spacing:.015em;paint-order:stroke fill;-webkit-text-stroke:7px var(--count-blue);text-shadow:0 5px 0 #124e82;margin:0}
.count-hero{position:relative;width:100%;overflow:hidden;padding-bottom:18px}
.count-hero-scene{position:relative;height:590px;min-height:490px}
.count-backdrop,.count-backdrop img,.count-hero-shade{position:absolute;inset:0;width:100%;height:100%}
.count-backdrop img{object-fit:cover;object-position:center 54%}
.count-hero-shade{background:linear-gradient(180deg,rgba(18,14,52,.58) 0%,rgba(18,14,52,.23) 47%,rgba(11,17,32,.06) 65%,#0b1120 100%)}
.count-hero-copy{position:relative;z-index:1;max-width:570px;margin:auto;padding:42px 24px 0;text-align:center}
.count-hero-copy .count-display{font-size:54px;-webkit-text-stroke-width:9px;text-shadow:0 6px 0 #124e82}
.count-hero-copy p{max-width:450px;margin:15px auto 0;font-size:17px;line-height:1.4;font-weight:800;text-shadow:0 2px 4px #24224b}
.count-float{position:absolute;z-index:1;width:145px;height:150px;object-fit:contain;pointer-events:none;animation:count-float 5s ease-in-out infinite}
.count-float-left{left:2%;top:355px;transform:rotate(-8deg)}
.count-float-right{right:3%;top:165px;animation-delay:-2.5s}
.count-hero-actions{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column;margin:-54px auto 0;padding:0 20px}
.count-home .count-button{min-height:57px;min-width:176px;display:inline-flex;align-items:center;justify-content:center;border-radius:40px;border:3px solid #ffb31a;padding:11px 30px;font-size:19px;font-weight:900;line-height:1.2;cursor:pointer;text-align:center;transition:transform .15s,filter .15s;text-shadow:none}
.count-home .count-yellow{color:#663800;background:linear-gradient(#ffdf58 0%,#ffd139 49%,#ffb719 50%,#ffb719);box-shadow:inset 0 3px 0 #fff1a5,0 7px 0 #bd6904,0 14px 25px #ffa70026}
.count-home .count-teal{color:#084c49;background:linear-gradient(#b9f4e8 0%,#92e7d8 49%,#55ccbb 50%);border-color:#37a99c;box-shadow:inset 0 3px 0 #d5fff5,0 7px 0 #11695f}
.count-home .count-button:hover{filter:brightness(1.06);transform:translateY(-2px)}
.count-home .count-button:active{transform:translateY(3px)}
.count-home a:focus-visible,.count-home button:focus-visible,.count-home input:focus-visible{outline:3px solid #fff;outline-offset:5px}
.count-home .count-login{font-size:15px;color:#a3b3cf;text-decoration:underline;font-weight:800;margin-top:21px}
.count-tutorial{padding:55px 24px 42px}
.count-content{max-width:540px;margin:auto}
.count-content h2{font-size:29px;-webkit-text-stroke-width:5px!important}
.count-steps{padding:0;list-style:none;margin:35px 0 58px}
.count-steps li{display:grid;grid-template-columns:88px 1fr;gap:17px;position:relative;padding:0 0 26px}
.count-steps li:last-child{padding-bottom:0}
.count-steps li:not(:last-child)::before{content:'';position:absolute;left:43px;top:65px;bottom:0;border-left:2px dashed #2c3e5e}
.count-step-art{position:relative;display:flex;align-items:center;justify-content:center;width:88px;height:74px;border:2px solid #1f2d48;border-radius:18px;background:linear-gradient(145deg,#111b2e,#17233b)}
.count-step-art img{object-fit:contain;height:80px;width:84px}
.count-step-art.count-gates img{width:51px;height:62px;margin:0 -5px}
.count-steps h3{font-family:CountBody,'Trebuchet MS',sans-serif;font-size:20px;line-height:1.3;font-weight:900;margin:0 0 4px;color:#fff}
.count-steps p,.count-before dd{font-size:15px;color:var(--count-muted);line-height:1.48;margin:0}
.count-before dl{margin:28px 0 0}
.count-before dl>div{border-top:1px solid #26334b;padding:15px 0}
.count-before dl>div:last-child{border-bottom:1px solid #26334b}
.count-before dt{font-weight:900;font-size:18px;color:#ffc527;margin:0 0 2px}
.count-final{text-align:center;padding-top:34px}
.count-final-crowd{width:215px;height:160px;object-fit:contain;margin:0 auto 10px}
.count-final>p{font-size:15px;line-height:1.5;color:var(--count-muted);max-width:450px;margin:22px auto}
.count-final-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin:25px 0 42px}
.count-final .count-responsible{font-size:12px;line-height:1.8;color:#8294b4;margin-bottom:0}
.count-account{width:min(100%,440px);padding:23px;border:1px solid #2c4162;border-radius:23px;background:linear-gradient(145deg,#18243b,#0e1729);box-shadow:0 14px 45px #0005;text-align:center}
.count-wallet span{display:block;color:#92a8cb;font-size:11px;letter-spacing:.15em;font-weight:800}
.count-wallet strong{font-size:28px;color:#fff}
.count-wallet-actions{display:flex;gap:10px;justify-content:center;margin:15px 0 23px}
.count-wallet-actions a,.count-wallet-actions button{background:#21334e;border:1px solid #354d6b;border-radius:9px;color:#d4e6ff;font-size:14px;padding:7px 12px;cursor:pointer}
.count-account>.count-button{width:100%}
.count-account>.count-login{display:inline-block}
.count-account-note{font-size:12px;color:#94a7c4;line-height:1.45;margin:13px 0 0}
.count-invite-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;color:#fff;background:linear-gradient(145deg,#192e4b,#101c30);border:1px solid #385575;border-radius:22px;padding:28px;width:min(90vw,460px);text-align:left;box-shadow:0 28px 90px #0008}
.count-invite-dialog::backdrop{background:#000a}
.count-invite-dialog h2{font:900 25px CountBody,sans-serif;margin:0 30px 8px 0}
.count-invite-dialog p{font-size:14px;color:#acbedb}
.count-invite-dialog input{width:100%;padding:10px;background:#0b1426;border:1px solid #4d6485;color:#fff;border-radius:8px;margin:5px 0 18px}
.count-close{position:absolute;right:12px;top:8px;background:none;border:0;color:#fff;font-size:28px!important;cursor:pointer}
@keyframes count-float{0%,100%{translate:0 0}50%{translate:0 -12px}}
@media(min-width:1600px){.count-hero-scene{height:595px}.count-hero-copy{padding-top:44px}}
@media(max-width:640px){.count-hero-scene{height:570px;min-height:0}.count-hero-copy{padding:32px 20px 0;max-width:390px}.count-hero-copy .count-display{font-size:39px;-webkit-text-stroke-width:7px}.count-hero-copy p{font-size:15px;max-width:320px;margin-top:14px}.count-backdrop img{object-position:center 57%}.count-float{width:82px;height:92px}.count-float-left{left:0;top:353px}.count-float-right{right:0;top:263px}.count-hero-actions{margin-top:-54px}.count-tutorial{padding:45px 22px 34px}.count-content h2{font-size:26px}.count-steps{margin:30px 0 45px}.count-steps li{grid-template-columns:72px 1fr;gap:13px}.count-step-art{width:72px;height:69px}.count-step-art img{width:74px;height:73px}.count-step-art.count-gates img{width:44px}.count-steps li:not(:last-child)::before{left:35px}.count-steps h3{font-size:18px}.count-steps p,.count-before dd{font-size:14px}.count-home .count-button{font-size:17px;min-width:145px;padding:12px 22px}.count-final-buttons{gap:14px}.count-account{padding:20px}.count-logged .count-hero-scene{height:470px}}
@media(max-width:360px){.count-hero-copy .count-display{font-size:35px}.count-home .count-button{min-width:130px;padding-inline:16px}.count-tutorial{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.count-home *{animation:none!important;transition:none!important}}
#count-bet-form{margin-top:22px;scroll-margin-top:90px}
#count-bet-form>label{font-size:16px;font-weight:900;display:block;margin-bottom:12px}
#count-bet-form>.count-button{width:100%;margin-top:18px;font-size:17px;padding-inline:12px;min-width:0}
.count-bet-stepper{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #3d5b7d;border-radius:17px;background:#0b172b}
.count-bet-stepper>button{border:1px solid #416388;background:#213d60;color:#fff;font:900 27px CountBody,sans-serif;border-radius:12px;width:44px;height:44px;flex-shrink:0;cursor:pointer}
.count-bet-stepper>div{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;flex:1}
.count-bet-stepper span{color:#85a2c5;font-weight:800}.count-bet-stepper input{min-width:0;width:100%;max-width:125px;background:none;color:white;border:0;text-align:center;font:900 28px CountBody,sans-serif;padding:0}
.count-bet-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.count-bet-suggestions button{flex:1;padding:8px 4px;background:#1b304d;border:1px solid #3d5879;border-radius:10px;color:#d5e5fa;white-space:nowrap;font:800 13px CountBody,sans-serif;cursor:pointer}
.count-bet-suggestions button[aria-pressed=true]{background:#144e63;border-color:#70dfd0;color:#c5fff1}.count-home button:disabled{opacity:.5;cursor:default}
.count-bet-reload{border:0;background:none;color:#8bd9ff;text-decoration:underline;padding:10px;cursor:pointer}
.count-bet-status{color:#ffd28b!important}.count-bet-status:empty{display:none}
.count-invite-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.count-invite-metrics>div{background:#0a172a;border:1px solid #2d4867;border-radius:12px;padding:12px}.count-invite-metrics>div:first-child{grid-column:1/-1}.count-invite-metrics dt{font:700 12px CountBody,sans-serif;color:#9bb5d6}.count-invite-metrics dd{font:900 20px CountBody,sans-serif;color:#ffcf4e;margin:5px 0 0}.count-invite-details{display:block;text-align:center;color:#92cee9;font-size:13px;margin-top:20px}
.count-invite-dialog .count-close{position:absolute;right:16px;top:16px}.count-invite-dialog .count-button{width:100%;min-width:0}
@media(max-width:360px){.count-invite-dialog{padding:22px}.count-invite-metrics dd{font-size:17px}.count-bet-stepper input{font-size:24px}}

/* The signed-in home focuses on the wager, without the public tutorial. */
.count-logged{padding:0;min-height:calc(100svh - 76px)}
.count-logged .count-hero-scene{position:absolute;inset:0;height:100%;min-height:0;pointer-events:none}
.count-logged .count-backdrop{opacity:.3}
.count-logged .count-hero-shade{background:linear-gradient(180deg,#0b11204d,#0b1120 85%)}
.count-logged .count-float{display:none}
.count-logged .count-hero-copy{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.count-logged .count-hero-actions{margin:0;padding:32px 20px 48px}
.count-logged .count-account{width:min(100%,424px);padding:0;overflow:hidden;border:1px solid #29445d;border-left:2px solid #277797;border-radius:23px;background:#101c2e;box-shadow:0 22px 65px #0006;text-align:left}
.count-bet-banner{width:100%;height:auto;aspect-ratio:1983/793;object-fit:contain;background:#068dcc}
.count-logged #count-bet-form{margin:0;padding:20px;scroll-margin-top:90px}
.count-logged #count-bet-form>label{display:flex;align-items:center;gap:20px;color:#8fa5c7;font-size:14px;font-weight:800;margin:0 0 16px;white-space:nowrap}
.count-logged #count-bet-form>label::before,.count-logged #count-bet-form>label::after{content:'';height:1px;background:#26344b;flex:1}
.count-logged .count-bet-suggestions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.count-logged .count-bet-suggestions button{min-height:44px;padding:8px 2px;background:#1a2638;border:1px solid #2e3a4c;color:#adbedb;font-size:16px;font-weight:900;border-radius:12px}
.count-logged .count-bet-suggestions button[aria-pressed=true]{background:linear-gradient(#8adeff,#3eb6ec 49%,#279dd8 50%);border-color:#68c9ed;color:#fff;box-shadow:inset 0 2px 0 #c4f1ff,0 3px #126aa0}
.count-logged .count-bet-stepper{min-height:65px;background:#1a2638;border:1px solid #2e3a4c;border-radius:13px;padding:9px;gap:7px}
.count-logged .count-bet-stepper>button{width:33px;height:35px;background:#23364f;border-color:#36506d;border-radius:8px;font-size:21px}
.count-logged .count-bet-stepper input{font-size:20px;max-width:none}
.count-logged .count-bet-stepper input::placeholder{color:#738aad;font-size:16px}
.count-bet-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 2px;color:#96aacc;font-size:14px}
.count-bet-balance strong{color:#ffca28;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums}
.count-logged .count-bet-status,.count-bet-insufficient{color:#ff7080!important;font-size:13px;font-weight:800;margin:12px 0 0;line-height:1.45}
.count-home .count-blue{background:linear-gradient(#80d9ff,#3fb7eb 49%,#229bd6 50%);color:#fff;border:3px solid #3597c3;box-shadow:inset 0 2px #c3efff,0 5px #126496,0 12px 23px #0083d126}
.count-logged #count-bet-form>.count-button{min-height:51px;margin:8px 0 5px}
.count-logged #count-bet-form>.count-button[hidden],.count-bet-insufficient[hidden]{display:none}
.count-logged [data-count-wallet-status]:empty{display:none}
@media(max-width:640px){.count-logged{min-height:calc(100svh - 148px)}.count-logged .count-hero-actions{padding:24px 16px 38px}.count-logged #count-bet-form{padding:18px}.count-logged .count-bet-suggestions button{font-size:14px}.count-logged .count-account{border-radius:21px}}
