:root{--keek-top:0px;--keek-bottom:0px;--keek-left:0px;--keek-right:0px;--app-top:max(env(safe-area-inset-top,0px),var(--keek-top));--app-bottom:max(env(safe-area-inset-bottom,0px),var(--keek-bottom))}
body.club-shell{background:#f5f1e8}
#app,#app.ui-refresh{padding-top:var(--app-top)!important;padding-left:max(env(safe-area-inset-left,0px),var(--keek-left));padding-right:max(env(safe-area-inset-right,0px),var(--keek-right));min-height:100dvh;box-sizing:border-box}
#app.ui-refresh{padding-bottom:calc(88px + var(--app-bottom))}
#app.ui-refresh .bottom{padding-bottom:var(--app-bottom);height:calc(74px + var(--app-bottom));background:#f5f1e8;opacity:1}
#app.ui-refresh .wd-page{padding-inline:16px}
#app.ui-refresh .wd-header{height:66px;gap:8px}
#app.ui-refresh .wd-brand{font-size:17px!important;letter-spacing:-.7px;gap:6px;white-space:nowrap}
#app.ui-refresh .wd-brand .wd-club-mark{width:24px;height:27px}
#app.ui-refresh .wd-header-actions{gap:7px;flex-shrink:0}
#app.ui-refresh .wd-wallet{height:38px;gap:5px;padding:7px 9px;max-width:88px;font-size:13px}
#app.ui-refresh .wd-wallet b{overflow:hidden;text-overflow:ellipsis}
#app.ui-refresh .wd-my-games{position:relative;width:38px;height:38px;padding:7px;justify-content:center}
#app.ui-refresh .wd-my-games>span{display:none}
#app.ui-refresh .wd-my-games>b{position:absolute;right:-4px;top:-4px;min-width:15px;height:16px;font-size:9px;display:grid;place-items:center;padding:0 3px}
#app.ui-refresh .keek-streak-chip{height:38px;display:flex;align-items:center;gap:3px;background:#fff9eb;border:1px solid #e7d8ba;border-radius:12px;padding:6px;font-size:14px;color:#5d3946}
#app.ui-refresh .keek-streak-chip b{font-size:12px}
#app.ui-refresh .wd-section{margin:24px 0 12px;gap:8px}
#app.ui-refresh .wd-section h2{font-size:20px;line-height:1.15;letter-spacing:-.035em}
#app.ui-refresh .wd-section>button{border:1px solid #c8b1dd;border-radius:10px;padding:8px 10px;font-size:11px;background:#f0e7fa;text-decoration:none;white-space:nowrap}
#app.ui-refresh .wd-activity-row{min-height:78px;padding:12px;gap:10px}
#app.ui-refresh .wd-activity-row>span strong{font-size:15px}
#app.ui-refresh .wd-activity-row>span small{font-size:11px}
#app.ui-refresh .wd-activity-row>b{font-size:10px;white-space:nowrap}
#app.ui-refresh .wd-activity-row .wd-cover{width:48px;height:48px;flex-basis:48px}
#app.ui-refresh .wd-invite-again{padding:9px;font-size:11px;margin:0 12px 12px;width:calc(100% - 24px)}
#app.ui-refresh .wd-core-shortcuts{margin:18px 0 8px;gap:10px}
#app.ui-refresh .wd-core-shortcuts>button{min-height:80px;padding:14px 12px;gap:10px}
#app.ui-refresh .wd-shortcuts strong{font-size:18px}
#app.ui-refresh .wd-game-rail{gap:10px}
#app.ui-refresh .wd-game-tile{width:112px;min-width:112px}
#app.ui-refresh .wd-game-tile strong{font-size:14px}
.keek-hide-game{border:0;background:none;color:#8a6b90;font-size:11px;text-decoration:underline;min-height:38px;padding:8px 14px}
.keek-older{border-top:1px solid #ded5df}.keek-older>summary{padding:14px;font-weight:700;color:#7952cc;cursor:pointer}
.keek-direct-invite{width:100%;margin-bottom:12px!important}
.keek-promos{margin:18px 0 24px;min-width:0}
.keek-promo-rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;border-radius:22px;overscroll-behavior-x:contain}
.keek-promo-rail::-webkit-scrollbar{display:none}
.keek-promo{position:relative;isolation:isolate;display:block;flex:0 0 100%;aspect-ratio:2/1;min-height:176px;max-height:270px;border:1px solid #62428444!important;border-radius:22px!important;overflow:hidden;text-align:left;padding:0!important;background:#8155c7!important;color:#fff9ec!important;scroll-snap-align:start;font-family:WeduelUI,sans-serif!important}
.keek-promo-art{position:absolute;inset:0;z-index:-1;background-image:url('/keek-promos.webp');background-size:100% 300%;background-position:center calc(var(--promo-row)*50%);background-repeat:no-repeat}
.keek-promo.cream{color:#30233f!important;background:#f9edcb!important}.keek-promo.lavender{color:#30233f!important;background:#dfc7f1!important}
.keek-promo-copy{display:flex;flex-direction:column;align-items:flex-start;width:51%;padding:18px 0 14px 18px;min-height:100%}
.keek-promo-copy>small{font-size:8px;font-weight:800;letter-spacing:.09em;margin-bottom:7px}
.keek-promo-copy>strong{font-size:clamp(21px,6vw,29px);line-height:1.03;font-weight:850;letter-spacing:-.04em}
.keek-promo-copy>span{font-size:11px;line-height:1.3;max-width:150px;margin-top:8px}
.keek-promo-copy>b{font-size:10px;margin-top:auto;padding-top:10px;text-decoration:underline;text-underline-offset:3px;line-height:1.2}
.keek-promo-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 2px;font-size:10px;color:#807185}
.keek-promo-nav>div{display:flex;gap:6px}.keek-promo-nav button{width:26px;height:26px;padding:0;border:1px solid #d5c3df;border-radius:50%;background:#fffaf6;color:#78538e;font-size:11px}.keek-promo-nav button[aria-current=true]{background:#7952cc;color:white;border-color:#7952cc}
#app.ui-refresh .catalog-toggle{padding:5px;background:#eae0f3;border:1px solid #d7c2e3;border-radius:17px;gap:5px;margin-top:20px}
#app.ui-refresh .catalog-toggle>button{min-height:48px;border-radius:12px;font-size:18px;font-weight:800}
#app.ui-refresh .catalog-toggle>button.on{background:#7952cc;color:white;box-shadow:0 3px 0 #4d2d7b}
#app.ui-refresh .wd-catalog-focused .wd-intro h1{font-size:25px;line-height:1.15}
.keek-development{margin:28px 0}.keek-development>h2{font-size:20px!important}.keek-development>p{font-size:12px;color:#807486}
.keek-development>div{display:grid;gap:8px}.keek-development button{display:flex;align-items:center;gap:14px;text-align:left;background:#eae5e9;border:1px dashed #beb3c3;border-radius:16px;padding:12px;color:#776d7e;min-height:74px}
.keek-development .wd-cover{width:48px;height:48px;opacity:.45;flex-shrink:0}.keek-development button>span{flex:1}.keek-development b,.keek-development small{display:block}.keek-development small{font-size:11px;margin-top:5px}
.keek-dialog{position:fixed;box-sizing:border-box;width:min(440px,calc(100% - 28px));max-height:calc(100dvh - var(--app-top) - var(--app-bottom) - 32px);margin:auto;border:1px solid #ccbadb;border-radius:25px;background:#fffaf4;color:#30233f;padding:26px 22px 22px;font-family:WeduelUI,system-ui,sans-serif;box-shadow:0 20px 80px #30233f26;overflow:auto;overscroll-behavior:contain}
.keek-dialog::backdrop{background:#2d203a88}.keek-dialog h2{font-size:27px;line-height:1.1;letter-spacing:-.035em;margin:12px 0}.keek-dialog p{font-size:13px;line-height:1.55}.keek-dialog .wd-primary,.keek-dialog .wd-secondary{display:block;width:100%;padding:14px;border-radius:13px;border:1px solid #604084;font:750 13px WeduelUI,sans-serif;margin-top:14px}.keek-dialog .wd-primary{background:#7952cc;color:white}.keek-dialog .wd-secondary{background:#f2e9f8;color:#634485}.keek-dialog-close{position:absolute;z-index:3;right:10px;top:10px;width:34px;height:34px;border:1px solid #d6c8de;border-radius:50%;background:#fffaf4;color:#684779;font-size:23px}.keek-label{display:block;color:#7952cc;font-size:9px;letter-spacing:.11em;font-weight:850;margin-top:8px}.keek-muted{font-size:11px!important;color:#8a7b90}.keek-error{color:#a44960;font-size:12px}
.keek-dev-symbol{font-size:46px;margin:12px 0}.keek-pet-preview{aspect-ratio:2/1;background:url('/keek-promos.webp') center bottom /100% 300%;border-radius:15px;margin:10px -8px 18px}
.keek-pet-features{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.keek-pet-features article{border:1px solid #e7d8ee;border-radius:15px;padding:12px;background:#f5eef9}.keek-pet-features article>span{font-size:25px;display:block}.keek-pet-features b{display:block;font-size:12px;margin:8px 0 5px}.keek-pet-features small{font-size:11px;line-height:1.4;color:#82718c;display:block}
.keek-streak-flame{font-size:65px;text-align:center;margin:15px 0}.keek-streak-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:20px 0}.keek-streak-days span{display:grid;place-items:center;border-radius:9px;aspect-ratio:1;background:#ede4f2;color:#a18cae;font-weight:750}.keek-streak-days .done{background:#ffde9e;color:#97562d}
#app.ui-refresh.is-quiz{background:#f5f1e8}.quiz-screen{background:#f5f1e8!important}.quiz-preview,.quiz-question,.quiz-result,.quiz-waiting,.quiz-invite-card{background:#fffaf5!important;border:1px solid #d9c9e1!important;box-shadow:0 5px 0 #e9dfed!important;border-radius:23px!important}.quiz-choices>button{background:#f7f0fa!important;border:1px solid #ddcde8!important;border-radius:14px!important;color:#402d50!important}.quiz-choices>button.selected{background:#e7d6fb!important;border-color:#9067b3!important}.quiz-progress i{background:#e8ddec!important}.quiz-progress i>b{background:#7952cc!important}
.keek-partner-progress{display:grid;grid-template-columns:1fr auto;gap:8px 12px;background:#eee4f5;border:1px solid #ddcce9;padding:12px 14px;border-radius:14px;margin:12px 0 20px;font-size:12px}.keek-partner-progress>span{overflow-wrap:anywhere}.keek-partner-progress>b{color:#7952cc;font-size:11px}.keek-partner-progress>i{grid-column:1/-1;height:4px;background:#dccbe9;border-radius:4px;overflow:hidden}.keek-partner-progress em{display:block;height:100%;background:#9067b7}.keek-test-invite .wd-test-cover{width:90px;height:90px;margin:auto}.keek-test-invite small{display:block;color:#88778f;font-size:11px;line-height:1.5;margin:14px 0}.keek-cancel-test{color:#a05a71!important;font-size:11px!important;margin:22px 0 12px!important}
.keek-surrender-block{margin:18px 0 4px}.keek-surrender:not(.wl-resign){display:block;width:100%;min-height:46px;border:1px solid #d5a0ac!important;background:#fff0ed!important;color:#a14f63!important;border-radius:13px!important;padding:12px!important;font-size:13px!important;font-weight:750!important}.keek-surrender-block>small{display:block;text-align:center;font-size:10px;color:#94818c;margin-top:8px}
#app.ui-refresh:is(.is-dunk,.is-touch,.is-rise,.is-arrows){padding-bottom:var(--app-bottom)!important}.dunk-screen,.touch-screen,.rise-screen{height:calc(100dvh - var(--app-top) - var(--app-bottom))!important;min-height:0!important}.dunk-screen,.touch-screen,.rise-screen{padding-top:10px!important;padding-bottom:8px!important}
.mode-backdrop{padding-top:calc(var(--app-top) + 12px)!important;padding-bottom:calc(var(--app-bottom) + 12px)!important}.mode-sheet{max-height:calc(100dvh - var(--app-top) - var(--app-bottom) - 28px)!important}.economy-sheet{max-height:calc(100dvh - var(--app-top) - var(--app-bottom) - 28px)!important}
@media(min-width:650px){.keek-promo{min-height:220px}.keek-promo-copy{padding:26px;width:50%}.keek-promo-copy>strong{font-size:34px}.keek-promo-copy>small{font-size:10px}.keek-promo-copy>span{font-size:14px;max-width:230px}.keek-promo-copy>b{font-size:13px}}
@media(max-width:345px){#app.ui-refresh .wd-brand{font-size:15px!important}#app.ui-refresh .wd-header-actions{gap:5px}#app.ui-refresh .wd-header .wd-wallet{padding:6px;max-width:70px}.keek-promo-copy{padding-left:14px;width:54%}.keek-promo-copy>strong{font-size:21px}.keek-promo-copy>span{font-size:10px}.keek-promo-copy>small{font-size:7px}#app.ui-refresh .wd-core-shortcuts>button{gap:7px;padding:12px 10px}#app.ui-refresh .wd-shortcuts strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.keek-promo-rail{scroll-behavior:auto}}
.keek-dialog,.economy-sheet{inset-block-start:var(--app-top);inset-block-end:var(--app-bottom)}
.economy-history{margin-top:22px;border-top:1px solid #d9c9e1;padding-top:16px}.economy-history>summary{font-weight:700;font-size:14px;cursor:pointer}.economy-shop-card p{line-height:1.5}
.keek-promo.violet .keek-promo-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#7441bc 0%,#7441bcaa 35%,transparent 64%)}
.keek-promo.violet .keek-promo-copy{width:49%}
#app{overflow-anchor:none}
#app.ui-refresh .quiz-choices>button>b{color:#402d50;font-weight:650;font-size:13px;line-height:1.4}
#app.ui-refresh .quiz-question h2{font-size:24px;line-height:1.2}
#app.ui-refresh :is(.quiz-preview-explainer,.quiz-preview>p,.quiz-invite-card>p,.quiz-result>p,.quiz-waiting>p,.quiz-result blockquote){color:#786b7e}
#app.ui-refresh :is(.quiz-progress>div,.quiz-progress small,.quiz-preview-meta,.quiz-review p){color:#786b7e}
.economy-sheet.wd-sheet .economy-revive-hero h3{color:#30233f;font-family:ClubDisplay,WeduelUI,sans-serif;font-size:25px;line-height:1.2}
.economy-sheet.wd-sheet :is(.economy-fine,.economy-revive-hero p,.economy-shop-card p){font-size:12px;line-height:1.55;color:#786b7e}
.economy-sheet.wd-sheet .economy-price-row{background:#efe5f7;border-color:#d6c3e4;color:#60417c}
@media(max-width:345px){#app.ui-refresh .quiz-question h2{font-size:21px}}
.keek-surrender-inline{margin:0 0 16px;text-align:right}.keek-surrender-inline .keek-surrender{width:auto;display:inline-block;font-size:11px!important;min-height:38px;padding:8px 12px!important}
.keek-admin-entry{width:100%;margin:18px 0 0!important}.keek-ad-list{margin:20px 0}.keek-ad-list button{display:grid;grid-template-columns:1fr auto;gap:5px 12px;width:100%;text-align:left;border:1px solid #d8c7e2;background:#efe5f5;border-radius:14px;padding:14px 16px;color:#5f4774;margin:8px 0}.keek-ad-list span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#9b88a7}.keek-ad-list b{grid-row:2;font-size:13px}.keek-ad-list i{grid-row:1/3;grid-column:2;align-self:center;font-style:normal;font-size:20px}.keek-subscription{padding:40px 24px;max-width:460px;margin:auto}.keek-subscription h1{font-size:34px;line-height:1.1;letter-spacing:-.04em;margin:20px 0}.keek-subscription p{font-size:14px;line-height:1.6;color:#786b7e}.keek-subscription>a,.keek-subscription>button{display:block;width:100%;padding:14px 18px;text-align:center;border-radius:13px;margin:12px 0;font-weight:700;font-size:13px}.keek-subscription>a{background:#ece1f6;color:#7952cc;border:1px solid #d8c5e7;text-decoration:none}.keek-subscription>button{background:#7952cc;color:#fff;border:1px solid #4b305f}.keek-subscription .keek-sub-admin{background:transparent;color:#7952cc}

/* Final mobile hierarchy: one calm surface, restrained chrome, clear touch targets. */
#app.ui-refresh:not(.is-pet){--wd-ink:#30233f;--wd-muted:#756d7e;--wd-line:#e4dce7;--wd-surface:#fffdf9}
#app.ui-refresh .wd-header{border-bottom:0;height:64px}
#app.ui-refresh .wd-brand .wd-club-mark{border:0;background:#ebe2f5;transform:none;border-radius:9px;color:#7952cc}
#app.ui-refresh .wd-wallet,#app.ui-refresh .wd-my-games{border:0;background:#fffbf5;border-radius:13px;min-width:40px;min-height:40px}
#app.ui-refresh .keek-streak-chip{position:relative;border:0;background:#fff5e4;min-width:40px;min-height:40px;border-radius:13px}
#app.ui-refresh .keek-streak-chip.unseen:after{content:"";position:absolute;right:2px;top:1px;width:6px;height:6px;background:#ce8348;border:2px solid #f5f1e8;border-radius:50%}
#app.ui-refresh .wd-section{margin:24px 0 12px;align-items:center}
#app.ui-refresh .wd-section h2{font-size:21px;line-height:1.2;font-weight:600}
#app.ui-refresh .wd-section>button{border:0;background:transparent;font-size:12px;padding:8px;min-height:40px;font-weight:650}
#app.ui-refresh .wd-core-shortcuts{margin:4px 0 8px;gap:12px}
#app.ui-refresh .wd-core-shortcuts>button{min-height:76px;border:0;border-radius:18px;box-shadow:none;padding:14px 12px}
#app.ui-refresh .wd-core-shortcuts>button:first-child{background:#7952cc}
#app.ui-refresh .wd-core-shortcuts>button:last-child{background:#ebe2f1;color:#30233f}
#app.ui-refresh .wd-shortcuts strong{font-size:17px}#app.ui-refresh .wd-shortcuts small{font-size:11px;line-height:1.4}
#app.ui-refresh .wd-game-tile .wd-cover{border:0;border-radius:18px}
#app.ui-refresh .wd-game-rail{gap:12px;scroll-snap-type:x proximity}
#app.ui-refresh .wd-game-tile{width:108px;min-width:108px;scroll-snap-align:start}
#app.ui-refresh .wd-game-tile small{font-size:11px}
#app.ui-refresh :is(.wd-resume,.wd-menu,.wd-friends-empty,.wd-identity,.wd-stats,.wd-empty){border-color:#e4dce7;border-radius:20px;background:#fffdf9;box-shadow:none}
#app.ui-refresh .wd-activity-row{border-color:#eee6ef;min-height:78px}
#app.ui-refresh .wd-activity-row>b{font-size:11px;color:#7952cc}
#app.ui-refresh .wd-quest-preview{border:0;border-radius:17px;background:#ebe4f1;margin-top:20px}
#app.ui-refresh .wd-quest-preview.ready{background:#e9efce;border:0}
#app.ui-refresh .wd-quest-preview strong{font-size:13px}
#app.ui-refresh .wd-page-top{border:0}
#app.ui-refresh .wd-intro h1{font-size:26px}
#app.ui-refresh .wd-primary,#app.ui-refresh .primary{border:0;border-radius:14px;box-shadow:none;min-height:46px}
#app.ui-refresh .wd-secondary,#app.ui-refresh .soft{border:1px solid #dfd4e6;border-radius:14px;box-shadow:none;min-height:44px;background:#f5eff9}
#app.ui-refresh .bottom{border-top:1px solid #e4dce7;border-radius:22px 22px 0 0;box-shadow:0 -4px 20px #30233f06;background:#f5f1e8;opacity:1}
#app.ui-refresh .bottom>button{color:#8a7f93;transition:color 160ms ease}
#app.ui-refresh .bottom>button.on{color:#7952cc}
#app.ui-refresh .bottom>button.on:before{display:none}
#app.ui-refresh .bottom>button.on .nav-symbol{background:#e9def4;border-radius:12px}
#app.ui-refresh .bottom>button>span:last-child{font-size:11px!important;font-weight:600}
#app.ui-refresh .bottom .nav-pet-orb{width:45px;height:45px;top:-7px;border:3px solid #f5f1e8;border-radius:17px;background:#7952cc;box-shadow:none;transform:none}
#app.ui-refresh .bottom>button[data-tab=pet]{padding-top:29px}
#app.ui-refresh .catalog-toggle{border:0;background:#eae2ef;margin:8px 0 16px;padding:4px;border-radius:16px}
#app.ui-refresh .catalog-toggle>button{min-height:44px;font-size:17px;border-radius:12px}
#app.ui-refresh .catalog-toggle>button.on{box-shadow:0 2px 6px #49326114;background:#fffdf9;color:#6840a9}
#app.ui-refresh .wd-audiences{margin:12px 0;gap:8px}
#app.ui-refresh .wd-audiences>button{font-size:12px;min-height:38px;padding:7px 12px;border:0;border-radius:12px}
#app.ui-refresh .wd-audiences>button.on{background:#e8ddf3;color:#6840a9;box-shadow:none}
#app.ui-refresh .wd-search,#app.ui-refresh .wd-search-tools>button,#app.ui-refresh .wd-filters>summary{border:1px solid #e0d5e6;border-radius:13px;background:#fffdf9}
#app.ui-refresh .wd-catalog-grid.games{gap:12px}
#app.ui-refresh .games .wd-catalog-card{border:0;border-radius:18px;background:#fffdf9;box-shadow:0 2px 9px #30233f04;overflow:hidden}
#app.ui-refresh .games .wd-cover-button{height:116px;min-height:0;aspect-ratio:auto;border:0}
#app.ui-refresh .games .wd-cover-button .wd-cover{height:100%;border-radius:0;background:#eee6f2}
#app.ui-refresh .games .wd-cover-button .wd-cover img{object-fit:contain}
#app.ui-refresh .games .wd-catalog-copy{padding:12px;gap:0}
#app.ui-refresh .games .wd-catalog-copy h3{font-size:15px;line-height:1.25;margin:4px 0 6px}
#app.ui-refresh .games .wd-catalog-copy p{font-size:12px;line-height:1.4;min-height:0;margin:0 0 8px;color:#756d7e}
#app.ui-refresh .games .wd-catalog-meta{font-size:10px;margin:4px 0;color:#887a93}
#app.ui-refresh .games .wd-eyebrow{font-size:9px;letter-spacing:0;color:#82718e}
#app.ui-refresh .games .wd-card-play{min-height:38px;border-radius:11px;font-size:12px;box-shadow:none}
#app.ui-refresh .games .wd-card-info{min-width:36px;min-height:38px;border:0;background:#f0e9f7;border-radius:11px}
#app.ui-refresh .wd-favorite{border:0;background:#fffdf9eb;border-radius:11px;width:38px;height:38px}
#app.ui-refresh .wd-catalog-grid.tests .wd-catalog-card{border:0;border-radius:18px;background:#fffdf9;box-shadow:none}
#app.ui-refresh .wd-catalog-grid.tests .wd-catalog-copy{padding-block:14px}
#app.ui-refresh .wd-catalog-grid.tests .wd-catalog-copy h3{font-size:16px}
#app.ui-refresh .keek-promos{margin:12px 0 16px}
#app.ui-refresh .keek-promo{border:0!important;border-radius:20px!important;min-height:162px}
#app.ui-refresh .keek-promo-copy>strong{font-size:clamp(21px,6vw,27px);letter-spacing:-.035em}
#app.ui-refresh .keek-promo-copy>small{letter-spacing:.06em}
#app.ui-refresh .keek-promo-copy>b{text-decoration:none;min-height:30px;font-size:11px}
.keek-promo-nav{justify-content:center;margin:6px 0 0}.keek-promo-nav>div{gap:0}.keek-promo-nav button{width:28px;height:28px;background:none;border:0;padding:10px}.keek-promo-nav button[aria-current=true]{background:none}.keek-dot{display:block;width:6px;height:6px;border-radius:50%;background:#d9cbe6}.keek-promo-nav button[aria-current=true] .keek-dot{background:#7952cc;width:8px}
#app.ui-refresh .keek-development{margin:28px 0 12px}#app.ui-refresh .keek-development>h2{font-size:18px!important}#app.ui-refresh .keek-development>p{font-size:12px;line-height:1.5}
#app.ui-refresh .keek-development button{border:0;background:#ebe6ec;border-radius:15px;min-height:64px}
#app.ui-refresh .mode-sheet{border:0;border-radius:24px;box-shadow:0 12px 40px #30233f20;padding:24px}
#app.ui-refresh .mode-option{border:1px solid #e4d9eb;border-radius:16px;background:#faf6fd;padding:16px;box-shadow:none}
#app.ui-refresh .mode-option b{font-size:16px}#app.ui-refresh .mode-option small{font-size:12px;line-height:1.5}
#app.ui-refresh .quiz-preview,#app.ui-refresh .quiz-question,#app.ui-refresh .quiz-waiting,#app.ui-refresh .quiz-result,#app.ui-refresh .quiz-invite-card{border:0!important;box-shadow:none!important;background:#fffdf9!important;border-radius:20px!important}
#app.ui-refresh .quiz-question{padding:20px 16px}#app.ui-refresh .quiz-question h2{font:750 22px/1.3 WeduelUI,sans-serif;letter-spacing:-.025em}
#app.ui-refresh .quiz-choices>button{min-height:54px;border:1px solid #e6dbed!important;background:#faf6fd!important;border-radius:14px!important;box-shadow:none}
#app.ui-refresh .quiz-choices>button.selected{border-color:#9a75c7!important;background:#efe3fb!important}
#app.ui-refresh .quiz-question>.quiz-eyebrow:empty{display:none}#app.ui-refresh .quiz-question-nav{margin-top:16px}
#app.ui-refresh .wordle-panel{border:0;border-radius:20px;background:#fffdf9;box-shadow:none;padding:16px 12px}
#app.ui-refresh .wordle-round-heading h2{font:750 19px/1.25 WeduelUI,sans-serif}
#app.ui-refresh .wordle-cell{border-radius:9px;border-color:#ded4e6;box-shadow:none}
#app.ui-refresh .wordle-key-row button{border:0;border-radius:8px;box-shadow:none;min-height:42px}
#app.ui-refresh .keek-surrender-inline .keek-surrender{width:auto;margin-left:auto;min-height:38px;padding:8px 12px!important;font-size:11px!important;background:#f8f0f0!important;border:0!important;color:#97576a!important}
#app.ui-refresh .wordle-rules{border-color:#eee6f0}#app.ui-refresh .wordle-entry>label{font-size:12px}
.economy-sheet.wd-sheet{border:0;border-radius:24px;background:#fffdf9;box-shadow:0 12px 40px #30233f20}
.economy-sheet.wd-sheet .economy-art{width:92px;height:92px}
.economy-sheet.wd-sheet .economy-task{border-color:#e6dcea;box-shadow:none;border-radius:16px}
@media(max-width:345px){#app.ui-refresh .games .wd-catalog-copy{padding:10px}#app.ui-refresh .games .wd-cover-button{height:100px}#app.ui-refresh .bottom>button>span:last-child{font-size:10px!important}}
@media(prefers-reduced-motion:no-preference){#app.ui-refresh .wd-core-shortcuts>button,#app.ui-refresh .wd-card-play,#app.ui-refresh .wd-game-tile{transition:transform 150ms ease}#app.ui-refresh .wd-core-shortcuts>button:active,#app.ui-refresh .wd-card-play:active,#app.ui-refresh .wd-game-tile:active{transform:scale(.98)}}

.wd-generated-cover{position:absolute;inset:0;display:block;background-image:url(/keek-game-atlas.webp);background-size:300% 200%;background-repeat:no-repeat}

.keek-promo-copy>b{display:flex;gap:5px;align-items:center}.keek-promo-copy>b svg{width:14px;height:14px;flex-shrink:0}

/* Focused play: navigation is one back action, not a panel over the playfield. */
#app.ui-refresh.is-playing{padding-bottom:calc(12px + var(--app-bottom))}
#app.ui-refresh.is-playing>.bottom{display:none}
#app.ui-refresh .economy-bar{border:0;background:transparent;padding:0;margin:8px 0 12px;min-height:36px;justify-content:space-between}
#app.ui-refresh .economy-bar>button{min-height:36px;border:0;border-radius:11px;background:#eee5f3;font-size:11px;padding:8px 12px;color:#6e5186;box-shadow:none}
#app.ui-refresh .wordle-panel:has(.wordle-keyboard){--wordle-cell:clamp(24px,calc((100dvh - var(--app-top) - var(--app-bottom) - 380px)/6),38px);padding:14px 12px}
#app.ui-refresh .wordle-panel:has(.wordle-keyboard) .wordle-grid{width:calc(var(--letters)*var(--wordle-cell) + (var(--letters) - 1)*5px);max-width:100%;gap:5px;margin-bottom:14px}
#app.ui-refresh .wordle-panel:has(.wordle-keyboard) .wordle-line{gap:5px}
#app.ui-refresh .wordle-panel:has(.wordle-keyboard) .wordle-round-heading{margin-bottom:8px}
#app.ui-refresh .wordle-panel:has(.wordle-keyboard) .keek-surrender-block{margin:4px 0 10px}
#app.ui-refresh .wordle-entry:has(input[readonly]){display:none}
#app.ui-refresh .wordle-keyboard{margin:0 -6px 8px}
#app.ui-refresh .wordle-key-row button{height:42px;min-height:42px;font-size:12px}
#app.ui-refresh .keyboard-switch{margin-bottom:12px}
#app.ui-refresh .wordle-round-heading p{font-size:12px;color:#82718e;margin:5px 0}
#app.ui-refresh .quiz-top{margin-bottom:10px}
#app.ui-refresh .quiz-progress{background:transparent;margin:14px 0 20px}
#app.ui-refresh .quiz-progress>div{font-size:12px;margin-bottom:8px}
#app.ui-refresh .quiz-progress small{font-size:11px}
#app.ui-refresh .quiz-question{margin-top:0}
#app.ui-refresh .tb-score{border:0}#app.ui-refresh .tb-board-wrap{box-shadow:none}
#app.ui-refresh .wd-identity{border:0;background:#e9dff2;border-radius:20px}
#app.ui-refresh .wd-menu>button{border-color:#eee7f1}
#app.ui-refresh .wd-friends-art{border:0;background:#e9dff2}
#app.ui-refresh .arrow-piece,#app.ui-refresh .arrow-piece:nth-of-type(3n){color:#655074}
@media(max-height:680px){#app.ui-refresh .wordle-panel:has(.wordle-keyboard){--wordle-cell:25px}#app.ui-refresh .wordle-key-row button{height:38px;min-height:38px}#app.ui-refresh .wordle-round-heading h2{font-size:16px}}

#app.ui-refresh .wordle-mode-sheet>.wd-cover{width:64px;height:64px;border:0;border-radius:14px;margin-bottom:12px}.wordle-custom-toggle{display:block;width:100%;border:0;background:transparent;color:#7952cc;font-size:12px;font-weight:650;padding:14px 0;min-height:44px;text-align:left}.wordle-mode-sheet .wordle-create-form{border-top:1px solid #e7dceb;padding-top:16px}

/* A test row has two independent targets: open the test or save it. */
#app.ui-refresh .keek-test-open {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #30233f;
  text-align: left;
  padding: 12px;
}
#app.ui-refresh .keek-test-open .wd-test-cover {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
}
.keek-test-text { display: grid; gap: 5px; }
.keek-test-text strong { font-size: 16px; line-height: 1.25; }
.keek-test-text small { font-size: 12px; color: #675b70; }
#app.ui-refresh .quiz-question-nav:empty,
#app.ui-refresh .quiz-preview>small:empty,
.touch-dialog .touch-eyebrow:empty { display: none; }
#app.ui-refresh .quiz-question-nav button { min-height: 44px; }
#app.ui-refresh .quiz-privacy,
#app.ui-refresh .quiz-method,
#app.ui-refresh .quiz-result p,
#app.ui-refresh .quiz-axes span { color: #66586f; }
#app.ui-refresh .wordle-panel .wordle-result-label {
  margin: 8px 0 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #66586f;
  font-size: 13px;
  text-align: center;
}
#app.ui-refresh .wordle-key-row [data-wordle-key="enter"]:enabled {
  background: #6842a3;
  color: white;
}
#app.ui-refresh .economy-bar { padding-inline: 4px; }
#app.ui-refresh .touch-hud {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  padding: 6px 16px 12px;
}
#app.ui-refresh .touch-hud>.touch-eyebrow { grid-column: 1; grid-row: 1; }
#app.ui-refresh .touch-hud>strong { grid-column: 1; grid-row: 2; font-size: 24px; margin: 2px 0 0; }
#app.ui-refresh .touch-hud>.touch-stats { grid-column: 2; grid-row: 1/3; width: 100%; border-top: 0; padding: 0; }
.keek-coming-cover img { width: 72px; height: 72px; border-radius: 14px; margin-bottom: 12px; }

/* Daily ticket */
.keek-dialog:has(.streak-ticket){padding:0;border:1px solid #cfbb9e;border-radius:22px}
.keek-dialog:has(.streak-ticket) .keek-dialog-close{width:36px;height:36px;top:8px;right:8px;color:#483344;border-color:#d7b896;background:#fff7ea}
.streak-ticket-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 48px 20px 22px;background:#ffe5bb;border-bottom:1px dashed #bb906d}
.streak-ticket-head>div{min-width:0}
.streak-ticket-head span{font-size:12px;font-weight:750;color:#73513e}
.streak-ticket-head h2{font-size:clamp(24px,7vw,33px);line-height:1.06;color:#302033;margin:7px 0}
.streak-ticket-head p{margin:0;color:#765039}
.streak-ticket-head img{width:clamp(54px,17vw,84px);height:auto;flex:none;transform:rotate(6deg)}
.streak-ticket-body{padding:18px 20px 16px}
.streak-amount{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.streak-amount strong{font-size:36px;letter-spacing:-.05em;line-height:1.15;color:#322239}
.streak-amount span,.streak-next,.streak-info{color:#675562}
.streak-calendar{list-style:none;padding:0;display:grid;grid-template-columns:repeat(var(--days),minmax(0,1fr));gap:4px;margin:16px 0}
.streak-calendar li{display:grid;text-align:center;align-content:center;gap:3px;min-height:50px;background:#f1ebe4;border:1px solid transparent;border-radius:9px;color:#645567}
.streak-calendar small{font-size:10px}.streak-calendar b{font-size:clamp(10px,3.3vw,14px);overflow-wrap:anywhere}
.streak-calendar [aria-current]{border:1px solid #9d6434;background:#ffebc6;color:#583621}
.streak-ticket .wd-primary{font-size:15px;background:#422847;border-color:#422847}
.streak-ticket .streak-next{text-align:center;margin:10px 0 16px;font-size:12px}
.streak-info{border-top:1px solid #e4dacf;padding-top:10px;font-size:12px}
.streak-info summary{cursor:pointer;padding:4px 0}
.streak-ticket .streak-receipt{margin:8px 0;color:#40634b}
#app.ui-refresh .keek-streak-chip{gap:4px;padding:6px 8px}
.keek-streak-chip img{object-fit:contain}
@media(prefers-reduced-motion:no-preference){
 body:not(:has(#app.ui-motion-reduced)) .streak-ticket.just-collected .streak-amount{animation:streak-receipt-in .24s ease-out}
 @keyframes streak-receipt-in{from{transform:translateY(4px);opacity:.55}to{transform:translateY(0);opacity:1}}
}

/* Wordle: letter tiles take precedence over the game chrome. */
#app.ui-refresh .wordle-panel:not(.wordle-wait){background:#fffcf5;border:1px solid #dfd7cb;border-radius:18px;padding:14px 12px}
#app.ui-refresh .wordle-round-heading{align-items:start;border-bottom:1px solid #e6ddcf;padding:0 2px 12px;margin-bottom:14px}
#app.ui-refresh .wordle-round-heading h2{font-size:clamp(19px,5.8vw,25px);line-height:1.2;letter-spacing:-.035em}
.wl-turn{display:block;color:#74507b;font-weight:750;font-size:11px;margin-bottom:4px}
#app.ui-refresh .wordle-round-heading p{color:#665b67;font-size:12px;margin:5px 0 0}
#app.ui-refresh .wordle-panel .wl-resign{width:auto;flex:none;align-self:start;cursor:pointer;background:transparent;color:#795369;border:0;font-size:12px;padding:8px 3px;min-height:40px}
#app.ui-refresh .wordle-panel .wordle-grid,#app.ui-refresh .wordle-panel:has(.wordle-keyboard) .wordle-grid{--tile:clamp(29px,calc((100dvh - var(--app-top) - var(--app-bottom) - 415px)/6),46px);width:min(100%,calc(var(--letters)*var(--tile) + (var(--letters) - 1)*5px));max-width:none;gap:5px;margin:16px auto}
#app.ui-refresh .wordle-line{gap:5px}
#app.ui-refresh .wordle-cell{position:relative;box-sizing:border-box;border:1px solid #dcd4c6;border-radius:7px;background:#f1ede4;color:#33263a;font-size:clamp(16px,5.8vw,25px)}
#app.ui-refresh .wordle-draft .wordle-cell{border:1.5px solid #aa88b9;background:#fffdf9}
#app.ui-refresh .wordle-draft .filled{border-color:#634575;color:#40294b}
#app.ui-refresh .wordle-cell.wl-ghost{color:#857886}
#app.ui-refresh .wordle-cell.wl-cursor:after{content:"";width:34%;height:2px;border-radius:2px;background:#79518d;position:absolute;bottom:13%;left:33%}
.wl-key{display:flex;align-items:center;justify-content:center;gap:clamp(6px,2vw,12px);font-size:clamp(10px,2.9vw,12px);color:#594d5b;margin:10px 0 14px}
.wl-key span{display:inline-flex;align-items:center;gap:4px}.wl-key i{display:inline-block;width:9px;height:9px;border-radius:3px}
#app.ui-refresh .wordle-cell.correct,#app.ui-refresh .wordle-key-row .correct,.wl-key .correct,#app.ui-refresh .wordle-legend .correct,#app.ui-refresh .history-guesses .correct{background:#326c54;border-color:#326c54;color:white}
#app.ui-refresh .wordle-cell.present,#app.ui-refresh .wordle-key-row .present,.wl-key .present,#app.ui-refresh .wordle-legend .present,#app.ui-refresh .history-guesses .present{background:#3b6486;border-color:#3b6486;color:white}
#app.ui-refresh .wordle-cell.absent,#app.ui-refresh .wordle-key-row .absent,.wl-key .absent,#app.ui-refresh .wordle-legend .absent,#app.ui-refresh .history-guesses .absent{background:#805b69;border-color:#805b69;color:white}
#app.ui-refresh .wordle-cell.revealed{background:#755295;border-color:#755295;color:white}
#app.ui-refresh .wordle-key-row button{background:#eae3ec;color:#35293f;border-radius:6px;font-size:clamp(12px,3.35vw,15px);font-weight:760}
#app.ui-refresh .wordle-key-row .wide-key{font-size:18px}
#app.ui-refresh .wordle-panel .keyboard-switch{background:transparent;justify-content:center;gap:2px;padding:0;margin:6px 0 0}
#app.ui-refresh .keyboard-switch button{flex:0 1 auto;padding:6px 10px;border-radius:8px;color:#75647b}
#app.ui-refresh .keyboard-switch button[aria-pressed=true]{background:#efe9ed;color:#4c3659;box-shadow:none}
#app.ui-refresh .wordle-rules{margin-top:6px;border-color:#e6ddcf}
#app.ui-refresh .wordle-rules summary{font-size:12px;color:#674e74}
#app.ui-refresh .wl-mode-cover{margin:0 0 18px;background:#473151;padding:24px 12px 18px;border-radius:17px;text-align:center}
#app.ui-refresh .wl-mode-cover h2{display:flex;gap:4px;justify-content:center;margin:0}
.wl-mode-cover h2 i{font:800 clamp(21px,6vw,30px)/1 WeduelUI,sans-serif;letter-spacing:0;display:grid;place-items:center;color:#37283c;background:#f5e6d0;border-radius:7px;width:clamp(32px,9.5vw,46px);aspect-ratio:1;box-shadow:0 3px 0 #251d2b}
.wl-mode-cover i:first-child{transform:rotate(-7deg);background:#ddd0f4}.wl-mode-cover i:nth-child(4){background:#d7e9a7;transform:rotate(5deg)}
#app.ui-refresh .wl-mode-cover p{color:#faf1ff;margin:14px 0 0;font-size:14px}
@media(prefers-reduced-motion:no-preference){
 #app:not(.ui-motion-reduced) .wordle-draft .filled{animation:wordle-letter-in .12s ease-out}
 @keyframes wordle-letter-in{from{transform:scale(.92)}to{transform:scale(1)}}
}

#app.ui-refresh .wordle-mode-sheet .mode-option{display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:3px;text-align:left;background:#faf5ed;color:#3b2a41;border-color:#ddd1c3}
#app.ui-refresh .wordle-mode-sheet .mode-option[data-mode=solo]{background:#eee5f7;border-color:#c8b7da}
#app.ui-refresh .wordle-mode-sheet .mode-option b{color:#3b2a41}
#app.ui-refresh .wordle-mode-sheet .mode-option small{grid-column:1;color:#68586c}
#app.ui-refresh .wordle-mode-sheet .mode-option:after{content:'›';grid-column:2;grid-row:1/3;font-size:23px;color:#634d72}

#app.ui-refresh .wordle-history{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}
#app.ui-refresh .wordle-history h2{margin:0 0 10px;padding:0 2px;font-size:18px}
#app.ui-refresh .wordle-history-row{background:#fffcf5;border:1px solid #dfd7cb;border-radius:13px}
#app.ui-refresh .wordle-history-row small,#app.ui-refresh .wordle-history-row>summary>b{color:#755f78}
#app.ui-refresh .wordle-history-row>summary>b.won{color:#326c54}
@media(prefers-reduced-motion:no-preference){
 #app:not(.ui-motion-reduced) .wl-checked{animation:wordle-checked .19s ease-out}
 @keyframes wordle-checked{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
}

.wl-key i{width:12px;height:12px;display:grid;place-items:center;font:700 9px/1 system-ui;color:white}
.wl-key .correct:after,.wordle-cell.correct:after{content:'✓'}
.wl-key .present:after,.wordle-cell.present:after{content:'•'}
.wl-key .absent:after,.wordle-cell.absent:after{content:'−'}
.wordle-cell:is(.correct,.present,.absent):after{position:absolute;right:3px;bottom:2px;font:700 9px/1 system-ui;color:white}

.quiz-consent{padding:12px;background:#f1eaf6;border-radius:12px;margin:12px 0}
.quiz-consent .quiz-secondary,.quiz-next .quiz-secondary{min-height:44px;text-align:left}
.quiz-next,.social-friend-links,.social-actions{display:flex;flex-wrap:wrap;gap:8px}
.social-friend-links{margin:12px 0}
.social-friend-links button,.social-actions button{min-height:44px;border:1px solid #d9cce2;border-radius:10px;padding:7px 12px;background:#fffaf5;color:#513967;font-weight:700}
.social-actions button[aria-pressed=true]{background:#543b70;color:#fff}
.social-feed h2{font-size:19px;margin:20px 0 9px}
.social-feed button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;text-align:left;padding:12px;border:1px solid #dfd5e4;border-radius:12px;background:#fffcf7;color:#3d2b48;margin:6px 0}
.social-feed button small{display:block;margin-top:4px;color:#6d5974}
.social-sheet h2{padding-right:22px}
.social-game{display:flex;align-items:center;gap:8px;margin:10px 0}
.social-game select{min-height:44px;flex:1;border-radius:8px;padding:6px 8px;border:1px solid #d9cce2;background:#fffcf7;color:inherit}
.social-rank{padding-inline-start:28px;line-height:1.45}
.social-rank li{padding:8px 0;border-bottom:1px solid #e6dde9}
.social-rank li b{float:right}
