:root{--ink:#242332;--muted:#767581;--bg:#faf8f3;--line:#ebe7df;--purple:#ac9af2;--lavender:#f0eaff;--mint:#d8f6e4;--yellow:#fff0b8;--peach:#ffdbcb;--sky:#dff0ff;--radius:22px;--shadow:0 10px 24px rgba(39,35,54,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--ink);font-family:ui-rounded,"Avenir Next",Avenir,"Nunito","Trebuchet MS",system-ui,sans-serif;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7f67f4;outline-offset:3px}.container{max-width:1140px;margin:0 auto;padding-left:26px;padding-right:26px}.site-header{position:sticky;top:0;z-index:20;background:rgba(250,248,243,.91);backdrop-filter:blur(14px);border-bottom:1px solid rgba(43,42,54,.07)}.header-inner{height:75px;max-width:1140px;padding:0 26px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{font-size:28px;font-weight:1000;letter-spacing:-1.8px;display:inline-flex;gap:9px;align-items:center;line-height:1}.brand-dot{color:#a18fe9}.brand-blob{display:inline-flex;position:relative;background:#b8a8f8;width:34px;height:32px;transform:rotate(-12deg);border-radius:14px 14px 16px 16px;align-items:center;justify-content:center;gap:5px}.brand-blob:after{content:"";width:8px;height:4px;border-bottom:2px solid #312b49;position:absolute;top:19px;border-radius:0 0 10px 10px}.brand-blob span{width:5px;height:6px;border-radius:50%;background:#312b49;margin-top:-7px}.brand-blob.small{width:29px;height:27px}.desktop-nav{display:flex;align-items:center;gap:33px;font-size:13px;font-weight:800;color:#676477}.desktop-nav a:hover,.footer a:hover{color:#8270d9}.header-right{display:flex;align-items:center;gap:15px}.header-date{font-weight:700;font-size:12px;color:#83808b}.streak-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #e8e4dc;background:#fff;padding:10px 13px;border-radius:100px;font-size:12px;white-space:nowrap}.streak-chip strong{font-size:14px}
.hero{display:grid;grid-template-columns:1.04fr .96fr;min-height:460px;align-items:center;padding-top:52px;padding-bottom:65px;gap:20px}.hero-copy{position:relative;z-index:1}.eyebrow,.mini-label{font-size:11px;letter-spacing:2px;font-weight:1000;color:#7c70b4}.eyebrow{display:flex;gap:8px;align-items:center}.eyebrow-star{display:inline-grid;place-items:center;width:23px;height:23px;background:#ede6ff;border-radius:50%;font-size:17px;color:#9c86e3;letter-spacing:0}.hero h1{font-size:clamp(55px,6vw,83px);font-weight:1000;line-height:1.055;letter-spacing:-4.8px;margin:20px 0 19px}.hero h1 span{color:#a38feb}.hero p{line-height:1.8;font-size:16px;color:#6b6875;max-width:440px;margin:0 0 26px}.hero p em{font-style:normal;font-weight:800;color:#504963}.hero-actions{display:flex;gap:11px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;gap:14px;padding:14px 20px;border-radius:13px;font-size:13px;font-weight:900;border:1px solid transparent;transition:transform .2s,box-shadow .2s}.btn:hover{transform:translateY(-2px);box-shadow:0 8px 17px #211c3930}.btn-dark{background:#2c2a3d;color:#fff}.btn-light{background:#fff;border-color:#e6e2dd;color:#34313d}.btn-white{background:#fff;color:#2b2940}.hero-fine{margin-top:23px;display:flex;align-items:center;gap:7px;font-size:12px;color:#92909a;font-weight:700}.green-dot{width:7px;height:7px;border-radius:50%;background:#71c69b}.hero-art{height:350px;position:relative;isolation:isolate}.tilt-card{position:absolute;width:204px;height:247px;border-radius:30px;box-shadow:0 19px 40px #29213720;display:flex;justify-content:center;align-items:center;flex-direction:column;border:5px solid #fff}.tilt-card>span{font-size:54px}.tilt-card small{text-align:center;font-size:18px;font-weight:1000;letter-spacing:1px;line-height:1.14;margin-top:12px}.tilt-back{background:#f8cebe;transform:rotate(19deg);right:39px;top:15px}.tilt-middle{background:#d2efe0;transform:rotate(-18deg);left:56px;top:37px}.tilt-front{background:#c3b5fb;width:230px;height:270px;top:55px;right:116px;transform:rotate(4deg)}.tilt-front strong{font-size:16px;letter-spacing:1px;margin-top:14px}.mascot{width:127px;height:111px;background:#fff9f3;border-radius:45% 55% 48% 53%;position:relative;display:flex;align-items:center;justify-content:center;gap:28px;box-shadow:inset -7px -8px #efe9ee}.mascot-eye{background:#29283d;width:9px;height:14px;border-radius:50%}.mascot-mouth{position:absolute;top:60px;width:24px;height:12px;border-bottom:4px solid #29283d;border-radius:0 0 20px 20px}.star-mark{position:absolute;top:29px;left:28px;font-size:30px!important;color:#fff}.hero-sticker{position:absolute;bottom:4px;right:14px;background:#fff1b7;border:3px solid #fff;border-radius:50%;height:103px;width:103px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14px;font-weight:900;line-height:1.3;transform:rotate(-13deg);box-shadow:0 9px 24px #29213718;z-index:4}.hero-sticker b{font-size:12px}.spark{position:absolute;z-index:5;color:#9d8ee2;font-size:28px}.spark-a{top:3px;left:21px}.spark-b{right:18px;top:7px;color:#eaa884}.spark-c{left:9px;bottom:30px;color:#86c9ab}
.games-section{background:#fff;border-top:1px solid #f2eee9;border-bottom:1px solid #f2eee9;padding:65px 0 58px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:27px}.section-head h2{font-size:clamp(32px,3.5vw,44px);letter-spacing:-2px;font-weight:1000;margin:7px 0 9px}.section-head p{font-size:14px;color:#827e89;margin:0}.tiny-spark{font-size:23px;color:#a995ed;display:inline-block;transform:translateY(-12px)}.date-pill{font-size:12px;font-weight:900;background:#faf8f3;border-radius:100px;border:1px solid #f1ede6;padding:10px 15px;white-space:nowrap}.date-pill span:first-child{margin-right:6px}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card{border:1px solid #e9e5df;border-radius:22px;overflow:hidden;background:#fff;box-shadow:var(--shadow);position:relative;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #29213717}.game-banner{min-height:150px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden}.game-banner:after{content:"";height:195px;width:195px;border:2px solid #ffffff7d;border-radius:46%;position:absolute;top:-101px;right:-50px}.game-banner:before{content:"";height:150px;width:150px;border:2px solid #ffffff8c;border-radius:45%;position:absolute;bottom:-110px;left:-30px}.game-banner .emoji{font-size:75px;filter:drop-shadow(0 7px 0 #0000000a);transform:rotate(-7deg);z-index:1}.game-banner.purple{background:#e5dbff}.game-banner.yellow{background:#fff0b7}.game-banner.mint{background:#d9f3e6}.game-banner.coral{background:#ffe0d5}.game-banner.blue{background:#dfecff}.card-tag{position:absolute;top:13px;left:14px;z-index:2;background:#ffffffcc;border:1px solid #ffffff88;font-size:10px;padding:6px 10px;border-radius:50px;font-weight:900;letter-spacing:.5px}.game-card-content{padding:21px}.card-heading{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.card-heading h3{margin:0;font-size:23px;letter-spacing:-.8px}.card-heading .mins{font-size:11px;color:#9a96a0;font-weight:800;white-space:nowrap}.game-card-content p{color:#76727e;font-size:13px;line-height:1.6;min-height:40px;margin:8px 0 19px}.card-play{width:100%;border:1px solid #e7e3e0;background:#fff;font-weight:900;font-size:13px;border-radius:11px;padding:11px 12px;display:flex;justify-content:space-between;align-items:center;transition:background .2s}.card-play:hover{background:#f9f7fc}.game-card.is-complete .card-play{background:#ecfaf2;border-color:#c9eeda;color:#30865c}.daily-note{text-align:center;color:#95919d;font-size:12px;margin:25px 0 0}.daily-note>span:first-child{color:#b2a1ef;font-size:17px}.daily-note strong{color:#67626e}
.progress-section{padding-top:71px;padding-bottom:65px}.stats-layout{display:grid;grid-template-columns:1.35fr .75fr;gap:21px}.score-panel,.stats-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.score-panel{position:relative;overflow:hidden}.panel-top{display:flex;justify-content:space-between}.small-badge{color:#8d7bd0;font-size:10px;font-weight:1000;letter-spacing:1.7px}.trophy-deco{font-size:30px}.score-number{font-size:57px;font-weight:1000;letter-spacing:-3px;margin:6px 0 15px}.score-cap{font-size:21px;color:#ada9b5;font-weight:700;letter-spacing:0}.progress-track{height:12px;border-radius:100px;background:#eeeaf7;overflow:hidden}.progress-fill{width:0;height:100%;background:linear-gradient(90deg,#b8a4ff,#89d7b2);border-radius:100px;transition:width .4s}.score-foot{display:flex;justify-content:space-between;gap:10px;margin-top:12px;color:#898491;font-size:12px;font-weight:700}.week-heading{font-size:10px;letter-spacing:1.7px;font-weight:1000;color:#9994a0;margin:34px 0 12px}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.week-day{display:flex;flex-direction:column;gap:8px;align-items:center;font-size:10px;color:#96919b;font-weight:800}.week-dot{width:100%;max-width:44px;aspect-ratio:1;border-radius:12px;display:grid;place-items:center;background:#f4f1ef;color:#c1b9b9;font-weight:900;font-size:15px}.week-day.active .week-dot{background:#d6f3e3;color:#459a71}.week-day.today .week-dot{border:2px solid #b2a0f3}.stats-panel{display:flex;flex-direction:column;gap:20px}.mini-stat{display:flex;align-items:center;gap:13px}.stat-icon{height:49px;width:49px;border-radius:14px;display:grid;place-items:center;font-size:22px}.peach{background:#fff0db}.lavender{background:#ede5ff}.mint{background:#dff6eb}.mini-stat strong{display:block;font-size:18px;letter-spacing:-.5px}.mini-stat small{color:#908c96;font-size:12px}.storage-note{border-top:1px solid var(--line);font-size:11px;line-height:1.65;color:#93909c;margin:auto 0 0;padding-top:18px}.how-section{padding:63px 0 73px;background:#f2eee9}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.step{background:#fff;border-radius:21px;padding:24px;position:relative;border:1px solid #ede8e3}.step-number{font-size:11px;letter-spacing:1.5px;font-weight:900;color:#a99dc6}.step-icon{margin-top:18px;font-size:35px}.step h3{font-size:21px;letter-spacing:-.5px;margin:13px 0 5px}.step p{font-size:13px;color:#8d8993;line-height:1.7;margin:0}.end-banner{background:#b7a4f0;min-height:170px;margin-top:65px;margin-bottom:65px;border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden}.end-banner>div:first-child{padding:28px 0 28px 9px;position:relative;z-index:1}.end-banner>div:first-child>span{font-size:10px;letter-spacing:2px;color:#514579;font-weight:1000}.end-banner h2{margin:9px 0 0;font-size:33px;letter-spacing:-1.5px}.end-banner h2 i{font-style:normal;color:#fff}.end-banner .btn{margin-right:8px;position:relative;z-index:1}.banner-decor{position:absolute;right:26%;bottom:-78px;font-size:245px;color:#ffffff26;line-height:1}.footer{border-top:1px solid #eae6e1;padding:24px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:16px}.footer .brand{font-size:22px}.footer p,.footer span:not(.brand-blob):not(.brand-dot){color:#9b96a2;font-size:11px}
.modal[hidden]{display:none!important}.modal{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:#242331ad;backdrop-filter:blur(5px)}.modal-dialog{position:relative;background:#fffefc;border-radius:25px;width:min(720px,100%);max-height:min(92vh,920px);overflow-y:auto;box-shadow:0 24px 80px #1510204d}.modal-bar{position:sticky;top:0;z-index:4;background:#fffefaed;backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;padding:13px 22px;border-bottom:1px solid #eee9e4;gap:10px}.back-button,.modal-close{border:0;background:none;color:#6a6672;font-weight:900;font-size:12px}.back-button:hover,.modal-close:hover{color:#292434}.modal-close{font-size:26px;line-height:1}.modal-challenge{font-size:11px;font-weight:900;color:#9d93ab}.game-content{padding:30px 35px 38px}.game-intro{text-align:center}.game-icon{font-size:48px}.game-title{font-size:38px;letter-spacing:-1.7px;margin:7px 0}.game-desc{color:#77727e;font-size:14px;line-height:1.7;margin:0 auto 20px;max-width:530px}.game-kicker{display:inline-flex;background:#f1ecff;color:#8a75cf;padding:7px 12px;font-weight:900;letter-spacing:.9px;font-size:10px;border-radius:30px}.game-box{border:1px solid #e8e4dd;background:#fff;border-radius:18px;padding:23px;margin-top:20px}.game-question{font-size:20px;letter-spacing:-.5px;text-align:center;line-height:1.4;margin:5px auto 19px;max-width:530px}.game-help{text-align:center;color:#9c96a3;font-size:12px;margin:6px 0 14px;line-height:1.7}.rank-list{display:grid;gap:10px}.rank-item{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:13px 14px;border:1px solid #e7e4e0;background:#faf9f7;border-radius:12px;font-weight:900;font-size:14px;cursor:grab}.rank-number{height:26px;width:26px;display:grid;place-items:center;background:#e8e0ff;color:#806abb;border-radius:8px}.move-controls{display:flex;gap:4px}.move-controls button{border:1px solid #e9e5e1;background:white;width:31px;height:29px;border-radius:7px;font-weight:900;color:#716d7c}.move-controls button:hover{background:#ede8fb}.game-primary,.game-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:11px;border:0;font-weight:900;font-size:13px}.game-primary{background:#302a45;color:#fff}.game-primary:hover{background:#4a3e6a}.game-secondary{background:#f0edf5;color:#4b4658}.game-secondary:hover{background:#e7e0f4}.game-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:21px 0 0}.answer-input{width:100%;padding:15px;border-radius:12px;border:2px solid #e9e4e1;font-size:16px;background:#fff;text-align:center;color:#262334}.answer-input:focus{border-color:#b5a4ed;outline:0}.clue-list{display:grid;gap:9px;margin:0;padding:0;list-style:none;counter-reset:clue}.clue-line{background:#f6f3fd;border:1px solid #ebe5fb;border-radius:12px;padding:13px 16px;font-size:14px;line-height:1.55;display:flex;gap:11px}.clue-index{font-size:11px;font-weight:1000;background:#e9dfff;color:#7c63bb;height:26px;width:26px;display:grid;place-items:center;flex:0 0 26px;border-radius:9px}.feedback{text-align:center;color:#716a7f;font-weight:700;font-size:12px;margin:15px 0 0;min-height:17px}.feedback.error{color:#bc514d}.sudoku-wrap{display:flex;justify-content:center}.sudoku{display:grid;grid-template-columns:repeat(4,62px);grid-template-rows:repeat(4,62px);border:3px solid #3e3653;border-radius:8px;overflow:hidden}.sudoku input{font-weight:900;text-align:center;font-size:25px;width:62px;height:62px;border:0;border-right:1px solid #d3ccd9;border-bottom:1px solid #d3ccd9;background:#fff;color:#554a75;border-radius:0;outline:none;appearance:textfield}.sudoku input::-webkit-outer-spin-button,.sudoku input::-webkit-inner-spin-button{appearance:none;margin:0}.sudoku input:nth-child(4n){border-right:0}.sudoku input:nth-child(n+13){border-bottom:0}.sudoku input:nth-child(4n+2){border-right:3px solid #3e3653}.sudoku input:nth-child(n+5):nth-child(-n+8){border-bottom:3px solid #3e3653}.sudoku input:focus{background:#e5dcff}.sudoku input.given{background:#f6f2fa;color:#282536}.sudoku input.hinted{background:#e4f8ed;color:#258056}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.choice{border:2px solid #e9e5e2;border-radius:12px;background:#faf9f7;padding:14px;text-align:left;font-weight:900;color:#494550;font-size:13px;transition:background .15s,border .15s}.choice:hover:not(:disabled){border-color:#ac9cf0;background:#f1eafe}.choice.selected-correct{background:#dff7e9;border-color:#81cca0;color:#2b7852}.choice.selected-wrong{background:#fff0ee;border-color:#ef9f9a;color:#bc544b}.choice.reveal-correct{border-color:#88cda5}.question-meta{font-weight:900;color:#a096af;font-size:11px;letter-spacing:1px;text-align:center;margin-bottom:14px}.result-box{text-align:center;background:#f7f4ff;border:1px solid #ebe4ff;border-radius:20px;padding:30px 24px;margin-top:18px}.result-emoji{font-size:51px}.result-box h3{font-size:29px;letter-spacing:-1px;margin:8px 0}.result-points{font-size:48px;letter-spacing:-2px;font-weight:1000;color:#6953b2;margin:13px 0}.result-points span{font-size:16px;letter-spacing:0;color:#968ba8}.result-box p{color:#7e748d;line-height:1.7;font-size:14px}.answer-review{border-top:1px solid #dfd8ee;padding-top:14px;margin-top:19px;font-size:13px;color:#70697c;line-height:1.7}.result-box .game-actions{margin-top:19px}.completed-pill{display:inline-block;background:#e4f6ec;padding:8px 12px;border-radius:20px;color:#30845a;font-weight:900;font-size:12px;margin-bottom:8px}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);background:#2d293c;color:#fff;padding:13px 20px;border-radius:12px;box-shadow:0 10px 30px #20202d30;z-index:90;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;font-weight:800;font-size:13px}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:940px){.hero{grid-template-columns:1fr .8fr}.hero-art{transform:scale(.78);transform-origin:center}.tilt-back{right:-5px}.tilt-middle{left:2px}.tilt-front{right:42px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-layout{grid-template-columns:1.1fr .9fr}}@media(max-width:720px){.desktop-nav,.header-date{display:none}.header-inner{height:67px}.hero{grid-template-columns:1fr;padding-top:39px;padding-bottom:44px;min-height:auto}.hero h1{font-size:clamp(55px,12vw,74px);letter-spacing:-3px}.hero-art{transform:scale(.78);transform-origin:top center;height:295px;margin-top:12px}.tilt-back{right:7%}.tilt-middle{left:13%}.tilt-front{right:26%}.game-grid,.stats-layout,.steps{grid-template-columns:1fr}.game-grid{gap:14px}.game-banner{min-height:134px}.game-card-content p{min-height:auto}.section-head{align-items:start;flex-direction:column}.games-section,.progress-section,.how-section{padding-top:47px;padding-bottom:48px}.end-banner{margin-top:38px;margin-bottom:38px;flex-wrap:wrap;padding-top:10px;padding-bottom:20px}.end-banner>div:first-child{padding-bottom:5px}.end-banner .btn{margin-left:9px}.footer-inner{flex-wrap:wrap}.footer-inner p{width:100%;order:3;margin:0}.game-content{padding:22px 15px 28px}.modal{padding:8px}.modal-dialog{max-height:95vh;border-radius:18px}.modal-bar{padding:12px 15px}.game-title{font-size:33px}.game-box{padding:15px}.game-question{font-size:18px}}@media(max-width:440px){.container{padding-left:18px;padding-right:18px}.header-inner{padding:0 18px}.hero-art{transform:scale(.7);margin:-8px -35px -30px;}.hero h1{font-size:55px}.game-banner{min-height:123px}.score-panel,.stats-panel{padding:20px}.score-foot{flex-direction:column}.sudoku{grid-template-columns:repeat(4,54px);grid-template-rows:repeat(4,54px)}.sudoku input{width:54px;height:54px}.choices{grid-template-columns:1fr}.rank-item{padding:10px}.end-banner h2{font-size:28px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Womble v2 accounts, avatars, global leaderboard */
.nav-link{border:0;background:transparent;color:inherit;font-size:14px;font-weight:750;padding:8px 2px}.nav-link:hover{text-decoration:underline}
.account-nav{background:#282636;color:white;border:0;border-radius:30px;font-size:12px;font-weight:900;padding:11px 14px;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-nav:hover{background:#49415c}.header-right{gap:10px!important}.header-right .streak-chip{white-space:nowrap}
.account-dialog{max-width:510px}.leaderboard-dialog{max-width:740px}.account-content,.leaderboard-content{padding:16px 30px 36px}
.account-content h2,.leaderboard-content h2{font-size:32px;letter-spacing:-1px;margin:10px 0}.account-content p,.leaderboard-content p{color:#6f6a79;line-height:1.55}
.account-tabs,.leaderboard-tabs{display:flex;gap:7px;margin:18px 0;border:1px solid #e7e1de;padding:5px;border-radius:14px;background:#faf9f6}
.account-tabs button,.leaderboard-tabs button{flex:1;border:0;border-radius:11px;background:transparent;padding:11px 8px;font-weight:900;color:#787080}
.account-tabs button.active,.leaderboard-tabs button.active{background:#fff;color:#272333;box-shadow:0 2px 8px #29213311}
.form-field{display:flex;flex-direction:column;gap:6px;margin:17px 0}.form-field label{font-weight:800;font-size:13px}.form-field input{width:100%;border-radius:13px;border:1px solid #dbd7dd;background:#fff;padding:13px 15px;color:#272333}
.form-field small{color:#7a7284;line-height:1.5}.checkbox-line{display:flex;align-items:flex-start;gap:9px;margin:17px 0;font-size:13px;color:#5b5667}.checkbox-line input{margin-top:3px}
.account-content .game-primary{width:100%}.inline-error{color:#bd454a;font-size:13px;margin:12px 0}.account-hint{font-size:13px;line-height:1.55;background:#f3edff;padding:12px;border-radius:12px}
.profile-header{display:flex;align-items:center;gap:18px;background:#f6f2fc;padding:17px;border-radius:17px;margin:16px 0 20px}.profile-picture{width:68px;height:68px;flex:none;object-fit:cover;border-radius:50%;background:#d4c3fb;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;color:#333}
.profile-info strong{font-size:21px;display:block;overflow-wrap:anywhere}.profile-info small{font-size:12px;color:#696375;display:block;margin-top:4px}.profile-form{border:1px solid #e9e5e9;border-radius:16px;padding:18px;margin:16px 0}.profile-form input[type=file]{width:100%;font-size:13px;max-width:100%}.profile-form button{margin-top:10px}.profile-actions{display:flex;flex-wrap:wrap;gap:10px}.profile-actions button{flex:1}
.leaderboard-row{display:flex;align-items:center;gap:13px;padding:12px 9px;border-bottom:1px solid #ece9ee}.leaderboard-row:last-child{border-bottom:0}.leaderboard-rank{width:32px;font-size:15px;font-weight:900;color:#7f778c}.leaderboard-avatar{width:38px;height:38px;flex:none;object-fit:cover;border-radius:50%;background:#e7ddff;display:flex;align-items:center;justify-content:center;font-weight:900}.leaderboard-name{flex:1;min-width:0;font-weight:800;overflow-wrap:anywhere}.leaderboard-name small{display:block;color:#767180;font-weight:500;font-size:12px;margin-top:3px}.leaderboard-score{font-weight:900;white-space:nowrap}.empty-leaderboard{padding:30px 10px;text-align:center;background:#f8f5fa;border-radius:15px}
.leaderboard-headline{display:flex;align-items:center;justify-content:space-between;gap:10px}.tiny-mark{font-size:11px;font-weight:750;color:#71667f;background:#f2ecfc;padding:7px 10px;border-radius:20px}
.loading-message,.load-error{max-width:800px;margin:14px auto;padding:28px;border-radius:18px;background:#fff;color:#605e65;text-align:center}.load-error{background:#fff0ed;color:#913f40}.action-status{margin:14px 0;color:#504963;font-size:13px}
.puzzle-origin{font-size:12px;color:#726c83}
@media(max-width:740px){.account-nav{font-size:11px;padding:10px 11px;max-width:145px}.header-date{display:none}.account-content,.leaderboard-content{padding:12px 18px 28px}.account-content h2,.leaderboard-content h2{font-size:27px}.desktop-nav{display:none}.profile-header{gap:11px}}
@media(max-width:410px){.header-inner{padding:0 13px!important;gap:8px}.brand{font-size:24px}.brand-blob{width:27px;height:27px}.streak-chip .hide-small{display:none}.account-nav{max-width:120px}.leaderboard-headline{align-items:flex-start;flex-direction:column}}

/* v3: flag round */
.flag-display{display:flex;justify-content:center;align-items:center;margin:4px auto 16px;padding:18px;max-width:330px;background:#f7f6fb;border-radius:17px;border:1px solid #ebe8ef}
.flag-display img{width:min(100%,240px);height:145px;object-fit:contain;filter:drop-shadow(0 3px 7px #19151a20)}
.card-play:disabled{opacity:.75;background:#e8e5ee;color:#5a5468}

/* Womble v5 — dedicated, on-page leaderboard */
.leaderboard-section{padding:72px 0 82px;background:#fff;border-top:1px solid #f0ebea}
.leaderboard-heading{align-items:center}
.leaderboard-heading-right{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.leaderboard-refresh{border:1px solid #e7e1ee;background:#fff;border-radius:12px;padding:12px 16px;color:#554b6f;font-size:13px;font-weight:900;min-height:44px}
.leaderboard-refresh:hover{background:#f4efff}
.leaderboard-refresh[hidden]{display:none!important}
.leaderboard-panel{border:1px solid #ebe6f1;border-radius:24px;background:#fefdfb;overflow:hidden;box-shadow:0 16px 44px rgba(42,31,67,.06)}
.leaderboard-section .leaderboard-content{padding:25px 27px 30px}
.leaderboard-overview{display:flex;align-items:center;justify-content:space-between;gap:12px}
.leaderboard-overview strong{font-size:19px;letter-spacing:-.3px}
.leaderboard-overview p{margin:4px 0 0;font-size:13px;color:#77707f}
.leaderboard-count{font-size:12px;font-weight:900;border:1px solid #e9e0f7;border-radius:99px;background:#f5efff;padding:9px 12px;white-space:nowrap;color:#6e5aa3}
.leaderboard-section .leaderboard-tabs{max-width:570px;margin:22px 0 21px}
.leaderboard-section .leaderboard-tabs button{min-height:44px}
.leaderboard-section .leaderboard-list{display:grid;gap:8px}
.leaderboard-section .leaderboard-row{border:1px solid #f0edf0;border-radius:15px;background:#fff;padding:13px 17px;min-height:67px}
.leaderboard-section .leaderboard-top{background:#f9f6ff;border-color:#eae3f7}
.leaderboard-section .leaderboard-me{border-color:#bba9ee;background:#f4efff}
.leaderboard-section .leaderboard-rank{min-width:36px;width:36px;text-align:center}
.leaderboard-section .leaderboard-avatar{width:42px;height:42px}
.leaderboard-section .leaderboard-score{font-size:19px;text-align:right}
.leaderboard-section .leaderboard-score small{font-size:10px;color:#8e869a;font-weight:700;display:block}
.leaderboard-footnote{margin:15px 0 0;text-align:center;font-size:12px;color:#89828e}
.leaderboard-locked{text-align:center;padding:50px 20px 54px;max-width:560px;margin:0 auto}
.locked-icon{font-size:46px;line-height:1.4}
.leaderboard-locked h3{font-size:27px;letter-spacing:-1px;margin:13px 0 7px}
.leaderboard-locked p{font-size:14px;color:#77707f;line-height:1.7;margin:0 auto 19px;max-width:440px}
.locked-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.locked-actions button{min-height:46px;padding:12px 20px}
.leaderboard-locked>small{display:block;color:#918999}
.leaderboard-section .empty-leaderboard{padding:46px 15px;background:#f8f5fc}
.leaderboard-section .empty-leaderboard>div{font-size:36px;margin-bottom:10px}
.leaderboard-section .empty-leaderboard strong{font-size:18px}
.leaderboard-section .empty-leaderboard p{font-size:13px;color:#77707f;margin:9px 0 18px}
.mobile-dock{display:none}

/* Comfortable tap targets and responsive behavior on touch devices */
@media(hover:none){.game-card:hover{transform:none}.btn:hover{transform:none}.choice:hover:not(:disabled){background:#faf9f7;border-color:#e9e5e2}}
@media(max-width:940px){.desktop-nav{gap:15px}.header-inner{gap:12px}.header-date{display:none}}
@media(max-width:740px){
 html{scroll-padding-top:78px}
 body{padding-bottom:calc(70px + env(safe-area-inset-bottom, 0px))}
 .site-header{z-index:30}
 .header-inner{height:62px;gap:10px}
 .brand{font-size:26px;flex-shrink:0}
 .header-right{margin-left:auto;gap:7px!important;min-width:0}
 .header-right .streak-chip{padding:8px 10px;font-size:12px}
 .header-right .streak-chip .hide-small{display:none}
 .account-nav{max-width:155px;min-height:40px}
 .hero{display:block;padding-top:32px;padding-bottom:36px}
 .hero-copy{max-width:560px}
 .hero h1{font-size:clamp(42px,9vw,65px);letter-spacing:-2.8px;margin:14px 0}
 .hero p{font-size:14px;line-height:1.65;margin-bottom:20px}
 .hero-art{display:none}
 .hero-actions{gap:9px}
 .hero-actions .btn{min-height:46px}
 .hero-fine{margin-top:17px}
 .games-section{padding:38px 0 41px}
 .section-head{margin-bottom:19px}
 .section-head h2{font-size:clamp(28px,7vw,38px);letter-spacing:-1.5px}
 .section-head p{line-height:1.6}
 .game-grid{grid-template-columns:1fr;gap:10px}
 .game-card{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:stretch;border-radius:16px}
 .game-banner{height:100%;min-height:128px}
 .game-banner .emoji{font-size:43px}
 .game-banner:before,.game-banner:after{display:none}
 .game-banner .card-tag{display:none}
 .game-card-content{padding:13px 14px;min-width:0;display:flex;flex-direction:column}
 .card-heading{align-items:center}
 .card-heading h3{font-size:18px;letter-spacing:-.45px}
 .card-heading .mins{font-size:10px}
 .game-card-content p{font-size:12px;line-height:1.4;min-height:0;margin:5px 0 9px}
 .card-play{font-size:12px;min-height:43px;padding:8px 11px;margin-top:auto}
 .date-pill{white-space:normal}
 .stats-layout{gap:13px}
 .progress-section,.how-section{padding-top:42px;padding-bottom:42px}
 .score-panel,.stats-panel{padding:20px}
 .score-number{font-size:47px}
 .score-cap{font-size:18px}
 .week-strip{gap:5px}
 .week-dot{border-radius:10px}
 .end-banner{margin-top:25px;margin-bottom:25px;min-height:0;padding:15px 20px}
 .end-banner>div:first-child{padding:12px 0}
 .end-banner .btn{margin-left:0}
 .leaderboard-section{padding:43px 0 45px}
 .leaderboard-heading-right{width:100%;justify-content:space-between}
 .leaderboard-panel{border-radius:17px}
 .leaderboard-section .leaderboard-content{padding:14px 12px 19px}
 .leaderboard-section .leaderboard-row{gap:9px;padding:11px 10px}
 .leaderboard-section .leaderboard-avatar{width:36px;height:36px}
 .leaderboard-section .leaderboard-rank{width:29px;min-width:29px}
 .leaderboard-section .leaderboard-name{font-size:13px}
 .leaderboard-section .leaderboard-name small{font-size:11px}
 .leaderboard-section .leaderboard-score{font-size:16px}
 .leaderboard-locked{padding:36px 7px}
 .footer{padding:25px 0}
 .mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));bottom:0;left:0;right:0;z-index:25;min-height:calc(64px + env(safe-area-inset-bottom, 0px));padding:6px 8px calc(6px + env(safe-area-inset-bottom, 0px));background:rgba(255,254,252,.97);backdrop-filter:blur(20px);border-top:1px solid #e6e2ec;box-shadow:0 -9px 24px #251a400d}
 .mobile-dock a,.mobile-dock button{border:0;background:transparent;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:2px;color:#514d61;font-size:11px;font-weight:900;border-radius:12px;min-width:0;min-height:50px;padding:4px 3px}
 .mobile-dock a>span,.mobile-dock button>span{font-size:21px;line-height:1.2}
 .mobile-dock a:active,.mobile-dock button:active{background:#f0e9fe}
 .toast{bottom:calc(82px + env(safe-area-inset-bottom, 0px));width:max-content;max-width:calc(100vw - 30px);text-align:center}
 .modal{padding:0;align-items:flex-end}
 .modal-dialog{width:100%;border-radius:22px 22px 0 0;max-height:calc(100dvh - 12px);padding-bottom:env(safe-area-inset-bottom, 0px)}
 .modal-bar{padding:12px 17px}
 .modal-close,.back-button{min-height:42px;min-width:42px}
 .game-content{padding:20px 16px 30px}
 .game-box{padding:16px}
 .choice{min-height:49px}
 .game-actions button{min-height:46px}
 .rank-item{cursor:default}
 .account-content{padding:14px 20px 29px}
}
@media(max-width:390px){
 .container{padding-left:15px;padding-right:15px}
 .header-inner{padding:0 13px!important}
 .brand{font-size:22px;gap:6px}
 .brand-blob{width:26px;height:27px}
 .account-nav{max-width:114px;font-size:10px;padding:8px 9px}
 .header-right .streak-chip{padding:7px 8px}
 .game-card{grid-template-columns:80px minmax(0,1fr)}
 .game-banner .emoji{font-size:37px}
 .card-heading h3{font-size:16px}
 .card-heading .mins{display:none}
 .game-card-content{padding:11px}
 .leaderboard-section .leaderboard-count{font-size:10px;padding:7px 8px}
 .leaderboard-section .leaderboard-name small{display:none}
 .leaderboard-section .leaderboard-score small{font-size:9px}
 .leaderboard-section .leaderboard-avatar{width:31px;height:31px}
 .leaderboard-section .leaderboard-row{gap:6px;padding:10px 7px}
 .locked-actions button{width:100%}
 .leaderboard-locked{padding:30px 12px}
 .week-strip{gap:3px}
}
@media(prefers-reduced-motion:reduce){.mobile-dock{backdrop-filter:none}}

/* Public rankings: a clear, unobtrusive signup option below the visible scores. */
.leaderboard-guest-note{margin:20px 0 0;background:#f4efff;color:#564872;border-radius:14px;padding:14px 16px;font-size:13px;line-height:1.5;font-weight:650;text-align:center}
.leaderboard-guest-note button{display:inline;border:0;background:none;color:#4e3b90;text-decoration:underline;text-underline-offset:3px;font-weight:900;cursor:pointer;padding:6px;min-height:38px}
.leaderboard-guest-note button:focus-visible{outline:2px solid #6a54b8;outline-offset:3px;border-radius:4px}

/* Womble v6: mobile polish and always-visible rank eligibility */
.leaderboard-requirement{display:flex;align-items:center;gap:15px;margin:0 0 20px;padding:16px 18px;border:1px solid #e1d7f6;background:#f6f1ff;border-radius:18px}
.requirement-icon{width:44px;height:44px;display:grid;place-items:center;flex:none;font-size:24px;background:white;border-radius:13px}
.leaderboard-requirement>div{min-width:0;flex:1}
.leaderboard-requirement strong{font-size:15px;color:#3d3158;line-height:1.3}
.leaderboard-requirement p{font-size:12px;line-height:1.55;margin:5px 0 0;color:#625a72}
.requirement-join{border:0;border-radius:13px;background:#302a45;color:white;font-weight:900;padding:12px 17px;min-height:45px;flex:none}
.requirement-join[hidden]{display:none}
.avatar-consent{display:flex;align-items:flex-start;gap:11px;background:#f4f0fc;border-radius:12px;padding:13px;margin-top:13px;color:#342b4d}
.avatar-consent input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:#6653b8}
.avatar-consent strong,.avatar-consent small{display:block}
.avatar-consent small{color:#6a6276;font-size:12px;line-height:1.55;margin-top:3px}
.avatar-visibility{display:flex;gap:9px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-top:1px solid #eee8f5;margin-top:12px;padding-top:11px;font-size:12px;font-weight:850}
.avatar-visibility button{margin:0;min-height:42px}
@media(max-width:740px){
 .leaderboard-requirement{display:grid;grid-template-columns:37px minmax(0,1fr);align-items:start;gap:10px;padding:13px}
 .requirement-icon{width:37px;height:37px;font-size:20px}
 .leaderboard-requirement strong{font-size:14px}
 .leaderboard-requirement p{font-size:12px}
 .requirement-join{grid-column:1/-1;width:100%;min-height:46px}
 .leaderboard-section .leaderboard-overview{align-items:flex-start}
 .leaderboard-section .leaderboard-overview strong{font-size:16px}
 .leaderboard-section .leaderboard-tabs{margin:14px 0;gap:4px}
 .leaderboard-section .leaderboard-tabs button{padding:11px 3px;font-size:12px}
 .leaderboard-section .leaderboard-name{overflow-wrap:anywhere}
 .leaderboard-section .leaderboard-score{min-width:48px}
 .profile-form .game-secondary{min-height:44px}
}
@media(max-width:350px){
 .hero h1{font-size:40px}
 .game-card{grid-template-columns:68px minmax(0,1fr)}
 .game-card-content{padding:9px}
 .game-banner .emoji{font-size:31px}
 .leaderboard-section .leaderboard-row{gap:5px}
 .leaderboard-section .leaderboard-rank{min-width:23px;width:23px}
 .leaderboard-section .leaderboard-avatar{width:28px;height:28px}
 .leaderboard-section .leaderboard-name{font-size:12px}
 .leaderboard-section .leaderboard-score{font-size:14px}
}

/* V7: drag-to-sort cards on desktop and touchscreens. */
.rank-item{cursor:grab!important;touch-action:none;user-select:none;-webkit-user-select:none;position:relative;gap:10px;min-height:55px;transition:background .12s,border-color .12s;}
.rank-item:focus-visible{outline:3px solid #8f7adb;outline-offset:3px}
.rank-item.is-dragging{cursor:grabbing!important;z-index:4;background:#f1eaff;box-shadow:0 9px 22px #493a7133;transition:none;}
.rank-item.drop-target:not(.is-dragging){border-color:#8f77d8;background:#f8f4ff;}
.rank-label{flex:1;min-width:0;overflow-wrap:anywhere}
.rank-grip{font-size:25px;color:#84799f;line-height:1;padding:0 7px;pointer-events:none}
.rank-help{margin:0 0 13px;text-align:left}
.daily-note a{color:#6550a0;font-weight:800;white-space:nowrap}
