@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
:root{--ink:#153e32;--green:#1f7154;--gold:#e6ba53}*{box-sizing:border-box}body{margin:0;font-family:Nunito,'Trebuchet MS',sans-serif;background:#f6f7ef;color:var(--ink)}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #c79938;outline-offset:4px}header{height:90px;padding:15px 5%;background:#fff;display:flex;align-items:center;gap:35px;border-bottom:1px solid #e5eade}.brand{font-size:29px;letter-spacing:-1px;font-weight:900;text-decoration:none;line-height:1}.brand>span{color:#bb9849;font-size:16px;margin-left:4px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#66816b;margin-top:7px}nav{display:flex;gap:8px}button{border:0;background:white;border-radius:14px;padding:12px 18px;font-weight:800}nav button{font-size:13px;background:transparent}nav button:first-child{background:#edf2e7}.mini-player{margin-left:auto;display:flex;gap:12px;align-items:center;background:#f1f4e9}.shirt-dot{width:19px;height:20px;background:#286a4c;clip-path:polygon(25% 0,40% 10%,60% 10%,75% 0,100% 22%,82% 45%,75% 37%,75% 100%,25% 100%,25% 37%,18% 45%,0 22%)}.demo{font-size:10px;letter-spacing:1px;text-align:center;padding:8px;background:#eeeee2;color:#78816c}main{max-width:1210px;margin:auto;padding:28px 28px 60px}.hero{position:relative;background:linear-gradient(115deg,#153e33,#285e43);border-radius:30px;min-height:320px;color:#fff;display:flex;align-items:center;overflow:hidden;padding:36px 42px;box-shadow:0 15px 35px #1a3f3020}.hero:before{content:'';position:absolute;inset:25px 25px 25px 55%;border:2px solid #ffffff12;border-radius:10px;transform:rotate(-12deg)}.hero:after{content:'';position:absolute;width:160px;height:160px;border:2px solid #ffffff12;border-radius:50%;right:110px;top:80px}.hero-copy{max-width:66%;position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;text-transform:uppercase;color:#799073}.hero .eyebrow{color:#d5dcb9}h1{font-size:clamp(31px,4vw,49px);line-height:1.12;letter-spacing:-1.4px;margin:15px 0}p{line-height:1.65;color:#788573}.hero p{color:#c7d9c5;font-size:15px;max-width:500px}.pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.pill{font-size:12px;padding:8px 13px;border:1px solid #ffffff25;background:#ffffff0d;border-radius:24px}.gold{background:#efce7b;color:#3e492c}.hero-player{position:absolute;right:10px;bottom:0;width:300px;height:315px;z-index:1;filter:drop-shadow(0 10px 10px #0003);background-color:transparent;padding:0}.hero-player .asset{width:100%;height:100%}.hero-player>img{height:100%;object-fit:contain}.edit-kit{position:absolute;bottom:18px;right:22px;font-size:11px;background:#ffffffed;border-radius:20px;padding:8px 14px;z-index:2}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.stat{padding:18px 22px;background:white;border:1px solid #e2e8dc;border-radius:19px}.stat b{display:block;font-size:27px;margin-bottom:3px}.stat small{font-size:12px;color:#839078}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:32px 0 18px}h2{font-size:25px;letter-spacing:-.6px;margin:0}.section-title small{color:#8b947e;font-size:12px}.challenge-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:18px}.tile{background:#fff;border:2px solid white;border-radius:25px;padding:22px;box-shadow:0 7px 0 #dce2d550;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}.tile.homework{background:#e3eddb}.tile.skills{background:#fcf0d9}.tile.matching{background:#eae0f6}.tile .asset{width:100%;height:auto;aspect-ratio:1.3;margin:-8px 0 -8px}.tile h3{font-size:22px;margin:14px 0 8px;letter-spacing:-.5px}.tile p{font-size:13px;margin:0 0 19px}.tile button{width:100%;margin-top:auto;background:#fff;border-radius:16px;box-shadow:0 3px 0 #0000000b}.chip{font-size:10px;font-weight:800;padding:6px 10px;border-radius:16px;background:#ffffffb0}.lower{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}.panel{border:1px solid #e1e7d8;background:#fff;border-radius:24px;padding:25px}.panel p{font-size:14px}.target-line{display:flex;align-items:center;gap:15px}.target-mark{width:60px;height:60px;border-radius:20px;background:#edf2de;display:grid;place-items:center;font-size:27px;flex-shrink:0}.learning-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.learning-tile{background:#fff;border:1px solid #e0e5d9;border-radius:22px;padding:18px;text-decoration:none;display:flex;align-items:center;gap:12px}.learning-tile img{width:64px;height:64px;object-fit:contain}.learning-tile strong{font-size:14px}.learning-tile small{display:block;font-size:10px;color:#88947d;margin-top:6px}.food{display:flex;align-items:center;gap:18px;margin-top:22px;background:#e3f0df}.food img{width:105px;height:100px;object-fit:contain}.food .primary{margin-left:auto;white-space:nowrap}.primary{background:var(--green);color:white;border-radius:15px;text-decoration:none;display:inline-block;padding:13px 20px;font-weight:800;border:0}.foot{font-size:11px;text-align:center;color:#8b957e;margin-top:30px}.asset{display:inline-block;background-image:url('player-art.png');background-size:300% 200%;background-repeat:no-repeat}.asset-0{background-position:0 0}.asset-1{background-position:50% 0}.asset-2{background-position:100% 0}.asset-3{background-position:0 100%}.asset-4{background-position:50% 100%}.asset-5{background-position:100% 100%}.reward-art{display:inline-block;width:160px;height:160px;background:url('rewards.png') no-repeat;background-size:300% 322%;background-position:50% 100%}.chest{background-size:300% 322%;background-position:50% 55%}.small-reward{width:90px;height:90px}.trophy-preview{display:flex;gap:20px;align-items:center}.trophy-preview button{margin-left:auto;background:#f3f0e4}dialog{border:0;border-radius:28px;padding:27px;width:calc(100% - 28px);max-width:620px;color:var(--ink);background:#fffcf6;max-height:94dvh;overflow:auto}dialog::backdrop{background:#0e3029b3;backdrop-filter:blur(5px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head button{background:#eff1e7;padding:8px 13px}.modal-head small{font-size:10px;letter-spacing:1.5px;color:#8a947b}.center{text-align:center}.avatar-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.avatar-option{padding:8px;background:#f1f2e8;border:2px solid transparent}.avatar-option .asset{width:100%;aspect-ratio:1}.avatar-option.selected{border-color:#36744d;background:#e5edd8}.field{display:block;font-weight:800;font-size:13px;margin:20px 0 8px}input,select{width:100%;padding:12px;border:1px solid #d0dbc7;border-radius:11px;background:#fff;color:var(--ink);font:inherit}.modal-video{width:100%;aspect-ratio:16/9;border:0;border-radius:17px;background:#183f31}.mood-row{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.mood-row button{background:#edf2e5;font-size:12px}.score-clock{font-size:75px;font-weight:900;margin:20px 0;color:#2c7653}.practice-row{padding:15px 0;border-bottom:1px solid #e4e8dc}.practice-row b{display:block}.practice-row small{color:#859078;font-size:12px}.timer-bar{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.timer-bar b{font-size:25px}.badge-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.badge-card{border:3px solid #e2d5f2;background:#fff;border-radius:28px;aspect-ratio:1;display:grid;grid-template-columns:1fr 1fr;padding:15px;gap:8px;box-shadow:0 7px 0 #dfd3ec}.badge-choice{padding:7px;background:transparent;min-width:0;display:grid;place-items:center}.badge-choice img{max-width:100%;width:85px;height:85px;object-fit:contain;filter:drop-shadow(0 4px 3px #0001)}.badge-choice.correct{background:#dff0d3;border-radius:16px}.game-status{height:28px;text-align:center;font-weight:900;margin:18px 0;color:#40864e}.pb{background:#f7eccb;padding:14px;border-radius:14px;margin-top:15px;font-weight:800;font-size:14px}.reward-celebrate{animation:pop .5s ease-out}.notes{font-size:12px;color:#86917a}.trophies{display:flex;justify-content:center;flex-wrap:wrap;gap:15px}.trophies>div{text-align:center;font-size:12px;max-width:140px}.blank{padding:25px;background:#f1f3e7;border-radius:18px;color:#7c8a72;margin-top:20px}@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:900px){.challenge-grid{grid-template-columns:repeat(3,1fr)}.learning-grid{grid-template-columns:repeat(2,1fr)}.tile{padding:17px}.tile h3{font-size:19px}.hero-player{right:0;width:240px}.hero-copy{max-width:68%}header{gap:16px}nav button{padding:9px;font-size:11px}}@media(max-width:650px){header{height:auto;padding:16px;flex-wrap:wrap;gap:12px}nav{order:3;width:100%;justify-content:center}.brand{font-size:25px}.mini-player{font-size:12px}main{padding:20px 16px 45px}.hero{padding:28px 22px;min-height:350px;align-items:flex-start}.hero-copy{max-width:100%;padding-right:55px}.hero h1{font-size:32px;max-width:240px}.hero p{max-width:220px;font-size:13px}.hero-player{width:190px;height:230px;right:-18px;bottom:0}.hero .pills{max-width:200px}.hero .pill{font-size:10px}.edit-kit{right:12px;bottom:12px}.summary{gap:9px}.stat{padding:13px}.stat b{font-size:23px}.stat small{font-size:10px}.challenge-grid{grid-template-columns:1fr}.tile{display:grid;grid-template-columns:1fr 1.1fr;column-gap:15px;padding:19px}.tile .asset{grid-column:1;grid-row:1/5;width:100%;height:180px;aspect-ratio:auto;margin:0}.tile .chip,.tile h3,.tile p,.tile button{grid-column:2}.tile h3{margin:9px 0}.tile p{font-size:12px;margin-bottom:13px}.tile button{font-size:12px;padding:11px}.lower{grid-template-columns:1fr}.learning-tile{padding:13px;gap:8px}.learning-tile img{width:46px;height:50px}.learning-tile strong{font-size:12px}.food{flex-wrap:wrap}.food .primary{margin:0;width:100%;text-align:center}.food img{width:85px}.section-title h2{font-size:22px}.badge-cards{gap:10px}.badge-card{padding:8px;gap:4px;border-radius:20px}.badge-choice{padding:3px}.badge-choice img{height:62px;width:62px}.avatar-options{gap:8px}.avatar-option{padding:5px;font-size:11px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.asset-0,.asset-1,.asset-2{background-size:300% 170.67%;background-position-y:0}.asset-3,.asset-4,.asset-5{background-size:300% 241.51%;background-position-y:100%;border-radius:20px}.hero-player .asset{mask-image:radial-gradient(ellipse at 50% 50%,#000 53%,transparent 76%)}.avatar-option .asset{border-radius:12px}.tile .asset{margin-bottom:0}.avatar-option{background:#f8f2e7}
.modal-head{position:sticky;top:-27px;z-index:10;background:#fffcf6;padding:12px 0;margin-top:-12px;box-shadow:0 5px 0 #fffcf6}.modal-head button{flex-shrink:0;min-height:44px;padding:10px 15px;background:#e7eddf;color:#214b36}.modal-head small{max-width:65%}dialog{overscroll-behavior:contain}.modal-video{display:block;max-height:45dvh}
.badge-cards{gap:22px;align-items:center;margin:22px auto;max-width:720px}.badge-card{position:relative;display:block;width:100%;height:auto;aspect-ratio:1;border-radius:50%;border:4px solid #d5c2ec;background:radial-gradient(circle at 35% 25%,#fff,#faf7fe);box-shadow:0 8px 0 #d9c9eb,0 14px 25px #3d25531a;padding:0;overflow:hidden}.badge-choice{position:absolute;width:34%;height:34%;padding:7px;border-radius:50%;transform:translate(-50%,-50%);background:transparent;display:grid;place-items:center}.badge-choice:nth-child(1){left:50%;top:23%}.badge-choice:nth-child(2){left:77%;top:50%}.badge-choice:nth-child(3){left:50%;top:77%}.badge-choice:nth-child(4){left:23%;top:50%}.badge-choice img{width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}.badge-choice.correct{border-radius:50%;background:#e3f5d9;box-shadow:0 0 0 3px #76b860}.badge-choice:focus-visible{outline-offset:0}.badge-cards+.game-status{margin-top:24px}@media(max-width:650px){.badge-cards{gap:12px}.badge-card{border-width:3px;box-shadow:0 5px 0 #d9c9eb}.badge-choice{padding:3px}.badge-choice img{width:100%;height:100%}}
.activity-tap{cursor:pointer;text-align:center;align-items:center;transition:transform .18s,box-shadow .18s;width:100%;font-weight:400}.activity-tap:hover,.trophy-tap:hover,.target-tap:hover{transform:translateY(-4px);box-shadow:0 10px 25px #173f2512}.activity-tap h3{margin:12px 0 4px;font-weight:900}.activity-tap .chip{font-size:9px}.activity-picture{display:block;width:100%;height:220px;object-fit:contain;margin:0}.activity-tap>.asset{height:220px;aspect-ratio:auto;margin:0 0 10px}.trophy-tap,.target-tap{display:flex;flex-direction:column;align-items:center;text-align:center;cursor:pointer;width:100%;transition:transform .18s;font-weight:400}.target-tap img{width:200px;height:170px;object-fit:contain}.trophy-tap .reward-art{width:200px;height:170px;margin:0}.trophy-tap h2,.target-tap h2{font-size:23px}.target-tap p,.trophy-tap p{margin:8px 0 0;font-size:12px}.trophy-tap{background:linear-gradient(140deg,#fff9e6,#f4edda)}.target-tap{background:#f0f5e7}.food-tap{text-decoration:none}.hero h1{max-width:580px}.hero-player .player-figure{height:100%;width:100%}.player-figure{display:inline-block;background-image:url('kit-avatars.png');background-size:300% 300%;background-repeat:no-repeat;width:100%;height:100%;filter:drop-shadow(0 7px 5px #19382615)}.dressing-preview{height:215px;text-align:center;margin:12px 0}.dressing-preview .player-figure{height:215px;width:190px}.avatar-option .player-figure{width:100%;aspect-ratio:.85;height:auto;display:block}.kit-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.kit-option{background:#f2f3e9;border:2px solid transparent;padding:12px;font-size:12px;display:flex;flex-direction:column;align-items:center;gap:8px}.kit-option.selected{border-color:#36744d}.kit-shirt{display:block;width:50px;height:52px;background:var(--kit);clip-path:polygon(26% 0,40% 8%,60% 8%,74% 0,100% 22%,82% 46%,75% 37%,75% 100%,25% 100%,25% 37%,18% 46%,0 22%);box-shadow:inset 0 -8px 0 #0001}.hero-player .player-figure{mask-image:radial-gradient(ellipse,#000 58%,transparent 80%)}@media(max-width:650px){.challenge-grid{grid-template-columns:repeat(2,1fr);gap:13px}.activity-tap{display:flex;flex-direction:column;padding:15px 10px}.activity-tap>.asset,.activity-picture{width:100%;height:155px;aspect-ratio:auto}.activity-tap .chip{font-size:8px;margin-top:10px}.activity-tap h3{font-size:17px;margin-top:10px}.activity-tap.matching{grid-column:1/-1;max-width:100%}.activity-tap.matching>.asset{width:210px;height:160px}.lower{grid-template-columns:1fr 1fr;gap:13px}.trophy-tap,.target-tap{padding:18px 10px}.trophy-tap h2,.target-tap h2{font-size:19px}.target-tap img,.trophy-tap .reward-art{width:145px;height:135px}.trophy-tap p,.target-tap p{font-size:10px}.dressing-preview{height:180px}.dressing-preview .player-figure{width:160px;height:180px}.hero-copy{padding-right:40px}}
.player-figure{aspect-ratio:1.5}.figure-0{background-size:300% 288.45%;background-position-y:0!important}.figure-1{background-size:300% 307.51%;background-position-y:51.37%!important}.figure-2{background-size:300% 304.76%;background-position-y:100%!important}.hero-player .player-figure{width:450px;height:300px;margin-left:-75px}.dressing-preview .player-figure{width:320px;height:215px}.avatar-option .player-figure{aspect-ratio:1.5;width:100%;height:auto}.avatar-options{margin:12px 0}.avatar-option{overflow:hidden}.hero h1{max-width:530px}@media(max-width:650px){.hero-player .player-figure{width:330px;height:220px;margin-left:-70px}.dressing-preview .player-figure{width:270px;height:180px}}
[hidden]{display:none!important}.brand{display:block;width:145px;height:82px;flex-shrink:0}.brand img{width:100%;height:100%;object-fit:contain}header{height:108px;padding-top:10px;padding-bottom:10px}.player-figure{background:none!important;overflow:hidden;display:inline-block;aspect-ratio:auto}.hero-player .player-figure{width:450px;height:300px}.dressing-preview .player-figure{width:320px;height:215px}.avatar-option .player-figure{width:100%;aspect-ratio:1.5;height:auto}.welcome-hero{position:relative;display:grid;grid-template-columns:1fr 1.1fr;gap:25px;align-items:center;background:linear-gradient(130deg,#edf3e3,#dce9cf);border:4px solid white;border-radius:30px;padding:44px 36px;overflow:hidden}.welcome-hero h1{font-size:clamp(37px,5vw,57px)}.welcome-hero p{max-width:390px}.welcome-create{margin-top:15px}.storage-note{font-size:11px!important;color:#7b8b70}.welcome-players{position:relative;height:310px;min-width:0}.welcome-players .player-figure{position:absolute;width:330px;height:230px;left:-55px;top:70px;filter:drop-shadow(0 10px 7px #24412d18)}.welcome-players .player-figure:nth-child(2){left:75px;top:0;z-index:1}.welcome-players .player-figure:nth-child(3){left:200px;top:85px}.welcome-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.welcome-steps>div{background:white;border:1px solid #e1e7d8;border-radius:22px;padding:24px}.welcome-steps b{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#e9efdc;color:#38724f}.welcome-steps h3{font-size:18px;margin:17px 0 8px}.welcome-steps p{font-size:13px;margin:0}.local-explainer{font-size:12px;max-width:700px;line-height:1.7}.saved-players{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.saved-player{background:#fff;border:2px solid #e2e9d9;border-radius:24px;padding:15px;text-align:center}.saved-player .player-figure{width:100%;height:155px}.saved-player strong{display:block;font-size:22px;margin:8px 0}.saved-player small{display:block;font-size:11px;color:#819076}.website-back{font-size:13px;color:#638257;display:inline-block;margin-top:18px}.profile-open .brand{width:130px}@media(max-width:900px){header{gap:15px}nav{gap:4px}nav button{font-size:11px;padding:9px 10px}.welcome-hero{grid-template-columns:1fr}.welcome-players{height:240px;width:420px;max-width:100%;margin:auto}.welcome-players .player-figure{top:40px;height:200px;width:300px;left:-55px}.welcome-players .player-figure:nth-child(2){left:60px;top:-10px}.welcome-players .player-figure:nth-child(3){left:165px;top:55px}.saved-players{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){header{height:auto;min-height:90px}.brand,.profile-open .brand{width:115px;height:70px}.welcome-hero{padding:30px 23px;gap:15px}.welcome-hero h1{font-size:39px}.welcome-players{height:210px;width:320px}.welcome-players .player-figure{width:245px;height:175px;left:-60px;top:35px}.welcome-players .player-figure:nth-child(2){left:34px;top:0}.welcome-players .player-figure:nth-child(3){left:125px;top:40px}.welcome-steps{grid-template-columns:1fr;gap:12px}.welcome-steps>div{padding:20px}.welcome-steps h3{margin-top:12px}.saved-players{grid-template-columns:repeat(2,1fr);gap:12px}.saved-player .player-figure{height:120px}.saved-player{padding:10px}.saved-player strong{font-size:19px}.avatar-options .player-figure{aspect-ratio:1.5}.dressing-preview .player-figure{width:270px;height:180px}}

/* Isolated avatar files cannot reveal neighbouring atlas cells. */
img.player-figure{object-fit:contain;object-position:center;background:none!important;mask-image:none!important}

.badge-settings{border:0;padding:0;margin:22px 0}.badge-settings legend{font-weight:800;margin-bottom:10px}.setting-choices{display:flex;flex-wrap:wrap;gap:10px}.setting-choices button{border:2px solid #dce5d4;background:#f3f6ed;padding:13px 17px}.setting-choices button.selected{border-color:#24714e;background:#dfeeda;color:#174731}

/* Phone badge play uses the available width rather than two tiny cards. */
#modal.badge-settings-popup{position:fixed;inset:0;margin:auto;width:min(560px,calc(100vw - 24px));height:fit-content;max-height:92dvh;box-sizing:border-box}
.badge-settings-popup .setting-choices{display:grid;grid-template-columns:repeat(3,1fr)}
.badge-settings-popup .badge-settings:last-of-type .setting-choices{grid-template-columns:repeat(2,1fr)}
.badge-settings-popup .setting-choices button{min-height:52px;font-size:15px;padding:12px 5px}
@media(max-width:650px){
 #modal.badge-game-popup{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-height:100dvh;max-width:none!important;border-radius:0;padding:12px;box-sizing:border-box}
 .badge-game-popup .badge-cards{grid-template-columns:minmax(0,1fr);width:100%;max-width:340px;margin:12px auto;gap:16px}
 .badge-game-popup .badge-card{width:100%;box-sizing:border-box}
 .badge-game-popup .timer-bar{margin:0;gap:12px}.badge-game-popup .timer-bar h2{font-size:19px}
 .badge-game-popup .modal-head{top:-12px;margin-top:0;margin-bottom:8px;padding:6px 0}
 .badge-game-popup .badge-choice{padding:3px}
 .badge-game-popup .game-status{margin:12px 0}
}

.target-tap{cursor:default}.edit-target{margin-top:18px;background:#fff;border:1px solid #b5cba8;color:#215a40;min-height:44px;padding:10px 18px;font-weight:800}#target-detail{display:block;width:100%;box-sizing:border-box;border:1px solid #ccd7bc;border-radius:14px;padding:14px;font:inherit;background:white;color:inherit;resize:vertical}#target-form button{margin-top:10px}
/* Picture-led dressing room, shared by new and returning players. */
#modal.wardrobe-modal{width:min(960px,calc(100vw - 24px));max-width:960px!important;padding:24px;background:#fbfcf5}
.wardrobe-heading h2{font-size:32px;margin:4px 0 20px}.wardrobe-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:25px;align-items:start}.wardrobe-preview{position:sticky;top:65px;overflow:hidden;min-width:0;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 30%,#fffef0,#e4eed8 65%,#c4d8b3);border:3px solid white;border-radius:26px;padding:15px 12px 22px;box-shadow:0 8px 25px #1e4a3710}.wardrobe-preview:after{content:'';position:absolute;left:12%;right:12%;bottom:78px;height:13px;background:#30582a1a;filter:blur(6px);border-radius:50%;z-index:0}.wardrobe-preview .player-figure{width:100%;height:340px;margin:0;position:relative;z-index:1}.locker-number{position:absolute;right:15px;top:2px;font-size:95px;line-height:1.3;font-weight:900;color:#315a2520;letter-spacing:-8px}.preview-name{position:relative;z-index:1;font-weight:900;font-size:25px;color:#204f3b}.wardrobe-preview small{font-size:11px;color:#62815d}.wardrobe-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.wardrobe-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;background:#edf1e5;border:2px solid transparent;padding:13px 8px;color:#506648;font-size:14px}.wardrobe-tabs button.selected{border-color:#246b4e;background:#236b4f;color:white}.wardrobe-tabs button>span{font-size:19px}.wardrobe-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:315px;overflow:auto;padding:2px 3px 8px}.wardrobe-options.character-options{grid-template-columns:repeat(4,minmax(0,1fr))}.wardrobe-option{position:relative;background:#f1f4e9;border:2px solid transparent;padding:8px 5px;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:115px;transition:transform .15s,border-color .15s}.wardrobe-option:hover{transform:translateY(-2px)}.wardrobe-option.selected{border-color:#2e7752;background:#e0edcf;box-shadow:0 0 0 1px #2e775220}.wardrobe-option>svg{width:72px;height:74px}.wardrobe-option.character-option>.player-figure{width:100%;height:110px;aspect-ratio:auto;filter:drop-shadow(0 3px 3px #173c2012)}.wardrobe-option>span{font-size:10px;line-height:1.3;font-weight:800}.player-details{display:grid;grid-template-columns:1fr 115px;gap:12px;margin-top:10px}.player-details label{font-size:12px;margin:5px 0}.player-details input{margin-top:7px;width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;font-size:15px}.wardrobe-save{width:100%;margin-top:16px}.wardrobe-note{font-size:10px;margin:8px 0 0;text-align:center;color:#74886a}
.hero-player .player-figure{width:100%;height:100%;margin:0;mask-image:none}.welcome-players .player-figure{width:170px;height:250px;left:0;top:55px}.welcome-players .player-figure:nth-child(2){left:125px;top:0}.welcome-players .player-figure:nth-child(3){left:250px;top:60px}.saved-player .player-figure{object-fit:contain}
@media(max-width:900px){.welcome-players .player-figure{width:150px;height:210px;left:0;top:30px}.welcome-players .player-figure:nth-child(2){left:120px;top:0}.welcome-players .player-figure:nth-child(3){left:240px;top:30px}}
@media(max-width:650px){#modal.wardrobe-modal{padding:14px;max-height:96dvh}.wardrobe-modal .modal-head{top:-14px;margin-bottom:8px;padding:8px 0}.wardrobe-heading h2{font-size:25px;margin-bottom:10px}.wardrobe-layout{grid-template-columns:1fr;gap:12px}.wardrobe-preview{position:relative;top:auto;padding:5px 10px 10px;border-radius:22px}.wardrobe-preview .player-figure{height:200px;width:155px}.locker-number{font-size:105px;right:24px;top:18px}.preview-name{font-size:20px}.wardrobe-preview:after{bottom:50px}.wardrobe-preview small{font-size:10px}.wardrobe-tabs{margin-bottom:9px}.wardrobe-tabs button{min-height:46px;padding:10px 6px}.wardrobe-options{max-height:250px}.wardrobe-options.character-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.wardrobe-option{min-height:88px;padding:5px 3px;border-radius:14px}.wardrobe-option.character-option>.player-figure{height:83px}.wardrobe-option>svg{width:57px;height:60px}.wardrobe-option>span{font-size:9px}.player-details{grid-template-columns:1fr 100px;margin-top:8px}.wardrobe-save{margin-top:10px}.welcome-players .player-figure{width:125px;height:185px;left:-5px;top:30px}.welcome-players .player-figure:nth-child(2){left:90px;top:0}.welcome-players .player-figure:nth-child(3){left:180px;top:30px}}

.wardrobe-tabs button>span{display:flex;width:25px;height:25px;align-items:center;justify-content:center}.wardrobe-tabs button>span>svg{display:block;width:25px;height:25px}.wardrobe-tabs button.selected>span>svg{filter:brightness(0) invert(1)}

/* Settings ask one centred pop-up question at a time. */
.badge-question{text-align:center;padding:5px 2px 8px}.badge-step{display:block;margin:14px 0 7px;font-weight:900;font-size:11px;letter-spacing:1.5px;color:#718668}.badge-question h2{font-size:clamp(25px,5vw,34px);line-height:1.15;margin:8px 0 12px}.badge-question>p{font-size:14px;margin:10px auto 22px;max-width:360px}.badge-question-choices{display:grid;gap:12px;margin:20px 0 12px}.badge-question-choices.count-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.badge-question-choices.timer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.badge-popup-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#eff3e6;border:3px solid transparent;border-radius:22px;padding:19px 8px;min-height:135px;color:#194c38}.badge-popup-choice.selected{border-color:#297450;background:#dfedcc}.badge-popup-choice:hover{background:#dbeac8}.badge-popup-choice strong{font-size:15px}.badge-count-picture{display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff,#e1d4f2);box-shadow:0 5px 0 #cdb8e2;border:3px solid #fff;width:66px;height:66px;font-size:35px;font-weight:900;color:#67458c}.badge-time-picture{font-size:35px;line-height:1.2;font-weight:900;color:#1d7752}.badge-settings-back{background:transparent;text-decoration:underline;font-size:13px;margin-top:15px}.badge-ready-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.badge-ready-choices button{background:#edf3e2;border:2px solid #d2e3bf;border-radius:20px;padding:18px 10px}.badge-ready-choices small,.badge-ready-choices strong,.badge-ready-choices span{display:block}.badge-ready-choices strong{font-size:30px;margin:9px 0;color:#216b4d}.badge-ready-choices span{font-size:11px}.badge-play-button{width:100%;min-height:54px;font-size:18px}#modal.badge-settings-popup{max-width:560px!important}.badge-settings-popup .modal-head{margin-bottom:12px}@media(max-width:650px){#modal.badge-settings-popup{padding:18px;max-height:94dvh}.badge-settings-popup .modal-head{top:-18px}.badge-popup-choice{padding:16px 5px;min-height:125px;border-radius:18px;gap:10px}.badge-count-picture{width:55px;height:55px;font-size:30px}.badge-popup-choice strong{font-size:13px}.badge-question-choices{gap:8px}.badge-question>p{font-size:13px;margin-bottom:16px}}
