/* Roster Check has its own playful stage inside the shared site shell. */
body.roster-mode main{background:radial-gradient(ellipse at 85% 5%,#7651de 0,transparent 50%),radial-gradient(ellipse at 3% 80%,#663bce 0,transparent 46%),#3e29a2;overflow-x:clip;overflow-y:visible}
#roster-view{--game-ink:#241344;--game-yellow:#ffe576;--game-mint:#a3f8d3;--game-pink:#ff9dc1;max-width:1080px;padding-top:37px;padding-bottom:54px;position:relative;isolation:isolate}
#roster-view:before{content:'';position:absolute;z-index:-1;inset:140px -80px 110px;background:#9572ed2b;border-radius:48% 52% 62% 38% / 45% 38% 62% 55%;transform:rotate(-8deg);pointer-events:none}
#roster-view .play-heading{justify-content:center;text-align:center;margin-bottom:24px}
#roster-view .play-heading h1{font-family:var(--display);font-size:102px;font-style:normal;line-height:.82;letter-spacing:-1px;color:#fff8e5;margin:12px 0 21px;transform:rotate(-4deg);paint-order:stroke fill;-webkit-text-stroke:5px var(--game-ink);text-shadow:0 7px 0 var(--game-ink)}
#roster-view .play-heading h1 span{color:var(--game-yellow)}
#roster-view .play-heading>div>p,#roster-view .round-ticket{display:none}
#roster-view .game-board{background:none;box-shadow:none;border:0;border-radius:0;overflow:visible}
#roster-view .board-heading{padding:0 0 13px;justify-content:center;position:relative;gap:15px}
#roster-view .team-lockup{background:#fff7df;color:var(--game-ink);padding:9px 25px 9px 12px;border-radius:52px;gap:12px;box-shadow:0 5px 0 var(--game-ink);transform:rotate(2deg)}
#roster-view .team-lockup img{width:43px;height:43px;padding:6px;background:var(--game-ink);border-radius:50%}
#roster-view .team-lockup h2{font-size:29px;margin:2px 0 0;line-height:1.1}
#roster-view .team-lockup span{color:#654879;font-size:9px;letter-spacing:.8px}
#roster-view #roster-rules{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;padding:0;border:2px solid #b79af8;border-radius:50%;color:white;text-decoration:none;background:#5335b0;font-family:var(--display);font-size:24px;box-shadow:0 3px 0 #24134490}
#roster-view #roster-rules:hover{background:var(--game-ink)}
#roster-view .roster-cards{max-width:850px;margin:0 auto;gap:35px;padding:25px 25px 29px;align-items:end}
#roster-view .roster-player{--tilt:-6deg;position:relative;min-width:0;text-align:center;border:0;border-radius:0;overflow:visible;background:transparent;transform:rotate(var(--tilt));transition:transform .2s}
#roster-view .roster-player:nth-child(2){--tilt:3deg}
#roster-view .roster-player:nth-child(3){--tilt:7deg}
#roster-view .roster-player:hover{transform:translateY(-5px) rotate(calc(var(--tilt) * .5))}
#roster-view .portrait-shell{position:relative;height:240px;width:100%;padding:8px;background:#dfc4ff;border:4px solid var(--game-ink);border-radius:46% 54% 47% 53% / 53% 45% 55% 47%;box-shadow:0 9px 0 var(--game-ink),inset 0 0 0 2px #fff6;overflow:hidden}
#roster-view .roster-player:nth-child(2) .portrait-shell{background:#ffc0da;border-radius:53% 47% 50% 50% / 46% 54% 46% 54%}
#roster-view .roster-player img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:46% 54% 47% 53% / 53% 45% 55% 47%;border:0;filter:saturate(1.07)}
#roster-view .roster-player h3{position:relative;z-index:1;display:table;min-width:65%;max-width:110%;padding:8px 20px 10px;margin:-3px auto 0;background:#fff8e5;color:var(--game-ink);border:3px solid var(--game-ink);border-radius:50px 40px 45px 32px;box-shadow:0 5px 0 var(--game-ink);font-size:31px;line-height:1;letter-spacing:0;overflow-wrap:anywhere}
#roster-view .roster-player.mystery{background:transparent}
#roster-view .mystery .portrait-shell{background:var(--game-mint);border-radius:49% 51% 44% 56% / 47% 40% 60% 53%;box-shadow:0 9px 0 var(--game-ink),0 0 40px #acffe51c}
#roster-view .mystery h3{background:var(--game-mint);color:var(--game-ink);min-width:62%}
#roster-view .question-art{height:100%;width:100%;display:grid;place-items:center;position:relative;background:none}
#roster-view .question-art strong{position:relative;z-index:1;font-family:var(--display);font-size:176px;font-style:normal;line-height:1;color:var(--game-ink);transform:rotate(-9deg);text-shadow:3px 3px 0 #ffffff70}
#roster-view .question-silhouette{position:absolute;inset:12px 0 -30px;color:#2d207f;opacity:.12}
#roster-view .question-silhouette svg{height:100%;width:100%;fill:currentColor}
#roster-view .guess-zone{max-width:780px;padding:0 26px 8px;margin:auto}
#roster-view .guess-label{align-items:center;margin:0 6px 13px;font-family:var(--font);font-size:13px;font-weight:800;letter-spacing:.4px;color:#fff8e9;gap:10px}
#roster-view #attempt-count{display:flex;gap:7px;align-items:center}
#roster-view .guess-life{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border:2px solid var(--game-ink);border-radius:50%;background:var(--game-mint);box-shadow:0 2px 0 var(--game-ink);color:var(--game-ink);font-size:22px;font-weight:800;font-style:normal;line-height:1}
#roster-view .guess-life.used{background:#e9a6d1;color:#67346c}
#roster-view .guess-life.right{background:var(--game-yellow);color:var(--game-ink)}
#roster-view #guess-form{gap:13px;align-items:start}
#roster-view .search-wrap input{background:#fff9e8;border:3px solid var(--game-ink);height:61px;border-radius:36px;padding:15px 22px 15px 48px;color:var(--game-ink);font-size:16px;box-shadow:0 5px 0 var(--game-ink)}
#roster-view .search-wrap input::placeholder{color:#786582}
#roster-view .search-wrap>svg{top:21px;left:20px;stroke:#766082;z-index:1}
#roster-view .search-wrap input:focus{outline:3px solid var(--game-mint);outline-offset:4px}
#roster-view #guess-submit{background:var(--game-yellow);border:3px solid var(--game-ink);border-radius:39px 31px 37px 27px;color:var(--game-ink);height:61px;padding:13px 25px;min-width:180px;font-family:var(--display);font-size:25px;letter-spacing:.3px;box-shadow:0 6px 0 var(--game-ink);transform:rotate(-2deg);gap:18px}
#roster-view #guess-submit:hover:not(:disabled){background:#fff3a0;transform:translateY(-3px) rotate(1deg);box-shadow:0 9px 0 var(--game-ink)}
#roster-view #guess-submit:disabled{opacity:.67;background:#e5ca8f;color:#4f3a67}
#roster-view .search-wrap ul{top:72px;background:#fff9e8;color:var(--game-ink);border:3px solid var(--game-ink);border-radius:23px;padding:7px;box-shadow:0 7px 0 #241344b0}
#roster-view .search-wrap li{border-radius:17px;padding:12px;font-size:15px;font-weight:600}
#roster-view .search-wrap li:hover,#roster-view .search-wrap li[aria-selected=true]{background:#ddcef6;color:var(--game-ink)}
#roster-view .search-hint{display:none}
#roster-view .guess-history{justify-content:center;gap:10px;margin-top:23px}
#roster-view .guess-chip{padding:8px 15px;border:2px solid var(--game-ink);border-radius:25px;color:var(--game-ink);background:#ffc1d7;font-weight:600;font-size:13px;box-shadow:0 3px 0 var(--game-ink);transform:rotate(-2deg)}
#roster-view .guess-chip:nth-child(even){transform:rotate(2deg)}
#roster-view .guess-chip.correct{background:var(--game-mint);border-color:var(--game-ink);color:var(--game-ink)}
#roster-view .game-result{margin-top:15px;padding-top:8px;text-align:center}
#roster-view .game-result h3{font-family:var(--display);font-size:65px;line-height:1;color:var(--game-yellow);-webkit-text-stroke:3px var(--game-ink);paint-order:stroke fill;text-shadow:0 4px 0 var(--game-ink);transform:rotate(-3deg);margin:15px 0 12px}
#roster-view .game-result p{color:#fff8e5;font-size:16px;font-weight:600}
#roster-view .result-actions{justify-content:center;margin-top:20px;gap:25px}
#roster-view .result-actions>.button{background:var(--game-yellow);color:var(--game-ink);border:3px solid var(--game-ink);border-radius:35px;padding:16px 25px;box-shadow:0 5px 0 var(--game-ink);font-family:var(--display);font-size:24px}
#roster-view .result-actions>.text-action{font-size:14px;color:#fff8e5}
#roster-view .board-footer{justify-content:center;background:none;margin-top:17px;padding:13px 0 0}
#roster-view .board-footer .text-action{color:#e1d3ff;font-size:12px}
#roster-view.miss .mystery .portrait-shell{animation:roster-wobble .4s ease-in-out}
#roster-view[data-outcome=won] .mystery .portrait-shell{animation:roster-reveal .5s cubic-bezier(.2,.9,.3,1.2)}
#roster-view[data-outcome=won] .mystery h3{background:var(--game-yellow)}
.roster-burst{position:absolute;z-index:3;inset:220px 0 100px;pointer-events:none;overflow:hidden}
.roster-burst i{position:absolute;left:50%;top:40%;height:12px;width:12px;border-radius:50%;background:var(--particle-color);animation:roster-particle .95s ease-out both;animation-delay:var(--delay)}
@keyframes roster-wobble{0%,100%{transform:rotate(0)}25%{transform:rotate(-7deg)}65%{transform:rotate(6deg)}}
@keyframes roster-reveal{0%{transform:scale(.88)}65%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes roster-particle{0%{opacity:0;transform:translate(0,0) scale(.3)}15%{opacity:1}100%{opacity:0;transform:translate(var(--particle-x),var(--particle-y)) scale(1)}}
@media(max-width:1050px){#roster-view .portrait-shell{height:220px}#roster-view .roster-cards{gap:28px;max-width:790px}#roster-view .roster-player h3{font-size:29px}}
@media(max-width:760px){#roster-view{padding-top:29px;padding-bottom:38px}#roster-view:before{inset:140px -80px 90px}#roster-view .play-heading h1{font-size:82px;-webkit-text-stroke-width:4px;text-shadow:0 5px 0 var(--game-ink);margin-top:10px;margin-bottom:18px}#roster-view .play-heading{margin-bottom:20px}#roster-view .team-lockup{padding:8px 20px 8px 10px;gap:9px}#roster-view .team-lockup img{width:36px;height:36px}#roster-view .team-lockup h2{font-size:25px}#roster-view .team-lockup span{font-size:8px}#roster-view .roster-cards{gap:19px;padding:23px 15px 26px}#roster-view .portrait-shell{height:185px;padding:6px}#roster-view .roster-player h3{font-size:27px;padding:7px 14px 8px}#roster-view .question-art strong{font-size:140px}#roster-view .guess-zone{padding-inline:12px}#roster-view #guess-submit{font-size:23px;min-width:150px;padding-inline:19px}#roster-view .guess-label{font-size:12px}#roster-view .game-result h3{font-size:56px}}
@media(max-width:480px){#roster-view{width:calc(100% - 30px);padding-top:25px;padding-bottom:30px}#roster-view .play-heading h1{font-size:70px;line-height:.85;-webkit-text-stroke-width:3px;letter-spacing:-.5px}#roster-view .board-heading{gap:13px;padding-bottom:9px}#roster-view .team-lockup{padding:7px 15px 7px 8px;gap:8px}#roster-view .team-lockup img{width:32px;height:32px;padding:4px}#roster-view .team-lockup h2{font-size:23px}#roster-view .team-lockup span{font-size:7px;letter-spacing:.4px}#roster-view #roster-rules{width:32px;height:32px;font-size:22px}#roster-view .roster-cards{gap:11px;padding:23px 3px 28px}#roster-view .portrait-shell{height:147px;padding:4px;border-width:3px;box-shadow:0 6px 0 var(--game-ink)}#roster-view .roster-player h3{font-size:23px;border-width:2px;padding:7px 9px 8px;min-width:84%;box-shadow:0 4px 0 var(--game-ink)}#roster-view .question-art strong{font-size:120px}#roster-view .guess-zone{padding-inline:7px}#roster-view .guess-label{font-size:11px;letter-spacing:0;margin-inline:3px;gap:8px}#roster-view .guess-life{width:30px;height:30px;font-size:21px}#roster-view #attempt-count{gap:5px}#roster-view #guess-form{flex-direction:column;gap:15px}#roster-view .search-wrap{width:100%}#roster-view .search-wrap input{height:58px;font-size:15px}#roster-view .search-wrap>svg{top:20px}#roster-view #guess-submit{height:56px;width:74%;align-self:center;min-width:0;justify-content:center;font-size:26px;transform:rotate(-2deg)}#roster-view .guess-history{margin-top:20px}#roster-view .guess-chip{font-size:12px;padding:7px 12px}#roster-view .game-result h3{font-size:46px}#roster-view .game-result p{font-size:14px}#roster-view .result-actions{gap:18px;flex-wrap:wrap}#roster-view .result-actions>.button{font-size:22px;padding:14px 20px}#roster-view .board-footer{margin-top:15px}.roster-burst{inset:150px 0 100px}}
@media(max-width:350px){#roster-view .play-heading h1{font-size:61px}#roster-view .portrait-shell{height:128px}#roster-view .roster-player h3{font-size:20px;padding-inline:7px}#roster-view .question-art strong{font-size:105px}#roster-view .guess-label{font-size:10px}#roster-view .guess-life{width:28px;height:28px}#roster-view #attempt-count{gap:4px}#roster-view .team-lockup h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){#roster-view *,#roster-view:before{animation:none!important;transition:none!important}.roster-burst{display:none}}
/* Keep the rules control comfortably tappable on touch devices. */
#roster-view #roster-rules{width:44px;height:44px}
/* Portraits follow every pick, including search and the selected player. */
#roster-view .guess-chip{display:inline-flex;align-items:center;gap:10px;padding:5px 12px 5px 5px;max-width:100%}
#roster-view .guess-chip img{width:44px;height:44px;flex-shrink:0;object-fit:cover;object-position:center;border-radius:50%;border:2px solid #241344}
#roster-view .guess-name{font-size:15px;overflow-wrap:anywhere}
#roster-view .guess-mark{display:grid;place-items:center;flex-shrink:0;height:23px;width:23px;border-radius:50%;background:#24134414;font-size:19px;font-weight:800}
#roster-view .guess-chip:not(.correct) .guess-mark{width:30px;height:30px;color:#ba1237;background:#ba123710;font-size:32px;font-weight:800;line-height:1}
#roster-view .search-wrap li{display:flex;align-items:center;gap:11px;padding:7px 10px}
#roster-view .search-wrap li img{height:36px;width:36px;object-fit:cover;border-radius:50%;flex-shrink:0}
#roster-view #selected-avatar{position:absolute;top:12px;left:12px;height:36px;width:36px;object-fit:cover;border-radius:50%;pointer-events:none}
#roster-view .search-wrap:has(#selected-avatar)>svg{visibility:hidden}
#roster-view .search-wrap:has(#selected-avatar) input{padding-left:60px}
/* Victory is a reward scene, with the completed lineup still available underneath. */
#victory-dialog{width:min(760px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100svh - 24px);padding:26px 22px 32px;background:transparent;border:0;border-radius:0;overflow-y:auto;overflow-x:hidden;color:#fff8e5;box-shadow:none;overscroll-behavior:contain;scrollbar-width:thin}
#victory-dialog::backdrop{background:radial-gradient(ellipse at 50% 40%,#7842d7f5,#28105af5 65%,#160c37f7);backdrop-filter:blur(9px)}
#victory-close{position:absolute;right:8px;top:4px;z-index:4;display:grid;place-items:center;width:44px;height:44px;border:2px solid #ffffff60;border-radius:50%;background:#24134466;color:#fff8e5;font-size:28px}
#victory-close:hover{background:#241344}
#victory-dialog .victory-content{position:relative;z-index:2;text-align:center;animation:victory-arrive .48s cubic-bezier(.2,.85,.3,1.12)}
#victory-heading{font-family:var(--display);font-size:clamp(70px,11vw,116px);line-height:.8;letter-spacing:-1px;color:#fff8e5;-webkit-text-stroke:6px #241344;paint-order:stroke fill;text-shadow:0 8px 0 #241344;transform:rotate(-5deg);margin:16px 0 30px}
#victory-heading span{color:#ffe576}
.victory-reveal{position:relative;display:table;margin:0 auto;isolation:isolate}
#victory-photo{position:relative;width:174px;height:174px;object-fit:cover;object-position:center;border:7px solid #ffe576;border-radius:47% 53% 50% 50% / 50% 44% 56% 50%;box-shadow:0 9px 0 #241344;transform:rotate(5deg)}
.victory-aura{position:absolute;width:250px;height:220px;z-index:-1;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-12deg);background:#c9a2ff3d;border-radius:46% 54% 34% 66% / 52% 36% 64% 48%}
#victory-player-name{position:relative;display:table;background:#fff8e5;color:#241344;padding:8px 25px 11px;border:3px solid #241344;border-radius:40px;box-shadow:0 5px 0 #241344;margin:-2px auto 0;font-family:var(--display);font-size:34px;line-height:1;transform:rotate(-4deg);max-width:100%;overflow-wrap:anywhere}
.victory-trophy{position:absolute;right:-26px;top:103px;width:68px;height:68px;border:3px solid #241344;border-radius:50%;background:#ffe576;display:grid;place-items:center;transform:rotate(13deg);box-shadow:0 4px 0 #241344;z-index:2;animation:trophy-pop .7s cubic-bezier(.2,.85,.3,1.3)}
.victory-trophy svg{width:45px;height:45px;fill:#ffb53d;stroke:#55331c;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#victory-score{font-family:var(--display);font-size:27px;line-height:1.2;color:#f2e9ff;margin:22px 0 24px;letter-spacing:.4px}
.victory-actions{display:flex;flex-direction:column;align-items:center;gap:19px}
#victory-share{font-family:var(--display);font-size:29px;font-weight:800;text-transform:uppercase;color:#241344;background:#ffe576;border:3px solid #241344;border-radius:45px 33px 41px 34px;padding:17px 38px 19px;min-width:300px;min-height:64px;box-shadow:0 7px 0 #241344;transform:rotate(-2deg);transition:transform .15s,background .15s}
#victory-share:hover{transform:translateY(-3px) rotate(0);background:#fff3a0}
#victory-lineup{background:none;border:0;color:#fff8e5;padding:5px 10px;font-family:var(--font);font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;min-height:34px}
#victory-confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:1}
#victory-confetti i{position:absolute;left:var(--x);top:-25px;width:12px;height:12px;background:var(--color);border-radius:50%;animation:victory-confetti var(--duration) cubic-bezier(.15,.6,.4,1) var(--delay) both}
#victory-confetti i:nth-child(3n){width:9px;height:18px;border-radius:4px}
#victory-confetti i:nth-child(4n){width:15px;height:15px;border-radius:3px}
#roster-view[data-outcome=won] .mystery .portrait-shell{box-shadow:0 9px 0 #241344,0 0 45px #ffe57660;background:#ffe576}
#roster-view[data-outcome=won] .game-result{background:#fff8e510;border-radius:44% 56% 46% 54% / 28% 39% 61% 72%;padding:20px 15px 28px}
#roster-view[data-outcome=won] .game-result h3{font-size:clamp(48px,7vw,78px)}
@keyframes victory-arrive{from{opacity:0;transform:translateY(30px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes trophy-pop{0%,30%{opacity:0;transform:scale(.2) rotate(-25deg)}80%{opacity:1;transform:scale(1.15) rotate(16deg)}100%{opacity:1;transform:scale(1) rotate(13deg)}}
@keyframes victory-confetti{0%{opacity:0;transform:translate(0,-15px) rotate(0)}10%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translate(var(--drift),var(--fall)) rotate(var(--spin))}}
@media(max-width:480px){#roster-view .guess-chip{gap:7px;padding:4px 9px 4px 4px}#roster-view .guess-chip img{width:39px;height:39px}#roster-view .guess-name{font-size:13px}#roster-view .guess-mark{width:20px;height:20px;font-size:16px}#roster-view #selected-avatar{height:32px;width:32px;top:12px;left:13px}#victory-dialog{padding:25px 14px 20px}#victory-heading{font-size:clamp(65px,19vw,85px);-webkit-text-stroke-width:4px;text-shadow:0 6px 0 #241344;margin:28px 0 25px}#victory-photo{width:144px;height:144px;border-width:6px}#victory-player-name{font-size:29px}.victory-aura{width:210px;height:190px}.victory-trophy{width:57px;height:57px;right:-20px;top:84px}.victory-trophy svg{width:38px;height:38px}#victory-score{font-size:24px;margin:20px 0}#victory-share{font-size:25px;min-width:0;width:min(300px,100%);padding:15px 20px 17px}#victory-close{right:2px;top:2px}}
@media(max-height:650px){#victory-heading{font-size:68px;margin:22px 0 18px}#victory-photo{width:110px;height:110px;border-width:5px}#victory-player-name{font-size:25px;padding:5px 20px 8px}.victory-trophy{top:61px;right:-16px;height:47px;width:47px}.victory-trophy svg{height:30px;width:30px}.victory-aura{height:150px;width:170px}#victory-score{font-size:21px;margin:16px 0}#victory-share{font-size:23px;min-height:52px;padding:12px 24px}.victory-actions{gap:10px}#victory-dialog{padding-top:18px;padding-bottom:14px}}
@media(prefers-reduced-motion:reduce){#victory-dialog *,#victory-dialog{animation:none!important;transition:none!important}#victory-confetti{display:none}}
/* The rules card belongs to the same game world. */
#info-dialog[data-theme=roster-rules]{width:min(530px,calc(100% - 24px));max-height:calc(100svh - 24px);padding:29px 36px 24px;background:#6244bf;color:#fff8e5;border:4px solid #241344;border-radius:46px 58px 44px 52px;box-shadow:0 10px 0 #241344,0 25px 90px #13082590;text-align:center;overflow:auto;scrollbar-width:thin}
#info-dialog[data-theme=roster-rules]::backdrop{background:#1c1042cc;backdrop-filter:blur(7px)}
#info-dialog[data-theme=roster-rules]>.eyebrow{display:none}
#info-dialog[data-theme=roster-rules] .dialog-close{top:12px;right:13px;display:grid;place-items:center;height:44px;width:44px;background:#3e267f;border:2px solid #b49aef;border-radius:50%;color:#fff8e5;padding:0;font-size:27px;z-index:2}
#info-dialog[data-theme=roster-rules] #dialog-heading{font-family:var(--display);font-size:72px;white-space:pre-line;line-height:.8;letter-spacing:-.5px;color:#ffe576;-webkit-text-stroke:4px #241344;paint-order:stroke fill;text-shadow:0 5px 0 #241344;transform:rotate(-4deg);margin:8px 0 21px}
.rules-lineup{display:flex;justify-content:center;align-items:center;gap:15px;margin:0 auto 13px}
.rules-player{width:79px;height:85px;padding:4px;border:3px solid #241344;border-radius:45% 55% 48% 52% / 52% 45% 55% 48%;background:#ddc5ff;box-shadow:0 5px 0 #241344;transform:rotate(-8deg);overflow:hidden}
.rules-player:nth-child(2){background:#ffc0da;transform:rotate(4deg)}
.rules-player img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit}
.rules-player.rules-mystery{display:grid;place-items:center;background:#a3f8d3;color:#241344;font-family:var(--display);font-size:65px;line-height:1;transform:rotate(8deg)}
#info-dialog .rules-intro{font-family:var(--display);font-size:25px;line-height:1.2;color:#fff8e5;margin:16px 0 20px}
#info-dialog .rules-steps{counter-reset:rule;list-style:none;margin:0 auto 22px;padding:0;max-width:350px;text-align:left}
#info-dialog .rules-steps li{counter-increment:rule;display:flex;align-items:center;gap:12px;font-family:var(--font);font-size:15px;line-height:1.5;color:#fff8e5;margin:13px 0}
.rules-steps li:before{content:counter(rule);display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;border:2px solid #241344;border-radius:50%;background:#a3f8d3;color:#241344;font-family:var(--display);font-size:21px;box-shadow:0 2px 0 #241344;transform:rotate(-8deg)}
.rules-steps li:nth-child(2):before{background:#ffc0da;transform:rotate(8deg)}
.rules-steps li:nth-child(3):before{background:#ffe576}
#info-dialog .rules-play{display:block;min-height:58px;min-width:205px;margin:0 auto;padding:12px 30px 15px;border:3px solid #241344;border-radius:38px 28px 36px 27px;background:#ffe576;color:#241344;font-family:var(--display);font-size:30px;font-weight:800;text-transform:uppercase;box-shadow:0 6px 0 #241344;transform:rotate(-2deg);transition:transform .15s,background .15s}
#info-dialog .rules-play:hover{background:#fff2a0;transform:translateY(-2px) rotate(0)}
#info-dialog .rules-preview-note{font-size:11px;line-height:1.5;color:#e0d4ff;margin:19px 0 0}
@media(max-width:480px){#info-dialog[data-theme=roster-rules]{padding:24px 21px 22px;border-radius:37px 45px 36px 41px}#info-dialog[data-theme=roster-rules] #dialog-heading{font-size:64px;margin:13px 0 19px}.rules-player{width:68px;height:73px}.rules-lineup{gap:13px}.rules-player.rules-mystery{font-size:56px}#info-dialog .rules-intro{font-size:23px;margin:15px 0 17px}#info-dialog .rules-steps{margin-bottom:20px}#info-dialog .rules-steps li{font-size:14px;gap:10px;margin:11px 0}.rules-steps li:before{width:27px;height:27px;font-size:20px}#info-dialog .rules-play{min-height:54px;min-width:190px;font-size:27px}#info-dialog .rules-preview-note{font-size:10px;margin-top:17px}}
@media(max-height:650px){#info-dialog[data-theme=roster-rules]{padding-top:17px;padding-bottom:17px}#info-dialog[data-theme=roster-rules] #dialog-heading{font-size:56px;margin:5px 0 15px}.rules-player{height:60px;width:58px}.rules-player.rules-mystery{font-size:47px}#info-dialog .rules-intro{font-size:22px;margin:13px 0}#info-dialog .rules-steps li{font-size:13px;margin:9px 0}#info-dialog .rules-steps{margin-bottom:16px}#info-dialog .rules-play{min-height:50px;padding-block:10px;font-size:26px}#info-dialog .rules-preview-note{margin-top:15px}}
@media(prefers-reduced-motion:reduce){#info-dialog[data-theme=roster-rules] *{animation:none!important;transition:none!important}}
