:root{
  color-scheme:dark;
  --bg:#08090d;
  --bg-elevated:#0e1016;
  --surface:#15171d;
  --surface-2:#1d2028;
  --surface-3:#262a34;
  --surface-soft:#111319;
  --text:#f6f7fb;
  --text-soft:#c4c9d4;
  --muted:#8e95a5;
  --muted-2:#606776;
  --accent:#adff45;
  --accent-hover:#9cec38;
  --accent-ink:#142000;
  --violet:#7958ff;
  --violet-2:#5f43e6;
  --amber:#ffbd4a;
  --blue:#61b8ff;
  --rose:#ff6d87;
  --success:#52d99b;
  --danger:#ff6e7d;
  --warning:#ffbd4a;
  --line:rgba(255,255,255,.06);
  --shadow:0 24px 70px rgba(0,0,0,.34);
  --shadow-soft:0 14px 42px rgba(0,0,0,.2);
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
  --nav-height:82px;
  --tg-safe-top:0px;
  --tg-safe-right:0px;
  --tg-safe-bottom:0px;
  --tg-safe-left:0px;
  --tg-content-safe-top:0px;
  --tg-content-safe-right:0px;
  --tg-content-safe-bottom:0px;
  --tg-content-safe-left:0px;
  --tg-chrome-top:0px;
  --tg-viewport-height:100vh;
  --tg-stable-height:100vh;
  --visual-height:100vh;
  --visual-offset-top:0px;
}
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f4f5f8;
  --bg-elevated:#ffffff;
  --surface:#ffffff;
  --surface-2:#eceef3;
  --surface-3:#e1e4ea;
  --surface-soft:#f8f9fb;
  --text:#151821;
  --text-soft:#454b59;
  --muted:#6f7787;
  --muted-2:#9aa1af;
  --accent:#5f8f17;
  --accent-hover:#527c13;
  --accent-ink:#ffffff;
  --violet:#6446e8;
  --violet-2:#4f35cf;
  --amber:#b26a00;
  --blue:#1769aa;
  --rose:#c43e5d;
  --success:#177a52;
  --danger:#bc3149;
  --warning:#9b5d00;
  --line:rgba(20,24,33,.07);
  --shadow:0 24px 70px rgba(35,42,56,.12);
  --shadow-soft:0 12px 35px rgba(35,42,56,.09);
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;min-width:320px;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Inter","Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html{overflow:hidden;overscroll-behavior:none}
body{overflow:hidden;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}
button,input,textarea,select{font:inherit}
button{border:0;margin:0;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default;opacity:.52}
a{color:inherit;text-decoration:none}
svg{display:block;flex:0 0 auto}
.hidden{display:none!important}

/* Public web landing */
.public-landing{position:relative;isolation:isolate;width:100%;height:100%;overflow:auto;display:grid;place-items:center;padding:32px 20px;background:#08090d;color:#f7f8fb}
.public-glow{position:fixed;border-radius:var(--wb-radius-one)!important;filter:blur(18px);opacity:.34;pointer-events:none;z-index:-1}
.public-glow-a{width:520px;height:520px;left:-250px;top:-260px;background:#7555ff}
.public-glow-b{width:420px;height:420px;right:-210px;bottom:-230px;background:#adff45}
.public-card{width:min(100%,520px);padding:42px;border-radius:var(--wb-radius-one)!important;background:rgba(23,25,31,.92);box-shadow:0 36px 100px rgba(0,0,0,.5);text-align:center;backdrop-filter:blur(24px)}
.public-brand{display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:850;letter-spacing:-.03em}
.public-mark{width:38px;height:38px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:linear-gradient(145deg,#adff45,#7958ff);color:#101608;font-weight:950}
.public-card h1{margin:28px 0 14px;font-size:clamp(34px,7vw,54px);line-height:.98;letter-spacing:-.06em}
.public-card>p{margin:0 auto;max-width:420px;color:#9ca3b1;font-size:15px;line-height:1.65}
.qr-wrap{width:244px;height:244px;margin:28px auto 18px;padding:10px;border-radius:var(--wb-radius-one)!important;background:white;display:grid;place-items:center;box-shadow:0 20px 60px rgba(0,0,0,.28)}
.qr-wrap img{width:100%;height:100%;object-fit:contain;border-radius:var(--wb-radius-one)!important}
.public-open{display:flex;align-items:center;justify-content:center;min-height:54px;padding:0 22px;border-radius:var(--wb-radius-one)!important;background:#adff45;color:#132000;font-weight:850}
.public-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 18px;margin-top:24px;color:#8f96a5;font-size:12px}
.public-links a:hover{color:#fff}

/* Fixed Telegram shell: only the content viewport scrolls */
.app-shell{position:fixed;inset:0;width:100%;height:var(--visual-height);max-height:var(--tg-stable-height);margin:0 auto;background:var(--bg);overflow:hidden;isolation:isolate}
.app-shell:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 6% -10%,rgba(121,88,255,.16),transparent 34%),radial-gradient(circle at 105% 18%,rgba(173,255,69,.06),transparent 27%)}
.splash{position:absolute;inset:0;z-index:200;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--bg);transition:opacity .32s ease,visibility .32s ease}
.splash.out{opacity:0;visibility:hidden;pointer-events:none}
.brand-emblem{width:82px;height:82px;filter:drop-shadow(0 18px 34px rgba(121,88,255,.24));animation:brandFloat 2.6s ease-in-out infinite}
.brand-emblem svg{width:100%;height:100%}
.splash-word{margin-top:18px;font-size:28px;font-weight:900;letter-spacing:-.05em}
.splash-caption{margin-top:8px;color:var(--muted);font-size:12px}
.splash-progress{width:136px;height:4px;margin-top:22px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);overflow:hidden}
.splash-progress span{display:block;width:45%;height:100%;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent),var(--violet));animation:splashLoad 1.2s ease-in-out infinite}
@keyframes splashLoad{0%{transform:translateX(-120%)}100%{transform:translateX(340%)}}
@keyframes brandFloat{50%{transform:translateY(-7px) rotate(2deg)}}
.offline-banner{position:absolute;left:0;right:0;top:0;z-index:90;padding:8px 14px;text-align:center;font-size:10px;font-weight:780;background:var(--warning);color:#171109}

.topbar{position:absolute;z-index:40;left:0;right:0;top:0;min-height:calc(64px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)));padding:calc(10px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top))) max(16px,calc(16px + var(--tg-content-safe-right))) 10px max(16px,calc(16px + var(--tg-content-safe-left)));display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(180deg,var(--bg) 0%,color-mix(in srgb,var(--bg) 92%,transparent) 74%,transparent 100%);pointer-events:auto}
.profile-mini{min-width:0;display:flex;align-items:center;gap:10px;padding:0;background:transparent;text-align:left}
.avatar,.rank-avatar{display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,var(--violet),#3d29aa);color:white;font-weight:900}
.avatar{width:40px;height:40px;border-radius:var(--wb-radius-one)!important}
.rank-avatar{width:39px;height:39px;border-radius:var(--wb-radius-one)!important}
.avatar img,.rank-avatar img{width:100%;height:100%;object-fit:cover}
.profile-copy{min-width:0}
.profile-copy small{display:block;color:var(--muted);font-size:9px;line-height:1.15;text-transform:uppercase;letter-spacing:.1em;font-weight:820}
.profile-copy strong{display:block;max-width:min(39vw,190px);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.15}
.header-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.header-balance,.header-icon{min-height:40px;border-radius:var(--wb-radius-one)!important;background:var(--surface);box-shadow:var(--shadow-soft)}
.header-balance{display:flex;align-items:center;gap:6px;padding:0 11px}
.header-balance svg{width:18px;height:18px;color:var(--amber)}
.header-balance b{font-size:12px}
.header-balance span{display:none;color:var(--muted);font-size:9px}
.header-icon{position:relative;width:40px;display:grid;place-items:center}
.header-icon>svg{width:20px;height:20px}
.notice-dot{position:absolute;right:-3px;top:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--danger);color:#fff;font-size:8px;font-style:normal;font-weight:900;box-shadow:0 0 0 3px var(--bg)}

.screen-root{position:absolute;z-index:2;left:0;right:0;top:calc(64px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)));bottom:calc(var(--nav-height) + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)));overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none;padding:10px max(16px,calc(16px + var(--tg-content-safe-right))) 28px max(16px,calc(16px + var(--tg-content-safe-left)));scroll-padding-top:12px}
.screen-root::-webkit-scrollbar{display:none}
.screen-root.game-active{top:0;bottom:0;padding:calc(8px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top))) max(16px,calc(16px + var(--tg-content-safe-right))) calc(24px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom))) max(16px,calc(16px + var(--tg-content-safe-left)));background:var(--bg)}
.page{width:100%;max-width:560px;margin:0 auto}
.page-header{padding:6px 2px 21px}
.eyebrow{display:block;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.page-header h1{margin:8px 0 8px;font-size:31px;line-height:1.02;letter-spacing:-.055em}
.page-header p{max-width:460px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}

.bottom-nav{position:absolute;z-index:45;left:0;right:0;bottom:0;height:calc(var(--nav-height) + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)));padding:7px max(12px,calc(12px + var(--tg-content-safe-right))) calc(8px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom))) max(12px,calc(12px + var(--tg-content-safe-left)));background:linear-gradient(180deg,transparent 0%,var(--bg) 22%,var(--bg) 100%)}
.nav-inner{height:100%;max-width:560px;margin:0 auto;padding:6px;border-radius:var(--wb-radius-one)!important;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:var(--surface);box-shadow:0 -6px 36px rgba(0,0,0,.12)}
.nav-btn{position:relative;min-width:0;border-radius:var(--wb-radius-one)!important;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:8px;font-weight:780;line-height:1}
.nav-btn svg{width:22px;height:22px}
.nav-btn.active{background:color-mix(in srgb,var(--accent) 12%,var(--surface-2));color:var(--accent)}
.nav-badge{position:absolute;top:3px;right:10px;min-width:16px;height:16px;padding:0 4px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--danger);color:#fff;font-size:7px;font-style:normal;font-weight:900}

/* Home */
.hero-card{position:relative;min-height:278px;padding:22px;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:linear-gradient(145deg,#7d5bff 0%,#6747ed 52%,#5036c8 100%);box-shadow:0 24px 65px rgba(70,47,185,.27);color:#fff}
.hero-card:before,.hero-card:after{content:"";position:absolute;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.08);pointer-events:none}
.hero-card:before{width:250px;height:250px;right:-110px;top:-112px}
.hero-card:after{width:195px;height:195px;right:-35px;bottom:-122px;background:rgba(173,255,69,.15)}
.hero-top{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:10px}
.hero-top>span:first-child{font-size:9px;font-weight:860;letter-spacing:.11em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.streak-chip{height:31px;padding:0 10px;border-radius:var(--wb-radius-one)!important;display:flex;align-items:center;gap:5px;background:rgba(18,10,50,.27);font-size:9px;font-weight:850;white-space:nowrap}
.streak-chip svg{width:15px;height:15px;color:var(--amber)}
.hero-copy{position:relative;z-index:3;width:62%;margin-top:30px}
.hero-copy h1{margin:0;font-size:31px;line-height:1.02;letter-spacing:-.055em}
.hero-copy p{margin:13px 0 0;color:rgba(255,255,255,.75);font-size:12px;line-height:1.52}
.hero-actions{display:flex;align-items:center;gap:10px;margin-top:22px}
.hero-art{position:absolute;z-index:2;width:154px;height:154px;right:-3px;bottom:12px;pointer-events:none}
.primary-button,.secondary-button,.icon-button,.reward-button{min-height:49px;border-radius:var(--wb-radius-one)!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:880}
.primary-button{padding:0 18px;background:var(--accent);color:var(--accent-ink)}
.primary-button:hover{background:var(--accent-hover)}
.secondary-button{padding:0 18px;background:var(--surface-2);color:var(--text)}
.icon-button{width:49px;padding:0;background:rgba(255,255,255,.12);color:#fff}
.primary-button svg,.secondary-button svg,.icon-button svg{width:18px;height:18px}
.full-button{width:100%}
.balance-card{margin-top:12px;padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.balance-main{min-width:0;padding:0;background:transparent;text-align:left}
.balance-main small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:850}
.balance-main strong{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:27px;letter-spacing:-.045em}
.balance-main svg{width:22px;height:22px;color:var(--amber)}
.balance-actions{display:flex;gap:7px}
.balance-mini{width:67px;min-height:69px;padding:8px 5px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center}
.balance-mini b{font-size:12px}
.balance-mini span{max-width:60px;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.25;text-align:center}
.plus-mini b{color:var(--accent)}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 2px 13px}
.section-heading h2{margin:0;font-size:20px;line-height:1.1;letter-spacing:-.04em}
.section-heading>button,.section-heading>span{padding:5px;background:transparent;color:var(--accent);font-size:10px;font-weight:850}
.reward-card{padding:15px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 12%,var(--surface)),color-mix(in srgb,var(--violet) 13%,var(--surface)));display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center}
.reward-icon{width:53px;height:53px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink)}
.reward-icon svg{width:27px;height:27px}
.reward-copy h3{margin:0;font-size:14px}
.reward-copy p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.4}
.reward-button{min-height:42px;padding:0 14px;background:var(--accent);color:var(--accent-ink);white-space:nowrap}
.reward-button:disabled{opacity:.78;background:color-mix(in srgb,var(--accent) 58%,var(--surface-2));color:var(--text)}
.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mode-grid.expanded .mode-card:first-child{grid-column:1/-1;min-height:136px}
.mode-card{position:relative;min-width:0;min-height:166px;padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);overflow:hidden;text-align:left}
.mode-icon{width:46px;height:46px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}
.mode-icon svg{width:23px;height:23px}
.mode-icon.violet{color:#a996ff;background:rgba(121,88,255,.15)}
.mode-icon.amber{color:var(--amber);background:rgba(255,189,74,.13)}
.mode-icon.blue{color:var(--blue);background:rgba(97,184,255,.12)}
.mode-icon.rose{color:var(--rose);background:rgba(255,109,135,.12)}
.mode-icon.green{color:var(--success);background:rgba(82,217,155,.12)}
.mode-card h3{margin:19px 0 6px;font-size:15px;line-height:1.18;letter-spacing:-.03em}
.mode-card p{margin:0;padding-right:11px;color:var(--muted);font-size:10px;line-height:1.47}
.mode-tag{position:absolute;right:13px;top:13px;padding:6px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-size:8px;font-weight:850}
.mode-arrow{position:absolute;right:14px;bottom:14px;color:var(--muted)}
.mode-arrow svg{width:17px;height:17px}
.mission-list{display:grid;gap:9px}
.mission-card{padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}
.mission-icon{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}
.mission-icon svg{width:20px;height:20px}
.mission-card>div{min-width:0}
.mission-card strong{display:block;font-size:11px}
.mission-card small{display:block;margin-top:4px;color:var(--muted);font-size:8px}
.mission-card i{display:block;height:4px;margin-top:8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);overflow:hidden}
.mission-card i b{display:block;height:100%;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent),var(--violet))}
.mission-card em{color:var(--amber);font-size:10px;font-style:normal;font-weight:880}
.simple-list{display:grid;gap:8px}
.simple-list article{padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center}
.simple-list article>span{width:39px;height:39px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}
.simple-list article>span svg{width:19px;height:19px}
.simple-list strong{font-size:11px}.simple-list small{display:block;margin-top:4px;color:var(--muted);font-size:8px}.simple-list b{font-size:10px;color:var(--accent)}

/* Tournaments, referrals, profile */
.tournament-card,.referral-hero,.profile-hero,.plus-banner{border-radius:var(--wb-radius-one)!important;background:var(--surface);padding:20px}
.tournament-card{background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 18%,var(--surface)),var(--surface))}
.tournament-label{display:flex;align-items:center;gap:7px;color:#a998ff;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.09em}
.tournament-label svg{width:17px;height:17px}
.tournament-card h2{margin:18px 0 8px;font-size:23px;line-height:1.05;letter-spacing:-.045em}
.tournament-card>p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.tournament-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:19px 0}
.tournament-stats div{padding:12px 7px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);text-align:center}
.tournament-stats strong{display:block;font-size:12px}.tournament-stats span{display:block;margin-top:4px;color:var(--muted);font-size:7px;line-height:1.25}
.rank-list{display:grid;gap:7px}
.rank-row{padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:28px auto minmax(0,1fr) auto;gap:9px;align-items:center}
.rank-row.me{background:color-mix(in srgb,var(--accent) 9%,var(--surface))}
.rank-number{font-size:11px;color:var(--muted);font-weight:850;text-align:center}.rank-number.top{color:var(--amber)}
.rank-row>div{min-width:0}.rank-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.rank-row small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.rank-row em{text-align:right;font-style:normal}.rank-row em b{display:block;font-size:10px}.rank-row em small{font-size:7px}
.referral-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#20242d,#15171d)}
.referral-hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:var(--wb-radius-one)!important;right:-95px;top:-100px;background:rgba(173,255,69,.11)}
.referral-hero h2{position:relative;z-index:2;margin:8px 0 8px;font-size:25px;letter-spacing:-.05em}.referral-hero p{position:relative;z-index:2;max-width:380px;margin:0;color:var(--muted);font-size:11px;line-height:1.52}
.referral-orbit{position:absolute;right:17px;bottom:17px;width:75px;height:75px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink)}
.referral-orbit svg{width:34px;height:34px}
.referral-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;padding-right:90px}
.ref-metrics,.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px}
.ref-metrics article,.profile-stats article{padding:14px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:center}
.ref-metrics strong,.profile-stats strong{display:block;font-size:18px;letter-spacing:-.03em}.ref-metrics span,.profile-stats span{display:block;margin-top:4px;color:var(--muted);font-size:8px}
.rules-list,.milestone-list,.friend-list,.settings-list{display:grid;gap:8px}
.rule-row,.milestone-row,.friend-row,.settings-row{min-width:0;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;gap:12px}
.rule-row>span:first-child,.milestone-row>span:first-child,.settings-row>span:first-child{width:40px;height:40px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent);font-size:11px;font-weight:900;flex:0 0 auto}
.rule-row svg,.milestone-row svg,.settings-row svg{width:20px;height:20px}
.rule-row>div,.milestone-row>div,.friend-row>div,.settings-row>div{min-width:0;flex:1}
.rule-row strong,.milestone-row strong,.friend-row strong,.settings-row strong{display:block;font-size:11px}.rule-row small,.milestone-row small,.friend-row small,.settings-row small{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.42}
.milestone-row.done{background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.milestone-row>em{font-size:9px;font-style:normal;font-weight:850;color:var(--accent)}
.friend-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto}
.friend-status{padding:6px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:7px;font-weight:850;color:var(--muted)}
.friend-status.active{color:var(--success);background:rgba(82,217,155,.11)}
.friend-status.qualified{color:var(--amber);background:rgba(255,189,74,.11)}
.profile-hero{display:flex;align-items:center;gap:15px;background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 14%,var(--surface)),var(--surface))}
.profile-hero .avatar{width:68px;height:68px;border-radius:var(--wb-radius-one)!important;font-size:20px}
.profile-hero>div{min-width:0;flex:1}.profile-hero h2{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:23px;letter-spacing:-.045em}.profile-hero p{margin:5px 0 0;color:var(--muted);font-size:10px}.profile-level{margin-top:11px;height:5px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);overflow:hidden}.profile-level b{display:block;height:100%;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent),var(--violet))}
.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.achievement{min-height:124px;padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface);opacity:.48}
.achievement.unlocked{opacity:1}.achievement>span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}.achievement svg{width:21px;height:21px}.achievement strong{display:block;margin-top:13px;font-size:11px}.achievement small{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.4}
.settings-row{width:100%;text-align:left}.settings-row>em{font-size:9px;font-style:normal;color:var(--muted)}.settings-row>svg:last-child{width:16px;height:16px;color:var(--muted)}
.plus-banner{margin-top:14px;background:linear-gradient(145deg,#7655f8,#4e35c6);color:#fff}.plus-banner h3{margin:0;font-size:19px}.plus-banner p{margin:7px 0 14px;color:rgba(255,255,255,.76);font-size:10px;line-height:1.45}

/* Game view */
.game-page{width:100%;max-width:560px;min-height:100%;margin:0 auto;padding-bottom:8px}
.game-header{position:sticky;top:0;z-index:20;min-height:62px;margin:-8px -4px 10px;padding:8px 4px;display:grid;grid-template-columns:43px minmax(0,1fr) 43px;gap:10px;align-items:center;background:linear-gradient(180deg,var(--bg) 0%,var(--bg) 76%,transparent)}
.game-header>div{min-width:0;text-align:center}.game-header strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.game-header span{display:block;margin-top:3px;color:var(--muted);font-size:9px}
.game-icon-button{width:43px;height:43px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center}.game-icon-button svg{width:20px;height:20px}
.game-summary{min-height:75px;padding:15px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:12px}
.game-summary>div{min-width:0}.game-summary strong{display:block;font-size:13px}.game-summary span{display:block;margin-top:5px;color:var(--muted);font-size:9px}
.round-streak,.round-timer{min-width:64px;min-height:42px;padding:0 11px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex!important;align-items:center;justify-content:center;gap:6px;color:var(--text)!important;font-weight:850;white-space:nowrap}
.round-streak svg,.round-timer svg{width:16px;height:16px;color:var(--amber)}
.word-board{width:min(100%,410px);margin:20px auto 16px;display:grid;gap:7px}
.word-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.word-cell{aspect-ratio:1;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface);font-size:clamp(20px,7vw,30px);font-weight:930;text-transform:uppercase;transition:transform .15s ease,background .15s ease,color .15s ease}
.word-cell.filled{background:var(--surface-2);transform:scale(1.025)}
.word-cell.correct{background:#3f9d65;color:#fff}.word-cell.present{background:#b27b26;color:#fff}.word-cell.absent{background:#3c4049;color:#fff}.word-cell.hinted{box-shadow:inset 0 -3px 0 var(--violet)}
.game-tip{margin:0 auto 13px;padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-soft);display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:8px;line-height:1.45}
.game-tip svg{width:16px;height:16px;flex:0 0 auto;color:var(--blue)}
.keyboard{width:100%;max-width:540px;margin:0 auto;display:grid;gap:6px}
.key-row{display:flex;justify-content:center;gap:4px}
.key{height:clamp(46px,7.4vh,60px);min-width:0;flex:1;padding:0 1px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:clamp(10px,3vw,14px);font-weight:900;text-transform:uppercase}
.key-wide{flex:1.45;font-size:9px}.key svg{width:16px;height:16px;margin:auto}
.key.correct{background:#3f9d65;color:#fff}.key.present{background:#b27b26;color:#fff}.key.absent{background:#30333c;color:#737987}.key:disabled{opacity:.22}
.game-bottom-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
.tool-button{min-height:49px;padding:0 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:820}
.tool-button svg{width:18px;height:18px;color:var(--accent)}.tool-button b{padding:4px 6px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-size:7px}
.duel-strip{margin-bottom:9px;padding:10px 13px;border-radius:var(--wb-radius-one)!important;background:rgba(255,109,135,.09);display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted)}.duel-strip b{color:var(--rose)}
.selected-word{min-height:72px;margin:19px 0 14px;padding:10px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.selected-placeholder{color:var(--muted);font-size:11px}
.selected-chip{width:44px;height:48px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);font-size:19px;font-weight:930}
.letter-deck{max-width:390px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:center;justify-items:stretch}
.letter-tile{aspect-ratio:1;min-height:62px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:26px;font-weight:930;box-shadow:inset 0 -4px 0 rgba(0,0,0,.12);transition:transform .12s ease,opacity .12s ease}
.letter-tile:nth-last-child(-n+3){transform:translateX(50%)}
.letter-tile.used{opacity:.25;transform:scale(.88)}
.letter-tile.used:nth-last-child(-n+3){transform:translateX(50%) scale(.88)}
.builder-actions{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;gap:9px;margin-top:18px}
.action-square{height:52px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;font-size:24px}.action-square svg{width:21px;height:21px}.submit-word{height:52px}
.builder-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.builder-tools button{min-height:53px;padding:8px 5px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:8px;font-weight:790}
.builder-tools svg{width:19px;height:19px;color:var(--accent)}.builder-tools b{font-size:7px;color:var(--amber)}
.game-section{margin-top:23px}.found-words{display:flex;flex-wrap:wrap;gap:7px;min-height:44px}.found-words span{padding:8px 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:9px;font-weight:750}.found-words p{margin:0;color:var(--muted);font-size:9px;line-height:1.45}
.chain-letter{width:140px;height:140px;margin:25px auto 20px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,var(--violet),var(--violet-2));display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;box-shadow:0 23px 55px rgba(78,54,199,.27)}
.chain-letter strong{font-size:48px}.chain-letter span{margin-top:4px;font-size:8px;color:rgba(255,255,255,.7)}
.chain-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.chain-form input{min-width:0;height:52px;border:0;border-radius:var(--wb-radius-one)!important;padding:0 15px;background:var(--surface);color:var(--text);outline:none;text-transform:uppercase}.chain-form input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent)}
.game-loader{min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--muted)}.game-loader span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;border:4px solid var(--surface-2);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.result-page{width:100%;max-width:460px;min-height:calc(var(--visual-height) - 40px);margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 4px}
.result-icon{width:80px;height:80px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;margin-bottom:20px}.result-icon svg{width:37px;height:37px}.result-icon.win{background:var(--accent);color:var(--accent-ink)}.result-icon.loss{background:var(--surface-2);color:var(--muted)}
.result-page h1{margin:9px 0 8px;font-size:34px;letter-spacing:-.055em}.result-page>p{max-width:350px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.target-word{width:100%;margin-top:18px;padding:15px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:10px}.target-word span{color:var(--muted);font-size:9px}.target-word strong{font-size:19px;letter-spacing:.08em}
.result-stats{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.result-stats article{padding:14px 6px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.result-stats strong{display:block;font-size:18px}.result-stats span{display:block;margin-top:4px;color:var(--muted);font-size:8px}.result-actions{width:100%;display:grid;gap:8px;margin-top:18px}

/* Modal sheets */
.modal-layer{position:absolute;inset:0;z-index:120;visibility:hidden;pointer-events:none}
.modal-layer.open{visibility:visible;pointer-events:auto}
.modal-backdrop{position:absolute;inset:0;background:rgba(2,3,6,.64);opacity:0;transition:opacity .22s ease;backdrop-filter:blur(4px)}
.modal-layer.open .modal-backdrop{opacity:1}
.bottom-sheet{position:absolute;left:0;right:0;bottom:0;max-height:min(88%,calc(var(--visual-height) - max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)) - 8px));padding:0 max(16px,calc(16px + var(--tg-content-safe-right))) calc(18px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom))) max(16px,calc(16px + var(--tg-content-safe-left)));border-radius:var(--wb-radius-one)!important;background:var(--bg-elevated);box-shadow:0 -24px 80px rgba(0,0,0,.4);overflow:auto;overscroll-behavior:contain;transform:translateY(104%);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.modal-layer.open .bottom-sheet{transform:translateY(0)}
.sheet-topline{position:sticky;top:0;z-index:3;min-height:47px;margin:0 -2px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,var(--bg-elevated) 72%,transparent)}
.sheet-handle{width:38px;height:4px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3)}
.sheet-close{position:absolute;right:0;width:35px;height:35px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:22px;line-height:1;color:var(--muted)}
.sheet-head{padding:4px 0 17px}.sheet-head h2{margin:0;font-size:24px;letter-spacing:-.045em}.sheet-head p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.48}
.sheet-section{margin-top:20px}.sheet-section>h3{margin:0 0 10px;font-size:14px}
.wallet-overview{padding:18px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 15%,var(--surface)),var(--surface));display:flex;align-items:center;justify-content:space-between;gap:15px}.wallet-overview small{display:block;color:var(--muted);font-size:9px}.wallet-overview strong{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:27px}.wallet-overview strong svg{width:22px;height:22px;color:var(--amber)}
.product-list{display:grid;gap:8px}.product-card,.plan-card{padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center}.product-icon{width:43px;height:43px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--amber)}.product-icon svg{width:21px;height:21px}.product-card>div,.plan-card>div{min-width:0}.product-card strong,.plan-card strong{display:block;font-size:11px}.product-card small,.plan-card small{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.4}.product-card button,.plan-card button{min-height:38px;padding:0 11px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);display:flex;align-items:center;gap:5px;font-size:9px;font-weight:900}.tg-star{display:inline-block;width:14px!important;height:15px!important;color:currentColor;vertical-align:-2px}
.plan-card.featured{background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 16%,var(--surface)),var(--surface))}.plan-top{display:flex;align-items:center;gap:6px}.plan-top em{padding:4px 6px;border-radius:var(--wb-radius-one)!important;background:rgba(121,88,255,.14);color:#a895ff;font-size:7px;font-style:normal;font-weight:850}
.premium-benefits{display:grid;gap:7px;margin-bottom:13px}.premium-benefits div{display:flex;align-items:center;gap:8px;padding:10px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.premium-benefits svg{width:17px;height:17px;color:var(--accent)}.premium-benefits span{font-size:9px}
.notification-list{display:grid;gap:8px}.notification-card{padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px}.notification-card.unread{background:color-mix(in srgb,var(--blue) 8%,var(--surface))}.notification-card>span{width:39px;height:39px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--blue)}.notification-card svg{width:19px;height:19px}.notification-card strong{display:block;font-size:11px}.notification-card p{margin:5px 0 0;color:var(--muted);font-size:8px;line-height:1.45}.notification-card button{margin-top:9px;padding:0;background:transparent;color:var(--accent);font-size:8px;font-weight:850}
.empty-state{padding:30px 18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:center}.empty-state>span{width:55px;height:55px;margin:0 auto 13px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}.empty-state svg{width:27px;height:27px}.empty-state h3{margin:0;font-size:15px}.empty-state p{max-width:310px;margin:7px auto 0;color:var(--muted);font-size:9px;line-height:1.5}
.language-options,.theme-options,.legal-links{display:grid;gap:8px}.language-options button,.theme-options button,.legal-links button{width:100%;min-height:63px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;gap:12px;text-align:left}.language-options button>span{width:38px;height:38px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);font-size:10px;font-weight:900}.language-options button>div{min-width:0;flex:1}.language-options strong,.theme-options strong,.legal-links strong{font-size:11px}.language-options small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.language-options button>svg:last-child,.theme-options button>svg:last-child,.legal-links button>svg:last-child{width:17px;height:17px;margin-left:auto;color:var(--muted)}.language-options button.selected,.theme-options button.selected{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}.language-options button.selected>svg:last-child,.theme-options button.selected>svg:last-child{color:var(--accent)}.theme-options button>svg:first-child,.legal-links button>svg:first-child{width:22px;height:22px;color:var(--accent)}
.support-form{display:grid;gap:9px;padding-bottom:4px}.support-form label{display:grid;gap:6px;color:var(--muted);font-size:8px;font-weight:760}.support-form input,.support-form textarea{width:100%;border:0;border-radius:var(--wb-radius-one)!important;padding:13px 14px;background:var(--surface);color:var(--text);outline:none}.support-form textarea{min-height:150px;resize:vertical;line-height:1.5}.support-form input:focus,.support-form textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 24%,transparent)}
.hint-list{display:grid;gap:8px}.hint-option{width:100%;min-height:65px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left}.hint-option>span{width:40px;height:40px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}.hint-option svg{width:20px;height:20px}.hint-option>div{min-width:0}.hint-option strong{display:block;font-size:11px}.hint-option small{display:block;margin-top:4px;color:var(--muted);font-size:8px}.hint-option>svg:last-child{width:16px;height:16px;color:var(--muted)}
.onboarding{text-align:center;padding:6px 0 8px}.onboarding-mark{width:76px;height:76px;margin:0 auto 17px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:linear-gradient(145deg,var(--accent),var(--violet));color:#132000;font-size:20px;font-weight:950}.onboarding h2{margin:0;font-size:25px;letter-spacing:-.045em}.onboarding p{max-width:360px;margin:9px auto 18px;color:var(--muted);font-size:10px;line-height:1.5}.onboarding small{display:block;margin-top:13px;color:var(--muted);font-size:7px;line-height:1.45}
.toast{position:absolute;z-index:180;left:50%;bottom:calc(var(--nav-height) + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)) + 18px);max-width:calc(100% - 32px);padding:11px 15px;border-radius:var(--wb-radius-one)!important;background:var(--text);color:var(--bg);font-size:10px;font-weight:850;box-shadow:var(--shadow);opacity:0;transform:translate(-50%,12px);pointer-events:none;transition:opacity .18s ease,transform .18s ease;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
body.in-game .toast{bottom:calc(18px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))}
body.modal-open .screen-root,body.modal-open .bottom-nav,body.modal-open .topbar{pointer-events:none}
body.modal-open .bottom-sheet{pointer-events:auto}

@media (max-width:380px){
  .topbar{padding-left:max(12px,calc(12px + var(--tg-content-safe-left)));padding-right:max(12px,calc(12px + var(--tg-content-safe-right)))}
  .screen-root{padding-left:max(12px,calc(12px + var(--tg-content-safe-left)));padding-right:max(12px,calc(12px + var(--tg-content-safe-right)))}
  .hero-card{min-height:260px;padding:18px}.hero-copy{width:65%;margin-top:25px}.hero-copy h1{font-size:27px}.hero-art{width:132px;height:132px}.hero-copy p{font-size:10px}
  .mode-card{min-height:154px;padding:14px}.mode-card h3{font-size:14px}.mode-card p{font-size:9px}
  .reward-card{grid-template-columns:auto minmax(0,1fr)}.reward-button{grid-column:1/-1;width:100%}
  .referral-buttons{grid-template-columns:1fr;padding-right:78px}.referral-orbit{width:66px;height:66px}
  .word-board{gap:5px}.word-row{gap:5px}.word-cell{border-radius:var(--wb-radius-one)!important}
  .key-row{gap:3px}.key{border-radius:var(--wb-radius-one)!important;font-size:10px}.key-wide{font-size:8px}
  .letter-deck{gap:8px}.letter-tile{min-height:56px;border-radius:var(--wb-radius-one)!important;font-size:23px}
}
@media (max-height:700px){
  .screen-root.game-active{padding-top:calc(4px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))}
  .game-header{min-height:54px}.game-icon-button{width:39px;height:39px}.game-summary{min-height:64px;padding:12px}.word-board{margin:12px auto 10px;gap:5px}.word-row{gap:5px}.word-cell{max-height:54px}.game-tip{display:none}.key{height:43px}.game-bottom-tools{margin-top:8px}.selected-word{min-height:58px;margin:10px 0}.letter-tile{min-height:50px}.builder-actions{margin-top:12px}.builder-tools{margin-top:7px}.section-heading.game-section{margin-top:16px}
}
@media (min-width:720px){
  .app-shell{left:50%;right:auto;width:min(100%,720px);transform:translateX(-50%);box-shadow:0 0 0 1px var(--line),0 0 120px rgba(0,0,0,.22)}
  .screen-root,.topbar,.bottom-nav{padding-left:32px;padding-right:32px}
  .topbar{min-height:72px}.screen-root{top:calc(72px + max(var(--tg-safe-top),var(--tg-content-safe-top)));}
  .page,.game-page{max-width:620px}.hero-card{min-height:300px}.hero-copy h1{font-size:38px}.hero-art{width:190px;height:190px}.mode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mode-grid.expanded .mode-card:first-child{grid-column:span 2}.mode-card{min-height:178px}.word-board{width:430px}.key{height:58px}
}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* v2.3 structural alignment overrides */
.rule-row p{min-width:0;flex:1;margin:0;color:var(--text-soft);font-size:10px;line-height:1.48}
.profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 15px;align-items:center}
.profile-avatar{grid-row:1/4;width:70px;height:70px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,var(--violet),#3d29aa);color:#fff;font-size:20px;font-weight:900}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-hero h1{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:23px;letter-spacing:-.045em}
.profile-hero>p{margin:0;color:var(--muted);font-size:9px}
.profile-level{height:auto;margin:7px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;background:transparent;overflow:visible}
.profile-level i{display:block;height:5px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);overflow:hidden}
.profile-level i b{display:block;height:100%;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent),var(--violet))}
.profile-level span{color:var(--muted);font-size:8px;font-weight:800}
.plus-banner{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left}
.plus-banner>span:first-child{width:44px;height:44px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:rgba(255,255,255,.14)}
.plus-banner>span:first-child svg{width:22px;height:22px}.plus-banner>div{min-width:0}.plus-banner strong{display:block;font-size:13px}.plus-banner small{display:block;margin-top:4px;color:rgba(255,255,255,.74);font-size:8px}.plus-banner>svg{width:18px;height:18px}
.wallet-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wallet-overview article{min-width:0;padding:12px 7px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;flex-direction:column;align-items:center;text-align:center}
.wallet-overview article>span{width:35px;height:35px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-3);color:var(--amber)}
.wallet-overview article>span svg{width:18px;height:18px}.wallet-overview article>div{min-width:0}.wallet-overview article small{margin-top:7px}.wallet-overview article strong{justify-content:center;margin-top:3px;font-size:15px}
.product-card{width:100%;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left}
.product-card>div{min-width:0}.product-card>em{display:flex;align-items:center;gap:4px;color:var(--amber);font-size:10px;font-style:normal;font-weight:900;white-space:nowrap}
.plan-card{padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:block}
.plan-card+.plan-card{margin-top:8px}.plan-card.featured{background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 16%,var(--surface)),var(--surface))}
.plan-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.plan-top>div{min-width:0}.plan-top span{color:var(--muted);font-size:8px}.plan-top h3{margin:5px 0 5px;font-size:15px}.plan-top p{margin:0;color:var(--muted);font-size:8px;line-height:1.45}.plan-top>strong{display:flex;align-items:center;gap:4px;color:var(--amber);font-size:13px;white-space:nowrap}.plan-card>button{margin-top:13px}
.notification-card{width:100%;grid-template-columns:auto minmax(0,1fr) auto;text-align:left}.notification-card>div{min-width:0}.notification-card>svg{width:16px;height:16px;color:var(--muted)}
.empty-state p{display:block}
@media(max-width:350px){.header-balance{padding:0 9px}.header-balance span{display:none}.profile-copy strong{max-width:115px}.wallet-overview{grid-template-columns:1fr}.wallet-overview article{display:grid;grid-template-columns:auto minmax(0,1fr);text-align:left}.wallet-overview article>div{text-align:left}.letter-deck{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Words Buster 2.4 polish: full Telegram canvas, safe fullscreen and accessible controls */
:root[data-theme="light"]{
  --accent:#416d0a;
  --accent-hover:#365d06;
  --accent-ink:#ffffff;
}
.support-form label{font-size:12px;font-weight:760}
.support-form input,.support-form textarea{font-size:16px;line-height:1.45}
.support-form textarea{min-height:170px;max-height:42vh}
.tg-star{display:inline-block;width:14px;height:15px;color:currentColor;vertical-align:-2px;fill:currentColor}
.product-price,.plan-price,.stars-line{display:inline-flex;align-items:center;gap:5px}
@media (min-width:720px){
  .app-shell{left:0;right:0;width:100%;max-width:none;transform:none;box-shadow:none}
  .screen-root,.topbar,.bottom-nav{padding-left:max(32px,calc(32px + var(--tg-content-safe-left)));padding-right:max(32px,calc(32px + var(--tg-content-safe-right)))}
  .page,.game-page{max-width:760px}
  .bottom-sheet{left:50%;right:auto;width:min(680px,calc(100% - 32px));transform:translate(-50%,104%);border-radius:var(--wb-radius-one)!important}
  .modal-layer.open .bottom-sheet{transform:translate(-50%,0)}
}
@media (max-height:690px){
  .screen-root.game-active{padding-bottom:12px}
  .game-header{min-height:48px}
  .game-summary{min-height:56px;padding:10px 12px}
  .word-board{margin:8px auto;gap:4px}
  .word-row{gap:4px}
  .word-cell{max-height:48px;border-radius:var(--wb-radius-one)!important}
  .key-row{gap:4px}.keyboard{gap:4px}.key{height:39px;border-radius:var(--wb-radius-one)!important;font-size:12px}
  .game-bottom-tools{margin-top:6px}.tool-button{min-height:42px}
  .selected-word{min-height:50px;margin:7px 0}.letter-deck{gap:7px}.letter-tile{min-height:45px}
  .builder-actions{margin-top:8px}.builder-tools{margin-top:6px}.section-heading.game-section{margin-top:11px}
}
.offline-banner{pointer-events:none}

/* Words Buster 2.4 — adaptive social/live layer */
:root{--app-safe-top:14px;--coin-deep:#6a4100}
.app-shell,.app-shell *:not(input):not(textarea){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea{-webkit-user-select:text;user-select:text}
.topbar{min-height:calc(64px + var(--app-safe-top));padding-top:calc(12px + var(--app-safe-top))}
.screen-root{top:calc(64px + var(--app-safe-top));padding-top:14px}
.screen-root.game-active{top:0;padding-top:calc(var(--app-safe-top) + 14px)}
.platform-mobile .topbar{padding-top:calc(var(--app-safe-top) + 14px)}
.platform-mobile .screen-root{top:calc(68px + var(--app-safe-top))}
.platform-mobile .screen-root.game-active{top:0;padding-top:calc(var(--app-safe-top) + 14px)}
.header-balance>svg{width:21px;height:21px;filter:drop-shadow(0 3px 5px rgba(213,136,17,.24))}
.header-balance{min-width:74px;justify-content:center}
.balance-main strong>svg{width:25px;height:25px;filter:drop-shadow(0 5px 8px rgba(213,136,17,.22))}

.plus-nudge{width:100%;margin-top:11px;padding:14px;border-radius:var(--wb-radius-one)!important;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 34%,var(--surface)),color-mix(in srgb,var(--accent) 10%,var(--surface)));box-shadow:var(--shadow-soft)}
.plus-nudge.inline{margin-top:18px}.plus-nudge>span{width:44px;height:44px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:rgba(255,255,255,.09);color:#d4c9ff}.plus-nudge>span svg{width:22px;height:22px}.plus-nudge>div{min-width:0}.plus-nudge strong{display:block;font-size:12px}.plus-nudge small{display:block;margin-top:4px;color:var(--text-soft);font-size:8px;line-height:1.4}.plus-nudge em{display:flex;align-items:center;gap:3px;color:var(--accent);font-size:8px;font-style:normal;font-weight:850;white-space:nowrap}.plus-nudge em svg{width:15px;height:15px}

.channel-mission{grid-template-columns:auto minmax(0,1fr) auto;row-gap:9px}.channel-mission .mission-icon.channel{color:var(--blue)}.channel-mission .mission-actions{grid-column:2/4;display:flex;gap:7px;flex-wrap:wrap}.compact{min-height:34px;padding:0 12px;border-radius:var(--wb-radius-one)!important;font-size:8px}.mission-complete{display:inline-flex;align-items:center;gap:6px;color:var(--success);font-size:9px;font-weight:850}.mission-complete svg{width:15px;height:15px}.channel-mission.done{background:color-mix(in srgb,var(--success) 7%,var(--surface))}

.mode-card.social-card{background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 94%,var(--violet)),var(--surface))}
.challenge-list{display:grid;gap:8px}.challenge-card{padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:12px}.challenge-player{min-width:0;display:flex;align-items:center;gap:10px}.challenge-player>div{min-width:0}.challenge-player strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.challenge-player small{display:block;margin-top:4px;color:var(--muted);font-size:8px}.challenge-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.rank-row,.friend-row{width:100%;border:0;color:var(--text);text-align:left;cursor:pointer}.rank-row:active,.friend-row:active{transform:scale(.992)}

.milestone-heading button{display:inline-flex;align-items:center;gap:5px}.milestone-heading button svg{width:15px;height:15px}.milestone-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto}.milestone-row>div p{margin:6px 0 0;color:var(--text-soft);font-size:8px;line-height:1.4}.milestone-info{width:34px;height:34px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}.milestone-info svg{width:17px;height:17px}.milestone-list.detailed .milestone-row{padding:15px}.reward-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reward-breakdown article{padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;gap:10px}.reward-breakdown article>span{width:38px;height:38px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}.reward-breakdown svg{width:19px;height:19px}.reward-breakdown small,.reward-breakdown strong{display:block}.reward-breakdown small{color:var(--muted);font-size:7px}.reward-breakdown strong{margin-top:4px;font-size:10px}.sheet-note{margin:13px 0 0;color:var(--muted);font-size:9px;line-height:1.5}

.switch-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto}.switch-row>div{min-width:0}.switch-control{position:relative;width:50px;height:30px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);padding:3px;transition:background .2s ease}.switch-control i{display:block;width:24px;height:24px;border-radius:var(--wb-radius-one)!important;background:#fff;box-shadow:0 5px 13px rgba(0,0,0,.22);transition:transform .2s ease}.switch-control.on{background:var(--accent)}.switch-control.on i{transform:translateX(20px)}

.chain-game{padding-bottom:10px}.chain-focus{width:min(100%,360px);margin:18px auto 13px;padding:15px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 22%,var(--surface)),var(--surface));display:flex;align-items:center;justify-content:center;gap:14px}.chain-focus>span{width:74px;height:74px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:linear-gradient(145deg,var(--violet),var(--violet-2));color:#fff;font-size:34px;font-weight:950;box-shadow:0 17px 40px rgba(78,54,199,.25)}.chain-focus small,.chain-focus strong{display:block}.chain-focus small{color:var(--muted);font-size:8px}.chain-focus strong{margin-top:5px;font-size:16px}.chain-selected{margin:0 auto 10px;min-height:54px}.chain-keyboard{display:grid;gap:5px}.chain-keyboard .key-row{display:flex;gap:4px;justify-content:center}.chain-keyboard .key{min-width:0;flex:1;height:43px;padding:0;border-radius:var(--wb-radius-one)!important;font-size:11px}.chain-keyboard .key-wide{flex:1.35}.chain-actions{margin-top:10px}

.player-sheet-head{padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;gap:14px}.player-sheet-head>div{min-width:0}.player-sheet-head h3{margin:0;font-size:18px}.player-sheet-head p{margin:5px 0;color:var(--muted);font-size:9px}.online-pill{display:inline-flex;padding:5px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-size:7px;font-weight:800}.online-pill.on{background:color-mix(in srgb,var(--success) 14%,var(--surface));color:var(--success)}.player-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}.player-stats article{padding:13px 5px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:center}.player-stats strong,.player-stats span{display:block}.player-stats strong{font-size:17px}.player-stats span{margin-top:4px;color:var(--muted);font-size:7px}.duel-result{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:9px;padding:17px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.duel-result>div{text-align:center}.duel-result strong{display:block;font-size:30px}.duel-result span{display:block;margin-top:4px;color:var(--muted);font-size:8px}.duel-result>b{color:var(--muted);font-size:9px}.live-wait{margin-top:12px;display:flex;justify-content:center;align-items:center;gap:8px;color:var(--muted);font-size:8px}.live-wait i{width:8px;height:8px;border-radius:var(--wb-radius-one)!important;background:var(--accent);animation:livePulse 1s ease-in-out infinite}@keyframes livePulse{50%{opacity:.25;transform:scale(.75)}}

body.result-active{touch-action:none;overscroll-behavior:none}.screen-root.result-screen{overflow:hidden!important;padding-bottom:calc(14px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))}.result-page{height:100%;min-height:0;max-height:100%;padding:10px 4px;justify-content:center;overflow:hidden}.result-saved{display:flex;align-items:center;gap:5px;margin-top:10px;color:var(--muted);font-size:7px}.result-saved svg{width:13px;height:13px}.result-stats.compact{margin-bottom:14px}

:root[data-theme="light"] .referral-hero{background:linear-gradient(145deg,#20242d,#15171d);color:#fff}:root[data-theme="light"] .referral-hero h2{color:#fff}:root[data-theme="light"] .referral-hero p{color:#b9bfca}:root[data-theme="light"] .referral-hero .secondary-button{background:#f4f5f8;color:#171a22}:root[data-theme="light"] .referral-hero .primary-button{background:#416d0a;color:#fff}:root[data-theme="light"] .plus-nudge{background:linear-gradient(145deg,#eeeafd,#f2f6e9)}:root[data-theme="light"] .plus-nudge>span{background:#fff;color:#5a3bd4}:root[data-theme="light"] .plus-nudge small{color:#565e6d}:root[data-theme="light"] .mission-card em{color:#8f5200}:root[data-theme="light"] .reward-breakdown article,:root[data-theme="light"] .player-sheet-head,:root[data-theme="light"] .player-stats article,:root[data-theme="light"] .duel-result{box-shadow:0 8px 24px rgba(36,42,55,.05)}

@media(max-width:380px){.plus-nudge{grid-template-columns:auto minmax(0,1fr)}.plus-nudge em{grid-column:2}.channel-mission{grid-template-columns:auto minmax(0,1fr)}.channel-mission>em{grid-column:2}.channel-mission .mission-actions{grid-column:1/-1}.challenge-card{align-items:flex-start;flex-direction:column}.challenge-actions{width:100%}.challenge-actions button{flex:1}.chain-focus{margin-top:11px;padding:11px}.chain-focus>span{width:62px;height:62px;border-radius:var(--wb-radius-one)!important;font-size:29px}.chain-keyboard .key{height:38px;font-size:9px}.reward-breakdown{grid-template-columns:1fr}}
@media(max-height:720px){.chain-focus{margin:8px auto;padding:9px}.chain-focus>span{width:58px;height:58px;border-radius:var(--wb-radius-one)!important;font-size:27px}.chain-selected{min-height:46px;margin-bottom:7px}.chain-keyboard{gap:3px}.chain-keyboard .key-row{gap:3px}.chain-keyboard .key{height:35px;border-radius:var(--wb-radius-one)!important}.result-page{transform:scale(.96);transform-origin:center}}
@media(min-width:720px){.topbar{padding-top:calc(var(--app-safe-top) + 16px)}.screen-root{top:calc(72px + var(--app-safe-top))}.screen-root.game-active{top:0}.mode-grid.expanded{grid-template-columns:repeat(3,minmax(0,1fr))}.challenge-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Words Buster 2.5 */
.public-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.public-brand{display:flex;align-items:center;gap:12px}.public-brand img{width:46px;height:46px;object-fit:contain}.public-lang{display:flex;background:rgba(128,128,150,.11);padding:4px;border-radius:var(--wb-radius-one)!important}.public-lang button{border:0;background:transparent;color:inherit;font:800 12px/1 system-ui;padding:10px 12px;border-radius:var(--wb-radius-one)!important;cursor:pointer}.public-lang button.active{background:var(--accent,#9dff3f);color:#10140a}.brand-emblem img{width:100%;height:100%;object-fit:contain}.profile-brand-mark{position:absolute;right:20px;top:20px;width:48px;height:48px;opacity:.8}.profile-hero{position:relative}.result-brand-logo{width:104px;height:104px;object-fit:contain;margin:0 auto 14px;display:block}.percentile-card{width:min(100%,620px);box-sizing:border-box;padding:18px 20px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(157,255,63,.14),rgba(123,92,255,.13));text-align:center;margin:18px auto}.percentile-card strong{display:block;font-size:clamp(18px,4.8vw,25px);line-height:1.25}.percentile-card small{display:block;margin-top:6px;color:var(--muted);line-height:1.4}.result-rare{width:min(100%,620px);margin:18px auto;text-align:left}.result-rare h3{margin:0 0 10px}.rare-word-list{display:grid;gap:10px}.rare-word-list article,.rare-empty{display:flex;align-items:center;gap:13px;padding:14px 16px;background:var(--surface-2);border-radius:var(--wb-radius-one)!important}.rare-word-list article>span,.rare-empty>svg{width:34px;height:34px;color:#ffbd4a;flex:0 0 auto}.rare-word-list strong,.rare-empty strong{display:block}.rare-word-list small,.rare-empty small{display:block;color:var(--muted);margin-top:3px}.league-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 0 8px;scroll-snap-type:x mandatory;scrollbar-width:none}.league-strip::-webkit-scrollbar{display:none}.league-node{min-width:142px;padding:15px;background:var(--surface);border-radius:var(--wb-radius-one)!important;scroll-snap-align:start;opacity:.46}.league-node.current{opacity:1;background:color-mix(in srgb,var(--league-color) 15%,var(--surface))}.league-node.passed{opacity:.72}.league-node span{display:grid;place-items:center;width:32px;height:32px;border-radius:var(--wb-radius-one)!important;background:var(--league-color);color:#10130b;font-weight:900}.league-node strong{display:block;margin-top:11px;font-size:13px}.current-league-card{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:15px;padding:18px;background:linear-gradient(145deg,rgba(123,92,255,.16),rgba(157,255,63,.09));border-radius:var(--wb-radius-one)!important;margin-bottom:18px}.current-league-card>span{display:grid;place-items:center;width:54px;height:54px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent)}.current-league-card svg{width:25px}.current-league-card small,.current-league-card p{color:var(--muted)}.current-league-card strong{display:block;font-size:20px;margin:2px 0}.current-league-card p{margin:4px 0 0;font-size:13px;line-height:1.4}.current-league-card>b{font-size:13px;color:var(--accent)}button.rank-row{width:100%;border:0;color:inherit;text-align:left;font:inherit;cursor:pointer}.practice-badge{display:inline-flex;padding:3px 7px;border-radius:var(--wb-radius-one)!important;background:rgba(123,92,255,.18);color:#aa95ff;font-size:10px;font-style:normal;vertical-align:middle}.challenge-blurred{position:relative;overflow:hidden}.challenge-blurred .challenge-player{filter:blur(5px);opacity:.45}.duel-word-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.duel-words{background:var(--surface-2);border-radius:var(--wb-radius-one)!important;padding:14px;min-width:0}.duel-words h3{display:flex;justify-content:space-between;gap:8px;margin:0 0 10px;font-size:14px}.duel-words h3 span{color:var(--accent)}.duel-words>div{display:flex;flex-wrap:wrap;gap:7px}.duel-words>div>span{display:inline-flex;align-items:center;gap:5px;background:var(--surface-3);padding:7px 9px;border-radius:var(--wb-radius-one)!important;font-size:12px}.duel-words small{color:var(--accent)}.support-form label{display:block;margin:0 0 17px}.support-form label>span{display:block;color:var(--text);font-size:13px;font-weight:800;margin:0 0 8px}.support-form input,.support-form textarea{display:block;width:100%;box-sizing:border-box;border:0;outline:0;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;font:600 16px/1.45 system-ui;padding:15px 17px;caret-color:var(--accent)}.support-form textarea{min-height:170px;resize:vertical}.support-form input::placeholder,.support-form textarea::placeholder{color:var(--muted)}.support-status{min-height:20px;color:var(--muted);font-size:12px;margin-top:10px}.result-screen{overflow:hidden!important;overscroll-behavior:none}.result-screen .result-page{min-height:100%;height:100%;box-sizing:border-box;overflow:hidden;justify-content:center;padding-top:max(18px,var(--app-safe-top));padding-bottom:max(18px,var(--tg-safe-bottom))}.product-list+.section-heading{margin-top:24px}
[data-theme="light"] .percentile-card{background:linear-gradient(135deg,rgba(61,112,4,.13),rgba(93,62,210,.08))}[data-theme="light"] .rare-word-list article,[data-theme="light"] .rare-empty,[data-theme="light"] .duel-words,[data-theme="light"] .support-form input,[data-theme="light"] .support-form textarea{background:#fff;color:#14151b}[data-theme="light"] .current-league-card{background:linear-gradient(145deg,rgba(93,62,210,.08),rgba(61,112,4,.08))}[data-theme="light"] .public-lang{background:#e8eaf0}
@media(max-width:360px){.duel-word-columns{grid-template-columns:1fr}.current-league-card{grid-template-columns:46px 1fr}.current-league-card>b{display:none}.public-toolbar{align-items:flex-start}.public-brand span{font-size:15px}.result-brand-logo{width:82px;height:82px}.percentile-card{padding:14px}}
.onboarding-logo{display:block;width:92px;height:92px;object-fit:contain;margin:0 auto 18px}
@media(max-height:700px){.result-screen .result-page{gap:8px;padding-top:10px;padding-bottom:10px}.result-brand-logo{width:60px;height:60px;margin-bottom:2px}.result-page h1{font-size:clamp(28px,8vw,40px);margin:2px 0}.result-page>p{margin:0;font-size:14px}.percentile-card{margin:6px auto;padding:11px 14px}.result-stats{margin:6px auto}.result-stats article{padding:10px 6px}.result-actions{gap:8px}.result-rare{margin:6px auto}.result-rare h3{display:none}.result-rare .rare-word-list{grid-template-columns:1fr 1fr}.result-rare .rare-word-list article{padding:8px 10px}.result-rare .rare-word-list article>span{display:none}}

/* Words Buster 2.6 — resilient mobile grids and progression UI */
.screen-root,.page,.game-page,.word-builder{max-width:100%;min-width:0;overflow-x:hidden}
.letter-deck{width:100%;max-width:430px;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:8px;padding:0 1px;box-sizing:border-box}
.letter-tile,.letter-tile:nth-last-child(-n+3){transform:none!important;min-width:0;min-height:0;aspect-ratio:1;border-radius:var(--wb-radius-one)!important;font-size:clamp(20px,7vw,28px);overflow:hidden}
.letter-tile.used,.letter-tile.used:nth-last-child(-n+3){transform:scale(.91)!important}
.selected-word{width:100%;max-width:430px;overflow-x:auto;scrollbar-width:none;box-sizing:border-box}
.selected-word::-webkit-scrollbar{display:none}
.selected-word button{flex:0 0 clamp(38px,10vw,52px);min-width:0}
.builder-actions,.builder-tools{width:100%;max-width:430px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.builder-actions>*{min-width:0}
.leaderboard-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;background:var(--surface);border-radius:var(--wb-radius-one)!important;margin:0 0 12px;position:sticky;top:calc(var(--app-safe-top) + 70px);z-index:3}
.leaderboard-tabs button{min-width:0;border:0;border-radius:var(--wb-radius-one)!important;padding:11px 5px;background:transparent;color:var(--muted);font:800 clamp(9px,2.7vw,12px)/1.15 system-ui;white-space:normal}
.leaderboard-tabs button.active{background:var(--accent);color:var(--accent-contrast,#10140a)}
.profile-stats.expanded{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-stats.expanded article{min-height:68px;display:grid;place-content:center}
.arena-lobby-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:8px 0 14px}
.arena-lobby-summary>div{padding:16px;background:var(--surface-2);border-radius:var(--wb-radius-one)!important;text-align:center}
.arena-lobby-summary strong,.arena-lobby-summary span{display:block}.arena-lobby-summary strong{font-size:20px}.arena-lobby-summary span{color:var(--muted);font-size:11px;margin-top:5px}
.arena-player-list{display:grid;gap:8px;max-height:min(45vh,430px);overflow:auto;overscroll-behavior:contain;margin-bottom:14px}
.arena-player-list article{display:grid;grid-template-columns:34px 42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;background:var(--surface-2);border-radius:var(--wb-radius-one)!important;min-width:0}
.arena-player-list article>span{font-weight:900;color:var(--accent);text-align:center}.arena-player-list article>div{min-width:0}.arena-player-list strong,.arena-player-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arena-player-list small{color:var(--muted);font-size:10px;margin-top:3px}.arena-player-list em{font-style:normal;font-weight:900}
.practice-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:var(--wb-radius-one)!important;background:rgba(123,92,255,.16);color:#a98fff;font-size:9px;font-style:normal;vertical-align:middle;white-space:nowrap}
.support-form input,.support-form textarea{opacity:1!important;visibility:visible!important}
.support-status:not(:empty){padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--text)}
@media(max-width:360px){
  .letter-deck{grid-template-columns:repeat(auto-fit,minmax(40px,1fr));gap:6px}.letter-tile{border-radius:var(--wb-radius-one)!important;font-size:20px}
  .leaderboard-tabs{grid-template-columns:repeat(2,minmax(0,1fr));position:static}
  .arena-player-list article{grid-template-columns:28px 36px minmax(0,1fr) auto;padding:9px}
}
.letter-deck{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}
.letter-tile{flex:0 0 calc(25% - 8px);max-width:78px;width:auto}
@media(max-width:360px){.letter-tile{flex-basis:calc(25% - 6px);max-width:64px}}

/* Words Buster 2.7 — stable gameplay, support and duel polish */
.daily-hint-progress{width:100%;max-width:540px;margin:10px auto 14px;padding:14px 15px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 13%,var(--surface)),color-mix(in srgb,var(--accent) 7%,var(--surface)));box-sizing:border-box}
.daily-hint-progress>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.daily-hint-progress strong{display:block;font-size:12px}.daily-hint-progress small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.35}.daily-hint-progress b{flex:0 0 auto;padding:7px 9px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);font-size:10px}
.daily-hint-track{position:relative;height:7px;margin-top:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);overflow:visible}.daily-hint-track>i{position:absolute;inset:0 auto 0 0;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent),var(--violet));transition:width .25s ease}.daily-hint-track>span{position:absolute;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:var(--wb-radius-one)!important;background:var(--bg-elevated);box-shadow:0 0 0 2px var(--surface-3)}
.letter-deck{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px!important;width:100%;max-width:430px;margin:0 auto;padding:0 4px;box-sizing:border-box}
.letter-tile,.letter-tile:nth-last-child(-n+3){flex:0 0 clamp(56px,18vw,76px)!important;width:clamp(56px,18vw,76px)!important;max-width:76px!important;aspect-ratio:1;min-width:0;min-height:0;border-radius:var(--wb-radius-one)!important;transform:none!important;font-size:clamp(22px,7.2vw,31px);overflow:hidden;display:grid;place-items:center}
.letter-tile.used,.letter-tile.used:nth-last-child(-n+3){transform:scale(.92)!important}
.word-builder .game-summary{max-width:540px;margin-left:auto;margin-right:auto;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--blue) 5%,var(--surface)))}
.selected-word{max-width:540px;min-height:68px;margin-top:15px;margin-bottom:15px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--violet) 5%,var(--surface)))}
.builder-actions,.builder-tools{max-width:540px}.builder-actions{grid-template-columns:58px minmax(0,1fr) 58px}.builder-actions button{min-width:0}
.builder-tools button{font-size:9px}.found-words{max-width:540px}.found-words span{background:var(--surface-2)}
.duel-strip{max-width:540px;margin:0 auto 10px;padding:12px 14px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--rose) 13%,var(--surface)),var(--surface));display:flex;align-items:center;justify-content:flex-start;gap:11px}.duel-strip>div{min-width:0}.duel-strip strong,.duel-strip small{display:block}.duel-strip small{margin-top:3px;color:var(--muted)}.duel-mini-avatar{width:38px;height:38px;flex:0 0 auto}
.duel-result{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:center}.duel-result>div{min-width:0;display:flex;flex-direction:column;align-items:center}.duel-result strong{margin-top:7px;font-size:26px}.duel-result span{max-width:100%;margin-top:3px;color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duel-result>b{color:var(--muted);font-size:10px}.duel-avatar{width:50px;height:50px}
.duel-wait-card{display:flex;align-items:center;gap:12px;margin-top:12px;padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.duel-wait-card i{width:18px;height:18px;border:3px solid var(--surface-3);border-top-color:var(--accent);border-radius:var(--wb-radius-one)!important;animation:spin .75s linear infinite}.duel-wait-card strong,.duel-wait-card small{display:block}.duel-wait-card small{margin-top:3px;color:var(--muted);font-size:9px}
.duel-word-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.duel-words>div>span{max-width:100%;overflow:hidden;text-overflow:ellipsis}.challenge-primary{border-radius:var(--wb-radius-one)!important;background:var(--accent)!important;color:var(--accent-ink)!important;padding:10px 12px!important;font-weight:900!important}
.support-form{padding-bottom:4px}.support-form input,.support-form textarea{border:1px solid transparent!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 4%,transparent)}.support-form input:focus,.support-form textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent);border-color:color-mix(in srgb,var(--accent) 50%,transparent)!important}.support-form textarea{min-height:190px;max-height:38vh}.support-status.success{background:color-mix(in srgb,#39c977 12%,var(--surface-2));color:#39c977}.support-status.error{background:color-mix(in srgb,#ff607d 12%,var(--surface-2));color:#ff607d}
.button-spinner{display:inline-block;width:15px;height:15px;margin-right:7px;border:2px solid currentColor;border-top-color:transparent;border-radius:var(--wb-radius-one)!important;vertical-align:-3px;animation:spin .7s linear infinite}
.result-page.daily-result .result-actions{margin-top:14px}.result-page .percentile-card:empty{display:none}
@media(max-width:360px){.letter-deck{gap:7px!important}.letter-tile,.letter-tile:nth-last-child(-n+3){flex-basis:clamp(48px,18vw,62px)!important;width:clamp(48px,18vw,62px)!important;border-radius:var(--wb-radius-one)!important;font-size:21px}.builder-actions{grid-template-columns:50px minmax(0,1fr) 50px}.duel-word-columns{grid-template-columns:1fr}.daily-hint-progress{padding:12px}.support-form textarea{min-height:150px}}
[data-theme="light"] .daily-hint-progress,[data-theme="light"] .duel-strip,[data-theme="light"] .word-builder .game-summary,[data-theme="light"] .selected-word{background:#fff}[data-theme="light"] .support-status.success{color:#24734a}[data-theme="light"] .support-status.error{color:#b52f4d}

/* Words Buster 2.8 — active matches, clean avatars and word intelligence */
.avatar-v28{position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,hsl(var(--avatar-hue) 72% 62%),hsl(calc(var(--avatar-hue) + 42) 68% 48%));color:#fff;font-weight:900;isolation:isolate}
.avatar-v28 .avatar-letter{position:absolute;inset:0;display:grid;place-items:center;font-size:inherit;line-height:1;text-transform:uppercase;z-index:0}
.avatar-v28 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:1}
.home-active-duel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:15px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--rose) 13%,var(--surface)),color-mix(in srgb,var(--violet) 8%,var(--surface)));box-shadow:0 18px 38px rgba(0,0,0,.12)}
.home-duel-player{display:flex;align-items:center;gap:11px;min-width:0}.home-duel-avatar{width:46px;height:46px;border-radius:var(--wb-radius-one)!important;flex:0 0 auto;font-size:18px}.home-duel-player>div{min-width:0}.home-duel-player span,.home-duel-player strong,.home-duel-player small{display:block}.home-duel-player span{font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--rose)}.home-duel-player strong{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-duel-player small{margin-top:3px;color:var(--muted);font-size:10px}.home-duel-cta{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;border:0;border-radius:var(--wb-radius-one)!important;padding:12px 13px;background:var(--accent);color:var(--accent-ink);font-weight:900}.home-duel-cta svg{width:14px}.home-duel-actions{display:flex;gap:6px;flex:0 0 auto}
.mode-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mode-choice-grid>button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:145px;padding:16px;border:0;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--text);text-align:left}.mode-choice-grid>button:last-child{grid-column:1/-1;min-height:112px}.mode-choice-grid strong{margin-top:12px;font-size:15px}.mode-choice-grid small{margin-top:6px;color:var(--muted);font-size:10px;line-height:1.45}.mode-choice-grid .mode-icon{width:44px;height:44px}
.word-breakdown-trigger{display:flex;align-items:center;gap:11px;width:100%;max-width:540px;margin:0 auto 12px;padding:12px 14px;border:0;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--text);text-align:left}.word-breakdown-trigger>span:first-child{display:grid;place-items:center;width:35px;height:35px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--blue) 13%,var(--surface-2));color:var(--blue);flex:0 0 auto}.word-breakdown-trigger>div{min-width:0;flex:1}.word-breakdown-trigger strong,.word-breakdown-trigger small{display:block}.word-breakdown-trigger strong{font-size:12px}.word-breakdown-trigger small{margin-top:3px;color:var(--muted);font-size:9px}.word-breakdown-trigger>svg{width:16px;color:var(--muted)}
.word-breakdown-total{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.word-breakdown-total>div{padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);text-align:center}.word-breakdown-total strong,.word-breakdown-total span{display:block}.word-breakdown-total strong{font-size:25px}.word-breakdown-total span{margin-top:4px;color:var(--muted);font-size:9px}.word-breakdown-list{display:grid;gap:8px;margin-top:12px}.word-breakdown-list>div{position:relative;display:flex;justify-content:space-between;align-items:center;overflow:hidden;padding:13px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)}.word-breakdown-list span,.word-breakdown-list strong{position:relative;z-index:1}.word-breakdown-list span{font-size:11px}.word-breakdown-list strong{font-size:13px}.word-breakdown-list i{position:absolute;inset:0 auto 0 0;opacity:.09;background:linear-gradient(90deg,var(--accent),var(--violet))}
.challenge-card-v28{align-items:center}.challenge-history-button,.challenge-secondary{border:0!important;border-radius:var(--wb-radius-one)!important;padding:11px 13px!important;background:var(--surface-3)!important;color:var(--text)!important;font-weight:900!important}.challenge-history-button{min-width:126px}.challenge-actions{display:flex;justify-content:flex-end;gap:7px}.challenge-actions button{white-space:normal;line-height:1.15;text-align:center}
.duel-scoreboard-v28{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:17px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--violet) 5%,var(--surface)));text-align:center}.duel-scoreboard-v28>div{display:flex;flex-direction:column;align-items:center;min-width:0}.duel-scoreboard-v28 strong{margin-top:8px;font-size:29px}.duel-scoreboard-v28 span{max-width:100%;margin-top:3px;color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duel-scoreboard-v28>b{color:var(--muted);font-size:10px}.duel-words-v28{padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.duel-words-v28 h3{display:flex;justify-content:space-between;margin:0 0 10px;font-size:12px}.duel-words-v28 h3 span{color:var(--accent)}.duel-words-v28>div{display:flex;flex-wrap:wrap;gap:7px}.duel-words-v28>div>span{display:flex;align-items:center;gap:5px;padding:8px 9px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);min-width:0}.duel-words-v28 b{font-size:10px;overflow:hidden;text-overflow:ellipsis}.duel-words-v28 small{color:var(--accent);font-size:8px}.duel-words-v28 p{margin:0;color:var(--muted);font-size:10px}.duel-result-actions{margin-top:12px}
.support-form-v28 input,.support-form-v28 textarea{width:100%;box-sizing:border-box;color:var(--text)!important;background:var(--surface-2)!important;-webkit-text-fill-color:var(--text)!important;caret-color:var(--accent)}.support-form-v28 button:disabled{opacity:.65}.support-history-v28{margin-top:18px}.support-history-loading{display:grid;place-items:center;padding:25px}.support-history-loading i{width:22px;height:22px;border:3px solid var(--surface-3);border-top-color:var(--accent);border-radius:var(--wb-radius-one)!important;animation:spin .75s linear infinite}.support-ticket-v28{padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);margin-top:9px}.support-ticket-v28>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.support-ticket-v28 strong{font-size:11px}.support-ticket-v28 p{margin:9px 0 0;color:var(--muted);font-size:10px;line-height:1.45;white-space:pre-wrap}.support-ticket-v28 blockquote{margin:10px 0 0;padding:10px;border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:10px;line-height:1.45;white-space:pre-wrap}.support-ticket-status{flex:0 0 auto;padding:5px 7px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);color:var(--muted);font-size:8px;font-weight:900}.support-ticket-status.resolved,.support-ticket-status.closed{background:color-mix(in srgb,#36c878 14%,var(--surface-3));color:#36c878}.support-ticket-status.pending{background:color-mix(in srgb,#ffbb43 14%,var(--surface-3));color:#ffbb43}
[data-theme="light"] .home-active-duel,[data-theme="light"] .duel-scoreboard-v28{background:#fff}[data-theme="light"] .word-breakdown-trigger,[data-theme="light"] .duel-words-v28{background:#fff}[data-theme="light"] .support-form-v28 input,[data-theme="light"] .support-form-v28 textarea{background:#fff!important;color:#11131a!important;-webkit-text-fill-color:#11131a!important}
@media(max-width:360px){.home-active-duel{align-items:stretch;flex-direction:column}.home-duel-cta{width:100%}.home-duel-actions{width:100%}.home-duel-actions button{flex:1}.mode-choice-grid{grid-template-columns:1fr}.mode-choice-grid>button:last-child{grid-column:auto}.duel-scoreboard-v28{padding:13px}.duel-scoreboard-v28 strong{font-size:24px}.challenge-card-v28{align-items:stretch;flex-direction:column}.challenge-actions{width:100%}.challenge-actions button{flex:1}.challenge-history-button{width:100%}}

/* Words Buster 2.9 — production spacing, consistent avatars and compact actions */
.avatar,.rank-avatar,.profile-avatar,.duel-avatar,.duel-mini-avatar,.home-duel-avatar,.player-avatar,.avatar-v28,.avatar-v29{
  border-radius:var(--wb-radius-one)!important;
}
.avatar-v29 img{border-radius:var(--wb-radius-one)!important}
.rank-avatar{width:46px;height:46px;flex:0 0 46px;font-size:16px}
.duel-avatar{width:58px;height:58px;font-size:20px}
.profile-avatar{border-radius:var(--wb-radius-one)!important}

.challenge-list{display:grid;gap:12px}
.challenge-card-v29{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center!important;padding:14px!important;border-radius:var(--wb-radius-one)!important}
.challenge-card-v29 .challenge-player{min-width:0;display:flex;align-items:center;gap:11px}
.challenge-card-v29 .challenge-player>div{min-width:0}
.challenge-card-v29 .challenge-player strong,.challenge-card-v29 .challenge-player small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.challenge-card-v29 .challenge-player strong{font-size:14px;line-height:1.2}
.challenge-card-v29 .challenge-player small{margin-top:4px;font-size:10px;color:var(--muted)}
.challenge-card-v29 .challenge-actions{display:flex;align-items:center;gap:7px;max-width:230px}
.challenge-card-v29 .challenge-actions button,.challenge-history-button,.challenge-primary,.challenge-secondary{
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:var(--wb-radius-one)!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.challenge-history-button{min-width:0!important;background:var(--surface-3)!important}
.challenge-primary{background:var(--accent)!important;color:var(--accent-ink)!important}
.challenge-secondary{background:var(--surface-3)!important;color:var(--text)!important}
.home-duel-cta{font-size:11px!important;font-weight:800!important;padding:11px 13px!important;white-space:nowrap}

.mode-grid-v29{margin-top:12px;margin-bottom:22px}
.mode-choice-v29{gap:12px}
.mode-choice-v29>button{min-height:138px}
.mode-grid.expanded>.mode-card,.mode-grid-v29>.mode-card{margin:0!important}

.word-builder .game-summary{margin-bottom:16px!important}
.word-breakdown-trigger{margin-bottom:18px!important}
.word-builder .selected-word{margin-top:0!important;margin-bottom:20px!important}
.word-builder .letter-deck{margin-bottom:18px!important}
.builder-actions{margin-top:2px!important;margin-bottom:12px!important}
.builder-tools{margin-top:0!important;margin-bottom:22px!important;gap:10px!important}
.builder-tools button{min-height:72px;border-radius:var(--wb-radius-one)!important}
.word-builder .section-heading.game-section{margin-top:8px!important}

.duel-scoreboard-v28{gap:18px!important;padding:18px!important}
.duel-scoreboard-v28 .duel-avatar{border-radius:var(--wb-radius-one)!important}
.duel-wait-card{margin-top:16px!important}
.challenge-status-v28 .sheet-body,.challenge-status .sheet-body{padding-bottom:calc(20px + var(--app-safe-bottom))}

.leaderboard-tabs{scroll-margin-top:0}
.rank-list{min-height:100px}

@media(max-width:430px){
  .challenge-card-v29{grid-template-columns:minmax(0,1fr) auto;padding:13px!important}
  .challenge-card-v29 .challenge-actions{max-width:190px}
  .challenge-card-v29 .challenge-actions button,.challenge-history-button,.challenge-primary,.challenge-secondary{font-size:11px!important;padding:9px 11px!important;min-height:40px!important}
}
@media(max-width:360px){
  .challenge-card-v29{grid-template-columns:1fr!important;align-items:stretch!important}
  .challenge-card-v29 .challenge-actions{width:100%;max-width:none}
  .challenge-card-v29 .challenge-actions button{flex:1;white-space:normal!important}
  .rank-avatar{width:42px;height:42px;flex-basis:42px}
  .letter-deck{gap:9px!important}
  .letter-tile,.letter-tile:nth-last-child(-n+3){flex:0 0 calc(33.333% - 9px)!important;width:calc(33.333% - 9px)!important;max-width:76px!important}
}

/* Words Buster 3.0 — final responsive release layer */
*,*::before,*::after{box-sizing:border-box;min-width:0}
html,body,#app,.app-shell{max-width:100%;overflow-x:hidden}
.page{width:min(100%,760px);margin-inline:auto;padding-inline:clamp(14px,4vw,24px)!important;padding-bottom:calc(112px + var(--app-safe-bottom))!important}
.page-header{max-width:620px;margin-inline:auto;text-align:left}
.home-page>.hero-card,.home-page>.balance-card,.home-page>.plus-nudge,.home-page>.reward-card,.home-page>#homeActiveChallenge,.home-page>.section-heading,.home-page>.mode-grid,.home-page>.mission-list{width:100%}
.hero-card,.balance-card,.reward-card,.plus-nudge,.home-active-duel{overflow:hidden}
.profile-mini,.challenge-player,.friend-row,.rank-row{min-width:0}
.profile-copy,.challenge-player>div,.friend-row>div,.rank-row>div{min-width:0}
.profile-copy strong,.challenge-player strong,.challenge-player small{overflow:hidden;text-overflow:ellipsis}

.mode-grid,.mode-grid.expanded,.mode-grid-v29{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}
.mode-grid>.mode-card,.mode-grid-v29>.mode-card{width:100%!important;min-height:150px!important;margin:0!important;padding:18px!important}
.mode-grid .mode-card p{max-width:30ch;line-height:1.45}
.mode-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.mode-choice-grid>button,.mode-choice-grid>button:last-child{grid-column:auto!important;min-height:132px!important;width:100%}

.daily-game{width:min(100%,620px);margin-inline:auto;padding-inline:clamp(12px,3vw,22px)!important;padding-bottom:calc(132px + var(--app-safe-bottom))!important}
.daily-game .game-header,.daily-game .game-summary,.daily-game .daily-hint-progress,.daily-game .word-board,.daily-game .keyboard,.daily-game .game-bottom-tools{width:100%;max-width:560px;margin-inline:auto}
.daily-game .game-summary{margin-bottom:12px!important;padding:14px 16px!important}
.daily-hint-progress-v30{margin:0 auto 16px!important;padding:14px 16px!important;overflow:hidden}
.daily-hint-copy{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.daily-hint-copy>div{min-width:0}
.daily-hint-copy strong,.daily-hint-copy small{display:block;overflow-wrap:anywhere}
.daily-hint-track{position:relative;height:7px!important;margin:14px 2px 0!important;overflow:visible!important}
.daily-hint-track>i{height:100%;border-radius:var(--wb-radius-one)!important}
.daily-hint-track>span{position:absolute!important;top:50%!important;width:12px!important;height:12px!important;margin:0!important;border-radius:var(--wb-radius-one)!important;font-size:0!important;line-height:0!important;transform:translate(-50%,-50%)!important}
.daily-hint-labels{position:relative;height:18px;margin:7px 2px 0;color:var(--muted);font-size:10px;font-weight:800}
.daily-hint-labels>span{position:absolute;transform:translateX(-50%)}
.daily-hint-meta{display:flex!important;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:3px!important;font-size:10px!important}
.word-board{display:grid!important;gap:clamp(6px,1.6vw,10px)!important;margin-block:0 14px!important}
.word-row{display:grid!important;grid-template-columns:repeat(var(--daily-word-length,5),minmax(0,1fr))!important;gap:clamp(6px,1.6vw,10px)!important;width:100%}
.word-cell{width:auto!important;min-width:0!important;height:auto!important;aspect-ratio:1/1;min-height:0!important;border-radius:var(--wb-radius-one)!important;font-size:clamp(18px,5.6vw,30px)!important;display:grid!important;place-items:center}
.keyboard{display:grid!important;gap:7px!important;margin-top:4px!important;padding-bottom:4px}
.keyboard-row{display:flex!important;justify-content:center!important;gap:clamp(3px,1vw,7px)!important;width:100%}
.keyboard-key{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:48px;height:clamp(42px,10.6vw,54px)!important;border-radius:var(--wb-radius-one)!important;font-size:clamp(12px,3.5vw,17px)!important;padding:0!important}
.keyboard-key.wide{flex:1.5 1 0!important;max-width:70px!important}
.game-bottom-tools{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px!important}
.game-bottom-tools .tool-button{min-height:56px}

.word-builder{width:min(100%,680px);margin-inline:auto;padding-inline:clamp(14px,4vw,24px)!important;padding-bottom:calc(118px + var(--app-safe-bottom))!important}
.word-builder .letter-deck{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:10px!important;max-width:560px;margin-inline:auto!important;transform:none!important}
.word-builder .letter-tile,.word-builder .letter-tile:nth-last-child(-n+3){flex:0 0 clamp(54px,14vw,74px)!important;width:clamp(54px,14vw,74px)!important;height:clamp(54px,14vw,74px)!important;max-width:none!important;margin:0!important}
.builder-actions,.builder-tools,.selected-word,.word-breakdown-trigger,.found-words{max-width:560px;margin-inline:auto!important}

.mission-list-v30{display:grid;gap:10px}
.mission-list-v30 .mission-card{width:100%}
.recent-heading{margin-top:28px!important}
.recent-game-list{display:grid;gap:10px}
.recent-game-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}
.recent-game-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent)}
.recent-game-icon svg{width:21px;height:21px}
.recent-game-card strong,.recent-game-card small{display:block}
.recent-game-card small{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.4}
.recent-game-card em{font-style:normal;font-weight:900;font-size:15px}
.recent-empty{display:flex;align-items:center;gap:12px;padding:17px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);font-size:11px;line-height:1.45}
.recent-empty svg{width:22px;flex:0 0 22px;color:var(--accent)}

.shop-sheet-v30 .sheet-body{padding-bottom:calc(30px + var(--app-safe-bottom))}
.shop-section{margin-top:18px}
.shop-section:first-of-type{margin-top:8px}
.shop-section .sheet-section{margin:0 0 10px!important}
.product-list{display:grid!important;gap:10px!important}
.product-card-v30{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:14px!important;text-align:left}
.product-card-v30.sale{background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 14%,var(--surface)),color-mix(in srgb,var(--accent) 8%,var(--surface)))!important}
.product-copy{min-width:0}
.product-copy strong,.product-copy small,.product-copy time{display:block}
.product-copy strong{font-size:13px;line-height:1.25}
.product-copy small{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.42}
.product-copy time,.plan-card-v30 time{margin-top:7px;color:var(--accent);font-size:9px;font-weight:800}
.product-badge{display:inline-flex!important;width:max-content;max-width:100%;margin-bottom:6px;padding:5px 7px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--accent) 14%,var(--surface-2));color:var(--accent);font-size:8px;font-weight:900;line-height:1.1}
.product-price{display:flex;flex-direction:column;align-items:flex-end;gap:4px;white-space:nowrap}
.product-price s{color:var(--muted);font-size:9px;text-decoration-thickness:1px}
.product-price b{display:flex;align-items:center;gap:4px;font-size:14px}
.plan-card-v30{position:relative;margin-top:10px;padding:17px!important;overflow:hidden}
.plan-card-v30 .plan-top{align-items:flex-start;gap:14px}
.plan-card-v30 .product-price{flex:0 0 auto}
.word-review-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)}
.word-review-card strong{font-size:25px;letter-spacing:.08em;overflow-wrap:anywhere}
.word-review-card small{color:var(--muted);font-weight:900}

.challenge-card-v30{min-height:86px}
.challenge-card-v30 .challenge-player small{white-space:normal!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.challenge-kind{display:inline-flex;margin-bottom:4px;padding:4px 6px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--accent) 13%,var(--surface-2));color:var(--accent);font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.challenge-card-v30.practice{background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--accent) 5%,var(--surface)))}
.duel-wait-card{display:flex;align-items:center;gap:12px}

.avatar-v28,.avatar-v29{position:relative;overflow:hidden;background:var(--surface-2)}
.avatar-v28 .avatar-letter{position:absolute;inset:0;display:grid;place-items:center;z-index:0}
.avatar-v28 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}

.bottom-nav{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));width:auto!important;max-width:760px;margin-inline:auto}
.sheet{max-width:min(100%,760px)!important}
.sheet-body{overflow-x:hidden}

@media(min-width:700px){
  .mode-grid,.mode-grid.expanded,.mode-grid-v29{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .mode-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .product-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .product-card-v30{height:100%}
}
@media(max-width:430px){
  .page{padding-inline:14px!important}
  .mode-grid>.mode-card,.mode-grid-v29>.mode-card{min-height:142px!important;padding:15px!important}
  .product-card-v30{grid-template-columns:auto minmax(0,1fr);align-items:start}
  .product-card-v30 .product-price{grid-column:2;align-items:flex-start;flex-direction:row-reverse;justify-content:flex-end}
  .challenge-card-v30{grid-template-columns:1fr!important;align-items:stretch!important}
  .challenge-card-v30 .challenge-actions{width:100%;max-width:none;justify-content:stretch}
  .challenge-card-v30 .challenge-actions button{flex:1}
}
@media(max-width:350px){
  .mode-grid,.mode-grid.expanded,.mode-grid-v29,.mode-choice-grid{grid-template-columns:1fr!important}
  .mode-grid>.mode-card,.mode-grid-v29>.mode-card,.mode-choice-grid>button{min-height:118px!important}
  .daily-game{padding-inline:9px!important}
  .daily-hint-progress-v30{padding:12px!important}
  .daily-hint-meta{display:grid!important;gap:4px}
  .keyboard-row{gap:3px!important}
  .keyboard-key{height:40px!important;font-size:12px!important}
}
@media(max-height:720px){
  .daily-game .game-header{margin-bottom:8px!important}
  .daily-game .game-summary{padding:10px 13px!important;margin-bottom:8px!important}
  .daily-hint-progress-v30{padding:10px 13px!important;margin-bottom:10px!important}
  .daily-hint-copy small,.daily-hint-meta{font-size:8px!important}
  .word-board{gap:5px!important;margin-bottom:9px!important}
  .word-row{gap:5px!important}
  .word-cell{border-radius:var(--wb-radius-one)!important;font-size:19px!important}
  .keyboard{gap:4px!important}
  .keyboard-row{gap:3px!important}
  .keyboard-key{height:36px!important;border-radius:var(--wb-radius-one)!important;font-size:12px!important}
  .game-bottom-tools{margin-top:8px!important}
  .game-bottom-tools .tool-button{min-height:44px!important}
}

/* Words Buster 3.1 — final width alignment, clean play hub and durable avatars */
:root{--content-max:780px;--content-gutter:14px}
.topbar{
  left:0!important;right:0!important;width:auto!important;max-width:calc(var(--content-max) + (var(--content-gutter) * 2));margin-inline:auto;
  padding-left:max(var(--content-gutter),calc(var(--content-gutter) + var(--tg-content-safe-left)))!important;
  padding-right:max(var(--content-gutter),calc(var(--content-gutter) + var(--tg-content-safe-right)))!important;
}
.screen-root{
  padding-left:max(var(--content-gutter),calc(var(--content-gutter) + var(--tg-content-safe-left)))!important;
  padding-right:max(var(--content-gutter),calc(var(--content-gutter) + var(--tg-content-safe-right)))!important;
}
.page{
  width:100%!important;max-width:var(--content-max)!important;margin-inline:auto!important;
  padding-left:0!important;padding-right:0!important;
}
.bottom-nav{
  left:0!important;right:0!important;width:auto!important;
  max-width:calc(var(--content-max) + (var(--content-gutter) * 2))!important;margin-inline:auto!important;
  padding-left:max(var(--content-gutter),calc(var(--content-gutter) + var(--tg-content-safe-left)))!important;
  padding-right:max(var(--content-gutter),calc(var(--content-gutter) + var(--tg-content-safe-right)))!important;
}
.nav-inner{width:100%;max-width:none!important}

.avatar-v31{position:relative;isolation:isolate;background:linear-gradient(145deg,hsl(var(--avatar-hue) 72% 58%),hsl(calc(var(--avatar-hue) + 44) 66% 42%))!important}
.avatar-v31 .avatar-letter{z-index:0!important;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.18)}
.avatar-v31 img{z-index:1!important;display:block;width:100%;height:100%;object-fit:cover;background:transparent}

.home-page-v31>.plus-nudge{margin-bottom:14px!important}
.home-page-v31>#homeActiveChallenge{display:block;width:100%;margin:0 0 20px!important}
.home-page-v31>#homeActiveChallenge:empty{display:none!important;margin:0!important}
.home-page-v31>#homeActiveChallenge .home-active-duel{margin:0!important}
.home-active-duel-v31{min-height:92px;padding:16px!important;border-radius:var(--wb-radius-one)!important}
.home-active-duel-v31 .home-duel-player{min-width:0;flex:1}
.home-active-duel-v31 .home-duel-player small{white-space:normal;line-height:1.35}
.home-active-duel-v31 .home-duel-cta{max-width:45%;white-space:normal;text-align:center;line-height:1.2}

.play-page-v31{padding-bottom:calc(116px + var(--app-safe-bottom))!important}
.play-header-v31{padding-bottom:16px!important}
.play-header-v31 p{max-width:620px}
.play-section-title-v31{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:26px 2px 12px}
.play-section-title-v31 h2{margin:0;font-size:22px;line-height:1.05;letter-spacing:-.04em}
.play-section-title-v31 p{max-width:610px;margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.48}

.daily-feature-v31{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(120px,.75fr);align-items:center;min-height:238px;overflow:hidden;padding:24px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,#7958ff,#5d3ee2);color:#fff;box-shadow:0 24px 55px rgba(77,48,194,.2)}
.daily-feature-v31:before{content:"";position:absolute;width:250px;height:250px;border-radius:var(--wb-radius-one)!important;right:-110px;top:-145px;background:rgba(255,255,255,.08)}
.daily-feature-copy-v31{position:relative;z-index:2;min-width:0}
.daily-feature-copy-v31>span{display:block;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.daily-feature-copy-v31 h2{max-width:430px;margin:15px 0 10px;font-size:clamp(28px,7vw,43px);line-height:.96;letter-spacing:-.06em}
.daily-feature-copy-v31 p{max-width:390px;margin:0;color:rgba(255,255,255,.72);font-size:12px;line-height:1.55}
.daily-feature-copy-v31 .primary-button{width:max-content;min-width:164px;margin-top:20px;background:var(--accent);color:var(--accent-ink)}
.daily-feature-art-v31{position:relative;z-index:1;display:grid;place-items:center;min-width:0}
.daily-feature-art-v31 .hero-art{position:static!important;width:min(100%,190px)!important;height:auto!important;max-height:190px;margin:0!important}

.quick-grid-v31,.skill-grid-v31{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.skill-grid-v31{grid-template-columns:repeat(3,minmax(0,1fr))}
.play-mode-v31{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto 1fr;column-gap:12px;align-items:center;min-width:0;min-height:154px;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:left;overflow:hidden}
.play-mode-v31>.play-mode-icon-v31{grid-row:1;grid-column:1}
.play-mode-tag-v31{grid-row:1;grid-column:2;justify-self:start;padding:6px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-size:8px;font-weight:900;letter-spacing:.04em}
.play-mode-v31>strong{grid-column:1/-1;margin-top:16px;font-size:17px;line-height:1.15;letter-spacing:-.025em}
.play-mode-v31>small{grid-column:1/-1;align-self:start;margin-top:7px;padding-right:22px;color:var(--muted);font-size:10px;line-height:1.45}
.play-mode-v31>i{position:absolute;right:16px;bottom:16px;color:var(--muted)}
.play-mode-v31>i svg{width:17px;height:17px}
.play-mode-icon-v31{display:grid;place-items:center;width:46px;height:46px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--text)}
.play-mode-icon-v31 svg{width:22px;height:22px}
.play-mode-icon-v31.violet{background:rgba(121,88,255,.17);color:#a990ff}
.play-mode-icon-v31.amber{background:rgba(255,189,74,.14);color:var(--amber)}
.play-mode-icon-v31.blue{background:rgba(97,184,255,.14);color:var(--blue)}
.play-mode-icon-v31.green{background:rgba(82,217,155,.13);color:var(--success)}
.play-mode-icon-v31.rose{background:rgba(255,109,135,.14);color:var(--rose)}

.instant-duel-v31{position:relative;display:block;width:100%;overflow:hidden;padding:22px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--rose) 18%,var(--surface)),color-mix(in srgb,var(--violet) 18%,var(--surface)));text-align:left;box-shadow:var(--shadow-soft)}
.instant-duel-v31:after{content:"";position:absolute;width:220px;height:220px;border-radius:var(--wb-radius-one)!important;right:-120px;top:-115px;background:rgba(173,255,69,.07)}
.instant-duel-head-v31{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.instant-badge-v31{padding:7px 10px;border-radius:var(--wb-radius-one)!important;background:rgba(173,255,69,.12);color:var(--accent);font-size:9px;font-weight:900}
.instant-duel-v31>h2{position:relative;z-index:1;margin:18px 0 8px;font-size:28px;letter-spacing:-.05em}
.instant-duel-v31>p{position:relative;z-index:1;max-width:610px;margin:0;color:var(--text-soft);font-size:11px;line-height:1.55}
.duel-chips-v31{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.duel-chips-v31 span{display:flex;align-items:center;gap:5px;padding:7px 9px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.055);color:var(--text-soft);font-size:8px;font-weight:800}
.duel-chips-v31 svg{width:13px;height:13px;color:var(--accent)}
.duel-steps-v31{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.duel-steps-v31 span{display:flex;align-items:center;gap:8px;min-width:0;padding:10px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.045);font-size:9px;line-height:1.3}
.duel-steps-v31 b{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);font-size:10px}
.instant-duel-cta-v31{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:50px;margin-top:16px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:900}
.instant-duel-cta-v31 svg{width:16px;height:16px}

.arena-feature-v31{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;margin-top:12px;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:left}
.arena-feature-v31>div{min-width:0}
.arena-feature-v31>div>span{display:block;color:var(--amber);font-size:8px;font-weight:900;letter-spacing:.08em}
.arena-feature-v31 h2{margin:5px 0 5px;font-size:18px;letter-spacing:-.03em}
.arena-feature-v31 p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
.arena-feature-v31>i{color:var(--muted)}
.arena-feature-v31>i svg{width:18px;height:18px}

.challenge-list-v31{display:grid;gap:10px}
.challenge-card-v31{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:14px;min-height:94px;padding:15px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important}
.challenge-card-v31 .challenge-player{display:flex;align-items:center;gap:11px;min-width:0}
.challenge-card-v31 .challenge-player>div{min-width:0}
.challenge-card-v31 .challenge-player strong,.challenge-card-v31 .challenge-player small{display:block}
.challenge-card-v31 .challenge-player strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.challenge-card-v31 .challenge-player small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.4;white-space:normal!important}
.challenge-kind-v31{display:block;margin-bottom:5px;color:var(--rose);font-size:7px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.challenge-card-v31 .challenge-actions{display:flex;justify-content:flex-end;gap:7px;max-width:270px}
.challenge-card-v31 .challenge-actions button{min-height:42px;white-space:normal;line-height:1.2}

.duel-stage-v31{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:12px}
.duel-stage-v31 span{display:flex;align-items:center;gap:7px;min-width:0;padding:9px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-size:8px;line-height:1.25}
.duel-stage-v31 b{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);color:var(--text);font-size:9px}
.duel-stage-v31 span.done,.duel-stage-v31 span.active{color:var(--text)}
.duel-stage-v31 span.done b{background:var(--success);color:#071b11}
.duel-stage-v31 span.active b{background:var(--accent);color:var(--accent-ink)}
.duel-scoreboard-v31{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);text-align:center}
.duel-scoreboard-v31>div{display:flex;flex-direction:column;align-items:center;min-width:0}
.duel-scoreboard-v31>div strong{margin-top:7px;font-size:27px}
.duel-scoreboard-v31>div span{max-width:100%;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}
.duel-scoreboard-v31>b{color:var(--muted);font-size:9px}
.duel-rules-v31{display:grid;gap:8px;margin:12px 0;padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}
.duel-rules-v31 h3{margin:0 0 2px;font-size:13px}
.duel-rules-v31 p{display:flex;align-items:center;gap:8px;margin:0;color:var(--text-soft);font-size:9px;line-height:1.35}
.duel-rules-v31 svg{width:15px;height:15px;color:var(--accent)}
.duel-clear-note-v31{margin:12px 0 0;padding:13px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--text-soft);font-size:10px;line-height:1.5}
.duel-modal-actions-v31{display:grid;gap:8px;margin-top:12px}
.challenge-status-v31 .duel-word-columns{margin-top:12px}

.referrals-page-v31{padding-bottom:calc(116px + var(--app-safe-bottom))!important}
.referral-hero-v31{padding:22px!important}
.referral-kicker-v31{position:relative;z-index:2;display:block;color:var(--accent);font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.referral-link-v31{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:90px}
.ref-metrics-v31{gap:10px!important}
.ref-metrics-v31 article{min-height:76px;display:flex;flex-direction:column;justify-content:center}
.rules-list-v31{gap:10px}
.friends-heading-v31>span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);font-size:10px;font-weight:900}
.friend-list-v31{gap:10px}
.friend-row-v31{width:100%;min-height:84px;padding:14px!important;text-align:left}
.friend-main-v31{min-width:0}
.friend-main-v31 strong,.friend-main-v31 span,.friend-main-v31 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.friend-main-v31 strong{font-size:12px}
.friend-main-v31 span{margin-top:4px;color:var(--accent);font-size:9px}
.friend-main-v31 small{margin-top:4px;color:var(--muted);font-size:8px}

@media(min-width:700px){
  .quick-grid-v31{grid-template-columns:repeat(2,minmax(0,1fr))}
  .challenge-list-v31{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .daily-feature-v31{grid-template-columns:minmax(0,1fr) 118px;min-height:222px;padding:20px}
  .daily-feature-copy-v31 h2{font-size:31px}
  .daily-feature-copy-v31 p{font-size:10px}
  .skill-grid-v31{grid-template-columns:repeat(2,minmax(0,1fr))}
  .skill-grid-v31>.play-mode-v31:last-child{grid-column:1/-1;min-height:126px}
  .duel-steps-v31{grid-template-columns:1fr}
  .duel-steps-v31 span{padding:8px 10px}
}
@media(max-width:430px){
  .page{padding-left:0!important;padding-right:0!important}
  .daily-feature-v31{grid-template-columns:minmax(0,1fr) 92px;min-height:218px;padding:18px;border-radius:var(--wb-radius-one)!important}
  .daily-feature-copy-v31 h2{max-width:260px;font-size:29px}
  .daily-feature-copy-v31 p{max-width:245px}
  .daily-feature-art-v31 .hero-art{width:130px!important;transform:translateX(12px)}
  .quick-grid-v31,.skill-grid-v31{gap:10px}
  .play-mode-v31{min-height:148px;padding:15px}
  .instant-duel-v31{padding:18px;border-radius:var(--wb-radius-one)!important}
  .instant-duel-v31>h2{font-size:25px}
  .challenge-card-v31{grid-template-columns:1fr!important;align-items:stretch!important}
  .challenge-card-v31 .challenge-actions{width:100%;max-width:none;justify-content:stretch}
  .challenge-card-v31 .challenge-actions button{flex:1}
  .home-active-duel-v31{align-items:stretch;flex-direction:column}
  .home-active-duel-v31 .home-duel-cta{width:100%;max-width:none}
}
@media(max-width:350px){
  :root{--content-gutter:10px}
  .quick-grid-v31,.skill-grid-v31{grid-template-columns:1fr}
  .skill-grid-v31>.play-mode-v31:last-child{grid-column:auto}
  .play-mode-v31{min-height:116px}
  .daily-feature-v31{grid-template-columns:1fr;padding:17px}
  .daily-feature-art-v31{display:none}
  .referral-buttons{padding-right:0;grid-template-columns:1fr}
  .referral-orbit{display:none}
  .referral-link-v31{padding-right:0}
  .duel-stage-v31{grid-template-columns:1fr}
}


/* Words Buster 5.0 */
.avatar-v5 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:1!important;visibility:visible!important}
.profile-avatar-control-v5{margin-top:14px;min-height:40px;padding:0 16px;border:0;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.08);color:var(--text);font:inherit;font-weight:750}
.avatar-sheet-v5{max-height:min(92dvh,860px)}
.avatar-grid-v5{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:6px 0 24px}
.avatar-card-v5{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;background:var(--card);border-radius:var(--wb-radius-one)!important;padding:12px;min-height:92px}
.avatar-card-v5>img{width:64px;height:64px;border-radius:var(--wb-radius-one)!important;object-fit:cover;grid-row:1/3}
.avatar-card-v5>div{align-self:end}.avatar-card-v5 strong,.avatar-card-v5 small{display:block}.avatar-card-v5 small{color:var(--muted);font-size:12px;line-height:1.35;margin-top:4px}
.avatar-state{grid-column:2;min-height:32px;border:0;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:#10140d;font:inherit;font-weight:800;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:5px}
.avatar-state.locked,.avatar-state.selected{background:rgba(255,255,255,.07);color:var(--muted);font-size:12px}.avatar-card-v5.selected{background:linear-gradient(135deg,rgba(154,255,61,.16),var(--card))}
.hint-word-v5{display:flex;align-items:center;gap:12px;margin:14px 0;padding:14px 16px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(154,255,61,.15),rgba(112,78,255,.13))}.hint-word-v5 svg{width:24px;color:var(--accent)}.hint-word-v5 small,.hint-word-v5 strong{display:block}.hint-word-v5 small{color:var(--muted);margin-bottom:3px}.hint-word-v5 strong{font-size:23px;letter-spacing:.08em}
.word-builder-v5 .game-summary:not(:has(.round-timer)){grid-template-columns:1fr}
@media(max-width:430px){.avatar-grid-v5{grid-template-columns:1fr}.avatar-card-v5{grid-template-columns:58px minmax(0,1fr)}.avatar-card-v5>img{width:58px;height:58px}}

/* Words Buster 6.0 — unified responsive interface */
.page,.nav-inner{max-width:780px}
.screen-root{padding-left:max(14px,calc(14px + var(--tg-content-safe-left)));padding-right:max(14px,calc(14px + var(--tg-content-safe-right)))}
.avatar-v6{position:relative;overflow:hidden;background:var(--surface-2);isolation:isolate}
.avatar-v6 img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;opacity:1!important;visibility:visible!important;transform:translateZ(0);backface-visibility:hidden}
.profile-mini-v6{gap:11px}.profile-mini-v6 .profile-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.profile-mini-v6 .profile-copy strong{margin:0;max-width:min(48vw,310px);font-size:14px}.profile-mini-v6 .profile-copy small{max-width:min(46vw,300px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:none;letter-spacing:.015em;font-size:10px;line-height:1.2}
.player-title,.profile-title-v6{font-weight:790}.title-lime{color:#a8ff52}.title-violet{color:#9c86ff}.title-purple{color:#d188ff}.title-blue{color:#65bfff}.title-cyan{color:#54dcea}.title-mint{color:#50e0a4}.title-amber{color:#ffc255}.title-gold{color:#ffd76d}.title-red{color:#ff7f91}.title-royal{color:#f5cb64;text-shadow:0 0 18px rgba(245,203,100,.22)}

.home-page-v6,.play-page-v6,.profile-page-v6,.tournament-page-v6{display:flex;flex-direction:column;gap:18px;padding-bottom:8px}
.daily-hero-v6{position:relative;min-height:374px;padding:30px 28px;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:linear-gradient(140deg,#7552ff 0%,#633fea 54%,#4930bd 100%);box-shadow:0 24px 65px rgba(89,55,218,.2);display:grid;grid-template-columns:minmax(0,1fr) 205px;align-items:stretch}
.daily-hero-v6:before,.daily-hero-v6:after{content:"";position:absolute;border-radius:var(--wb-radius-one)!important;pointer-events:none}.daily-hero-v6:before{width:360px;height:360px;right:-170px;top:-190px;background:rgba(255,255,255,.08)}.daily-hero-v6:after{width:290px;height:290px;right:-80px;bottom:-210px;background:rgba(173,255,69,.13)}
.daily-hero-copy{position:relative;z-index:2;display:flex;min-width:0;flex-direction:column;align-items:flex-start}.daily-hero-copy .eyebrow{color:rgba(255,255,255,.66);font-size:10px}.daily-hero-copy h1{max-width:510px;margin:24px 0 14px;font-size:clamp(39px,7vw,58px);line-height:.92;letter-spacing:-.07em}.daily-hero-copy p{max-width:440px;margin:0;color:rgba(255,255,255,.68);font-size:15px;line-height:1.55}.daily-hero-actions{display:flex;gap:10px;margin-top:auto;padding-top:26px}.daily-hero-actions .primary-button{min-width:168px}.daily-hero-art{position:relative;z-index:2;align-self:end;justify-self:end;width:200px;height:230px;display:grid;place-items:end center}.daily-hero-art svg,.daily-hero-art img{max-width:100%;max-height:100%}
.balance-card-v6{padding:22px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--surface) 82%,var(--violet)));box-shadow:var(--shadow-soft)}
.balance-grid-v6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.balance-grid-v6>button,.balance-grid-v6>div{min-width:0;min-height:96px;padding:15px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.035);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left}.balance-grid-v6 svg{width:22px;color:var(--amber)}.balance-grid-v6 small{margin:9px 0 4px;color:var(--muted);font-size:10px}.balance-grid-v6 strong{font-size:26px;line-height:1}
.plus-banner-v6,.home-challenge-slot-v6{width:100%;min-height:94px;padding:17px 20px;border-radius:var(--wb-radius-one)!important;display:grid;align-items:center;text-align:left}
.plus-banner-v6{grid-template-columns:58px minmax(0,1fr) auto;gap:15px;background:linear-gradient(115deg,rgba(112,78,255,.38),rgba(71,87,56,.5))}.plus-banner-v6>span{width:58px;height:58px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.08);display:grid;place-items:center}.plus-banner-v6 svg{width:27px}.plus-banner-v6 strong,.plus-banner-v6 small{display:block}.plus-banner-v6 strong{font-size:17px}.plus-banner-v6 small{margin-top:5px;color:var(--text-soft);font-size:11px;line-height:1.4}.plus-banner-v6 b{color:var(--accent);font-size:11px;display:flex;align-items:center;gap:7px}.plus-banner-v6 b svg{width:16px}
.home-challenge-slot-v6{grid-template-columns:52px minmax(0,1fr) auto;gap:14px;background:linear-gradient(115deg,rgba(255,109,135,.18),rgba(121,88,255,.22));margin-top:-4px}.home-challenge-slot-v6 .avatar-v6{width:52px;height:52px;border-radius:var(--wb-radius-one)!important}.home-challenge-slot-v6 strong,.home-challenge-slot-v6 small{display:block}.home-challenge-slot-v6 small{margin-top:5px;color:var(--muted)}
.mission-live-label{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:10px;font-weight:820}.mission-live-label:before{content:"";width:7px;height:7px;border-radius:var(--wb-radius-one)!important;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 18%,transparent)}.mission-list-v6{display:grid;gap:10px}.mission-list-v6 .mission-card{margin:0}

.play-group-v6{display:flex;flex-direction:column;gap:14px}.play-group-head,.recent-heading-v6,.play-group-head>div{display:flex;align-items:center}.play-group-head{justify-content:space-between;gap:12px}.play-group-head>div{gap:10px}.play-group-head span{width:31px;height:31px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent);font-size:10px;font-weight:900}.play-group-head h2,.recent-heading-v6 h2{margin:0;font-size:24px;letter-spacing:-.045em}.play-group-head small,.recent-heading-v6 small{color:var(--muted);font-size:10px}
.play-mode-grid-v6{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.play-mode-grid-v6 .mode-card{min-height:205px;padding:20px}.play-mode-grid-v6 .mode-card h3{font-size:20px}.play-mode-grid-v6 .mode-card p{font-size:12px;line-height:1.45}
.recent-heading-v6{justify-content:space-between;margin-top:8px}.recent-list-v6{display:grid;gap:10px}.recent-game-card-v6{width:100%;min-height:88px;padding:15px 17px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;text-align:left}.recent-game-card-v6>span:first-child{width:48px;height:48px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent)}.recent-game-card-v6 svg{width:23px}.recent-game-card-v6 strong,.recent-game-card-v6 small{display:block}.recent-game-card-v6 small{margin-top:4px;color:var(--muted);font-size:10px}.recent-game-card-v6>b{font-size:21px}.recent-lock-v6{padding:16px 18px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(120deg,rgba(121,88,255,.18),var(--surface));color:var(--text-soft);font-size:12px;line-height:1.5}
.history-sheet-v6{max-height:min(92dvh,880px)}.history-word-section{margin-top:18px}.history-word-section h3{margin:0 0 10px;font-size:17px}.history-word-chips{display:flex;flex-wrap:wrap;gap:8px}.history-word-chips span{padding:9px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:11px;font-weight:800}.history-word-chips.missed span{color:var(--muted);background:rgba(255,255,255,.035)}

.tournament-cadence-v6{display:flex;flex-direction:column;gap:12px}.cadence-heading-v6{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.cadence-heading-v6 h2{margin:0;font-size:25px}.cadence-heading-v6 small{color:var(--muted);font-size:10px}.tournament-cards-v6{display:grid;gap:11px}.tournament-card-v6{padding:20px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;gap:14px}.tournament-card-v6 header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tournament-card-v6 h3{margin:0 0 6px;font-size:20px}.tournament-card-v6 p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.tournament-card-v6 .badge{white-space:nowrap}.tournament-meta-v6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tournament-meta-v6 span{padding:10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--text-soft);font-size:10px}.tournament-empty-v6{padding:22px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);text-align:center}

.profile-hero-v6{padding:22px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(121,88,255,.2),var(--surface));display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:center}.profile-avatar-column-v6{display:flex;flex-direction:column;align-items:center;gap:9px}.profile-avatar-v6{width:106px;height:106px;border-radius:var(--wb-radius-one)!important}.profile-avatar-action-v6,.profile-title-action-v6{min-height:34px;padding:0 12px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.07);font-size:10px;font-weight:800}.profile-main-v6{min-width:0}.profile-main-v6 h1{margin:0;font-size:34px;line-height:1;letter-spacing:-.055em}.profile-main-v6>small{display:block;margin-top:7px;color:var(--muted);font-size:11px}.profile-title-v6{display:inline-flex;margin-top:12px;padding:7px 10px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.055);font-size:11px}.profile-xp-v6{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:16px}.profile-xp-v6 i{height:6px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);overflow:hidden}.profile-xp-v6 i:after{content:"";display:block;height:100%;width:var(--xp,0%);background:linear-gradient(90deg,var(--accent),var(--violet));border-radius:var(--wb-radius-one)!important}.profile-xp-v6 span{color:var(--muted);font-size:10px}.profile-stats-v6{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-stats-v6>div{min-height:86px;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.profile-stats-v6 strong{font-size:21px}.profile-stats-v6 small{margin-top:5px;color:var(--muted);font-size:9px;line-height:1.3}

.avatar-sheet-v6,.title-sheet-v6{max-height:min(94dvh,900px)}.avatar-category-v6{margin-top:20px}.avatar-category-v6>header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:11px}.avatar-category-v6 h3{margin:0;font-size:19px}.avatar-category-v6 small{color:var(--muted)}.avatar-grid-v6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.avatar-tile-v6{min-width:0;padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;gap:10px}.avatar-image-button-v6{position:relative;width:100%;aspect-ratio:1;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:var(--surface-2)}.avatar-image-button-v6 img{width:100%;height:100%;display:block;object-fit:cover}.avatar-image-button-v6:after{content:"i";position:absolute;right:7px;bottom:7px;width:22px;height:22px;border-radius:var(--wb-radius-one)!important;background:rgba(8,9,13,.72);display:grid;place-items:center;color:#fff;font:800 11px/1 sans-serif}.avatar-status-v6{min-height:36px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);font-size:11px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:5px}.avatar-status-v6.locked,.avatar-status-v6.selected{background:var(--surface-2);color:var(--muted)}.avatar-info-v6{display:grid;grid-template-columns:92px minmax(0,1fr);gap:16px;align-items:center;padding:4px 0 18px}.avatar-info-v6 img{width:92px;height:92px;border-radius:var(--wb-radius-one)!important;object-fit:cover}.avatar-info-v6 h2{margin:0 0 7px}.avatar-info-v6 p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.avatar-info-state-v6{margin-top:13px;color:var(--accent);font-size:11px;font-weight:800}
.title-list-v6{display:grid;gap:10px}.title-card-v6{padding:15px 16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left}.title-card-v6 strong,.title-card-v6 small{display:block}.title-card-v6 small{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}.title-card-v6>span{min-width:82px;padding:8px 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);text-align:center;font-size:10px;font-weight:800}.title-card-v6.selected{background:linear-gradient(120deg,rgba(173,255,69,.13),var(--surface))}

.daily-game-v6{width:100%;max-width:680px;margin:0 auto;display:flex;flex-direction:column;gap:13px;padding-bottom:12px}.daily-game-v6 .game-top{min-height:58px}.daily-summary-v6{padding:15px 17px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.daily-summary-v6 strong,.daily-summary-v6 small{display:block}.daily-summary-v6 small{margin-top:5px;color:var(--muted);font-size:10px}.word-board-v6{display:grid;grid-template-columns:repeat(var(--word-length,5),minmax(0,1fr));gap:clamp(5px,1.5vw,10px);width:100%;max-width:560px;margin:0 auto}.word-board-v6 .daily-cell{aspect-ratio:1;min-width:0;height:auto;border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:clamp(19px,5.4vw,34px)}.keyboard-v6{width:100%;max-width:680px;margin:0 auto;display:grid;gap:6px}.keyboard-v6 .keyboard-row{display:flex;justify-content:center;gap:clamp(3px,1vw,6px)}.keyboard-v6 .key{min-width:0;flex:1 1 0;height:clamp(42px,10.5vw,54px);padding:0 2px;border-radius:var(--wb-radius-one)!important;font-size:clamp(12px,3.5vw,18px)}
.untimed-label-v6{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:11px;font-weight:800}.untimed-label-v6:before{content:"∞";font-size:16px}.hint-penalty-note-v6{margin:2px 0 0;padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:rgba(255,189,74,.08);color:var(--muted);font-size:10px;line-height:1.45}.found-words-v6{display:flex;flex-wrap:wrap;gap:8px}.found-word-chip-v6{padding:10px 13px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,var(--surface-2),color-mix(in srgb,var(--surface-2) 85%,var(--violet)));font-size:11px;font-weight:850;letter-spacing:.02em}.found-word-chip-v6.long{color:var(--accent)}

.product-card-v6,.plan-card-v6{position:relative;margin:0 0 11px;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);overflow:hidden}.product-card-v6 header,.plan-card-v6 header{display:flex;justify-content:space-between;gap:14px}.product-card-v6 h3,.plan-card-v6 h3{margin:0;font-size:19px}.product-card-v6 p,.plan-card-v6 p{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.product-card-v6 .primary-button,.plan-card-v6 .primary-button{width:100%;margin-top:15px}.product-card-v6 .offer-time,.plan-card-v6 .offer-time{color:var(--accent);font-size:10px;font-weight:800}.shop-section+.shop-section{margin-top:24px}
.project-confirm-v6{max-width:560px}.project-confirm-v6 .sheet-head p{font-size:13px;line-height:1.55}.project-confirm-actions-v6{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:10px}.project-confirm-actions-v6 button{min-height:50px;border-radius:var(--wb-radius-one)!important}.share-result-button-v6{width:100%;min-height:54px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(120deg,var(--violet),#5a3ed8);display:flex;align-items:center;justify-content:center;gap:9px;font-weight:850}.share-result-button-v6 svg{width:20px}

@media(max-width:640px){
  .daily-hero-v6{min-height:350px;grid-template-columns:minmax(0,1fr) 135px;padding:25px 22px}.daily-hero-copy h1{font-size:clamp(37px,10vw,48px)}.daily-hero-copy p{font-size:13px}.daily-hero-art{width:135px;height:200px}.daily-hero-actions .primary-button{min-width:145px}
  .play-mode-grid-v6{gap:10px}.play-mode-grid-v6 .mode-card{min-height:184px;padding:17px}
  .profile-stats-v6{grid-template-columns:repeat(2,minmax(0,1fr))}.avatar-grid-v6{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-meta-v6{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .screen-root{padding-left:12px;padding-right:12px}.topbar{padding-left:max(12px,calc(12px + var(--tg-content-safe-left)));padding-right:max(12px,calc(12px + var(--tg-content-safe-right)))}
  .daily-hero-v6{min-height:338px;padding:22px 19px;grid-template-columns:minmax(0,1fr) 102px;border-radius:var(--wb-radius-one)!important}.daily-hero-copy h1{margin-top:19px;font-size:36px}.daily-hero-copy p{font-size:12px}.daily-hero-art{width:105px;height:177px}.daily-hero-actions{padding-top:18px}.daily-hero-actions .primary-button{min-width:135px}.daily-hero-actions .icon-button{width:50px}
  .balance-card-v6{padding:14px}.balance-grid-v6{gap:7px}.balance-grid-v6>button,.balance-grid-v6>div{min-height:82px;padding:11px}.balance-grid-v6 strong{font-size:21px}.plus-banner-v6{grid-template-columns:48px minmax(0,1fr);padding:14px;min-height:84px}.plus-banner-v6>span{width:48px;height:48px}.plus-banner-v6>b{display:none}
  .play-mode-grid-v6 .mode-card{min-height:173px;padding:15px}.play-mode-grid-v6 .mode-card h3{font-size:18px}.play-mode-grid-v6 .mode-card p{font-size:11px}.play-group-head h2,.recent-heading-v6 h2{font-size:21px}
  .profile-hero-v6{grid-template-columns:86px minmax(0,1fr);gap:14px;padding:17px}.profile-avatar-v6{width:82px;height:82px;border-radius:var(--wb-radius-one)!important}.profile-main-v6 h1{font-size:28px}.profile-avatar-action-v6{max-width:82px;white-space:normal;line-height:1.15;padding:7px 8px;height:auto}.avatar-grid-v6{gap:9px}.avatar-tile-v6{padding:8px}.avatar-status-v6{font-size:10px}
  .word-board-v6{gap:5px}.word-board-v6 .daily-cell{border-radius:var(--wb-radius-one)!important}.daily-game-v6{gap:10px}.daily-summary-v6{padding:12px 14px}.keyboard-v6{gap:4px}.keyboard-v6 .keyboard-row{gap:3px}.keyboard-v6 .key{height:42px;border-radius:var(--wb-radius-one)!important;font-size:12px}
  .project-confirm-actions-v6{grid-template-columns:1fr}.profile-mini-v6 .profile-copy strong{max-width:45vw;font-size:13px}.profile-mini-v6 .profile-copy small{max-width:43vw}
}
@media(max-width:350px){.daily-hero-art{display:none}.daily-hero-v6{grid-template-columns:1fr}.daily-hero-copy h1{font-size:34px}.play-mode-grid-v6{grid-template-columns:1fr}.avatar-grid-v6{grid-template-columns:1fr}.profile-hero-v6{grid-template-columns:1fr;text-align:center}.profile-avatar-column-v6{margin:auto}.profile-xp-v6{text-align:left}}
/* 6.0 alignment corrections */
.title-sun{color:#ffe366}
.daily-hero-actions{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:26px}.hero-share-v6{width:54px;height:54px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.12);display:grid;place-items:center}.hero-share-v6 svg{width:23px}
.balance-card-v6>header{margin-bottom:13px;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.mission-live-label{justify-content:space-between}.mission-live-label small{display:flex;align-items:center;gap:7px;color:var(--muted);font-weight:700}.mission-live-label small i{width:7px;height:7px;border-radius:var(--wb-radius-one)!important;background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 16%,transparent)}.mission-live-label:before{display:none}
.profile-stats-v6>article{min-height:86px;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.profile-stats-v6 strong{font-size:21px}.profile-stats-v6 span{margin-top:5px;color:var(--muted);font-size:9px;line-height:1.3}.profile-xp-v6 i{position:relative;display:block}.profile-xp-v6 i:after{display:none}.profile-xp-v6 i>b{display:block;height:100%;max-width:100%;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent),var(--violet))}.profile-avatar-action-v6{min-height:36px;padding:0 12px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.07);font-size:10px;font-weight:800}
.word-board-v6{display:grid!important;grid-template-columns:1fr!important;gap:clamp(5px,1.5vw,10px)!important;width:100%;max-width:560px;margin:0 auto}.word-board-v6 .word-row{grid-template-columns:repeat(var(--daily-word-length,5),minmax(0,1fr))!important}.word-board-v6 .word-cell{aspect-ratio:1;min-width:0;height:auto;border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:clamp(19px,5.4vw,34px)}.daily-summary-v6>div strong,.daily-summary-v6>div span{display:block}.daily-summary-v6>div span{margin-top:5px;color:var(--muted);font-size:10px}.daily-summary-v6>span{min-width:78px;min-height:54px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;align-items:center;justify-content:center;gap:8px}.daily-summary-v6>span svg{width:20px;color:var(--amber)}
.tournament-card-v6 header>span{color:var(--accent);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.tournament-card-v6 header>b{font-size:11px;color:var(--muted)}.tournament-meta-v6 span{display:flex;flex-direction:column;gap:4px}.tournament-meta-v6 span b{color:var(--text);font-size:16px}.cadence-heading-v6>div{display:flex;align-items:center;gap:10px}.cadence-heading-v6>div>span{width:38px;height:38px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent);font-size:10px;font-weight:900}.cadence-heading-v6>p{max-width:310px;margin:0;color:var(--muted);font-size:10px;line-height:1.4;text-align:right}
.avatar-tile-v6>div>strong{display:block;min-height:30px;font-size:11px;line-height:1.25;margin-bottom:8px}.avatar-info-v6>div>span{color:var(--muted);font-size:10px}.avatar-info-v6>div>strong{display:block;margin:5px 0;font-size:20px}
.title-card-v6>div>span{font-weight:850}.title-card-v6>div>p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.title-card-v6>button,.title-card-v6>b,.title-card-v6>small{min-width:86px;padding:9px 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:10px;text-align:center}.title-card-v6>button{background:var(--accent);color:var(--accent-ink);font-weight:850}
.found-word-chip-v6{display:inline-flex;align-items:center;gap:7px}.found-word-chip-v6 small{color:var(--accent);font-size:9px}
@media(max-width:430px){.daily-hero-actions{padding-top:18px}.profile-avatar-action-v6{max-width:82px;height:auto;min-height:34px;padding:7px 8px;line-height:1.15}.cadence-heading-v6{align-items:flex-start}.cadence-heading-v6>p{max-width:160px}}

/* Release 6.0.1: keep Daily Word fully usable on short Telegram WebViews. */
.daily-game-v6 .word-board-v6{--daily-board-gap:clamp(4px,1.25vw,8px);gap:var(--daily-board-gap)!important}
@media (max-height:900px){
  .daily-game-v6 .word-board-v6{max-width:min(100%,calc(var(--daily-word-length,5) * 54px + (var(--daily-word-length,5) - 1) * var(--daily-board-gap)))}
  .daily-game-v6 .word-cell{border-radius:var(--wb-radius-one)!important;font-size:clamp(18px,4.8vw,27px)}
  .daily-game-v6 .daily-hint-progress-v30{margin-bottom:10px!important;padding:11px 13px!important}
  .daily-game-v6 .keyboard-v6{margin-top:12px}
  .daily-game-v6 .key{height:45px}
}
@media (max-height:760px){
  .daily-game-v6 .word-board-v6{max-width:min(100%,calc(var(--daily-word-length,5) * 44px + (var(--daily-word-length,5) - 1) * 4px));gap:4px!important}
  .daily-game-v6 .word-cell{border-radius:var(--wb-radius-one)!important;font-size:20px}
  .daily-game-v6 .daily-summary-v6{padding:11px 13px;margin-bottom:9px}
  .daily-game-v6 .daily-hint-progress-v30{display:none}
  .daily-game-v6 .keyboard-v6{margin-top:9px;gap:4px}
  .daily-game-v6 .key{height:39px;border-radius:var(--wb-radius-one)!important;font-size:11px}
  .daily-game-v6 .hint-penalty-note-v6{margin-top:9px}
}

/* Words Buster 7.0 — recovery UI
   This layer intentionally overrides earlier experimental releases. */
.page,.nav-inner{max-width:780px}
.home-page-v7,.play-page-v7,.profile-page-v7,.tournament-page-v7{display:flex;flex-direction:column;gap:18px;padding-bottom:10px}
.home-page-v7>*,.play-page-v7>*,.profile-page-v7>*,.tournament-page-v7>*{min-width:0}

/* Stable avatars. A CSS initial is always visible; PNG is layered only when uploaded. */
.avatar-v7{position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;background:linear-gradient(145deg,hsl(var(--avatar-hue,220) 72% 55%),hsl(calc(var(--avatar-hue,220) + 54) 70% 43%));color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.avatar-v7:after{content:"";position:absolute;width:70%;height:70%;right:-28%;top:-32%;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.18);pointer-events:none}
.avatar-v7-letter{position:relative;z-index:1;font-size:46%;font-weight:900;line-height:1;text-transform:uppercase}
.avatar-v7 img{position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:transparent}
.top-avatar-v7{width:44px;height:44px;border-radius:var(--wb-radius-one)!important;flex:0 0 44px}
.rank-avatar.avatar-v7{width:42px;height:42px;border-radius:var(--wb-radius-one)!important}
.profile-mini-v7{max-width:min(62vw,470px);gap:12px}
.profile-mini-v7 .profile-copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.profile-mini-v7 .profile-copy strong{max-width:min(46vw,380px);margin:0;font-size:14px;line-height:1.15}
.profile-mini-v7 .profile-copy small{max-width:min(43vw,350px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:none;letter-spacing:.01em;font-size:10px;line-height:1.2}

/* Shared section heading */
.v7-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 2px 0}
.v7-heading h2{margin:0;font-size:27px;line-height:1.06;letter-spacing:-.045em}
.v7-heading>button,.v7-heading>span{padding:0;background:transparent;color:var(--accent);font-size:11px;font-weight:850}

/* Home */
.daily-hero-v7{position:relative;min-height:356px;padding:30px;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:linear-gradient(135deg,#7655ff 0%,#6743ef 52%,#4d34c1 100%);box-shadow:0 24px 66px rgba(75,49,197,.22);display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,205px);gap:14px;color:#fff}
.daily-hero-v7:before,.daily-hero-v7:after{content:"";position:absolute;border-radius:var(--wb-radius-one)!important;pointer-events:none}
.daily-hero-v7:before{width:380px;height:380px;right:-185px;top:-210px;background:rgba(255,255,255,.08)}
.daily-hero-v7:after{width:290px;height:290px;right:-95px;bottom:-185px;background:rgba(173,255,69,.13)}
.daily-copy-v7{position:relative;z-index:2;display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.daily-copy-v7>span{font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.67)}
.daily-copy-v7 h1{max-width:510px;margin:25px 0 15px;font-size:clamp(39px,7vw,58px);line-height:.92;letter-spacing:-.068em}
.daily-copy-v7 p{max-width:440px;margin:0;color:rgba(255,255,255,.72);font-size:15px;line-height:1.55}
.daily-copy-v7>div{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:26px}
.daily-copy-v7 .primary-button{min-width:172px}
.daily-share-v7{width:50px;height:50px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff}
.daily-share-v7 svg{width:21px}
.daily-art-v7{position:relative;z-index:1;align-self:end;justify-self:end;width:100%;height:240px;display:grid;place-items:end center;pointer-events:none}
.daily-art-v7 svg,.daily-art-v7 img{max-width:100%;max-height:100%}
.balance-card-v7{padding:22px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,var(--surface) 0%,color-mix(in srgb,var(--surface) 82%,var(--violet)) 100%);box-shadow:var(--shadow-soft)}
.balance-title-v7{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.balance-title-v7>span{color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.balance-title-v7>button{display:flex;align-items:center;gap:5px;padding:0;background:transparent;color:var(--accent);font-size:10px;font-weight:850}
.balance-title-v7>button svg{width:14px}
.balance-grid-v7{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.balance-grid-v7>button{min-width:0;min-height:106px;padding:17px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.035);display:flex;align-items:center;gap:13px;text-align:left}
.balance-grid-v7>button>span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:rgba(255,189,74,.1);display:grid;place-items:center;color:var(--amber);flex:0 0 42px}
.balance-grid-v7>button svg{width:23px}
.balance-grid-v7 strong,.balance-grid-v7 small{display:block}
.balance-grid-v7 strong{font-size:27px;line-height:1;letter-spacing:-.04em}
.balance-grid-v7 small{margin-top:7px;color:var(--muted);font-size:10px}
.plus-card-v7{width:100%;min-height:104px;padding:18px 20px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,rgba(111,77,255,.45),rgba(66,87,54,.54));display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:15px;text-align:left}
.plus-card-v7>span{width:62px;height:62px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.09);display:grid;place-items:center;color:#fff}
.plus-card-v7>span svg{width:29px}
.plus-card-v7 strong,.plus-card-v7 small{display:block}
.plus-card-v7 strong{font-size:19px;letter-spacing:-.025em}
.plus-card-v7 small{margin-top:6px;color:var(--text-soft);font-size:11px;line-height:1.45}
.plus-card-v7>b{display:flex;align-items:center;gap:7px;color:var(--accent);font-size:11px;white-space:nowrap}
.plus-card-v7>b svg{width:16px}
.active-challenge-v7{margin-top:-6px}
.active-challenge-v7>*{margin:0!important}
.reward-card-v7{min-height:106px;padding:18px 20px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(120deg,rgba(108,147,58,.28),rgba(97,78,176,.23));display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:15px}
.reward-card-v7>span{width:62px;height:62px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center}
.reward-card-v7>span svg{width:29px}
.reward-card-v7 strong,.reward-card-v7 small{display:block}
.reward-card-v7 strong{font-size:18px}
.reward-card-v7 small{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.4}
.reward-card-v7>button{min-height:42px;padding:0 18px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);font-size:11px;font-weight:880}
.reward-card-v7>button:disabled{background:color-mix(in srgb,var(--accent) 42%,var(--surface-2));color:var(--text-soft)}
.home-modes-v7{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.home-mode-v7{position:relative;min-height:180px;padding:19px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;align-items:flex-start;text-align:left;overflow:hidden}
.home-mode-v7:after{content:"";position:absolute;width:120px;height:120px;right:-65px;bottom:-70px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--violet) 12%,transparent)}
.home-mode-v7>.play-mode-icon-v31{margin-bottom:25px}
.home-mode-tag-v7,.play-mode-tag-v7{position:absolute;top:17px;right:17px;min-height:26px;padding:0 9px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);display:flex;align-items:center;font-size:9px;font-weight:850;letter-spacing:.04em}
.home-mode-v7>strong{font-size:21px;letter-spacing:-.035em}
.home-mode-v7>small{max-width:90%;margin-top:8px;color:var(--muted);font-size:11px;line-height:1.45}
.home-mode-v7>svg{position:absolute;right:18px;bottom:18px;width:18px;color:var(--muted)}

/* Play — visually distinct groups instead of a repetitive tile wall */
.play-head-v7{padding-bottom:4px}
.play-head-v7 h1{font-size:clamp(36px,7vw,54px)}
.daily-feature-v7{position:relative;min-height:255px;padding:27px;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:linear-gradient(135deg,#724eff,#5739d2);display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:10px;text-align:left;color:#fff}
.daily-feature-v7:before{content:"";position:absolute;width:310px;height:310px;border-radius:var(--wb-radius-one)!important;right:-155px;top:-175px;background:rgba(255,255,255,.08)}
.daily-feature-v7>div{position:relative;z-index:1;min-width:0}
.daily-feature-v7>div:first-child{display:flex;flex-direction:column;align-items:flex-start}
.daily-feature-v7 span{color:rgba(255,255,255,.65);font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.daily-feature-v7 h2{margin:18px 0 10px;font-size:34px;line-height:.97;letter-spacing:-.055em}
.daily-feature-v7 p{max-width:410px;margin:0;color:rgba(255,255,255,.72);font-size:12px;line-height:1.55}
.daily-feature-v7 b{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:22px;color:var(--accent);font-size:12px}
.daily-feature-v7 b svg{width:16px}
.daily-feature-v7>div:last-child{align-self:end;height:190px;display:grid;place-items:end center}
.daily-feature-v7>div:last-child svg,.daily-feature-v7>div:last-child img{max-width:100%;max-height:100%}
.play-section-v7{display:flex;flex-direction:column;gap:13px;padding-top:5px}
.play-section-head-v7{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.play-section-head-v7>div{display:flex;align-items:center;gap:11px}
.play-section-head-v7>div>span{width:33px;height:33px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent);font-size:9px;font-weight:900}
.play-section-head-v7 h2{margin:0;font-size:27px;letter-spacing:-.045em}
.play-section-head-v7>small{max-width:250px;color:var(--muted);font-size:10px;text-align:right}
.play-grid-v7{display:grid;gap:13px}
.play-grid-v7.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.play-grid-v7.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.play-tile-v7{position:relative;min-height:194px;padding:20px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;align-items:flex-start;text-align:left;overflow:hidden}
.play-tile-v7>.play-mode-icon-v31{margin-bottom:28px}
.play-tile-v7>strong{font-size:20px;letter-spacing:-.035em}
.play-tile-v7>small{margin-top:8px;color:var(--muted);font-size:11px;line-height:1.45}
.play-tile-v7>i{position:absolute;right:17px;bottom:17px;color:var(--muted);font-style:normal}
.play-tile-v7>i svg{width:18px}
.duel-feature-v7{position:relative;min-height:230px;padding:25px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(125deg,rgba(143,48,83,.42),rgba(75,47,128,.48));display:grid;grid-template-columns:68px minmax(0,1fr);gap:19px;text-align:left;overflow:hidden}
.duel-feature-v7:after{content:"VS";position:absolute;right:25px;bottom:10px;color:rgba(255,255,255,.045);font-size:96px;font-weight:950;line-height:1}
.duel-feature-v7>span{width:68px;height:68px;border-radius:var(--wb-radius-one)!important;z-index:1}
.duel-feature-v7>div{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.duel-feature-v7 small{color:var(--rose);font-size:9px;font-weight:850;letter-spacing:.11em}
.duel-feature-v7 h2{margin:15px 0 9px;font-size:31px;letter-spacing:-.05em}
.duel-feature-v7 p{max-width:500px;margin:0;color:var(--text-soft);font-size:12px;line-height:1.5}
.duel-feature-v7 b{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:18px;color:var(--accent);font-size:12px}
.duel-feature-v7 b svg{width:16px}
.arena-feature-v7{min-height:114px;padding:18px 20px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,rgba(255,189,74,.14),var(--surface));display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px;text-align:left}
.arena-feature-v7>span{width:58px;height:58px;border-radius:var(--wb-radius-one)!important}
.arena-feature-v7 small{color:var(--amber);font-size:9px;font-weight:850;letter-spacing:.1em}
.arena-feature-v7 h3{margin:6px 0 3px;font-size:20px}
.arena-feature-v7 p{margin:0;color:var(--muted);font-size:10px;line-height:1.4}
.arena-feature-v7>svg{width:19px;color:var(--muted)}

/* Profile */
.profile-hero-v7{padding:24px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(125deg,rgba(104,76,216,.3),rgba(31,35,43,.96));display:grid;grid-template-columns:148px minmax(0,1fr);gap:24px;align-items:center;box-shadow:var(--shadow-soft)}
.profile-avatar-wrap-v7{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.profile-avatar-v7{width:148px;height:148px;border-radius:var(--wb-radius-one)!important;font-size:78px}
.profile-avatar-wrap-v7>button{min-height:38px;padding:0 10px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.07);color:var(--text-soft);font-size:10px;font-weight:780}
.profile-copy-v7{min-width:0}
.profile-copy-v7>span{color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.profile-copy-v7>h1{margin:8px 0 4px;font-size:34px;line-height:1.02;letter-spacing:-.055em;overflow-wrap:anywhere}
.profile-copy-v7>p{margin:0;color:var(--muted);font-size:11px}
.profile-title-v7{width:100%;margin-top:16px;padding:13px 14px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.045);display:grid;grid-template-columns:minmax(0,1fr) auto;text-align:left}
.profile-title-v7 small,.profile-title-v7 strong{display:block;grid-column:1}
.profile-title-v7 small{color:var(--muted);font-size:9px}
.profile-title-v7 strong{margin-top:4px;font-size:15px}
.profile-title-v7>svg{grid-column:2;grid-row:1/3;align-self:center;width:16px;color:var(--muted)}
.profile-xp-v7{margin-top:16px}
.profile-xp-v7>div{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:9px}
.profile-xp-v7>div b{color:var(--text-soft)}
.profile-xp-v7>i{display:block;height:5px;margin-top:8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);overflow:hidden}
.profile-xp-v7>i>em{display:block;height:100%;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent),var(--violet))}
.profile-stats-v7{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.profile-stats-v7 article{min-height:100px;padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.profile-stats-v7 strong{font-size:25px;letter-spacing:-.04em}
.profile-stats-v7 span{margin-top:6px;color:var(--muted);font-size:9px}
.profile-plus-v7{min-height:100px;padding:17px 20px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,#7651f1,#5637d5);display:grid;grid-template-columns:57px minmax(0,1fr) auto;align-items:center;gap:15px;text-align:left;color:#fff}
.profile-plus-v7>span{width:57px;height:57px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.12);display:grid;place-items:center}
.profile-plus-v7>span svg{width:27px}
.profile-plus-v7 strong,.profile-plus-v7 small{display:block}
.profile-plus-v7 strong{font-size:18px}.profile-plus-v7 small{margin-top:5px;color:rgba(255,255,255,.7);font-size:10px}
.profile-plus-v7>svg{width:18px}
.achievement-list-v7,.settings-list-v7{display:grid;gap:10px}
.achievement-list-v7 article{min-height:79px;padding:14px 16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px}
.achievement-list-v7 article>span{width:48px;height:48px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}
.achievement-list-v7 article.unlocked>span{background:color-mix(in srgb,var(--accent) 12%,var(--surface-2));color:var(--accent)}
.achievement-list-v7 svg{width:23px}
.achievement-list-v7 strong,.achievement-list-v7 small{display:block}
.achievement-list-v7 small{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}
.achievement-list-v7 article>b{color:var(--accent)}
.settings-list-v7 .settings-row{margin:0!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important}

/* Tournament calendar */
.tournament-group-v7{display:flex;flex-direction:column;gap:13px}
.tournament-group-head-v7{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:14px;padding:4px 2px}
.tournament-group-head-v7>span{width:48px;height:48px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent);font-size:11px;font-weight:900}
.tournament-group-head-v7 h2{margin:0;font-size:27px;letter-spacing:-.045em}
.tournament-group-head-v7 p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.45}
.tournament-list-v7{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.tournament-card-v7{position:relative;min-height:310px;padding:22px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;overflow:hidden}
.tournament-card-v7:before{content:"";position:absolute;width:180px;height:180px;right:-105px;top:-105px;border-radius:var(--wb-radius-one)!important;background:rgba(173,255,69,.06)}
.tournament-card-v7.cadence-weekly:before{background:rgba(121,88,255,.12)}
.tournament-card-v7.cadence-monthly:before{background:rgba(255,189,74,.1)}
.tournament-top-v7{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px}
.tournament-top-v7>span{min-height:29px;padding:0 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);display:flex;align-items:center;font-size:9px;font-weight:900}
.tournament-top-v7>b{color:var(--muted);font-size:10px}
.tournament-card-v7 h3{position:relative;z-index:1;margin:22px 0 9px;font-size:25px;line-height:1.04;letter-spacing:-.045em}
.tournament-card-v7>p{position:relative;z-index:1;margin:0;color:var(--muted);font-size:11px;line-height:1.52}
.tournament-metrics-v7{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:22px 0 15px}
.tournament-metrics-v7>span{min-width:0;padding:11px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-size:8px;line-height:1.25;text-align:center}
.tournament-metrics-v7 b{display:block;margin-bottom:4px;color:var(--text);font-size:15px}
.tournament-card-v7>.primary-button{position:relative;z-index:1;width:100%;margin-top:auto}
.tournament-empty-v7{min-height:118px;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:15px}
.tournament-empty-v7>span{width:54px;height:54px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}
.tournament-empty-v7 svg{width:28px}
.tournament-empty-v7 strong,.tournament-empty-v7 small{display:block}
.tournament-empty-v7 strong{font-size:17px}.tournament-empty-v7 small{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}

/* Daily Word */
.daily-game-v7{width:100%;max-width:700px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding-bottom:18px}
.daily-summary-v7{min-height:92px;padding:16px 19px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:15px}
.daily-summary-v7 strong,.daily-summary-v7 span{display:block}
.daily-summary-v7>div>strong{font-size:18px}.daily-summary-v7>div>span{margin-top:5px;color:var(--muted);font-size:10px}
.daily-summary-v7>span{min-width:72px;height:54px;padding:0 15px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--amber)}
.daily-summary-v7>span svg{width:20px}.daily-summary-v7>span b{color:var(--text);font-size:15px}
.word-board-v7{width:min(100%,620px);margin:0 auto;display:grid!important;gap:8px!important}
.word-board-v7 .word-row{display:grid;grid-template-columns:repeat(var(--daily-word-length),minmax(0,1fr));gap:8px}
.word-board-v7 .word-cell{aspect-ratio:1/1;min-width:0;height:auto!important;border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:clamp(21px,5vw,32px)}
.keyboard-v7{width:100%;margin:0 auto;gap:5px!important}
.keyboard-v7 .key{min-width:0;height:47px;border-radius:var(--wb-radius-one)!important}
.daily-hint-v7{width:100%;min-height:82px;padding:14px 16px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,rgba(173,255,69,.12),rgba(121,88,255,.13));display:grid;grid-template-columns:47px minmax(0,1fr) auto;align-items:center;gap:13px;text-align:left}
.daily-hint-v7>span{width:47px;height:47px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent)}
.daily-hint-v7 svg{width:23px}
.daily-hint-v7 strong,.daily-hint-v7 small{display:block}
.daily-hint-v7 strong{font-size:14px}.daily-hint-v7 small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.35}
.daily-hint-v7>b{min-width:35px;padding:7px 9px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);font-size:10px;text-align:center}
.daily-actions-v7{display:flex;justify-content:center}.daily-actions-v7>.secondary-button{min-width:180px}

/* Letter-builder games */
.word-builder-v7{width:100%;max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding-bottom:22px}
.game-context-v7{min-height:80px;padding:13px 16px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,rgba(255,109,135,.18),rgba(121,88,255,.17));display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px}
.game-context-v7.arena{background:linear-gradient(115deg,rgba(255,189,74,.14),var(--surface))}
.game-context-v7>span,.context-avatar-v7{width:48px;height:48px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}
.game-context-v7>span svg{width:24px}
.game-context-v7 small,.game-context-v7 strong{display:block}.game-context-v7 small{color:var(--muted);font-size:9px}.game-context-v7 strong{margin-top:4px;font-size:14px}
.game-context-v7>b{font-size:10px;color:var(--accent)}
.game-summary-v7{min-height:96px;padding:17px 19px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,var(--surface),color-mix(in srgb,var(--surface) 87%,var(--blue)));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px}
.game-summary-v7 strong,.game-summary-v7 span{display:block}.game-summary-v7 strong{font-size:18px}.game-summary-v7 span{margin-top:6px;color:var(--muted);font-size:10px}
.untimed-v7{min-width:118px;height:52px;padding:0 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex!important;align-items:center;justify-content:center;color:var(--accent)!important;font-size:10px!important;font-weight:850}
.word-breakdown-v7{min-height:74px;padding:13px 15px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:47px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left}
.word-breakdown-v7>span{width:47px;height:47px;border-radius:var(--wb-radius-one)!important;background:rgba(97,184,255,.12);display:grid;place-items:center;color:var(--blue)}
.word-breakdown-v7>span svg{width:23px}.word-breakdown-v7>svg{width:17px;color:var(--muted)}
.word-breakdown-v7 strong,.word-breakdown-v7 small{display:block}.word-breakdown-v7 strong{font-size:14px}.word-breakdown-v7 small{margin-top:4px;color:var(--muted);font-size:9px}
.hint-word-v7{min-height:74px;padding:13px 15px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,rgba(173,255,69,.13),rgba(121,88,255,.13));display:grid;grid-template-columns:47px minmax(0,1fr);align-items:center;gap:12px}
.hint-word-v7>span{width:47px;height:47px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent)}
.hint-word-v7 svg{width:23px}.hint-word-v7 small,.hint-word-v7 strong{display:block}.hint-word-v7 small{color:var(--muted);font-size:9px}.hint-word-v7 strong{margin-top:4px;font-size:20px;letter-spacing:.06em}
.letter-deck-v7{display:flex!important;flex-wrap:wrap;justify-content:center;gap:10px!important;padding:4px 0}
.letter-deck-v7 .letter-tile{width:clamp(62px,12.5vw,84px)!important;height:clamp(62px,12.5vw,84px)!important;border-radius:var(--wb-radius-one)!important;font-size:clamp(29px,6.6vw,42px)!important}
.builder-actions-v7{display:grid!important;grid-template-columns:72px minmax(0,1fr) 72px;gap:10px!important}
.builder-actions-v7>*{min-width:0;height:58px;border-radius:var(--wb-radius-one)!important}
.builder-tools-v7{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important}
.builder-tools-v7>button{min-height:82px;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px!important;color:var(--muted)}
.builder-tools-v7>button svg{width:23px;color:var(--accent)}
.builder-tools-v7>button span{font-size:10px;font-weight:760}.builder-tools-v7>button b{color:var(--amber);font-size:9px}
.hint-penalty-v7{padding:12px 14px;border-radius:var(--wb-radius-one)!important;background:rgba(255,189,74,.07);display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:9px;line-height:1.45}
.hint-penalty-v7 svg{width:17px;color:var(--amber);margin-top:1px}
.found-words-v7{display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:8px!important;min-height:48px}
.found-chip-v7{min-height:40px;padding:0 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;align-items:center;gap:8px}
.found-chip-v7 b{font-size:10px;letter-spacing:.04em}.found-chip-v7 small{color:var(--accent);font-size:8px}
.found-empty-v7{width:100%;margin:0;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);font-size:10px;text-align:center}

/* Result */
.result-page-v7{width:100%;max-width:700px;min-height:100%;margin:0 auto;padding:clamp(32px,7vh,72px) 0 22px;display:flex;flex-direction:column;align-items:center;text-align:center}
.result-mark-v7{display:flex;flex-direction:column;align-items:center;gap:13px}
.result-mark-v7 img{width:94px;height:94px;object-fit:contain}.result-mark-v7 span{color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.18em}
.result-page-v7>h1{max-width:650px;margin:25px 0 10px;font-size:clamp(40px,8vw,64px);line-height:.94;letter-spacing:-.065em}
.result-page-v7>p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.target-word-v7{width:100%;margin-top:25px;padding:16px 20px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}
.target-word-v7 span{color:var(--muted);font-size:10px}.target-word-v7 strong{font-size:25px;letter-spacing:.06em;text-transform:uppercase}
.percentile-v7{width:100%;margin-top:16px;padding:25px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(115deg,rgba(76,106,45,.42),rgba(70,54,144,.45));font-size:clamp(22px,4.6vw,34px);font-weight:880;line-height:1.18}
.result-stats-v7{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.result-stats-v7 article{min-height:102px;padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center}
.result-stats-v7 strong{font-size:27px}.result-stats-v7 span{margin-top:7px;color:var(--muted);font-size:9px}
.result-actions-v7{width:100%;display:grid;gap:10px;margin-top:23px}
.result-actions-v7>button{width:100%;min-height:58px;border-radius:var(--wb-radius-one)!important;font-weight:860}
.share-result-v7{background:linear-gradient(115deg,#7958ff,#5d3de1);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px}
.share-result-v7 svg{width:22px}
.result-actions-v7 .primary-button{font-size:13px}.result-actions-v7 .secondary-button{font-size:12px}
.result-home-v7{background:transparent;color:var(--muted)}

/* Avatars are intentionally optional in 7.0. */
.avatar-empty-v7{min-height:190px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center}
.avatar-empty-v7>span{width:64px;height:64px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}
.avatar-empty-v7 svg{width:30px}.avatar-empty-v7 strong{max-width:260px;font-size:16px}
.avatar-grid-v7{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-bottom:20px}
.avatar-card-v7{padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;gap:9px}
.avatar-card-v7>button:first-child{padding:0;background:transparent;text-align:left}.avatar-card-v7 img{width:100%;aspect-ratio:1;border-radius:var(--wb-radius-one)!important;object-fit:cover}.avatar-card-v7 span{display:block;margin-top:8px;font-size:10px;font-weight:780}
.avatar-card-v7>b,.avatar-card-v7>button:last-child,.avatar-card-v7>small{min-height:34px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-size:9px}.avatar-card-v7>button:last-child{background:var(--accent);color:var(--accent-ink);font-weight:850}

/* Arena */
.arena-status-v7{max-height:min(91dvh,820px)}
.arena-summary-v7{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.arena-summary-v7>div{min-height:96px;padding:15px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.arena-summary-v7 strong{font-size:27px}.arena-summary-v7 span{margin-top:6px;color:var(--muted);font-size:9px}
.arena-players-v7{display:grid;gap:9px;margin-bottom:14px}
.arena-players-v7 article{min-height:67px;padding:10px 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:26px 42px minmax(0,1fr) auto;align-items:center;gap:11px}
.arena-players-v7 article>span{color:var(--accent);font-weight:900;text-align:center}.arena-players-v7 strong,.arena-players-v7 small{display:block}.arena-players-v7 small{margin-top:4px;color:var(--muted);font-size:9px}.arena-players-v7 em{font-style:normal;font-weight:850}

.render-error-v7{min-height:55vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center}
.render-error-v7>span{width:64px;height:64px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;color:var(--amber)}
.render-error-v7 svg{width:30px}.render-error-v7 h1{max-width:430px;margin:0;font-size:25px;line-height:1.25}

/* Narrow / short Telegram viewports */
@media(max-width:660px){
  .daily-hero-v7{min-height:330px;padding:25px;grid-template-columns:minmax(0,1fr) 145px}
  .daily-copy-v7 h1{font-size:42px}.daily-copy-v7 p{font-size:12px}.daily-art-v7{height:185px}
  .play-grid-v7.three{grid-template-columns:repeat(2,minmax(0,1fr))}.play-grid-v7.three>.play-tile-v7:last-child{grid-column:1/-1;min-height:155px}
  .profile-hero-v7{grid-template-columns:116px minmax(0,1fr);gap:18px}.profile-avatar-v7{width:116px;height:116px;border-radius:var(--wb-radius-one)!important}.profile-copy-v7>h1{font-size:29px}
}
@media(max-width:500px){
  .screen-root{padding-left:max(12px,calc(12px + var(--tg-content-safe-left)));padding-right:max(12px,calc(12px + var(--tg-content-safe-right)))}
  .daily-hero-v7{min-height:305px;padding:22px;grid-template-columns:minmax(0,1fr) 112px;border-radius:var(--wb-radius-one)!important}.daily-copy-v7 h1{margin-top:20px;font-size:36px}.daily-copy-v7 p{font-size:11px}.daily-art-v7{height:150px}.daily-copy-v7 .primary-button{min-width:145px}
  .balance-grid-v7>button{min-height:94px;padding:13px;flex-direction:column;align-items:flex-start;gap:8px}.balance-grid-v7>button>span{width:34px;height:34px;flex-basis:34px}.balance-grid-v7>button svg{width:19px}.balance-grid-v7 strong{font-size:22px}
  .plus-card-v7,.reward-card-v7{padding:15px;grid-template-columns:52px minmax(0,1fr) auto;gap:12px}.plus-card-v7>span,.reward-card-v7>span{width:52px;height:52px;border-radius:var(--wb-radius-one)!important}.plus-card-v7 strong{font-size:16px}.plus-card-v7>b{font-size:0}.plus-card-v7>b svg{width:18px}.reward-card-v7>button{padding:0 12px}
  .home-mode-v7{min-height:166px;padding:17px}.home-mode-v7>strong{font-size:18px}
  .daily-feature-v7{min-height:225px;padding:22px;grid-template-columns:minmax(0,1fr) 115px}.daily-feature-v7 h2{font-size:29px}.daily-feature-v7>div:last-child{height:130px}
  .play-grid-v7.three,.play-grid-v7.two{grid-template-columns:repeat(2,minmax(0,1fr))}.play-tile-v7{min-height:174px;padding:17px}.play-tile-v7>strong{font-size:18px}.duel-feature-v7{min-height:210px;padding:20px;grid-template-columns:58px minmax(0,1fr)}.duel-feature-v7>span{width:58px;height:58px}.duel-feature-v7 h2{font-size:27px}
  .profile-hero-v7{padding:20px;grid-template-columns:92px minmax(0,1fr);gap:15px}.profile-avatar-v7{width:92px;height:92px;border-radius:var(--wb-radius-one)!important}.profile-avatar-wrap-v7>button{font-size:8px}.profile-copy-v7>h1{font-size:25px}.profile-title-v7{margin-top:12px}.profile-stats-v7{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stats-v7 article{min-height:84px}
  .tournament-list-v7{grid-template-columns:1fr}.tournament-card-v7{min-height:280px}.tournament-group-head-v7 h2{font-size:24px}
  .word-board-v7{gap:5px!important}.word-board-v7 .word-row{gap:5px}.word-board-v7 .word-cell{border-radius:var(--wb-radius-one)!important}.keyboard-v7 .key{height:43px;font-size:10px}
  .letter-deck-v7{gap:8px!important}.letter-deck-v7 .letter-tile{width:clamp(54px,15.5vw,70px)!important;height:clamp(54px,15.5vw,70px)!important;border-radius:var(--wb-radius-one)!important;font-size:clamp(25px,7vw,35px)!important}
  .builder-actions-v7{grid-template-columns:58px minmax(0,1fr) 58px}.builder-actions-v7>*{height:54px}.builder-tools-v7>button{min-height:74px}
  .result-page-v7{padding-top:30px}.result-mark-v7 img{width:78px;height:78px}.result-page-v7>h1{font-size:42px}.percentile-v7{padding:21px;font-size:23px}
  .avatar-grid-v7{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:370px){
  .profile-mini-v7 .profile-copy strong{font-size:12px}.top-avatar-v7{width:40px;height:40px;flex-basis:40px}
  .daily-hero-v7{grid-template-columns:1fr}.daily-art-v7{display:none}.daily-copy-v7 h1{font-size:34px}.daily-copy-v7 p{max-width:300px}
  .home-modes-v7,.play-grid-v7.two,.play-grid-v7.three{grid-template-columns:1fr}.play-grid-v7.three>.play-tile-v7:last-child{grid-column:auto}.home-mode-v7,.play-tile-v7{min-height:144px}
  .profile-hero-v7{grid-template-columns:1fr;text-align:center}.profile-avatar-wrap-v7{align-items:center}.profile-avatar-wrap-v7>button{width:120px}.profile-copy-v7>p{text-align:center}.profile-title-v7{text-align:left}
  .balance-grid-v7{gap:6px}.balance-grid-v7>button{padding:10px}.balance-grid-v7 strong{font-size:19px}.balance-grid-v7 small{font-size:8px}
  .reward-card-v7{grid-template-columns:48px minmax(0,1fr)}.reward-card-v7>button{grid-column:1/-1;width:100%}
  .result-stats-v7{gap:6px}.result-stats-v7 article{min-height:88px;padding:9px}.result-stats-v7 strong{font-size:22px}
}
@media(max-height:760px){
  .daily-game-v7{gap:9px}.daily-summary-v7{min-height:72px;padding:11px 14px}.daily-game-v7 .daily-hint-progress-v30{display:none}.word-board-v7{gap:4px!important}.word-board-v7 .word-row{gap:4px}.word-board-v7 .word-cell{border-radius:var(--wb-radius-one)!important;font-size:20px}.keyboard-v7{gap:3px!important}.keyboard-v7 .key{height:37px;border-radius:var(--wb-radius-one)!important}.daily-hint-v7{min-height:63px;padding:9px 12px}.daily-hint-v7>span{width:40px;height:40px}.daily-hint-v7 small{display:none}.daily-actions-v7{display:none}
  .result-page-v7{padding-top:20px}.result-mark-v7 img{width:70px;height:70px}.result-page-v7>h1{margin-top:16px}.result-actions-v7{margin-top:15px}.result-actions-v7>button{min-height:51px}
}

/* Final mobile composition: keep the home headline on two intentional lines. */
@media(max-width:500px){
  .daily-hero-v7{display:block;min-height:334px;padding:22px}
  .daily-copy-v7{min-height:290px;max-width:none}
  .daily-copy-v7 h1{max-width:285px;margin:20px 0 13px;font-size:34px;line-height:.94}
  .daily-copy-v7 p{max-width:215px;font-size:11px}
  .daily-copy-v7>div{padding-top:18px}
  .daily-art-v7{position:absolute;right:10px;bottom:14px;width:116px;height:154px}
}
@media(max-width:350px){
  .daily-copy-v7 h1{max-width:245px;font-size:31px}
  .daily-copy-v7 p{max-width:190px}
  .daily-art-v7{width:96px;height:132px;right:4px}
}

/* Daily Word must remain usable in the common 780–900px Telegram viewport. */
@media(max-height:900px){
  .daily-game-v7{gap:10px}
  .daily-game-v7 .daily-summary-v7{min-height:76px;padding:12px 15px}
  .daily-game-v7 .word-board-v7{max-width:min(100%,calc(var(--daily-word-length,5) * 52px + (var(--daily-word-length,5) - 1) * 5px));gap:5px!important}
  .daily-game-v7 .word-board-v7 .word-row{gap:5px}
  .daily-game-v7 .word-board-v7 .word-cell{border-radius:var(--wb-radius-one)!important;font-size:23px}
  .daily-game-v7 .keyboard-v7{gap:3px!important}
  .daily-game-v7 .keyboard-v7 .key{height:40px;border-radius:var(--wb-radius-one)!important;font-size:10px}
  .daily-game-v7 .daily-hint-v7{min-height:70px;padding:10px 13px}
}
@media(max-height:820px){
  .daily-game-v7 .daily-hint-progress-v30{display:none}
  .daily-game-v7 .word-board-v7{max-width:min(100%,calc(var(--daily-word-length,5) * 47px + (var(--daily-word-length,5) - 1) * 4px));gap:4px!important}
  .daily-game-v7 .word-board-v7 .word-row{gap:4px}
  .daily-game-v7 .word-board-v7 .word-cell{border-radius:var(--wb-radius-one)!important;font-size:20px}
  .daily-game-v7 .keyboard-v7 .key{height:37px}
}
@media(max-height:900px){.daily-game-v7 .daily-hint-progress-v30{display:none}}

/* Words Buster 8.0 — final cohesive interface */
.play-hero-v8{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 142px;align-items:center;gap:20px;min-height:224px;padding:30px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#1d1532 0%,#261b4c 48%,#20301d 100%)}
.play-hero-v8:after{content:"";position:absolute;right:-80px;top:-120px;width:300px;height:300px;border-radius:var(--wb-radius-one)!important;background:rgba(127,82,255,.25)}
.play-hero-v8>div,.play-hero-v8>img{position:relative;z-index:1}.play-hero-v8 img{width:132px;height:132px;object-fit:contain;justify-self:end}.play-hero-v8 h1{margin:12px 0 10px;font-size:clamp(34px,7vw,52px);line-height:.98;letter-spacing:-.055em}.play-hero-v8 p{max-width:470px;margin:0;color:#c9c5d8;line-height:1.5}
.play-tabs-v8{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:18px 0 26px;padding:6px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.play-tabs-v8 button{min-height:48px;border-radius:var(--wb-radius-one)!important;background:transparent;color:var(--muted);font-weight:800}.play-tabs-v8 button.active{background:var(--surface-3);color:var(--text)}
.play-sections-v8{display:grid;gap:34px}.play-section-title-v8{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}.play-section-title-v8>span{display:grid;place-items:center;min-width:52px;height:52px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);font-weight:900;letter-spacing:.08em}.play-section-title-v8 h2{margin:0;font-size:30px;letter-spacing:-.04em}.play-section-title-v8 p{margin:5px 0 0;color:var(--muted)}
.play-mode-grid-v8{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.play-mode-grid-v8 .mode-card{min-height:210px;background:var(--surface);border-radius:var(--wb-radius-one)!important;padding:22px}.competition-grid-v8{display:grid;gap:14px}.duel-feature-v8,.arena-feature-v8{position:relative;overflow:hidden;display:grid;text-align:left;background:var(--surface);border-radius:var(--wb-radius-one)!important}.duel-feature-v8{grid-template-columns:76px minmax(0,1fr);gap:20px;min-height:250px;padding:28px;background:linear-gradient(135deg,#431d2b,#25183d)}.duel-feature-v8:after{content:"VS";position:absolute;right:20px;bottom:-28px;color:rgba(255,255,255,.045);font-size:120px;font-weight:950}.duel-feature-v8>span,.arena-feature-v8>span{display:grid;place-items:center;width:76px;height:76px;border-radius:var(--wb-radius-one)!important;background:rgba(255,91,130,.15);color:#ff718f}.duel-feature-v8 small,.arena-feature-v8 small{color:#ff829a;font-weight:850;letter-spacing:.12em}.duel-feature-v8 h3,.arena-feature-v8 h3{margin:15px 0 10px;font-size:34px;letter-spacing:-.045em}.duel-feature-v8 p,.arena-feature-v8 p{margin:0;color:#c3b9ca;line-height:1.5}.duel-feature-v8 b{display:inline-flex;align-items:center;gap:8px;margin-top:28px;color:var(--accent)}
.arena-feature-v8{grid-template-columns:70px minmax(0,1fr) 26px;align-items:center;gap:18px;padding:24px;background:linear-gradient(135deg,#332616,#181b20)}.arena-feature-v8>span{width:70px;height:70px;background:rgba(255,189,74,.13);color:var(--amber)}.arena-feature-v8 h3{margin:7px 0 5px;font-size:26px}.arena-feature-v8 p{font-size:14px}.arena-feature-v8>svg{color:var(--muted)}
.play-tournaments-v8,.play-tournament-group-v8{display:grid;gap:20px}.play-tournament-group-v8{margin-bottom:28px}.play-tournament-group-v8>header{display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;align-items:center}.play-tournament-group-v8>header>span{display:grid;place-items:center;width:58px;height:58px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);font-weight:900}.play-tournament-group-v8 h2{margin:0;font-size:29px}.play-tournament-group-v8 p{margin:4px 0 0;color:var(--muted)}.tournament-empty-v8{display:flex;align-items:center;gap:16px;padding:22px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted)}.tournament-empty-v8>svg{width:42px;height:42px}.tournament-empty-v8 strong{display:block;color:var(--text);margin-bottom:5px}

.ranking-page-v8{padding-bottom:24px}.ranking-hero-v8{padding:28px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#22183d,#17251b)}.ranking-hero-v8 h1{margin:12px 0 10px;font-size:clamp(36px,8vw,56px);letter-spacing:-.055em}.ranking-hero-v8 p{margin:0;max-width:520px;color:#c3c7d1;line-height:1.5}.ranking-user-v8{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:24px;padding:16px 18px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.07)}.ranking-user-v8 span,.ranking-user-v8 em{color:#aeb4c1;font-style:normal}.ranking-user-v8 strong{font-size:20px;text-transform:capitalize}.ranking-metrics-v8,.ranking-leagues-v8{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:18px 0 2px}.ranking-metrics-v8::-webkit-scrollbar,.ranking-leagues-v8::-webkit-scrollbar{display:none}.ranking-metrics-v8 button,.ranking-leagues-v8 button{white-space:nowrap;padding:12px 16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);font-weight:750}.ranking-metrics-v8 button.active,.ranking-leagues-v8 button.active{background:var(--accent);color:var(--accent-ink)}.ranking-leagues-v8{padding-top:10px}.ranking-leagues-v8 button{text-transform:capitalize;padding:9px 14px}
.your-ranking-v8{margin-top:20px;padding:18px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(157,255,63,.12),rgba(121,88,255,.16))}.your-ranking-v8>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:var(--muted)}.your-ranking-v8>header b{font-size:24px;color:var(--accent)}.ranking-list-v8{display:grid;gap:10px;margin-top:18px}.ranking-row-v8{display:grid;grid-template-columns:54px 54px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:82px;padding:14px 16px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.ranking-row-v8.current{background:rgba(157,255,63,.08)}.ranking-position-v8{font-size:18px;font-weight:900;color:var(--muted)}.ranking-avatar-v8{width:54px;height:54px;border-radius:var(--wb-radius-one)!important}.ranking-row-v8 strong{display:block}.ranking-row-v8 small{display:block;margin-top:5px;color:var(--muted);text-transform:capitalize}.ranking-row-v8>b{font-size:20px;color:var(--accent)}.ranking-loading-v8{display:grid;place-items:center;gap:14px;min-height:260px}.ranking-loading-v8 i{width:48px;height:48px;border:5px solid var(--surface-3);border-top-color:var(--accent);border-radius:var(--wb-radius-one)!important;animation:spin .8s linear infinite}.ranking-empty-v8{padding:30px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);text-align:center}

.word-builder-v8{display:grid;gap:16px;padding-bottom:34px}.game-context-v8{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#3b1b2a,#201632)}.game-context-v8.arena{grid-template-columns:62px minmax(0,1fr) auto;background:linear-gradient(135deg,#362817,#17222b)}.game-context-v8>span,.context-avatar-v8{display:grid;place-items:center;width:62px;height:62px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.07)}.game-context-v8 small,.game-context-v8 em{display:block;color:var(--muted);font-style:normal}.game-context-v8 strong{display:block;margin:3px 0}.game-context-v8>b{color:var(--accent);font-size:13px}.game-context-v8 em{font-size:11px;line-height:1.3}
.word-breakdown-v8{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:94px;padding:17px;border-radius:var(--wb-radius-one)!important;text-align:left;background:linear-gradient(135deg,#172433,#252039);color:var(--text)}.word-breakdown-v8>span:first-child{display:grid;place-items:center;width:58px;height:58px;border-radius:var(--wb-radius-one)!important;background:rgba(89,184,255,.12);color:var(--blue)}.word-breakdown-v8 strong,.word-breakdown-v8 small{display:block}.word-breakdown-v8 strong{font-size:20px}.word-breakdown-v8 small{margin-top:5px;color:var(--muted)}.word-breakdown-v8>.round-timer{min-width:102px;height:56px;border-radius:var(--wb-radius-one)!important;background:rgba(0,0,0,.16)}
.selected-word-v8{min-height:100px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#171822,#1c1a2a)}.letter-deck-v8{padding:18px 0}.builder-actions-v8{grid-template-columns:64px minmax(0,1fr) 64px}.builder-actions-v8>*{min-height:60px}.builder-tools-v8{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.builder-tools-v8>button{min-height:88px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.builder-tools-v8>button:nth-child(2):last-child{grid-column:auto}.competitive-note-v8,.hint-penalty-v8{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;border-radius:var(--wb-radius-one)!important;background:rgba(255,189,74,.09);color:#d9c9aa;line-height:1.45}.competitive-note-v8{background:rgba(97,184,255,.08);color:#bcd4e7}.competitive-note-v8 svg,.hint-penalty-v8 svg{margin-top:2px;color:var(--amber)}.competitive-note-v8 svg{color:var(--blue)}.hint-penalty-v8 b{color:var(--amber)}.hint-word-v8{display:flex;gap:13px;align-items:center;padding:16px;border-radius:var(--wb-radius-one)!important;background:rgba(157,255,63,.08)}.hint-word-v8>span{color:var(--accent)}.hint-word-v8 small,.hint-word-v8 strong{display:block}.hint-word-v8 small{color:var(--muted)}.found-words-v8{display:flex;flex-wrap:wrap;gap:9px}.found-chip-v8{display:inline-flex;align-items:center;gap:8px;padding:12px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)}.found-chip-v8 small{display:grid;place-items:center;min-width:22px;height:22px;border-radius:var(--wb-radius-one)!important;background:rgba(157,255,63,.1);color:var(--accent);font-size:10px}.found-empty-v8{width:100%;margin:0;padding:22px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);text-align:center}
.result-penalty-v8{display:flex;align-items:center;gap:13px;margin-top:14px;padding:17px;border-radius:var(--wb-radius-one)!important;background:rgba(255,189,74,.1);color:var(--warning)}.result-penalty-v8.zero{background:rgba(255,110,125,.1);color:var(--danger)}.result-penalty-v8>svg{width:28px}.result-penalty-v8 strong,.result-penalty-v8 small{display:block}.result-penalty-v8 small{margin-top:4px;color:var(--muted)}

.duel-search-sheet-v8 .modal-sheet{padding-top:18px}.duel-search-v8{position:relative;display:grid;place-items:center;min-height:360px;text-align:center}.duel-search-v8 img{position:relative;z-index:2;width:104px;height:104px;object-fit:contain}.duel-radar-v8{position:absolute;top:42px;width:230px;height:230px}.duel-radar-v8 i{position:absolute;inset:0;border:1px solid rgba(157,255,63,.28);border-radius:var(--wb-radius-one)!important;animation:duelRadar 2.4s ease-out infinite}.duel-radar-v8 i:nth-child(2){animation-delay:.8s}.duel-radar-v8 i:nth-child(3){animation-delay:1.6s}.duel-search-v8 strong{margin-top:76px;font-size:31px}.duel-search-v8 small{color:var(--muted)}@keyframes duelRadar{0%{transform:scale(.35);opacity:0}25%{opacity:1}100%{transform:scale(1.2);opacity:0}}
.arena-summary-v8{display:grid;grid-template-columns:1fr 1fr;gap:10px}.arena-summary-v8>div{padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);text-align:center}.arena-summary-v8 strong,.arena-summary-v8 span{display:block}.arena-summary-v8 strong{font-size:26px}.arena-summary-v8 span{margin-top:5px;color:var(--muted)}.arena-rule-v8,.arena-reward-v8{display:flex;gap:13px;align-items:center;margin:14px 0;padding:16px;border-radius:var(--wb-radius-one)!important;background:rgba(255,189,74,.08)}.arena-reward-v8{background:rgba(157,255,63,.08)}.arena-players-v8{display:grid;gap:8px;margin:14px 0}.arena-players-v8 article{display:grid;grid-template-columns:30px 48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.arena-players-v8 small{display:block;color:var(--muted);margin-top:3px}

.avatar-sheet-v8,.title-sheet-v6{padding-top:max(72px,var(--app-safe-top,72px))!important}.avatar-grid-v8{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.avatar-slot-v8{display:grid;gap:10px;padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.avatar-preview-v8{display:block;aspect-ratio:1;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:linear-gradient(135deg,#2a214b,#263c21)}.avatar-preview-v8 img{width:100%;height:100%;object-fit:cover}.avatar-preview-v8>span{display:grid;place-items:center;height:100%}.avatar-preview-v8>span b{font-size:34px}.avatar-preview-v8>span small{color:var(--muted)}.avatar-slot-v8>div strong,.avatar-slot-v8>div small{display:block}.avatar-slot-v8>div small{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.4}.avatar-slot-v8>button:not(.avatar-preview-v8),.avatar-slot-v8>b{min-height:42px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);font-weight:850}.avatar-slot-v8>b{display:grid;place-items:center;background:var(--surface-3);color:var(--muted)}.avatar-detail-v8{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;align-items:center}.avatar-detail-v8>img,.avatar-detail-v8>span{width:140px;height:140px;border-radius:var(--wb-radius-one)!important;object-fit:cover;background:linear-gradient(135deg,#2b224b,#253c20)}.avatar-detail-v8>span{display:grid;place-items:center;text-align:center}.avatar-detail-v8 p{color:var(--muted);line-height:1.5}

.shop-sheet-v8,.support-sheet-v8,.avatar-sheet-v8,.title-sheet-v6,.title-sheet-v7{margin-top:max(60px,var(--app-safe-top,60px));max-height:calc(var(--visual-height,100vh) - max(76px,var(--app-safe-top,76px)))}.wallet-overview-v8{grid-template-columns:repeat(3,1fr)}.shop-section-v8{margin-top:22px}.product-list-v8{display:grid;gap:10px}.shop-section-v8 .plan-card-v6{margin-top:10px}.support-form-v8{display:grid;gap:14px}.support-form-v8 label{display:grid;gap:7px;color:var(--muted)}.support-form-v8 input,.support-form-v8 textarea{width:100%;border:0;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--text);padding:15px}.support-form-v8 textarea{min-height:130px;resize:vertical}.support-upload-v8{grid-template-columns:42px minmax(0,1fr);align-items:center;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.support-upload-v8>svg{color:var(--blue)}.support-upload-v8 strong,.support-upload-v8 small{display:block}.support-upload-v8 small{margin-top:3px}.support-upload-v8 input{grid-column:1/-1;padding:9px}.support-ticket-list-v8{display:grid;gap:12px;margin-top:20px}.support-ticket-v8{padding:15px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.support-ticket-v8>header{display:flex;justify-content:space-between;gap:10px}.support-ticket-v8>header span{color:var(--accent)}.support-ticket-v8>div{display:grid;gap:8px;margin-top:12px}.support-ticket-v8>div>article{padding:10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)}.support-ticket-v8>div>article.admin{background:rgba(121,88,255,.12)}.support-ticket-v8 img{max-width:100%;max-height:220px;border-radius:var(--wb-radius-one)!important}.support-ticket-v8 button{margin-top:12px;color:var(--accent);font-weight:800;background:transparent}

:root[data-theme="light"]{--bg:#f7f8fb;--bg-elevated:#fff;--surface:#fff;--surface-2:#f0f2f6;--surface-3:#e5e8ef;--surface-soft:#fbfcfe;--text:#11141b;--text-soft:#343b48;--muted:#687181;--muted-2:#98a0ae;--accent:#56850e;--accent-hover:#4b750d;--accent-ink:#fff;--line:rgba(15,20,30,.06);--shadow:none;--shadow-soft:none}
:root[data-theme="light"] body,:root[data-theme="light"] .app,:root[data-theme="light"] .screen{background:#f7f8fb}:root[data-theme="light"] .play-hero-v8,:root[data-theme="light"] .ranking-hero-v8{color:#fff}:root[data-theme="light"] .play-hero-v8 p,:root[data-theme="light"] .ranking-hero-v8 p{color:#d9dbe5}:root[data-theme="light"] .word-breakdown-v8{background:linear-gradient(135deg,#eaf2fb,#eeeafd)}:root[data-theme="light"] .selected-word-v8{background:linear-gradient(135deg,#fff,#f3f1fb)}:root[data-theme="light"] .game-context-v8{color:#fff}:root[data-theme="light"] .game-context-v8 small,:root[data-theme="light"] .game-context-v8 em{color:#cec6d5}:root[data-theme="light"] .daily-hero-v7+*:before,:root[data-theme="light"] .home-page-v7:before,:root[data-theme="light"] .home-page-v6:before{display:none!important}

@media(max-width:520px){
  .play-hero-v8{grid-template-columns:minmax(0,1fr) 96px;min-height:205px;padding:22px}.play-hero-v8 img{width:92px;height:92px}.play-hero-v8 h1{font-size:35px}.play-hero-v8 p{font-size:13px}
  .play-mode-grid-v8{grid-template-columns:repeat(2,minmax(0,1fr))}.play-mode-grid-v8 .mode-card{min-height:174px;padding:17px}.duel-feature-v8{grid-template-columns:60px minmax(0,1fr);padding:21px;min-height:220px}.duel-feature-v8>span{width:60px;height:60px}.duel-feature-v8 h3{font-size:27px}.arena-feature-v8{grid-template-columns:56px minmax(0,1fr) 18px;padding:18px}.arena-feature-v8>span{width:56px;height:56px}
  .ranking-hero-v8{padding:22px}.ranking-user-v8{grid-template-columns:1fr auto}.ranking-user-v8>span{grid-column:1/-1}.ranking-row-v8{grid-template-columns:44px 48px minmax(0,1fr) auto;padding:12px;gap:9px}.ranking-avatar-v8{width:48px;height:48px}.ranking-row-v8>b{font-size:16px}
  .word-breakdown-v8{grid-template-columns:50px minmax(0,1fr) auto;min-height:86px;padding:14px}.word-breakdown-v8>span:first-child{width:50px;height:50px}.word-breakdown-v8 strong{font-size:17px}.word-breakdown-v8>.round-timer{min-width:88px;height:50px}.letter-deck-v8{gap:8px!important}.builder-tools-v8>button{min-height:78px}.builder-actions-v8{grid-template-columns:58px minmax(0,1fr) 58px}
  .avatar-grid-v8{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.avatar-slot-v8{padding:10px}.avatar-detail-v8{grid-template-columns:100px minmax(0,1fr)}.avatar-detail-v8>img,.avatar-detail-v8>span{width:100px;height:100px}
}
@media(max-width:360px){.play-mode-grid-v8{grid-template-columns:1fr}.avatar-grid-v8{grid-template-columns:1fr}.ranking-row-v8{grid-template-columns:38px 44px minmax(0,1fr)}.ranking-row-v8>b{grid-column:3;text-align:left}}

/* Words Buster 8.1 — final release polish */
.bottom-sheet{max-height:min(86%,calc(var(--visual-height) - max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)) - 66px));padding-top:0}
.sheet-topline{min-height:58px;padding:8px 0;background:linear-gradient(180deg,var(--bg-elevated) 82%,transparent)}
.sheet-close{right:4px;top:8px;width:42px;height:42px;z-index:6;background:var(--surface-2);color:var(--text)}
.sheet-head{padding:2px 54px 19px 0}.sheet-head h2{font-size:28px;line-height:1.05}.sheet-head p{font-size:13px;line-height:1.52}
.play-hero-v81{background:radial-gradient(circle at 86% 14%,rgba(157,255,63,.18),transparent 30%),linear-gradient(135deg,#201538,#171a2b 58%,#17261a)}
.channel-task-warning-v81{grid-column:1/-1;display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:rgba(255,189,74,.08);color:var(--muted);font-size:11px;line-height:1.45}.channel-task-warning-v81 svg{flex:0 0 auto;width:17px;color:var(--amber)}
.history-summary-v81{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.history-summary-v81>div{padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:center}.history-summary-v81 strong,.history-summary-v81 span{display:block}.history-summary-v81 strong{font-size:28px}.history-summary-v81 span{margin-top:5px;color:var(--muted);font-size:12px}.history-word-section-v81{padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);margin-top:12px}.history-word-section-v81 h3{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.history-word-section-v81 h3 b{display:grid;place-items:center;min-width:34px;height:34px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);font-size:13px}.history-word-chips{display:flex;flex-wrap:wrap;gap:8px}.history-word-chips span{padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-weight:800;letter-spacing:.04em}.history-word-section-v81.missed .history-word-chips span{color:var(--muted)}
.challenge-status-v81 .duel-scoreboard-v28{background:linear-gradient(135deg,rgba(255,82,130,.1),rgba(114,80,255,.1));border:0}.challenge-status-v81 .duel-wait-card{background:var(--surface)}
.arena-status-v81 .arena-summary-v8{background:linear-gradient(135deg,rgba(255,188,60,.13),rgba(96,180,255,.08))}
.product-list-v8{display:grid;gap:10px}.shop-section-v8+.shop-section-v8{margin-top:26px}.shop-section-v8 .section-heading{margin-bottom:11px}
.payment-applying-v81{display:flex;align-items:center;gap:10px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}
.word-breakdown-v8{background:linear-gradient(135deg,#172838 0%,#242139 56%,#202b24 100%)}
.found-words-v8{padding-bottom:20px}.found-chip-v8{box-shadow:none}
.ranking-leagues-v8 button{text-transform:none}
:root[data-theme="light"]{--bg:#f8fafc;--bg-elevated:#ffffff;--surface:#ffffff;--surface-2:#eef2f7;--surface-3:#e7ecf3;--text:#11151d;--muted:#697386;--line:rgba(17,21,29,.07)}
:root[data-theme="light"] body,:root[data-theme="light"] .app,:root[data-theme="light"] .screen{background:#f8fafc;color:#11151d}
:root[data-theme="light"] .topbar,:root[data-theme="light"] .bottom-nav .nav-inner,:root[data-theme="light"] .bottom-sheet{background:#fff}
:root[data-theme="light"] .mode-card,:root[data-theme="light"] .reward-card-v7,:root[data-theme="light"] .balance-card-v7,:root[data-theme="light"] .ranking-row-v8,:root[data-theme="light"] .mission-card,:root[data-theme="light"] .recent-game-card-v6{background:#fff;color:#11151d}
:root[data-theme="light"] .word-breakdown-v8{background:linear-gradient(135deg,#e8f2fb,#eeeafd 58%,#edf5ea)}
:root[data-theme="light"] .competitive-note-v8{background:#edf6fb;color:#436072}:root[data-theme="light"] .hint-penalty-v8{background:#fff5e4;color:#715b35}
:root[data-theme="light"] .home-page-v7,:root[data-theme="light"] .play-page-v8,:root[data-theme="light"] .ranking-page-v8{background:transparent!important}
@media(max-width:520px){.bottom-sheet{max-height:calc(var(--visual-height) - max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)) - 74px)}.sheet-head h2{font-size:25px}.history-summary-v81>div{padding:14px}.play-hero-v81{min-height:190px}.channel-task-warning-v81{font-size:10px}}

/* Words Buster 8.3 — final cohesive UI layer */
:root{--wb-gap:14px;--wb-radius:20px;--wb-card:#171920;--wb-card-2:#1d2029;--wb-soft:#222632}
.page,.game-page{width:100%;max-width:760px;margin:0 auto;padding-inline:14px!important;box-sizing:border-box}
#screen{overscroll-behavior-y:contain;scroll-padding-bottom:120px}
.page>*+*,.game-page>*+*{margin-top:var(--wb-gap)}
button,input,textarea,select{font:inherit}
button{border:0;box-shadow:none}

/* Brand image must never stretch. */
.hero-art,.daily-hero-art img,.play-hero-v8 img,.play-banner-v83 img,.result-brand-logo{object-fit:contain!important;aspect-ratio:1/1!important;height:auto!important;max-height:none!important}
.daily-hero-art{width:min(34vw,190px)!important;height:auto!important;aspect-ratio:1!important;align-self:center!important;place-items:center!important}
.daily-hero-art .hero-art{position:static!important;width:100%!important;max-width:190px!important;transform:none!important}
.daily-hero-v6{overflow:hidden!important;grid-template-columns:minmax(0,1fr) minmax(100px,190px)!important;gap:12px!important}

/* One consistent bottom sheet. No floating close button and no hidden heading. */
.modal-layer{position:fixed!important;inset:0!important}
.bottom-sheet.sheet-v83,.bottom-sheet{left:50%!important;right:auto!important;bottom:0!important;width:min(760px,100%)!important;max-height:calc(100dvh - max(74px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;margin:0!important;padding:0!important;border-radius:var(--wb-radius-one)!important;overflow:hidden!important;background:var(--bg-elevated)!important;transform:translate(-50%,104%)!important}
.modal-layer.open .bottom-sheet{transform:translate(-50%,0)!important}
.sheet-topline{position:sticky!important;top:0!important;z-index:50!important;min-height:62px!important;margin:0!important;padding:10px 18px!important;background:var(--bg-elevated)!important;box-sizing:border-box!important}
.sheet-handle{width:48px!important;height:5px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-3)!important}
.sheet-close{position:absolute!important;right:18px!important;top:10px!important;width:44px!important;height:44px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:30px!important;line-height:1!important;display:grid!important;place-items:center!important;z-index:60!important}
#modalContent{height:auto!important;max-height:calc(100dvh - max(136px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:0 18px calc(22px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))!important;box-sizing:border-box!important}
.sheet-head{padding:4px 56px 18px 0!important;margin:0!important}
.sheet-head h2{margin:0!important;font-size:clamp(27px,7vw,40px)!important;line-height:1.02!important;letter-spacing:-.045em!important}
.sheet-head p{margin:10px 0 0!important;color:var(--muted)!important;line-height:1.5!important;max-width:620px!important}
.avatar-sheet-v8,.avatar-sheet-v83,.title-sheet-v6,.title-sheet-v7,.title-sheet-v83,.shop-sheet-v8,.shop-sheet-v83,.support-sheet-v8{padding-top:0!important;margin-top:0!important;max-height:none!important}

/* Play: compact distinct banner and equal cards. */
.play-page-v83{padding-bottom:28px!important}
.play-banner-v83{min-height:190px;padding:22px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#2c1f55 0%,#171b26 58%,#18301f 100%);display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;align-items:center;overflow:hidden}
.play-banner-v83 h1{margin:10px 0 8px;font-size:clamp(32px,7vw,48px);line-height:.98;letter-spacing:-.055em}
.play-banner-v83 p{margin:0;color:#c4c7d3;line-height:1.45}
.play-letters-v83{display:grid;grid-template-columns:repeat(2,72px);gap:8px;justify-content:end;transform:rotate(-4deg)}
.play-letters-v83 b{height:72px;border-radius:var(--wb-radius-one)!important;background:#f6f4f8;color:#6e28d9;display:grid;place-items:center;font-size:35px;box-shadow:inset 0 -5px 0 rgba(79,33,155,.15)}
.play-letters-v83 b:nth-child(1),.play-letters-v83 b:nth-child(4){color:#65ad00}
.play-tabs-v83{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;border-radius:var(--wb-radius-one)!important;background:var(--surface);margin:14px 0!important}
.play-tabs-v83 button{min-height:46px;border-radius:var(--wb-radius-one)!important;background:transparent;color:var(--muted);font-weight:850}
.play-tabs-v83 button.active{background:var(--accent);color:var(--accent-ink)}
.play-content-v83,.play-tournaments-v83{display:grid;gap:24px}
.play-content-v83>section,.tournament-group-v83{display:grid;gap:12px}
.section-title-v83{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:start;gap:12px}
.section-title-v83>span{width:46px;height:46px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);display:grid;place-items:center;font-weight:900}
.section-title-v83 h2{margin:0;font-size:28px;letter-spacing:-.035em}.section-title-v83 p{margin:5px 0 0;color:var(--muted);line-height:1.45}
.mode-grid-v83{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mode-grid-v83.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.mode-card-v83{position:relative;min-height:190px;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--text);text-align:left;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr auto;gap:12px;overflow:hidden}
.mode-card-v83>span{width:54px;height:54px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2)}.mode-card-v83>span svg{width:25px;height:25px}
.mode-card-v83>em{justify-self:end;padding:8px 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-style:normal;font-size:11px;font-weight:900}
.mode-card-v83>strong{grid-column:1/-1;align-self:end;font-size:24px;line-height:1.04}.mode-card-v83>small{grid-column:1/3;color:var(--muted);font-size:13px;line-height:1.45}.mode-card-v83>i{align-self:end;color:var(--muted)}
.mode-card-v83.green>span{color:#8ffa37;background:rgba(112,255,51,.12)}.mode-card-v83.violet>span{color:#a884ff;background:rgba(123,77,255,.16)}.mode-card-v83.amber>span{color:#ffbd43;background:rgba(255,166,39,.14)}.mode-card-v83.blue>span{color:#62baff;background:rgba(64,168,255,.14)}
.competition-v83{display:grid;gap:12px}.duel-v83,.arena-v83{min-height:160px;padding:20px;border-radius:var(--wb-radius-one)!important;color:#fff;display:grid;grid-template-columns:60px minmax(0,1fr) 28px;gap:16px;align-items:center;text-align:left;overflow:hidden}.duel-v83{background:linear-gradient(135deg,#4f1f39,#2a1749)}.arena-v83{background:linear-gradient(135deg,#4b3514,#171c25)}
.duel-v83>span,.arena-v83>span{width:60px;height:60px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.09);display:grid;place-items:center}.duel-v83 h3,.arena-v83 h3{margin:5px 0 7px;font-size:27px}.duel-v83 p,.arena-v83 p{margin:0;color:rgba(255,255,255,.68);line-height:1.42}.duel-v83 small{color:#ff7a9c;font-weight:900}.arena-v83 small{color:#ffbd43;font-weight:900}

/* Tournaments: cards never touch and the required currency is explicit. */
.tournament-group-v83>header{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:center}.tournament-group-v83>header>span{width:52px;height:52px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);display:grid;place-items:center;font-weight:900}.tournament-group-v83 h2{margin:0;font-size:28px}.tournament-group-v83 header p{margin:4px 0 0;color:var(--muted)}
.tournament-list-v83{display:grid;gap:14px!important}.tournament-card-v83{padding:20px;border-radius:var(--wb-radius-one)!important;background:var(--surface);overflow:hidden}.tournament-card-v83 header{display:flex;align-items:center;justify-content:space-between;gap:12px}.tournament-card-v83 header span{color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.tournament-card-v83 header b{color:var(--muted);font-size:12px}.tournament-card-v83 h3{margin:22px 0 10px;font-size:27px;letter-spacing:-.03em}.tournament-card-v83>p{margin:0;color:var(--muted);line-height:1.5}.tournament-meta-v83{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.tournament-meta-v83 span{min-height:78px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;flex-direction:column;justify-content:center;color:var(--muted);font-size:11px}.tournament-meta-v83 strong{display:block;margin-bottom:5px;color:var(--text);font-size:18px}.tournament-card-v83 .primary-button{margin-top:0}.tournament-empty-v83{min-height:120px;padding:20px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;gap:14px;color:var(--muted)}.tournament-empty-v83 svg{width:34px;color:var(--muted)}

/* Letter games: no giant empty panel. */
.word-builder-v83,.daily-game-v83{padding-bottom:24px!important;display:grid!important;gap:12px!important}
.game-header{margin-bottom:0!important}
.game-context-v83{min-height:86px;padding:14px 16px;border-radius:var(--wb-radius-one)!important;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:13px;align-items:center;background:linear-gradient(135deg,#48213d,#221a3c)}.game-context-v83.arena{background:linear-gradient(135deg,#403015,#17202b)}.game-context-v83>span,.context-avatar-v83{width:54px;height:54px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:rgba(255,255,255,.08)}.game-context-v83 small,.game-context-v83 strong{display:block}.game-context-v83 small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.12em}.game-context-v83 strong{margin-top:4px;font-size:18px}.game-context-v83 em{color:var(--accent);font-style:normal;font-size:12px;font-weight:900}
.word-progress-v83{width:100%;min-height:84px;padding:14px 16px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#172433,#231d3a 68%,#1b3020);color:var(--text);display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:13px;align-items:center;text-align:left}.word-progress-v83>span{width:52px;height:52px;border-radius:var(--wb-radius-one)!important;background:rgba(72,169,255,.13);color:#58b8ff;display:grid;place-items:center}.word-progress-v83 strong,.word-progress-v83 small{display:block}.word-progress-v83 strong{font-size:18px}.word-progress-v83 small{margin-top:4px;color:var(--muted)}.round-timer-v83{min-width:93px;height:48px;border-radius:var(--wb-radius-one)!important;background:rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;gap:8px;color:#ffc24d}.round-timer-v83 svg{width:18px}.round-timer-v83 b{font-size:18px;color:var(--text)}
.hint-word-v83{padding:13px 16px;border-radius:var(--wb-radius-one)!important;background:rgba(130,91,255,.13);display:flex;align-items:center;gap:12px}.hint-word-v83 svg{color:var(--accent)}.hint-word-v83 span,.hint-word-v83 strong{display:block}.hint-word-v83 span{color:var(--muted);font-size:11px}.hint-word-v83 strong{font-size:21px;letter-spacing:.06em}
.selected-word-v83{min-height:68px!important;margin:0!important;padding:10px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}.selected-word-v83 .selected-placeholder{font-size:14px;color:var(--muted)}
.letter-deck-v83{width:100%!important;margin:0 auto!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:9px!important}.letter-deck-v83 .letter-tile{flex:0 0 clamp(55px,15vw,82px)!important;width:clamp(55px,15vw,82px)!important;min-height:clamp(58px,16vw,84px)!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;font-size:clamp(27px,8vw,42px)!important}.letter-deck-v83 .letter-tile.used{opacity:.26!important;transform:scale(.94)!important}
.builder-actions-v83{display:grid!important;grid-template-columns:64px minmax(0,1fr) 64px!important;gap:10px!important;margin:0!important}.builder-actions-v83 button{min-height:58px;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;color:var(--text);font-size:30px}.builder-actions-v83 .primary-button{background:var(--accent)!important;color:var(--accent-ink)!important;font-size:17px!important;font-weight:900}
.builder-tools-v83{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin:0!important}.builder-tools-v83:has(button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}.builder-tools-v83 button{min-height:78px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;color:var(--muted)!important;display:grid!important;place-items:center!important;align-content:center!important;gap:5px!important}.builder-tools-v83 svg{width:23px;color:var(--accent)}.builder-tools-v83 b{color:#ffc24d;font-size:11px}
.game-note-v83{padding:13px 15px;border-radius:var(--wb-radius-one)!important;background:rgba(255,160,55,.09);color:#d2c2ad;display:flex;align-items:flex-start;gap:10px;line-height:1.45;font-size:12px}.game-note-v83 svg{flex:0 0 20px;color:#ffb73c}.game-note-v83.competitive{background:rgba(128,91,255,.11);color:#cbc3dd}.found-words-v83{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-height:58px!important;padding:0!important;background:transparent!important}.found-chip-v8,.found-words-v83>span{padding:10px 12px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important}.found-empty-v8{width:100%;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface);text-align:center;color:var(--muted)}

/* Daily Word is fully visible and every current cell can be updated. */
.daily-status-v83{min-height:72px;padding:13px 16px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#211c39,#17261d);display:flex;align-items:center;justify-content:space-between;gap:14px}.daily-status-v83 span,.daily-status-v83 strong{display:block}.daily-status-v83 span{color:var(--muted);font-size:12px}.daily-status-v83 strong{margin-top:4px;font-size:18px}.daily-status-v83>div:last-child{min-width:66px;padding:9px 12px;border-radius:var(--wb-radius-one)!important;background:rgba(0,0,0,.16);display:flex;align-items:center;justify-content:center;gap:8px}.daily-status-v83>div:last-child strong{margin:0}.daily-help-v83{margin:0!important;color:var(--muted);font-size:12px;line-height:1.45;text-align:center}
.word-board-v83{width:min(100%,390px)!important;margin:0 auto!important;display:grid!important;gap:6px!important}.word-board-v83 .word-row{display:grid!important;grid-template-columns:repeat(var(--daily-len,5),minmax(0,1fr))!important;gap:6px!important}.word-board-v83 .word-cell{aspect-ratio:1!important;height:auto!important;min-width:0!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;display:grid!important;place-items:center!important;font-size:clamp(20px,6vw,30px)!important;font-weight:900!important}.word-board-v83 .word-cell.filled{background:var(--surface-2)!important}.word-board-v83 .word-cell.correct{background:#4e963a!important}.word-board-v83 .word-cell.present{background:#b78b24!important}.word-board-v83 .word-cell.absent{background:#343741!important}.word-board-v83 .word-cell.hinted{box-shadow:inset 0 0 0 2px var(--accent)}
.keyboard-v83{width:100%!important;max-width:700px!important;display:grid!important;gap:5px!important;margin:0 auto!important}.keyboard-v83 .key-row{display:flex!important;justify-content:center!important;gap:4px!important}.keyboard-v83 .key{flex:1 1 0!important;min-width:0!important;max-width:55px!important;height:45px!important;padding:0 1px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:clamp(10px,2.8vw,15px)!important;font-weight:850!important}.keyboard-v83 .key-wide{flex:1.45 1 0!important;max-width:72px!important;font-size:10px!important}.keyboard-v83 .key.correct{background:#4e963a!important}.keyboard-v83 .key.present{background:#b78b24!important}.keyboard-v83 .key.absent{opacity:.38!important}
.daily-actions-v83{display:grid;grid-template-columns:1fr 1fr;gap:9px}.daily-actions-v83 button{min-height:58px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800}.daily-actions-v83 svg{color:var(--accent)}.daily-actions-v83 b{color:#ffc24d}

/* Ranking: independent horizontal filters and clean rows. */
.ranking-page-v8{padding-inline:14px!important}.ranking-hero-v8{padding:22px!important;border-radius:var(--wb-radius-one)!important}.ranking-hero-v8 h1{font-size:clamp(32px,8vw,48px)!important}.ranking-metrics-v8,.ranking-leagues-v8{width:100%!important;display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:8px 0!important;margin:0!important;scroll-snap-type:x proximity}.ranking-metrics-v8 button,.ranking-leagues-v8 button{flex:0 0 auto!important;max-width:none!important;min-width:max-content!important;white-space:nowrap!important;scroll-snap-align:start}.ranking-list-v8{display:grid;gap:9px}.ranking-row-v8{min-height:74px;padding:11px 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;display:grid!important;grid-template-columns:48px 48px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}.ranking-position-v8{font-size:13px!important}.ranking-row-v8>div{min-width:0}.ranking-row-v8 strong,.ranking-row-v8 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.your-ranking-v8{margin:6px 0 16px!important;padding:14px!important;border-radius:var(--wb-radius-one)!important}

/* Support: normal attachment control, contained conversations. */
.support-form-v8{display:grid!important;gap:12px!important}.support-form-v8 label{display:grid!important;gap:7px!important;font-size:12px!important;color:var(--muted)!important}.support-form-v8 input,.support-form-v8 textarea{min-height:50px!important;padding:14px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;color:var(--text)!important;border:0!important}.support-form-v8 textarea{min-height:120px!important}.support-upload-v8{position:relative!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-height:82px!important;padding:13px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;overflow:hidden!important}.support-upload-v8>svg{width:28px!important;height:28px!important;max-width:28px!important;color:#59b4ff!important}.support-upload-v8 input[type=file]{grid-column:1/-1!important;width:100%!important;min-height:42px!important;padding:8px!important;background:var(--surface-2)!important;font-size:12px!important}.support-ticket-v8{padding:15px!important;border-radius:var(--wb-radius-one)!important}.support-ticket-v8>header strong{min-width:0;overflow-wrap:anywhere}.support-ticket-v8>header span{text-transform:none!important}.support-ticket-v8>div>article{overflow:hidden!important}.support-ticket-v8 p{overflow-wrap:anywhere!important}.support-ticket-v8 img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:260px!important;object-fit:contain!important}

/* Avatar and title collections. */
.avatar-grid-v83{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.avatar-card-v83{min-width:0;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-rows:auto auto 48px;gap:10px;align-content:start}.avatar-card-v83.selected{background:linear-gradient(145deg,rgba(126,89,255,.18),var(--surface))}.avatar-preview-v83{width:100%;aspect-ratio:1;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:linear-gradient(135deg,#28203f,#22351f);display:block}.avatar-preview-v83 img{width:100%;height:100%;object-fit:cover}.avatar-preview-v83>span{height:100%;display:grid;place-items:center;align-content:center}.avatar-preview-v83 b{font-size:40px}.avatar-preview-v83 small{color:var(--muted)}.avatar-card-v83>div{min-width:0}.avatar-card-v83>div strong{display:block;font-size:15px;line-height:1.2}.avatar-card-v83>div small{display:-webkit-box;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.35;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.avatar-card-v83>button:not(.avatar-preview-v83),.selected-label-v83,.locked-label-v83{min-height:48px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);font-weight:900}.selected-label-v83,.locked-label-v83{background:var(--surface-2);color:var(--muted);font-size:12px}
.title-category-v83{display:grid;gap:10px;margin-bottom:24px}.title-category-v83 h3{margin:0;font-size:25px}.title-category-v83>div{display:grid;gap:9px}.title-card-v83{min-height:92px;padding:15px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.title-card-v83 strong{font-size:18px}.title-card-v83 p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.title-card-v83>button,.title-card-v83>b,.title-card-v83>span{min-height:42px;padding:0 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);display:grid;place-items:center;font-size:11px;font-weight:850}.title-card-v83>button{background:var(--accent);color:var(--accent-ink)}

/* Store: clear categories, no repeated blocks. */
.wallet-overview-v83{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:22px!important}.wallet-overview-v83 article{min-width:0;min-height:112px;padding:12px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,var(--surface),var(--surface-2));display:grid;place-items:center;text-align:center}.wallet-overview-v83 svg{width:30px;height:30px;color:#ffd568}.wallet-overview-v83 span{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em}.wallet-overview-v83 strong{font-size:20px}.shop-group-v83{display:grid;gap:10px;margin-top:24px}.shop-group-v83 h2{margin:0;font-size:27px}.shop-group-v83>div{display:grid;gap:10px}.shop-group-v83 .product-card,.shop-group-v83 .plan-card{margin:0!important;border-radius:var(--wb-radius-one)!important}.shop-group-v83 .product-card{min-height:86px;padding:13px!important}.shop-group-v83 .plan-card{padding:17px!important}

/* Channel tasks are visible before ordinary missions. */
.channel-tasks-v83{display:grid;gap:10px}.channel-tasks-v83>p{margin:0;padding:12px 14px;border-radius:var(--wb-radius-one)!important;background:rgba(255,172,52,.08);color:#cdbb9f;font-size:11px;line-height:1.4}.channel-task-card,.channel-task-v6{margin:0!important;border-radius:var(--wb-radius-one)!important;overflow:hidden!important}

/* Light theme contrast. */
:root[data-theme="light"]{--wb-card:#fff;--wb-card-2:#f2f4f8;--wb-soft:#eef1f6}
:root[data-theme="light"] .play-banner-v83{background:linear-gradient(135deg,#ece7ff,#f5f6fa 58%,#e9f5e5);color:#12141a}
:root[data-theme="light"] .play-banner-v83 p,:root[data-theme="light"] .duel-v83 p,:root[data-theme="light"] .arena-v83 p{color:#626a78}
:root[data-theme="light"] .mode-card-v83,:root[data-theme="light"] .tournament-card-v83,:root[data-theme="light"] .word-progress-v83,:root[data-theme="light"] .support-ticket-v8,:root[data-theme="light"] .avatar-card-v83,:root[data-theme="light"] .title-card-v83{background:#fff!important;color:#12141a!important}
:root[data-theme="light"] .word-progress-v83{background:linear-gradient(135deg,#eaf4ff,#f0ecff 68%,#e8f5e8)!important}
:root[data-theme="light"] .game-note-v83{color:#6a5a43}

@media(max-width:520px){
  .page,.game-page{padding-inline:12px!important}.play-banner-v83{grid-template-columns:minmax(0,1fr) 112px;min-height:166px;padding:18px}.play-letters-v83{grid-template-columns:repeat(2,46px);gap:5px}.play-letters-v83 b{height:46px;border-radius:var(--wb-radius-one)!important;font-size:23px}.play-banner-v83 h1{font-size:31px}.play-banner-v83 p{font-size:11px}.mode-card-v83{min-height:170px;padding:14px}.mode-card-v83>strong{font-size:21px}.mode-card-v83>small{font-size:11px}.duel-v83,.arena-v83{grid-template-columns:50px minmax(0,1fr) 22px;min-height:145px;padding:16px;gap:12px}.duel-v83>span,.arena-v83>span{width:50px;height:50px}.duel-v83 h3,.arena-v83 h3{font-size:22px}.tournament-meta-v83{grid-template-columns:1fr 1fr}.tournament-meta-v83 span:last-child{grid-column:1/-1}.letter-deck-v83 .letter-tile{flex-basis:clamp(50px,16vw,70px)!important;width:clamp(50px,16vw,70px)!important;min-height:clamp(54px,17vw,74px)!important}.keyboard-v83 .key{height:40px!important;font-size:10px!important}.word-board-v83{max-width:330px!important}.builder-tools-v83 button{min-height:68px!important}.ranking-user-v8{grid-template-columns:1fr auto!important}.ranking-user-v8>span{grid-column:1/-1}.ranking-row-v8{grid-template-columns:38px 42px minmax(0,1fr) auto!important;padding:9px!important}.avatar-card-v83{padding:9px}.avatar-card-v83>div strong{font-size:13px}.avatar-card-v83>button:not(.avatar-preview-v83),.selected-label-v83,.locked-label-v83{min-height:43px}.sheet-head h2{font-size:28px!important}
}
@media(max-width:360px){.mode-grid-v83,.mode-grid-v83.two{grid-template-columns:1fr}.avatar-grid-v83{grid-template-columns:1fr 1fr}.play-banner-v83{grid-template-columns:1fr}.play-letters-v83{display:none}.word-board-v83{max-width:290px!important}.keyboard-v83 .key{height:36px!important;font-size:9px!important}.builder-actions-v83{grid-template-columns:54px minmax(0,1fr) 54px!important}}

/* =========================================================
   Words Buster 8.4.0 — premium minimalism / final overrides
   ========================================================= */
:root{
  --radius-xl:24px;
  --radius-lg:20px;
  --radius-md:16px;
  --radius-sm:12px;
}
:root[data-theme="light"]{
  --bg:#f7f8fb;
  --bg-elevated:#ffffff;
  --surface:#ffffff;
  --surface-2:#f0f2f6;
  --surface-3:#e7eaf0;
  --surface-soft:#fafbfc;
  --text:#11141b;
  --text-soft:#3f4653;
  --muted:#737b8a;
  --muted-2:#a0a7b3;
  --line:rgba(18,23,32,.055);
  --accent:#659515;
  --accent-hover:#57820f;
  --accent-ink:#fff;
  --shadow:none;
  --shadow-soft:none;
}
body,.app-shell,.screen-root{background:var(--bg)!important}
.app-shell:before{background:radial-gradient(circle at 96% 22%,rgba(101,149,21,.045),transparent 25%),radial-gradient(circle at 4% 0%,rgba(121,88,255,.05),transparent 30%)!important}
button,strong,h1,h2,h3,b{letter-spacing:-.025em}
.page h1,.page h2,.game-page h1,.game-page h2,.sheet-head h2{font-weight:650!important}
.page h3,.game-page h3,.sheet-head h3{font-weight:620!important}
button,strong{font-weight:600!important}
small,p,span,input,textarea{font-weight:400}
svg{max-width:22px;max-height:22px;stroke-width:1.8}
.mode-card-v84>span svg,.competition-card-v84>span svg,.chain-choice-v84>button>span svg{width:21px!important;height:21px!important}

/* sheets: always below Telegram controls, one scroll container */
.bottom-sheet.sheet-v83,.bottom-sheet{
  width:min(720px,100%)!important;
  max-height:calc(100dvh - max(106px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;
  border-radius:var(--wb-radius-one)!important;
  background:var(--bg-elevated)!important;
  box-shadow:none!important;
}
#modalContent{
  max-height:calc(100dvh - max(164px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;
  padding:0 18px calc(22px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))!important;
}
.sheet-handle{width:56px!important;height:4px!important;margin:12px auto 18px!important;background:var(--surface-3)!important}
.sheet-close{right:16px!important;top:11px!important;width:38px!important;height:38px!important;border-radius:var(--wb-radius-one)!important;font-size:24px!important;background:var(--surface-2)!important;z-index:80!important}
.sheet-head{padding:64px 2px 18px!important}
.sheet-head h2{margin:0!important;font-size:clamp(27px,7vw,38px)!important;line-height:1.05!important}
.sheet-head p{margin:10px 0 0!important;max-width:590px!important;color:var(--muted)!important;font-size:13px!important;line-height:1.55!important}
:root[data-theme="light"] .modal-backdrop{background:rgba(23,28,38,.22)!important;backdrop-filter:blur(8px)}
:root[data-theme="light"] .bottom-sheet{border-top:1px solid rgba(18,23,32,.04)!important}

/* play */
.play-page-v84{display:grid;gap:24px;padding:2px 0 12px}
.play-tabs-v84{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px;border-radius:var(--wb-radius-one)!important;background:var(--surface);position:sticky;top:0;z-index:4}
.play-tabs-v84 button{min-height:46px;border-radius:var(--wb-radius-one)!important;background:transparent;color:var(--muted);font-size:14px}
.play-tabs-v84 button.active{background:var(--accent);color:var(--accent-ink)}
.play-section-v84{display:grid;gap:14px}
.play-section-v84>header{display:flex;align-items:center;gap:12px}
.play-section-v84>header>span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface);color:var(--accent);font-size:13px;font-weight:650}
.play-section-v84 h2{margin:0;font-size:27px;line-height:1.05}
.mode-grid-v84{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mode-card-v84{position:relative;min-width:0;min-height:152px;padding:15px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:44px 1fr auto;grid-template-rows:44px auto 1fr;gap:9px 10px;text-align:left;overflow:hidden}
.mode-card-v84>span{width:44px;height:44px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:var(--surface-2);color:var(--violet)}
.mode-card-v84.amber>span{color:var(--amber)}.mode-card-v84.green>span{color:var(--accent)}.mode-card-v84.blue>span{color:var(--blue)}
.mode-card-v84>em{justify-self:end;align-self:start;padding:7px 9px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--muted);font-size:9px;font-style:normal;letter-spacing:.05em;text-transform:uppercase}
.mode-card-v84>strong{grid-column:1/-1;font-size:21px;line-height:1.05}
.mode-card-v84>small{grid-column:1/3;color:var(--muted);font-size:11px;line-height:1.45}
.mode-card-v84>svg{align-self:end;color:var(--muted);width:17px;height:17px}
.competition-grid-v84{display:grid;gap:11px}
.competition-card-v84{min-height:116px;padding:16px;border-radius:var(--wb-radius-one)!important;display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:13px;text-align:left;background:linear-gradient(135deg,rgba(255,91,131,.18),rgba(121,88,255,.14)),var(--surface)}
.competition-card-v84.arena{background:linear-gradient(135deg,rgba(255,184,67,.16),rgba(85,122,91,.08)),var(--surface)}
.competition-card-v84>span{width:48px;height:48px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;background:rgba(255,255,255,.055);color:var(--rose)}
.competition-card-v84.arena>span{color:var(--amber)}
.competition-card-v84 small{display:block;margin-bottom:5px;color:var(--rose);font-size:9px;letter-spacing:.09em;text-transform:uppercase}.competition-card-v84.arena small{color:var(--amber)}
.competition-card-v84 strong{display:block;font-size:22px}.competition-card-v84 p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.4}
.competition-card-v84>svg{color:var(--muted);width:17px;height:17px}
.play-tournaments-v84,.tournament-group-v84{display:grid;gap:13px}.tournament-group-v84>header{display:flex;align-items:center;gap:12px}.tournament-group-v84>header span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--accent);display:grid;place-items:center;font-size:11px}.tournament-group-v84 h2{margin:0;font-size:25px}.tournament-group-v84>div{display:grid;gap:11px}
:root[data-theme="light"] .mode-card-v84,:root[data-theme="light"] .play-tabs-v84,:root[data-theme="light"] .competition-card-v84{box-shadow:0 1px 0 rgba(18,23,32,.025)}

/* game layout */
.word-builder-v84{display:grid;gap:14px;max-width:680px;margin:0 auto;padding-bottom:18px}
.game-context-v84{min-height:70px;padding:12px 14px;border-radius:var(--wb-radius-one)!important;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:11px;background:linear-gradient(135deg,rgba(255,91,131,.15),rgba(121,88,255,.12)),var(--surface)}
.game-context-v84.arena{background:linear-gradient(135deg,rgba(255,184,67,.14),rgba(71,108,91,.08)),var(--surface)}
.context-avatar-v84{width:44px;height:44px;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:var(--surface-2);display:grid;place-items:center}.context-avatar-v84 img{width:100%;height:100%;object-fit:cover}
.game-context-v84 small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.game-context-v84 strong{display:block;margin-top:3px;font-size:16px}.game-context-v84 em{font-style:normal;color:var(--accent);font-size:10px;text-align:right}
.word-progress-v84{width:100%;min-height:76px;padding:13px 14px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(50,119,173,.18),rgba(105,75,192,.14),rgba(58,113,75,.09)),var(--surface);display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left}
.word-progress-v84>span:first-child{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:rgba(75,166,235,.12);color:var(--blue);display:grid;place-items:center}.word-progress-v84 strong{display:block;font-size:17px}.word-progress-v84 small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.game-timer-v84{min-width:78px;padding:8px 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);text-align:right}.game-timer-v84 small{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.game-timer-v84 b{display:block;margin-top:2px;font-size:18px;color:var(--warning)}.game-timer-v84.untimed b{color:var(--accent)}
.selected-word-v84{min-height:78px!important;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(121,88,255,.08),rgba(92,75,150,.05)),var(--surface)!important}
.letter-deck-v84{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:10px!important;padding:2px 0!important}
.letter-deck-v84 .letter-tile{width:clamp(58px,15vw,78px)!important;flex:0 0 clamp(58px,15vw,78px)!important;min-height:clamp(62px,16vw,82px)!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;font-size:clamp(28px,8vw,40px)!important;font-weight:650!important}
.builder-actions-v84{display:grid;grid-template-columns:58px minmax(0,1fr) 58px;gap:10px}.builder-actions-v84>button{min-height:58px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;font-size:28px}.builder-actions-v84 .primary-button{background:var(--accent);color:var(--accent-ink);font-size:15px}
.builder-tools-v84{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.builder-tools-v84>button{min-height:62px;padding:8px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;color:var(--muted);font-size:10px}.builder-tools-v84 svg{color:var(--accent);width:20px;height:20px}.builder-tools-v84 b{color:var(--warning);font-size:10px}
.game-note-v84{min-height:48px;padding:11px 13px;border-radius:var(--wb-radius-one)!important;background:rgba(255,184,67,.08);color:#b9a78e;display:flex;align-items:flex-start;gap:10px;font-size:10px;line-height:1.45}.game-note-v84 svg{color:var(--warning);width:17px;height:17px}.game-note-v84.competitive{background:rgba(121,88,255,.09);color:var(--muted)}
.hint-word-v84{padding:11px 13px;border-radius:var(--wb-radius-one)!important;background:rgba(173,255,69,.06);display:flex;align-items:center;gap:10px}.hint-word-v84 svg{color:var(--accent)}.hint-word-v84 small{display:block;color:var(--muted);font-size:9px}.hint-word-v84 strong{display:block;margin-top:3px;font-size:16px}
.game-summary-v84,.chain-focus-v84{border-radius:var(--wb-radius-one)!important}.game-summary-v84{min-height:70px!important;padding:13px 14px!important}.chain-focus-v84{min-height:112px!important;padding:18px!important}.chain-keyboard-v84 .key{font-weight:560!important}

/* result */
.result-page-v84{max-width:640px!important;min-height:100%;margin:0 auto;padding:clamp(42px,8vh,74px) 2px 24px!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
.result-brand-logo-v84{width:72px;height:72px;object-fit:contain;margin:0 0 17px}
.result-kicker-v84{color:var(--muted);font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.result-page-v84 h1{margin:10px 0 22px!important;font-size:clamp(38px,10vw,58px)!important;line-height:.98!important;font-weight:620!important}
.percentile-card-v84{width:100%;padding:21px 18px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(110deg,rgba(80,125,49,.19),rgba(60,64,75,.12),rgba(95,69,170,.19));font-size:clamp(20px,5vw,29px);line-height:1.18;font-weight:560}
.result-stats-v84{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.result-stats-v84 article{min-height:104px;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;align-content:center}.result-stats-v84 strong{font-size:clamp(25px,7vw,38px)!important;font-weight:700!important}.result-stats-v84 span{margin-top:5px;color:var(--muted);font-size:10px}
.result-penalty-v84{width:100%;min-height:70px;padding:13px 16px;border-radius:var(--wb-radius-one)!important;background:rgba(255,96,119,.1);display:flex;align-items:center;justify-content:center;gap:12px;color:var(--danger)}.result-penalty-v84 svg{width:21px;height:21px}.result-penalty-v84 strong{display:block;font-size:16px;font-weight:600!important}.result-penalty-v84 small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.result-penalty-v84.zero{background:rgba(255,96,119,.13)}
.result-actions-v84{width:100%;display:grid;gap:10px;margin-top:20px}.share-result-v84,.result-actions-v84 .primary-button,.result-actions-v84 .secondary-button{min-height:58px;border-radius:var(--wb-radius-one)!important;font-size:14px}.share-result-v84{background:linear-gradient(105deg,#7753ff,#5b3fe3);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px}.share-result-v84 svg{width:20px;height:20px}

/* matchmaking and chain choice */
.duel-search-v84{display:grid;place-items:center;gap:15px;padding:18px 0 10px;text-align:center}.duel-search-mark-v84{width:70px;height:70px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,rgba(255,102,137,.2),rgba(121,88,255,.18));color:var(--rose);display:grid;place-items:center}.duel-search-mark-v84 svg{width:30px;height:30px}.duel-search-v84>strong{font-size:30px;font-weight:620!important}.duel-search-pulse-v84{display:flex;gap:7px}.duel-search-pulse-v84 i{width:8px;height:8px;border-radius:var(--wb-radius-one)!important;background:var(--accent);animation:v84pulse 1.2s infinite}.duel-search-pulse-v84 i:nth-child(2){animation-delay:.2s}.duel-search-pulse-v84 i:nth-child(3){animation-delay:.4s}@keyframes v84pulse{50%{opacity:.25;transform:scale(.7)}}
.chain-choice-v84,.chain-friends-v84{display:grid;gap:9px}.chain-choice-v84>button,.chain-friends-v84>button{min-height:76px;padding:12px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:12px;text-align:left}.chain-choice-v84>button>span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--accent);display:grid;place-items:center}.chain-choice-v84 strong,.chain-friends-v84 strong{display:block;font-size:16px}.chain-choice-v84 small,.chain-friends-v84 small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.chain-choice-v84>button>svg,.chain-friends-v84>button>svg{color:var(--muted);width:16px;height:16px}.sheet-empty-v84{padding:28px 16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);text-align:center}

/* arena */
.arena-stats-v84{display:grid;grid-template-columns:1fr 1fr;gap:9px}.arena-stats-v84 article{min-height:88px;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;align-content:center;text-align:center}.arena-stats-v84 strong{font-size:24px}.arena-stats-v84 span{margin-top:4px;color:var(--muted);font-size:10px}.arena-note-v84{margin:11px 0;padding:12px 13px;border-radius:var(--wb-radius-one)!important;background:rgba(255,184,67,.08);display:flex;align-items:flex-start;gap:9px;color:var(--muted);font-size:10px;line-height:1.45}.arena-note-v84 svg{color:var(--warning);width:18px;height:18px}.arena-players-v84{display:grid;gap:8px;margin:11px 0}.arena-players-v84 article{min-height:65px;padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:24px 40px minmax(0,1fr) auto;align-items:center;gap:9px}.arena-players-v84 article>b{color:var(--accent);font-size:12px}.arena-players-v84 strong{display:block;font-size:14px}.arena-players-v84 small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.arena-players-v84 em{font-style:normal;color:var(--text-soft);font-size:12px}.live-wait.compact{min-height:50px!important;padding:10px 12px!important;border-radius:var(--wb-radius-one)!important}

/* player/ranking */
.player-profile-v84{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:15px;padding:15px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(121,88,255,.12),rgba(76,112,80,.07)),var(--surface)}.profile-avatar-v84{width:78px;height:78px;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:var(--surface-2);display:grid;place-items:center}.profile-avatar-v84 img{width:100%;height:100%;object-fit:cover}.player-profile-v84 h3{margin:0;font-size:23px}.player-profile-v84 p{margin:5px 0;color:var(--muted);font-size:11px}.player-stats-v84{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:11px 0}.player-stats-v84 article{min-height:83px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;align-content:center}.player-stats-v84 strong{font-size:23px}.player-stats-v84 span{margin-top:4px;color:var(--muted);font-size:10px}.player-actions-v84{display:grid;gap:9px}
.ranking-page-v84{display:grid;gap:13px;padding-bottom:12px}.ranking-head-v84{padding:22px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(121,88,255,.17),rgba(55,68,78,.09),rgba(76,126,58,.12)),var(--surface)}.ranking-head-v84>span{color:var(--muted);font-size:9px;letter-spacing:.12em;text-transform:uppercase}.ranking-head-v84 h1{margin:9px 0 8px;font-size:39px}.ranking-head-v84 p{margin:0;color:var(--muted);font-size:12px}.ranking-head-v84>div{margin-top:16px;padding:13px 15px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.045);display:flex;align-items:center;justify-content:space-between}.ranking-head-v84>div strong{font-size:18px}.ranking-head-v84>div em{font-style:normal;color:var(--muted);font-size:11px}.ranking-scroll-v84{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:1px 0}.ranking-scroll-v84::-webkit-scrollbar{display:none}.ranking-scroll-v84 button{flex:0 0 auto;min-height:40px;padding:0 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);font-size:11px;white-space:nowrap}.ranking-scroll-v84 button.active{background:var(--accent);color:var(--accent-ink)}.your-ranking-v84{padding:13px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(130deg,rgba(91,143,39,.12),rgba(121,88,255,.12))}.your-ranking-v84>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;color:var(--muted);font-size:11px}.your-ranking-v84>header b{color:var(--accent);font-size:18px}.ranking-list-v84{display:grid;gap:8px}.ranking-row-v84{width:100%;min-height:68px;padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:42px 42px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left}.ranking-row-v84.me{background:var(--surface-2)}.rank-position-v84{color:var(--muted);font-size:11px}.ranking-row-v84 strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.ranking-row-v84 small{display:block;margin-top:3px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.ranking-row-v84 em{font-style:normal;color:var(--accent);font-size:14px}.ranking-empty-v84{padding:28px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);text-align:center}.ranking-loading-v84{height:90px;display:grid;place-items:center}.ranking-loading-v84 i{width:28px;height:28px;border:2px solid var(--surface-3);border-top-color:var(--accent);border-radius:var(--wb-radius-one)!important;animation:spin .8s linear infinite}
:root[data-theme="light"] .ranking-head-v84>div{background:rgba(255,255,255,.6)}

/* avatar */
.avatar-grid-v84{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.avatar-card-v84{padding:10px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;gap:9px;align-content:start}.avatar-card-v84.selected{background:linear-gradient(145deg,rgba(121,88,255,.12),var(--surface))}.avatar-preview-v84{width:100%;aspect-ratio:1;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:linear-gradient(135deg,rgba(121,88,255,.17),rgba(91,145,52,.11));display:block}.avatar-preview-v84 img{width:100%;height:100%;object-fit:cover}.avatar-preview-v84>span{height:100%;display:grid;place-items:center;align-content:center}.avatar-preview-v84>span b{font-size:32px}.avatar-preview-v84>span small{color:var(--muted);font-size:9px}.avatar-card-v84>strong{font-size:13px;line-height:1.25}.avatar-state-v84{min-height:41px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font-size:11px}.avatar-state-v84.selected,.avatar-state-v84.locked{background:var(--surface-2);color:var(--muted)}.avatar-detail-v84{display:grid;gap:14px}.avatar-detail-v84>img,.avatar-detail-v84>span{width:min(270px,75vw);aspect-ratio:1;margin:0 auto;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(121,88,255,.17),rgba(91,145,52,.11));object-fit:cover}.avatar-detail-v84>span{display:grid;place-items:center;align-content:center}.avatar-detail-v84>span b{font-size:52px}.avatar-detail-v84>span small{color:var(--muted)}.avatar-detail-v84 p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.avatar-detail-state-v84{min-height:50px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;color:var(--muted);font-size:12px}

/* shop */
.wallet-overview-v84{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(121,88,255,.12),rgba(61,85,69,.06)),var(--surface)}.wallet-overview-v84 article{min-width:0;min-height:90px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;align-content:center;text-align:center}.wallet-overview-v84 svg{color:var(--amber);width:23px;height:23px}.wallet-overview-v84 span{margin-top:6px;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em}.wallet-overview-v84 strong{margin-top:4px;font-size:17px}.shop-group-v84{display:grid;gap:10px;margin-top:22px}.shop-group-v84 h2{margin:0;font-size:24px}.shop-group-v84>div{display:grid;gap:9px}.product-card-v84{width:100%;min-height:82px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:center;gap:11px;text-align:left}.product-card-v84>span{width:43px;height:43px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--amber);display:grid;place-items:center}.product-card-v84 strong{display:block;font-size:15px}.product-card-v84 small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.35}.product-card-v84 i{display:block;margin-top:5px;color:var(--accent);font-size:9px;font-style:normal}.product-card-v84 em,.plan-card-v84 em{display:inline-block;margin-bottom:5px;padding:4px 7px;border-radius:var(--wb-radius-one)!important;background:rgba(173,255,69,.1);color:var(--accent);font-size:8px;font-style:normal}.product-card-v84>b{display:grid;gap:2px;text-align:right;font-size:14px}.product-card-v84 s,.plan-card-v84 s{display:block;color:var(--muted-2);font-size:9px;font-weight:400}.plan-card-v84{padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;gap:10px}.plan-card-v84.featured{background:linear-gradient(145deg,rgba(121,88,255,.13),var(--surface))}.plan-card-v84 header{display:flex;justify-content:space-between;gap:14px}.plan-card-v84 header strong{display:block;font-size:19px}.plan-card-v84 header>b{text-align:right;font-size:17px}.plan-card-v84 p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.plan-card-v84>span{color:var(--accent);font-size:10px}.premium-benefits-v84{display:grid;gap:7px}.premium-benefits-v84>div{min-height:54px;padding:11px 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;gap:10px;font-size:11px}.premium-benefits-v84 svg{color:var(--accent);width:17px;height:17px}.premium-plans-v84{display:grid;gap:10px;margin-top:18px}

/* support and missions */
.support-form-v84{display:grid;gap:11px}.support-form-v84 label{display:grid;gap:7px;color:var(--muted);font-size:11px}.support-form-v84 input,.support-form-v84 textarea{width:100%;border:0;outline:0;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--text);padding:13px}.support-form-v84 input{min-height:50px}.support-form-v84 textarea{min-height:120px;resize:vertical}.support-file-v84{position:relative;min-height:82px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center;gap:10px!important;overflow:hidden}.support-file-v84>svg{color:var(--blue);width:22px;height:22px}.support-file-v84 strong{display:block;color:var(--text);font-size:12px}.support-file-v84 small{display:block;margin-top:3px;font-size:9px;line-height:1.4}.support-file-v84 input[type=file]{grid-column:1/-1;min-height:40px;padding:7px;background:var(--surface-2);font-size:10px}.support-status{min-height:0;color:var(--danger);font-size:10px}.support-history-v84{display:grid;gap:10px;margin-top:22px}.support-history-v84>h2{margin:0;font-size:24px}.support-history-v84>article{padding:14px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}.support-history-v84 header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.support-history-v84 header strong{min-width:0;overflow-wrap:anywhere;font-size:13px}.support-history-v84 header span{color:var(--accent);font-size:10px}.support-history-v84 article>div{display:grid;gap:7px;margin-top:10px}.support-history-v84 p{margin:0;padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:11px;line-height:1.45;overflow-wrap:anywhere}.support-history-v84 p.admin{background:rgba(121,88,255,.12)}.support-history-v84 p small{display:block;margin-top:7px;color:var(--muted);font-size:8px}.support-history-v84 p a{display:inline-block;margin-top:7px;color:var(--blue);font-size:9px}.support-history-v84 article>button{margin-top:10px;background:transparent;color:var(--accent);font-size:11px}
.channel-tasks-v84,.missions-v84{display:grid;gap:9px;margin-top:24px}.mission-title-v84{display:flex;align-items:center;justify-content:space-between;gap:10px}.mission-title-v84 h3{margin:0;color:var(--accent);font-size:13px}.mission-title-v84 small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px}.mission-title-v84 i{width:7px;height:7px;border-radius:var(--wb-radius-one)!important;background:var(--accent)}.channel-task-v84{padding:13px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(48,110,103,.12),var(--surface));display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:10px}.channel-task-v84>span{width:38px;height:38px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--blue);display:grid;place-items:center}.channel-task-v84 strong{display:block;font-size:14px}.channel-task-v84 small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.4}.channel-task-v84>em{color:var(--warning);font-size:11px;font-style:normal}.channel-task-v84>div:last-child,.channel-task-v84>b{grid-column:2/-1;display:flex;gap:8px;align-items:center}.channel-task-v84>div:last-child button{min-height:38px;padding:0 11px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:9px}.channel-task-v84>div:last-child button:last-child{background:var(--accent);color:var(--accent-ink)}.channel-task-v84>b{color:var(--success);font-size:10px}.channel-warning-v84{margin:0;padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:rgba(255,184,67,.07);color:var(--muted);font-size:9px;line-height:1.4}

@media(max-width:520px){
  .bottom-sheet.sheet-v83,.bottom-sheet{max-height:calc(100dvh - max(96px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important}
  #modalContent{max-height:calc(100dvh - max(154px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;padding-inline:14px!important}
  .sheet-head{padding-top:58px!important}.sheet-head h2{font-size:28px!important}
  .mode-card-v84{min-height:148px;padding:13px}.mode-card-v84>strong{font-size:19px}.mode-card-v84>small{font-size:10px}
  .competition-card-v84{min-height:108px;padding:13px}.competition-card-v84 strong{font-size:19px}
  .word-builder-v84{gap:12px}.word-progress-v84{min-height:72px;padding:11px}.game-timer-v84{min-width:72px}.letter-deck-v84{gap:8px!important}.letter-deck-v84 .letter-tile{width:clamp(54px,15vw,68px)!important;flex-basis:clamp(54px,15vw,68px)!important;min-height:clamp(58px,16vw,72px)!important}
  .result-page-v84{padding-top:38px!important}.result-page-v84 h1{font-size:40px!important}.result-brand-logo-v84{width:62px;height:62px}.result-stats-v84 article{min-height:94px}.result-stats-v84 strong{font-size:27px!important}
  .ranking-head-v84{padding:19px}.ranking-head-v84 h1{font-size:34px}.ranking-row-v84{grid-template-columns:35px 40px minmax(0,1fr) auto;padding:9px}
}
@media(max-width:360px){
  .mode-grid-v84{grid-template-columns:1fr}.avatar-grid-v84{grid-template-columns:1fr 1fr}.wallet-overview-v84 article{min-height:82px}.wallet-overview-v84 strong{font-size:15px}.result-stats-v84{gap:7px}.result-stats-v84 article{padding:8px}.result-stats-v84 strong{font-size:23px!important}
}

/* Words Buster 8.4.0 — final correction pass */
.bottom-sheet.sheet-v83,.bottom-sheet{
  max-height:calc(100dvh - max(128px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;
}
#modalContent{
  max-height:calc(100dvh - max(186px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;
}
.sheet-head{padding-top:56px!important}
.sheet-head h2{font-weight:610!important}
.sheet-head p{font-weight:400!important}

/* stop inherited giant card geometry */
.word-progress-v84,.game-summary-v84,.arena-note-v84,.game-context-v84{
  height:auto!important;max-height:none!important;aspect-ratio:auto!important;
}
.word-progress-v84{min-height:74px!important}
.word-progress-v84 svg,.arena-note-v84 svg,.game-note-v84 svg{width:17px!important;height:17px!important}
.game-timer-v84{height:auto!important;min-height:48px!important;align-self:center}
.game-timer-v84 b{font-weight:650!important;font-variant-numeric:tabular-nums}
.builder-actions-v84>button{font-weight:520!important}
.builder-tools-v84>button span{font-weight:450!important}

/* result page remains scrollable and restrained */
.result-screen{overflow-y:auto!important;overscroll-behavior-y:contain!important}
.result-screen .result-page-v84{height:auto!important;min-height:100%!important;overflow:visible!important;justify-content:flex-start!important}
.result-page-v84 h1{font-weight:560!important}
.percentile-card-v84{font-weight:520!important}
.result-penalty-v84{min-height:58px!important;padding:10px 13px!important;justify-content:flex-start!important;text-align:left!important}
.result-penalty-v84 strong{font-size:13px!important;font-weight:560!important}
.result-penalty-v84 small{font-size:9px!important}
.result-actions-v84{padding-bottom:calc(12px + var(--tg-safe-bottom))}

/* compact, complete challenge result */
.challenge-result-v84{display:grid;gap:12px}
.challenge-result-v84>header{display:flex;align-items:center;gap:12px;padding:13px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(255,91,131,.12),rgba(121,88,255,.1)),var(--surface)}
.challenge-result-v84>header>span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--rose);display:grid;place-items:center}
.challenge-result-v84>header svg{width:19px!important;height:19px!important}
.challenge-result-v84>header small{display:block;color:var(--muted);font-size:9px}
.challenge-result-v84>header h3{margin:3px 0 0;font-size:19px;font-weight:590!important}
.challenge-score-v84{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center}
.challenge-score-v84>em{font-style:normal;color:var(--muted);font-size:9px}
.challenge-side-v84{min-width:0;padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;align-items:center}
.challenge-side-v84>b{grid-column:1/-1;text-align:center;font-size:26px;font-weight:700!important}
.challenge-side-v84 strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:560!important}
.challenge-side-v84 small{display:block;margin-top:2px;color:var(--muted);font-size:8px}
.challenge-avatar-v84{width:38px;height:38px;border-radius:var(--wb-radius-one)!important;overflow:hidden;background:var(--surface-2);display:grid;place-items:center}
.challenge-avatar-v84 img{width:100%;height:100%;object-fit:cover}
.challenge-word-columns-v84{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.challenge-word-columns-v84>article{min-width:0;padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}
.challenge-word-columns-v84>article>strong{font-size:10px;font-weight:560!important}
.challenge-word-columns-v84>article>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.challenge-word-columns-v84 span{padding:5px 7px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:8px}
.challenge-word-columns-v84 small{color:var(--muted);font-size:9px}
.challenge-wait-v84{min-height:52px;padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:10px}
.challenge-wait-v84 i{width:8px;height:8px;border-radius:var(--wb-radius-one)!important;background:var(--accent);animation:v84pulse 1.1s infinite}

/* profile and white theme contrast */
.profile-copy-v7>span,.profile-copy-v7>p,.profile-xp-v7 span,.profile-xp-v7 b{font-weight:400!important}
.profile-copy-v7>h1{font-weight:610!important}
.profile-plus-v7 strong{font-weight:570!important}
:root[data-theme="light"] .profile-hero-v7{
  background:linear-gradient(135deg,#e8e4fb,#f7f8fb 58%,#e8efe9)!important;
  color:#11141b!important;
}
:root[data-theme="light"] .profile-copy-v7>span,
:root[data-theme="light"] .profile-copy-v7>p,
:root[data-theme="light"] .profile-xp-v7 span,
:root[data-theme="light"] .profile-xp-v7 b{color:#596170!important;opacity:1!important}
:root[data-theme="light"] .profile-title-v7{background:rgba(255,255,255,.76)!important;color:#11141b!important}
:root[data-theme="light"] .profile-title-v7 small{color:#697386!important}
:root[data-theme="light"] .profile-xp-v7 i{background:#dfe3ea!important}
:root[data-theme="light"] .profile-stats-v7 article,
:root[data-theme="light"] .achievement-list-v7 article,
:root[data-theme="light"] .settings-list-v7 button{background:#fff!important;color:#11141b!important}

/* light theme: clean cards and readable muted text */
:root[data-theme="light"]{
  --bg:#f6f8fb;--bg-elevated:#fff;--surface:#fff;--surface-2:#edf1f6;--surface-3:#dfe5ed;
  --text:#10141b;--text-soft:#303846;--muted:#626d7d;--muted-2:#929bab;--line:rgba(16,20,27,.065);
}
:root[data-theme="light"] .app-shell:before{background:radial-gradient(circle at 100% 18%,rgba(101,149,21,.055),transparent 27%),radial-gradient(circle at 0 0,rgba(121,88,255,.055),transparent 30%)!important}
:root[data-theme="light"] .bottom-nav .nav-inner,:root[data-theme="light"] .topbar{background:rgba(255,255,255,.96)!important}
:root[data-theme="light"] .mode-card-v84,
:root[data-theme="light"] .competition-card-v84,
:root[data-theme="light"] .ranking-row-v84,
:root[data-theme="light"] .avatar-card-v84,
:root[data-theme="light"] .product-card-v84,
:root[data-theme="light"] .plan-card-v84,
:root[data-theme="light"] .support-history-v84>article,
:root[data-theme="light"] .channel-task-v84{background-color:#fff!important;color:#10141b!important}
:root[data-theme="light"] .word-progress-v84{background:linear-gradient(135deg,#eaf3fb,#eeeafd 58%,#edf5eb)!important;color:#10141b!important}
:root[data-theme="light"] .selected-word-v84{background:linear-gradient(135deg,#fff,#f2f0fb)!important;color:#10141b!important}
:root[data-theme="light"] .game-note-v84{color:#695b43!important}
:root[data-theme="light"] .game-note-v84.competitive{color:#596375!important}
:root[data-theme="light"] .ranking-head-v84{background:linear-gradient(135deg,#ebe7fb,#f8f9fb 58%,#eaf2e8)!important;color:#10141b!important}
:root[data-theme="light"] .ranking-head-v84 p,:root[data-theme="light"] .ranking-head-v84>span{color:#687283!important}
:root[data-theme="light"] .percentile-card-v84{background:linear-gradient(110deg,#eaf4e7,#f0f1f5,#eeeafd)!important;color:#11151d!important}
:root[data-theme="light"] .result-penalty-v84{color:#a9324f!important;background:#fff0f3!important}
:root[data-theme="light"] .arena-note-v84{background:#fff7e9!important;color:#665b49!important}

/* support: one clean form, no native overflow */
.support-reply-sheet-v84 .sheet-head{padding-bottom:14px!important}
.support-back-v84{margin-top:9px}
.support-form-v84 input[type=file]{color:var(--muted)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.support-form-v84 input[type=file]::file-selector-button{border:0;border-radius:var(--wb-radius-one)!important;background:var(--surface-3);color:var(--text);padding:8px 10px;margin-right:9px;font:inherit}
.support-history-v84 header span{white-space:nowrap}
.support-history-v84 p span{display:block}

/* channel tasks: remove visual overload */
.channel-task-v84 small{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.channel-warning-v84{font-size:8px!important}

/* avatars: detail never repeats the header copy */
.avatar-detail-v84 p{padding:12px 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:11px!important}
.avatar-detail-state-v84{min-height:44px!important;font-size:10px!important}
.avatar-card-v84>strong{font-weight:560!important}

/* shop: compact wallet and countdown */
.wallet-overview-v84 article{min-height:78px!important}
.wallet-overview-v84 svg{width:20px!important;height:20px!important}
.wallet-overview-v84 strong{font-weight:630!important}
.plan-card-v84>span,.product-card-v84 i{display:inline-flex;width:max-content;padding:5px 7px;border-radius:var(--wb-radius-one)!important;background:rgba(101,149,21,.09);font-weight:520!important}
.plan-card-v84 header strong,.product-card-v84 strong{font-weight:570!important}

@media(max-width:520px){
  .bottom-sheet.sheet-v83,.bottom-sheet{max-height:calc(100dvh - max(118px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important}
  #modalContent{max-height:calc(100dvh - max(176px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important}
  .sheet-head{padding-top:52px!important}
  .challenge-word-columns-v84{grid-template-columns:1fr}
  .result-page-v84{padding-top:30px!important}
  .result-brand-logo-v84{width:58px!important;height:58px!important;margin-bottom:12px!important}
  .result-page-v84 h1{font-size:37px!important;margin-bottom:17px!important}
  .percentile-card-v84{padding:17px 14px!important;font-size:20px!important}
  .result-stats-v84{margin:14px 0!important}
  .result-stats-v84 article{min-height:86px!important}
}

/* Words Buster 8.5.0 — final interface integrity layer */
:root{
  --v85-card-radius:18px;
  --v85-soft:color-mix(in srgb,var(--surface) 90%,var(--violet) 10%);
}

/* Typography stays calm: hierarchy through size and spacing, not excessive weight. */
.page h1,.game-page h1,.sheet-head h2{font-weight:600!important}
.page h2,.game-page h2{font-weight:580!important}
.page h3,.game-page h3,.sheet-head h3,strong{font-weight:560!important}
button{font-weight:540!important}
svg{stroke-width:1.7!important}

/* Every bottom sheet begins immediately below its own compact toolbar. */
.bottom-sheet.sheet-v83,.bottom-sheet{
  max-height:calc(100dvh - max(88px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;
  border-radius:var(--wb-radius-one)!important;
}
.sheet-topline{
  position:sticky!important;top:0!important;z-index:90!important;
  min-height:52px!important;height:52px!important;padding:9px 16px!important;
  background:var(--bg-elevated)!important;
}
.sheet-handle{width:48px!important;height:4px!important;margin:4px auto 0!important}
.sheet-close{right:14px!important;top:7px!important;width:38px!important;height:38px!important;border-radius:var(--wb-radius-one)!important;font-size:24px!important}
#modalContent{
  max-height:calc(100dvh - max(140px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;
  padding:2px 18px calc(18px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))!important;
}
.sheet-head{padding:10px 52px 16px 2px!important}
.sheet-head h2{font-size:clamp(25px,6.5vw,36px)!important;line-height:1.08!important}
.sheet-head p{margin-top:8px!important;font-size:12px!important;line-height:1.5!important}
.chain-friend-sheet-v84 #modalContent,.chain-friend-sheet-v85 #modalContent{padding-bottom:calc(12px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))!important}
.chain-friends-v84{gap:8px!important}
.chain-friends-v84+button{margin:10px 0 0!important}

/* Daily banner: no internal technical kicker and no stretched artwork. */
.daily-hero-v85{min-height:286px!important;align-items:center!important}
.daily-hero-v85 .daily-hero-copy{align-self:center!important}
.daily-hero-v85 .daily-hero-copy h1{margin-top:0!important}
.daily-hero-v85 .daily-hero-art{width:min(30vw,164px)!important;max-width:164px!important;aspect-ratio:1!important}
.daily-hero-v85 .daily-hero-art img,.daily-hero-v85 .hero-art{width:100%!important;height:100%!important;object-fit:contain!important}

/* Mission cards stand on their own; no duplicated section labels. */
.mission-stack-v85{display:grid;gap:10px;margin-top:22px}
.channel-task-v85{
  width:100%;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto auto!important;
  align-items:center;gap:11px;padding:13px!important;border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,rgba(54,183,235,.09),rgba(90,226,155,.07)),var(--surface)!important;
  text-align:left;color:var(--text);
}
.channel-task-v85>span{width:48px;height:48px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:#55b8f8}
.channel-task-v85>span svg{width:20px!important;height:20px!important}
.channel-task-v85 strong{display:block;font-size:14px}
.channel-task-v85 small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.45}
.channel-task-v85 em{font-style:normal;color:var(--amber);font-size:11px;white-space:nowrap}
.channel-task-v85>b{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:9px;white-space:nowrap}
.channel-task-v85>b svg{width:15px!important;height:15px!important}
.channel-detail-v85{display:grid;gap:13px;padding-bottom:4px}
.channel-detail-v85>span{width:52px;height:52px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,#51b8f8 15%,var(--surface));color:#51b8f8;display:grid;place-items:center}
.channel-detail-v85 h3{margin:0;font-size:20px}
.channel-detail-v85 p{margin:0;color:var(--muted);line-height:1.55}
.channel-detail-v85>div{padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:flex;align-items:center;justify-content:space-between}
.channel-detail-v85>div small{color:var(--muted)}
.channel-detail-v85>div strong{color:var(--amber)}
.channel-detail-v85 aside{display:flex;align-items:flex-start;gap:9px;padding:12px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--amber) 9%,var(--surface));color:var(--muted);font-size:10px;line-height:1.5}
.channel-detail-v85 aside svg{flex:0 0 17px;color:var(--amber)}

/* Referrals: compact operational view without marketing headers. */
.referrals-page-v85{display:grid;gap:18px;padding-top:3px}
.referral-hero-v85{display:grid;grid-template-columns:52px minmax(0,1fr) 42px 42px;align-items:center;gap:10px;padding:16px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(121,88,255,.22),rgba(64,135,33,.12)),var(--surface);color:var(--text)}
.referral-hero-v85>span{width:52px;height:52px;border-radius:var(--wb-radius-one)!important;background:rgba(121,88,255,.16);display:grid;place-items:center;color:#9c82ff}
.referral-hero-v85>div{min-width:0}
.referral-hero-v85 strong{display:block;font-size:16px}
.referral-hero-v85 small{display:block;margin-top:5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.referral-hero-v85>button{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--text);display:grid;place-items:center}
.ref-metrics-v85{margin:0!important}
.friend-row-v85{min-height:72px!important;padding:10px 12px!important}
.friend-row-v85 .friend-main-v31 small{font-size:9px!important}

/* Profile and achievements. */
.profile-page-v85{display:grid;gap:18px}
.profile-page-v85 .profile-hero-v7{margin-bottom:0!important}
.achievements-heading-v85 button{color:var(--accent);font-size:11px}
.achievement-preview-v85{display:grid;gap:9px}
.achievement-card-v85{display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:11px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface)}
.achievement-card-v85>span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}
.achievement-card-v85.unlocked>span{background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}
.achievement-card-v85 strong{display:block;font-size:13px}
.achievement-card-v85 small{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.4}
.achievement-card-v85>svg{color:var(--accent);width:18px!important;height:18px!important}
.achievement-card-v85.locked{opacity:.62}
.achievement-modal-v85{display:grid;gap:9px;padding-bottom:6px}

/* Languages use recognisable compact vector flags. */
.language-options-v85{display:grid;gap:9px}
.language-options-v85>button{display:grid;grid-template-columns:46px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--text);text-align:left}
.language-options-v85>button.selected{background:color-mix(in srgb,var(--accent) 12%,var(--surface))}
.language-options-v85 strong,.language-options-v85 small{display:block}
.language-options-v85 small{margin-top:3px;color:var(--muted);font-size:9px}
.language-options-v85>button>svg:last-child{color:var(--accent);opacity:0}
.language-options-v85>button.selected>svg:last-child{opacity:1}
.language-flag-v85{width:44px!important;height:30px!important;max-width:none!important;max-height:none!important;border-radius:var(--wb-radius-one)!important;overflow:hidden}

/* Avatar list and detail: exactly one image and one description. */
.avatar-grid-v85{gap:10px!important;padding-bottom:4px}
.avatar-card-v84{min-width:0!important;padding:9px!important;border-radius:var(--wb-radius-one)!important;gap:8px!important}
.avatar-preview-v84{aspect-ratio:1!important;min-height:0!important;border-radius:var(--wb-radius-one)!important;overflow:hidden!important}
.avatar-preview-v84 img{width:100%!important;height:100%!important;object-fit:cover!important}
.avatar-card-v84>strong{font-size:12px!important;line-height:1.25!important;min-height:30px}
.avatar-state-v84{min-height:38px!important;border-radius:var(--wb-radius-one)!important;font-size:10px!important}
.avatar-detail-v85{display:grid;justify-items:center;gap:13px;padding-bottom:2px}
.avatar-detail-v85>img,.avatar-placeholder-v85{width:min(74vw,300px)!important;max-width:300px!important;aspect-ratio:1!important;border-radius:var(--wb-radius-one)!important;object-fit:cover!important;background:linear-gradient(145deg,#272340,#1d2522)!important}
.avatar-placeholder-v85{display:grid;place-items:center;color:var(--muted)}
.avatar-placeholder-v85 b{font-size:48px}
.avatar-placeholder-v85 small{align-self:start;margin-top:-72px}
.avatar-detail-v85>p{width:100%;box-sizing:border-box;margin:0;padding:13px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);font-size:11px;line-height:1.55;text-align:left}
.avatar-detail-v85>.full-button{width:100%;min-height:48px;border-radius:var(--wb-radius-one)!important}
.text-button-v85{min-height:38px;padding:0 12px;color:var(--muted);background:transparent}
.avatar-detail-sheet-v85 .sheet-head{padding-bottom:13px!important}

/* History: three cards on Play, full list in its own sheet. */
.recent-heading-v85{align-items:center!important}
.recent-heading-v85 button{color:var(--accent);font-size:10px}
.history-all-v85{display:grid;gap:8px}
.history-all-v85>button{display:grid;grid-template-columns:42px minmax(0,1fr) auto 18px;align-items:center;gap:10px;padding:11px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--text);text-align:left}
.history-all-v85>button>span{width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent)}
.history-all-v85 strong,.history-all-v85 small{display:block}
.history-all-v85 small{margin-top:3px;color:var(--muted);font-size:9px}
.history-all-v85>button>b{font-size:14px}
.chain-history-note-v85{margin:0 0 12px;padding:11px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--cyan) 8%,var(--surface));color:var(--muted);font-size:10px;line-height:1.5}

/* Tournament cards and recent participants. */
.tournament-card-v85{margin:0!important;border-radius:var(--wb-radius-one)!important;overflow:hidden}
.tournament-card-v85+.tournament-card-v85{margin-top:11px!important}
.tournament-card-v85 .tournament-meta-v83{gap:7px!important}
.tournament-card-v85 .tournament-meta-v83>button,.tournament-card-v85 .tournament-meta-v83>span{min-height:66px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:10px;color:var(--text);text-align:left}
.tournament-card-v85 .tournament-meta-v83 strong{font-size:16px}
.tournament-card-v85 .tournament-meta-v83 button{cursor:pointer}
.tournament-actions-v85{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;margin-top:10px}
.tournament-actions-v85 button{min-height:45px;border-radius:var(--wb-radius-one)!important}
.tournament-players-v85{display:grid;gap:8px}
.tournament-players-v85>button{display:grid;grid-template-columns:32px 42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--text);text-align:left}
.tournament-players-v85>button>b{color:var(--muted);font-size:10px}
.tournament-players-v85 strong,.tournament-players-v85 small{display:block}
.tournament-players-v85 small{margin-top:3px;color:var(--muted);font-size:9px}
.tournament-players-v85 em{font-style:normal;font-size:13px}

/* Ranking hero carries live, useful values and no implementation copy. */
.ranking-page-v85{display:grid;gap:14px}
.ranking-head-v85{padding:18px!important;min-height:0!important}
.ranking-head-v85>span{font-size:9px!important;letter-spacing:.14em;text-transform:uppercase}
.ranking-head-v85 h1{margin:7px 0 15px!important;font-size:clamp(31px,8vw,45px)!important}
.ranking-head-v85>div{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;background:transparent!important;padding:0!important}
.ranking-head-v85 article{padding:11px 12px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.065)}
.ranking-head-v85 article small,.ranking-head-v85 article strong{display:block}
.ranking-head-v85 article small{color:var(--muted);font-size:8px}
.ranking-head-v85 article strong{margin-top:4px;font-size:18px}
.ranking-scroll-v84{scrollbar-width:none}
.ranking-scroll-v84::-webkit-scrollbar{display:none}
.your-ranking-v84{padding:8px!important}
.ranking-row-v84{min-height:62px!important}

/* Game: found words live in a modal, leaving a calm one-screen interaction. */
.word-builder-v85{padding-bottom:calc(18px + var(--tg-safe-bottom))!important}
.word-progress-v85{min-height:72px!important;padding:10px 12px!important;background:linear-gradient(135deg,rgba(37,154,218,.13),rgba(121,88,255,.12),rgba(57,133,33,.10)),var(--surface)!important}
.word-progress-v85>span{width:42px!important;height:42px!important;border-radius:var(--wb-radius-one)!important}
.word-progress-v85 strong{font-size:14px!important}
.word-progress-v85 small{font-size:9px!important}
.word-progress-v85.accepted{animation:v85Accepted .45s ease}
@keyframes v85Accepted{50%{transform:scale(1.018);filter:brightness(1.15)}}
.found-words-modal-v85{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:6px}
.found-words-modal-v85 span{padding:8px 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:10px;animation:v85Chip .26s ease both;animation-delay:calc(var(--i)*18ms)}
.found-words-modal-v85 p{width:100%;margin:10px 0;color:var(--muted);text-align:center}
@keyframes v85Chip{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.word-flight-v85{position:fixed;left:50%;top:50%;z-index:9999;padding:6px 9px;border-radius:var(--wb-radius-one)!important;background:var(--accent);color:var(--accent-ink);font-size:9px;pointer-events:none;animation:v85Fly .62s ease-in forwards}
@keyframes v85Fly{0%{opacity:0;transform:translate(-50%,-50%) scale(.75)}15%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(.65)}}
.game-context-v84 .context-avatar-v84{width:44px!important;height:44px!important}
.game-context-v84>span svg{width:19px!important;height:19px!important}
.result-duel-v85{display:grid;grid-template-columns:48px auto 48px;justify-content:center;align-items:center;gap:14px;margin:4px 0 14px}
.result-duel-v85>span{color:var(--muted);font-size:10px}

/* Support: closed tickets are visibly final, no dead reply action. */
.support-history-v85{display:grid;gap:10px}
.support-history-v85>article{margin:0!important}
.ticket-closed-v85{margin:9px 0 0!important;padding:10px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;color:var(--muted)!important;font-size:9px!important;line-height:1.45!important}
.support-form-v84 label>span{font-size:10px!important}
.support-form-v84 input,.support-form-v84 textarea{border-radius:var(--wb-radius-one)!important}

/* Light theme: neutral white surfaces, high contrast, no grey-on-grey wash. */
:root[data-theme="light"]{
  --bg:#f7f8fb!important;--bg-elevated:#ffffff!important;--surface:#ffffff!important;--surface-2:#eef1f5!important;--surface-3:#dde3eb!important;
  --text:#11151c!important;--text-soft:#313947!important;--muted:#657082!important;--muted-2:#919aaa!important;
}
:root[data-theme="light"] .daily-hero-v85,:root[data-theme="light"] .profile-hero-v7,:root[data-theme="light"] .ranking-head-v85{color:#11151c!important;background:linear-gradient(135deg,#ebe7ff,#f7f8fb 58%,#eaf3e7)!important}
:root[data-theme="light"] .daily-hero-v85 p,:root[data-theme="light"] .ranking-head-v85>span{color:#5e6878!important}
:root[data-theme="light"] .ranking-head-v85 article{background:rgba(255,255,255,.75)!important}
:root[data-theme="light"] .channel-task-v85,:root[data-theme="light"] .referral-hero-v85,:root[data-theme="light"] .achievement-card-v85,:root[data-theme="light"] .history-all-v85>button,:root[data-theme="light"] .tournament-players-v85>button{box-shadow:0 8px 26px rgba(30,39,55,.045)}
:root[data-theme="light"] .avatar-detail-v85>p,:root[data-theme="light"] .ticket-closed-v85{background:#f1f3f7!important}

@media(max-width:520px){
  .bottom-sheet.sheet-v83,.bottom-sheet{max-height:calc(100dvh - max(80px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important}
  #modalContent{max-height:calc(100dvh - max(132px,var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important;padding-inline:14px!important}
  .sheet-head{padding-top:8px!important}
  .daily-hero-v85{min-height:260px!important;grid-template-columns:minmax(0,1fr) 126px!important}
  .channel-task-v85{grid-template-columns:44px minmax(0,1fr) auto!important}
  .channel-task-v85>em{grid-column:2/3}
  .channel-task-v85>b{grid-column:3;grid-row:1/3}
  .referral-hero-v85{grid-template-columns:46px minmax(0,1fr) 38px 38px}
  .avatar-detail-v85>img,.avatar-placeholder-v85{width:min(72vw,280px)!important}
  .tournament-actions-v85{grid-template-columns:1fr}
}

/* Words Buster 8.6 — final responsive and light-theme repair */
:root{
  --v86-border:rgba(255,255,255,.055);
  --v86-shadow:0 12px 34px rgba(0,0,0,.16);
}
.modal-layer.open{display:flex!important;align-items:flex-end!important;justify-content:center!important;padding-top:max(112px,calc(var(--tg-safe-top) + var(--tg-chrome-top) + 24px))!important}
.bottom-sheet.sheet-v83,.bottom-sheet{
  max-height:calc(var(--visual-height,100dvh) - max(112px,calc(var(--tg-safe-top) + var(--tg-content-safe-top) + var(--tg-chrome-top) + 24px)))!important;
  border-radius:var(--wb-radius-one)!important;
  overflow:hidden!important;
}
#modalContent{
  max-height:calc(var(--visual-height,100dvh) - max(164px,calc(var(--tg-safe-top) + var(--tg-content-safe-top) + var(--tg-chrome-top) + 76px)))!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
}

/* Daily Word: a stable board, one clear submit action and a visible two-hint limit. */
.daily-game-v86{display:grid;gap:14px;padding-bottom:calc(20px + var(--tg-safe-bottom))!important}
.daily-summary-v86{margin:0!important}
.daily-hints-counter-v86{min-width:70px;height:46px;padding:0 13px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:flex;align-items:center;justify-content:center;gap:7px;color:var(--accent)}
.daily-hints-counter-v86 svg{width:18px!important;height:18px!important}.daily-hints-counter-v86 b{font-size:14px;color:var(--text)}
.daily-instruction-v86,.daily-hint-note-v86{margin:0;color:var(--muted);font-size:11px;line-height:1.55;text-align:center}
.daily-game-v86 .word-board{display:grid;gap:8px;margin:0 auto;width:min(100%,430px)}
.daily-game-v86 .word-row{display:grid;grid-template-columns:repeat(var(--daily-word-length),minmax(0,1fr));gap:7px}
.daily-game-v86 .word-cell{width:auto!important;min-width:0;aspect-ratio:1;border:1px solid var(--v86-border);border-radius:var(--wb-radius-one)!important;background:var(--surface);font-size:clamp(20px,6.4vw,31px);display:grid;place-items:center}
.daily-game-v86 .word-cell.filled{background:var(--surface-2)}
.daily-game-v86 .word-cell.hinted{border-color:color-mix(in srgb,var(--accent) 68%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent);color:var(--accent)}
.daily-game-v86 .keyboard{display:grid;gap:6px;margin-top:2px}
.daily-game-v86 .key-row{display:flex;gap:4px;justify-content:center}
.daily-game-v86 .key{flex:1 1 0;min-width:0;max-width:42px;height:43px;padding:0 2px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:11px;color:var(--text)}
.daily-game-v86 .key-wide{flex:1.45 1 0;max-width:61px;font-size:9px}
.daily-submit-v86{width:100%;min-height:52px;border-radius:var(--wb-radius-one)!important;font-size:15px;margin-top:2px}
.daily-submit-v86:disabled{opacity:.42}
.daily-tools-v86{margin:0!important;grid-template-columns:1fr 1fr!important}
.daily-tools-v86 button{min-height:52px!important;border-radius:var(--wb-radius-one)!important}
.daily-tools-v86 button:disabled{opacity:.42}

/* Tournament rounds are visually distinct and cannot be confused with regular play. */
.game-context-v84.tournament-v86{grid-template-columns:44px minmax(0,1fr)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 17%,var(--surface)),color-mix(in srgb,var(--accent) 10%,var(--surface)))!important}
.game-context-v84.tournament-v86>span{width:44px;height:44px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--violet) 14%,var(--surface-2));display:grid;place-items:center;color:var(--violet)}
.game-context-v84.tournament-v86>em{grid-column:2;margin-top:3px;white-space:normal!important;font-size:9px!important;line-height:1.35;color:var(--muted)}
.tournament-result-note-v86{display:flex;align-items:center;gap:11px;margin:0 0 14px;padding:13px 14px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--violet) 12%,var(--surface));color:var(--text);font-size:11px;line-height:1.45}
.tournament-result-note-v86 svg{width:20px;height:20px;flex:0 0 20px;color:var(--violet)}

/* Store: aligned copy and prices, predictable groups and more breathing room. */
.shop-sheet-v86 #modalContent{padding-inline:16px!important}
.wallet-overview-v86{position:sticky;top:0;z-index:5;padding:8px!important;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--bg-elevated) 92%,transparent)!important;backdrop-filter:blur(18px)}
.wallet-overview-v86 article{min-width:0!important;padding:12px 7px!important;text-align:center}
.wallet-overview-v86 article svg{margin:0 auto 7px!important}.wallet-overview-v86 article span{font-size:8px!important}.wallet-overview-v86 article strong{font-size:18px!important}
.shop-group-v86{display:grid;gap:10px;margin-top:22px}
.shop-title-v86{display:flex;align-items:center;justify-content:space-between;gap:12px}
.shop-title-v86 h2{margin:0;font-size:22px}.shop-title-v86 span{min-width:28px;height:28px;padding:0 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);display:grid;place-items:center;color:var(--muted);font-size:10px}
.shop-group-v86>div:last-child{display:grid;gap:10px}
.product-card-v84{width:100%;grid-template-columns:46px minmax(0,1fr) minmax(58px,auto)!important;align-items:center!important;gap:11px!important;padding:12px!important;border-radius:var(--wb-radius-one)!important;text-align:left}
.product-card-v84>span{width:46px!important;height:46px!important;border-radius:var(--wb-radius-one)!important}
.product-card-v84>div{min-width:0}.product-card-v84 strong{display:block;font-size:14px!important;line-height:1.2}.product-card-v84 small{display:block;margin-top:4px;font-size:9px!important;line-height:1.45}
.product-card-v84>b{min-width:58px;display:grid!important;justify-items:end;align-content:center;gap:2px;white-space:nowrap;font-size:14px!important;line-height:1.1}
.product-card-v84>b s{font-size:9px!important;color:var(--muted)!important}.product-card-v84 .tg-star,.plan-card-v84 .tg-star{vertical-align:-2px!important;margin-right:3px!important}
.plan-card-v84{padding:14px!important;border-radius:var(--wb-radius-one)!important}.plan-card-v84 header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:12px!important}.plan-card-v84 header>b{text-align:right;white-space:nowrap}

/* Light theme receives the same hierarchy and separation as dark mode. */
:root[data-theme="light"]{
  --bg:#f3f5f8!important;--bg-elevated:#ffffff!important;--surface:#ffffff!important;--surface-2:#edf1f5!important;--surface-3:#dce3ea!important;
  --text:#10141b!important;--text-soft:#303846!important;--muted:#5e6979!important;--muted-2:#8792a1!important;--line:rgba(16,24,38,.12)!important;
  --v86-border:rgba(16,24,38,.12);--v86-shadow:0 9px 28px rgba(28,39,55,.075);
}
:root[data-theme="light"] body,:root[data-theme="light"] .app-shell,:root[data-theme="light"] .screen-root{background:#f3f5f8!important;color:#10141b!important}
:root[data-theme="light"] .modal-backdrop{background:rgba(16,23,34,.38)!important;backdrop-filter:blur(10px)!important}
:root[data-theme="light"] .bottom-sheet{background:#f7f8fa!important;border:1px solid rgba(16,24,38,.09)!important;border-bottom:0!important;box-shadow:0 -18px 54px rgba(25,34,48,.12)!important}
:root[data-theme="light"] .sheet-topline{background:rgba(247,248,250,.96)!important}:root[data-theme="light"] .sheet-close{background:#e8edf2!important;color:#111820!important}:root[data-theme="light"] .sheet-handle{background:#cbd3dc!important}
:root[data-theme="light"] .topbar,:root[data-theme="light"] .bottom-nav .nav-inner{background:rgba(247,249,251,.96)!important;border-color:rgba(16,24,38,.08)!important;box-shadow:0 8px 26px rgba(30,40,55,.065)!important}
:root[data-theme="light"] .mode-card-v84,:root[data-theme="light"] .competition-card-v84,:root[data-theme="light"] .tournament-card-v83,:root[data-theme="light"] .achievement-card-v85,
:root[data-theme="light"] .settings-row,:root[data-theme="light"] .settings-list-v7 button,:root[data-theme="light"] .profile-stats-v7 article,:root[data-theme="light"] .recent-game-card,
:root[data-theme="light"] .channel-task-v84,:root[data-theme="light"] .friend-row-v85,:root[data-theme="light"] .ranking-row-v84,:root[data-theme="light"] .product-card-v84,
:root[data-theme="light"] .plan-card-v84,:root[data-theme="light"] .wallet-overview-v84,:root[data-theme="light"] .tournament-players-v85>button,:root[data-theme="light"] .history-all-v85>button{
  background:#fff!important;color:#10141b!important;border:1px solid rgba(16,24,38,.09)!important;box-shadow:var(--v86-shadow)!important;
}
:root[data-theme="light"] .daily-hero-v85,:root[data-theme="light"] .profile-hero-v7,:root[data-theme="light"] .ranking-head-v85,
:root[data-theme="light"] .game-summary,:root[data-theme="light"] .game-summary-v7,:root[data-theme="light"] .word-progress-v84{
  color:#10141b!important;border:1px solid rgba(16,24,38,.09)!important;box-shadow:var(--v86-shadow)!important;
}
:root[data-theme="light"] .daily-hero-v85 p,:root[data-theme="light"] .profile-hero-v7 p,:root[data-theme="light"] .game-summary span,:root[data-theme="light"] .game-summary-v7 span{color:#566274!important}
:root[data-theme="light"] .daily-game-v86 .word-cell{background:#fff!important;border-color:#cfd7e1!important;box-shadow:0 4px 14px rgba(30,40,55,.045)!important;color:#111820!important}
:root[data-theme="light"] .daily-game-v86 .word-cell.filled{background:#edf1f5!important;border-color:#bac5d1!important}
:root[data-theme="light"] .daily-game-v86 .word-cell.correct{background:#4f8f25!important;border-color:#4f8f25!important;color:#fff!important}
:root[data-theme="light"] .daily-game-v86 .word-cell.present{background:#b98516!important;border-color:#b98516!important;color:#fff!important}
:root[data-theme="light"] .daily-game-v86 .word-cell.absent{background:#677282!important;border-color:#677282!important;color:#fff!important}
:root[data-theme="light"] .daily-game-v86 .word-cell.hinted{background:#eef8df!important;border-color:#71a82a!important;color:#4d7d12!important}
:root[data-theme="light"] .daily-game-v86 .key{background:#e7ecf2!important;border:1px solid #d4dbe4!important;color:#111820!important;box-shadow:0 2px 7px rgba(30,40,55,.04)!important}
:root[data-theme="light"] .daily-game-v86 .key.correct{background:#4f8f25!important;color:#fff!important}:root[data-theme="light"] .daily-game-v86 .key.present{background:#b98516!important;color:#fff!important}:root[data-theme="light"] .daily-game-v86 .key.absent{background:#77818f!important;color:#fff!important}
:root[data-theme="light"] .switch-control{background:#cfd7e0!important;border:1px solid #bac4cf!important;box-shadow:inset 0 1px 2px rgba(30,40,55,.08)!important}:root[data-theme="light"] .switch-control i{background:#fff!important;box-shadow:0 3px 9px rgba(30,40,55,.22)!important}:root[data-theme="light"] .switch-control.on{background:var(--accent)!important;border-color:var(--accent)!important}
:root[data-theme="light"] .primary-button{color:#fff!important}:root[data-theme="light"] .secondary-button{background:#e8edf2!important;color:#17202b!important;border:1px solid #d7dee7!important}
:root[data-theme="light"] .game-context-v84.tournament-v86{border:1px solid rgba(75,59,164,.14)!important;box-shadow:var(--v86-shadow)!important}
:root[data-theme="light"] .tournament-result-note-v86{background:#f1effc!important;border:1px solid rgba(75,59,164,.14)!important;box-shadow:0 5px 16px rgba(39,30,92,.05)!important}

@media(max-width:380px){
  .daily-game-v86{gap:11px}.daily-game-v86 .word-row{gap:5px}.daily-game-v86 .word-cell{border-radius:var(--wb-radius-one)!important;font-size:clamp(18px,6vw,25px)}.daily-game-v86 .key-row{gap:3px}.daily-game-v86 .key{height:39px;border-radius:var(--wb-radius-one)!important;font-size:10px}.daily-submit-v86{min-height:48px}.product-card-v84{grid-template-columns:42px minmax(0,1fr) auto!important;padding:10px!important}.product-card-v84>span{width:42px!important;height:42px!important}
}
@media(max-height:650px){
  .modal-layer.open{padding-top:max(82px,calc(var(--tg-safe-top) + var(--tg-chrome-top) + 14px))!important}.bottom-sheet.sheet-v83,.bottom-sheet{max-height:calc(var(--visual-height,100dvh) - max(82px,calc(var(--tg-safe-top) + var(--tg-content-safe-top) + var(--tg-chrome-top) + 14px)))!important}.daily-game-v86{gap:9px}.daily-game-v86 .word-board{gap:5px}.daily-game-v86 .word-row{gap:5px}.daily-game-v86 .key{height:36px}.daily-instruction-v86,.daily-hint-note-v86{font-size:9px}
}
@media(min-width:600px){
  .daily-game-v86{max-width:520px;margin:0 auto}.shop-sheet-v86 #modalContent{padding-inline:24px!important}.shop-group-v86>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-group-v86 .plan-card-v84{grid-column:span 2}
}

/* Words Buster 8.7 */
.language-options-v87 button{grid-template-columns:44px 1fr 24px;min-height:76px}.language-options-v87 button>div{align-self:center}.language-options-v87 button strong{font-size:17px}.tournament-rule-v87{display:flex;align-items:center;gap:10px;margin:14px 0;padding:12px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#1d2028);font-size:13px;font-weight:700;line-height:1.35}.tournament-rule-v87 svg{width:19px;height:19px;flex:0 0 auto}.tournament-rule-v87.promotion{color:var(--accent,#9dff3f)}.tournament-rule-v87.rewards{color:var(--text-secondary,#a8afbf)}.tournament-own-rank-v87{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:center;margin:0 0 14px;padding:15px 16px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#1b1e26)}.tournament-own-rank-v87 span,.tournament-own-rank-v87 small{color:var(--text-secondary,#939bad)}.tournament-own-rank-v87 strong{font-size:18px}.tournament-own-rank-v87 small{grid-column:1/-1}.shared-chain-sheet-v87{padding-top:max(72px,calc(var(--tg-chrome-top,0px) + 34px));max-height:min(90vh,calc(var(--visual-height,100vh) - 20px))}.chain-score-v87{display:grid;grid-template-columns:1fr 40px 1fr;align-items:center;gap:10px;padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#191c23)}.chain-score-v87>div{display:grid;justify-items:center;gap:7px;min-width:0}.chain-score-v87>div span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary,#99a1b2);font-size:12px}.chain-score-v87>div strong{font-size:28px}.chain-score-v87>b{display:grid;place-items:center;color:var(--accent,#9dff3f)}.chain-score-v87>b svg{width:24px;height:24px}.chain-turn-v87{display:flex;gap:12px;align-items:center;margin-top:14px;padding:15px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--accent,#9dff3f) 13%,var(--surface-2,#191c23))}.chain-turn-v87.waiting{background:var(--surface-2,#191c23)}.chain-turn-v87>span{display:grid;place-items:center;width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--accent,#9dff3f) 18%,transparent);color:var(--accent,#9dff3f)}.chain-turn-v87 svg{width:21px;height:21px}.chain-turn-v87 div{display:grid;gap:3px}.chain-turn-v87 small{color:var(--text-secondary,#9aa2b2);line-height:1.35}.chain-turn-form-v87{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:14px}.chain-turn-form-v87 label{display:grid;gap:7px;padding:11px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#191c23)}.chain-turn-form-v87 label span{font-size:11px;color:var(--text-secondary,#99a1b2)}.chain-turn-form-v87 input{width:100%;border:0;outline:0;background:transparent;color:var(--text,#fff);font:700 17px/1.2 inherit;text-transform:uppercase}.chain-turn-form-v87 input:disabled{opacity:.55}.chain-turn-form-v87 button{min-width:126px;border-radius:var(--wb-radius-one)!important}.chain-moves-v87{margin-top:20px}.chain-moves-v87>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.chain-moves-v87 h3{margin:0;font-size:18px}.chain-moves-v87 header span{color:var(--text-secondary,#99a1b2)}.chain-moves-v87>div{display:grid;gap:8px}.chain-move-v87{display:grid;grid-template-columns:30px 1fr auto;gap:11px;align-items:center;padding:12px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#191c23)}.chain-move-v87.you{background:color-mix(in srgb,var(--accent,#9dff3f) 8%,var(--surface-2,#191c23))}.chain-move-v87>span{color:var(--text-secondary,#99a1b2);font-size:12px}.chain-move-v87>div{display:grid;gap:2px}.chain-move-v87 small{color:var(--text-secondary,#99a1b2)}.chain-move-v87 strong{text-transform:uppercase}.chain-move-v87>b{color:var(--accent,#9dff3f)}.chain-empty-v87{margin:0;padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#191c23);color:var(--text-secondary,#99a1b2);text-align:center}[data-theme="light"] .tournament-rule-v87,[data-theme="light"] .tournament-own-rank-v87,[data-theme="light"] .chain-score-v87,[data-theme="light"] .chain-turn-v87.waiting,[data-theme="light"] .chain-turn-form-v87 label,[data-theme="light"] .chain-move-v87,[data-theme="light"] .chain-empty-v87{background:#eef1f6;color:#11151d}[data-theme="light"] .chain-turn-v87{background:#e8f5d9}[data-theme="light"] .chain-turn-form-v87 input{color:#10131a}@media(max-width:430px){.chain-turn-form-v87{grid-template-columns:1fr}.chain-turn-form-v87 button{min-height:52px}.tournament-actions-v85{grid-template-columns:1fr}.shared-chain-sheet-v87{padding-top:max(62px,calc(var(--tg-chrome-top,0px) + 24px))}}@media(max-height:700px){.shared-chain-sheet-v87{padding-top:max(52px,calc(var(--tg-chrome-top,0px) + 18px));max-height:96vh}.chain-score-v87{padding:12px}.chain-score-v87>div strong{font-size:23px}}

.game-mode-art{position:relative;overflow:hidden;background:#050710;border-radius:var(--wb-radius-one)!important;isolation:isolate;}
.game-mode-art::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,6,16,.24) 0%,rgba(3,6,16,.78) 34%,rgba(3,6,16,.94) 58%,rgba(3,6,16,1) 100%),var(--mode-bg-image) top center/cover no-repeat;opacity:.98;pointer-events:none;z-index:0;}
.game-mode-art>*{position:relative;z-index:1;}
.game-mode-art .game-header,
.game-mode-art .word-progress-v84,
.game-mode-art .game-summary,
.game-mode-art .selected-word,
.game-mode-art .builder-actions,
.game-mode-art .builder-tools,
.game-mode-art .game-note-v84,
.game-mode-art .daily-instruction-v86,
.game-mode-art .daily-hint-note-v86,
.game-mode-art .word-board,
.game-mode-art .keyboard,
.game-mode-art .letter-deck,
.game-mode-art .hint-word-v84,
.game-mode-art .game-context-v84{position:relative;z-index:1;}
.game-mode-art .word-progress-v84,.game-mode-art .game-summary,.game-mode-art .selected-word,.game-mode-art .builder-actions,.game-mode-art .builder-tools,.game-mode-art .game-note-v84,.game-mode-art .daily-instruction-v86,.game-mode-art .daily-hint-note-v86,.game-mode-art .word-board,.game-mode-art .keyboard,.game-mode-art .hint-word-v84,.game-mode-art .game-context-v84{backdrop-filter:blur(12px);}
.game-mode-art .word-progress-v84,.game-mode-art .game-summary,.game-mode-art .selected-word,.game-mode-art .builder-actions,.game-mode-art .builder-tools,.game-mode-art .game-note-v84,.game-mode-art .daily-instruction-v86,.game-mode-art .daily-hint-note-v86,.game-mode-art .word-board,.game-mode-art .keyboard,.game-mode-art .hint-word-v84,.game-mode-art .game-context-v84{background:rgba(10,14,28,.58);}
.game-mode-art .game-header{padding-right:0;}
.game-header{grid-template-columns:auto 1fr;}
.game-header>div:last-child{justify-self:start;}
.tournament-card-v87 .tournament-time-v88{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.06);color:rgba(255,255,255,.72);font-size:12px;font-weight:700;letter-spacing:.02em;margin-bottom:14px;}


/* Words Buster 8.8 — final release polish */
.language-options-v88{display:grid;gap:10px}.language-options-v88 button{grid-template-columns:40px minmax(0,1fr) 20px;min-height:64px;padding:12px 14px;border-radius:var(--wb-radius-one)!important}.language-options-v88 button>span:first-child{width:40px;height:40px;border-radius:var(--wb-radius-one)!important}.language-options-v88 button>div{display:flex;align-items:center;min-width:0}.language-options-v88 button strong{font-size:14px!important;font-weight:620!important;line-height:1.25;letter-spacing:0}.language-options-v88 button svg:last-child{width:18px;height:18px}
.shop-sheet-v88 #modalContent{padding-top:6px}.shop-catalog-v88{display:grid;gap:28px;padding:4px 0 max(20px,var(--tg-safe-bottom,0px))}.shop-group-v88{margin:0}.shop-title-v88{margin-bottom:12px}.shop-title-v88 h2{font-size:22px;line-height:1.15;font-weight:720;letter-spacing:-.025em}.shop-title-v88>span{display:none}.shop-group-v88>div:last-child{display:grid;gap:10px}.shop-group-v88 .product-card-v84,.shop-group-v88 .product-card-v6{min-height:86px;padding:14px;align-items:center}.shop-group-v88 .product-card-v84 .product-copy,.shop-group-v88 .product-card-v6 .product-copy{min-width:0}.shop-group-v88 .product-card-v84 strong,.shop-group-v88 .product-card-v6 strong{font-size:15px;line-height:1.25}.shop-group-v88 .product-card-v84 small,.shop-group-v88 .product-card-v6 small{font-size:12px;line-height:1.4}.shop-group-v88 .product-price,.shop-group-v88 .price-v30,.shop-group-v88 .product-card-v84>em,.shop-group-v88 .product-card-v6>em{justify-self:end;white-space:nowrap}.shop-group-v88 .plan-card-v84,.shop-group-v88 .plan-card-v6{padding:17px;border-radius:var(--wb-radius-one)!important}.shop-group-v88 .plan-top{gap:14px;align-items:flex-start}.shop-group-v88 .plan-top h3{font-size:18px;line-height:1.2}.shop-group-v88 .plan-top p{font-size:12px;line-height:1.45}.shop-group-v88 .full-button{min-height:50px;margin-top:14px}
.history-all-sheet-v85,.history-sheet-v85{padding-top:max(82px,calc(var(--tg-safe-top,0px) + var(--tg-content-safe-top,0px) + 26px))!important}.history-all-sheet-v85 #modalContent,.history-sheet-v85 #modalContent{padding-bottom:max(24px,var(--tg-safe-bottom,0px))}.history-all-v85{display:grid;gap:9px}.history-all-v85>button{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) auto 18px;gap:12px;align-items:center;min-height:76px;padding:12px 14px;border:0;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#191c24);color:var(--text,#f7f8fb);text-align:left}.history-all-v85>button>span:first-child{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--accent,#9dff3f) 12%,transparent);color:var(--accent,#9dff3f)}.history-all-v85>button>span:first-child svg{width:21px;height:21px}.history-all-v85>button>div{min-width:0;display:grid;gap:4px}.history-all-v85>button strong{font-size:15px;line-height:1.2}.history-all-v85>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary,#98a0b1);font-size:11px}.history-all-v85>button>b{font-size:16px}.history-all-v85>button>svg{width:18px;color:var(--text-secondary,#98a0b1)}.history-word-section{margin-top:14px;padding:16px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#191c24)}.history-word-section h3{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px;font-size:16px}.history-word-section h3 span{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3,#242832);font-size:12px}.history-word-chips{display:flex;flex-wrap:wrap;gap:7px}.history-word-chips>span{padding:9px 11px;border-radius:var(--wb-radius-one)!important;background:var(--surface-3,#242832);font-size:12px;font-weight:700;letter-spacing:.02em}.history-word-chips.found>span{background:color-mix(in srgb,var(--accent,#9dff3f) 13%,var(--surface-3,#242832));color:var(--text,#fff)}.history-word-chips.missed>span{color:var(--text-secondary,#9da4b4)}.history-word-chips>p,.chain-history-note-v85{margin:0;color:var(--text-secondary,#9da4b4);font-size:12px;line-height:1.5}.chain-history-note-v85{padding:13px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#191c24)}
.player-profile-sheet-v88{padding-top:max(82px,calc(var(--tg-safe-top,0px) + var(--tg-content-safe-top,0px) + 26px))!important}.player-profile-v88{margin-top:6px}.player-stats-v88 article{min-width:0}
.game-mode-art{min-height:100%;border-radius:var(--wb-radius-one)!important;background:#050710}.game-mode-art::before{position:fixed;inset:0 0 auto;height:min(66vh,620px);background:linear-gradient(180deg,rgba(2,5,15,.12) 0%,rgba(3,6,17,.52) 38%,rgba(4,7,17,.9) 72%,#050710 100%),var(--mode-bg-image) top center/cover no-repeat;opacity:1}.game-mode-duel::before,.game-mode-arena10::before,.game-mode-tournament::before{background-size:cover;background-position:top center}.game-mode-chain::before,.game-mode-marathon::before,.game-mode-master::before,.game-mode-anagram::before,.game-mode-blitz::before,.game-mode-daily::before{background-size:min(100vw,760px) auto;background-position:top center}.game-mode-art .game-header{min-height:88px}.game-mode-art .game-header h1,.game-mode-art .game-header strong{text-shadow:0 2px 18px rgba(0,0,0,.45)}.game-mode-art .word-progress-v84,.game-mode-art .game-summary,.game-mode-art .selected-word,.game-mode-art .builder-actions,.game-mode-art .builder-tools,.game-mode-art .game-note-v84,.game-mode-art .daily-instruction-v86,.game-mode-art .daily-hint-note-v86,.game-mode-art .word-board,.game-mode-art .keyboard,.game-mode-art .hint-word-v84,.game-mode-art .game-context-v84,.game-mode-art .chain-focus,.game-mode-art .chain-keyboard{background:rgba(12,15,27,.7);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.game-mode-art .letter-deck{background:transparent;backdrop-filter:none}.game-mode-art .letter-deck button,.game-mode-art .letter-tile{background:rgba(25,29,43,.86);backdrop-filter:blur(10px)}
.tournament-group-v83>header,.tournament-group-v84>header,.tournament-group-v85>header{display:none!important}.tournament-group-v83,.tournament-group-v84,.tournament-group-v85{margin-top:0!important}.game-timer-v84.untimed{display:none!important}[data-game-help],[data-open-game-help],.game-header>[data-open-game-help]{display:none!important}
[data-theme="light"] .history-all-v85>button,[data-theme="light"] .history-word-section,[data-theme="light"] .chain-history-note-v85{background:#fff;color:#11151d}[data-theme="light"] .history-word-section h3 span,[data-theme="light"] .history-word-chips>span{background:#edf0f5}[data-theme="light"] .history-word-chips.found>span{background:#e7f7d6}[data-theme="light"] .shop-group-v88 .product-card-v84,[data-theme="light"] .shop-group-v88 .product-card-v6,[data-theme="light"] .shop-group-v88 .plan-card-v84,[data-theme="light"] .shop-group-v88 .plan-card-v6{background:#fff;color:#11151d}[data-theme="light"] .game-mode-art{background:#f3f5f9}[data-theme="light"] .game-mode-art::before{background:linear-gradient(180deg,rgba(242,246,255,.04) 0%,rgba(242,246,255,.36) 35%,rgba(243,245,249,.84) 72%,#f3f5f9 100%),var(--mode-bg-image) top center/cover no-repeat}[data-theme="light"] .game-mode-art .word-progress-v84,[data-theme="light"] .game-mode-art .game-summary,[data-theme="light"] .game-mode-art .selected-word,[data-theme="light"] .game-mode-art .builder-actions,[data-theme="light"] .game-mode-art .builder-tools,[data-theme="light"] .game-mode-art .game-note-v84,[data-theme="light"] .game-mode-art .daily-instruction-v86,[data-theme="light"] .game-mode-art .daily-hint-note-v86,[data-theme="light"] .game-mode-art .word-board,[data-theme="light"] .game-mode-art .keyboard,[data-theme="light"] .game-mode-art .hint-word-v84,[data-theme="light"] .game-mode-art .game-context-v84,[data-theme="light"] .game-mode-art .chain-focus,[data-theme="light"] .game-mode-art .chain-keyboard{background:rgba(255,255,255,.82);color:#11151d}[data-theme="light"] .game-mode-art .letter-deck button,[data-theme="light"] .game-mode-art .letter-tile{background:rgba(255,255,255,.9);color:#11151d}
@media(max-width:430px){.shop-catalog-v88{gap:24px}.shop-title-v88 h2{font-size:20px}.shop-group-v88 .product-card-v84,.shop-group-v88 .product-card-v6{grid-template-columns:42px minmax(0,1fr) auto;padding:12px}.history-all-v85>button{grid-template-columns:40px minmax(0,1fr) auto 16px;padding:11px 12px}.history-all-v85>button>span:first-child{width:40px;height:40px}.history-word-section{padding:14px}.game-mode-art::before{height:min(58vh,520px)}}
@media(max-height:700px){.history-all-sheet-v85,.history-sheet-v85,.player-profile-sheet-v88{padding-top:max(66px,calc(var(--tg-safe-top,0px) + var(--tg-content-safe-top,0px) + 16px))!important}.game-mode-art::before{height:min(54vh,470px)}}

/* Words Buster 8.8.2 — mode artwork belongs to selection cards, not gameplay */
.game-mode-art{
  background:var(--bg)!important;
}
.game-mode-art::before{
  content:none!important;
  display:none!important;
  background:none!important;
}
.game-mode-art .word-progress-v84,
.game-mode-art .game-summary,
.game-mode-art .selected-word,
.game-mode-art .builder-actions,
.game-mode-art .builder-tools,
.game-mode-art .game-note-v84,
.game-mode-art .daily-instruction-v86,
.game-mode-art .daily-hint-note-v86,
.game-mode-art .word-board,
.game-mode-art .keyboard,
.game-mode-art .hint-word-v84,
.game-mode-art .game-context-v84,
.game-mode-art .chain-focus,
.game-mode-art .chain-keyboard{
  background:var(--surface)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.game-mode-art .letter-deck button,
.game-mode-art .letter-tile{
  background:var(--surface-2)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

.home-mode-tag-v7,
.play-mode-tag-v7,
.mode-card-v84>em{
  display:none!important;
}

.home-mode-v7,
.mode-card-v84,
.competition-card-v84{
  background-color:#0a0d19!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center!important;
  color:#fff!important;
  isolation:isolate;
}
.home-mode-v7:after{
  display:none!important;
}
.home-mode-v7>* ,
.mode-card-v84>* ,
.competition-card-v84>*{
  position:relative;
  z-index:1;
}
.home-mode-v7>.play-mode-icon-v31,
.mode-card-v84>span,
.competition-card-v84>span{
  background:rgba(8,12,28,.58)!important;
  color:#fff!important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.home-mode-v7>strong,
.mode-card-v84>strong,
.competition-card-v84 strong,
.competition-card-v84 h3{
  color:#fff!important;
  text-shadow:0 2px 18px rgba(0,0,0,.58);
}
.home-mode-v7>small,
.mode-card-v84>small,
.competition-card-v84 p,
.competition-card-v84 small{
  color:rgba(255,255,255,.76)!important;
  text-shadow:0 1px 12px rgba(0,0,0,.64);
}
.home-mode-v7>svg,
.mode-card-v84>svg,
.competition-card-v84>svg{
  color:rgba(255,255,255,.9)!important;
}

.home-mode-v7[data-mode="daily"],
.mode-card-v84[data-mode="daily"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.18),rgba(4,8,22,.76)),url('/assets/mode-backgrounds/daily.png')!important;
}
.home-mode-v7[data-mode="anagram"],
.mode-card-v84[data-mode="anagram"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.18),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/anagram.png')!important;
}
.home-mode-v7[data-mode="blitz"],
.mode-card-v84[data-mode="blitz"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.16),rgba(4,8,22,.8)),url('/assets/mode-backgrounds/blitz.png')!important;
}
.home-mode-v7[data-mode="chain"],
.mode-card-v84[data-mode="chain"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.14),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/chain.png')!important;
}
.home-mode-v7[data-mode="duel"]{
  background-image:linear-gradient(90deg,rgba(4,8,22,.2),rgba(4,8,22,.72)),url('/assets/mode-backgrounds/duel.png')!important;
}
.mode-card-v84[data-mode="marathon"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.12),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/marathon.png')!important;
}
.mode-card-v84[data-mode="master"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.12),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/master.png')!important;
}
.competition-card-v84.duel{
  background-image:linear-gradient(90deg,rgba(4,8,22,.18),rgba(4,8,22,.72)),url('/assets/mode-backgrounds/duel.png')!important;
  background-position:center!important;
}
.competition-card-v84.arena{
  background-image:linear-gradient(90deg,rgba(4,8,22,.18),rgba(4,8,22,.72)),url('/assets/mode-backgrounds/arena10.png')!important;
  background-position:center!important;
}

:root[data-theme="light"] .home-mode-v7,
:root[data-theme="light"] .mode-card-v84,
:root[data-theme="light"] .competition-card-v84{
  color:#fff!important;
  box-shadow:0 12px 30px rgba(31,54,114,.16)!important;
}

@media(max-width:430px){
  .home-mode-v7,
  .mode-card-v84{
    background-position:center!important;
  }
}

/* Words Buster 8.8.3 — light cards, compact language sheet and clean game controls */
.competition-card-v84>div>small{
  display:none!important;
}

/* Earlier light-theme shorthands used `background:#fff!important`, which
   overrode the artwork. Re-apply each image with the same/higher specificity. */
:root[data-theme="light"] .home-mode-v7[data-mode="daily"],
:root[data-theme="light"] .mode-card-v84[data-mode="daily"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.18),rgba(4,8,22,.76)),url('/assets/mode-backgrounds/daily.png')!important;
}
:root[data-theme="light"] .home-mode-v7[data-mode="anagram"],
:root[data-theme="light"] .mode-card-v84[data-mode="anagram"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.18),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/anagram.png')!important;
}
:root[data-theme="light"] .home-mode-v7[data-mode="blitz"],
:root[data-theme="light"] .mode-card-v84[data-mode="blitz"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.16),rgba(4,8,22,.80)),url('/assets/mode-backgrounds/blitz.png')!important;
}
:root[data-theme="light"] .home-mode-v7[data-mode="chain"],
:root[data-theme="light"] .mode-card-v84[data-mode="chain"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.14),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/chain.png')!important;
}
:root[data-theme="light"] .home-mode-v7[data-mode="duel"]{
  background-image:linear-gradient(90deg,rgba(4,8,22,.20),rgba(4,8,22,.72)),url('/assets/mode-backgrounds/duel.png')!important;
}
:root[data-theme="light"] .mode-card-v84[data-mode="marathon"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.12),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/marathon.png')!important;
}
:root[data-theme="light"] .mode-card-v84[data-mode="master"]{
  background-image:linear-gradient(180deg,rgba(4,8,22,.12),rgba(4,8,22,.78)),url('/assets/mode-backgrounds/master.png')!important;
}
:root[data-theme="light"] .competition-card-v84.duel{
  background-image:linear-gradient(90deg,rgba(4,8,22,.18),rgba(4,8,22,.72)),url('/assets/mode-backgrounds/duel.png')!important;
}
:root[data-theme="light"] .competition-card-v84.arena{
  background-image:linear-gradient(90deg,rgba(4,8,22,.18),rgba(4,8,22,.72)),url('/assets/mode-backgrounds/arena10.png')!important;
}
:root[data-theme="light"] .home-mode-v7[data-mode],
:root[data-theme="light"] .mode-card-v84[data-mode],
:root[data-theme="light"] .competition-card-v84{
  background-color:#0a0d19!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  border:0!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(31,54,114,.16)!important;
}

/* The language picker must use the same restrained typography as settings. */
.language-sheet-v88 .sheet-head{
  padding-top:10px!important;
  padding-bottom:14px!important;
}
.language-sheet-v88 .sheet-head h2{
  font-size:clamp(21px,5.5vw,25px)!important;
  font-weight:600!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
.language-options-v88{
  gap:8px!important;
}
.language-options-v88 button{
  min-height:56px!important;
  padding:9px 12px!important;
  border-radius:var(--wb-radius-one)!important;
}
.language-options-v88 button>span:first-child{
  width:36px!important;
  height:36px!important;
  border-radius:var(--wb-radius-one)!important;
}
.language-options-v88 button strong{
  font-size:13px!important;
  font-weight:560!important;
  line-height:1.25!important;
}

/* Containers themselves must stay transparent; only their actual buttons are cards. */
.game-mode-art .builder-actions,
.game-mode-art .builder-tools,
.game-mode-art .builder-actions-v84,
.game-mode-art .builder-tools-v84{
  background:transparent!important;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  box-shadow:none!important;
  padding:0!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.game-mode-art .builder-actions-v84>button,
.game-mode-art .builder-tools-v84>button{
  border-radius:var(--wb-radius-one)!important;
  overflow:hidden;
}
.game-mode-art .builder-tools-v84:has(>button:nth-child(2):last-child){
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}

/* Words Buster 8.8.4 — clean Chain layout */
.chain-game .chain-keyboard,
.chain-game .chain-keyboard-v84,
.game-mode-art.chain-game .chain-keyboard,
.game-mode-art.chain-game .chain-keyboard-v84{
  background:transparent!important;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  box-shadow:none!important;
  padding:0!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.chain-game .chain-keyboard .key-row,
.chain-game .chain-keyboard-v84 .key-row{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.chain-game .chain-keyboard .key,
.chain-game .chain-keyboard-v84 .key{
  border-radius:var(--wb-radius-one)!important;
  overflow:hidden;
}
.chain-game .builder-actions,
.chain-game .builder-actions-v84,
.chain-game .builder-tools,
.chain-game .builder-tools-v84{
  background:transparent!important;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  box-shadow:none!important;
  padding:0!important;
}
.chain-game .builder-tools,
.chain-game .builder-tools-v84{
  grid-template-columns:1fr!important;
}
.chain-game .builder-tools>button,
.chain-game .builder-tools-v84>button{
  width:100%!important;
  min-height:58px!important;
  border-radius:var(--wb-radius-one)!important;
}
.chain-game .chain-selected{
  border-radius:var(--wb-radius-one)!important;
  overflow:hidden;
}
.chain-game .chain-focus,
.chain-game .chain-focus-v84,
.chain-game .game-summary,
.chain-game .game-summary-v84{
  border-radius:var(--wb-radius-one)!important;
}
@media(max-width:430px){
  .chain-game .chain-keyboard .key,
  .chain-game .chain-keyboard-v84 .key{
    border-radius:var(--wb-radius-one)!important;
  }
}

/* Words Buster 8.8.5 — unified countdown component */
.game-timer-v84,
.game-timer-unified,
.round-timer-v83,
.round-timer{
  width:auto!important;
  min-width:96px!important;
  min-height:58px!important;
  padding:8px 14px!important;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--surface-2,#1b1e27) 88%,transparent)!important;
  box-shadow:none!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:center!important;
  justify-items:center!important;
  gap:2px!important;
  text-align:center!important;
  color:var(--text,#f7f8fb)!important;
  white-space:nowrap!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.game-timer-v84 small,
.game-timer-unified small,
.round-timer-v83 small{
  display:block!important;
  margin:0!important;
  font-size:9px!important;
  line-height:1.1!important;
  font-weight:650!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  color:var(--muted,#959cac)!important;
}
.game-timer-v84 b,
.game-timer-unified b,
.round-timer-v83 b,
.round-timer b{
  display:block!important;
  margin:0!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:680!important;
  letter-spacing:-.035em!important;
  font-variant-numeric:tabular-nums!important;
  color:var(--text,#f7f8fb)!important;
}
.round-timer>svg,
.game-timer-unified>svg{
  display:none!important;
}
:root[data-theme="light"] .game-timer-v84,
:root[data-theme="light"] .game-timer-unified,
:root[data-theme="light"] .round-timer-v83,
:root[data-theme="light"] .round-timer{
  background:#edf0f5!important;
  color:#11151d!important;
}
:root[data-theme="light"] .game-timer-v84 b,
:root[data-theme="light"] .game-timer-unified b,
:root[data-theme="light"] .round-timer-v83 b,
:root[data-theme="light"] .round-timer b{
  color:#11151d!important;
}
.word-progress-v84 .game-timer-v84,
.game-summary-v84 .game-timer-v84,
.game-summary .game-timer-unified{
  align-self:center!important;
  justify-self:end!important;
}
@media(max-width:380px){
  .game-timer-v84,
  .game-timer-unified,
  .round-timer-v83,
  .round-timer{
    min-width:86px!important;
    min-height:54px!important;
    padding:7px 10px!important;
  }
  .game-timer-v84 b,
  .game-timer-unified b,
  .round-timer-v83 b,
  .round-timer b{
    font-size:21px!important;
  }
}

/* Words Buster 8.8.7 — 20 free / 20 achievement / 20 paid avatars */
.avatar-sheet-v887{max-height:min(92dvh,920px);padding-bottom:max(20px,var(--tg-content-safe-bottom))}
.avatar-sheet-v887 .sheet-head{margin-bottom:16px}
.avatar-sheet-v887 .sheet-head p{display:none!important}
.avatar-collection-v887{display:flex;flex-direction:column;gap:14px;min-width:0}
.avatar-tabs-v887{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)}
.avatar-tabs-v887 button{min-width:0;min-height:48px;padding:8px 7px;border:0;border-radius:var(--wb-radius-one)!important;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:11px;font-weight:800;white-space:nowrap}
.avatar-tabs-v887 button b{min-width:21px;height:21px;padding:0 5px;border-radius:var(--wb-radius-one)!important;background:var(--surface);display:grid;place-items:center;color:inherit;font-size:9px}
.avatar-tabs-v887 button.active{background:var(--accent);color:var(--accent-ink)}
.avatar-tabs-v887 button.active b{background:color-mix(in srgb,var(--accent-ink) 10%,transparent);color:var(--accent-ink)}
.avatar-grid-v887{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding-bottom:4px}
.avatar-tile-v887{position:relative;min-width:0;aspect-ratio:1;border:0;border-radius:var(--wb-radius-one)!important;padding:0;overflow:hidden;background:var(--surface-2);color:var(--muted);isolation:isolate}
.avatar-tile-v887:active{transform:scale(.97)}
.avatar-tile-v887>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:2}
.avatar-fallback-v887{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 16%,var(--surface-2)),color-mix(in srgb,var(--blue) 10%,var(--surface-2)));z-index:1}
.avatar-fallback-v887 svg{width:34%;height:34%;opacity:.48}
.avatar-tile-v887.locked:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,9,14,.08),rgba(7,9,14,.58));z-index:3;pointer-events:none}
.avatar-tile-v887.selected{box-shadow:inset 0 0 0 3px var(--accent)}
.avatar-selected-v887,.avatar-lock-v887{position:absolute;right:6px;top:6px;width:24px;height:24px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center;z-index:5}
.avatar-selected-v887{background:var(--accent);color:var(--accent-ink)}
.avatar-selected-v887 svg{width:15px}
.avatar-lock-v887{background:rgba(13,16,24,.78);backdrop-filter:blur(8px)}
.avatar-lock-v887 i{position:relative;width:9px;height:8px;border-radius:var(--wb-radius-one)!important;background:#fff;display:block}
.avatar-lock-v887 i:before{content:"";position:absolute;left:1px;top:-6px;width:7px;height:7px;border:2px solid #fff;border-bottom:0;border-radius:var(--wb-radius-one)!important;box-sizing:border-box}
.avatar-price-v887{position:absolute;left:6px;bottom:6px;min-height:24px;padding:0 7px;border-radius:var(--wb-radius-one)!important;background:rgba(13,16,24,.82);color:#fff;display:flex;align-items:center;gap:4px;font-size:9px;font-weight:900;z-index:5;backdrop-filter:blur(8px)}
.avatar-price-v887 .tg-star{width:12px;height:13px;color:#fff}
[data-theme="light"] .avatar-tabs-v887{background:#e9edf3}
[data-theme="light"] .avatar-tabs-v887 button:not(.active){color:#677080}
[data-theme="light"] .avatar-tabs-v887 button:not(.active) b{background:#fff}
[data-theme="light"] .avatar-tile-v887{background:#e9edf3}
[data-theme="light"] .avatar-fallback-v887{background:linear-gradient(145deg,#eef1f6,#e3e8f0)}
@media(max-width:390px){
  .avatar-grid-v887{gap:7px}
  .avatar-tabs-v887{gap:4px;padding:5px}
  .avatar-tabs-v887 button{min-height:44px;font-size:10px;gap:4px;padding:7px 4px}
  .avatar-tabs-v887 button b{min-width:19px;height:19px;font-size:8px}
  .avatar-tile-v887{border-radius:var(--wb-radius-one)!important}
  .avatar-selected-v887,.avatar-lock-v887{right:5px;top:5px;width:21px;height:21px;border-radius:var(--wb-radius-one)!important}
  .avatar-price-v887{left:5px;bottom:5px;min-height:21px;padding:0 5px;font-size:8px}
}

/* Words Buster 8.8.8 — shared chain, tournament counters and avatar tabs */
.shared-chain-sheet-v888{padding-bottom:max(20px,var(--tg-content-safe-bottom))}
.chain-turn-form-v888{grid-template-columns:minmax(0,1fr) 132px;align-items:stretch}
.chain-compose-wrap-v888{display:grid;gap:7px;min-width:0;padding:11px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)}
.chain-compose-wrap-v888>span{font-size:11px;color:var(--text-secondary,#99a1b2);line-height:1.25}
.chain-compose-v888{min-height:26px;display:flex;align-items:center;min-width:0;overflow:hidden;color:var(--text);font-size:17px;font-weight:760;letter-spacing:.025em;text-transform:uppercase}
.chain-compose-v888>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chain-compose-v888>span{color:var(--muted);font-weight:580;letter-spacing:0;text-transform:none}
.chain-turn-form-v888>button{min-width:0!important;border-radius:var(--wb-radius-one)!important}
.shared-chain-keyboard-v888{display:grid;gap:5px;margin-top:12px;padding:0;background:transparent!important}
.shared-chain-keyboard-v888 .key-row{display:flex;justify-content:center;gap:4px}
.shared-chain-keyboard-v888 .key{flex:1 1 0;min-width:0;max-width:55px;height:43px;padding:0 1px;border:0;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);color:var(--text);font:800 clamp(9px,2.75vw,14px)/1 inherit}
.shared-chain-keyboard-v888 .key-wide{flex:1.45 1 0;max-width:72px}
.shared-chain-keyboard-v888 .key svg{width:18px;height:18px}
.shared-chain-keyboard-v888 .key:active{transform:scale(.96)}
.shared-chain-keyboard-v888.disabled{display:none}
.tournament-own-rank-v888 em{grid-column:1/-1;color:var(--accent);font-size:12px;font-style:normal;font-weight:750}
.tournament-players-v888 button>div small{line-height:1.35}

.avatar-sheet-v887{width:min(100%,760px)}
.avatar-tabs-v887{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;border-radius:var(--wb-radius-one)!important}
.avatar-tabs-v887 button{height:48px;min-height:48px;border-radius:var(--wb-radius-one)!important;font-size:11px;font-weight:760}
.avatar-grid-v887{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.avatar-tile-v888{aspect-ratio:1;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)}
.avatar-tile-v888 .avatar-fallback-v887{background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 13%,var(--surface-2)),color-mix(in srgb,var(--blue) 9%,var(--surface-2)))}
.avatar-tile-v888.achievement .avatar-fallback-v887,.avatar-tile-v888.paid .avatar-fallback-v887{background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 18%,var(--surface-2)),color-mix(in srgb,var(--blue) 12%,var(--surface-2)))}
.avatar-tile-v888.locked>img{filter:saturate(.72) brightness(.72)}
.avatar-tile-v888.locked:after{background:linear-gradient(180deg,rgba(7,9,14,.03),rgba(7,9,14,.48))}
.avatar-tile-v888.selected{box-shadow:inset 0 0 0 3px var(--accent)}

[data-theme="light"] .chain-compose-wrap-v888,[data-theme="light"] .shared-chain-keyboard-v888 .key{background:#eef1f6;color:#11151d}
[data-theme="light"] .chain-compose-v888{color:#11151d}
[data-theme="light"] .avatar-tile-v888{background:#e9edf3}
[data-theme="light"] .avatar-tile-v888 .avatar-fallback-v887{background:linear-gradient(145deg,#eef1f6,#e3e8f0)}

@media(max-width:430px){
  .chain-turn-form-v888{grid-template-columns:minmax(0,1fr) 112px}
  .chain-turn-form-v888>button{min-height:50px}
  .shared-chain-keyboard-v888 .key{height:39px;font-size:10px;border-radius:var(--wb-radius-one)!important}
  .avatar-grid-v887{gap:7px}
  .avatar-tabs-v887{gap:4px;padding:5px}
  .avatar-tabs-v887 button{height:44px;min-height:44px;padding:6px 4px;font-size:10px;gap:4px}
}
@media(max-width:360px){
  .chain-turn-form-v888{grid-template-columns:minmax(0,1fr) 104px}
  .shared-chain-keyboard-v888 .key-row{gap:3px}
  .shared-chain-keyboard-v888 .key{height:36px;font-size:8px}
  .avatar-grid-v887{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .avatar-tabs-v887 button b{display:none}
}

/* Words Buster 8.8.9 — polished wallet, duel result and unified avatar catalog */
.wallet-overview-v889{margin-top:12px;padding:18px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 94%,var(--violet)),color-mix(in srgb,var(--surface) 96%,var(--blue)));overflow:hidden}
.wallet-overview-v889>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.wallet-overview-v889>header>div{display:flex;align-items:center;gap:11px;min-width:0}
.wallet-overview-v889>header>div>span{width:40px;height:40px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--accent) 14%,var(--surface-2));color:var(--accent);display:grid;place-items:center;flex:0 0 40px}
.wallet-overview-v889>header>div>span svg{width:20px;height:20px}
.wallet-overview-v889>header small,.wallet-overview-v889>header strong{display:block}
.wallet-overview-v889>header small{color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.wallet-overview-v889>header strong{margin-top:3px;font-size:16px;line-height:1.15}
.wallet-overview-v889>header>button{min-height:38px;padding:0 10px;border-radius:var(--wb-radius-one)!important;background:transparent;color:var(--accent);display:flex;align-items:center;gap:5px;font-size:11px;font-weight:780;white-space:nowrap}
.wallet-overview-v889>header>button svg{width:15px}
.wallet-resources-v889{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wallet-resource-v889{position:relative;min-width:0;min-height:100px;padding:13px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--surface-2) 88%,transparent);display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;align-items:center;text-align:left;overflow:hidden}
.wallet-resource-v889>span{width:36px;height:36px;border-radius:var(--wb-radius-one)!important;display:grid;place-items:center}
.wallet-resource-v889>span svg{width:20px;height:20px}
.wallet-resource-v889>div{min-width:0}
.wallet-resource-v889 strong,.wallet-resource-v889 small{display:block}
.wallet-resource-v889 strong{font-size:22px;line-height:1;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.wallet-resource-v889 small{margin-top:7px;color:var(--muted);font-size:9px}
.wallet-resource-v889>svg{position:absolute;right:9px;top:9px;width:13px;color:var(--muted);opacity:.6}
.wallet-resource-v889.coins>span{background:rgba(255,189,74,.13);color:var(--amber)}
.wallet-resource-v889.tickets>span{background:rgba(121,88,255,.14);color:#9b83ff}
.wallet-resource-v889.hints>span{background:rgba(157,255,50,.11);color:var(--accent)}

.challenge-result-v889>header{transition:none}
.challenge-result-v889.victory>header{background:linear-gradient(135deg,rgba(157,255,50,.16),rgba(70,170,99,.08)),var(--surface)}
.challenge-result-v889.victory>header>span{background:rgba(157,255,50,.12);color:var(--accent)}
.challenge-result-v889.defeat>header{background:linear-gradient(135deg,rgba(255,91,131,.14),rgba(121,88,255,.10)),var(--surface)}
.challenge-result-v889.defeat>header>span{color:var(--rose)}
.challenge-result-v889.draw>header{background:linear-gradient(135deg,rgba(149,156,172,.12),rgba(121,88,255,.07)),var(--surface)}
.challenge-score-v889{gap:10px}
.challenge-score-v889 .challenge-side-v84{display:grid!important;grid-template-columns:1fr!important;align-content:start!important}
.challenge-score-v889 .challenge-side-v84>b{grid-column:1!important;margin-top:10px!important}
.challenge-person-v889{display:grid;grid-template-columns:40px minmax(0,1fr);gap:9px;align-items:center;min-width:0}
.challenge-side-v84 .challenge-person-v889+ b{grid-column:1/-1}
.challenge-vs-v889{width:36px;height:36px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 22%,var(--surface-2)),color-mix(in srgb,var(--accent) 10%,var(--surface-2)));display:flex!important;align-items:center;justify-content:center;gap:1px;color:var(--text)!important;font-size:10px!important;font-style:italic!important;font-weight:950!important;letter-spacing:-.08em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}
.challenge-vs-v889 span:last-child{color:var(--accent)}
.challenge-word-columns-v889>article>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.challenge-word-columns-v889 span{min-width:0;padding:7px 8px;display:flex;align-items:center;justify-content:space-between;gap:7px}
.challenge-word-columns-v889 span b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.challenge-word-columns-v889 span small{font-size:8px;color:var(--accent);white-space:nowrap}

.tournament-own-rank-v889 small{font-size:11px!important;line-height:1.35!important;text-transform:none!important}

.avatar-sheet-v887{width:min(100%,760px)!important}
.avatar-collection-v887{gap:16px!important}
.avatar-tabs-v887{border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important}
.avatar-tabs-v887 button{min-width:0!important;height:48px!important;min-height:48px!important;border-radius:var(--wb-radius-one)!important;font-size:11px!important;font-weight:760!important}
.avatar-grid-v887{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;align-items:start!important}
.avatar-tile-v889{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;padding:0!important;border:0!important;border-radius:var(--wb-radius-one)!important;overflow:hidden!important;background:var(--surface-2)!important}
.avatar-tile-v889>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;z-index:2!important}
.avatar-tile-v889.locked>img{filter:saturate(.74) brightness(.72)!important}
.avatar-tile-v889.locked:after{background:linear-gradient(180deg,rgba(8,10,16,.02),rgba(8,10,16,.50))!important}
.avatar-achievement-v889{position:absolute;left:6px;bottom:6px;width:26px;height:26px;border-radius:var(--wb-radius-one)!important;background:rgba(13,16,24,.82);color:var(--accent);display:grid;place-items:center;z-index:5;backdrop-filter:blur(8px)}
.avatar-achievement-v889 svg{width:14px;height:14px}
.avatar-price-v887{left:6px!important;bottom:6px!important;height:26px!important;min-height:26px!important;border-radius:var(--wb-radius-one)!important;padding:0 8px!important;font-size:9px!important}
.avatar-selected-v887,.avatar-lock-v887{right:6px!important;top:6px!important;width:26px!important;height:26px!important;border-radius:var(--wb-radius-one)!important}
:root[data-theme="light"] .wallet-overview-v889{background:linear-gradient(145deg,#fff,#f4f1ff)}
:root[data-theme="light"] .wallet-resource-v889{background:#f1f3f7;color:#11151d}
:root[data-theme="light"] .avatar-tile-v889{background:#e9edf3!important}

@media(max-width:430px){
  .wallet-overview-v889{padding:15px;border-radius:var(--wb-radius-one)!important}
  .wallet-overview-v889>header>div>span{width:36px;height:36px;flex-basis:36px}
  .wallet-overview-v889>header strong{font-size:14px}
  .wallet-overview-v889>header>button{font-size:10px}
  .wallet-resources-v889{gap:6px}
  .wallet-resource-v889{min-height:94px;padding:10px;grid-template-columns:1fr;gap:8px;align-content:center}
  .wallet-resource-v889>span{width:32px;height:32px}
  .wallet-resource-v889 strong{font-size:19px}
  .challenge-score-v889{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:6px}
  .challenge-side-v84{padding:9px}
  .challenge-person-v889{grid-template-columns:34px minmax(0,1fr);gap:7px}
  .challenge-vs-v889{width:32px;height:32px;border-radius:var(--wb-radius-one)!important}
  .challenge-word-columns-v889>article>div{grid-template-columns:1fr}
  .avatar-grid-v887{gap:7px!important}
  .avatar-tile-v889{border-radius:var(--wb-radius-one)!important}
}



/* Words Buster 8.8.10 — top resources, full shop and bright avatar catalog */
.avatar-tile-v889.locked>img{
  filter:none!important;
  opacity:1!important;
}
.avatar-tile-v889.locked:after{
  background:transparent!important;
}
.avatar-tile-v889.achievement,
.avatar-tile-v889.paid,
.avatar-tile-v889.free{
  background:var(--surface-2)!important;
}
.avatar-tile-v889 .avatar-lock-v887{
  background:rgba(13,16,24,.82)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.14);
}
.avatar-tile-v889 .avatar-achievement-v889,
.avatar-tile-v889 .avatar-price-v887{
  background:rgba(13,16,24,.86)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.14);
}
:root[data-theme="light"] .avatar-tile-v889 .avatar-lock-v887,
:root[data-theme="light"] .avatar-tile-v889 .avatar-achievement-v889,
:root[data-theme="light"] .avatar-tile-v889 .avatar-price-v887{
  background:rgba(20,24,34,.88)!important;
  color:#fff!important;
}

.topbar.topbar-v890{
  min-height:calc(116px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)));
  padding-top:calc(8px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)));
  padding-bottom:8px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  grid-template-rows:42px 48px;
  align-content:end;
  align-items:center;
  gap:8px 10px;
}
.topbar-v890 .profile-mini{
  min-width:0;
  grid-column:1;
  grid-row:1;
}
.topbar-v890 .top-notifications-v890{
  grid-column:2;
  grid-row:1;
  width:42px;
  min-height:42px;
}
.top-resources-v890{
  grid-column:1/-1;
  grid-row:2;
  min-width:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.top-resource-v890{
  min-width:0;
  height:48px;
  padding:0 10px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface);
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:8px;
  align-items:center;
  text-align:left;
  box-shadow:var(--shadow-soft);
}
.top-resource-v890>span{
  width:28px;
  height:28px;
  border-radius:var(--wb-radius-one)!important;
  display:grid;
  place-items:center;
}
.top-resource-v890>span svg{width:17px;height:17px}
.top-resource-v890>div{min-width:0}
.top-resource-v890 b,
.top-resource-v890 small{display:block}
.top-resource-v890 b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.top-resource-v890 small{
  margin-top:4px;
  color:var(--muted);
  font-size:7px;
  line-height:1;
}
.top-resource-v890.coins>span{background:rgba(255,189,74,.13);color:var(--amber)}
.top-resource-v890.tickets>span{background:rgba(121,88,255,.15);color:#9b83ff}
.top-resource-v890.hints>span{background:rgba(157,255,50,.12);color:var(--accent)}
#topbar.topbar-v890 + .screen-root{
  top:calc(116px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)));
}
#topbar.topbar-v890 + .screen-root.game-active{top:0}
.home-page-v890>.daily-hero-v7{margin-top:2px}

.shop-sheet-v890{
  width:min(100%,720px);
}
.shop-sheet-v890 #modalContent{
  padding-bottom:calc(28px + var(--app-safe-bottom));
}
.store-tabs-v890{
  position:sticky;
  top:0;
  z-index:6;
  margin:0 0 18px;
  padding:5px;
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--surface-2) 94%,transparent);
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  backdrop-filter:blur(18px);
}
.store-tabs-v890 button{
  min-width:0;
  min-height:48px;
  padding:6px 4px;
  border-radius:var(--wb-radius-one)!important;
  background:transparent;
  color:var(--muted);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:8px;
  font-weight:800;
}
.store-tabs-v890 button svg{width:17px;height:17px}
.store-tabs-v890 button.active{
  background:var(--accent);
  color:var(--accent-ink);
}
.store-section-v890{
  margin-top:22px;
}
.store-section-v890:first-of-type{margin-top:0}
.store-section-v890>header{
  margin-bottom:10px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.store-section-v890>header h3{
  margin:0;
  font-size:19px;
  line-height:1.05;
  letter-spacing:-.035em;
}
.store-section-v890>header small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
}
.store-section-v890>header>b{
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2);
  display:grid;
  place-items:center;
  color:var(--accent);
  font-size:10px;
}
.store-grid-v890{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.store-card-v890{
  position:relative;
  min-width:0;
  min-height:136px;
  padding:14px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface);
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  gap:10px;
  text-align:left;
  overflow:hidden;
}
.store-card-v890:active{transform:scale(.985)}
.store-card-icon-v890{
  width:38px;
  height:38px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2);
  color:var(--accent);
  display:grid;
  place-items:center;
}
.store-card-icon-v890 svg{width:20px;height:20px}
.store-card-v890.coins .store-card-icon-v890{background:rgba(255,189,74,.13);color:var(--amber)}
.store-card-v890.tickets .store-card-icon-v890{background:rgba(121,88,255,.15);color:#9b83ff}
.store-card-v890.hints .store-card-icon-v890{background:rgba(157,255,50,.12);color:var(--accent)}
.store-card-copy-v890{
  min-width:0;
}
.store-card-copy-v890 em{
  display:inline-flex;
  margin-bottom:5px;
  padding:4px 6px;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(157,255,50,.11);
  color:var(--accent);
  font-size:7px;
  font-style:normal;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.store-card-copy-v890 strong,
.store-card-copy-v890 small{display:block}
.store-card-copy-v890 strong{
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:13px;
  line-height:1.2;
}
.store-card-copy-v890 small{
  margin-top:6px;
  color:var(--muted);
  font-size:8px;
  line-height:1.4;
}
.store-card-price-v890{
  grid-column:1/-1;
  min-height:34px;
  padding:0 10px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.store-card-price-v890 del{
  color:var(--muted);
  font-size:8px;
}
.store-card-price-v890 b{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:12px;
}
.store-card-price-v890 .tg-star{width:15px;height:16px}
.store-empty-v890{
  padding:22px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface);
  color:var(--muted);
  text-align:center;
  font-size:10px;
}
:root[data-theme="light"] .top-resource-v890,
:root[data-theme="light"] .store-card-v890{background:#fff}
:root[data-theme="light"] .store-tabs-v890,
:root[data-theme="light"] .store-card-price-v890,
:root[data-theme="light"] .store-section-v890>header>b{background:#eef1f6}

@media(max-width:430px){
  .topbar.topbar-v890{
    min-height:calc(112px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)));
    grid-template-rows:40px 46px;
    gap:7px 8px;
  }
  #topbar.topbar-v890 + .screen-root{
    top:calc(112px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)));
  }
  #topbar.topbar-v890 + .screen-root.game-active{top:0}
  .top-resource-v890{height:46px;padding:0 8px;grid-template-columns:26px minmax(0,1fr);gap:6px;border-radius:var(--wb-radius-one)!important}
  .top-resource-v890>span{width:26px;height:26px;border-radius:var(--wb-radius-one)!important}
  .top-resource-v890 b{font-size:11px}
  .top-resource-v890 small{font-size:6.5px}
  .store-grid-v890{gap:7px}
  .store-card-v890{min-height:128px;padding:11px;border-radius:var(--wb-radius-one)!important;grid-template-columns:34px minmax(0,1fr);gap:8px}
  .store-card-icon-v890{width:34px;height:34px;border-radius:var(--wb-radius-one)!important}
  .store-card-copy-v890 strong{font-size:11px}
  .store-card-copy-v890 small{font-size:7px}
}
@media(max-width:350px){
  .topbar-v890 .profile-copy strong{max-width:175px;font-size:11px}
  .top-resources-v890{gap:5px}
  .top-resource-v890{padding:0 6px;grid-template-columns:23px minmax(0,1fr)}
  .top-resource-v890>span{width:23px;height:23px}
  .top-resource-v890 small{display:none}
  .store-tabs-v890 button span{font-size:7px}
  .store-card-v890{grid-template-columns:30px minmax(0,1fr)}
  .store-card-icon-v890{width:30px;height:30px}
}

/* Words Buster 8.8.11 — bright achievement avatars and adaptive mobile header */
/* The generic .achievement rule is used elsewhere and must not dim avatar tiles. */
.avatar-grid-v887 .avatar-tile-v889.achievement{
  opacity:1!important;
}
.avatar-grid-v887 .avatar-tile-v889.achievement>img,
.avatar-grid-v887 .avatar-tile-v889.paid>img,
.avatar-grid-v887 .avatar-tile-v889.free>img{
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}

/* One safe offset drives both the fixed header and the scrolling content. */
.topbar.topbar-v890{
  --wb-header-safe:max(var(--app-safe-top,14px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px));
  min-height:calc(108px + var(--wb-header-safe))!important;
  padding-top:calc(8px + var(--wb-header-safe))!important;
  padding-bottom:8px!important;
  grid-template-rows:40px 44px!important;
  align-content:start!important;
  gap:8px 10px!important;
}
.topbar-v890 .profile-mini{
  align-self:center;
}
.topbar-v890 .top-notifications-v890{
  width:40px!important;
  min-height:40px!important;
}
.top-resources-v890{
  gap:7px!important;
}
.top-resource-v890{
  height:44px!important;
  padding:0 9px!important;
  grid-template-columns:27px minmax(0,1fr)!important;
  gap:7px!important;
  border-radius:var(--wb-radius-one)!important;
}
.top-resource-v890>span{
  width:27px!important;
  height:27px!important;
}
#topbar.topbar-v890 + .screen-root{
  top:calc(108px + max(var(--app-safe-top,14px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)))!important;
}
#topbar.topbar-v890 + .screen-root.game-active{
  top:0!important;
}

/* Compact phones: preserve all values without clipping or overlaying Telegram UI. */
@media(max-width:430px){
  .topbar.topbar-v890{
    min-height:calc(104px + var(--wb-header-safe))!important;
    grid-template-columns:minmax(0,1fr) 40px!important;
    grid-template-rows:39px 42px!important;
    gap:7px 8px!important;
  }
  #topbar.topbar-v890 + .screen-root{
    top:calc(104px + max(var(--app-safe-top,14px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)))!important;
  }
  .topbar-v890 .profile-copy strong{
    max-width:min(54vw,215px)!important;
    font-size:12px!important;
  }
  .top-resource-v890{
    height:42px!important;
    padding:0 8px!important;
    grid-template-columns:25px minmax(0,1fr)!important;
    gap:6px!important;
    border-radius:var(--wb-radius-one)!important;
  }
  .top-resource-v890>span{
    width:25px!important;
    height:25px!important;
    border-radius:var(--wb-radius-one)!important;
  }
  .top-resource-v890 b{font-size:10.5px!important}
  .top-resource-v890 small{font-size:6.5px!important;margin-top:3px!important}
}

@media(max-width:350px){
  .topbar.topbar-v890{
    min-height:calc(98px + var(--wb-header-safe))!important;
    grid-template-rows:38px 38px!important;
    gap:6px!important;
  }
  #topbar.topbar-v890 + .screen-root{
    top:calc(98px + max(var(--app-safe-top,14px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)))!important;
  }
  .topbar-v890 .profile-copy strong{max-width:60vw!important;font-size:11px!important}
  .top-resources-v890{gap:5px!important}
  .top-resource-v890{
    height:38px!important;
    padding:0 6px!important;
    grid-template-columns:23px minmax(0,1fr)!important;
  }
  .top-resource-v890>span{width:23px!important;height:23px!important}
  .top-resource-v890 small{display:none!important}
}

/* Short landscape and compact-height devices keep the header usable without wasting space. */
@media(max-height:620px) and (orientation:landscape){
  .topbar.topbar-v890{
    min-height:calc(94px + var(--wb-header-safe))!important;
    grid-template-rows:36px 36px!important;
    gap:6px!important;
  }
  #topbar.topbar-v890 + .screen-root{
    top:calc(94px + max(var(--app-safe-top,14px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)))!important;
  }
  .top-resource-v890{height:36px!important}
  .top-resource-v890 small{display:none!important}
}

/* Words Buster 8.8.12 — shared chain progress, surrender and home status */
.chain-meta-v812{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2,#1c1f27);
  color:var(--muted,#9aa0b2);
  font-size:12px;
}
.chain-meta-v812 b{
  color:var(--text,#f7f8fb);
  font-size:13px;
  font-variant-numeric:tabular-nums;
}
.chain-actions-v812{
  display:flex;
  justify-content:center;
  margin:12px 0 4px;
}
.chain-surrender-v812{
  width:100%;
  min-height:48px;
  border:0;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(255,90,120,.10);
  color:#ff6f8d;
  font:inherit;
  font-weight:650;
}
.chain-surrender-v812:disabled{opacity:.45}
.chain-penalty-v812{
  margin:12px 0 0;
  padding:11px 13px;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(255,90,120,.10);
  color:#ff839b;
  text-align:center;
  font-size:12px;
}
.home-active-chain-v812{
  background:linear-gradient(120deg,rgba(129,255,38,.13),rgba(112,74,255,.16))!important;
}
.home-active-chain-v812 .home-duel-player>div>span{color:var(--accent,#9cff38)!important}
[data-theme="light"] .chain-meta-v812{
  background:#f1f3f7;
  color:#737b8d;
}
[data-theme="light"] .chain-meta-v812 b{color:#11151d}
[data-theme="light"] .chain-surrender-v812{
  background:#fff0f3;
  color:#d63b61;
}
[data-theme="light"] .chain-penalty-v812{
  background:#fff0f3;
  color:#c63859;
}
@media(max-width:380px){
  .chain-meta-v812{padding:10px 12px;font-size:11px}
  .chain-meta-v812 b{font-size:12px}
  .chain-surrender-v812{min-height:44px;border-radius:var(--wb-radius-one)!important}
}


/* Words Buster 8.8.17 — social chain, custom review dialog and Plus privacy */
.wb-confirm-v817{
  position:fixed;
  inset:0;
  z-index:10050;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:20px 16px calc(20px + env(safe-area-inset-bottom));
  background:rgba(3,5,10,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  opacity:0;
  transition:opacity .16s ease;
}
.wb-confirm-v817.show{opacity:1}
.wb-confirm-card-v817{
  width:min(100%,430px);
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:14px;
  padding:18px;
  border-radius:var(--wb-radius-one)!important;
  background:#151820;
  box-shadow:0 22px 70px rgba(0,0,0,.42);
  transform:translateY(14px);
  transition:transform .18s ease;
}
.wb-confirm-v817.show .wb-confirm-card-v817{transform:translateY(0)}
.wb-confirm-icon-v817{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(156,255,56,.12);
  color:var(--accent,#9cff38);
}
.wb-confirm-card-v817.danger .wb-confirm-icon-v817{
  background:rgba(255,92,125,.12);
  color:#ff6788;
}
.wb-confirm-icon-v817 svg{width:25px;height:25px}
.wb-confirm-copy-v817{min-width:0}
.wb-confirm-copy-v817 h3{
  margin:1px 0 7px;
  color:var(--text,#f7f8fb);
  font-size:20px;
  line-height:1.15;
  font-weight:720;
}
.wb-confirm-copy-v817 p{
  margin:0;
  color:var(--muted,#9aa0b2);
  font-size:14px;
  line-height:1.45;
}
.wb-confirm-actions-v817{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:4px;
}
.wb-confirm-actions-v817 button{
  min-height:48px;
  border:0;
  border-radius:var(--wb-radius-one)!important;
  font:inherit;
  font-weight:680;
}
.wb-confirm-card-v817.danger .wb-confirm-actions-v817 .primary-button{
  background:#ff6788;
  color:#16080d;
}

.chain-limit-v817{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(156,255,56,.09);
  color:var(--accent,#9cff38);
  font-size:13px;
  font-weight:650;
}
.chain-limit-v817 svg{width:20px;height:20px;flex:0 0 auto}
.chain-user-search-v817{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:10px;
  margin-bottom:12px;
}
.chain-user-search-v817 label{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.chain-user-search-v817 label>span{
  color:var(--muted,#9aa0b2);
  font-size:12px;
  font-weight:620;
}
.chain-user-search-v817 input{
  width:100%;
  min-height:48px;
  box-sizing:border-box;
  border:0;
  outline:0;
  border-radius:var(--wb-radius-one)!important;
  padding:0 14px;
  background:var(--surface-2,#1c1f27);
  color:var(--text,#f7f8fb);
  font:inherit;
  font-size:15px;
}
.chain-user-search-v817 .primary-button{
  min-height:48px;
  padding:0 18px;
  border-radius:var(--wb-radius-one)!important;
}
.chain-user-search-v817.loading{opacity:.65;pointer-events:none}
.chain-search-result-v817{margin:0 0 12px}
.chain-friend-heading-v817{margin-top:14px!important}
.chain-friends-v817{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.chain-friends-v817 .chain-friend-row-v817,
.chain-search-result-v817 .chain-friend-row-v817{
  width:100%;
  min-height:72px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 24px;
  align-items:center;
  gap:12px;
  padding:12px;
  border:0;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2,#171a21);
  color:var(--text,#f7f8fb);
  text-align:left;
  font:inherit;
}
.chain-friend-row-v817 .rank-avatar{
  width:48px;
  height:48px;
  border-radius:var(--wb-radius-one)!important;
}
.chain-friend-row-v817>div{min-width:0}
.chain-friend-row-v817 strong,
.chain-friend-row-v817 small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.chain-friend-row-v817 strong{font-size:15px}
.chain-friend-row-v817 small{margin-top:4px;color:var(--muted,#9aa0b2);font-size:12px}
.chain-friend-row-v817>span:last-child{color:var(--muted,#9aa0b2)}
.chain-friend-row-v817>span:last-child svg{width:21px;height:21px}
.chain-friend-row-v817.blocked{opacity:.65}
.chain-friend-row-v817.blocked>span:last-child{color:#ff7693}
.chain-friend-loading-v817{
  min-height:150px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--muted,#9aa0b2);
}
.chain-friend-loading-v817 svg{width:34px;height:34px;color:var(--accent,#9cff38)}

.challenge-privacy-v817{
  display:grid;
  grid-template-columns:50px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  padding:15px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2,#171a21);
}
.challenge-privacy-v817>span{
  width:50px;height:50px;
  display:grid;place-items:center;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(156,255,56,.1);
  color:var(--accent,#9cff38);
}
.challenge-privacy-v817>span svg{width:24px;height:24px}
.challenge-privacy-v817>div{min-width:0}
.challenge-privacy-v817 strong,.challenge-privacy-v817 small{display:block}
.challenge-privacy-v817 strong{font-size:15px}
.challenge-privacy-v817 small{margin-top:4px;color:var(--muted,#9aa0b2);font-size:12px;line-height:1.35}

.chain-last-word-v817{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:5px 12px;
  margin:0 0 14px;
  padding:14px 15px;
  border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(120deg,rgba(112,74,255,.18),rgba(156,255,56,.09));
}
.chain-last-word-v817>span{
  grid-column:1/-1;
  color:var(--muted,#9aa0b2);
  font-size:11px;
  font-weight:650;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.chain-last-word-v817>strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--text,#f7f8fb);
  font-size:21px;
  line-height:1.15;
}
.chain-last-word-v817>b{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted,#9aa0b2);
  font-size:12px;
  font-weight:600;
}
.chain-last-word-v817 b i,
.chain-letter-prompt-v817 b{
  display:inline-grid;
  place-items:center;
  min-width:34px;
  height:34px;
  padding:0 9px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--accent,#9cff38);
  color:#10140b;
  font-style:normal;
  font-size:18px;
  font-weight:850;
}
.chain-letter-prompt-v817{
  display:flex!important;
  align-items:center;
  gap:10px;
  color:var(--text,#f7f8fb)!important;
  font-weight:660;
}
.chain-turn-form-v817 .chain-compose-wrap-v888{
  background:var(--surface-2,#171a21);
  border-radius:var(--wb-radius-one)!important;
  padding:12px;
}
.chain-moves-v87>div{
  display:flex;
  flex-direction:column;
  gap:9px;
}

[data-theme="light"] .wb-confirm-v817{background:rgba(32,38,50,.38)}
[data-theme="light"] .wb-confirm-card-v817{
  background:#fff;
  box-shadow:0 22px 70px rgba(29,36,51,.22);
}
[data-theme="light"] .wb-confirm-copy-v817 h3{color:#11151d}
[data-theme="light"] .wb-confirm-copy-v817 p{color:#687184}
[data-theme="light"] .chain-user-search-v817 input,
[data-theme="light"] .chain-friend-row-v817,
[data-theme="light"] .challenge-privacy-v817,
[data-theme="light"] .chain-turn-form-v817 .chain-compose-wrap-v888{
  background:#f1f3f7;
  color:#11151d;
}
[data-theme="light"] .chain-limit-v817{
  background:#eff8e8;
  color:#4e8618;
}
[data-theme="light"] .chain-last-word-v817{
  background:linear-gradient(120deg,#eee9ff,#eef8e8);
}
[data-theme="light"] .chain-last-word-v817>strong,
[data-theme="light"] .chain-letter-prompt-v817{color:#11151d!important}
[data-theme="light"] .chain-last-word-v817>span,
[data-theme="light"] .chain-last-word-v817>b,
[data-theme="light"] .chain-friend-row-v817 small,
[data-theme="light"] .challenge-privacy-v817 small{color:#687184}
[data-theme="light"] .chain-letter-prompt-v817 b,
[data-theme="light"] .chain-last-word-v817 b i{
  background:#8eea32;
  color:#142008;
}

@media(max-width:390px){
  .wb-confirm-card-v817{grid-template-columns:46px minmax(0,1fr);padding:15px;border-radius:var(--wb-radius-one)!important}
  .wb-confirm-icon-v817{width:46px;height:46px;border-radius:var(--wb-radius-one)!important}
  .wb-confirm-copy-v817 h3{font-size:18px}
  .chain-user-search-v817{grid-template-columns:1fr}
  .chain-user-search-v817 .primary-button{width:100%}
  .chain-last-word-v817{grid-template-columns:1fr}
  .chain-last-word-v817>b{justify-self:start}
}


/* Words Buster 8.8.18 — chain invitations, recent rows and Daily Word */
.recent-game-card-v6{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) max-content!important;
  align-items:center!important;
}
.recent-game-card-v6>div{min-width:0}
.recent-game-card-v6>em{
  min-width:72px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  white-space:nowrap!important;
  flex-wrap:nowrap!important;
}
.recent-game-card-v6>em b{display:block!important;line-height:1!important;white-space:nowrap!important}
.recent-game-card-v6>em svg{width:23px!important;height:23px!important;flex:0 0 23px!important;margin:0!important}

.pending-chain-sheet-v818 #modalContent{padding-bottom:calc(24px + var(--tg-safe-bottom,0px))}
.pending-chain-player-v818{
  min-height:88px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 42px;
  align-items:center;
  gap:14px;
  padding:15px;
  margin:0 0 12px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface,#171a22);
}
.pending-chain-player-v818 .challenge-avatar-v84{width:58px;height:58px;border-radius:var(--wb-radius-one)!important}
.pending-chain-player-v818>div{min-width:0}
.pending-chain-player-v818 strong,
.pending-chain-player-v818 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pending-chain-player-v818 strong{font-size:17px}
.pending-chain-player-v818 small{margin-top:5px;color:var(--muted,#969dad);font-size:12px}
.pending-chain-player-v818>svg{width:26px;height:26px;color:var(--accent,#9cff35)}
.pending-chain-timer-v818{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:13px;
  padding:15px;
  margin-bottom:14px;
  border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,rgba(156,255,53,.13),rgba(111,73,255,.12));
}
.pending-chain-timer-v818>svg{width:23px;height:23px;color:var(--accent,#9cff35)}
.pending-chain-timer-v818 strong,.pending-chain-timer-v818 small{display:block}
.pending-chain-timer-v818 strong{font-size:16px}
.pending-chain-timer-v818 small{margin-top:5px;color:var(--muted,#969dad)}
.pending-chain-timer-v818 small b{color:var(--text,#f5f7fb);font-variant-numeric:tabular-nums}
.pending-chain-actions-v818{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pending-chain-actions-v818 button,.chain-cancel-v818{min-height:54px;border-radius:var(--wb-radius-one)!important}
.chain-cancel-v818{
  width:100%;
  border:0;
  background:rgba(255,91,123,.12);
  color:#ff6e8b;
  font:inherit;
  font-weight:700;
}
.home-active-chain-v812.pending-v818 .home-duel-cta.cancel{
  background:rgba(255,91,123,.12)!important;
  color:#ff718d!important;
}

.daily-game-v86{
  width:min(100%,560px)!important;
  margin:0 auto!important;
  padding:
    max(18px,calc(env(safe-area-inset-top,0px) + 10px))
    clamp(14px,4vw,24px)
    calc(26px + env(safe-area-inset-bottom,0px))!important;
  gap:14px!important;
}
.daily-game-v86 .game-header{
  min-height:72px!important;
  margin-bottom:2px!important;
}
.daily-game-v86 .daily-summary-v86{
  min-height:82px!important;
  padding:16px!important;
  border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,rgba(111,73,255,.16),rgba(156,255,53,.08))!important;
}
.daily-game-v86 .daily-summary-v86 strong{font-size:18px!important;line-height:1.2}
.daily-game-v86 .daily-summary-v86 span{font-size:12px!important}
.daily-game-v86 .daily-instruction-v86{
  margin:0!important;
  padding:0 5px!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  color:var(--muted,#969dad)!important;
  font-size:12px!important;
  line-height:1.45!important;
  text-align:center;
}
.daily-game-v86 .word-board{
  padding:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.daily-game-v86 .word-cell{border-radius:var(--wb-radius-one)!important}
.daily-game-v86 .keyboard{
  padding:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.daily-game-v86 .daily-submit-v86{
  width:100%;
  min-height:54px!important;
  border-radius:var(--wb-radius-one)!important;
}
.daily-game-v86 .daily-tools-v86{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  padding:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.daily-game-v86 .daily-tools-v86>button{min-height:58px!important;border-radius:var(--wb-radius-one)!important}
.daily-game-v86 .daily-hint-note-v86{
  margin:0!important;
  padding:12px 14px!important;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface,#171a22)!important;
  color:var(--muted,#969dad)!important;
  font-size:11px!important;
}

.daily-result-v818{
  width:min(100%,560px);
  min-height:100%;
  margin:0 auto;
  padding:
    max(28px,calc(env(safe-area-inset-top,0px) + 24px))
    clamp(18px,5vw,28px)
    calc(28px + env(safe-area-inset-bottom,0px));
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
}
.daily-result-mark-v818{
  width:72px;height:72px;border-radius:var(--wb-radius-one)!important;
  display:grid;place-items:center;
  color:#10150c;
  background:linear-gradient(135deg,#9cff35,#73db2a);
}
.daily-result-v818.failed .daily-result-mark-v818{
  color:#fff;background:linear-gradient(135deg,#68273c,#392144);
}
.daily-result-mark-v818 svg{width:32px;height:32px}
.daily-result-kicker-v818{
  color:var(--muted,#969dad);
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.daily-result-v818 h1{margin:0;font-size:clamp(32px,8vw,46px);line-height:1.05}
.daily-result-v818>p{max-width:430px;margin:0;color:var(--muted,#969dad);line-height:1.5}
.daily-result-board-v818{width:min(100%,410px);display:grid;gap:5px;margin:5px 0}
.daily-result-board-v818>div{display:flex;justify-content:center;gap:5px}
.daily-result-board-v818 span{
  width:clamp(34px,9vw,48px);aspect-ratio:1;
  border-radius:var(--wb-radius-one)!important;
  display:grid;place-items:center;
  background:var(--surface,#171a22);
  font-weight:800;
}
.daily-result-board-v818 span.correct{background:#4f9126;color:#fff}
.daily-result-board-v818 span.present{background:#b27d16;color:#fff}
.daily-result-board-v818 span.absent{background:#4a505d;color:#fff}
.daily-target-v818{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:15px 17px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22);
}
.daily-target-v818 span{color:var(--muted,#969dad);font-size:12px}
.daily-target-v818 strong{font-size:22px;letter-spacing:.14em;text-transform:uppercase}
.daily-percentile-v818{
  width:100%;padding:14px 16px;border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,rgba(156,255,53,.12),rgba(111,73,255,.12));
  font-weight:700;
}
.daily-result-stats-v818{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.daily-result-stats-v818 article{min-width:0;padding:14px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)}
.daily-result-stats-v818 strong,.daily-result-stats-v818 span{display:block}
.daily-result-stats-v818 strong{font-size:21px}
.daily-result-stats-v818 span{margin-top:5px;color:var(--muted,#969dad);font-size:10px}
.daily-result-actions-v818{width:100%;display:grid;gap:10px}
.daily-result-actions-v818 button{min-height:56px;border-radius:var(--wb-radius-one)!important}
.daily-tomorrow-v818{display:flex;align-items:center;gap:8px;color:var(--muted,#969dad)}
.daily-tomorrow-v818 svg{width:17px;height:17px}
.daily-recap-v818 .daily-result-stats-v818{margin:18px 0}

[data-theme="light"] .pending-chain-player-v818,
[data-theme="light"] .daily-game-v86 .daily-hint-note-v86,
[data-theme="light"] .daily-target-v818,
[data-theme="light"] .daily-result-stats-v818 article,
[data-theme="light"] .daily-result-board-v818 span{
  background:#fff!important;
  color:#12161d!important;
}
[data-theme="light"] .pending-chain-timer-v818{
  background:linear-gradient(135deg,#edf9df,#eeeafd)!important;
  color:#12161d!important;
}
[data-theme="light"] .daily-game-v86 .daily-summary-v86{
  background:linear-gradient(135deg,#f1ecff,#edf9e3)!important;
  color:#12161d!important;
}
[data-theme="light"] .daily-result-board-v818 span.correct{background:#4f9126!important;color:#fff!important}
[data-theme="light"] .daily-result-board-v818 span.present{background:#b27d16!important;color:#fff!important}
[data-theme="light"] .daily-result-board-v818 span.absent{background:#697382!important;color:#fff!important}

@media(max-width:390px){
  .recent-game-card-v6{grid-template-columns:54px minmax(0,1fr) max-content!important}
  .recent-game-card-v6>em{min-width:62px!important;gap:7px!important}
  .pending-chain-actions-v818{grid-template-columns:1fr}
  .daily-result-stats-v818{gap:6px}
  .daily-result-stats-v818 strong{font-size:18px}
  .daily-game-v86{padding-inline:11px!important;gap:10px!important}
  .daily-game-v86 .word-row{gap:4px!important}
  .daily-game-v86 .word-cell{border-radius:var(--wb-radius-one)!important}
  .daily-game-v86 .key{height:35px!important;border-radius:var(--wb-radius-one)!important}
}
@media(max-height:720px){
  .daily-game-v86{gap:8px!important;padding-top:max(12px,env(safe-area-inset-top,0px))!important}
  .daily-game-v86 .game-header{min-height:58px!important}
  .daily-game-v86 .daily-summary-v86{min-height:68px!important;padding:12px!important}
  .daily-game-v86 .word-row{gap:3px!important}
  .daily-game-v86 .word-cell{max-height:48px}
  .daily-game-v86 .key{height:32px!important}
  .daily-game-v86 .daily-tools-v86>button{min-height:48px!important}
  .daily-result-v818{padding-top:max(18px,env(safe-area-inset-top,0px));gap:10px}
  .daily-result-mark-v818{width:58px;height:58px;border-radius:var(--wb-radius-one)!important}
}


/* Words Buster 8.8.19 — one clear action area in shared Word Chain */
.chain-last-word-v819{
  grid-template-columns:minmax(0,1fr)!important;
  gap:6px!important;
  margin-bottom:14px!important;
}
.chain-last-word-v819>strong{
  font-size:22px!important;
  letter-spacing:.01em;
  text-transform:uppercase;
}
.chain-action-v819{
  margin-top:14px;
  padding:16px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2,#171a21);
}
.chain-action-v819.your-turn{
  background:linear-gradient(135deg,rgba(156,255,56,.13),rgba(112,74,255,.10) 72%,var(--surface-2,#171a21));
}
.chain-action-v819.waiting{
  background:linear-gradient(135deg,rgba(112,74,255,.10),var(--surface-2,#171a21) 72%);
}
.chain-action-v819>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.chain-action-v819>header>div,
.chain-action-copy-v819>div{min-width:0}
.chain-action-v819>header small,
.chain-action-copy-v819 small{
  display:block;
  margin-bottom:4px;
  color:var(--accent,#9cff38);
  font-size:12px;
  font-weight:750;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.chain-action-v819.waiting>header small{color:#a995ff}
.chain-action-v819>header strong,
.chain-action-copy-v819 strong{
  display:block;
  color:var(--text,#f7f8fb);
  font-size:17px;
  line-height:1.25;
}
.chain-clock-v819{
  flex:0 0 auto;
  min-width:92px;
  padding:9px 11px;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(0,0,0,.22);
  text-align:right;
  font-style:normal;
}
.chain-clock-v819 small{
  margin:0 0 2px!important;
  color:var(--muted,#9aa0b2)!important;
  font-size:9px!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
}
.chain-clock-v819 b{
  display:block;
  color:var(--text,#f7f8fb);
  font-size:19px;
  line-height:1;
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
}
.chain-clock-v819 b.urgent{color:#ffcf55}
.chain-turn-form-v819{
  grid-template-columns:52px minmax(0,1fr) minmax(118px,auto)!important;
  align-items:stretch;
  gap:10px!important;
  margin:0!important;
}
.chain-required-letter-v819{
  display:grid;
  place-items:center;
  width:52px;
  min-height:54px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--accent,#9cff38);
  color:#11150b;
  font-size:25px;
  font-weight:900;
  line-height:1;
}
.chain-required-letter-v819.start{background:rgba(156,255,56,.14);color:var(--accent,#9cff38)}
.chain-required-letter-v819 svg{width:23px;height:23px}
.chain-turn-form-v819 .chain-compose-wrap-v888{
  display:flex;
  align-items:center;
  min-width:0;
  min-height:54px;
  padding:0 15px!important;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(0,0,0,.19)!important;
}
.chain-turn-form-v819 .chain-compose-v888{
  width:100%;
  min-width:0;
  font-size:17px;
}
.chain-turn-form-v819 button[type="submit"]{
  min-width:118px!important;
  min-height:54px;
  border-radius:var(--wb-radius-one)!important;
}
.chain-action-v819 .shared-chain-keyboard-v888{
  margin-top:12px;
}
.chain-action-v819.waiting>header{margin-bottom:0}
.chain-action-v819.completed{display:flex;align-items:center}
.chain-action-copy-v819{display:flex;align-items:center;gap:12px}
.chain-action-copy-v819>span{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:var(--wb-radius-one)!important;
  background:rgba(156,255,56,.14);
  color:var(--accent,#9cff38);
}
.chain-action-copy-v819 svg{width:22px;height:22px}

/* The old duplicated turn card is no longer rendered; keep a defensive hide for cached fragments. */
.shared-chain-sheet-v87 .chain-turn-v87{display:none!important}
.shared-chain-sheet-v87 .chain-letter-prompt-v817{display:none!important}

[data-theme="light"] .chain-action-v819{
  background:#f1f3f7;
  color:#11151d;
}
[data-theme="light"] .chain-action-v819.your-turn{
  background:linear-gradient(135deg,#edf8e4,#f0ecff 78%);
}
[data-theme="light"] .chain-action-v819.waiting{
  background:linear-gradient(135deg,#f0ecff,#f1f3f7 78%);
}
[data-theme="light"] .chain-action-v819>header strong,
[data-theme="light"] .chain-action-copy-v819 strong{color:#11151d}
[data-theme="light"] .chain-clock-v819{background:rgba(255,255,255,.72)}
[data-theme="light"] .chain-clock-v819 b{color:#11151d}
[data-theme="light"] .chain-turn-form-v819 .chain-compose-wrap-v888{
  background:rgba(255,255,255,.76)!important;
  color:#11151d;
}

@media(max-width:430px){
  .chain-action-v819{padding:13px;border-radius:var(--wb-radius-one)!important}
  .chain-action-v819>header{align-items:flex-start}
  .chain-action-v819>header strong{font-size:15px}
  .chain-clock-v819{min-width:82px;padding:8px 9px}
  .chain-clock-v819 b{font-size:17px}
  .chain-turn-form-v819{
    grid-template-columns:48px minmax(0,1fr)!important;
  }
  .chain-required-letter-v819{width:48px;min-height:50px;border-radius:var(--wb-radius-one)!important;font-size:23px}
  .chain-turn-form-v819 .chain-compose-wrap-v888{min-height:50px;padding:0 12px!important;border-radius:var(--wb-radius-one)!important}
  .chain-turn-form-v819 button[type="submit"]{
    grid-column:1/-1;
    width:100%;
    min-height:50px;
    border-radius:var(--wb-radius-one)!important;
  }
}
@media(max-width:350px){
  .chain-action-v819>header{gap:8px}
  .chain-clock-v819{min-width:76px}
  .chain-action-v819>header strong{font-size:14px}
}


/* Words Buster 8.8.20 — distinct results/history, corrected controls and Plus privacy */
.recent-game-list-v820{display:grid;gap:12px}
.recent-game-card-v820.daily{
  background:linear-gradient(135deg,rgba(109,74,255,.18),rgba(156,255,56,.08) 78%,var(--surface,#171a22))!important;
}
.recent-game-card-v820.daily .recent-game-icon{
  background:linear-gradient(145deg,#7049ff,#9cff38)!important;
  color:#fff!important;
}
.recent-game-card-v820.daily.failed .recent-game-icon{background:linear-gradient(145deg,#4b5060,#252934)!important}
.recent-game-card-v820.tournament{background:linear-gradient(135deg,rgba(112,74,255,.14),rgba(255,192,62,.07),var(--surface,#171a22))!important}
.daily-history-value-v820{display:grid!important;grid-template-columns:auto auto!important;align-items:center!important;column-gap:7px!important;min-width:78px!important}
.daily-history-value-v820 small{grid-column:1/2;color:var(--muted,#969dad);font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.history-all-v820{display:grid;gap:10px}
.history-all-v820 .recent-game-card-v820{width:100%;border:0;text-align:left}
.daily-history-v820{padding:4px 2px 12px}
.daily-history-v820>header{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.daily-history-v820>header>span{display:grid;place-items:center;width:54px;height:54px;border-radius:var(--wb-radius-one)!important;background:rgba(156,255,56,.14);color:var(--accent,#9cff38)}
.daily-history-v820.failed>header>span{background:rgba(255,91,126,.12);color:#ff6b8b}
.daily-history-v820>header svg{width:25px;height:25px}
.daily-history-v820>header small{display:block;margin-bottom:4px;color:var(--muted,#969dad);font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.daily-history-v820>header h2{margin:0;font-size:27px;line-height:1.1}
.daily-history-board-v820{display:grid;gap:5px;margin:0 auto 18px;width:min(100%,390px)}
.daily-history-board-v820>div{display:flex;justify-content:center;gap:5px}
.daily-history-board-v820 span{display:grid;place-items:center;width:clamp(34px,10vw,46px);aspect-ratio:1;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22);font-weight:800}
.daily-history-board-v820 span.correct{background:#4f9126;color:#fff}.daily-history-board-v820 span.present{background:#b27d16;color:#fff}.daily-history-board-v820 span.absent{background:#4a505d;color:#fff}
.daily-history-target-v820{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)}
.daily-history-target-v820 span{color:var(--muted,#969dad);font-size:11px}.daily-history-target-v820 strong{font-size:21px;letter-spacing:.12em;text-transform:uppercase}
.daily-history-stats-v820{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.daily-history-stats-v820 article{padding:14px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22);text-align:center}
.daily-history-stats-v820 strong,.daily-history-stats-v820 span{display:block}.daily-history-stats-v820 strong{font-size:20px}.daily-history-stats-v820 span{margin-top:4px;color:var(--muted,#969dad);font-size:10px}

.tournament-result-v820{min-height:100%;display:flex;flex-direction:column;align-items:center;gap:18px;padding:max(24px,env(safe-area-inset-top,0px)) 24px calc(30px + env(safe-area-inset-bottom,0px));text-align:center}
.tournament-result-mark-v820{display:grid;place-items:center;width:82px;height:82px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(145deg,#7049ff,#9b6dff);color:#fff;box-shadow:0 20px 50px rgba(112,73,255,.26)}
.tournament-result-mark-v820 svg{width:38px;height:38px}
.tournament-result-kicker-v820{color:#a995ff;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.tournament-result-v820 h1{max-width:520px;margin:0;font-size:clamp(34px,8vw,50px);line-height:1.02}
.tournament-result-v820>p{max-width:470px;margin:0;color:var(--muted,#969dad);line-height:1.5}
.tournament-result-stats-v820{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:4px}
.tournament-result-stats-v820 article{padding:18px 8px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)}
.tournament-result-stats-v820 strong,.tournament-result-stats-v820 span{display:block}.tournament-result-stats-v820 strong{font-size:27px}.tournament-result-stats-v820 span{margin-top:6px;color:var(--muted,#969dad);font-size:10px}
.tournament-result-saved-v820{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:15px 16px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(112,74,255,.20),rgba(112,74,255,.08));color:#c4b7ff;font-weight:700}
.tournament-result-saved-v820 svg{width:20px;height:20px}
.tournament-result-actions-v820{width:100%;display:grid;gap:10px;margin-top:auto}
.tournament-result-actions-v820 button{min-height:58px;border-radius:var(--wb-radius-one)!important}

.builder-actions-v820>button:first-child{font-size:31px;line-height:1}
.builder-actions-v820>button:last-child svg{width:25px;height:25px}
.challenge-privacy-inline-v820{position:relative}
.challenge-privacy-inline-v820>div{min-width:0;display:grid;gap:3px}
.challenge-privacy-inline-v820>div strong{font-size:14px}.challenge-privacy-inline-v820>div small{color:var(--muted,#969dad);font-size:10px;line-height:1.35}
.challenge-privacy-inline-v820 .switch-control{margin-left:auto}
.daily-recap-v818{position:relative;z-index:1}
.daily-recap-v818 [data-result-home]{position:relative;z-index:5;pointer-events:auto!important}
.daily-recap-v818::before,.daily-recap-v818::after{pointer-events:none!important}

[data-theme="light"] .recent-game-card-v820.daily{background:linear-gradient(135deg,#f1ecff,#edf8e4 76%,#fff)!important;color:#11151d!important}
[data-theme="light"] .recent-game-card-v820.tournament{background:linear-gradient(135deg,#f2edff,#fff8e6 76%,#fff)!important;color:#11151d!important}
[data-theme="light"] .daily-history-board-v820 span,[data-theme="light"] .daily-history-target-v820,[data-theme="light"] .daily-history-stats-v820 article,[data-theme="light"] .tournament-result-stats-v820 article{background:#fff!important;color:#11151d!important}
[data-theme="light"] .daily-history-board-v820 span.correct{background:#4f9126!important;color:#fff!important}[data-theme="light"] .daily-history-board-v820 span.present{background:#b27d16!important;color:#fff!important}[data-theme="light"] .daily-history-board-v820 span.absent{background:#697382!important;color:#fff!important}
[data-theme="light"] .challenge-privacy-inline-v820{background:#fff!important}

@media(max-width:390px){
  .daily-history-stats-v820,.tournament-result-stats-v820{gap:6px}
  .daily-history-stats-v820 strong{font-size:17px}.tournament-result-stats-v820 strong{font-size:22px}
  .tournament-result-v820{padding-inline:16px;gap:14px}
  .tournament-result-mark-v820{width:68px;height:68px;border-radius:var(--wb-radius-one)!important}
  .tournament-result-v820 h1{font-size:34px}
}

/* Words Buster 8.8.21 — tournament hub and unified game surface */
.tournament-page-v821{display:flex;flex-direction:column;gap:16px;padding:4px 0 18px}
.tournament-hero-v821{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:22px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(112,73,255,.28),rgba(157,255,63,.10) 62%,var(--surface,#171a22));overflow:hidden}
.tournament-hero-v821::after{content:"";position:absolute;width:190px;height:190px;border-radius:var(--wb-radius-one)!important;right:-80px;top:-105px;background:rgba(157,255,63,.10);pointer-events:none}
.tournament-hero-v821>div{position:relative;z-index:1;min-width:0}.tournament-hero-v821>div>span{display:grid;place-items:center;width:48px;height:48px;border-radius:var(--wb-radius-one)!important;background:rgba(157,255,63,.13);color:var(--accent,#9dff3f);margin-bottom:18px}.tournament-hero-v821>div>span svg{width:24px;height:24px}
.tournament-hero-v821 small{color:var(--muted,#969dad);font-size:10px;font-weight:800;letter-spacing:.17em}.tournament-hero-v821 h1{margin:5px 0 8px;font-size:34px;line-height:1;letter-spacing:-.045em}.tournament-hero-v821 p{max-width:510px;margin:0;color:var(--muted,#969dad);font-size:12px;line-height:1.55}
.tournament-league-chip-v821{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;min-width:150px;padding:14px 15px;border:0;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.065);color:var(--text,#fff);text-align:left}.tournament-league-chip-v821 small{letter-spacing:0;font-weight:600}.tournament-league-chip-v821 strong{font-size:15px}.tournament-league-chip-v821 svg{grid-row:1/3;grid-column:2;width:18px;height:18px;color:var(--accent,#9dff3f)}
.tournament-tabs-v821{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)}
.tournament-tabs-v821 button{display:grid;gap:3px;min-width:0;min-height:62px;padding:10px 8px;border:0;border-radius:var(--wb-radius-one)!important;background:transparent;color:var(--muted,#969dad)}.tournament-tabs-v821 button span{font-size:13px;font-weight:750}.tournament-tabs-v821 button small{font-size:9px;color:inherit;opacity:.72}.tournament-tabs-v821 button.active{background:var(--accent,#9dff3f);color:#10150d}.tournament-tabs-v821 button.active small{opacity:.72}
.tournament-events-v821{display:grid;gap:12px}.tournament-event-v821{position:relative;padding:20px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22);overflow:hidden}.tournament-event-v821::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--accent,#9dff3f),transparent)}.tournament-event-v821.cadence-weekly::before{background:linear-gradient(180deg,#8c6cff,#9dff3f)}.tournament-event-v821.cadence-monthly::before{background:linear-gradient(180deg,#ffbd4a,#7957ff)}
.tournament-event-head-v821{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.tournament-event-head-v821>div{min-width:0}.tournament-live-v821{display:flex;align-items:center;gap:7px;color:var(--muted,#969dad);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.tournament-live-v821 i{width:7px;height:7px;border-radius:var(--wb-radius-one)!important;background:var(--accent,#9dff3f);box-shadow:0 0 0 5px rgba(157,255,63,.08)}.tournament-event-head-v821 h2{margin:9px 0 0;font-size:25px;line-height:1.05;letter-spacing:-.04em}.tournament-event-head-v821 time{flex:0 0 auto;padding:8px 10px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#20232c);color:var(--text,#fff);font-size:11px;font-weight:750}.tournament-event-v821>p{margin:13px 0 0;color:var(--muted,#969dad);font-size:12px;line-height:1.5}
.tournament-attempts-v821{margin-top:16px;padding:13px 14px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#20232c)}.tournament-attempts-v821>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.tournament-attempts-v821 span{color:var(--muted,#969dad);font-size:11px}.tournament-attempts-v821 strong{font-size:13px}.tournament-attempts-v821>i{display:block;height:4px;margin-top:10px;border-radius:var(--wb-radius-one)!important;background:rgba(255,255,255,.07);overflow:hidden}.tournament-attempts-v821>i b{display:block;height:100%;border-radius:var(--wb-radius-one)!important;background:linear-gradient(90deg,var(--accent,#9dff3f),#7b5cff)}
.tournament-facts-v821{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.tournament-facts-v821 article,.tournament-facts-v821 button{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:11px;border:0;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#20232c);color:var(--text,#fff);text-align:left}.tournament-facts-v821>*>span{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--wb-radius-one)!important;background:rgba(157,255,63,.09);color:var(--accent,#9dff3f)}.tournament-facts-v821 svg{width:17px;height:17px}.tournament-facts-v821 div{min-width:0;display:grid;gap:3px}.tournament-facts-v821 small{overflow:hidden;color:var(--muted,#969dad);font-size:9px;white-space:nowrap;text-overflow:ellipsis}.tournament-facts-v821 strong{overflow:hidden;font-size:13px;white-space:nowrap;text-overflow:ellipsis}
.tournament-rule-v821{display:flex;align-items:center;gap:10px;margin-top:10px;padding:12px 13px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,rgba(157,255,63,.11),rgba(112,73,255,.08));color:var(--text,#fff);font-size:11px;font-weight:650;line-height:1.4}.tournament-rule-v821 svg{width:19px;height:19px;flex:0 0 auto;color:var(--accent,#9dff3f)}
.tournament-actions-v821{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:9px;margin-top:14px}.tournament-actions-v821 button{min-height:52px;border-radius:var(--wb-radius-one)!important}.tournament-main-action-v821{width:100%}
.tournament-empty-v821{display:flex;align-items:center;gap:13px;padding:22px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)}.tournament-empty-v821>svg{width:30px;height:30px;color:var(--accent,#9dff3f)}.tournament-empty-v821 div{display:grid;gap:4px}.tournament-empty-v821 small{color:var(--muted,#969dad);line-height:1.4}
.tournament-rules-v821{padding:18px;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)}.tournament-rules-v821>header{display:flex;align-items:flex-start;gap:12px}.tournament-rules-v821>header>span{display:grid;place-items:center;width:42px;height:42px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#20232c);color:var(--accent,#9dff3f)}.tournament-rules-v821 h2{margin:0;font-size:19px}.tournament-rules-v821 p{margin:5px 0 0;color:var(--muted,#969dad);font-size:11px;line-height:1.45}.tournament-rules-v821>div{display:grid;gap:7px;margin-top:14px}.tournament-rules-v821 article{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2,#20232c);font-size:11px}.tournament-rules-v821 article svg{width:17px;height:17px;color:var(--accent,#9dff3f)}

/* One visual language for every internal word-building screen */
.word-builder-v821{gap:14px!important;padding-inline:clamp(14px,4vw,28px)!important;padding-bottom:calc(26px + env(safe-area-inset-bottom,0px))!important}.word-builder-v821 .game-header{margin-bottom:2px}.word-progress-v821{min-height:92px!important;padding:14px 15px!important;border-radius:var(--wb-radius-one)!important;background:rgba(20,23,34,.86)!important}.word-progress-v821>span{width:48px!important;height:48px!important;border-radius:var(--wb-radius-one)!important}.word-progress-v821 strong{font-size:17px!important}.word-progress-v821 small{font-size:10px!important}
.word-builder-v821 .selected-word-v84{min-height:112px!important;border-radius:var(--wb-radius-one)!important;background:rgba(20,23,34,.82)!important;border:0!important}.letter-deck-v821{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:9px!important;padding:14px 3px!important}.letter-deck-v821 button,.letter-deck-v821 .letter-tile{width:clamp(58px,16vw,82px)!important;height:clamp(68px,18vw,88px)!important;border-radius:var(--wb-radius-one)!important;border:0!important;background:rgba(29,33,47,.94)!important;box-shadow:inset 0 -4px 0 rgba(0,0,0,.12)!important;font-size:clamp(31px,9vw,46px)!important}.builder-actions-v821{display:grid!important;grid-template-columns:58px minmax(0,1fr) 58px!important;gap:9px!important;padding:0!important;background:transparent!important}.builder-actions-v821 button{min-height:58px!important;border-radius:var(--wb-radius-one)!important;border:0!important}.builder-actions-v821 .primary-button{font-size:16px!important}.builder-actions-v821>button:not(.primary-button){background:var(--surface,#171a22)!important;color:var(--text,#fff)!important}.builder-tools-v821{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;background:transparent!important}.builder-tools-v821 button{min-height:92px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)!important;border:0!important}.builder-tools-v821 button span{font-size:11px!important}.game-note-v821{border-radius:var(--wb-radius-one)!important;padding:13px 14px!important;background:var(--surface,#171a22)!important;font-size:10px!important;line-height:1.45!important}
.daily-game-v821{padding-inline:clamp(14px,4vw,28px)!important}.daily-game-v821 .word-board-v821{padding:10px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)!important}.daily-game-v821 .keyboard-v821{padding:7px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface,#171a22)!important}.chain-game-v821{padding-inline:clamp(14px,4vw,28px)!important}

[data-theme="light"] .tournament-hero-v821{background:linear-gradient(135deg,#eee9ff,#eef9df 68%,#fff)}[data-theme="light"] .tournament-event-v821,[data-theme="light"] .tournament-tabs-v821,[data-theme="light"] .tournament-rules-v821,[data-theme="light"] .tournament-empty-v821{background:#fff;color:#11151d}[data-theme="light"] .tournament-event-head-v821 time,[data-theme="light"] .tournament-attempts-v821,[data-theme="light"] .tournament-facts-v821 article,[data-theme="light"] .tournament-facts-v821 button,[data-theme="light"] .tournament-rules-v821 article,[data-theme="light"] .tournament-league-chip-v821{background:#eef1f6;color:#11151d}[data-theme="light"] .word-progress-v821,[data-theme="light"] .word-builder-v821 .selected-word-v84,[data-theme="light"] .daily-game-v821 .word-board-v821,[data-theme="light"] .daily-game-v821 .keyboard-v821{background:#fff!important;color:#11151d!important}[data-theme="light"] .letter-deck-v821 button,[data-theme="light"] .letter-deck-v821 .letter-tile,[data-theme="light"] .builder-tools-v821 button,[data-theme="light"] .builder-actions-v821>button:not(.primary-button),[data-theme="light"] .game-note-v821{background:#fff!important;color:#11151d!important;box-shadow:0 8px 22px rgba(42,49,69,.06)!important}
@media(max-width:430px){.tournament-hero-v821{grid-template-columns:1fr;padding:19px}.tournament-league-chip-v821{width:100%}.tournament-tabs-v821 button{min-height:56px}.tournament-tabs-v821 button span{font-size:11px}.tournament-tabs-v821 button small{font-size:8px}.tournament-event-v821{padding:17px}.tournament-event-head-v821 h2{font-size:22px}.tournament-facts-v821{grid-template-columns:1fr 1fr}.tournament-facts-v821>*:last-child{grid-column:1/-1}.tournament-actions-v821{grid-template-columns:1fr}.builder-actions-v821{grid-template-columns:54px minmax(0,1fr) 54px!important}.builder-tools-v821 button{min-height:82px!important}}
@media(max-width:350px){.tournament-tabs-v821{grid-template-columns:1fr}.tournament-tabs-v821 button{grid-template-columns:1fr auto;align-items:center;min-height:46px}.tournament-facts-v821{grid-template-columns:1fr}.tournament-facts-v821>*:last-child{grid-column:auto}.letter-deck-v821 button,.letter-deck-v821 .letter-tile{width:54px!important;height:64px!important}.builder-tools-v821{grid-template-columns:1fr!important}.builder-tools-v821 button{min-height:58px!important}}


/* Words Buster 8.8.23 — duel page and one visual system across the application */
:root{
  --wb-radius:8px;
  --wb-gap:12px;
  --radius-xl:8px;
  --radius-lg:8px;
  --radius-md:8px;
  --radius-sm:8px;
  --shadow:none;
  --shadow-soft:none;
}

/* One geometry, spacing and interaction language everywhere */
.app-shell button,
.app-shell input,
.app-shell textarea,
.app-shell select,
.app-shell .primary-button,
.app-shell .secondary-button,
.app-shell .icon-button,
.app-shell .reward-button,
.app-shell .tool-button{
  border-radius:var(--wb-radius-one)!important;
  border:0!important;
  box-shadow:none!important;
}
.app-shell article,
.app-shell [class*="-card"],
.app-shell [class*="-panel"],
.app-shell [class*="-tile"],
.app-shell [class*="-chip"],
.app-shell [class*="-notice"],
.app-shell [class*="-banner"],
.app-shell [class*="-summary"],
.app-shell [class*="-overview"]{
  border-radius:var(--wb-radius-one)!important;
  box-shadow:none!important;
  border:0!important;
}
.app-shell .avatar,
.app-shell .rank-avatar,
.app-shell [class*="avatar"] img,
.app-shell [class*="-avatar"]{
  border-radius:var(--wb-radius-one)!important;
}
.app-shell .nav-inner,
.app-shell .nav-btn,
.app-shell .play-tabs-v83,
.app-shell .play-tabs-v83 button,
.app-shell .tournament-tabs-v821,
.app-shell .tournament-tabs-v821 button,
.app-shell .profile-tabs,
.app-shell .profile-tabs button,
.app-shell .bottom-sheet,
.app-shell .bottom-sheet.sheet-v83{
  border-radius:var(--wb-radius-one)!important;
  box-shadow:none!important;
}
.app-shell .bottom-sheet,
.app-shell .bottom-sheet.sheet-v83{border-radius:var(--wb-radius-one)!important;border-radius:var(--wb-radius-one)!important}
.app-shell .page{max-width:600px}
.app-shell .section-heading{margin:24px 0 12px}
.app-shell .section-heading h2{font-size:21px;font-weight:780;letter-spacing:-.035em}
.app-shell .primary-button,.app-shell .secondary-button{min-height:52px;font-size:13px;font-weight:780}
.app-shell .primary-button{background:var(--accent);color:var(--accent-ink)}
.app-shell .secondary-button{background:var(--surface-2);color:var(--text)}
.app-shell .modal-content{padding-inline:clamp(14px,4vw,24px)!important}
.app-shell .sheet-head h2{font-weight:800;letter-spacing:-.04em}
.app-shell .sheet-head p{line-height:1.5}
.app-shell .mode-card-v83,
.app-shell .tournament-event-v821,
.app-shell .recent-game-card-v6,
.app-shell .mission-card,
.app-shell .reward-card,
.app-shell .settings-row,
.app-shell .product-card,
.app-shell .plan-card,
.app-shell .challenge-card,
.app-shell .leaderboard-row,
.app-shell .profile-card{
  background:var(--surface)!important;
}
.app-shell button:focus-visible,.app-shell input:focus-visible,.app-shell textarea:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 65%,transparent);outline-offset:2px}

/* Duel entry page */
.duel-entry-v823{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(230px,.78fr)!important;
  align-items:center!important;
  gap:18px!important;
  min-height:220px!important;
  width:100%;
  padding:22px!important;
  overflow:hidden;
  text-align:left!important;
  background:linear-gradient(135deg,#251b31 0%,#191a24 52%,#1c2520 100%)!important;
}
.duel-entry-v823:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,109,135,.08),transparent 42%,rgba(157,255,63,.06));pointer-events:none}
.duel-entry-copy-v823,.duel-entry-pair-v823{position:relative;z-index:1}
.duel-entry-copy-v823 small{display:block;color:#ff829a;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.duel-entry-copy-v823 h3{margin:10px 0 8px;font-size:30px;line-height:1;letter-spacing:-.05em}
.duel-entry-copy-v823 p{max-width:340px;margin:0;color:#b5bac6;font-size:12px;line-height:1.5}
.duel-entry-copy-v823 b{display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:var(--accent);font-size:12px}
.duel-entry-copy-v823 svg{width:17px;height:17px}
.duel-entry-pair-v823{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:8px}
.duel-entry-pair-v823>div{display:grid;justify-items:center;gap:7px;min-width:0;padding:12px 8px;background:rgba(255,255,255,.045);border-radius:var(--wb-radius-one)!important}
.duel-entry-pair-v823>div>span,.duel-entry-pair-v823>div>em{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c7cbd4;font-size:9px;font-style:normal}
.duel-entry-pair-v823>strong{display:grid;place-items:center;width:42px;height:42px;background:var(--accent);color:var(--accent-ink);border-radius:var(--wb-radius-one)!important;font-size:12px}
.duel-entry-avatar-v823{width:62px!important;height:62px!important}
.duel-entry-pair-v823 .unknown>span{display:grid;place-items:center;width:62px;height:62px;background:rgba(255,255,255,.07);color:#8f96a5;border-radius:var(--wb-radius-one)!important}
.duel-entry-pair-v823 .unknown svg{width:26px;height:26px}

/* Duel search and all duel phases */
.duel-search-v823,.duel-hub-v823{display:grid;gap:14px;padding-bottom:8px}
.duel-search-board-v823,.duel-versus-v823{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);align-items:stretch;gap:8px}
.duel-player-v823{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:14px 10px;background:var(--surface);text-align:center}
.duel-player-v823.winner{background:linear-gradient(150deg,color-mix(in srgb,var(--accent) 16%,var(--surface)),var(--surface) 70%)}
.duel-player-v823.loser{background:linear-gradient(150deg,color-mix(in srgb,var(--rose) 13%,var(--surface)),var(--surface) 70%)}
.duel-player-top-v823{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-size:9px;font-weight:760;text-transform:uppercase;letter-spacing:.08em}
.duel-player-state-v823{width:7px;height:7px;border-radius:var(--wb-radius-one)!important;background:var(--accent)}
.duel-player-v823.searching .duel-player-state-v823{background:var(--violet);animation:v823Pulse 1.1s ease-in-out infinite}
.duel-player-avatar-v823{margin-top:12px}
.duel-avatar-v823{width:72px!important;height:72px!important}
.duel-search-avatar-v823{display:grid;place-items:center;width:72px;height:72px;background:var(--surface-2);color:var(--muted);border-radius:var(--wb-radius-one)!important}
.duel-search-avatar-v823 svg{width:28px;height:28px}
.duel-player-name-v823{max-width:100%;margin-top:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.duel-player-meta-v823{max-width:100%;min-height:29px;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.4}
.duel-player-score-v823{width:100%;margin-top:12px;padding:10px 7px;background:var(--surface-2);border-radius:var(--wb-radius-one)!important}
.duel-player-score-v823 b{display:block;font-size:25px;line-height:1;font-variant-numeric:tabular-nums}
.duel-player-score-v823 span{display:block;margin-top:5px;color:var(--muted);font-size:9px;line-height:1.3}
.duel-vs-v823{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.duel-vs-v823 b{display:grid;place-items:center;width:44px;height:44px;background:var(--accent);color:var(--accent-ink);border-radius:var(--wb-radius-one)!important;font-size:12px;font-weight:900}
.duel-vs-v823 span{width:1px;height:34px;background:linear-gradient(transparent,var(--line),transparent)}
.duel-banner-v823{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:14px;background:var(--surface)}
.duel-banner-v823>span{display:grid;place-items:center;width:48px;height:48px;background:var(--surface-2);color:var(--accent);border-radius:var(--wb-radius-one)!important}
.duel-banner-v823>span svg{width:23px;height:23px}
.duel-banner-v823 small{display:block;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.duel-banner-v823 strong{display:block;margin-top:3px;font-size:18px}
.duel-banner-v823 p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.4}
.duel-banner-v823.win{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 18%,var(--surface)),var(--surface))}
.duel-banner-v823.loss{background:linear-gradient(135deg,color-mix(in srgb,var(--rose) 17%,var(--surface)),var(--surface))}
.duel-banner-v823.incoming{background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 17%,var(--surface)),var(--surface))}
.duel-rules-v823{padding:14px;background:var(--surface)}
.duel-rules-v823 h3,.duel-words-v823 h3{margin:0 0 10px;font-size:15px}
.duel-rules-v823>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.duel-rules-v823 article{display:flex;align-items:center;gap:8px;min-height:48px;padding:9px 10px;background:var(--surface-2);font-size:9px;line-height:1.35}
.duel-rules-v823 article svg{width:17px;height:17px;color:var(--accent)}
.duel-actions-v823{display:grid;grid-template-columns:1.25fr .75fr;gap:8px}
.duel-actions-v823 button,.duel-main-action-v823{min-height:54px}
.duel-live-note-v823{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:12px;background:var(--surface);color:var(--muted);font-size:10px;text-align:center;border-radius:var(--wb-radius-one)!important}
.duel-live-note-v823 i{width:8px;height:8px;border-radius:var(--wb-radius-one)!important;background:var(--accent);animation:v823Pulse 1.1s ease-in-out infinite}
.duel-words-v823{padding:14px;background:var(--surface)}
.duel-words-v823>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.duel-words-v823 .duel-words{margin:0!important;background:var(--surface-2)!important;border-radius:var(--wb-radius-one)!important}
.duel-search-time-v823{display:grid;justify-items:center;gap:4px;padding:13px;background:var(--surface)}
.duel-search-time-v823 strong{font-size:27px;font-variant-numeric:tabular-nums}
.duel-search-time-v823 span{color:var(--muted);font-size:9px;text-align:center}
@keyframes v823Pulse{50%{opacity:.35;transform:scale(.82)}}

/* Both players stay visible inside the live duel */
.duel-ingame-v823{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:8px;padding:11px;background:var(--surface)}
.duel-ingame-v823>div{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
.duel-ingame-avatar-v823{width:42px!important;height:42px!important}
.duel-ingame-v823 span{min-width:0}
.duel-ingame-v823 small,.duel-ingame-v823 strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.duel-ingame-v823 small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.07em}
.duel-ingame-v823 strong{margin-top:3px;font-size:10px}
.duel-ingame-v823>div>b{font-size:14px;font-variant-numeric:tabular-nums}
.duel-ingame-v823>em{display:grid;place-items:center;width:42px;height:34px;background:var(--accent);color:var(--accent-ink);border-radius:var(--wb-radius-one)!important;font-size:10px;font-style:normal;font-weight:900}

/* Light theme: identical hierarchy, not washed out */
[data-theme="light"] .duel-entry-v823{background:linear-gradient(135deg,#f6eaf0,#f2effd 52%,#edf7e6)!important;color:#141821!important}
[data-theme="light"] .duel-entry-copy-v823 p,[data-theme="light"] .duel-entry-pair-v823>div>span,[data-theme="light"] .duel-entry-pair-v823>div>em{color:#606979!important}
[data-theme="light"] .duel-entry-pair-v823>div{background:#fff!important}
[data-theme="light"] .duel-player-v823,[data-theme="light"] .duel-banner-v823,[data-theme="light"] .duel-rules-v823,[data-theme="light"] .duel-words-v823,[data-theme="light"] .duel-search-time-v823,[data-theme="light"] .duel-ingame-v823{background:#fff!important;color:#141821!important}
[data-theme="light"] .duel-player-score-v823,[data-theme="light"] .duel-rules-v823 article,[data-theme="light"] .duel-words-v823 .duel-words{background:#eef1f5!important;color:#141821!important}
[data-theme="light"] .duel-live-note-v823{background:#fff!important;color:#657080!important}
[data-theme="light"] .duel-player-v823.winner{background:linear-gradient(150deg,#edf9df,#fff 72%)!important}
[data-theme="light"] .duel-player-v823.loser{background:linear-gradient(150deg,#fbe8ed,#fff 72%)!important}

@media(max-width:520px){
  .duel-entry-v823{grid-template-columns:1fr!important;min-height:0!important;padding:18px!important}
  .duel-entry-copy-v823 h3{font-size:27px}
  .duel-entry-pair-v823{max-width:310px;width:100%;margin:2px auto 0}
  .duel-search-board-v823,.duel-versus-v823{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:6px}
  .duel-vs-v823 b{width:36px;height:36px;font-size:10px}
  .duel-vs-v823 span{height:24px}
  .duel-player-v823{padding:12px 7px}
  .duel-avatar-v823,.duel-search-avatar-v823{width:60px!important;height:60px!important}
  .duel-player-name-v823{font-size:12px}
  .duel-player-score-v823 b{font-size:22px}
  .duel-rules-v823>div{grid-template-columns:1fr}
  .duel-words-v823>div{grid-template-columns:1fr}
  .duel-ingame-v823{grid-template-columns:1fr 34px 1fr;padding:9px 7px}
  .duel-ingame-v823>div{grid-template-columns:34px minmax(0,1fr);gap:6px}
  .duel-ingame-v823>div>b{grid-column:1/-1;text-align:center;font-size:12px}
  .duel-ingame-avatar-v823{width:34px!important;height:34px!important}
  .duel-ingame-v823>em{width:34px;height:30px}
}
@media(max-width:350px){
  .duel-search-board-v823,.duel-versus-v823{grid-template-columns:1fr;gap:7px}
  .duel-vs-v823{flex-direction:row}.duel-vs-v823 span{width:44px;height:1px}
  .duel-actions-v823{grid-template-columns:1fr}
  .duel-entry-pair-v823{grid-template-columns:1fr 34px 1fr}
}

/* Words Buster 8.8.24 — one premium visual system for every screen */
:root{
  --wb-radius-card:24px;
  --wb-radius-control:18px;
  --wb-radius-small:14px;
  --wb-gap:12px;
  --wb-section-gap:24px;
}
:root[data-theme="light"]{
  --bg:#f5f6fa;
  --bg-elevated:#ffffff;
  --surface:#ffffff;
  --surface-2:#eef0f5;
  --surface-3:#e3e6ed;
  --surface-soft:#fafbfc;
  --text:#11141c;
  --text-soft:#343a48;
  --muted:#656e7f;
  --muted-2:#8e96a5;
  --line:rgba(18,23,33,.10);
  --accent:#71a91c;
  --accent-hover:#639717;
  --accent-ink:#fff;
  --shadow-soft:0 8px 28px rgba(28,36,52,.07);
}
.app-shell{background:var(--bg)}
.app-shell .page{max-width:600px}
.app-shell article,.app-shell section,.app-shell button,.app-shell input,.app-shell textarea{min-width:0}
.app-shell [class*="-card"],.app-shell [class*="-panel"],.app-shell [class*="-summary"],.app-shell [class*="-banner"],.app-shell [class*="-overview"],.app-shell .settings-row,.app-shell .reward-card,.app-shell .mission-card,.app-shell .simple-list article{
  border-radius:var(--wb-radius-one)!important;
}
.app-shell .primary-button,.app-shell .secondary-button,.app-shell .full-button,.app-shell [class*="-action"] button{
  border-radius:var(--wb-radius-one)!important;
  min-height:54px;
  font-weight:800;
  letter-spacing:-.015em;
}
.app-shell .section-heading{margin:var(--wb-section-gap) 2px 12px}
.app-shell .section-heading h2{font-size:clamp(22px,6vw,30px);line-height:1.05;letter-spacing:-.045em}
.app-shell .sheet-head{padding-top:4px;margin-bottom:16px}
.app-shell .sheet-head h2{font-size:clamp(27px,7vw,38px);line-height:1.04}
.app-shell .sheet-head p{max-width:540px;margin-top:8px;color:var(--muted);font-size:12px}
.bottom-sheet{border-radius:var(--wb-radius-one)!important;padding-inline:max(18px,calc(18px + var(--tg-content-safe-right))) max(18px,calc(18px + var(--tg-content-safe-left)))!important}
.modal-content{padding-bottom:12px}

/* Realtime duel strip: the upper two-player panel is the only opponent banner. */
.duel-live-shell-v824{display:grid;gap:8px;margin-bottom:10px}
.duel-ingame-v824{border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 10%,var(--surface)),var(--surface) 58%,color-mix(in srgb,var(--accent) 7%,var(--surface)))!important;overflow:hidden}
.duel-ingame-v824:after,.duel-entry-v823:after,.active-challenge-v84:after,.active-challenge-v85:after{display:none!important;content:none!important}
.duel-live-caption-v824{display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:7px 12px;border-radius:var(--wb-radius-one)!important;background:var(--surface);color:var(--muted);font-size:10px;font-weight:700}
.duel-live-caption-v824 i{width:7px;height:7px;border-radius:var(--wb-radius-one)!important;background:var(--accent);animation:v823Pulse 1.15s ease-in-out infinite}
.duel-live-progress-v824{display:grid;grid-template-columns:46px minmax(0,1fr) 8px;align-items:center;gap:11px;padding:12px 14px;background:var(--surface)}
.duel-live-progress-v824>span{display:grid;place-items:center;width:46px;height:46px;border-radius:var(--wb-radius-one)!important;background:color-mix(in srgb,var(--blue) 12%,var(--surface-2));color:var(--blue)}
.duel-live-progress-v824>span svg{width:21px;height:21px}
.duel-live-progress-v824 small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.duel-live-progress-v824 strong{display:block;margin-top:4px;font-size:13px}
.duel-live-progress-v824>i{width:8px;height:8px;border-radius:var(--wb-radius-one)!important;background:var(--muted-2)}
.duel-live-progress-v824.active>i{background:var(--accent);animation:v823Pulse 1.1s infinite}
.duel-live-progress-v824.finished>i{background:var(--success)}
.duel-hub-v824{gap:10px}
.duel-hub-v824 .duel-rules-v823{margin-top:0}
.duel-hub-v824 .duel-versus-v823{margin:0}
.duel-hub-v824 .duel-banner-v823{margin:0}
.game-page.word-builder-v84 .game-context-v83.duel,.game-page.word-builder-v84 .duel-strip,.game-page.word-builder-v85 .duel-strip{display:none!important}

/* Reactions */
.reaction-zone-v824{display:grid;gap:9px;padding:13px;background:var(--surface);border-radius:var(--wb-radius-one)!important}
.reaction-zone-v824>header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.reaction-zone-v824>header strong{font-size:13px}
.reaction-zone-v824>header small{color:var(--muted);font-size:9px}
.reaction-icons-v824{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.reaction-icons-v824 button{display:grid;place-items:center;aspect-ratio:1;max-height:58px;padding:7px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);transition:transform .14s ease,background .14s ease}
.reaction-icons-v824 button:active{transform:scale(.92)}
.reaction-icons-v824 svg{width:min(100%,42px);height:auto}
.reaction-texts-v824{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:1px}
.reaction-texts-v824::-webkit-scrollbar{display:none}
.reaction-texts-v824 button{flex:0 0 auto;min-height:34px;padding:0 11px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);font-size:9px;font-weight:760;white-space:nowrap}
.reaction-pop-v824{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;padding:9px 11px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 12%,var(--surface-2)),color-mix(in srgb,var(--accent) 8%,var(--surface-2)));animation:v824ReactionIn .24s ease both}
.reaction-pop-v824>span{width:42px;height:42px;display:grid;place-items:center}
.reaction-pop-v824 svg{width:40px;height:40px}
.reaction-pop-v824 small{display:block;color:var(--muted);font-size:8px}
.reaction-pop-v824 strong{display:block;margin-top:2px;font-size:12px}
.reaction-text-icon-v824{display:grid;place-items:center;width:38px;height:38px;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,#7958ff,#adff45);color:#fff;font-size:19px;font-weight:900}
@keyframes v824ReactionIn{from{opacity:0;transform:translateY(7px) scale(.97)}to{opacity:1;transform:none}}
.reaction-zone-v824.compact{padding:10px;border-radius:var(--wb-radius-one)!important}
.reaction-zone-v824.compact>header{display:none}
.reaction-zone-v824.compact .reaction-icons-v824 button{max-height:48px}

/* Premium notifications */
.notifications-sheet-v824 .sheet-head{padding-right:42px}
.notification-list-v824{display:grid;gap:9px;padding-bottom:8px}
.notification-card-v824{position:relative;display:grid!important;grid-template-columns:48px minmax(0,1fr) 24px!important;align-items:center;gap:12px;padding:14px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface)!important;text-align:left;box-shadow:none!important}
.notification-card-v824.unread{background:linear-gradient(135deg,color-mix(in srgb,var(--blue) 9%,var(--surface)),var(--surface))!important}
.notification-icon-v824{display:grid!important;place-items:center;width:48px!important;height:48px!important;border-radius:var(--wb-radius-one)!important;background:var(--surface-2)!important;color:var(--blue)!important}
.notification-icon-v824.reward{color:var(--amber)!important}.notification-icon-v824.tournament{color:var(--violet)!important}.notification-icon-v824.duel{color:var(--rose)!important}
.notification-card-v824>div header{display:flex;align-items:center;gap:7px}
.notification-card-v824>div header strong{font-size:13px;line-height:1.2}
.notification-card-v824>div header i{width:7px;height:7px;border-radius:var(--wb-radius-one)!important;background:var(--accent)}
.notification-card-v824 p{margin:5px 0 0!important;color:var(--muted)!important;font-size:10px!important;line-height:1.45!important}
.notification-card-v824 time{display:block;margin-top:7px;color:var(--muted-2);font-size:8px;font-weight:700}
.notification-card-v824>b{color:var(--muted)}
.notification-card-v824>b svg{width:18px;height:18px}

/* Coin exchange in the store */
.store-card-v890.coin-exchange-v824{background:linear-gradient(135deg,color-mix(in srgb,var(--amber) 9%,var(--surface)),var(--surface))!important}
.store-card-v890.coin-exchange-v824 .store-card-price-v890 b{display:flex;align-items:center;gap:5px;color:var(--amber)}
.store-card-v890.coin-exchange-v824 .store-card-price-v890 svg{width:16px;height:16px}

/* Branded result screens */
.result-brand-v824{display:block;width:78px;height:78px;margin:0 auto 14px;object-fit:contain;filter:drop-shadow(0 10px 26px rgba(121,88,255,.24))}
.tournament-result-v820,.daily-result-v818{width:100%;max-width:560px;margin:0 auto;padding:clamp(16px,4vh,34px) 0 calc(24px + env(safe-area-inset-bottom));min-height:100%;justify-content:flex-start!important}
.tournament-result-v820 .tournament-result-mark-v820,.daily-result-v818 .daily-result-mark-v818{display:none!important}
.tournament-result-v820 h1,.daily-result-v818 h1{font-size:clamp(34px,9vw,53px)!important;line-height:.98!important}
.tournament-result-v820>p,.daily-result-v818>p{max-width:480px;margin-inline:auto!important}

/* Compact, expensive-looking game layout */
.screen-root.game-active{padding-top:calc(6px + max(var(--tg-safe-top),var(--tg-content-safe-top),var(--tg-chrome-top)))!important}
.game-page{max-width:560px;margin:0 auto;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
.game-header{min-height:54px!important;margin:0 0 8px!important;padding:4px 0!important;grid-template-columns:44px minmax(0,1fr) 44px!important}
.game-icon-button{width:44px!important;height:44px!important;border-radius:var(--wb-radius-one)!important}
.game-summary,.game-summary-v7,.word-progress-v84,.word-progress-v85{margin:0 0 10px!important;min-height:68px!important;padding:12px 14px!important;border-radius:var(--wb-radius-one)!important}
.selected-word,.selected-word-v84{min-height:62px!important;margin:10px 0!important;padding:9px!important;border-radius:var(--wb-radius-one)!important}
.letter-deck,.letter-deck-v84{margin:10px auto!important;gap:8px!important}
.letter-tile{border-radius:var(--wb-radius-one)!important;box-shadow:none!important}
.builder-actions{margin:10px 0!important;gap:8px!important}
.builder-actions>button{height:54px!important;border-radius:var(--wb-radius-one)!important}
.builder-tools{margin:0!important;gap:8px!important}
.builder-tools button{min-height:66px!important;border-radius:var(--wb-radius-one)!important}
.hint-penalty-v7,.game-tip,.daily-hint-note-v86{margin:10px 0!important}
.game-section{margin-top:18px!important}
.found-words{padding-bottom:8px}

/* Daily Word: compact, no duplicate summary or bottom explanatory text. */
.daily-game-v86{padding-top:0!important}
.daily-game-v86 .daily-summary-v86,.daily-game-v86 .daily-hint-note-v86{display:none!important}
.daily-game-v86 .daily-instruction-v86{margin:4px auto 10px!important;padding:0!important;background:transparent!important;color:var(--muted)!important;font-size:10px!important;line-height:1.4!important}
.daily-game-v86 .word-board{margin:6px auto 10px!important;gap:7px!important}
.daily-game-v86 .keyboard{margin:8px 0!important;gap:6px!important}
.daily-game-v86 .daily-submit-v86{margin:8px 0!important;min-height:54px!important}
.daily-game-v86 .daily-tools-v86{margin-top:8px!important}
.daily-game-v86 .word-cell{border:1px solid var(--line)!important}

/* Solo chain redesigned to use the same rhythm as every word mode. */
.chain-game-v821{padding-top:0!important}
.chain-game-v821 .game-summary{margin-bottom:9px!important}
.chain-game-v821 .chain-focus{margin:0 0 9px!important;padding:14px!important;border-radius:var(--wb-radius-one)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 13%,var(--surface)),var(--surface))!important}
.chain-game-v821 .chain-selected{margin:9px 0!important}
.chain-game-v821 .chain-keyboard{margin:8px 0!important;gap:6px!important}
.chain-game-v821 .chain-actions{margin:8px 0!important}
.chain-game-v821 .builder-tools{grid-template-columns:1fr!important}

/* Home challenge cards: no stray line or pseudo-shadow. */
.active-challenge-v84,.active-challenge-v85,.active-challenge-v812,.duel-entry-v823{box-shadow:none!important;outline:0!important;border:0!important}
.active-challenge-v84:before,.active-challenge-v84:after,.active-challenge-v85:before,.active-challenge-v85:after{content:none!important;display:none!important}

/* Avatars remain clean on white backgrounds. */
:root[data-theme="light"] .avatar,:root[data-theme="light"] [class*="avatar-v"],:root[data-theme="light"] [class*="-avatar"]{background:#fff!important;overflow:hidden!important;isolation:isolate}
:root[data-theme="light"] [class*="avatar"] img,:root[data-theme="light"] .avatar img{display:block;width:100%;height:100%;object-fit:cover;background:#fff;transform:scale(1.015);clip-path:inset(.5px round 13px)}

/* Light theme: strong hierarchy and readable cards everywhere. */
:root[data-theme="light"] .topbar{background:linear-gradient(180deg,#f5f6fa 0%,rgba(245,246,250,.97) 82%,rgba(245,246,250,0))}
:root[data-theme="light"] .bottom-nav{background:linear-gradient(180deg,transparent 0%,#f5f6fa 24%,#f5f6fa 100%)}
:root[data-theme="light"] .nav-inner,:root[data-theme="light"] .bottom-sheet,:root[data-theme="light"] .notification-card-v824,:root[data-theme="light"] .settings-row,:root[data-theme="light"] .mission-card,:root[data-theme="light"] .reward-card,:root[data-theme="light"] .duel-player-v823,:root[data-theme="light"] .duel-banner-v823,:root[data-theme="light"] .duel-rules-v823,:root[data-theme="light"] .reaction-zone-v824,:root[data-theme="light"] .game-summary,:root[data-theme="light"] .selected-word,:root[data-theme="light"] .word-progress-v84,:root[data-theme="light"] .chain-action-v819,:root[data-theme="light"] .chain-score-v87{
  background:#fff!important;
  color:#11141c!important;
  box-shadow:0 8px 28px rgba(28,36,52,.06)!important;
}
:root[data-theme="light"] .surface,:root[data-theme="light"] .surface-2{color:#11141c}
:root[data-theme="light"] .key,:root[data-theme="light"] .letter-tile,:root[data-theme="light"] .builder-tools button,:root[data-theme="light"] .builder-actions>button:not(.primary-button),:root[data-theme="light"] .reaction-icons-v824 button,:root[data-theme="light"] .reaction-texts-v824 button,:root[data-theme="light"] .duel-player-score-v823,:root[data-theme="light"] .duel-rules-v823 article{
  background:#eef0f5!important;color:#151923!important;border:1px solid rgba(20,25,35,.06)!important;
}
:root[data-theme="light"] .word-cell{background:#fff!important;color:#121620!important;border:1px solid #d8dce5!important;box-shadow:0 4px 15px rgba(28,36,52,.04)!important}
:root[data-theme="light"] .word-cell.filled{background:#e9edf3!important}
:root[data-theme="light"] .word-cell.correct,:root[data-theme="light"] .key.correct{background:#568f22!important;color:#fff!important;border-color:#568f22!important}
:root[data-theme="light"] .word-cell.present,:root[data-theme="light"] .key.present{background:#bd8b22!important;color:#fff!important;border-color:#bd8b22!important}
:root[data-theme="light"] .word-cell.absent,:root[data-theme="light"] .key.absent{background:#778190!important;color:#fff!important;border-color:#778190!important}
:root[data-theme="light"] .primary-button{background:#6a9f1c!important;color:#fff!important}
:root[data-theme="light"] .secondary-button{background:#e9ecf2!important;color:#151923!important}
:root[data-theme="light"] .duel-ingame-v824{background:linear-gradient(135deg,#f1edff,#fff 52%,#f2f8e9)!important}
:root[data-theme="light"] .duel-entry-v823{background:linear-gradient(135deg,#f3efff 0%,#fff 50%,#f0f7e8 100%)!important;color:#151923!important}
:root[data-theme="light"] .duel-entry-copy-v823 p,:root[data-theme="light"] .duel-entry-pair-v823>div>span,:root[data-theme="light"] .duel-entry-pair-v823>div>em{color:#626b7b!important}
:root[data-theme="light"] .duel-entry-pair-v823>div{background:#fff!important;box-shadow:0 8px 24px rgba(28,36,52,.07)!important}
:root[data-theme="light"] .modal-backdrop{background:rgba(36,42,52,.28)!important;backdrop-filter:blur(10px)}
:root[data-theme="light"] .sheet-handle{background:#cbd0da}

/* Adaptive guarantees */
@media(max-width:430px){
  :root{--wb-radius-card:22px;--wb-radius-control:17px}
  .screen-root{padding-inline:14px!important}
  .bottom-sheet{padding-inline:14px!important}
  .duel-player-v823{padding:12px 8px}
  .duel-avatar-v823{width:62px!important;height:62px!important}
  .duel-player-score-v823 b{font-size:22px}
  .reaction-zone-v824{padding:11px}
  .notification-card-v824{grid-template-columns:43px minmax(0,1fr) 18px!important;padding:12px!important}
  .notification-icon-v824{width:43px!important;height:43px!important}
}
@media(max-width:370px){
  .duel-versus-v823,.duel-search-board-v823{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:5px}
  .duel-vs-v823 b{width:36px;height:36px;font-size:10px}
  .duel-player-name-v823{font-size:12px}
  .duel-avatar-v823{width:54px!important;height:54px!important}
  .reaction-texts-v824 button{padding-inline:9px;font-size:8px}
  .letter-deck,.letter-deck-v84{gap:6px!important}
  .builder-tools button{min-height:60px!important}
}
@media(max-height:700px){
  .game-header{min-height:48px!important}
  .game-icon-button{width:40px!important;height:40px!important}
  .selected-word,.selected-word-v84{min-height:54px!important;margin:7px 0!important}
  .letter-deck,.letter-deck-v84{margin:7px auto!important}
  .builder-actions{margin:7px 0!important}
  .daily-game-v86 .word-board{gap:5px!important}
  .daily-game-v86 .key{height:42px!important}
}

/* Words Buster 8.8.25 — one radius, one spacing system, one visual language */
:root{
  --wb-radius-one:24px;
  --radius-xl:var(--wb-radius-one)!important;
  --radius-lg:var(--wb-radius-one)!important;
  --radius-md:var(--wb-radius-one)!important;
  --radius-sm:var(--wb-radius-one)!important;
  --wb-radius:var(--wb-radius-one)!important;
  --wb-radius-card:var(--wb-radius-one)!important;
  --wb-radius-control:var(--wb-radius-one)!important;
  --wb-radius-small:var(--wb-radius-one)!important;
  --v85-card-radius:var(--wb-radius-one)!important;
  --wb-gap:10px!important;
}
.app-shell :where(
  button,input,textarea,select,img,
  article,
  [class*="card"],[class*="tile"],[class*="button"],[class*="sheet"],[class*="modal"],
  [class*="banner"],[class*="panel"],[class*="summary"],[class*="progress"],[class*="action"],
  [class*="avatar"],[class*="tab"],[class*="key"],[class*="cell"],[class*="row"],[class*="pill"],
  [class*="notice"],[class*="status"],[class*="wallet"],[class*="reward"],[class*="mission"]
){border-radius:var(--wb-radius-one)!important}
.app-shell :where(.modal-backdrop,.modal-layer,.screen-root,.page,.game-page,.app-shell,.topbar,.bottom-nav){border-radius:var(--wb-radius-one)!important}

/* Correct Telegram chrome clearance on every game viewport. */
.screen-root.game-active,
#topbar.topbar-v890 + .screen-root.game-active{
  top:0!important;
  padding-top:calc(var(--app-safe-top,96px) + 62px)!important;
  padding-left:max(14px,calc(14px + var(--tg-content-safe-left)))!important;
  padding-right:max(14px,calc(14px + var(--tg-content-safe-right)))!important;
  padding-bottom:calc(18px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))!important;
}
.game-page{width:100%!important;max-width:620px!important;padding:0 0 14px!important}
.game-page>*+*{margin-top:10px!important}
.game-header{margin:0 0 10px!important;padding:0!important;min-height:52px!important}
.game-summary,.game-summary-v7,.word-progress-v84,.word-progress-v85,
.selected-word,.selected-word-v84,.chain-focus,.chain-solo-status-v825,.chain-solo-compose-v825{
  margin:0!important;
}
.letter-deck,.letter-deck-v84,.keyboard,.keyboard-v83,.chain-keyboard,.chain-keyboard-v825{margin:10px 0!important}
.builder-actions,.builder-tools,.daily-tools-v86,.daily-submit-v86{margin:10px 0 0!important}
.game-section{margin-top:16px!important}
.section-heading{margin-bottom:8px!important}

/* Shared chain: opponent block first, progress inside last-word card, long words stay visible. */
.shared-chain-sheet-v888 .sheet-head,.challenge-status .sheet-head{margin-bottom:10px!important}
.shared-chain-sheet-v888 .sheet-head h2{font-size:clamp(29px,7.5vw,42px)!important;line-height:1.02!important;letter-spacing:-.045em!important}
.chain-score-v825{order:1;display:grid!important;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:14px!important;margin:0 0 10px!important;background:var(--surface)!important}
.chain-score-v825>div{min-width:0;display:grid;justify-items:center;gap:5px}
.chain-score-v825>div>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px}
.chain-score-v825>div>strong{font-size:clamp(25px,7vw,38px);line-height:1}
.chain-score-center-v825{position:relative!important;align-self:stretch;display:flex!important;align-items:center!important;justify-content:center!important}
.chain-score-center-v825>b{color:var(--accent)}
.chain-last-word-v825{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:14px 16px!important;margin:0 0 10px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 17%,var(--surface)),color-mix(in srgb,var(--accent) 8%,var(--surface)))!important}
.chain-last-word-v825 div{min-width:0}
.chain-last-word-v825 span{display:block;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.chain-last-word-v825 strong{display:block;margin-top:6px;max-width:100%;font-size:clamp(20px,5vw,30px);line-height:1.08;overflow-wrap:anywhere;word-break:break-word}
.chain-last-word-v825>b{min-width:68px;padding:10px 12px;background:color-mix(in srgb,var(--surface-2) 84%,transparent);text-align:center;font-size:15px}
.chain-action-v825{padding:14px!important;margin:0 0 10px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 12%,var(--surface)),color-mix(in srgb,var(--violet) 8%,var(--surface)))!important}
.chain-action-v825>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;margin-bottom:12px!important}
.chain-action-v825>header small{color:var(--accent)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase}
.chain-action-v825>header strong{display:block;margin-top:4px;font-size:18px;line-height:1.2}
.chain-turn-form-v825{display:grid!important;grid-template-columns:54px minmax(0,1fr) minmax(112px,.38fr)!important;gap:8px!important;align-items:stretch!important}
.chain-required-letter-v819{width:54px!important;height:auto!important;min-height:58px!important;display:grid!important;place-items:center!important;font-size:25px!important;background:var(--accent)!important;color:var(--accent-ink)!important}
.chain-compose-wrap-v888{min-width:0!important;min-height:58px!important;padding:0!important;background:color-mix(in srgb,var(--surface-2) 90%,transparent)!important;overflow:hidden!important}
.chain-compose-v888{width:100%!important;min-height:58px!important;max-height:116px!important;padding:11px 14px!important;display:flex!important;align-items:center!important;overflow-x:hidden!important;overflow-y:auto!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;line-height:1.2!important}
.chain-compose-v888 strong{display:block!important;width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-size:clamp(15px,4vw,21px)!important;line-height:1.15!important}
.chain-compose-v888 span{font-size:12px!important;line-height:1.35!important;color:var(--muted)!important}
.chain-turn-form-v825>.primary-button{min-height:58px!important;padding:0 12px!important;font-size:13px!important}
.shared-chain-keyboard-v888{margin-top:10px!important;padding:8px!important;background:color-mix(in srgb,var(--surface-2) 72%,transparent)!important;display:grid!important;gap:6px!important}
.shared-chain-keyboard-v888 .key-row{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:5px!important}
.shared-chain-keyboard-v888 .key{width:100%!important;min-width:0!important;height:42px!important;padding:0!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:11px!important;font-weight:780!important}
.shared-chain-keyboard-v888 .key-wide{grid-column:auto!important}
.chain-actions-v812{margin:10px 0!important}
.chain-surrender-v812{min-height:54px!important;width:100%!important;background:color-mix(in srgb,var(--rose) 12%,var(--surface))!important;color:var(--rose)!important;font-weight:850!important}
.chain-moves-v825{margin-top:14px!important}
.chain-moves-v825>header{margin-bottom:8px!important}
.chain-move-v87{padding:12px!important;margin-top:7px!important;background:var(--surface)!important}
.chain-move-v87 strong{overflow-wrap:anywhere;word-break:break-word}

/* Reactions live next to VS/avatars; only like, dislike and localized text. */
.reaction-zone-v824{display:none!important}
.reaction-anchor-v825{position:relative;display:grid;place-items:center;z-index:20}
.reaction-toggle-v825{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important;color:var(--accent)!important}
.reaction-toggle-v825 svg{width:19px;height:19px}
.reaction-menu-v825{position:absolute;left:50%;top:calc(100% + 8px);z-index:90;width:min(286px,82vw);padding:10px;background:var(--bg-elevated);box-shadow:0 18px 55px rgba(0,0,0,.32);opacity:0;visibility:hidden;transform:translate(-50%,-5px);transition:.18s ease}
.reaction-anchor-v825.open .reaction-menu-v825{opacity:1;visibility:visible;transform:translate(-50%,0)}
.reaction-binary-v825{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:7px}
.reaction-binary-v825 button{min-height:50px;background:var(--surface-2);display:grid;place-items:center}
.reaction-binary-v825 svg{width:34px;height:34px}
.reaction-texts-v825{display:grid;gap:6px}
.reaction-texts-v825 button{min-height:38px;padding:8px 11px;background:var(--surface-2);font-size:11px;font-weight:760;text-align:left}
.reaction-pop-v824{position:absolute!important;left:50%!important;bottom:calc(100% + 8px)!important;top:auto!important;width:max-content!important;max-width:210px!important;transform:translateX(-50%)!important;padding:8px 10px!important;z-index:95!important}
.reaction-pop-v824>span{width:28px!important;height:28px!important}
.reaction-pop-v824 small{font-size:7px!important}.reaction-pop-v824 strong{font-size:10px!important}
.duel-vs-v825{position:relative;display:grid!important;place-items:center!important;align-content:center!important;gap:7px!important}
.duel-vs-v825 .reaction-menu-v825{top:calc(50% + 30px)}
.duel-ingame-v824>em{position:relative!important;display:grid!important;place-items:center!important;gap:6px!important;font-style:normal!important}
.duel-ingame-v824>em>strong{width:42px;height:42px;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);font-size:11px}
.duel-live-caption-v824{margin:8px 0 0!important}

/* Solo chain now uses the same compact premium grammar as all word modes. */
.chain-game-v825{display:block!important}
.chain-solo-status-v825{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 14%,var(--surface)),var(--surface))}
.chain-solo-status-v825 small{display:block;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.chain-solo-status-v825 strong{display:block;margin-top:5px;font-size:20px;line-height:1.1;overflow-wrap:anywhere}
.chain-solo-compose-v825{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px;align-items:stretch;padding:0;background:transparent!important}
.chain-solo-letter-v825{display:grid;place-items:center;min-height:66px;background:linear-gradient(145deg,var(--violet),#6241ee);color:#fff;font-size:30px;font-weight:900}
.chain-solo-compose-v825 .selected-word{min-height:66px!important;padding:10px 14px!important;background:var(--surface)!important;overflow-x:hidden!important;overflow-y:auto!important}
.chain-solo-compose-v825 .selected-chip{min-width:34px!important;height:42px!important;margin:2px!important;padding:0 9px!important}
.chain-keyboard-v825{padding:8px!important;background:var(--surface)!important;display:grid!important;gap:6px!important}
.chain-keyboard-v825 .key-row{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:5px!important}
.chain-keyboard-v825 .key{width:100%!important;min-width:0!important;height:42px!important;padding:0!important;background:var(--surface-2)!important;font-size:11px!important}
.chain-actions-v825{display:grid!important;grid-template-columns:58px minmax(0,1fr) 58px!important;gap:8px!important}
.chain-actions-v825>button{height:56px!important}
.chain-tools-v825{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.chain-tools-v825 button{min-height:62px!important;background:var(--surface)!important}

/* Avatar collection: remove black corner artifacts and keep every tab identical. */
.avatar-grid-v887{gap:8px!important}
.avatar-tile-v887,.avatar-tile-v888,.avatar-tile-v889{background:#fff!important;overflow:hidden!important;isolation:isolate!important;filter:none!important;opacity:1!important}
.avatar-tile-v887:after,.avatar-tile-v888:after,.avatar-tile-v889:after{display:none!important;content:none!important}
.avatar-tile-v887>img,.avatar-tile-v888>img,.avatar-tile-v889>img{
  inset:0!important;width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;
  background:#fff!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;transform:none!important;
  clip-path:inset(0 round var(--wb-radius-one))!important;
}
.avatar-fallback-v887{inset:0!important;background:linear-gradient(145deg,#f8f9fb,#edf0f5)!important}
.avatar-tile-v887.locked>img,.avatar-tile-v888.locked>img,.avatar-tile-v889.locked>img{filter:none!important;opacity:1!important}
.avatar-lock-v887,.avatar-price-v887,.avatar-selected-v887{background:rgba(15,18,26,.88)!important;color:#fff!important;backdrop-filter:blur(12px)!important}
.avatar-selected-v887{background:var(--accent)!important;color:var(--accent-ink)!important}
.avatar-tabs-v887{padding:6px!important;gap:6px!important;background:var(--surface-2)!important}
.avatar-tabs-v887 button{min-height:48px!important;background:transparent!important}
.avatar-tabs-v887 button.active{background:var(--accent)!important;color:var(--accent-ink)!important}

/* Light theme: bright surfaces, dark text, no washed-out grey blocks. */
:root[data-theme="light"]{
  --bg:#f3f5f9!important;--bg-elevated:#ffffff!important;--surface:#ffffff!important;--surface-2:#eef1f6!important;--surface-3:#e3e7ee!important;--surface-soft:#f8f9fc!important;
  --text:#10141d!important;--text-soft:#343b49!important;--muted:#626c7c!important;--muted-2:#858e9e!important;--line:rgba(20,27,39,.09)!important;
}
:root[data-theme="light"] .app-shell:before{background:radial-gradient(circle at 5% -10%,rgba(121,88,255,.09),transparent 34%),radial-gradient(circle at 105% 18%,rgba(113,168,34,.08),transparent 28%)!important}
:root[data-theme="light"] :where(.game-summary,.selected-word,.word-progress-v84,.chain-solo-status-v825,.chain-keyboard-v825,.chain-score-v825,.chain-action-v825,.chain-move-v87,.duel-player-v823,.duel-banner-v823,.duel-rules-v823,.notification-card-v824,.settings-row,.mission-card,.reward-card){background:#fff!important;color:#10141d!important;box-shadow:0 8px 25px rgba(25,34,50,.055)!important}
:root[data-theme="light"] :where(.key,.letter-tile,.builder-tools button,.action-square,.reaction-toggle-v825,.reaction-binary-v825 button,.reaction-texts-v825 button){background:#edf0f5!important;color:#111722!important;border:1px solid rgba(18,25,36,.07)!important}
:root[data-theme="light"] .chain-last-word-v825{background:linear-gradient(135deg,#f1edff,#fff 52%,#f2f8e9)!important}
:root[data-theme="light"] .chain-action-v825{background:linear-gradient(135deg,#eef8e5,#fff 58%,#f1edff)!important}
:root[data-theme="light"] .shared-chain-keyboard-v888{background:#f1f3f7!important}
:root[data-theme="light"] .shared-chain-keyboard-v888 .key{background:#fff!important;color:#121722!important;border:1px solid #e1e5ec!important}
:root[data-theme="light"] .chain-compose-wrap-v888{background:#fff!important;border:1px solid #e2e6ed!important}
:root[data-theme="light"] .reaction-menu-v825{background:#fff!important;box-shadow:0 18px 55px rgba(25,34,50,.14)!important}
:root[data-theme="light"] .avatar-sheet-v887,:root[data-theme="light"] .bottom-sheet{background:#f7f8fb!important}
:root[data-theme="light"] .avatar-tile-v887,:root[data-theme="light"] .avatar-tile-v888,:root[data-theme="light"] .avatar-tile-v889{background:#fff!important;box-shadow:0 5px 18px rgba(27,35,50,.05)!important}

@media(max-width:430px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:calc(var(--app-safe-top,96px) + 58px)!important;padding-inline:12px!important}
  .chain-turn-form-v825{grid-template-columns:50px minmax(0,1fr)!important}
  .chain-turn-form-v825>.primary-button{grid-column:1/-1!important;min-height:52px!important}
  .chain-required-letter-v819{width:50px!important;min-height:56px!important}
  .shared-chain-keyboard-v888 .key,.chain-keyboard-v825 .key{height:39px!important;font-size:10px!important}
  .reaction-menu-v825{width:min(270px,88vw)}
}
@media(max-width:360px){
  :root{--wb-radius-one:24px}
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:calc(var(--app-safe-top,90px) + 54px)!important}
  .chain-score-v825{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important;padding:11px!important}
  .chain-score-v825>div>strong{font-size:23px}
  .shared-chain-keyboard-v888,.chain-keyboard-v825{padding:6px!important}
  .shared-chain-keyboard-v888 .key-row,.chain-keyboard-v825 .key-row{gap:3px!important}
  .shared-chain-keyboard-v888 .key,.chain-keyboard-v825 .key{height:37px!important;font-size:9px!important}
}
@media(max-height:720px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:calc(var(--app-safe-top,82px) + 48px)!important}
  .game-page>*+*{margin-top:7px!important}
  .game-header{margin-bottom:7px!important;min-height:46px!important}
  .shared-chain-keyboard-v888 .key,.chain-keyboard-v825 .key{height:36px!important}
  .builder-actions>button{height:50px!important}
}


/* 8.8.25 final visual contract — one and only one radius everywhere. */
:root{--wb-radius-one:24px!important}
:where(
  button,input,textarea,select,img,
  [class*="card"],[class*="tile"],[class*="item"],[class*="panel"],[class*="banner"],
  [class*="modal"],[class*="sheet"],[class*="popup"],[class*="dialog"],[class*="toast"],
  [class*="avatar"],[class*="icon"],[class*="badge"],[class*="chip"],[class*="tab"],
  [class*="button"],[class*="btn"],[class*="key"],[class*="cell"],[class*="field"],
  [class*="input"],[class*="select"],[class*="switch"],[class*="progress"],
  article,section,form
){border-radius:var(--wb-radius-one)!important}

/* Structural roots are not visual cards and must not cut off scrolling. */
:where(html,body,#app,.app-shell,.screen-root,.game-page,.page,.modal-content,.sheet-content,.key-row){border-radius:var(--wb-radius-one)!important}

/* Compact vertical rhythm with a safe Telegram top zone on every device. */
.screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{
  padding-top:max(calc(env(safe-area-inset-top) + 104px),var(--app-safe-top,112px))!important;
  padding-bottom:max(calc(env(safe-area-inset-bottom) + 22px),28px)!important;
}
.game-page{display:flex!important;flex-direction:column!important;gap:10px!important}
.game-page>*{margin-top:0!important;margin-bottom:0!important}
.game-header{min-height:50px!important;margin:0!important;padding:0 2px!important}
.game-summary,.word-progress-v84,.selected-word,.builder-area,.builder-panel,.chain-solo-status-v825,
.chain-solo-compose-v825,.chain-keyboard-v825,.builder-actions,.builder-tools,.game-note,.found-words{
  margin:0!important;
}
.word-progress-v84,.game-summary{padding:14px 16px!important;min-height:82px!important}
.selected-word{min-height:82px!important;padding:14px!important}
.builder-letters,.letter-bank{margin:2px 0!important;padding:6px 0!important;gap:8px!important}
.builder-actions{margin:0!important;gap:8px!important}
.builder-tools{margin:0!important;gap:8px!important}
.game-note{padding:12px 14px!important}
.section-heading.game-section{margin:8px 0 0!important}

/* Shared Chain: players first, one progress location, readable long words. */
.shared-chain-sheet-v87 .sheet-head{margin-bottom:10px!important}
.chain-score-v825{order:1!important;margin:0 0 10px!important;padding:14px!important}
.chain-last-word-v825{order:2!important;margin:0 0 10px!important;padding:14px 16px!important;min-height:78px!important}
.chain-last-word-v825 strong{font-size:clamp(20px,5vw,30px)!important;line-height:1.08!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.chain-action-v825{order:3!important;margin:0!important;padding:14px!important}
.chain-moves-v825{order:5!important;margin-top:10px!important}
.chain-actions-v812{order:4!important;margin-top:10px!important}
.chain-player-avatar-v825{position:relative!important;display:inline-grid!important;place-items:center!important;width:max-content!important;margin:auto!important}
.chain-player-avatar-v825 .reaction-anchor-v825{position:absolute!important;right:-8px!important;bottom:-5px!important}
.chain-player-avatar-v825 .reaction-toggle-v825{width:34px!important;height:34px!important;background:var(--accent)!important;color:var(--accent-ink)!important}
.chain-player-avatar-v825 .reaction-menu-v825{left:0!important;top:calc(100% + 8px)!important;transform:translate(0,-5px)!important}
.chain-player-avatar-v825 .reaction-anchor-v825.open .reaction-menu-v825{transform:translate(0,0)!important}
.chain-compose-wrap-v888{min-width:0!important;overflow:hidden!important;padding:0!important;background:var(--surface)!important}
.chain-compose-v888{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;text-overflow:clip!important;padding:0 14px!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
.chain-compose-v888::-webkit-scrollbar{display:none!important}
.chain-compose-v888 strong{display:inline-block!important;min-width:max-content!important;font-size:clamp(15px,4vw,22px)!important;letter-spacing:.02em!important;line-height:58px!important;white-space:nowrap!important}
.chain-compose-v888 span{line-height:58px!important;white-space:normal!important}
.chain-turn-form-v825{grid-template-columns:58px minmax(0,1fr) minmax(116px,30%)!important;gap:8px!important;align-items:stretch!important}
.chain-turn-form-v825>.primary-button{min-width:0!important;padding-inline:10px!important}
.shared-chain-keyboard-v888{margin-top:8px!important;padding:8px!important;background:color-mix(in srgb,var(--surface) 94%,var(--violet) 6%)!important}
.shared-chain-keyboard-v888 .key-row{gap:5px!important}
.shared-chain-keyboard-v888 .key{height:40px!important;background:var(--surface-2)!important;color:var(--text)!important;border:0!important}
.chain-noun-rule-v825{margin:8px 2px 0!important;color:var(--muted)!important;font-size:10px!important;line-height:1.35!important;text-align:center!important}

/* Solo Chain is part of the same game design system. */
.chain-game-v825 .chain-solo-status-v825{padding:14px 16px!important;min-height:76px!important}
.chain-game-v825 .chain-solo-compose-v825{padding:0!important;gap:8px!important}
.chain-game-v825 .chain-solo-letter-v825{min-height:62px!important}
.chain-game-v825 .selected-word{min-height:62px!important}
.chain-game-v825 .chain-keyboard-v825{margin:0!important;padding:8px!important;background:var(--surface)!important}
.chain-game-v825 .chain-actions-v825>button{height:54px!important}
.chain-game-v825 .chain-tools-v825 button{min-height:58px!important}

/* iOS/Safari avatar clipping: no dark corners in the light theme. */
.avatar-grid-v887{isolation:isolate!important}
.avatar-tile-v887,.avatar-tile-v888,.avatar-tile-v889{
  position:relative!important;padding:0!important;background:#fff!important;overflow:hidden!important;
  -webkit-mask-image:-webkit-radial-gradient(white,black)!important;transform:translateZ(0)!important;
}
.avatar-tile-v887>img,.avatar-tile-v888>img,.avatar-tile-v889>img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;
  object-fit:cover!important;background:#fff!important;-webkit-transform:translateZ(0)!important;
}
:root[data-theme="light"] .avatar-tile-v887,
:root[data-theme="light"] .avatar-tile-v888,
:root[data-theme="light"] .avatar-tile-v889{background:#fff!important;box-shadow:none!important}

/* Light theme must be bright, layered and readable rather than grey-on-grey. */
:root[data-theme="light"]{
  --bg:#f4f6fa!important;--bg-elevated:#fff!important;--surface:#fff!important;
  --surface-2:#edf1f6!important;--surface-3:#dfe5ed!important;--surface-soft:#f9fafc!important;
  --text:#0e131c!important;--text-soft:#303846!important;--muted:#667183!important;--muted-2:#838d9d!important;
  --line:rgba(15,22,33,.10)!important;
}
:root[data-theme="light"] :where(.game-summary,.word-progress-v84,.selected-word,.chain-keyboard-v825,.shared-chain-keyboard-v888,.chain-score-v825,.chain-action-v825,.chain-last-word-v825,.chain-move-v87,.builder-tools button,.notification-card-v824,.settings-row,.mission-card,.reward-card){
  color:var(--text)!important;background:#fff!important;box-shadow:0 10px 28px rgba(31,42,60,.06)!important;
}
:root[data-theme="light"] :where(.key,.letter-tile,.action-square,.reaction-toggle-v825,.reaction-binary-v825 button,.reaction-texts-v825 button){
  color:#101722!important;background:#e9eef5!important;border:0!important;box-shadow:none!important;
}

@media(max-width:430px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:max(calc(env(safe-area-inset-top) + 100px),var(--app-safe-top,108px))!important;padding-inline:12px!important}
  .game-page{gap:8px!important}
  .chain-turn-form-v825{grid-template-columns:52px minmax(0,1fr)!important}
  .chain-turn-form-v825>.primary-button{grid-column:1/-1!important;height:50px!important}
  .chain-compose-v888 strong{line-height:54px!important;font-size:16px!important}
  .chain-compose-v888 span{line-height:54px!important}
  .shared-chain-keyboard-v888 .key{height:37px!important;font-size:10px!important}
}
@media(max-height:740px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:max(calc(env(safe-area-inset-top) + 94px),var(--app-safe-top,102px))!important}
  .game-page{gap:7px!important}
  .word-progress-v84,.game-summary{min-height:70px!important;padding:11px 14px!important}
  .selected-word{min-height:70px!important;padding:11px!important}
  .shared-chain-keyboard-v888 .key,.chain-keyboard-v825 .key{height:35px!important}
}

/* 8.8.25 release lock — final unified geometry and compact vertical rhythm. */
:root{--wb-radius-one:24px!important;--wb-flow-gap:8px!important}

/* Every visible control/card in the Mini App uses exactly the same radius. */
:where(
  button,input,textarea,select,img,article,section,form,
  [class*="card"],[class*="tile"],[class*="item"],[class*="panel"],[class*="banner"],
  [class*="modal"],[class*="sheet"],[class*="popup"],[class*="dialog"],[class*="toast"],
  [class*="avatar"],[class*="icon"],[class*="badge"],[class*="chip"],[class*="tab"],
  [class*="button"],[class*="btn"],[class*="key"],[class*="cell"],[class*="field"],
  [class*="input"],[class*="select"],[class*="switch"],[class*="progress"]
){border-radius:var(--wb-radius-one)!important}

/* All sheets share the same spacing system instead of page-specific empty zones. */
.bottom-sheet{padding-left:clamp(12px,3.5vw,20px)!important;padding-right:clamp(12px,3.5vw,20px)!important}
.bottom-sheet .sheet-head{margin:0 0 10px!important;padding:0!important}
.bottom-sheet .sheet-head h2{margin:0!important;line-height:1.03!important;letter-spacing:-.045em!important}
.bottom-sheet .sheet-head p{margin:7px 0 0!important;line-height:1.4!important}
.bottom-sheet :where(.section-heading,.sheet-section){margin-top:16px!important;margin-bottom:9px!important}
.bottom-sheet :where(.duel-hub-v825,.chain-moves-v825,.notification-list-v824,.avatar-grid-v887){gap:8px!important}
.shared-chain-sheet-v87{padding-top:max(58px,calc(var(--tg-chrome-top,0px) + 18px))!important}
.shared-chain-sheet-v87 .sheet-head{margin-bottom:9px!important}

/* Shared Chain: title -> players -> last word/progress -> current action. */
.chain-score-v825{margin:0 0 8px!important;padding:12px!important;gap:8px!important}
.chain-score-v825>div{gap:5px!important}
.chain-score-v825>div>strong{line-height:1!important}
.chain-last-word-v825{margin:0 0 8px!important;min-height:72px!important;padding:12px 14px!important;gap:10px!important}
.chain-last-word-v825>div{min-width:0!important}
.chain-last-word-v825 strong{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.chain-action-v825{margin:0!important;padding:12px!important}
.chain-action-v825>header{margin:0 0 9px!important;gap:9px!important}
.chain-action-v825>header strong{line-height:1.18!important}
.chain-clock-v819{min-width:88px!important;padding:8px 10px!important}
.chain-turn-form-v825{margin:0!important}
.chain-noun-rule-v825{margin:7px 0 0!important}
.chain-actions-v812{margin:8px 0 0!important}
.chain-moves-v825{margin:10px 0 0!important}
.chain-moves-v825>header{margin-bottom:8px!important}
.chain-moves-v825>div{gap:7px!important}
.chain-move-v87{padding:10px 12px!important}

/* A long Chain word stays completely readable: it wraps and grows instead of disappearing. */
.chain-compose-wrap-v888{display:flex!important;align-items:center!important;min-width:0!important;min-height:58px!important;max-height:108px!important;overflow:hidden!important}
.chain-compose-v888{display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;min-height:58px!important;max-height:108px!important;padding:9px 13px!important;overflow-x:hidden!important;overflow-y:auto!important;white-space:normal!important;scrollbar-width:none!important}
.chain-compose-v888::-webkit-scrollbar{display:none!important}
.chain-compose-v888 strong{display:block!important;width:100%!important;min-width:0!important;line-height:1.18!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-size:clamp(15px,4.4vw,21px)!important}
.chain-compose-v888 span{display:block!important;width:100%!important;line-height:1.25!important;white-space:normal!important}

/* Reactions are attached to the user's avatar, not shown as a separate page block. */
.chain-player-avatar-v825,.duel-avatar-reaction-v825,.duel-live-avatar-reaction-v825{position:relative!important;display:inline-grid!important;place-items:center!important;width:max-content!important;isolation:isolate!important}
.duel-player-avatar-v823 .duel-avatar-reaction-v825{margin:auto!important}
.duel-avatar-reaction-v825>.reaction-anchor-v825,.duel-live-avatar-reaction-v825>.reaction-anchor-v825{position:absolute!important;right:-8px!important;bottom:-6px!important;z-index:8!important}
.duel-avatar-reaction-v825 .reaction-toggle-v825,.duel-live-avatar-reaction-v825 .reaction-toggle-v825{width:34px!important;height:34px!important;background:var(--accent)!important;color:var(--accent-ink)!important}
.duel-avatar-reaction-v825 .reaction-menu-v825,.duel-live-avatar-reaction-v825 .reaction-menu-v825{left:0!important;right:auto!important;top:calc(100% + 8px)!important;bottom:auto!important;transform:translateY(-5px)!important}
.duel-avatar-reaction-v825 .reaction-anchor-v825.open .reaction-menu-v825,.duel-live-avatar-reaction-v825 .reaction-anchor-v825.open .reaction-menu-v825{transform:translateY(0)!important}
.reaction-menu-v825{width:min(292px,calc(100vw - 32px))!important;padding:9px!important;gap:7px!important}
.reaction-binary-v825{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.reaction-texts-v825{gap:6px!important}
.reaction-texts-v825 button{min-height:38px!important;padding:8px 10px!important;line-height:1.2!important}

/* Solo Chain follows the same card/keyboard/action hierarchy as all other modes. */
.chain-game-v825{gap:8px!important}
.chain-game-v825 .chain-solo-status-v825{min-height:70px!important;padding:12px 14px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 12%,var(--surface)),var(--surface))!important}
.chain-game-v825 .chain-solo-compose-v825{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:8px!important}
.chain-game-v825 .chain-solo-letter-v825{min-height:58px!important;font-size:28px!important;background:linear-gradient(145deg,var(--violet),#6347ee)!important}
.chain-game-v825 .selected-word{min-height:58px!important;max-height:108px!important;margin:0!important;overflow-y:auto!important}
.chain-game-v825 .chain-keyboard-v825{padding:7px!important;gap:5px!important;background:var(--surface)!important}
.chain-game-v825 .chain-keyboard-v825 .key-row{gap:4px!important}
.chain-game-v825 .chain-keyboard-v825 .key{height:39px!important}
.chain-game-v825 .chain-actions-v825{margin:0!important;gap:7px!important}
.chain-game-v825 .chain-actions-v825>button{height:52px!important}
.chain-game-v825 .chain-tools-v825{margin:0!important}
.chain-game-v825 .chain-tools-v825 button{min-height:56px!important}

/* All game modes use the same compact content flow while preserving Telegram chrome clearance. */
.screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:max(calc(env(safe-area-inset-top) + 96px),var(--app-safe-top,104px))!important}
.game-page{gap:var(--wb-flow-gap)!important}
.game-header{min-height:48px!important;margin:0!important}
.game-summary,.word-progress-v84,.word-progress-v85{min-height:70px!important;padding:12px 14px!important;margin:0!important}
.selected-word,.selected-word-v84{min-height:68px!important;margin:0!important;padding:11px!important}
.letter-deck,.letter-deck-v84{margin:0 auto!important;gap:7px!important}
.builder-actions{margin:0!important;gap:7px!important}
.builder-actions>button{height:52px!important}
.builder-tools{margin:0!important;gap:7px!important}
.builder-tools button{min-height:58px!important}
.hint-penalty-v7,.game-tip,.daily-hint-note-v86{margin:0!important;padding:11px 13px!important}
.section-heading.game-section{margin:8px 0 0!important}

/* Avatar tiles: opaque white base + cropped antialiased edge removes black PNG/Safari corners. */
.avatar-grid-v887{gap:8px!important;isolation:isolate!important}
.avatar-tile-v887,.avatar-tile-v888,.avatar-tile-v889{
  background:#fff!important;overflow:hidden!important;isolation:isolate!important;
  -webkit-mask-image:linear-gradient(#fff,#fff)!important;mask-image:linear-gradient(#fff,#fff)!important;
  -webkit-transform:translateZ(0)!important;transform:translateZ(0)!important;
}
.avatar-tile-v887:before,.avatar-tile-v888:before,.avatar-tile-v889:before{content:""!important;position:absolute!important;inset:0!important;background:#fff!important;z-index:0!important}
.avatar-tile-v887:after,.avatar-tile-v888:after,.avatar-tile-v889:after{display:none!important;content:none!important}
.avatar-tile-v887>img,.avatar-tile-v888>img,.avatar-tile-v889>img{
  position:absolute!important;inset:-2px!important;width:calc(100% + 4px)!important;height:calc(100% + 4px)!important;
  max-width:none!important;max-height:none!important;object-fit:cover!important;background:#fff!important;
  transform:translateZ(0)!important;clip-path:inset(2px round var(--wb-radius-one))!important;z-index:2!important;
}
.avatar-fallback-v887{z-index:1!important;background:#fff!important}
.avatar-lock-v887,.avatar-price-v887,.avatar-selected-v887,.avatar-achievement-v889{z-index:5!important}

/* Light theme: clear white hierarchy, strong text and visible keys without dull grey slabs. */
:root[data-theme="light"]{
  --bg:#f4f6fa!important;--bg-elevated:#fff!important;--surface:#fff!important;--surface-2:#edf1f6!important;--surface-3:#dfe5ee!important;--surface-soft:#fafbfd!important;
  --text:#0d121b!important;--text-soft:#303846!important;--muted:#626d7e!important;--muted-2:#818c9d!important;--line:rgba(14,21,32,.09)!important;
}
:root[data-theme="light"] .bottom-sheet{background:#f7f9fc!important;box-shadow:0 -18px 60px rgba(30,39,55,.13)!important}
:root[data-theme="light"] :where(.game-summary,.word-progress-v84,.selected-word,.chain-score-v825,.chain-last-word-v825,.chain-action-v825,.chain-move-v87,.chain-keyboard-v825,.shared-chain-keyboard-v888,.duel-player-v823,.duel-banner-v823,.duel-rules-v823,.notification-card-v824,.settings-row,.mission-card,.reward-card){background:#fff!important;color:var(--text)!important;box-shadow:0 8px 25px rgba(27,37,54,.055)!important}
:root[data-theme="light"] :where(.key,.letter-tile,.action-square,.builder-tools button,.reaction-toggle-v825,.reaction-binary-v825 button,.reaction-texts-v825 button){background:#e8edf4!important;color:#111722!important;border:1px solid rgba(18,25,36,.055)!important;box-shadow:none!important}
:root[data-theme="light"] .shared-chain-keyboard-v888,:root[data-theme="light"] .chain-keyboard-v825{background:#eef2f7!important}
:root[data-theme="light"] .chain-compose-wrap-v888{background:#fff!important;border:1px solid #e0e5ed!important}
:root[data-theme="light"] .chain-last-word-v825{background:linear-gradient(135deg,#f1edff,#fff 54%,#eef8e7)!important}
:root[data-theme="light"] .chain-action-v825{background:linear-gradient(135deg,#edf8e4,#fff 60%,#f0ecff)!important}
:root[data-theme="light"] .avatar-tile-v887,:root[data-theme="light"] .avatar-tile-v888,:root[data-theme="light"] .avatar-tile-v889{background:#fff!important;box-shadow:none!important}

@media(max-width:430px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:max(calc(env(safe-area-inset-top) + 94px),var(--app-safe-top,102px))!important;padding-inline:12px!important}
  .game-page{gap:7px!important}
  .shared-chain-sheet-v87{padding-top:max(54px,calc(var(--tg-chrome-top,0px) + 16px))!important}
  .chain-score-v825{padding:10px!important}
  .chain-last-word-v825,.chain-action-v825{padding:11px!important}
  .chain-turn-form-v825{grid-template-columns:50px minmax(0,1fr)!important;gap:7px!important}
  .chain-turn-form-v825>.primary-button{grid-column:1/-1!important;height:48px!important}
  .chain-compose-wrap-v888,.chain-compose-v888{min-height:52px!important}
  .shared-chain-keyboard-v888 .key,.chain-keyboard-v825 .key{height:36px!important;font-size:10px!important}
}
@media(max-height:720px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:max(calc(env(safe-area-inset-top) + 90px),var(--app-safe-top,98px))!important}
  .game-page{gap:6px!important}
  .game-summary,.word-progress-v84,.selected-word{min-height:62px!important;padding:10px 12px!important}
  .shared-chain-keyboard-v888 .key,.chain-keyboard-v825 .key{height:34px!important}
}

/* Absolute geometry lock requested for 8.8.25: no component may introduce another radius. */
*,*::before,*::after{border-radius:var(--wb-radius-one)!important}
.avatar-tile-v887>img,.avatar-tile-v888>img,.avatar-tile-v889>img{
  inset:-5px!important;width:calc(100% + 10px)!important;height:calc(100% + 10px)!important;
  clip-path:inset(5px round var(--wb-radius-one))!important;
}

/* 8.8.26 final contract — one 14px radius, larger keyboards and stable overlays. */
:root{
  --wb-radius-one:14px!important;
  --radius-xl:14px!important;
  --radius-lg:14px!important;
  --radius-md:14px!important;
  --radius-sm:14px!important;
  --wb-flow-gap:8px!important;
}
*,*::before,*::after{border-radius:14px!important}

/* Avatars are always square with the same rounded corners — never circular. */
:where(.avatar,.rank-avatar,.profile-avatar,.challenge-avatar-v84,.context-avatar-v84,.duel-ingame-avatar-v823,.duel-entry-avatar-v823,[class*="avatar"]){
  border-radius:14px!important;clip-path:inset(0 round 14px)!important;overflow:hidden!important;
}
:where(.avatar,.rank-avatar,.profile-avatar,.challenge-avatar-v84,.context-avatar-v84,.duel-ingame-avatar-v823,.duel-entry-avatar-v823,[class*="avatar"]) img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:14px!important;clip-path:inset(0 round 14px)!important;background:#fff!important;
}
.avatar-tile-v887>img,.avatar-tile-v888>img,.avatar-tile-v889>img{clip-path:inset(5px round 14px)!important}

/* Reaction control sits beside the player's avatar. Its menu is viewport-fixed so it cannot be clipped by a sheet. */
.chain-player-head-v826,.duel-player-avatar-row-v826,.duel-live-player-head-v826{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;position:relative!important;min-width:0!important;
}
.chain-player-head-v826 .reaction-anchor-v825,
.duel-player-avatar-row-v826 .reaction-anchor-v825,
.duel-live-player-head-v826 .reaction-anchor-v825{
  position:relative!important;right:auto!important;bottom:auto!important;left:auto!important;top:auto!important;display:grid!important;place-items:center!important;z-index:110!important;
}
.reaction-toggle-v825{width:34px!important;height:34px!important;min-width:34px!important;background:color-mix(in srgb,var(--accent) 16%,var(--surface-2))!important;color:var(--accent)!important}
.reaction-menu-v825,
.chain-player-head-v826 .reaction-menu-v825,
.duel-player-avatar-row-v826 .reaction-menu-v825,
.duel-live-player-head-v826 .reaction-menu-v825{
  position:fixed!important;inset:auto!important;z-index:10000!important;width:min(300px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
  padding:10px!important;background:var(--bg-elevated)!important;box-shadow:0 18px 60px rgba(0,0,0,.34)!important;
  opacity:0!important;visibility:hidden!important;transform:translateY(-4px)!important;pointer-events:none!important;
}
.reaction-anchor-v825.open .reaction-menu-v825{opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}
.reaction-binary-v825{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.reaction-binary-v825 button{min-height:48px!important}
.reaction-texts-v825{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;margin-top:7px!important}
.reaction-texts-v825 button{width:100%!important;min-height:42px!important;padding:9px 12px!important;text-align:left!important;white-space:normal!important}
.reaction-pop-v824{left:50%!important;right:auto!important;bottom:calc(100% + 7px)!important;top:auto!important;max-width:min(220px,70vw)!important;transform:translateX(-50%)!important;pointer-events:none!important}

/* Shared Chain: compact required letter, readable long word and larger touch targets. */
.chain-turn-form-v826{grid-template-columns:46px minmax(0,1fr) minmax(112px,28%)!important;gap:8px!important;align-items:stretch!important}
.chain-required-letter-v819{width:46px!important;min-width:46px!important;min-height:54px!important;font-size:25px!important}
.chain-compose-wrap-v888{min-height:54px!important;max-height:64px!important;overflow:hidden!important}
.chain-compose-v888{
  display:block!important;min-height:54px!important;max-height:64px!important;padding:0 13px!important;
  overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;
}
.chain-compose-v888 strong{display:inline-block!important;width:auto!important;min-width:max-content!important;line-height:54px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:clamp(15px,4.2vw,20px)!important}
.chain-compose-v888 span{display:inline-block!important;line-height:54px!important;white-space:nowrap!important}
.shared-chain-keyboard-v888{padding:8px!important;gap:6px!important}
.shared-chain-keyboard-v888 .key-row{gap:5px!important}
.shared-chain-keyboard-v888 .key{height:43px!important;min-height:43px!important;font-size:12px!important;font-weight:760!important;padding:0 2px!important}
.chain-last-word-v826 strong{white-space:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;word-break:normal!important;overflow-wrap:normal!important;scrollbar-width:none!important}
.chain-last-word-v826 strong::-webkit-scrollbar{display:none!important}
.chain-score-v826 .challenge-avatar-v84{width:54px!important;height:54px!important}

/* Solo Chain: larger, easier-to-hit keyboard without wasting vertical space. */
.chain-game-v826 .chain-solo-compose-v825{grid-template-columns:48px minmax(0,1fr)!important}
.chain-game-v826 .chain-solo-letter-v825{width:48px!important;min-height:56px!important;font-size:25px!important}
.chain-game-v826 .chain-keyboard-v826{padding:8px!important;gap:6px!important}
.chain-game-v826 .chain-keyboard-v826 .key-row{gap:5px!important}
.chain-game-v826 .chain-keyboard-v826 .key{height:44px!important;min-height:44px!important;font-size:12px!important;font-weight:760!important;padding:0 2px!important}
.chain-game-v826 .chain-keyboard-v826 .key-wide{min-width:44px!important}
.chain-game-v826 .chain-selected{overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important}
.chain-game-v826 .chain-selected::-webkit-scrollbar{display:none!important}

/* Marathon is a real full-keyboard three-minute mode. */
.marathon-game-v826{gap:8px!important}
.marathon-status-v826{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:72px!important;padding:12px 14px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 15%,var(--surface)),color-mix(in srgb,var(--accent) 8%,var(--surface)))!important}
.marathon-status-v826 small{display:block!important;color:var(--muted)!important;font-size:9px!important;font-weight:850!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.marathon-status-v826 strong{display:block!important;margin-top:5px!important;font-size:13px!important;line-height:1.35!important}
.marathon-compose-v826{min-height:62px!important;padding:0 15px!important;display:flex!important;align-items:center!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;background:var(--surface)!important;scrollbar-width:none!important}
.marathon-compose-v826::-webkit-scrollbar{display:none!important}
.marathon-compose-v826 strong{display:inline-block!important;min-width:max-content!important;font-size:clamp(18px,5vw,25px)!important;letter-spacing:.02em!important}
.marathon-compose-v826 span{color:var(--muted)!important;font-size:13px!important}
.marathon-keyboard-v826{padding:8px!important;display:grid!important;gap:6px!important;background:var(--surface)!important}
.marathon-keyboard-v826 .key-row{display:flex!important;justify-content:center!important;gap:5px!important}
.marathon-keyboard-v826 .key{flex:1 1 0!important;min-width:0!important;height:43px!important;padding:0 2px!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:12px!important;font-weight:760!important}
.marathon-actions-v826{display:grid!important;grid-template-columns:56px minmax(0,1fr) 56px!important;gap:7px!important}
.marathon-actions-v826>button{height:54px!important;background:var(--surface)!important;color:var(--text)!important}
.marathon-actions-v826>.primary-button{background:var(--accent)!important;color:var(--accent-ink)!important}
.marathon-tools-v826{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.master-rules-v826{display:flex!important;align-items:center!important;gap:9px!important;padding:11px 13px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 16%,var(--surface)),var(--surface))!important;color:var(--text-soft)!important;font-size:11px!important;line-height:1.4!important}
.master-rules-v826 svg{width:20px!important;height:20px!important;color:var(--violet)!important}

/* Finish confirmation matches the application and cannot be bypassed by a direct tap. */
.finish-confirm-sheet-v826{max-width:520px!important}
.finish-confirm-actions-v826{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:14px!important}
.finish-confirm-actions-v826 button{width:100%!important;min-height:52px!important;padding:0 16px!important;font-weight:850!important}
.finish-danger-v826{background:color-mix(in srgb,var(--danger) 17%,var(--surface-2))!important;color:var(--danger)!important}

/* Light theme: Plus should look premium and remain clearly separated from ordinary cards. */
:root[data-theme="light"] :where(.plus-nudge,.plus-banner,.plus-banner-v7,.plus-card,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"]){
  background:linear-gradient(135deg,#ece6ff 0%,#ffffff 48%,#eaf7df 100%)!important;
  color:#111722!important;box-shadow:0 12px 34px rgba(91,66,196,.13)!important;border:1px solid rgba(103,76,210,.10)!important;
}
:root[data-theme="light"] :where(.plus-nudge,.plus-banner,.plus-banner-v7,.plus-card,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"]) :where(h2,h3,strong,b){color:#15102b!important}
:root[data-theme="light"] :where(.plus-nudge,.plus-banner,.plus-banner-v7,.plus-card,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"]) :where(p,small,span){color:#5d6070!important}

/* Restore scrolling after sheets/tournament tabs and keep the viewport touch-friendly. */
.screen-root{touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
body:not(.modal-open) .screen-root{overflow-y:auto!important}

@media(max-width:430px){
  .chain-turn-form-v826{grid-template-columns:44px minmax(0,1fr)!important}
  .chain-turn-form-v826>.primary-button{grid-column:1/-1!important;height:48px!important}
  .chain-required-letter-v819{width:44px!important;min-width:44px!important;min-height:52px!important;font-size:23px!important}
  .shared-chain-keyboard-v888 .key,.chain-game-v826 .chain-keyboard-v826 .key,.marathon-keyboard-v826 .key{height:41px!important;min-height:41px!important;font-size:11px!important}
  .marathon-actions-v826{grid-template-columns:52px minmax(0,1fr) 52px!important}
}
@media(max-height:720px){
  .shared-chain-keyboard-v888 .key,.chain-game-v826 .chain-keyboard-v826 .key,.marathon-keyboard-v826 .key{height:39px!important;min-height:39px!important}
  .marathon-status-v826{min-height:64px!important;padding:10px 12px!important}
  .marathon-compose-v826{min-height:56px!important}
}
.reaction-menu-v825.source-hidden-v826{display:none!important}
.reaction-menu-portal-v826.portal-open{display:grid!important;position:fixed!important;z-index:100000!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}


/* 8.8.27 — calm typography, stable reaction popovers and a cleaner solo chain. */
#app,#app *{font-weight:400!important}
#app :is(h1,h2,h3,h4,h5,h6,strong,b,.primary-button,.secondary-button,button,[role="button"],.section-heading h2,.sheet-head h2){font-weight:500!important}
#app :is(p,span,small,label,input,textarea,select,option,em,time){font-weight:400!important}

.finish-confirm-actions-v826 button{font-weight:500!important;letter-spacing:0!important}
.finish-confirm-sheet-v826 .sheet-head h2{font-weight:500!important}
.finish-confirm-sheet-v826 .sheet-head p{font-weight:400!important}

/* Compact popover: it stays near the reaction control and always fits inside
   Telegram's visual viewport. */
.reaction-menu-v827{
  display:grid!important;gap:8px!important;padding:10px!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;background:var(--bg-elevated)!important;
  box-shadow:0 16px 46px rgba(0,0,0,.32)!important;
}
.reaction-menu-title-v827{padding:2px 3px 4px!important;color:var(--text-soft)!important;font-size:11px!important;font-weight:500!important}
.reaction-menu-v827 .reaction-binary-v825{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.reaction-menu-v827 .reaction-binary-v825 button{min-height:44px!important;background:var(--surface-2)!important}
.reaction-menu-v827 .reaction-binary-v825 svg{width:30px!important;height:30px!important}
.reaction-menu-v827 .reaction-texts-v825{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0!important}
.reaction-menu-v827 .reaction-texts-v825 button{min-height:38px!important;padding:7px 9px!important;font-size:10px!important;line-height:1.25!important;text-align:center!important}
.reaction-menu-v825.source-hidden-v826{display:none!important}

/* A reaction appears once, remains readable, then fades away. No pulse,
   blinking or permanent badge. */
.reaction-pop-v824.reaction-once-v827{
  position:absolute!important;left:50%!important;right:auto!important;top:calc(100% + 7px)!important;bottom:auto!important;
  width:max-content!important;max-width:min(220px,72vw)!important;transform:translateX(-50%)!important;
  opacity:0!important;pointer-events:none!important;z-index:220!important;
  animation:v827ReactionOnce var(--reaction-life,4200ms) ease both!important;
}
@keyframes v827ReactionOnce{
  0%{opacity:0;transform:translate(-50%,-5px)}
  8%{opacity:1;transform:translate(-50%,0)}
  82%{opacity:1;transform:translate(-50%,0)}
  100%{opacity:0;transform:translate(-50%,4px);visibility:hidden}
}
.reaction-pop-v824.reaction-once-v827 strong{font-weight:500!important}
.reaction-pop-v824.reaction-once-v827 small{font-weight:400!important}

/* Solo Chain: slightly larger keys, no duplicate backspace inside the keyboard,
   and three aligned controls below it. */
.chain-game-v826 .chain-keyboard-v826{padding:9px!important;gap:7px!important}
.chain-game-v826 .chain-keyboard-v826 .key-row{gap:6px!important}
.chain-game-v826 .chain-keyboard-v826 .key{height:48px!important;min-height:48px!important;font-size:14px!important;padding:0 2px!important}
.chain-game-v826 .chain-actions-v825{display:grid!important;grid-template-columns:58px minmax(0,1fr) 58px!important;gap:8px!important;align-items:stretch!important}
.chain-game-v826 .chain-actions-v825>button{width:100%!important;min-width:0!important;height:56px!important;min-height:56px!important;padding:0!important}
.chain-game-v826 .chain-actions-v825>.primary-button{padding:0 14px!important}
.chain-game-v826 .chain-solo-compose-v825{grid-template-columns:54px minmax(0,1fr)!important;gap:8px!important}
.chain-game-v826 .chain-solo-letter-v825{width:54px!important;min-height:58px!important;font-size:24px!important}
.chain-game-v826 .chain-selected{min-height:58px!important;display:flex!important;align-items:center!important}

@media(max-width:390px){
  .reaction-menu-v827 .reaction-texts-v825{grid-template-columns:1fr!important}
  .chain-game-v826 .chain-keyboard-v826 .key{height:45px!important;min-height:45px!important;font-size:13px!important}
  .chain-game-v826 .chain-actions-v825{grid-template-columns:54px minmax(0,1fr) 54px!important}
}
@media(max-height:700px){
  .chain-game-v826 .chain-keyboard-v826 .key{height:43px!important;min-height:43px!important}
}

.reaction-anchor-v825 > .reaction-menu-v825{display:none!important}
.reaction-menu-portal-v826.reaction-menu-v827{display:grid!important}

/* 8.8.28 — paid puzzle modes. Every new block follows the single 14px radius system. */
.paid-puzzles-v828{margin-top:18px}
.paid-puzzles-title-v828{margin-bottom:10px!important}
.paid-mode-grid-v828{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.paid-mode-card-v828{position:relative;min-height:210px;padding:16px;border-radius:14px!important;overflow:hidden;text-align:left;background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 88%,var(--violet) 12%),var(--surface));display:flex;flex-direction:column;align-items:flex-start;gap:10px;isolation:isolate}
.paid-mode-card-v828:before{content:"";position:absolute;inset:auto -38px -52px auto;width:150px;height:150px;border-radius:14px!important;transform:rotate(28deg);background:linear-gradient(145deg,rgba(173,255,69,.18),rgba(121,88,255,.24));z-index:-1}
.paid-mode-card-v828.paid-fillwords:before{background:linear-gradient(145deg,rgba(97,184,255,.22),rgba(121,88,255,.24))}
.paid-mode-card-v828.paid-sudoku:before{background:linear-gradient(145deg,rgba(255,189,74,.18),rgba(121,88,255,.22))}
.paid-mode-art-v828{width:54px;height:54px;border-radius:14px!important;display:grid;place-items:center;background:color-mix(in srgb,var(--surface-3) 76%,var(--violet) 24%);color:var(--accent)}
.paid-mode-art-v828 svg,.paid-intro-icon-v828 svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.paid-mode-copy-v828{display:grid;gap:5px;min-width:0}
.paid-mode-copy-v828 small{color:var(--accent);font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.paid-mode-copy-v828 h3{margin:0;font-size:19px;line-height:1.1;letter-spacing:-.035em;font-weight:500!important}
.paid-mode-copy-v828 p{margin:0;color:var(--muted);font-size:11px;line-height:1.48}
.paid-mode-cost-v828{margin-top:auto;height:32px;padding:0 10px;border-radius:14px!important;display:flex;align-items:center;gap:6px;background:var(--surface-3);color:var(--text);font-size:11px}
.paid-mode-cost-v828 svg{width:16px;height:16px;color:var(--amber)}
.paid-mode-card-v828>i{position:absolute;right:14px;bottom:15px;color:var(--text-soft)}
.paid-mode-card-v828>i svg{width:20px;height:20px}

.paid-intro-sheet-v828 .bottom-sheet{border-radius:14px!important}
.paid-intro-v828{display:grid;gap:12px;padding-bottom:4px}
.paid-intro-icon-v828{width:76px;height:76px;border-radius:14px!important;display:grid;place-items:center;color:var(--accent);background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 70%,var(--surface)),color-mix(in srgb,var(--accent) 16%,var(--surface)))}
.paid-intro-icon-v828 svg{width:42px;height:42px}
.paid-intro-rule-v828{min-height:62px;padding:13px;border-radius:14px!important;background:var(--surface);display:flex;align-items:center;gap:11px}
.paid-intro-rule-v828>span{width:36px;height:36px;border-radius:14px!important;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 16%,var(--surface-2));color:var(--accent)}
.paid-intro-rule-v828 svg{width:18px;height:18px}
.paid-intro-rule-v828 p{margin:0;color:var(--text-soft);font-size:12px;line-height:1.45}
.paid-intro-summary-v828{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.paid-intro-summary-v828 article{min-height:82px;padding:12px;border-radius:14px!important;background:var(--surface);display:flex;flex-direction:column;justify-content:space-between;gap:8px}
.paid-intro-summary-v828 small{color:var(--muted);font-size:9px;line-height:1.2}
.paid-intro-summary-v828 strong{display:flex;align-items:center;gap:5px;font-size:16px;font-weight:500!important}
.paid-intro-summary-v828 strong svg{width:16px;height:16px;color:var(--amber)}
.paid-intro-note-v828{margin:0;color:var(--muted);font-size:10px;line-height:1.45;text-align:center}

.special-game-v828{width:min(100%,640px);margin:0 auto;padding:18px max(14px,var(--tg-content-safe-right)) 38px;display:grid;gap:10px}
.special-game-header-v828{display:grid;grid-template-columns:52px minmax(0,1fr) 46px;align-items:center;gap:10px;min-height:64px}
.special-game-header-v828>button{width:52px;height:52px;border-radius:14px!important;background:var(--surface);display:grid;place-items:center}
.special-game-header-v828>button svg{width:22px;height:22px}
.special-game-header-v828>div{min-width:0}
.special-game-header-v828 small{display:block;color:var(--accent);font-size:8px;letter-spacing:.13em;text-transform:uppercase}
.special-game-header-v828 h1{margin:3px 0 0;font-size:22px;line-height:1.08;letter-spacing:-.04em;font-weight:500!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.special-game-header-v828 p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.special-xp-chip-v828{width:46px;height:46px;border-radius:14px!important;display:grid;place-items:center;background:linear-gradient(145deg,var(--violet),color-mix(in srgb,var(--violet) 64%,var(--accent)));color:#fff;font-size:12px}
.special-status-v828,.sudoku-status-v828{min-height:72px;padding:14px;border-radius:14px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 15%,var(--surface)),color-mix(in srgb,var(--accent) 7%,var(--surface)));display:flex;align-items:center;justify-content:space-between;gap:12px}
.special-status-v828>div,.sudoku-status-v828>div{min-width:0;display:grid;gap:5px}
.special-status-v828 small,.sudoku-status-v828 small{color:var(--muted);font-size:9px}
.special-status-v828 strong,.sudoku-status-v828 strong{font-size:15px;line-height:1.25;font-weight:500!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.special-status-v828>span,.sudoku-status-v828>span{flex:0 0 auto;min-width:62px;height:42px;padding:0 10px;border-radius:14px!important;background:var(--surface-2);display:grid;place-items:center;font-size:12px;color:var(--text-soft)}
.special-game-footer-v828{min-height:52px;padding:12px 14px;border-radius:14px!important;background:var(--surface);display:flex;align-items:center;gap:10px;color:var(--muted)}
.special-game-footer-v828>span{color:var(--amber)}
.special-game-footer-v828 svg{width:18px;height:18px}
.special-game-footer-v828 p{margin:0;font-size:10px;line-height:1.4}

.syllable-answer-v828{min-height:92px;padding:14px;border-radius:14px!important;background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center}
.syllable-answer-v828 small{color:var(--muted);font-size:9px}
.syllable-answer-v828 strong{max-width:100%;font-size:clamp(22px,6vw,34px);line-height:1.08;letter-spacing:.02em;font-weight:500!important;overflow-wrap:anywhere}
.syllable-pieces-v828{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;border-radius:14px!important;background:var(--surface)}
.syllable-pieces-v828 button{position:relative;min-height:64px;padding:10px;border-radius:14px!important;background:var(--surface-2);display:grid;place-items:center;color:var(--text);font-size:17px}
.syllable-pieces-v828 button.selected{background:var(--accent);color:var(--accent-ink)}
.syllable-pieces-v828 button i{position:absolute;right:7px;top:7px;min-width:20px;height:20px;padding:0 5px;border-radius:14px!important;background:color-mix(in srgb,var(--bg) 70%,transparent);display:grid;place-items:center;color:var(--text);font-size:8px;font-style:normal}
.special-controls-v828{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;gap:8px}
.special-controls-v828>button{min-height:58px;border-radius:14px!important;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--text-soft);font-size:8px}
.special-controls-v828>.primary-button{background:var(--accent);color:var(--accent-ink);font-size:13px;display:flex;flex-direction:row}
.special-controls-v828 svg{width:19px;height:19px}
.special-found-v828,.fillword-slots-v828{padding:14px;border-radius:14px!important;background:var(--surface);display:grid;gap:12px}
.special-found-v828 header,.fillword-slots-v828 header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.special-found-v828 h2,.fillword-slots-v828 h2{margin:0;font-size:17px;font-weight:500!important}
.special-found-v828 header>span,.fillword-slots-v828 header>span{color:var(--accent);font-size:11px}
.special-found-v828>div,.fillword-slots-v828>div{display:flex;flex-wrap:wrap;gap:6px}
.special-found-v828>div>span,.fillword-slots-v828>div>span{min-height:32px;padding:0 10px;border-radius:14px!important;background:var(--surface-2);display:flex;align-items:center;font-size:10px}
.special-found-v828 p{margin:0;color:var(--muted);font-size:10px}

.fillword-grid-v828{width:min(100%,520px);aspect-ratio:1;margin:0 auto;padding:8px;border-radius:14px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 12%,var(--surface)),var(--surface));display:grid;grid-template-columns:repeat(var(--fill-size),minmax(0,1fr));gap:4px;touch-action:none;user-select:none}
.fillword-grid-v828 button{position:relative;min-width:0;border-radius:14px!important;background:var(--surface-2);display:grid;place-items:center;font-size:clamp(13px,4vw,20px)}
.fillword-grid-v828 button.selected{background:var(--accent);color:var(--accent-ink)}
.fillword-grid-v828 button.found:not(.selected){background:color-mix(in srgb,var(--violet) 38%,var(--surface-2));color:#fff}
.fillword-grid-v828 button i{position:absolute;right:4px;top:3px;font-size:7px;font-style:normal;opacity:.72}
.fillword-slots-v828>div>span{letter-spacing:.12em;color:var(--muted)}
.fillword-slots-v828>div>span.found{letter-spacing:0;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface-2))}

.sudoku-game-v828{max-width:610px}
.sudoku-board-v828{width:min(100%,520px);aspect-ratio:1;margin:0 auto;padding:6px;border-radius:14px!important;background:color-mix(in srgb,var(--surface-3) 82%,var(--violet) 18%);display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px}
.sudoku-board-v828 button{min-width:0;border-radius:14px!important;background:var(--surface);display:grid;place-items:center;font-size:clamp(14px,4.1vw,22px);color:var(--text-soft)}
.sudoku-board-v828 button.given{background:color-mix(in srgb,var(--violet) 13%,var(--surface-2));color:var(--text)}
.sudoku-board-v828 button.same{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
.sudoku-board-v828 button.selected{background:var(--accent);color:var(--accent-ink)}
.sudoku-board-v828 button.error{background:color-mix(in srgb,var(--danger) 24%,var(--surface));color:var(--danger)}
.sudoku-board-v828 button:nth-child(3n):not(:nth-child(9n)){box-shadow:3px 0 0 color-mix(in srgb,var(--surface-3) 84%,var(--violet) 16%)}
.sudoku-board-v828 button:nth-child(n+19):nth-child(-n+27),.sudoku-board-v828 button:nth-child(n+46):nth-child(-n+54){box-shadow:0 3px 0 color-mix(in srgb,var(--surface-3) 84%,var(--violet) 16%)}
.sudoku-board-v828 button:nth-child(3n):not(:nth-child(9n)):nth-child(n+19):nth-child(-n+27),.sudoku-board-v828 button:nth-child(3n):not(:nth-child(9n)):nth-child(n+46):nth-child(-n+54){box-shadow:3px 0 0 color-mix(in srgb,var(--surface-3) 84%,var(--violet) 16%),0 3px 0 color-mix(in srgb,var(--surface-3) 84%,var(--violet) 16%)}
.sudoku-keypad-v828{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px}
.sudoku-keypad-v828 button{height:48px;border-radius:14px!important;background:var(--surface);font-size:16px}
.sudoku-actions-v828{display:grid;grid-template-columns:68px minmax(0,1fr) 68px;gap:8px}
.sudoku-actions-v828>button{min-height:58px;border-radius:14px!important;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--text-soft);font-size:8px}
.sudoku-actions-v828>.primary-button{background:var(--accent);color:var(--accent-ink);font-size:12px;display:flex;flex-direction:row}
.sudoku-actions-v828 svg{width:18px;height:18px}

.paid-result-v828{width:min(100%,600px);min-height:100%;margin:0 auto;padding:clamp(36px,8vh,82px) 18px 36px;display:flex;flex-direction:column;align-items:center;text-align:center}
.paid-result-v828>img{width:82px;height:82px;object-fit:contain}
.paid-result-v828>span{margin-top:16px;color:var(--violet);font-size:9px;letter-spacing:.13em;text-transform:uppercase}
.paid-result-v828 h1{margin:10px 0 0;font-size:clamp(30px,8vw,48px);line-height:1;letter-spacing:-.055em;font-weight:500!important}
.paid-result-v828>p{margin:10px 0 0;color:var(--muted);font-size:12px}
.paid-result-stats-v828{width:100%;margin-top:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.paid-result-stats-v828 article{min-height:96px;padding:14px 8px;border-radius:14px!important;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.paid-result-stats-v828 strong{font-size:24px;font-weight:500!important}
.paid-result-stats-v828 small{color:var(--muted);font-size:9px}
.paid-result-note-v828{width:100%;min-height:58px;margin:10px 0 16px;padding:12px 14px;border-radius:14px!important;background:color-mix(in srgb,var(--violet) 12%,var(--surface));display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:10px;line-height:1.4}
.paid-result-note-v828 svg{width:18px;height:18px;color:var(--violet)}
.paid-result-v828>.full-button{width:100%;margin-top:8px;border-radius:14px!important}

:root[data-theme="light"] .paid-mode-card-v828{background:linear-gradient(145deg,#fff,color-mix(in srgb,#fff 88%,var(--violet) 12%));box-shadow:0 12px 30px rgba(41,47,63,.08)}
:root[data-theme="light"] .paid-mode-art-v828,:root[data-theme="light"] .paid-mode-cost-v828{background:#f1f3f8}
:root[data-theme="light"] .special-status-v828,:root[data-theme="light"] .sudoku-status-v828{background:linear-gradient(135deg,#fff,color-mix(in srgb,#fff 88%,var(--accent) 12%));box-shadow:0 10px 28px rgba(41,47,63,.07)}
:root[data-theme="light"] .fillword-grid-v828,:root[data-theme="light"] .sudoku-board-v828{background:#e8ebf2}
:root[data-theme="light"] .fillword-grid-v828 button,:root[data-theme="light"] .sudoku-board-v828 button,:root[data-theme="light"] .sudoku-keypad-v828 button{background:#fff;color:#171a22;box-shadow:0 2px 7px rgba(41,47,63,.05)}
:root[data-theme="light"] .sudoku-board-v828 button.given{background:#e8e4ff;color:#231d45}
:root[data-theme="light"] .sudoku-board-v828 button.selected,:root[data-theme="light"] .fillword-grid-v828 button.selected{background:var(--accent);color:#fff}
:root[data-theme="light"] .syllable-pieces-v828 button{background:#eef0f5}
:root[data-theme="light"] .syllable-pieces-v828 button.selected{background:var(--accent);color:#fff}

@media(max-width:520px){
  .paid-mode-grid-v828{grid-template-columns:1fr}
  .paid-mode-card-v828{min-height:132px;display:grid;grid-template-columns:54px minmax(0,1fr) auto;grid-template-rows:auto 32px;align-items:center}
  .paid-mode-art-v828{grid-row:1/3}
  .paid-mode-copy-v828{align-self:center}
  .paid-mode-cost-v828{grid-column:2;margin:0;justify-self:start}
  .paid-mode-card-v828>i{right:14px;bottom:17px}
  .special-game-v828{padding-top:12px;gap:8px}
}
@media(max-width:390px){
  .special-game-header-v828{grid-template-columns:46px minmax(0,1fr) 42px;gap:8px}
  .special-game-header-v828>button{width:46px;height:46px}
  .special-xp-chip-v828{width:42px;height:42px}
  .special-game-header-v828 h1{font-size:19px}
  .syllable-pieces-v828{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fillword-grid-v828{gap:3px;padding:6px}
  .fillword-grid-v828 button{font-size:13px}
  .sudoku-board-v828{gap:2px;padding:4px}
  .sudoku-board-v828 button{font-size:14px}
  .sudoku-keypad-v828{gap:3px}
  .sudoku-keypad-v828 button{height:42px;font-size:14px}
  .paid-intro-summary-v828{grid-template-columns:1fr}
  .paid-intro-summary-v828 article{min-height:58px;display:grid;grid-template-columns:1fr auto;align-items:center}
}
@media(max-height:720px){
  .special-game-v828{padding-top:8px;gap:7px}
  .special-game-header-v828{min-height:54px}
  .special-status-v828,.sudoku-status-v828{min-height:62px;padding:11px}
  .sudoku-keypad-v828 button{height:40px}
  .special-game-footer-v828{display:none}
}

/* Words Buster 8.8.29 — one lightweight type scale, stable reactions and polished light theme. */
:root{--wb-radius-one:14px!important}
html,body,#app,#app *{font-synthesis:none!important}
#app,#app *{font-weight:400!important}
#app :is(h1,h2,h3,h4,h5,h6,strong,b,button,.primary-button,.secondary-button,[role="button"]){font-weight:450!important}
#app :is(p,span,small,label,input,textarea,select,option,em,time){font-weight:400!important}

/* Every visible UI surface uses the same radius. Avatars remain square with 14px corners. */
#app :where(button,article,section:not(.page):not(.game-page):not(.result-page),input,textarea,select,.card,.mode-card,.bottom-sheet,.toast,.avatar,.rank-avatar,.profile-avatar,.challenge-avatar-v84,.duel-avatar-v823,.duel-ingame-avatar-v823,[class*="avatar-v"],[class*="-card"],[class*="-chip"],[class*="-banner"]){border-radius:14px!important}
#app :where(.avatar,.rank-avatar,.profile-avatar,.challenge-avatar-v84,.context-avatar-v84,.duel-avatar-v823,.duel-ingame-avatar-v823,[class*="avatar-v"]){overflow:hidden!important;border-radius:14px!important}
#app :where(.avatar,.rank-avatar,.profile-avatar,.challenge-avatar-v84,.context-avatar-v84,.duel-avatar-v823,.duel-ingame-avatar-v823,[class*="avatar-v"]) img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:14px!important;background:#fff!important}

/* Paid mode cards use the supplied artwork as an actual background layer. */
.paid-mode-card-v829{isolation:isolate!important;background:#171922!important;min-height:210px!important}
.paid-mode-background-v829,.paid-mode-shade-v829{position:absolute!important;inset:0!important;border-radius:14px!important;pointer-events:none!important}
.paid-mode-background-v829{z-index:-3!important;background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;opacity:.92!important}
.paid-mode-shade-v829{z-index:-2!important;background:linear-gradient(180deg,rgba(7,9,14,.08),rgba(7,9,14,.34) 48%,rgba(7,9,14,.88))!important}
.paid-mode-card-v829:before{display:none!important}
.paid-mode-card-v829 .paid-mode-copy-v828,.paid-mode-card-v829 .paid-mode-art-v828,.paid-mode-card-v829 .paid-mode-cost-v828,.paid-mode-card-v829>i{position:relative!important;z-index:2!important}
.paid-mode-card-v829 .paid-mode-copy-v828 :is(h3,p,small),.paid-mode-card-v829>i{color:#fff!important}
.paid-mode-card-v829 .paid-mode-copy-v828 p{color:rgba(255,255,255,.78)!important}
.paid-mode-card-v829 .paid-mode-art-v828{background:rgba(10,14,18,.46)!important;backdrop-filter:blur(8px)!important}
.paid-mode-card-v829 .paid-mode-cost-v828{background:rgba(10,14,18,.58)!important;color:#fff!important;backdrop-filter:blur(8px)!important}

/* The reaction control is independent from the avatar and cannot shift it. */
.chain-score-v825,.duel-player-v823.you,.duel-ingame-v824{position:relative!important}
.chain-player-avatar-v825,.duel-avatar-reaction-v825,.duel-live-avatar-reaction-v825{position:static!important;display:inline-grid!important}
.chain-player-avatar-v825>.reaction-anchor-v825{position:absolute!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,20px)!important;z-index:12!important}
.duel-player-v823.you .reaction-anchor-v825{position:absolute!important;right:9px!important;top:9px!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:12!important}
.duel-ingame-v824 .reaction-anchor-v825{position:absolute!important;left:50%!important;bottom:5px!important;right:auto!important;top:auto!important;transform:translateX(-50%)!important;z-index:12!important}
.reaction-toggle-v825{width:38px!important;height:38px!important;min-width:38px!important;border:0!important;background:color-mix(in srgb,var(--accent) 18%,var(--surface-2))!important;color:var(--accent)!important}

/* Safe-area fixed reaction sheet: never rendered above the screen. */
.reaction-overlay-v829{position:fixed!important;inset:0!important;z-index:1000000!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:12px max(12px,env(safe-area-inset-right)) max(12px,calc(env(safe-area-inset-bottom) + 10px)) max(12px,env(safe-area-inset-left))!important;opacity:0!important;visibility:hidden!important;transition:opacity .16s ease,visibility .16s ease!important}
.reaction-overlay-v829.open{opacity:1!important;visibility:visible!important}
.reaction-overlay-backdrop-v829{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;background:rgba(4,6,10,.62)!important;backdrop-filter:blur(8px)!important}
.reaction-sheet-v829{position:relative!important;z-index:1!important;width:min(520px,100%)!important;max-height:min(76vh,560px)!important;overflow:auto!important;padding:14px!important;border:0!important;background:var(--bg-elevated)!important;color:var(--text)!important;box-shadow:none!important}
.reaction-sheet-v829>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}
.reaction-sheet-v829>header>span{font-size:15px!important;color:var(--text)!important}
.reaction-sheet-v829>header>button{width:38px!important;height:38px!important;border:0!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:24px!important;line-height:1!important}
.reaction-sheet-content-v829{display:grid!important;gap:8px!important}
.reaction-sheet-content-v829 .reaction-binary-v825{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
.reaction-sheet-content-v829 .reaction-binary-v825 button{min-height:58px!important;border:0!important;background:var(--surface-2)!important}
.reaction-sheet-content-v829 .reaction-binary-v825 svg{width:34px!important;height:34px!important}
.reaction-sheet-content-v829 .reaction-texts-v825{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
.reaction-sheet-content-v829 .reaction-texts-v825 button{min-height:48px!important;padding:10px 12px!important;border:0!important;background:var(--surface-2)!important;color:var(--text)!important;text-align:center!important;white-space:normal!important;font-size:12px!important;line-height:1.25!important}
.reaction-anchor-v825>.reaction-menu-v825{display:none!important}

/* One-shot reaction: one calm appearance, no looping or blinking. */
.reaction-pop-v829{position:absolute!important;left:50%!important;bottom:48px!important;transform:translateX(-50%)!important;z-index:40!important;display:flex!important;align-items:center!important;gap:9px!important;width:max-content!important;max-width:min(260px,72vw)!important;padding:9px 11px!important;border:0!important;background:var(--bg-elevated)!important;color:var(--text)!important;box-shadow:none!important;animation:v829ReactionLife var(--reaction-life,4200ms) ease forwards!important;pointer-events:none!important}
.reaction-pop-v829>span{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;flex:0 0 auto!important}
.reaction-pop-v829 svg{width:34px!important;height:34px!important}
.reaction-pop-v829 div{min-width:0!important}
.reaction-pop-v829 small,.reaction-pop-v829 strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.reaction-pop-v829 small{font-size:9px!important;color:var(--muted)!important}
.reaction-pop-v829 strong{font-size:12px!important;color:var(--text)!important}
@keyframes v829ReactionLife{0%{opacity:0;transform:translate(-50%,8px)}8%,82%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,-4px);visibility:hidden}}

/* Solo chain keyboard: larger, even, full-width and with no empty strip on the right. */
.chain-game-v826 .chain-keyboard-v826,.chain-game-v825 .chain-keyboard-v825{width:100%!important;margin:0!important;padding:10px!important;display:grid!important;gap:7px!important;background:var(--surface)!important}
.chain-game-v826 .chain-keyboard-v826 .key-row,.chain-game-v825 .chain-keyboard-v825 .key-row{display:flex!important;width:100%!important;justify-content:stretch!important;gap:6px!important}
.chain-game-v826 .chain-keyboard-v826 .key,.chain-game-v825 .chain-keyboard-v825 .key{flex:1 1 0!important;max-width:none!important;min-width:0!important;height:52px!important;min-height:52px!important;padding:0!important;border:0!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:15px!important;line-height:1!important}
.chain-game-v826 .chain-solo-compose-v825,.chain-game-v825 .chain-solo-compose-v825{grid-template-columns:50px minmax(0,1fr)!important;gap:8px!important;width:100%!important}
.chain-game-v826 .chain-solo-letter-v825,.chain-game-v825 .chain-solo-letter-v825{width:50px!important;min-height:58px!important;font-size:24px!important}
.chain-game-v826 .chain-selected,.chain-game-v825 .chain-selected{min-width:0!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;padding:0 14px!important;scrollbar-width:none!important}
.chain-game-v826 .chain-selected::-webkit-scrollbar,.chain-game-v825 .chain-selected::-webkit-scrollbar{display:none!important}
.chain-game-v826 .chain-actions-v825,.chain-game-v825 .chain-actions-v825{grid-template-columns:58px minmax(0,1fr) 58px!important;gap:8px!important;width:100%!important}
.chain-game-v826 .chain-actions-v825 .action-square,.chain-game-v825 .chain-actions-v825 .action-square{width:58px!important;height:58px!important;min-width:58px!important;border:0!important}

/* Long words remain fully legible, including their first letter and descenders. */
.chain-last-word-v825{overflow:visible!important}
.chain-last-word-v825>div{overflow:visible!important;padding:2px 0!important}
.chain-last-word-v825 strong,.chain-last-word-v826 strong{display:block!important;width:100%!important;min-width:0!important;padding:2px 1px 3px!important;line-height:1.16!important;white-space:normal!important;overflow:visible!important;word-break:break-word!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
.chain-compose-v888{min-height:58px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important}
.chain-compose-v888::-webkit-scrollbar{display:none!important}
.chain-compose-v888 strong{display:inline-block!important;min-width:max-content!important;padding:2px 0!important;line-height:1.2!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}

/* Light theme: clean white surfaces, no outlines, clearer hierarchy. */
:root[data-theme="light"]{
  --bg:#f5f6fa!important;--bg-elevated:#ffffff!important;--surface:#ffffff!important;--surface-2:#eef1f6!important;
  --text:#11141b!important;--text-soft:#626a79!important;--muted:#747c8b!important;--line:transparent!important;
}
:root[data-theme="light"] body,:root[data-theme="light"] #app,:root[data-theme="light"] .screen-root{background:#f5f6fa!important;color:#11141b!important}
:root[data-theme="light"] #app :where(button,article,input,textarea,select,.bottom-sheet,.nav-inner,.toast,[class*="-card"],[class*="-banner"],[class*="-sheet"]){border:0!important;outline:0!important;box-shadow:none!important}
:root[data-theme="light"] #app :where(.game-summary,.word-progress-v84,.selected-word,.chain-score-v825,.chain-last-word-v825,.chain-action-v825,.chain-move-v87,.chain-keyboard-v825,.chain-keyboard-v826,.shared-chain-keyboard-v888,.duel-player-v823,.duel-banner-v823,.duel-rules-v823,.notification-card-v824,.settings-row,.mission-card,.reward-card,.special-status-v828,.syllable-answer-v828,.fillword-grid-v828,.sudoku-board-v828){background:#fff!important;color:#11141b!important;border:0!important;box-shadow:none!important}
:root[data-theme="light"] #app :where(.key,.letter-tile,.action-square,.builder-tools button,.reaction-toggle-v825,.reaction-binary-v825 button,.reaction-texts-v825 button,.sudoku-number-pad-v828 button,.syllable-pieces-v828 button,.fillword-grid-v828 button){background:#edf0f5!important;color:#11141b!important;border:0!important;box-shadow:none!important}
:root[data-theme="light"] .chain-game-v826 .chain-keyboard-v826,:root[data-theme="light"] .chain-game-v825 .chain-keyboard-v825,:root[data-theme="light"] .shared-chain-keyboard-v888{background:#e9edf4!important;border:0!important}
:root[data-theme="light"] .reaction-sheet-v829{background:#fff!important;color:#11141b!important}
:root[data-theme="light"] .reaction-overlay-backdrop-v829{background:rgba(39,44,55,.32)!important}
:root[data-theme="light"] .reaction-pop-v829{background:#fff!important;color:#11141b!important}
:root[data-theme="light"] .paid-mode-card-v829{background:#fff!important}
:root[data-theme="light"] .paid-mode-shade-v829{background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(17,20,27,.12) 46%,rgba(17,20,27,.72))!important}
:root[data-theme="light"] :where(.plus-nudge,.plus-banner,.plus-banner-v7,.plus-card,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"]){background:linear-gradient(135deg,#eee7ff 0%,#f8f5ff 48%,#e6f5d7 100%)!important;color:#17132a!important;border:0!important;box-shadow:none!important}
:root[data-theme="light"] :where(.plus-nudge,.plus-banner,.plus-banner-v7,.plus-card,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"]) :where(h1,h2,h3,strong,b,span){color:#17132a!important}
:root[data-theme="light"] :where(.plus-nudge,.plus-banner,.plus-banner-v7,.plus-card,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"]) :where(p,small){color:#666077!important}

@media(max-width:430px){
  .reaction-sheet-content-v829 .reaction-texts-v825{grid-template-columns:1fr!important}
  .chain-game-v826 .chain-keyboard-v826 .key,.chain-game-v825 .chain-keyboard-v825 .key{height:48px!important;min-height:48px!important;font-size:14px!important}
}
@media(max-width:370px){
  .chain-game-v826 .chain-keyboard-v826 .key,.chain-game-v825 .chain-keyboard-v825 .key{height:44px!important;min-height:44px!important;font-size:12px!important}
  .chain-game-v826 .chain-keyboard-v826 .key-row,.chain-game-v825 .chain-keyboard-v825 .key-row{gap:4px!important}
}

/* 8.8.30 — puzzle usability and controls. */
.special-game-header-v828>button.special-xp-chip-v828{width:46px;height:46px;padding:0;border-radius:14px!important;background:linear-gradient(145deg,var(--violet),color-mix(in srgb,var(--violet) 64%,var(--accent)));color:#fff;display:grid;place-items:center}
.special-game-header-v828>button.special-xp-chip-v828 svg{width:21px;height:21px}
.special-info-v830{display:grid;gap:10px;padding-bottom:4px}
.special-info-icon-v830{width:70px;height:70px;border-radius:14px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 72%,var(--surface)),color-mix(in srgb,var(--accent) 15%,var(--surface)));color:var(--accent);display:grid;place-items:center}
.special-info-icon-v830 svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.special-info-v830 article{min-height:62px;padding:13px;border-radius:14px!important;background:var(--surface);display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:11px}
.special-info-v830 article>span{width:36px;height:36px;border-radius:14px!important;background:color-mix(in srgb,var(--accent) 13%,var(--surface-2));color:var(--accent);display:grid;place-items:center}
.special-info-v830 article svg{width:18px;height:18px}
.special-info-v830 article p{margin:0;color:var(--text-soft);font-size:11px;line-height:1.48}

.special-word-timer-v830{display:flex!important;grid-auto-flow:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:78px!important;font-variant-numeric:tabular-nums;color:var(--text)!important}
.special-word-timer-v830 svg{width:16px;height:16px;color:var(--accent)}
.special-word-timer-v830 b{font-size:13px;font-weight:500!important}

.special-utility-v830{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.special-utility-v830>button{position:relative;min-height:56px;padding:8px 12px;border-radius:14px!important;background:var(--surface);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--text-soft);font-size:10px}
.special-utility-v830>button svg{width:19px;height:19px}
.special-utility-v830>button:first-child{color:var(--text)}
.special-utility-v830>button:first-child svg{color:var(--accent)}
.special-utility-v830>button:last-child svg{color:var(--text-soft)}
.special-utility-v830>button b{min-width:22px;height:22px;padding:0 6px;border-radius:14px!important;background:var(--surface-2);display:grid;place-items:center;color:var(--accent);font-size:8px;font-weight:500!important}

.fillword-grid-v830{position:relative;overflow:hidden}
.fillword-grid-v830 .fillword-line-v830{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;z-index:3;pointer-events:none;overflow:visible}
.fillword-grid-v830 .fillword-line-v830 polyline{fill:none;stroke:color-mix(in srgb,var(--violet) 84%,#fff 8%);stroke-width:11;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.fillword-grid-v830 button{z-index:auto!important;touch-action:none;-webkit-user-select:none;user-select:none}
.fillword-grid-v830 button.selected{z-index:auto!important}
.fillword-grid-v830 button>span,.fillword-grid-v830 button>i{position:relative;z-index:4}

.sudoku-board-v830{--sudoku-divider:color-mix(in srgb,var(--violet) 54%,var(--text-soft));position:relative;isolation:isolate;padding:4px!important;gap:1px!important;background:color-mix(in srgb,var(--surface-3) 88%,var(--violet) 12%)!important;overflow:hidden}
.sudoku-board-v830::after{content:"";position:absolute;inset:4px;z-index:4;pointer-events:none;background:
  linear-gradient(to right,transparent calc(33.333% - 1.5px),var(--sudoku-divider) calc(33.333% - 1.5px),var(--sudoku-divider) calc(33.333% + 1.5px),transparent calc(33.333% + 1.5px)),
  linear-gradient(to right,transparent calc(66.666% - 1.5px),var(--sudoku-divider) calc(66.666% - 1.5px),var(--sudoku-divider) calc(66.666% + 1.5px),transparent calc(66.666% + 1.5px)),
  linear-gradient(to bottom,transparent calc(33.333% - 1.5px),var(--sudoku-divider) calc(33.333% - 1.5px),var(--sudoku-divider) calc(33.333% + 1.5px),transparent calc(33.333% + 1.5px)),
  linear-gradient(to bottom,transparent calc(66.666% - 1.5px),var(--sudoku-divider) calc(66.666% - 1.5px),var(--sudoku-divider) calc(66.666% + 1.5px),transparent calc(66.666% + 1.5px))}
.sudoku-board-v830 button{position:relative;z-index:2;border-radius:7px!important;box-shadow:none!important}
.sudoku-board-v830 button:nth-child(3n):not(:nth-child(9n)),
.sudoku-board-v830 button:nth-child(n+19):nth-child(-n+27),
.sudoku-board-v830 button:nth-child(n+46):nth-child(-n+54),
.sudoku-board-v830 button:nth-child(3n):not(:nth-child(9n)):nth-child(n+19):nth-child(-n+27),
.sudoku-board-v830 button:nth-child(3n):not(:nth-child(9n)):nth-child(n+46):nth-child(-n+54){box-shadow:none!important}
.sudoku-board-v830 button.hinted:not(.selected){background:color-mix(in srgb,var(--accent) 17%,var(--surface))!important;color:var(--accent)!important}

:root[data-theme="light"] .special-info-v830 article,
:root[data-theme="light"] .special-utility-v830>button{background:#fff!important}
:root[data-theme="light"] .sudoku-board-v830{--sudoku-divider:#7d7898;background:#dfe3eb!important}
:root[data-theme="light"] .fillword-grid-v830 .fillword-line-v830 polyline{stroke:color-mix(in srgb,var(--violet) 76%,#fff 12%)}

@media(max-width:390px){
  .special-game-header-v828>button.special-xp-chip-v828{width:42px;height:42px}
  .special-utility-v830>button{min-height:52px;padding:7px 9px}
  .sudoku-board-v830{padding:3px!important}
  .sudoku-board-v830::after{inset:3px}
  .sudoku-board-v830 button{border-radius:6px!important}
}
@media(max-height:720px){
  .special-utility-v830>button{min-height:50px}
}

/* Words Buster 8.8.31 — special history, readable banners and a distinct marathon screen. */

/* Paid mode artwork stays legible over the green/violet covers. */
.paid-mode-card-v829 .paid-mode-art-v828{
  color:#fff!important;
}
.paid-mode-card-v829 .paid-mode-art-v828 svg{
  color:#fff!important;
  stroke:#fff!important;
}

/* The channel description must not lose the first glyph on narrow iOS layouts. */
.channel-task-v85>div{
  min-width:0!important;
  overflow:visible!important;
  padding-left:2px!important;
}
.channel-task-v85 small{
  display:block!important;
  width:100%!important;
  margin-left:0!important;
  padding-left:1px!important;
  overflow:visible!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  text-overflow:clip!important;
}

/* Special modes in “Последние результаты”. */
.recent-special-v831{
  grid-template-columns:48px minmax(0,1fr) auto!important;
  min-height:76px!important;
  padding:12px 13px!important;
  gap:11px!important;
  text-align:left!important;
}
.recent-special-icon-v831{
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 78%,#161925),color-mix(in srgb,var(--accent) 38%,#161925))!important;
}
.recent-special-v831.fillwords .recent-special-icon-v831{
  background:linear-gradient(145deg,#4f3d96,#25374c)!important;
}
.recent-special-v831.sudoku .recent-special-icon-v831{
  background:linear-gradient(145deg,#2c3959,#243d34)!important;
}
.recent-special-icon-v831 svg{
  width:25px!important;
  height:25px!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.recent-special-v831>div{
  min-width:0!important;
}
.recent-special-v831>div strong,
.recent-special-v831>div small{
  display:block!important;
}
.recent-special-v831>div strong{
  color:var(--text)!important;
  font-size:14px!important;
  line-height:1.25!important;
}
.recent-special-v831>div small{
  margin-top:4px!important;
  color:var(--muted)!important;
  font-size:10px!important;
  line-height:1.4!important;
  white-space:normal!important;
}
.recent-special-score-v831{
  min-width:62px!important;
  display:grid!important;
  grid-template-columns:1fr 16px!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  justify-items:end!important;
  column-gap:6px!important;
  font-style:normal!important;
}
.recent-special-score-v831 b{
  color:var(--text)!important;
  font-size:13px!important;
  font-weight:500!important;
  font-variant-numeric:tabular-nums!important;
}
.recent-special-score-v831 small{
  grid-column:1!important;
  color:var(--muted)!important;
  font-size:8px!important;
  line-height:1.2!important;
}
.recent-special-score-v831 svg{
  grid-column:2!important;
  grid-row:1/3!important;
  width:16px!important;
  height:16px!important;
  color:var(--muted)!important;
}

.special-history-v831{
  display:grid!important;
  gap:10px!important;
  padding:0 0 4px!important;
}
.special-history-summary-v831{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.special-history-v831.sudoku .special-history-summary-v831{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.special-history-summary-v831>article{
  min-width:0!important;
  min-height:72px!important;
  padding:11px!important;
  border-radius:14px!important;
  background:var(--surface)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:7px!important;
}
.special-history-summary-v831 strong{
  color:var(--text)!important;
  font-size:14px!important;
  line-height:1.2!important;
  overflow-wrap:anywhere!important;
}
.special-history-summary-v831 span{
  color:var(--muted)!important;
  font-size:9px!important;
  line-height:1.3!important;
}
.special-history-words-v831,
.special-history-sudoku-v831{
  padding:13px!important;
  border-radius:14px!important;
  background:var(--surface)!important;
}
.special-history-words-v831>header,
.special-history-sudoku-v831>header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:11px!important;
}
.special-history-words-v831 h3,
.special-history-sudoku-v831 h3{
  margin:0!important;
  color:var(--text)!important;
  font-size:14px!important;
  font-weight:500!important;
}
.special-history-words-v831>header>span,
.special-history-sudoku-v831>header>span{
  color:var(--accent)!important;
  font-size:9px!important;
  white-space:nowrap!important;
}
.special-history-words-v831>div{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
.special-history-words-v831>div>span{
  min-height:31px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--accent) 12%,var(--surface-2))!important;
  color:var(--text)!important;
  font-size:9px!important;
  letter-spacing:.02em!important;
}
.special-history-words-v831.muted>div>span{
  background:var(--surface-2)!important;
  color:var(--muted)!important;
  letter-spacing:.14em!important;
}
.special-history-words-v831 p{
  margin:0!important;
  color:var(--muted)!important;
  font-size:10px!important;
}
.special-history-sudoku-v831>div{
  --history-sudoku-divider:color-mix(in srgb,var(--violet) 57%,var(--text-soft));
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  gap:1px!important;
  width:100%!important;
  padding:4px!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:color-mix(in srgb,var(--surface-3) 86%,var(--violet) 14%)!important;
}
.special-history-sudoku-v831>div::after{
  content:"";
  position:absolute!important;
  inset:4px!important;
  z-index:4!important;
  pointer-events:none!important;
  background:
    linear-gradient(to right,transparent calc(33.333% - 1.25px),var(--history-sudoku-divider) calc(33.333% - 1.25px),var(--history-sudoku-divider) calc(33.333% + 1.25px),transparent calc(33.333% + 1.25px)),
    linear-gradient(to right,transparent calc(66.666% - 1.25px),var(--history-sudoku-divider) calc(66.666% - 1.25px),var(--history-sudoku-divider) calc(66.666% + 1.25px),transparent calc(66.666% + 1.25px)),
    linear-gradient(to bottom,transparent calc(33.333% - 1.25px),var(--history-sudoku-divider) calc(33.333% - 1.25px),var(--history-sudoku-divider) calc(33.333% + 1.25px),transparent calc(33.333% + 1.25px)),
    linear-gradient(to bottom,transparent calc(66.666% - 1.25px),var(--history-sudoku-divider) calc(66.666% - 1.25px),var(--history-sudoku-divider) calc(66.666% + 1.25px),transparent calc(66.666% + 1.25px));
}
.special-history-sudoku-v831>div>span{
  position:relative!important;
  z-index:2!important;
  aspect-ratio:1!important;
  min-width:0!important;
  border-radius:5px!important;
  background:var(--surface-2)!important;
  color:var(--text)!important;
  display:grid!important;
  place-items:center!important;
  font-size:clamp(8px,2.6vw,12px)!important;
  font-variant-numeric:tabular-nums!important;
}
.special-history-sudoku-v831>div>span.given{
  background:color-mix(in srgb,var(--violet) 14%,var(--surface-2))!important;
  color:var(--text)!important;
  font-weight:600!important;
}

/* Marathon has its own hierarchy instead of repeating the mode description. */
.marathon-game-v831{
  gap:10px!important;
}
.marathon-hero-v831{
  position:relative!important;
  isolation:isolate!important;
  min-height:154px!important;
  padding:18px!important;
  border-radius:14px!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
  background:
    radial-gradient(circle at 10% 18%,color-mix(in srgb,var(--violet) 22%,transparent) 0,transparent 38%),
    radial-gradient(circle at 90% 88%,color-mix(in srgb,var(--accent) 15%,transparent) 0,transparent 36%),
    linear-gradient(135deg,color-mix(in srgb,var(--violet) 15%,var(--surface)),color-mix(in srgb,var(--accent) 7%,var(--surface)))!important;
}
.marathon-hero-v831::before{
  content:"";
  position:absolute!important;
  right:-44px!important;
  bottom:-58px!important;
  width:174px!important;
  height:174px!important;
  border-radius:50%!important;
  background:color-mix(in srgb,var(--violet) 11%,transparent)!important;
  z-index:-1!important;
}
.marathon-hero-v831>div{
  min-width:0!important;
}
.marathon-hero-v831>div>small{
  display:block!important;
  margin-bottom:7px!important;
  color:var(--accent)!important;
  font-size:9px!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.marathon-hero-v831>div>strong{
  display:block!important;
  max-width:390px!important;
  color:var(--text)!important;
  font-size:clamp(18px,4.8vw,24px)!important;
  line-height:1.16!important;
  letter-spacing:-.025em!important;
}
.marathon-hero-v831>div>p{
  max-width:440px!important;
  margin:9px 0 0!important;
  color:var(--text-soft)!important;
  font-size:10px!important;
  line-height:1.5!important;
}
.marathon-hero-v831>div>div{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:13px!important;
}
.marathon-hero-v831>div>div>span{
  min-height:27px!important;
  padding:7px 9px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.06)!important;
  color:var(--text-soft)!important;
  font-size:8px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.marathon-hero-v831 .game-timer-v84{
  min-width:104px!important;
  min-height:82px!important;
  padding:11px!important;
  border-radius:14px!important;
  background:color-mix(in srgb,var(--bg-elevated) 78%,var(--violet) 12%)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
}
.marathon-hero-v831 .game-timer-v84 small{
  color:var(--muted)!important;
  font-size:8px!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
.marathon-hero-v831 .game-timer-v84 b{
  color:var(--text)!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:400!important;
  font-variant-numeric:tabular-nums!important;
}
.marathon-game-v831 .marathon-compose-v826{
  min-height:76px!important;
  padding:17px!important;
  border-radius:14px!important;
}
.marathon-game-v831 .marathon-tools-v826{
  margin-top:0!important;
}

/* Explicit light-theme contrast for the home Plus banner. */
:root[data-theme="light"] .plus-card-v7{
  background:linear-gradient(120deg,#d8ceff 0%,#eeeaff 48%,#cfe8b9 100%)!important;
  color:#181328!important;
}
:root[data-theme="light"] .plus-card-v7>span{
  background:rgba(87,61,180,.17)!important;
  color:#5d42ca!important;
}
:root[data-theme="light"] .plus-card-v7>span svg{
  color:#5d42ca!important;
  stroke:currentColor!important;
}
:root[data-theme="light"] .plus-card-v7 strong{
  color:#181328!important;
}
:root[data-theme="light"] .plus-card-v7 small{
  color:#555b68!important;
}
:root[data-theme="light"] .plus-card-v7>b{
  color:#4e7a25!important;
}
:root[data-theme="light"] .recent-special-v831,
:root[data-theme="light"] .special-history-summary-v831>article,
:root[data-theme="light"] .special-history-words-v831,
:root[data-theme="light"] .special-history-sudoku-v831{
  background:#fff!important;
}
:root[data-theme="light"] .special-history-sudoku-v831>div{
  --history-sudoku-divider:#77718e;
  background:#dfe3eb!important;
}
:root[data-theme="light"] .special-history-sudoku-v831>div>span{
  background:#f1f3f7!important;
}
:root[data-theme="light"] .special-history-sudoku-v831>div>span.given{
  background:#e8e3f8!important;
}
:root[data-theme="light"] .marathon-hero-v831{
  background:
    radial-gradient(circle at 10% 18%,rgba(113,85,255,.13) 0,transparent 38%),
    radial-gradient(circle at 90% 88%,rgba(156,255,61,.15) 0,transparent 36%),
    linear-gradient(135deg,#ece8ff,#f8f9fc 58%,#eaf4df)!important;
}
:root[data-theme="light"] .marathon-hero-v831>div>div>span{
  background:rgba(56,48,91,.07)!important;
  color:#4f5664!important;
}
:root[data-theme="light"] .marathon-hero-v831 .game-timer-v84{
  background:rgba(255,255,255,.8)!important;
}

@media(max-width:430px){
  .recent-special-v831{grid-template-columns:44px minmax(0,1fr) auto!important;padding:11px!important}
  .recent-special-icon-v831{width:44px!important;height:44px!important}
  .recent-special-score-v831{min-width:54px!important}
  .special-history-summary-v831{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .special-history-v831.syllables .special-history-summary-v831>article:last-child,
  .special-history-v831.fillwords .special-history-summary-v831>article:last-child{grid-column:1/-1!important}
  .marathon-hero-v831{grid-template-columns:1fr!important;align-items:start!important;min-height:0!important;padding:16px!important}
  .marathon-hero-v831 .game-timer-v84{justify-self:start!important;min-width:112px!important;min-height:66px!important;flex-direction:row!important;gap:8px!important}
  .marathon-hero-v831 .game-timer-v84 b{font-size:22px!important}
}

@media(max-width:360px){
  .recent-special-score-v831 small{display:none!important}
  .special-history-summary-v831{grid-template-columns:1fr!important}
  .special-history-v831.syllables .special-history-summary-v831>article:last-child,
  .special-history-v831.fillwords .special-history-summary-v831>article:last-child{grid-column:auto!important}
}


/* Words Buster 8.8.32 — chain alignment, readable shared keyboard and tournament contrast. */
.shared-chain-sheet-v888 .sheet-head{margin-bottom:12px!important}
.shared-chain-sheet-v888 .sheet-head h2{
  max-width:calc(100% - 54px)!important;
  font-size:clamp(25px,6vw,32px)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  font-weight:400!important;
}
.shared-chain-sheet-v888 :is(h1,h2,h3,h4,strong,b,button,small,span,p,time),
.chain-game-v826 :is(h1,h2,h3,h4,strong,b,button,small,span,p,time){font-weight:400!important}

.chain-score-v832{
  min-height:150px!important;
  padding:15px!important;
  margin:0 0 10px!important;
  grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important;
  gap:8px!important;
  background:var(--surface)!important;
}
.chain-score-v832>div{gap:6px!important}
.chain-score-v832>div>strong{font-size:31px!important;line-height:1!important;font-weight:400!important}
.chain-score-v832>div>span{font-size:11px!important;color:var(--muted)!important}
.chain-score-v832 .challenge-avatar-v84{width:52px!important;height:52px!important}
.chain-score-v832 .chain-score-center-v825>b{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;background:color-mix(in srgb,var(--accent) 13%,var(--surface-2))!important;color:var(--accent)!important}
.chain-score-v832 .chain-score-center-v825 svg{width:20px!important;height:20px!important}

.chain-last-word-v832{
  min-height:78px!important;
  padding:14px 16px!important;
  margin:0 0 10px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 13%,var(--surface)),color-mix(in srgb,var(--accent) 6%,var(--surface)))!important;
}
.chain-last-word-v832 span{font-size:9px!important;letter-spacing:.15em!important;color:var(--muted)!important}
.chain-last-word-v832 strong{margin-top:7px!important;font-size:20px!important;line-height:1.22!important;font-weight:400!important}
.chain-last-word-v832>b{min-width:68px!important;padding:10px 11px!important;font-size:14px!important;font-weight:400!important;background:color-mix(in srgb,var(--surface-2) 88%,transparent)!important}

.chain-action-v832{
  padding:14px!important;
  margin:0!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 7%,var(--surface)),color-mix(in srgb,var(--violet) 5%,var(--surface)))!important;
}
.chain-action-v832>header{margin:0 0 11px!important;gap:10px!important;align-items:center!important}
.chain-action-v832>header small{font-size:9px!important;letter-spacing:.15em!important;font-weight:400!important;color:var(--accent)!important}
.chain-action-v832>header strong{margin-top:5px!important;font-size:17px!important;line-height:1.28!important;font-weight:400!important}
.chain-clock-v832{min-width:90px!important;padding:9px 10px!important;background:var(--surface-2)!important}
.chain-clock-v832 small{font-size:8px!important;letter-spacing:.13em!important}
.chain-clock-v832 b{font-size:20px!important;font-weight:400!important;font-variant-numeric:tabular-nums!important}

.chain-turn-form-v832{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:stretch!important;
  margin:0!important;
}
.chain-turn-form-v832 .chain-required-letter-v819{
  width:52px!important;
  min-width:52px!important;
  min-height:58px!important;
  height:58px!important;
  font-size:24px!important;
  font-weight:400!important;
}
.chain-compose-wrap-v832{
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  height:58px!important;
  max-height:58px!important;
  background:var(--surface-2)!important;
  overflow:hidden!important;
}
.chain-compose-v832{
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  height:58px!important;
  max-height:58px!important;
  padding:0 15px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  text-align:left!important;
}
.chain-compose-v832 strong{
  display:inline-block!important;
  width:auto!important;
  min-width:max-content!important;
  line-height:1.2!important;
  font-size:18px!important;
  font-weight:400!important;
  letter-spacing:.01em!important;
}
.chain-compose-v832 span{font-size:12px!important;line-height:1.3!important;color:var(--muted)!important;white-space:nowrap!important}
.chain-turn-form-v832>.primary-button{
  grid-column:1/-1!important;
  min-height:52px!important;
  height:52px!important;
  padding:0 16px!important;
  font-size:15px!important;
  font-weight:400!important;
}

.shared-chain-keyboard-v888{
  width:100%!important;
  margin:9px 0 0!important;
  padding:10px!important;
  display:grid!important;
  gap:7px!important;
  background:var(--surface)!important;
}
.shared-chain-keyboard-v888 .key-row{
  display:flex!important;
  width:100%!important;
  gap:6px!important;
  justify-content:stretch!important;
}
.shared-chain-keyboard-v888 .key{
  flex:1 1 0!important;
  min-width:0!important;
  max-width:none!important;
  height:49px!important;
  min-height:49px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  background:var(--surface-2)!important;
  color:var(--text)!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:400!important;
}
.shared-chain-keyboard-v888 .key-wide{flex:0 0 42px!important;min-width:42px!important}
.shared-chain-keyboard-v888 .key svg{width:18px!important;height:18px!important}
.chain-noun-rule-v825{margin:10px 4px 0!important;font-size:10px!important;line-height:1.45!important;text-align:center!important;color:var(--muted)!important}
.chain-surrender-v812{min-height:52px!important;font-size:15px!important;font-weight:400!important}
.chain-moves-v832>header h3{font-size:18px!important;font-weight:400!important}
.chain-move-v832 strong,.chain-move-v832 b{font-weight:400!important}

/* Solo chain: precise action controls and the same calm typography. */
.chain-game-v826 .chain-solo-status-v825 strong{font-size:19px!important;line-height:1.25!important;font-weight:400!important}
.chain-game-v826 .chain-solo-status-v825 small{font-weight:400!important}
.chain-game-v826 .chain-keyboard-v826 .key{font-weight:400!important}
.chain-game-v826 .chain-actions-v825{
  grid-template-columns:58px minmax(0,1fr) 58px!important;
  gap:8px!important;
  align-items:stretch!important;
}
.chain-game-v826 .chain-actions-v825>button{
  width:100%!important;
  min-width:0!important;
  height:58px!important;
  min-height:58px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
}
.chain-game-v826 .chain-actions-v825>[data-chain-clear]{font-size:27px!important;line-height:1!important}
.chain-game-v826 .chain-actions-v825>[data-chain-back]{line-height:0!important}
.chain-game-v826 .chain-actions-v825>[data-chain-back] svg{width:22px!important;height:22px!important;display:block!important}
.chain-game-v826 .chain-actions-v825>[data-chain-submit]{font-size:16px!important;font-weight:400!important}
.chain-game-v826 .chain-tools-v825 button{font-weight:400!important}
.chain-game-v826 .section-heading h2{font-weight:400!important}

/* Marathon history never renders the whole dictionary. */
.marathon-history-v832{display:grid!important;gap:10px!important}
.marathon-history-summary-v832{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.marathon-history-summary-v832>div{min-width:0!important;padding:13px!important;background:var(--surface)!important;text-align:left!important}
.marathon-history-summary-v832 strong{display:block!important;font-size:18px!important;line-height:1.1!important;font-weight:400!important;color:var(--text)!important}
.marathon-history-summary-v832 span{display:block!important;margin-top:5px!important;font-size:9px!important;line-height:1.35!important;color:var(--muted)!important}
.marathon-history-words-v832{padding:14px!important;background:var(--surface)!important}
.marathon-history-words-v832>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:11px!important}
.marathon-history-words-v832 h3{margin:0!important;font-size:16px!important;font-weight:400!important;color:var(--text)!important}
.marathon-history-words-v832>header>span{font-size:11px!important;color:var(--accent)!important}
.marathon-history-words-v832>div{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
.marathon-history-words-v832>div>span{min-height:33px!important;padding:8px 11px!important;background:color-mix(in srgb,var(--accent) 11%,var(--surface-2))!important;color:var(--text)!important;font-size:10px!important;font-weight:400!important}
.marathon-history-words-v832 p{margin:0!important;color:var(--muted)!important}
.marathon-history-note-v832{margin:0!important;padding:12px 14px!important;background:color-mix(in srgb,var(--violet) 8%,var(--surface))!important;color:var(--text-soft)!important;font-size:10px!important;line-height:1.5!important}

/* Tournament countdowns remain legible in the light theme. */
:root[data-theme="light"] .tournament-event-head-v821 time,
:root[data-theme="light"] .tournament-time-v88,
:root[data-theme="light"] .tournament-card-v83 header b,
:root[data-theme="light"] .tournament-card-v85 header b,
:root[data-theme="light"] [data-tournament-countdown],
:root[data-theme="light"] [class*="tournament"] time{
  background:#e7ebf2!important;
  color:#11141b!important;
  opacity:1!important;
  -webkit-text-fill-color:#11141b!important;
}
:root[data-theme="light"] .tournament-event-head-v821 time *,
:root[data-theme="light"] .tournament-time-v88 *{color:#11141b!important;-webkit-text-fill-color:#11141b!important}

:root[data-theme="light"] .chain-action-v832,
:root[data-theme="light"] .chain-last-word-v832{background:#fff!important}
:root[data-theme="light"] .chain-compose-wrap-v832,
:root[data-theme="light"] .chain-clock-v832{background:#edf0f5!important;color:#11141b!important}
:root[data-theme="light"] .marathon-history-summary-v832>div,
:root[data-theme="light"] .marathon-history-words-v832{background:#fff!important}
:root[data-theme="light"] .marathon-history-note-v832{background:#eeeaff!important;color:#555d6d!important}

@media(max-width:380px){
  .shared-chain-sheet-v888 .sheet-head h2{font-size:24px!important}
  .chain-score-v832{min-height:138px!important;padding:12px!important}
  .chain-score-v832>div>strong{font-size:27px!important}
  .shared-chain-keyboard-v888{padding:8px!important;gap:6px!important}
  .shared-chain-keyboard-v888 .key-row{gap:4px!important}
  .shared-chain-keyboard-v888 .key{height:46px!important;min-height:46px!important;font-size:11px!important}
  .shared-chain-keyboard-v888 .key-wide{flex-basis:38px!important;min-width:38px!important}
  .marathon-history-summary-v832{grid-template-columns:1fr!important}
}

/* Words Buster 8.8.33 — unambiguous Daily Word answer feedback. */
.daily-game-v86 .word-cell.correct,
.daily-game-v86 .word-cell.present,
.daily-game-v86 .key.correct,
.daily-game-v86 .key.present{
  background:#679f28!important;
  border-color:#679f28!important;
  color:#fff!important;
  opacity:1!important;
  -webkit-text-fill-color:#fff!important;
}
.daily-game-v86 .word-cell.present,
.daily-game-v86 .key.present{
  box-shadow:inset 0 -4px 0 #7155ff!important;
}
.daily-game-v86 .word-cell.absent,
.daily-game-v86 .key.absent{
  background:#3b404b!important;
  border-color:#3b404b!important;
  color:#fff!important;
  opacity:1!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .daily-game-v86 .word-cell.correct,
:root[data-theme="light"] .daily-game-v86 .word-cell.present,
:root[data-theme="light"] .daily-game-v86 .key.correct,
:root[data-theme="light"] .daily-game-v86 .key.present{
  background:#5f9424!important;
  border-color:#5f9424!important;
  color:#fff!important;
  opacity:1!important;
  -webkit-text-fill-color:#fff!important;
}
:root[data-theme="light"] .daily-game-v86 .word-cell.absent,
:root[data-theme="light"] .daily-game-v86 .key.absent{
  background:#737d8b!important;
  border-color:#737d8b!important;
  color:#fff!important;
  opacity:1!important;
  -webkit-text-fill-color:#fff!important;
}

/* Words Buster 8.8.34 — polished Sudoku, stable artwork and Expert pangrams. */
:root,
:root[data-theme="light"],
:root[data-theme="dark"]{
  --wb-banner-v834:linear-gradient(128deg,#302558 0%,#25283a 52%,#263b27 100%);
  --wb-banner-soft-v834:rgba(255,255,255,.68);
}

/* Mode artwork is a real image layer, so it cannot disappear when theme rules
   rewrite the card background during repainting in Telegram WebView. */
#app .mode-card-v84.mode-card-image-v834{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:#171a2b!important;
  background-image:linear-gradient(135deg,#253e24 0%,#34295d 100%)!important;
  color:#fff!important;
  contain:paint;
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
  backface-visibility:hidden;
}
#app .mode-card-v84.mode-card-image-v834::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(5,8,18,.06) 0%,rgba(5,8,18,.30) 42%,rgba(5,8,18,.82) 100%)!important;
}
#app .mode-card-v84.mode-card-image-v834>.mode-card-media-v834{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  opacity:1!important;
  pointer-events:none!important;
  user-select:none!important;
  transition:none!important;
  animation:none!important;
  -webkit-transform:translateZ(0) scale(1.002);
  transform:translateZ(0) scale(1.002);
  backface-visibility:hidden;
}
#app .mode-card-v84.mode-card-image-v834>span,
#app .mode-card-v84.mode-card-image-v834>em,
#app .mode-card-v84.mode-card-image-v834>strong,
#app .mode-card-v84.mode-card-image-v834>small,
#app .mode-card-v84.mode-card-image-v834>svg{
  position:relative!important;
  z-index:2!important;
}
:root[data-theme="light"] #app .mode-card-v84.mode-card-image-v834,
:root[data-theme="dark"] #app .mode-card-v84.mode-card-image-v834{
  background:#171a2b!important;
  background-image:linear-gradient(135deg,#253e24 0%,#34295d 100%)!important;
  color:#fff!important;
  box-shadow:none!important;
}

/* Branded banners retain exactly the same palette in both themes. */
:root #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834),
:root[data-theme="light"] #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834),
:root[data-theme="dark"] #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834){
  background:var(--wb-banner-v834)!important;
  color:#fff!important;
  box-shadow:none!important;
}
:root #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834) :where(h1,h2,h3,strong,b,span),
:root[data-theme="light"] #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834) :where(h1,h2,h3,strong,b,span),
:root[data-theme="dark"] #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834) :where(h1,h2,h3,strong,b,span){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
:root #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834) :where(p,small),
:root[data-theme="light"] #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834) :where(p,small),
:root[data-theme="dark"] #app :where(.play-banner-v83,.plus-card-v7,.plus-card,.plus-nudge,.plus-banner,.plus-banner-v6,.plus-banner-v7,.premium-nudge,.home-plus-v84,[class*="plus-nudge"],[class*="plus-banner"],.marathon-hero-v831,.master-pangram-intro-v834) :where(p,small){
  color:var(--wb-banner-soft-v834)!important;
  -webkit-text-fill-color:var(--wb-banner-soft-v834)!important;
}

/* Sudoku: one precise 9×9 instrument instead of 81 unrelated rounded cards. */
.sudoku-game-v834{gap:12px!important}
.sudoku-shell-v834{
  width:min(100%,560px)!important;
  margin:0 auto!important;
  padding:7px!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,#5d4ca2 0%,#3d365f 52%,#313448 100%)!important;
}
#app .sudoku-board-v828.sudoku-board-v834{
  --sudoku-major-v834:#7661c5;
  width:100%!important;
  aspect-ratio:1!important;
  margin:0!important;
  padding:0!important;
  gap:2px!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#3a3d50!important;
  background-image:none!important;
  display:grid!important;
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  box-shadow:none!important;
}
#app .sudoku-board-v828.sudoku-board-v834::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:7!important;
  pointer-events:none!important;
  border-radius:8px!important;
  background:
    linear-gradient(to right,transparent calc(33.333% - 1.5px),var(--sudoku-major-v834) calc(33.333% - 1.5px),var(--sudoku-major-v834) calc(33.333% + 1.5px),transparent calc(33.333% + 1.5px)),
    linear-gradient(to right,transparent calc(66.666% - 1.5px),var(--sudoku-major-v834) calc(66.666% - 1.5px),var(--sudoku-major-v834) calc(66.666% + 1.5px),transparent calc(66.666% + 1.5px)),
    linear-gradient(to bottom,transparent calc(33.333% - 1.5px),var(--sudoku-major-v834) calc(33.333% - 1.5px),var(--sudoku-major-v834) calc(33.333% + 1.5px),transparent calc(33.333% + 1.5px)),
    linear-gradient(to bottom,transparent calc(66.666% - 1.5px),var(--sudoku-major-v834) calc(66.666% - 1.5px),var(--sudoku-major-v834) calc(66.666% + 1.5px),transparent calc(66.666% + 1.5px))!important;
}
#app .sudoku-board-v828.sudoku-board-v834>button{
  position:relative!important;
  z-index:2!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:1!important;
  padding:0!important;
  border:0!important;
  border-radius:3px!important;
  background:#171a22!important;
  color:#d5d8e2!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
  font-size:clamp(15px,4.4vw,24px)!important;
  font-weight:400!important;
  font-variant-numeric:tabular-nums!important;
  transition:none!important;
}
#app .sudoku-board-v828.sudoku-board-v834>button.given{
  background:#2b2d42!important;
  color:#fff!important;
  font-weight:500!important;
}
#app .sudoku-board-v828.sudoku-board-v834>button.entered:not(.given){color:#b8a8ff!important}
#app .sudoku-board-v828.sudoku-board-v834>button.related:not(.selected):not(.same){background:#202331!important}
#app .sudoku-board-v828.sudoku-board-v834>button.same:not(.selected){background:#35305a!important;color:#d9d0ff!important}
#app .sudoku-board-v828.sudoku-board-v834>button.hinted:not(.selected){background:#263e2b!important;color:#a6ff52!important}
#app .sudoku-board-v828.sudoku-board-v834>button.error:not(.selected){background:#472832!important;color:#ff8aa4!important}
#app .sudoku-board-v828.sudoku-board-v834>button.selected{
  z-index:6!important;
  background:#a1ff38!important;
  color:#10150b!important;
  font-weight:600!important;
}
#app .sudoku-keypad-v828.sudoku-keypad-v834{
  width:min(100%,560px)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  gap:6px!important;
}
#app .sudoku-keypad-v828.sudoku-keypad-v834>button{
  position:relative!important;
  height:54px!important;
  min-width:0!important;
  padding:0!important;
  border-radius:8px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
  font-size:18px!important;
  font-weight:400!important;
}
#app .sudoku-keypad-v828.sudoku-keypad-v834>button>i{
  position:absolute!important;
  right:5px!important;
  top:4px!important;
  color:var(--muted)!important;
  font-size:7px!important;
  font-style:normal!important;
}
#app .sudoku-keypad-v828.sudoku-keypad-v834>button.active{background:color-mix(in srgb,var(--violet) 22%,var(--surface))!important;color:var(--text)!important}
#app .sudoku-keypad-v828.sudoku-keypad-v834>button.complete{opacity:.32!important}
#app .sudoku-actions-v828.sudoku-actions-v834{width:min(100%,560px)!important;margin:0 auto!important;gap:8px!important}
#app .sudoku-actions-v828.sudoku-actions-v834>button{border-radius:8px!important;box-shadow:none!important}

:root[data-theme="light"] #app .sudoku-shell-v834{
  background:linear-gradient(145deg,#7562bd 0%,#bbb4dc 48%,#d8dbe5 100%)!important;
}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834{
  --sudoku-major-v834:#7766ad;
  background:#c7cbd5!important;
  color:#11141b!important;
}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button{
  background:#f7f8fb!important;
  color:#434858!important;
  box-shadow:none!important;
}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button.given{background:#e7e4f2!important;color:#17141f!important}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button.entered:not(.given){color:#624bb7!important}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button.related:not(.selected):not(.same){background:#eef0f5!important}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button.same:not(.selected){background:#ded8f4!important;color:#4a378b!important}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button.hinted:not(.selected){background:#e2f2d7!important;color:#4d7f20!important}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button.error:not(.selected){background:#f7dfe6!important;color:#a23855!important}
:root[data-theme="light"] #app .sudoku-board-v828.sudoku-board-v834>button.selected{background:#8fd52e!important;color:#11170b!important}
:root[data-theme="light"] #app .sudoku-keypad-v828.sudoku-keypad-v834>button{background:#fff!important;color:#171a22!important;box-shadow:none!important}

/* Expert pangram — a purpose-built radial interaction with drag selection. */
.master-pangram-game-v834{gap:12px!important}
.master-pangram-intro-v834{
  min-height:132px!important;
  padding:18px!important;
  border-radius:12px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 58px!important;
  gap:14px!important;
  align-items:center!important;
  overflow:hidden!important;
}
.master-pangram-intro-v834>div{min-width:0!important}
.master-pangram-intro-v834 small{display:block!important;margin-bottom:8px!important;font-size:9px!important;letter-spacing:.20em!important;font-weight:500!important}
.master-pangram-intro-v834 strong{display:block!important;font-size:22px!important;line-height:1.08!important;font-weight:500!important;letter-spacing:-.025em!important}
.master-pangram-intro-v834 p{max-width:480px!important;margin:9px 0 0!important;font-size:11px!important;line-height:1.5!important}
.master-pangram-intro-v834>span{
  width:58px!important;
  height:58px!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#a2ff3c,#7155ff)!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  font-size:19px!important;
  font-weight:500!important;
}
.master-pangram-hint-v834{
  padding:12px 14px!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--violet) 12%,var(--surface))!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
}
.master-pangram-hint-v834>span{width:36px!important;height:36px!important;border-radius:8px!important;background:color-mix(in srgb,var(--violet) 18%,var(--surface-2))!important;color:var(--violet)!important;display:grid!important;place-items:center!important}
.master-pangram-hint-v834 svg{width:18px!important;height:18px!important}
.master-pangram-hint-v834 small,.master-pangram-hint-v834 strong{display:block!important}
.master-pangram-hint-v834 small{color:var(--muted)!important;font-size:9px!important}
.master-pangram-hint-v834 strong{margin-top:3px!important;color:var(--text)!important;font-size:18px!important;font-weight:500!important;letter-spacing:.12em!important}
.master-pangram-answer-v834{
  min-height:96px!important;
  padding:14px!important;
  border-radius:12px!important;
  background:var(--surface)!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:7px!important;
  text-align:center!important;
}
.master-pangram-answer-v834 small{color:var(--muted)!important;font-size:10px!important;font-weight:400!important}
.master-pangram-answer-v834 strong{max-width:100%!important;color:var(--text)!important;font-size:clamp(22px,7vw,34px)!important;line-height:1!important;font-weight:400!important;letter-spacing:.05em!important;overflow-wrap:anywhere!important}
.master-pangram-board-v834{
  position:relative!important;
  isolation:isolate!important;
  width:min(100%,390px)!important;
  aspect-ratio:1!important;
  margin:0 auto!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at 50% 50%,rgba(156,255,61,.12) 0 17%,transparent 18%),
    radial-gradient(circle at 50% 50%,rgba(113,85,255,.12) 0 58%,rgba(113,85,255,.03) 59% 100%),
    var(--surface)!important;
  overflow:hidden!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.master-pangram-board-v834::before{
  content:""!important;
  position:absolute!important;
  inset:11%!important;
  z-index:0!important;
  border-radius:50%!important;
  background:repeating-conic-gradient(from -90deg,rgba(255,255,255,.035) 0deg 1deg,transparent 1deg 30deg)!important;
  pointer-events:none!important;
}
.master-pangram-board-v834>svg{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.master-pangram-board-v834>svg polyline{
  fill:none!important;
  stroke:#9cff3d!important;
  stroke-width:2.3!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
  opacity:.92!important;
}
.master-pangram-letter-v834{
  position:absolute!important;
  left:calc(var(--pangram-x) * 1%)!important;
  top:calc(var(--pangram-y) * 1%)!important;
  z-index:3!important;
  width:clamp(48px,14.5vw,62px)!important;
  height:clamp(48px,14.5vw,62px)!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#252936!important;
  color:#f6f7fb!important;
  box-shadow:none!important;
  transform:translate(-50%,-50%)!important;
  display:grid!important;
  place-items:center!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.master-pangram-letter-v834>span{font-size:clamp(20px,6vw,29px)!important;line-height:1!important;font-weight:400!important;pointer-events:none!important}
.master-pangram-letter-v834>i{
  position:absolute!important;
  right:-1px!important;
  top:-1px!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 4px!important;
  border-radius:9px!important;
  background:#151822!important;
  color:#fff!important;
  display:none!important;
  place-items:center!important;
  font-size:8px!important;
  font-style:normal!important;
  font-weight:500!important;
  pointer-events:none!important;
}
.master-pangram-letter-v834.center{width:clamp(58px,17vw,72px)!important;height:clamp(58px,17vw,72px)!important;background:linear-gradient(145deg,#f1f2f6,#c5c8d1)!important;color:#565c68!important}
.master-pangram-letter-v834.selected{background:linear-gradient(145deg,#9cff3d 0%,#7155ff 100%)!important;color:#fff!important}
.master-pangram-letter-v834.selected>i{display:grid!important}
.master-pangram-actions-v834{
  width:min(100%,560px)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:62px minmax(0,1fr) 62px!important;
  gap:8px!important;
}
.master-pangram-actions-v834>button{
  min-height:62px!important;
  border-radius:10px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  box-shadow:none!important;
  font-size:24px!important;
  font-weight:400!important;
}
.master-pangram-actions-v834>button.primary-button{background:#9cff3d!important;color:#11170b!important;font-size:15px!important;font-weight:500!important}
.master-pangram-actions-v834>button svg{width:21px!important;height:21px!important}
.master-pangram-tools-v834{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.master-pangram-tools-v834>button{
  min-height:68px!important;
  padding:10px 14px!important;
  border-radius:10px!important;
  background:var(--surface)!important;
  color:var(--text-soft)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:400!important;
}
.master-pangram-tools-v834>button svg{width:20px!important;height:20px!important;color:var(--accent)!important}
.master-pangram-tools-v834>button b{min-width:22px!important;height:22px!important;padding:0 6px!important;border-radius:11px!important;background:var(--surface-2)!important;color:var(--accent)!important;display:grid!important;place-items:center!important;font-size:8px!important;font-weight:500!important}
.master-pangram-note-v834{padding:12px 14px!important;border-radius:10px!important;background:var(--surface)!important;color:var(--muted)!important;display:flex!important;align-items:flex-start!important;gap:9px!important;font-size:9px!important;line-height:1.5!important}
.master-pangram-note-v834 svg{flex:0 0 auto!important;width:18px!important;height:18px!important;color:var(--amber)!important}

:root[data-theme="light"] #app .master-pangram-board-v834{
  background:
    radial-gradient(circle at 50% 50%,rgba(156,255,61,.16) 0 17%,transparent 18%),
    radial-gradient(circle at 50% 50%,rgba(113,85,255,.12) 0 58%,rgba(113,85,255,.035) 59% 100%),
    #eef0f5!important;
}
:root[data-theme="light"] #app .master-pangram-letter-v834{background:#fff!important;color:#171a22!important}
:root[data-theme="light"] #app .master-pangram-letter-v834.center{background:linear-gradient(145deg,#e4e6ec,#bfc3cd)!important;color:#525967!important}
:root[data-theme="light"] #app .master-pangram-letter-v834.selected{background:linear-gradient(145deg,#8ed92f 0%,#7155ff 100%)!important;color:#fff!important}
:root[data-theme="light"] #app .master-pangram-answer-v834,
:root[data-theme="light"] #app .master-pangram-tools-v834>button,
:root[data-theme="light"] #app .master-pangram-actions-v834>button:not(.primary-button),
:root[data-theme="light"] #app .master-pangram-note-v834{background:#fff!important}

@media(max-width:430px){
  .sudoku-shell-v834{padding:5px!important}
  #app .sudoku-board-v828.sudoku-board-v834{gap:1px!important}
  #app .sudoku-board-v828.sudoku-board-v834>button{font-size:clamp(14px,4.8vw,20px)!important;border-radius:2px!important}
  #app .sudoku-keypad-v828.sudoku-keypad-v834{gap:4px!important}
  #app .sudoku-keypad-v828.sudoku-keypad-v834>button{height:48px!important;font-size:16px!important}
  .master-pangram-intro-v834{padding:15px!important;grid-template-columns:minmax(0,1fr) 50px!important}
  .master-pangram-intro-v834>span{width:50px!important;height:50px!important;font-size:17px!important}
  .master-pangram-intro-v834 strong{font-size:19px!important}
  .master-pangram-board-v834{width:min(100%,360px)!important}
  .master-pangram-actions-v834{grid-template-columns:56px minmax(0,1fr) 56px!important}
  .master-pangram-actions-v834>button{min-height:58px!important}
}

@media(max-width:360px){
  .master-pangram-letter-v834{width:45px!important;height:45px!important}
  .master-pangram-letter-v834.center{width:56px!important;height:56px!important}
  .master-pangram-letter-v834>span{font-size:19px!important}
  #app .sudoku-keypad-v828.sudoku-keypad-v834>button{height:43px!important;font-size:14px!important}
}

/* Words Buster 8.8.35 — simultaneous syllables and precise Expert board. */
.syllables-game-v835{gap:10px!important}
.syllable-batch-hero-v835{
  padding:15px!important;border-radius:8px!important;
  background:linear-gradient(115deg,rgba(113,85,255,.32),rgba(156,255,61,.14))!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;
  color:var(--text)!important
}
.syllable-batch-hero-v835>div{min-width:0!important}
.syllable-batch-hero-v835>div small{display:block!important;margin-bottom:5px!important;color:#a9ff64!important;font-size:9px!important;letter-spacing:.16em!important;text-transform:uppercase!important}
.syllable-batch-hero-v835>div strong{display:block!important;max-width:440px!important;color:#fff!important;font-size:13px!important;line-height:1.4!important;font-weight:450!important}
.syllable-timer-v835{min-width:116px!important;padding:9px 10px!important;border-radius:8px!important;background:rgba(9,10,15,.44)!important;display:grid!important;gap:4px!important;text-align:right!important}
.syllable-timer-v835>small{color:rgba(255,255,255,.58)!important;font-size:8px!important;line-height:1.2!important}
.syllable-timer-v835>b{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;color:#fff!important;font-size:17px!important;font-weight:450!important}
.syllable-timer-v835 svg{width:16px!important;height:16px!important;color:#9cff3d!important}
.syllable-timer-v835 em{font-style:normal!important;font-weight:450!important}
.syllable-slots-v835{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.syllable-slot-v835{min-width:0!important;min-height:78px!important;padding:11px!important;border-radius:8px!important;background:var(--surface)!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto 1fr!important;gap:5px 7px!important;align-items:center!important}
.syllable-slot-v835>span{grid-column:1!important;color:var(--muted)!important;font-size:8px!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.syllable-slot-v835>strong{grid-column:1!important;color:var(--text)!important;font-size:10px!important;line-height:1.28!important;font-weight:450!important;overflow-wrap:anywhere!important}
.syllable-slot-v835>i{grid-column:2!important;grid-row:1/3!important;min-width:32px!important;height:32px!important;padding:0 7px!important;border-radius:8px!important;background:var(--surface-2)!important;display:grid!important;place-items:center!important;color:var(--muted)!important;font-size:12px!important;font-style:normal!important}
.syllable-slot-v835>i svg{width:16px!important;height:16px!important}
.syllable-slot-v835.solved{background:color-mix(in srgb,#9cff3d 13%,var(--surface))!important}
.syllable-slot-v835.solved>strong,.syllable-slot-v835.solved>i{color:#9cff3d!important}
.syllable-slot-v835.solved>i{background:color-mix(in srgb,#9cff3d 15%,var(--surface-2))!important}
.syllable-slot-v835.skipped{opacity:.62!important}
.syllable-answer-v835{min-height:78px!important;padding:12px 14px!important;border-radius:8px!important;background:var(--surface)!important}
.syllable-answer-v835 small{font-size:9px!important}
.syllable-answer-v835 strong{font-size:clamp(21px,6vw,31px)!important;font-weight:450!important;letter-spacing:.035em!important}
.syllable-pool-v835{padding:12px!important;border-radius:8px!important;background:var(--surface)!important}
.syllable-pool-v835>header{margin-bottom:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.syllable-pool-v835>header>div{min-width:0!important}
.syllable-pool-v835>header strong,.syllable-pool-v835>header small{display:block!important}
.syllable-pool-v835>header strong{color:var(--text)!important;font-size:12px!important;font-weight:500!important}
.syllable-pool-v835>header small{margin-top:3px!important;color:var(--muted)!important;font-size:8px!important}
.syllable-pool-v835>header>span{min-width:28px!important;height:28px!important;border-radius:8px!important;background:var(--surface-2)!important;display:grid!important;place-items:center!important;color:var(--muted)!important;font-size:9px!important}
#app .syllable-pieces-v828.syllable-pieces-v835{padding:0!important;background:transparent!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
#app .syllable-pieces-v828.syllable-pieces-v835>button{min-height:58px!important;padding:9px!important;border-radius:8px!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:15px!important;font-weight:450!important;transition:none!important}
#app .syllable-pieces-v828.syllable-pieces-v835>button.selected{background:#9cff3d!important;color:#10150b!important}
#app .syllable-pieces-v828.syllable-pieces-v835>button>i{right:6px!important;top:6px!important;min-width:20px!important;height:20px!important;border-radius:7px!important;background:#20251b!important;color:#9cff3d!important;font-size:8px!important}
.syllable-controls-v835{grid-template-columns:58px minmax(0,1fr) 58px!important;gap:7px!important}
.syllable-controls-v835>button{min-height:58px!important;border-radius:8px!important}
.syllable-found-v835{border-radius:8px!important}
.syllable-found-v835>div{gap:6px!important}
.syllable-found-v835>div>span{border-radius:8px!important}

:root[data-theme="light"] #app .syllable-batch-hero-v835{background:linear-gradient(115deg,#35266c,#203b28)!important}
:root[data-theme="light"] #app .syllable-batch-hero-v835 *{color:inherit}
:root[data-theme="light"] #app .syllable-slot-v835,
:root[data-theme="light"] #app .syllable-answer-v835,
:root[data-theme="light"] #app .syllable-pool-v835{background:#fff!important;color:#11141b!important}
:root[data-theme="light"] #app .syllable-slot-v835>i,
:root[data-theme="light"] #app .syllable-pool-v835>header>span,
:root[data-theme="light"] #app .syllable-pieces-v828.syllable-pieces-v835>button{background:#edf0f5!important;color:#11141b!important}
:root[data-theme="light"] #app .syllable-pieces-v828.syllable-pieces-v835>button.selected{background:#9cff3d!important;color:#10150b!important}

.master-pangram-game-v835{gap:10px!important}
.master-pangram-intro-v835{padding:15px!important;border-radius:8px!important;grid-template-columns:minmax(0,1fr) 54px!important}
.master-pangram-intro-v835>span{width:54px!important;height:54px!important;border-radius:8px!important;background:linear-gradient(135deg,#9cff3d,#7155ff)!important}
.master-pangram-intro-v835 strong{font-size:20px!important;font-weight:500!important}
.master-pangram-intro-v835 p{max-width:520px!important;font-size:10px!important;line-height:1.45!important}
.master-pangram-answer-v835{min-height:72px!important;padding:12px 14px!important;border-radius:8px!important;background:var(--surface)!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;text-align:left!important}
.master-pangram-answer-v835>div{min-width:0!important}
.master-pangram-answer-v835>div small,.master-pangram-answer-v835>div strong{display:block!important}
.master-pangram-answer-v835>div strong{margin-top:5px!important;font-size:clamp(20px,6vw,31px)!important;font-weight:450!important;letter-spacing:.04em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.master-pangram-answer-v835>aside{min-width:92px!important;padding:9px 10px!important;border-radius:8px!important;background:var(--surface-2)!important;text-align:right!important}
.master-pangram-answer-v835>aside small,.master-pangram-answer-v835>aside b{display:block!important}
.master-pangram-answer-v835>aside small{color:var(--muted)!important;font-size:8px!important}
.master-pangram-answer-v835>aside b{margin-top:4px!important;color:#9cff3d!important;font-size:12px!important;letter-spacing:.12em!important;font-weight:500!important}
#app .master-pangram-board-v834.master-pangram-board-v835{
  width:min(100%,470px)!important;aspect-ratio:1/1!important;margin:0 auto!important;border-radius:8px!important;
  background:radial-gradient(circle at 50% 50%,rgba(156,255,61,.09) 0 20%,transparent 21%),linear-gradient(145deg,#1a1b24,#202038)!important;
  overflow:hidden!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important
}
#app .master-pangram-board-v835::before{display:none!important}
.master-pangram-board-v835>svg{inset:0!important;z-index:2!important;pointer-events:none!important}
.master-pangram-board-v835>svg polyline{fill:none!important;stroke:#9cff3d!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important;vector-effect:non-scaling-stroke!important}
.master-pangram-center-v835{position:absolute!important;left:50%!important;top:50%!important;z-index:1!important;transform:translate(-50%,-50%)!important;width:112px!important;min-height:72px!important;padding:10px!important;border-radius:8px!important;background:rgba(8,9,13,.34)!important;display:grid!important;place-items:center!important;text-align:center!important;pointer-events:none!important}
.master-pangram-center-v835 strong,.master-pangram-center-v835 small{display:block!important}
.master-pangram-center-v835 strong{color:#fff!important;font-size:20px!important;font-weight:500!important}
.master-pangram-center-v835 small{margin-top:3px!important;color:rgba(255,255,255,.5)!important;font-size:8px!important;line-height:1.25!important}
#app .master-pangram-letter-v834{
  z-index:3!important;width:58px!important;height:58px!important;border-radius:8px!important;background:#2a2c38!important;color:#fff!important;
  border:0!important;box-shadow:none!important;transform:translate(-50%,-50%)!important;display:grid!important;place-items:center!important;touch-action:none!important
}
#app .master-pangram-board-v835.pangram-count-8 .master-pangram-letter-v834{width:64px!important;height:64px!important}
#app .master-pangram-board-v835.pangram-count-10 .master-pangram-letter-v834{width:57px!important;height:57px!important}
#app .master-pangram-board-v835.pangram-count-12 .master-pangram-letter-v834{width:51px!important;height:51px!important}
#app .master-pangram-letter-v834.center{width:58px!important;height:58px!important;background:#2a2c38!important;color:#fff!important}
#app .master-pangram-letter-v834.selected{background:#9cff3d!important;color:#10150b!important}
#app .master-pangram-letter-v834>span{font-size:clamp(19px,5.5vw,27px)!important;font-weight:450!important}
#app .master-pangram-letter-v834>i{right:-4px!important;top:-4px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:7px!important;background:#15171e!important;color:#9cff3d!important;font-size:8px!important}
.master-pangram-actions-v835{grid-template-columns:58px minmax(0,1fr) 58px!important;gap:7px!important}
.master-pangram-actions-v835>button{min-height:58px!important;border-radius:8px!important}
.master-pangram-actions-v835>button:not(.primary-button){background:var(--surface)!important;color:var(--text)!important}
.master-pangram-actions-v835>button.primary-button{background:#9cff3d!important;color:#10150b!important}
.master-pangram-tools-v835{gap:7px!important}
.master-pangram-tools-v835>button{min-height:62px!important;border-radius:8px!important;background:var(--surface)!important}

:root[data-theme="light"] #app .master-pangram-board-v834.master-pangram-board-v835{background:radial-gradient(circle at 50% 50%,rgba(156,255,61,.09) 0 20%,transparent 21%),linear-gradient(145deg,#1a1b24,#202038)!important}
:root[data-theme="light"] #app .master-pangram-letter-v834{background:#2a2c38!important;color:#fff!important}
:root[data-theme="light"] #app .master-pangram-letter-v834.selected{background:#9cff3d!important;color:#10150b!important}
:root[data-theme="light"] #app .master-pangram-answer-v835,
:root[data-theme="light"] #app .master-pangram-actions-v835>button:not(.primary-button),
:root[data-theme="light"] #app .master-pangram-tools-v835>button{background:#fff!important;color:#11141b!important}

@media(max-width:430px){
  .syllable-batch-hero-v835{padding:12px!important;grid-template-columns:minmax(0,1fr) 104px!important}
  .syllable-batch-hero-v835>div strong{font-size:11px!important}
  .syllable-timer-v835{min-width:104px!important}
  .syllable-slots-v835{gap:5px!important}
  .syllable-slot-v835{min-height:72px!important;padding:9px!important;grid-template-columns:minmax(0,1fr) 26px!important}
  .syllable-slot-v835>i{min-width:26px!important;height:26px!important;padding:0 5px!important}
  .syllable-slot-v835>strong{font-size:8px!important}
  #app .syllable-pieces-v828.syllable-pieces-v835{gap:5px!important}
  #app .syllable-pieces-v828.syllable-pieces-v835>button{min-height:54px!important;font-size:14px!important}
  #app .master-pangram-board-v834.master-pangram-board-v835{width:min(100%,390px)!important}
  #app .master-pangram-board-v835.pangram-count-8 .master-pangram-letter-v834{width:58px!important;height:58px!important}
  #app .master-pangram-board-v835.pangram-count-10 .master-pangram-letter-v834{width:52px!important;height:52px!important}
  #app .master-pangram-board-v835.pangram-count-12 .master-pangram-letter-v834{width:46px!important;height:46px!important}
  .master-pangram-center-v835{width:96px!important;min-height:64px!important}
}
@media(max-width:360px){
  .syllable-slot-v835>span{font-size:7px!important}
  .syllable-slot-v835>strong{font-size:7px!important}
  #app .master-pangram-board-v835.pangram-count-8 .master-pangram-letter-v834{width:52px!important;height:52px!important}
  #app .master-pangram-board-v835.pangram-count-10 .master-pangram-letter-v834{width:47px!important;height:47px!important}
  #app .master-pangram-board-v835.pangram-count-12 .master-pangram-letter-v834{width:42px!important;height:42px!important}
  .master-pangram-center-v835{width:86px!important;min-height:58px!important}
}

/* Words Buster 8.8.36 — one premium system for Expert, syllables and history. */
.master-pangram-game-v836{
  width:100%!important;
  max-width:620px!important;
  gap:10px!important;
  padding-top:0!important;
  margin-top:0!important;
}
.master-session-v836{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--surface)!important;
}
.master-session-copy-v836{min-width:0!important}
.master-session-copy-v836 small,
.master-session-copy-v836 strong{display:block!important}
.master-session-copy-v836 small{
  color:var(--accent)!important;
  font-size:9px!important;
  line-height:1.2!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.master-session-copy-v836 strong{
  margin-top:5px!important;
  color:var(--text)!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
.master-session-stats-v836{display:flex!important;align-items:stretch!important;gap:6px!important}
.master-session-stats-v836 span{
  min-width:62px!important;
  padding:8px 9px!important;
  border-radius:8px!important;
  background:var(--surface-2)!important;
  color:var(--muted)!important;
  display:grid!important;
  gap:2px!important;
  text-align:center!important;
  font-size:8px!important;
}
.master-session-stats-v836 b{color:var(--text)!important;font-size:17px!important;line-height:1!important;font-weight:500!important}
.master-progress-rail-v836{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:4px!important}
.master-progress-rail-v836 i{height:3px!important;border-radius:2px!important;background:var(--surface-2)!important}
.master-progress-rail-v836 i.done{background:#9cff3d!important}
.master-progress-rail-v836 i.active{background:#7155ff!important}
.master-answer-v836{
  min-height:74px!important;
  padding:12px 14px!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--surface)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
}
.master-answer-v836>div{min-width:0!important;text-align:center!important}
.master-answer-v836 small,.master-answer-v836 strong{display:block!important}
.master-answer-v836 small{color:var(--muted)!important;font-size:9px!important;line-height:1.35!important;font-weight:400!important}
.master-answer-v836 strong{
  margin-top:7px!important;
  min-height:31px!important;
  color:var(--text)!important;
  font-size:clamp(23px,6vw,34px)!important;
  line-height:1!important;
  font-weight:450!important;
  letter-spacing:.045em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.master-answer-v836 aside{
  min-width:96px!important;
  padding:9px 10px!important;
  border-radius:8px!important;
  background:var(--surface-2)!important;
  text-align:center!important;
}
.master-answer-v836 aside small{font-size:8px!important}
.master-answer-v836 aside b{display:block!important;margin-top:4px!important;color:#9cff3d!important;font-size:12px!important;line-height:1.2!important;letter-spacing:.1em!important;font-weight:500!important}
#app .master-pangram-board-v834.master-pangram-board-v836{
  position:relative!important;
  width:min(100%,440px)!important;
  aspect-ratio:1/1!important;
  margin:0 auto!important;
  border:0!important;
  border-radius:8px!important;
  background:
    radial-gradient(circle at 50% 50%,rgba(156,255,61,.07) 0 17%,transparent 18%),
    radial-gradient(circle at 50% 50%,rgba(113,85,255,.11) 0 58%,transparent 59%),
    #1b1d29!important;
  overflow:hidden!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
#app .master-pangram-board-v836::before{
  content:""!important;
  position:absolute!important;
  inset:10%!important;
  border-radius:50%!important;
  background:repeating-conic-gradient(from -90deg,rgba(255,255,255,.025) 0deg .6deg,transparent .6deg 36deg)!important;
  pointer-events:none!important;
}
#app .master-pangram-board-v836>svg{position:absolute!important;inset:0!important;z-index:2!important;width:100%!important;height:100%!important;pointer-events:none!important}
#app .master-pangram-board-v836>svg polyline{
  fill:none!important;
  stroke:#9cff3d!important;
  stroke-width:2.4!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
  opacity:.95!important;
}
#app .master-pangram-letter-v834.master-pangram-letter-v836{
  z-index:4!important;
  width:58px!important;
  height:58px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:#292c39!important;
  color:#f7f8fb!important;
  box-shadow:none!important;
  transform:translate(-50%,-50%)!important;
}
#app .master-pangram-board-v836.pangram-count-8 .master-pangram-letter-v836{width:64px!important;height:64px!important}
#app .master-pangram-board-v836.pangram-count-10 .master-pangram-letter-v836{width:58px!important;height:58px!important}
#app .master-pangram-board-v836.pangram-count-12 .master-pangram-letter-v836{width:51px!important;height:51px!important}
#app .master-pangram-letter-v836>span{font-size:clamp(20px,5.5vw,27px)!important;font-weight:430!important;pointer-events:none!important}
#app .master-pangram-letter-v836>i{
  right:-4px!important;top:-4px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;
  border-radius:7px!important;background:#11131a!important;color:#9cff3d!important;font-size:8px!important;font-weight:550!important
}
#app .master-pangram-letter-v836.selected{background:#9cff3d!important;color:#10140c!important}
.master-center-v836{
  position:absolute!important;
  left:50%!important;top:50%!important;z-index:3!important;
  width:116px!important;min-height:78px!important;padding:10px!important;
  border-radius:8px!important;
  background:rgba(11,13,18,.72)!important;
  display:grid!important;place-items:center!important;align-content:center!important;gap:4px!important;
  text-align:center!important;pointer-events:none!important
}
.master-center-v836 strong{color:#fff!important;font-size:21px!important;line-height:1!important;font-weight:500!important}
.master-center-v836 small{max-width:94px!important;color:rgba(255,255,255,.55)!important;font-size:7px!important;line-height:1.35!important;font-weight:400!important}
.master-primary-actions-v836{display:grid!important;grid-template-columns:58px minmax(0,1fr) 58px!important;gap:8px!important}
.master-primary-actions-v836>button{min-width:0!important;min-height:58px!important;padding:0 12px!important;border:0!important;border-radius:8px!important;background:var(--surface)!important;color:var(--text)!important;display:grid!important;place-items:center!important}
.master-primary-actions-v836>button.primary-button{background:#9cff3d!important;color:#10140c!important;font-size:16px!important;font-weight:500!important}
.master-primary-actions-v836>button:disabled{opacity:.45!important}
.master-primary-actions-v836 svg{width:21px!important;height:21px!important}
.master-tools-v836{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.master-tools-v836>button{
  position:relative!important;min-width:0!important;min-height:68px!important;padding:10px 7px!important;
  border:0!important;border-radius:8px!important;background:var(--surface)!important;color:var(--muted)!important;
  display:grid!important;place-items:center!important;align-content:center!important;gap:5px!important;text-align:center!important
}
.master-tools-v836>button svg{width:21px!important;height:21px!important;color:#9cff3d!important}
.master-tools-v836>button span{font-size:9px!important;line-height:1.2!important;white-space:normal!important}
.master-tools-v836>button b{position:absolute!important;right:7px!important;top:7px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:7px!important;background:var(--surface-2)!important;color:#9cff3d!important;display:grid!important;place-items:center!important;font-size:8px!important;font-weight:500!important}

/* Compact words-from-syllables screen. */
.syllables-game-v836{gap:10px!important}
.syllable-roundbar-v836{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:stretch!important;
  padding:10px!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--surface)!important;
}
.syllable-roundbar-v836>div,.syllable-roundbar-v836>span{min-width:0!important;padding:9px 10px!important;border-radius:8px!important;background:var(--surface-2)!important;display:grid!important;align-content:center!important;gap:4px!important}
.syllable-roundbar-v836 small{display:block!important;color:var(--muted)!important;font-size:8px!important;line-height:1.15!important;white-space:nowrap!important}
.syllable-roundbar-v836 strong{display:block!important;color:var(--text)!important;font-size:17px!important;line-height:1!important;font-weight:500!important}
.syllable-roundbar-v836>span{min-width:104px!important;text-align:right!important}
.syllable-roundbar-v836>span b{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;color:var(--text)!important;font-size:17px!important;font-weight:500!important;white-space:nowrap!important}
.syllable-roundbar-v836>span svg{width:16px!important;height:16px!important;color:#9cff3d!important;flex:0 0 16px!important}
.syllable-roundbar-v836>span em{font-style:normal!important}
.syllable-slots-v836{gap:8px!important}
.syllable-slot-v836{min-height:82px!important;padding:10px!important;overflow:hidden!important}
.syllable-slot-v836>span,.syllable-slot-v836>strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
.syllable-slot-v836>strong{font-size:10px!important;line-height:1.35!important}
.syllable-answer-v836{min-height:74px!important}
.syllable-pool-v836{overflow:hidden!important}
#app .syllable-pieces-v836{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
#app .syllable-pieces-v836>button{min-width:0!important;min-height:56px!important;overflow:hidden!important}
#app .syllable-pieces-v836>button span{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.syllable-controls-v836{grid-template-columns:58px minmax(0,1fr) 58px!important;gap:8px!important}

/* Uniform recent-result rows. */
.recent-game-list-v820,.history-all-v820,.history-all-v831{gap:10px!important}
#app .recent-game-card.recent-unified-v836,
.modal-content .recent-game-card.recent-unified-v836{
  width:100%!important;
  min-height:88px!important;
  padding:13px 14px!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--surface)!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 82px 20px!important;
  align-items:center!important;
  gap:12px!important;
  text-align:left!important;
  color:var(--text)!important;
}
.recent-unified-icon-v836{width:48px!important;height:48px!important;border-radius:8px!important;background:var(--surface-2)!important;color:#fff!important;display:grid!important;place-items:center!important}
.recent-unified-icon-v836 svg{width:22px!important;height:22px!important;color:#fff!important}
.recent-unified-copy-v836{min-width:0!important;display:block!important}
.recent-unified-copy-v836 strong,.recent-unified-copy-v836 small{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.recent-unified-copy-v836 strong{color:var(--text)!important;font-size:15px!important;line-height:1.25!important;font-weight:500!important}
.recent-unified-copy-v836 small{margin-top:5px!important;color:var(--muted)!important;font-size:9px!important;line-height:1.3!important}
.recent-unified-score-v836{min-width:0!important;text-align:right!important;display:grid!important;gap:3px!important}
.recent-unified-score-v836 b{color:var(--text)!important;font-size:18px!important;line-height:1!important;font-weight:500!important;white-space:nowrap!important}
.recent-unified-score-v836 small{margin:0!important;color:var(--muted)!important;font-size:8px!important;line-height:1!important}
.recent-unified-arrow-v836{width:20px!important;height:20px!important;color:var(--muted)!important;display:grid!important;place-items:center!important}
.recent-unified-arrow-v836 svg{width:20px!important;height:20px!important}

/* Expert history has its own concise result language. */
.expert-history-v836{display:grid!important;gap:12px!important}
.expert-history-summary-v836{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.expert-history-summary-v836 article{min-width:0!important;padding:13px 9px!important;border-radius:8px!important;background:var(--surface-2)!important;text-align:center!important}
.expert-history-summary-v836 strong,.expert-history-summary-v836 span{display:block!important}
.expert-history-summary-v836 strong{color:var(--text)!important;font-size:20px!important;line-height:1!important;font-weight:500!important}
.expert-history-summary-v836 span{margin-top:5px!important;color:var(--muted)!important;font-size:8px!important}
.expert-history-v836>section{padding:14px!important;border-radius:8px!important;background:var(--surface)!important}
.expert-history-v836>section>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:10px!important}
.expert-history-v836 h3{margin:0!important;color:var(--text)!important;font-size:15px!important;font-weight:500!important}
.expert-history-v836>section>header>span{min-width:28px!important;height:28px!important;padding:0 7px!important;border-radius:8px!important;background:var(--surface-2)!important;color:var(--muted)!important;display:grid!important;place-items:center!important;font-size:9px!important}
.expert-history-words-v836{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
.expert-history-words-v836>span{padding:8px 10px!important;border-radius:8px!important;background:color-mix(in srgb,#9cff3d 14%,var(--surface-2))!important;color:var(--text)!important;font-size:10px!important;letter-spacing:.025em!important}
.expert-history-words-v836.muted>span{background:var(--surface-2)!important;color:var(--muted)!important}
.expert-history-words-v836>p{margin:0!important;color:var(--muted)!important;font-size:10px!important}

/* Reliable action sheets. */
.project-confirm-actions-v836,.sudoku-reset-actions-v836{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.project-confirm-actions-v836>button,.sudoku-reset-actions-v836>button{min-height:52px!important;border:0!important;border-radius:8px!important;font-size:12px!important;font-weight:500!important}

:root[data-theme="light"] #app .master-session-v836,
:root[data-theme="light"] #app .master-answer-v836,
:root[data-theme="light"] #app .master-primary-actions-v836>button,
:root[data-theme="light"] #app .master-tools-v836>button,
:root[data-theme="light"] #app .syllable-roundbar-v836,
:root[data-theme="light"] #app .syllable-slot-v836,
:root[data-theme="light"] #app .syllable-answer-v836,
:root[data-theme="light"] #app .syllable-pool-v836,
:root[data-theme="light"] #app .recent-unified-v836{background:#fff!important;color:#11151d!important}
:root[data-theme="light"] #app .master-session-stats-v836 span,
:root[data-theme="light"] #app .master-answer-v836 aside,
:root[data-theme="light"] #app .master-tools-v836>button b,
:root[data-theme="light"] #app .syllable-roundbar-v836>div,
:root[data-theme="light"] #app .syllable-roundbar-v836>span,
:root[data-theme="light"] #app .recent-unified-icon-v836{background:#eceff4!important}
:root[data-theme="light"] #app .recent-unified-icon-v836 svg{color:#1d2230!important}
:root[data-theme="light"] #app .master-pangram-board-v836{background:radial-gradient(circle at 50% 50%,rgba(156,255,61,.08) 0 17%,transparent 18%),radial-gradient(circle at 50% 50%,rgba(113,85,255,.10) 0 58%,transparent 59%),#1b1d29!important}
:root[data-theme="light"] #app .master-pangram-letter-v836{background:#292c39!important;color:#fff!important}
:root[data-theme="light"] #app .master-pangram-letter-v836.selected{background:#9cff3d!important;color:#10140c!important}

@media(min-width:700px){
  .screen-root.game-active:has(.master-pangram-game-v836),
  #topbar.topbar-v890 + .screen-root.game-active:has(.master-pangram-game-v836){padding-top:118px!important}
}
@media(max-width:520px){
  .master-session-v836{grid-template-columns:minmax(0,1fr) auto!important;padding:12px!important}
  .master-session-stats-v836 span{min-width:54px!important;padding-inline:7px!important}
  #app .master-pangram-board-v836{width:min(100%,390px)!important}
  #app .master-pangram-board-v836.pangram-count-8 .master-pangram-letter-v836{width:58px!important;height:58px!important}
  #app .master-pangram-board-v836.pangram-count-10 .master-pangram-letter-v836{width:52px!important;height:52px!important}
  #app .master-pangram-board-v836.pangram-count-12 .master-pangram-letter-v836{width:45px!important;height:45px!important}
  .master-center-v836{width:104px!important;min-height:70px!important}
  .master-tools-v836{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .master-tools-v836>button{min-height:58px!important;grid-template-columns:22px minmax(0,1fr)!important;justify-items:start!important;padding:10px 12px!important;text-align:left!important}
  .master-tools-v836>button b{right:8px!important;top:50%!important;transform:translateY(-50%)!important}
  .syllable-roundbar-v836{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 110px!important;gap:6px!important;padding:8px!important}
  .syllable-roundbar-v836>div,.syllable-roundbar-v836>span{padding:8px!important}
  .syllable-roundbar-v836 small{font-size:7px!important}
  .syllable-roundbar-v836 strong,.syllable-roundbar-v836>span b{font-size:15px!important}
  .syllable-slots-v836{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .syllable-slot-v836{min-height:76px!important;padding:8px!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}
  .syllable-slot-v836>i{display:none!important}
  #app .syllable-pieces-v836{gap:6px!important}
  #app .recent-game-card.recent-unified-v836{grid-template-columns:44px minmax(0,1fr) 66px 18px!important;gap:9px!important;padding:12px!important;min-height:82px!important}
  .recent-unified-icon-v836{width:44px!important;height:44px!important}
  .recent-unified-copy-v836 strong{font-size:14px!important}
  .recent-unified-score-v836 b{font-size:16px!important}
}
@media(max-width:360px){
  .master-session-stats-v836{display:none!important}
  .master-session-v836{grid-template-columns:1fr!important}
  .master-answer-v836{grid-template-columns:minmax(0,1fr)!important}
  .master-answer-v836 aside{display:none!important}
  #app .master-pangram-board-v836.pangram-count-8 .master-pangram-letter-v836{width:53px!important;height:53px!important}
  #app .master-pangram-board-v836.pangram-count-10 .master-pangram-letter-v836{width:47px!important;height:47px!important}
  #app .master-pangram-board-v836.pangram-count-12 .master-pangram-letter-v836{width:41px!important;height:41px!important}
  .syllable-roundbar-v836{grid-template-columns:1fr 1fr!important}
  .syllable-roundbar-v836>span{grid-column:1/-1!important;text-align:left!important}
  .syllable-roundbar-v836>span b{justify-content:flex-start!important}
  #app .recent-game-card.recent-unified-v836{grid-template-columns:42px minmax(0,1fr) 58px 16px!important;gap:7px!important}
  .recent-unified-score-v836 small{display:none!important}
}

/* 8.8.36 final alignment pass: no duplicate mode banners, centered Expert board and compact syllable status. */
.master-answer-v836{
  grid-template-columns:minmax(0,1fr) auto auto!important;
  grid-template-rows:auto auto!important;
  min-height:86px!important;
}
.master-answer-copy-v836{min-width:0!important;text-align:center!important}
.master-answer-stats-v836{display:flex!important;align-items:stretch!important;gap:6px!important}
.master-answer-stats-v836 span{
  min-width:56px!important;padding:7px 8px!important;border-radius:8px!important;background:var(--surface-2)!important;
  color:var(--muted)!important;display:grid!important;align-content:center!important;gap:3px!important;text-align:center!important;
  font-size:7px!important;line-height:1.15!important;font-weight:400!important
}
.master-answer-stats-v836 b{color:var(--text)!important;font-size:16px!important;line-height:1!important;font-weight:500!important}
.master-answer-v836>.master-progress-rail-v836{grid-column:1/-1!important;grid-row:2!important;margin-top:2px!important}
.master-answer-v836:has(aside) .master-answer-stats-v836{display:none!important}
#app .master-pangram-board-v834.master-pangram-board-v836{width:min(100%,420px)!important}
.master-center-v836{
  left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  width:94px!important;min-height:64px!important;padding:8px!important;background:rgba(11,13,18,.76)!important
}
.master-center-v836 strong{font-size:19px!important}
.master-center-v836 small{font-size:8px!important;line-height:1.2!important}
.master-tools-v836>button span{font-size:10px!important}
.syllable-meta-v836{
  min-height:36px!important;padding:0 4px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;color:var(--muted)!important;font-size:10px!important;line-height:1.2!important
}
.syllable-meta-v836>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.syllable-meta-v836>b{
  flex:0 0 auto!important;min-height:34px!important;padding:0 10px!important;border-radius:8px!important;background:var(--surface)!important;
  color:var(--text)!important;display:flex!important;align-items:center!important;gap:6px!important;font-size:14px!important;font-weight:500!important
}
.syllable-meta-v836>b small{color:var(--muted)!important;font-size:8px!important;font-weight:400!important}
.syllable-meta-v836 svg{width:15px!important;height:15px!important;color:#9cff3d!important}
.syllable-meta-v836 em{font-style:normal!important}
.syllable-slot-v836>strong{font-size:11px!important;line-height:1.3!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
.paid-mode-copy-v828>h3:first-child{margin-top:0!important}
@media(min-width:700px){
  .screen-root.game-active:has(.master-pangram-game-v836),
  #topbar.topbar-v890 + .screen-root.game-active:has(.master-pangram-game-v836){padding-top:0!important}
}
@media(max-width:520px){
  .master-answer-v836{grid-template-columns:minmax(0,1fr) auto!important;padding:11px 12px!important}
  .master-answer-v836 aside{grid-column:2!important}
  .master-answer-stats-v836 span{min-width:50px!important;padding-inline:6px!important}
  #app .master-pangram-board-v834.master-pangram-board-v836{width:min(100%,390px)!important}
  .master-center-v836{width:86px!important;min-height:58px!important}
  .syllable-meta-v836{padding-inline:2px!important}
  .syllable-meta-v836>b small{display:none!important}
}
@media(max-width:360px){
  .master-answer-stats-v836{display:none!important}
  .master-answer-v836{grid-template-columns:1fr!important}
  .master-answer-v836 aside{grid-column:1!important}
  .syllable-meta-v836{font-size:9px!important}
}
.recent-unified-copy-v836,.recent-unified-score-v836{width:100%!important;max-width:none!important;justify-self:stretch!important}
.recent-unified-copy-v836{height:auto!important;min-height:0!important}
.recent-unified-score-v836{height:auto!important;min-height:0!important}

/* Words Buster 8.8.38 — paid puzzle cards match the premium full-width game card system. */
.paid-mode-grid-v828{
  grid-template-columns:1fr!important;
  gap:14px!important;
}
.paid-mode-card-v828,
.paid-mode-card-v829{
  min-height:168px!important;
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr) 22px!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:18px!important;
  row-gap:12px!important;
  padding:22px 24px!important;
}
.paid-mode-card-v829 .paid-mode-background-v829{
  background-position:center center!important;
  background-size:cover!important;
  opacity:1!important;
}
.paid-mode-card-v829 .paid-mode-shade-v829{
  background:linear-gradient(90deg,rgba(10,12,18,.16) 0%,rgba(10,12,18,.24) 32%,rgba(10,12,18,.56) 68%,rgba(10,12,18,.78) 100%)!important;
}
.paid-mode-card-v829 .paid-mode-art-v828{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  width:76px!important;
  height:76px!important;
  border-radius:18px!important;
  align-self:center!important;
  background:rgba(15,19,28,.52)!important;
  backdrop-filter:blur(8px)!important;
}
.paid-mode-card-v829 .paid-mode-art-v828 svg{
  width:30px!important;
  height:30px!important;
}
.paid-mode-card-v829 .paid-mode-copy-v828{
  grid-column:2!important;
  grid-row:1!important;
  align-self:end!important;
  gap:8px!important;
  max-width:520px!important;
}
.paid-mode-card-v829 .paid-mode-copy-v828 h3{
  margin:0!important;
  font-size:27px!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  font-weight:500!important;
}
.paid-mode-card-v829 .paid-mode-copy-v828 p{
  margin:0!important;
  max-width:470px!important;
  font-size:12px!important;
  line-height:1.42!important;
  color:rgba(255,255,255,.82)!important;
}
.paid-mode-card-v829 .paid-mode-cost-v828{
  grid-column:2!important;
  grid-row:2!important;
  justify-self:start!important;
  margin:0!important;
  height:38px!important;
  padding:0 14px!important;
  border-radius:18px!important;
  background:rgba(11,15,22,.66)!important;
  color:#fff!important;
  font-size:12px!important;
  backdrop-filter:blur(8px)!important;
}
.paid-mode-card-v829 .paid-mode-cost-v828 svg{
  width:17px!important;
  height:17px!important;
}
.paid-mode-card-v829>i{
  grid-column:3!important;
  grid-row:1 / span 2!important;
  position:relative!important;
  right:auto!important;
  bottom:auto!important;
  align-self:center!important;
  justify-self:end!important;
  color:#fff!important;
}
.paid-mode-card-v829>i svg{
  width:24px!important;
  height:24px!important;
}
:root[data-theme="light"] .paid-mode-card-v829{
  background:#171922!important;
}
:root[data-theme="light"] .paid-mode-card-v829 .paid-mode-shade-v829{
  background:linear-gradient(90deg,rgba(10,12,18,.16) 0%,rgba(10,12,18,.24) 32%,rgba(10,12,18,.56) 68%,rgba(10,12,18,.78) 100%)!important;
}
:root[data-theme="light"] .paid-mode-card-v829 .paid-mode-art-v828,
:root[data-theme="light"] .paid-mode-card-v829 .paid-mode-cost-v828{
  background:rgba(11,15,22,.66)!important;
}
@media(max-width:760px){
  .paid-mode-card-v828,
  .paid-mode-card-v829{
    min-height:152px!important;
    grid-template-columns:60px minmax(0,1fr) 18px!important;
    column-gap:16px!important;
    row-gap:10px!important;
    padding:18px 18px 18px 18px!important;
  }
  .paid-mode-card-v829 .paid-mode-art-v828{
    width:60px!important;
    height:60px!important;
    border-radius:16px!important;
  }
  .paid-mode-card-v829 .paid-mode-copy-v828 h3{
    font-size:23px!important;
  }
  .paid-mode-card-v829 .paid-mode-copy-v828 p{
    font-size:11px!important;
    max-width:none!important;
  }
  .paid-mode-card-v829 .paid-mode-cost-v828{
    height:34px!important;
    padding:0 12px!important;
  }
}
@media(max-width:420px){
  .paid-mode-card-v828,
  .paid-mode-card-v829{
    min-height:146px!important;
    grid-template-columns:54px minmax(0,1fr) 16px!important;
    padding:16px!important;
  }
  .paid-mode-card-v829 .paid-mode-art-v828{
    width:54px!important;
    height:54px!important;
    border-radius:14px!important;
  }
  .paid-mode-card-v829 .paid-mode-copy-v828 h3{
    font-size:20px!important;
  }
  .paid-mode-card-v829 .paid-mode-copy-v828 p{
    font-size:10px!important;
    line-height:1.4!important;
  }
  .paid-mode-card-v829 .paid-mode-cost-v828{
    height:32px!important;
    font-size:11px!important;
  }
  .paid-mode-card-v829>i svg{
    width:20px!important;
    height:20px!important;
  }
}


/* Words Buster 8.8.40 — unified in-game headers, results, history action and profile type. */
.game-page [data-exit-game]{display:none!important}
.game-header-v840{
  position:relative!important;top:auto!important;z-index:auto!important;
  width:100%!important;min-height:76px!important;margin:0 0 12px!important;padding:14px 16px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;
  background:var(--surface)!important;border-radius:14px!important;
}
.game-header-v840>div{grid-column:1!important;min-width:0!important;text-align:left!important;display:grid!important;gap:4px!important}
.game-header-v840>div>small{display:block!important;color:var(--accent)!important;font-size:9px!important;line-height:1.2!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.game-header-v840 strong{display:block!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;font-size:22px!important;line-height:1.08!important;font-weight:500!important;letter-spacing:-.035em!important}
.game-header-v840 span{display:block!important;margin:0!important;color:var(--muted)!important;font-size:11px!important;line-height:1.35!important;white-space:normal!important}
.master-game-header-v840{min-height:96px!important;background:linear-gradient(112deg,rgba(113,85,255,.26),var(--surface) 52%,rgba(156,255,61,.10))!important}
.master-game-header-v840>b{grid-column:2!important;min-width:58px!important;height:58px!important;padding:0 10px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important;color:var(--text)!important;border-radius:14px!important;font-size:17px!important;font-weight:500!important}
.master-pangram-game-v836{padding-top:0!important;margin-top:0!important;gap:12px!important}

.special-game-header-v840{
  width:100%!important;min-height:82px!important;margin:0 0 10px!important;padding:14px 16px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 46px!important;align-items:center!important;gap:14px!important;
  background:var(--surface)!important;border-radius:14px!important;
}
.special-game-header-v840>div{grid-column:1!important;min-width:0!important;text-align:left!important}
.special-game-header-v840>div small{font-size:8px!important;line-height:1.2!important;letter-spacing:.12em!important;color:var(--accent)!important}
.special-game-header-v840>div h1{margin:4px 0 0!important;font-size:23px!important;line-height:1.08!important;font-weight:500!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.special-game-header-v840>div p{margin:4px 0 0!important;font-size:10px!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:var(--muted)!important}
.special-game-header-v840>.special-info-button-v830{grid-column:2!important;width:46px!important;height:46px!important;margin:0!important;align-self:center!important}

.history-all-button-v840{
  width:auto!important;min-width:132px!important;min-height:46px!important;padding:7px 10px 7px 13px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 18px!important;align-items:center!important;gap:9px!important;
  background:var(--surface)!important;color:var(--text)!important;text-align:left!important;border-radius:14px!important;
}
.history-all-button-v840>span{min-width:0!important;display:grid!important;gap:2px!important;text-align:left!important}
.history-all-button-v840 strong{font-size:11px!important;line-height:1.15!important;font-weight:500!important;white-space:nowrap!important}
.history-all-button-v840 small{font-size:8px!important;line-height:1.15!important;color:var(--muted)!important;white-space:nowrap!important}
.history-all-button-v840>svg{width:16px!important;height:16px!important;color:var(--accent)!important}

.fillword-slots-v828 span.found{position:relative!important;opacity:.68!important;text-decoration:line-through!important;text-decoration-thickness:2px!important;text-decoration-color:currentColor!important}
.fillword-slots-v828 span.found::after{content:""!important;position:absolute!important;left:8px!important;right:8px!important;top:50%!important;height:2px!important;background:currentColor!important;transform:translateY(-50%)!important;opacity:.9!important;pointer-events:none!important}

.syllable-meta-v840{min-height:54px!important;padding:10px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:var(--surface)!important;border-radius:14px!important}
.syllable-meta-v840>span{min-width:0!important;color:var(--text-soft)!important;font-size:11px!important;line-height:1.3!important}
.syllable-meta-v840>b{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:7px!important;min-width:86px!important;height:36px!important;padding:0 11px!important;background:var(--surface-2)!important;border-radius:14px!important;color:var(--text)!important;font-weight:500!important}
.syllable-meta-v840>b svg{width:17px!important;height:17px!important;color:var(--accent)!important}
.syllable-meta-v840>b em{font-size:13px!important;font-style:normal!important;font-variant-numeric:tabular-nums!important}
.syllable-utility-v840{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.syllable-utility-v840>button{min-width:0!important;min-height:62px!important;padding:8px 6px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;background:var(--surface)!important;color:var(--text-soft)!important;text-align:center!important;font-size:9px!important}
.syllable-utility-v840>button svg{width:19px!important;height:19px!important;color:var(--accent)!important}
.syllable-utility-v840>button b{position:absolute!important;margin:0 0 30px 42px!important;min-width:21px!important;height:21px!important;padding:0 5px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important;color:var(--accent)!important;border-radius:14px!important;font-size:8px!important}

.mode-result-v840{width:min(700px,100%)!important;min-height:100%!important;margin:0 auto!important;padding:20px 0 max(34px,env(safe-area-inset-bottom))!important;display:grid!important;align-content:center!important;gap:13px!important}
.mode-result-brand-v840{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important}
.mode-result-brand-v840 img{width:52px!important;height:52px!important;object-fit:contain!important}
.mode-result-brand-v840 span{color:var(--muted)!important;font-size:9px!important;line-height:1.2!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.mode-result-icon-v840{width:68px!important;height:68px!important;margin:0 auto!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,rgba(156,255,61,.18),rgba(113,85,255,.25))!important;color:var(--accent)!important;border-radius:18px!important}
.mode-result-icon-v840 svg{width:34px!important;height:34px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.mode-result-v840>h1{margin:2px 0 0!important;text-align:center!important;font-size:32px!important;line-height:1.06!important;font-weight:500!important;letter-spacing:-.045em!important}
.mode-result-v840>p{max-width:520px!important;margin:0 auto!important;text-align:center!important;color:var(--muted)!important;font-size:11px!important;line-height:1.45!important}
.mode-result-highlight-v840{min-height:106px!important;padding:18px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:4px!important;background:linear-gradient(112deg,rgba(156,255,61,.10),var(--surface) 48%,rgba(113,85,255,.14))!important;border-radius:14px!important}
.mode-result-highlight-v840 strong{font-size:36px!important;line-height:1!important;font-weight:500!important;letter-spacing:-.04em!important}
.mode-result-highlight-v840 span,.mode-result-highlight-v840 small{font-size:10px!important;color:var(--muted)!important}
.mode-result-stats-v840{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
.mode-result-stats-v840 article{min-height:88px!important;padding:12px 8px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:5px!important;background:var(--surface)!important;border-radius:14px!important}
.mode-result-stats-v840 strong{font-size:23px!important;font-weight:500!important}
.mode-result-stats-v840 span{font-size:9px!important;color:var(--muted)!important}
.mode-result-actions-v840{display:grid!important;gap:9px!important}
.mode-result-actions-v840>button{min-height:56px!important}
.mode-result-actions-v840 .share-result-v84{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:linear-gradient(90deg,var(--violet),#6442e8)!important;color:#fff!important}
.mode-result-actions-v840 .share-result-v84 svg{width:20px!important;height:20px!important}
.mode-result-sudoku .mode-result-icon-v840{background:linear-gradient(145deg,rgba(97,184,255,.18),rgba(82,217,155,.18))!important}
.mode-result-fillwords .mode-result-icon-v840{background:linear-gradient(145deg,rgba(113,85,255,.22),rgba(97,184,255,.18))!important}
.mode-result-syllables .mode-result-icon-v840{background:linear-gradient(145deg,rgba(156,255,61,.18),rgba(113,85,255,.22))!important}

.settings-list-v7{gap:10px!important}
.settings-list-v7 .settings-row-v840,.settings-list-v7 .challenge-privacy-inline-v820{min-height:86px!important;padding:14px 17px!important;display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;background:var(--surface)!important;text-align:left!important}
.settings-list-v7 .settings-row-v840>span,.settings-list-v7 .challenge-privacy-inline-v820>span{width:54px!important;height:54px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important;color:var(--accent)!important;border-radius:14px!important}
.settings-list-v7 .settings-row-v840>span svg,.settings-list-v7 .challenge-privacy-inline-v820>span svg{width:24px!important;height:24px!important}
.settings-list-v7 .settings-row-v840>div,.settings-list-v7 .challenge-privacy-inline-v820>div{min-width:0!important;display:grid!important;gap:5px!important}
.settings-list-v7 .settings-row-v840 strong,.settings-list-v7 .challenge-privacy-inline-v820 strong{font-size:15px!important;line-height:1.22!important;font-weight:500!important;color:var(--text)!important}
.settings-list-v7 .settings-row-v840 small,.settings-list-v7 .challenge-privacy-inline-v820 small{font-size:10px!important;line-height:1.35!important;color:var(--muted)!important;font-weight:400!important}
.settings-list-v7 .settings-row-v840>svg{width:18px!important;height:18px!important;color:var(--text-soft)!important}
.settings-list-v7 .switch-control{justify-self:end!important}
.profile-page-v85 .section-heading.v7-heading>h2{font-size:28px!important;line-height:1.08!important;font-weight:500!important;letter-spacing:-.04em!important}

:root[data-theme="light"] .game-header-v840,:root[data-theme="light"] .special-game-header-v840,:root[data-theme="light"] .history-all-button-v840,:root[data-theme="light"] .syllable-meta-v840,:root[data-theme="light"] .syllable-utility-v840>button,:root[data-theme="light"] .mode-result-stats-v840 article,:root[data-theme="light"] .settings-list-v7 .settings-row-v840,:root[data-theme="light"] .settings-list-v7 .challenge-privacy-inline-v820{background:#fff!important}
:root[data-theme="light"] .master-game-header-v840,:root[data-theme="light"] .mode-result-highlight-v840{background:linear-gradient(112deg,#eee8ff,#fff 52%,#edf6e2)!important}

@media(max-width:520px){
  .game-header-v840{min-height:70px!important;padding:12px 14px!important}
  .master-game-header-v840{min-height:88px!important}
  .game-header-v840 strong{font-size:20px!important}
  .master-game-header-v840>b{min-width:52px!important;height:52px!important;font-size:15px!important}
  .special-game-header-v840{min-height:76px!important;padding:12px 14px!important;grid-template-columns:minmax(0,1fr) 42px!important}
  .special-game-header-v840>div h1{font-size:21px!important}
  .special-game-header-v840>.special-info-button-v830{width:42px!important;height:42px!important}
  .history-all-button-v840{min-width:120px!important;min-height:42px!important;padding:6px 9px 6px 11px!important}
  .history-all-button-v840 small{display:none!important}
  .syllable-utility-v840{gap:7px!important}
  .syllable-utility-v840>button{min-height:58px!important;font-size:8px!important}
  .mode-result-v840{padding-top:14px!important;align-content:start!important}
  .mode-result-v840>h1{font-size:28px!important}
  .mode-result-icon-v840{width:62px!important;height:62px!important}
  .mode-result-stats-v840{gap:7px!important}
  .mode-result-stats-v840 article{min-height:82px!important}
  .settings-list-v7 .settings-row-v840,.settings-list-v7 .challenge-privacy-inline-v820{min-height:82px!important;padding:13px 15px!important;grid-template-columns:50px minmax(0,1fr) auto!important;gap:12px!important}
  .settings-list-v7 .settings-row-v840>span,.settings-list-v7 .challenge-privacy-inline-v820>span{width:50px!important;height:50px!important}
}
@media(max-width:370px){
  .history-all-button-v840{min-width:108px!important}
  .history-all-button-v840 strong{font-size:10px!important}
  .mode-result-stats-v840 article{padding:9px 4px!important}
  .settings-list-v7 .settings-row-v840 strong,.settings-list-v7 .challenge-privacy-inline-v820 strong{font-size:14px!important}
}

/* Words Buster 8.8.41 — final adaptive geometry and one visual system. */
.screen-root.game-active,
#topbar.topbar-v890 + .screen-root.game-active{
  top:0!important;
  padding-top:clamp(8px,1.2vh,14px)!important;
  padding-left:max(10px,calc(10px + var(--tg-content-safe-left)))!important;
  padding-right:max(10px,calc(10px + var(--tg-content-safe-right)))!important;
  padding-bottom:calc(14px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))!important;
}
.game-page,
.special-game-v828{
  width:100%!important;
  max-width:620px!important;
  margin:0 auto!important;
  padding:0 0 calc(14px + env(safe-area-inset-bottom))!important;
  gap:clamp(8px,1.15vh,11px)!important;
}
.game-page>*+*,.special-game-v828>*+*{margin-top:0!important}
.game-header-v840,.special-game-header-v840{
  width:100%!important;
  min-height:76px!important;
  margin:0!important;
  padding:12px 14px!important;
  box-sizing:border-box!important;
}
.master-game-header-v840{min-height:84px!important}
.special-game-header-v840{grid-template-columns:minmax(0,1fr) 46px!important;gap:12px!important}
.special-game-header-v840>div{min-width:0!important}
.special-game-header-v840>div h1,.game-header-v840 strong{font-size:clamp(20px,5.8vw,27px)!important;line-height:1.08!important}
.special-game-header-v840>div p,.game-header-v840 span{font-size:10px!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.special-game-header-v840>div small,.game-header-v840 small{font-size:8px!important;line-height:1.2!important}
.special-game-header-v840>.special-info-button-v830{width:46px!important;height:46px!important;align-self:center!important}

/* Real per-mode history icons, not generic substitutes. */
.recent-unified-icon-v841 svg{
  width:26px!important;
  height:26px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.1!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.recent-unified-v841.syllables .recent-unified-icon-v841{color:#a990ff!important;background:rgba(113,85,255,.14)!important}
.recent-unified-v841.fillwords .recent-unified-icon-v841{color:#c3b4ff!important;background:rgba(113,85,255,.18)!important}
.recent-unified-v841.sudoku .recent-unified-icon-v841{color:#75d8d2!important;background:rgba(66,177,173,.16)!important}
.recent-unified-v841.master .recent-unified-icon-v841{color:var(--accent)!important;background:rgba(156,255,61,.13)!important}

/* Every confirmation uses the same bottom sheet and the same two equal actions. */
.project-confirm-v836,.finish-confirm-sheet-v841{max-width:620px!important}
.project-confirm-actions-v836,.finish-confirm-actions-v841{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:16px!important;
  padding:0!important;
}
.project-confirm-actions-v836>button,.finish-confirm-actions-v841>button{
  width:100%!important;
  min-height:54px!important;
  padding:0 14px!important;
  border:0!important;
  font-size:13px!important;
  font-weight:500!important;
}
.finish-danger-v841{background:color-mix(in srgb,var(--rose) 23%,var(--surface-2))!important;color:var(--rose)!important}
.wb-confirm-v817{
  align-items:flex-end!important;
  justify-content:center!important;
  padding:12px max(12px,env(safe-area-inset-right)) max(12px,calc(env(safe-area-inset-bottom) + 8px)) max(12px,env(safe-area-inset-left))!important;
  background:rgba(4,6,10,.62)!important;
  backdrop-filter:blur(8px)!important;
}
.wb-confirm-card-v817{
  width:min(620px,100%)!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding:20px!important;
  background:var(--bg-elevated)!important;
  transform:translateY(18px)!important;
}
.wb-confirm-v817.show .wb-confirm-card-v817{transform:translateY(0)!important}
.wb-confirm-icon-v817{display:none!important}
.wb-confirm-copy-v817 h3{font-size:clamp(26px,7vw,36px)!important;font-weight:500!important;letter-spacing:-.045em!important}
.wb-confirm-copy-v817 p{font-size:12px!important;line-height:1.5!important}
.wb-confirm-actions-v817{grid-column:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.wb-confirm-actions-v817 button{min-height:54px!important}

/* Fillword hint chooser. */
.fillword-hint-sheet-v841{max-width:620px!important}
.fillword-hint-options-v841{display:grid!important;gap:10px!important;margin-top:14px!important}
.fillword-hint-options-v841>button{
  width:100%!important;
  min-height:92px!important;
  padding:14px!important;
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) auto 18px!important;
  align-items:center!important;
  gap:12px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  text-align:left!important;
}
.fillword-hint-options-v841>button>span{
  width:52px!important;
  height:52px!important;
  display:grid!important;
  place-items:center!important;
  background:color-mix(in srgb,var(--violet) 18%,var(--surface-2))!important;
  color:#a990ff!important;
}
.fillword-hint-options-v841>button>span svg{width:27px!important;height:27px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
.fillword-hint-options-v841>button>div{min-width:0!important;display:grid!important;gap:5px!important}
.fillword-hint-options-v841 strong{font-size:15px!important;line-height:1.2!important;font-weight:500!important}
.fillword-hint-options-v841 small{font-size:10px!important;line-height:1.4!important;color:var(--muted)!important}
.fillword-hint-options-v841 em{padding:7px 9px!important;background:var(--surface-2)!important;color:var(--accent)!important;font-size:9px!important;font-style:normal!important;white-space:nowrap!important}
.fillword-hint-options-v841>button>svg{width:18px!important;height:18px!important;color:var(--text-soft)!important}

/* One exact completion layout for Sudoku, syllables, fillwords and Expert. */
.screen-root.result-screen{
  overflow-y:auto!important;
  padding-top:clamp(8px,1.2vh,14px)!important;
}
.mode-result-v841{
  width:100%!important;
  max-width:620px!important;
  min-height:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding:10px 0 calc(20px + env(safe-area-inset-bottom))!important;
  display:grid!important;
  align-content:start!important;
  gap:11px!important;
  overflow:visible!important;
}
.mode-result-v841 .mode-result-brand-v840{min-height:52px!important;margin:0!important}
.mode-result-v841 .mode-result-brand-v840 img{width:48px!important;height:48px!important}
.mode-result-v841 .mode-result-icon-v840{width:66px!important;height:66px!important;margin:0 auto!important}
.mode-result-v841>h1{margin:0!important;font-size:clamp(28px,7vw,38px)!important;line-height:1.05!important;text-align:center!important}
.mode-result-v841>p{min-height:34px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;line-height:1.45!important}
.mode-result-v841 .mode-result-highlight-v840{
  width:100%!important;
  min-height:102px!important;
  margin:0!important;
  padding:16px!important;
}
.mode-result-v841 .mode-result-stats-v840{width:100%!important;gap:9px!important}
.mode-result-v841 .mode-result-stats-v840 article{min-height:88px!important;padding:10px 6px!important}
.mode-result-v841 .mode-result-actions-v840{width:100%!important;gap:9px!important}
.mode-result-v841 .mode-result-actions-v840>button{width:100%!important;min-height:56px!important}
.mode-result-economy-v841{display:block!important;text-align:center!important;color:var(--muted)!important;font-size:9px!important;line-height:1.35!important}

:root[data-theme="light"] .fillword-hint-options-v841>button,
:root[data-theme="light"] .wb-confirm-card-v817{background:#fff!important}

@media(max-width:430px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:8px!important;padding-inline:10px!important}
  .game-page,.special-game-v828{gap:8px!important}
  .game-header-v840,.special-game-header-v840{min-height:72px!important;padding:11px 12px!important}
  .master-game-header-v840{min-height:80px!important}
  .special-game-header-v840{grid-template-columns:minmax(0,1fr) 42px!important}
  .special-game-header-v840>.special-info-button-v830{width:42px!important;height:42px!important}
  .fillword-hint-options-v841>button{grid-template-columns:46px minmax(0,1fr) 16px!important;min-height:88px!important;padding:12px!important}
  .fillword-hint-options-v841>button>span{width:46px!important;height:46px!important}
  .fillword-hint-options-v841 em{grid-column:2!important;justify-self:start!important;margin-top:2px!important}
  .fillword-hint-options-v841>button>svg{grid-column:3!important;grid-row:1 / span 2!important}
  .project-confirm-actions-v836,.finish-confirm-actions-v841,.wb-confirm-actions-v817{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mode-result-v841{gap:9px!important;padding-top:6px!important}
  .mode-result-v841 .mode-result-brand-v840{min-height:46px!important}
  .mode-result-v841 .mode-result-brand-v840 img{width:44px!important;height:44px!important}
  .mode-result-v841 .mode-result-icon-v840{width:60px!important;height:60px!important}
  .mode-result-v841 .mode-result-highlight-v840{min-height:94px!important}
  .mode-result-v841 .mode-result-stats-v840 article{min-height:80px!important}
}
@media(max-width:350px){
  .project-confirm-actions-v836,.finish-confirm-actions-v841,.wb-confirm-actions-v817{grid-template-columns:1fr!important}
  .fillword-hint-options-v841>button{grid-template-columns:44px minmax(0,1fr) 16px!important;gap:9px!important}
  .mode-result-v841 .mode-result-stats-v840{gap:6px!important}
  .mode-result-v841 .mode-result-stats-v840 strong{font-size:20px!important}
}
@media(max-height:720px){
  .screen-root.game-active,#topbar.topbar-v890 + .screen-root.game-active{padding-top:6px!important}
  .game-page,.special-game-v828{gap:6px!important}
  .game-header-v840,.special-game-header-v840{min-height:66px!important;padding:9px 11px!important}
  .mode-result-v841{gap:7px!important;padding-top:4px!important}
  .mode-result-v841 .mode-result-icon-v840{width:54px!important;height:54px!important}
  .mode-result-v841 .mode-result-highlight-v840{min-height:82px!important}
  .mode-result-v841 .mode-result-stats-v840 article{min-height:72px!important}
  .mode-result-v841 .mode-result-actions-v840>button{min-height:50px!important}
}

/* Words Buster 8.8.42 — one visual system on every screen and viewport. */

/* Light theme uses a real tonal hierarchy instead of white surfaces merging together. */
:root[data-theme="light"]{
  --bg:#edf1f7!important;
  --bg-elevated:#f8faff!important;
  --surface:#ffffff!important;
  --surface-2:#e7ecf4!important;
  --surface-3:#dbe2ed!important;
  --surface-soft:#f2f5fa!important;
  --text:#11151d!important;
  --text-soft:#404958!important;
  --muted:#687386!important;
  --muted-2:#929cad!important;
  --line:transparent!important;
  --shadow:none!important;
  --shadow-soft:none!important;
}
:root[data-theme="light"] body,
:root[data-theme="light"] .app-shell,
:root[data-theme="light"] .screen-root,
:root[data-theme="light"] .bottom-nav{background-color:var(--bg)!important}
:root[data-theme="light"] .app-shell:before{background:radial-gradient(circle at 0 -8%,rgba(100,70,232,.09),transparent 34%),radial-gradient(circle at 105% 18%,rgba(95,143,23,.07),transparent 28%)!important}
:root[data-theme="light"] :where(.nav-inner,.topbar-v890,.profile-hero-v84,.profile-card-v84,.profile-stats-v84 article,.settings-row,.settings-item,.mission-card,.reward-card,.daily-reward-card,.balance-card,.home-active-duel,.recent-game-card,.special-status-v828,.syllable-meta-v836,.syllable-slot-v836,.syllable-answer-v828,.syllable-pool-v835,.fillword-slots-v828,.special-found-v828,.sudoku-number-pad-v828,.master-answer-v836,.master-tools-v836 button,.builder-tools button,.duel-player-v823,.duel-rules-v823,.chain-action-v825,.chain-last-word-v825,.chain-moves-v825,.mode-result-stats-v840 article,.mode-result-highlight-v840,.document-row,.support-upload,.language-option,.theme-option){
  background:#fff!important;
  color:var(--text)!important;
  border:0!important;
  box-shadow:none!important;
}
:root[data-theme="light"] :where(.header-balance,.header-icon,.wallet-stat,.profile-stat,.settings-icon,.recent-game-icon,.special-game-header-v840,.game-header-v840,.fillword-grid-v828,.sudoku-board-v828,.master-pangram-board-v836,.reaction-sheet-v829,.bottom-sheet,.modal-sheet){
  background:var(--bg-elevated)!important;
  border:0!important;
  box-shadow:none!important;
}
:root[data-theme="light"] :where(.settings-row,.settings-item,.recent-game-card,.mission-card,.reward-card,.document-row,.language-option,.theme-option,.support-upload){
  background:#fff!important;
}
:root[data-theme="light"] :where(.settings-icon,.recent-game-icon,.profile-stat-icon,.mode-result-icon-v840,.special-info-icon-v830,.fillword-hint-options-v841>button>span){
  background:var(--surface-2)!important;
}
:root[data-theme="light"] :where(input,textarea,select,.support-form input,.support-form textarea,.chain-compose-v888,.selected-word,.syllable-pieces-v828 button,.fillword-grid-v828 button,.sudoku-board-v828 button,.sudoku-keypad-v828 button,.letter-tile,.key){
  background:var(--surface-2)!important;
  color:var(--text)!important;
  border:0!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .bottom-sheet,
:root[data-theme="light"] .reaction-sheet-v829,
:root[data-theme="light"] .wb-confirm-card-v817{background:#f3f6fb!important}
:root[data-theme="light"] .sheet-overlay,
:root[data-theme="light"] .modal-backdrop,
:root[data-theme="light"] .reaction-overlay-backdrop-v829{background:rgba(29,36,49,.38)!important}
:root[data-theme="light"] .nav-inner{background:#f8faff!important}
:root[data-theme="light"] .nav-btn.active{background:#dfe9d8!important;color:#5f8f17!important}

/* Shared page and modal typography. */
#app :where(.settings-page,.profile-page,.support-sheet,.documents-sheet,.language-sheet,.theme-sheet) :where(h1,h2,.sheet-head h2){font-weight:500!important;letter-spacing:-.045em!important}
#app :where(.settings-row,.settings-item,.document-row,.language-option,.theme-option) :where(strong,h3){font-size:15px!important;line-height:1.22!important;font-weight:500!important}
#app :where(.settings-row,.settings-item,.document-row,.language-option,.theme-option) :where(small,p,span:not(.settings-icon)){font-size:10px!important;line-height:1.42!important;font-weight:400!important}
.bottom-sheet,.modal-sheet{
  width:min(620px,100%)!important;
  max-width:620px!important;
  padding:18px max(18px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;
  border-radius:22px 22px 0 0!important;
}
.bottom-sheet .sheet-head,.modal-sheet .sheet-head{margin:0 0 14px!important;padding-right:54px!important}
.bottom-sheet .sheet-head h2,.modal-sheet .sheet-head h2{margin:0!important;font-size:clamp(28px,7vw,36px)!important;line-height:1.05!important;font-weight:500!important;letter-spacing:-.05em!important}
.bottom-sheet .sheet-head p,.modal-sheet .sheet-head p{margin:8px 0 0!important;font-size:11px!important;line-height:1.48!important;color:var(--muted)!important;font-weight:400!important}
.bottom-sheet .sheet-close,.modal-sheet .sheet-close{width:46px!important;height:46px!important;right:14px!important;top:14px!important;background:var(--surface-2)!important}
.bottom-sheet :where(button,input,textarea,select){font-weight:400!important}
.bottom-sheet :where(.primary-button,.secondary-button,.finish-danger-v841){font-size:13px!important;font-weight:500!important}
.project-confirm-actions-v842{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:16px!important}
.project-confirm-actions-v842>button{width:100%!important;min-height:56px!important;padding:0 14px!important;border:0!important;font-size:13px!important;font-weight:500!important}
.project-confirm-actions-v842 .finish-danger-v841{background:color-mix(in srgb,var(--rose) 25%,var(--surface-2))!important;color:var(--rose)!important}

/* Small, uniform safe-area spacing on game pages. */
.screen-root.game-active{
  padding-top:max(10px,calc(var(--tg-content-safe-top) + 6px))!important;
  padding-right:max(12px,calc(var(--tg-content-safe-right) + 12px))!important;
  padding-left:max(12px,calc(var(--tg-content-safe-left) + 12px))!important;
  padding-bottom:max(18px,calc(var(--tg-content-safe-bottom) + 18px))!important;
}
.game-page,.special-game-v828{width:100%!important;max-width:760px!important;margin:0 auto!important;gap:10px!important}
.game-header-v840,.special-game-header-v840{min-height:76px!important;margin:0!important;padding:12px 14px!important}
.special-game-header-v840>div h1,.game-header-v840 strong{font-size:clamp(21px,5.2vw,27px)!important;font-weight:500!important;line-height:1.08!important}
.special-game-header-v840>div p,.game-header-v840 span{font-size:10px!important;line-height:1.35!important}
.master-pangram-game-v836{padding-top:0!important}
.master-pangram-board-v836{margin-inline:auto!important;transform:none!important}
.master-pangram-letter-v836{display:grid!important;place-items:center!important;text-align:center!important;line-height:1!important}
.master-center-v836{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
.master-progress-rail-v842 i{background:var(--surface-2)!important}
.master-progress-rail-v842 i.active{background:var(--violet)!important}
.master-progress-rail-v842 i.solved{background:var(--accent)!important}
.master-progress-rail-v842 i.skipped{background:var(--rose)!important}

/* Fillwords: exact centering, resilient square cells and correct word states. */
.fillword-grid-v842{
  width:min(100%,680px)!important;
  aspect-ratio:1/1!important;
  margin-inline:auto!important;
  grid-template-columns:repeat(var(--fill-size),minmax(0,1fr))!important;
  grid-template-rows:repeat(var(--fill-size),minmax(0,1fr))!important;
  gap:clamp(2px,.75vw,6px)!important;
  padding:clamp(7px,1.6vw,12px)!important;
}
.fillword-grid-v842 button{
  min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;
  display:grid!important;place-items:center!important;padding:0!important;text-align:center!important;
  font-size:clamp(17px,4.5vw,30px)!important;line-height:1!important;
}
.fillword-grid-v842 button>span{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;line-height:1!important;text-align:center!important}
.fillword-status-v842 .last-found-v842{text-decoration:line-through!important;text-decoration-thickness:2px!important;text-decoration-color:var(--accent)!important;color:var(--accent)!important}
.fillword-slots-v842 span.found{opacity:1!important;text-decoration:none!important;color:var(--accent)!important}
.fillword-slots-v842 span.found::after{display:none!important}
.fillword-slots-v842>div{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
.fillword-slots-v842>div>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:0 12px!important;text-align:center!important}
.special-history-words-v831.muted span{letter-spacing:.04em!important;color:var(--text-soft)!important}

/* Completion pages share exactly the same width and spacing. */
.screen-root.result-screen{padding-inline:max(12px,calc(var(--tg-content-safe-left) + 12px))!important}
.mode-result-v841{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin:0 auto!important;
  padding:8px 0 max(22px,calc(env(safe-area-inset-bottom) + 16px))!important;
  gap:10px!important;
}
.mode-result-v841 :where(.mode-result-highlight-v840,.mode-result-stats-v840,.mode-result-actions-v840,.mode-result-economy-v841){width:100%!important;max-width:none!important;margin-inline:0!important}
.mode-result-v841 .mode-result-highlight-v840{min-height:96px!important}
.mode-result-v841 .mode-result-stats-v840 article{min-width:0!important;min-height:84px!important}
.mode-result-v841 .mode-result-actions-v840>button{min-height:56px!important}

/* Reactions belong to a player row, not on top of an avatar. */
.chain-player-avatar-v825>.reaction-anchor-v825,
.duel-player-v823.you .reaction-anchor-v825,
.duel-ingame-v824 .reaction-anchor-v825,
.chain-player-head-v826 .reaction-anchor-v825,
.duel-player-avatar-row-v826 .reaction-anchor-v825,
.duel-live-player-head-v826 .reaction-anchor-v825{
  position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  transform:none!important;display:inline-grid!important;margin:6px auto 0!important;z-index:8!important;
}
.duel-live-player-head-v826,.duel-player-avatar-row-v826,.chain-player-head-v826{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important}
.reaction-toggle-v825{width:38px!important;height:38px!important;min-width:38px!important;background:color-mix(in srgb,var(--accent) 15%,var(--surface-2))!important;color:var(--accent)!important}
.reaction-pop-v829{left:50%!important;bottom:46px!important;transform:translateX(-50%)!important;max-width:min(280px,78vw)!important}
.reaction-sheet-v829{width:min(560px,100%)!important;padding:16px!important}
.reaction-sheet-v829>header>span{font-size:16px!important;font-weight:500!important}
.reaction-sheet-content-v829 .reaction-binary-v825 button,.reaction-sheet-content-v829 .reaction-texts-v825 button{display:grid!important;place-items:center!important;text-align:center!important}

/* A single clean VS badge: no pseudo element or second layer behind it. */
.duel-vs-v823:before,.duel-vs-v823:after,.duel-vs-v823 span,
.duel-ingame-v824>em:before,.duel-ingame-v824>em:after,
.duel-entry-pair-v823>strong:before,.duel-entry-pair-v823>strong:after{display:none!important;content:none!important}
.duel-vs-v823,.duel-ingame-v824>em,.duel-entry-pair-v823>strong,.duel-scoreboard-v31>b,.duel-result>b{
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  display:grid!important;place-items:center!important;margin:0 auto!important;padding:0!important;
  border-radius:14px!important;background:var(--accent)!important;color:var(--accent-ink)!important;
  font-size:11px!important;line-height:1!important;font-weight:500!important;box-shadow:none!important;
}
.duel-ingame-v824>em>strong{width:auto!important;height:auto!important;background:transparent!important;color:inherit!important;font-size:inherit!important}

/* Settings and legacy internal sheets now use the same rhythm. */
.settings-page .settings-row,.settings-page .settings-item{min-height:86px!important;padding:14px 16px!important;display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important}
.settings-page :where(.settings-row,.settings-item)>:where(.settings-icon,span:first-child){width:58px!important;height:58px!important;display:grid!important;place-items:center!important}
.settings-page :where(.settings-row,.settings-item)>div{min-width:0!important;display:grid!important;gap:5px!important}
.settings-page :where(.settings-row,.settings-item)>div strong{font-size:15px!important;font-weight:500!important}
.settings-page :where(.settings-row,.settings-item)>div small{font-size:10px!important;line-height:1.42!important;color:var(--muted)!important}
.language-sheet-v6 button,.theme-sheet-v6 button,.documents-sheet-v6 button{min-height:72px!important;padding:13px 16px!important;font-size:14px!important;font-weight:500!important}
.support-sheet-v6 label{font-size:10px!important;color:var(--muted)!important}
.support-sheet-v6 input{min-height:58px!important;padding:0 16px!important}
.support-sheet-v6 textarea{min-height:170px!important;padding:16px!important;resize:vertical!important}

@media(max-width:430px){
  .screen-root.game-active{padding-top:max(8px,calc(var(--tg-content-safe-top) + 4px))!important;padding-inline:10px!important}
  .game-page,.special-game-v828{gap:8px!important}
  .game-header-v840,.special-game-header-v840{min-height:70px!important;padding:10px 12px!important}
  .fillword-grid-v842{gap:3px!important;padding:7px!important}
  .fillword-grid-v842 button{font-size:clamp(16px,5.4vw,24px)!important}
  .mode-result-v841{width:100%!important;max-width:none!important;padding-top:4px!important}
  .bottom-sheet,.modal-sheet{padding:16px 14px calc(16px + env(safe-area-inset-bottom))!important}
  .bottom-sheet .sheet-head h2,.modal-sheet .sheet-head h2{font-size:30px!important}
}
@media(max-width:350px){
  .project-confirm-actions-v842{grid-template-columns:1fr!important}
  .fillword-grid-v842{gap:2px!important;padding:5px!important}
  .settings-page .settings-row,.settings-page .settings-item{grid-template-columns:50px minmax(0,1fr) auto!important;padding:12px!important;gap:10px!important}
  .settings-page :where(.settings-row,.settings-item)>:where(.settings-icon,span:first-child){width:50px!important;height:50px!important}
}
@media(max-height:700px){
  .screen-root.game-active{padding-top:max(6px,calc(var(--tg-content-safe-top) + 3px))!important}
  .game-page,.special-game-v828{gap:6px!important}
  .game-header-v840,.special-game-header-v840{min-height:64px!important;padding:8px 11px!important}
  .master-pangram-board-v836{max-height:min(54vh,520px)!important}
  .mode-result-v841{gap:7px!important;padding-top:2px!important}
}

/* Landscape and short-screen puzzle sizing: keep controls reachable without horizontal compression. */
.fillword-grid-v842{width:min(100%,clamp(280px,calc(100dvh - 260px),680px))!important}
.master-pangram-board-v836{width:min(100%,clamp(280px,calc(100dvh - 245px),660px))!important;height:auto!important;aspect-ratio:1/1!important}
@media(max-height:600px){
  .fillword-grid-v842{width:min(100%,clamp(250px,calc(100dvh - 225px),520px))!important}
  .master-pangram-board-v836{width:min(100%,clamp(250px,calc(100dvh - 215px),520px))!important}
}

/* Final safe-area override: older Expert selectors must not collapse the game header into Telegram chrome. */
#topbar.topbar-v890 + .screen-root.game-active,
#topbar.topbar-v890 + .screen-root.game-active:has(.master-pangram-game-v836){
  padding-top:max(10px,calc(var(--tg-content-safe-top) + 6px))!important;
}
@media(max-width:430px){
  #topbar.topbar-v890 + .screen-root.game-active,
  #topbar.topbar-v890 + .screen-root.game-active:has(.master-pangram-game-v836){
    padding-top:max(8px,calc(var(--tg-content-safe-top) + 4px))!important;
  }
}
@media(max-height:700px){
  #topbar.topbar-v890 + .screen-root.game-active,
  #topbar.topbar-v890 + .screen-root.game-active:has(.master-pangram-game-v836){
    padding-top:max(6px,calc(var(--tg-content-safe-top) + 3px))!important;
  }
}

/* Words Buster 8.8.43 — final safe layout, unified typography and social controls. */

/* Use the Telegram-aware guard calculated in JavaScript. Older rules used only
   contentSafeAreaInset and placed game headers underneath Telegram chrome. */
.screen-root.game-active,
#topbar.topbar-v890 + .screen-root.game-active,
.screen-root.result-screen,
#topbar.topbar-v890 + .screen-root.result-screen{
  top:0!important;
  bottom:0!important;
  width:auto!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding-top:calc(max(var(--app-safe-top,8px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)) + 10px)!important;
  padding-right:max(12px,calc(var(--tg-content-safe-right,0px) + 12px))!important;
  padding-bottom:max(22px,calc(var(--tg-content-safe-bottom,0px) + 22px))!important;
  padding-left:max(12px,calc(var(--tg-content-safe-left,0px) + 12px))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
  touch-action:pan-y!important;
  scroll-padding-top:12px!important;
}
.game-page,
.special-game-v828{
  width:100%!important;
  max-width:720px!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0 0 20px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.game-header-v840,
.special-game-header-v840{
  width:100%!important;
  min-width:0!important;
  min-height:76px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:13px 15px!important;
  align-items:center!important;
  overflow:visible!important;
}
.game-header-v840>div,
.special-game-header-v840>div{min-width:0!important}
.game-header-v840 strong,
.special-game-header-v840 h1{
  margin:0!important;
  font-size:clamp(21px,5.5vw,27px)!important;
  line-height:1.08!important;
  font-weight:500!important;
  letter-spacing:-.035em!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.game-header-v840 span,
.special-game-header-v840 p{
  margin-top:5px!important;
  font-size:11px!important;
  line-height:1.38!important;
  font-weight:400!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.game-header-v840 small,
.special-game-header-v840 small{
  font-size:9px!important;
  line-height:1.25!important;
  font-weight:500!important;
  letter-spacing:.12em!important;
}

/* All paid-mode result screens fill the same content column. */
.screen-root.result-screen{
  display:block!important;
}
.screen-root.result-screen>.result-page.mode-result-v840.mode-result-v841,
.result-page.mode-result-v840.mode-result-v841{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  justify-items:stretch!important;
  align-items:start!important;
  align-content:start!important;
  align-self:stretch!important;
  width:min(100%,720px)!important;
  max-width:720px!important;
  min-width:0!important;
  height:auto!important;
  min-height:100%!important;
  max-height:none!important;
  margin:0 auto!important;
  padding:8px 0 max(24px,calc(var(--tg-content-safe-bottom,0px) + 18px))!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  transform:none!important;
}
.mode-result-v841>*{min-width:0!important;max-width:none!important}
.mode-result-v841 :where(.mode-result-brand-v840,.mode-result-highlight-v840,.mode-result-stats-v840,.mode-result-actions-v840,.mode-result-economy-v841){
  width:100%!important;
  box-sizing:border-box!important;
  margin-inline:0!important;
}
.mode-result-v841 .mode-result-brand-v840{
  justify-content:center!important;
}
.mode-result-v841 .mode-result-highlight-v840{
  min-height:104px!important;
}
.mode-result-v841 .mode-result-stats-v840{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.mode-result-v841 .mode-result-actions-v840>button{
  width:100%!important;
  min-height:56px!important;
}

/* Profile typography and settings now follow one scale on every breakpoint. */
.profile-page-v85{
  width:100%!important;
  max-width:720px!important;
  margin:0 auto!important;
  gap:18px!important;
}
.profile-page-v85 .profile-hero-v7{
  grid-template-columns:118px minmax(0,1fr)!important;
  gap:20px!important;
  padding:22px!important;
  align-items:center!important;
}
.profile-page-v85 .profile-avatar-v7{
  width:118px!important;
  height:118px!important;
}
.profile-page-v85 .profile-avatar-wrap-v7>button{
  margin-top:9px!important;
  font-size:10px!important;
  line-height:1.25!important;
  font-weight:400!important;
}
.profile-page-v85 .profile-copy-v7>h1{
  margin:0!important;
  font-size:clamp(25px,5vw,32px)!important;
  line-height:1.05!important;
  font-weight:500!important;
  letter-spacing:-.045em!important;
}
.profile-page-v85 .profile-copy-v7>p{
  margin:6px 0 0!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:400!important;
}
.profile-page-v85 .profile-title-v7{
  min-height:66px!important;
  margin-top:14px!important;
  padding:12px 14px!important;
}
.profile-page-v85 .profile-title-v7 small,
.profile-page-v85 .profile-xp-v7 span,
.profile-page-v85 .profile-xp-v7 b{
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
.profile-page-v85 .profile-title-v7 strong{
  margin-top:4px!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
.profile-page-v85 .profile-stats-v7{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.profile-page-v85 .profile-stats-v7 article{
  min-height:98px!important;
  padding:14px 8px!important;
}
.profile-page-v85 .profile-stats-v7 strong{
  font-size:26px!important;
  line-height:1!important;
  font-weight:500!important;
}
.profile-page-v85 .profile-stats-v7 span{
  margin-top:7px!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:400!important;
}
.profile-page-v85 .section-heading.v7-heading>h2{
  font-size:28px!important;
  line-height:1.08!important;
  font-weight:500!important;
}
.profile-page-v85 .settings-list-v7{
  display:grid!important;
  gap:10px!important;
}
.profile-page-v85 .settings-list-v7 .settings-row-v840,
.profile-page-v85 .settings-list-v7 .challenge-privacy-inline-v820{
  min-height:88px!important;
  padding:15px 17px!important;
  grid-template-columns:56px minmax(0,1fr) auto!important;
  gap:15px!important;
}
.profile-page-v85 .settings-list-v7 .settings-row-v840>span,
.profile-page-v85 .settings-list-v7 .challenge-privacy-inline-v820>span{
  width:56px!important;
  height:56px!important;
}
.profile-page-v85 .settings-list-v7 :where(.settings-row-v840,.challenge-privacy-inline-v820)>div{
  gap:5px!important;
}
.profile-page-v85 .settings-list-v7 :where(.settings-row-v840,.challenge-privacy-inline-v820) strong{
  font-size:15px!important;
  line-height:1.24!important;
  font-weight:500!important;
}
.profile-page-v85 .settings-list-v7 :where(.settings-row-v840,.challenge-privacy-inline-v820) small{
  font-size:11px!important;
  line-height:1.42!important;
  font-weight:400!important;
}

/* Internal sheets use the same type scale as current sheets. */
#modalContent :where(.sheet-head h2,.support-sheet-v6 h2,.documents-sheet-v6 h2,.language-sheet-v6 h2,.theme-sheet-v6 h2){
  font-size:clamp(28px,7vw,34px)!important;
  line-height:1.06!important;
  font-weight:500!important;
  letter-spacing:-.045em!important;
}
#modalContent :where(.sheet-head p,.support-sheet-v6>p,.documents-sheet-v6>p,.language-sheet-v6>p,.theme-sheet-v6>p){
  font-size:12px!important;
  line-height:1.5!important;
  font-weight:400!important;
}
#modalContent :where(.language-option,.theme-option,.document-row,.fillword-hint-options-v841>button) strong{
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
#modalContent :where(.language-option,.theme-option,.document-row,.fillword-hint-options-v841>button) small{
  font-size:11px!important;
  line-height:1.42!important;
  font-weight:400!important;
}

/* Reactions are a separate, visible player control row. They are never nested
   inside a clipped avatar container. */
.social-reaction-row-v843{
  position:relative!important;
  z-index:20!important;
  width:100%!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin:8px 0 0!important;
  overflow:visible!important;
}
.social-reaction-row-v843 .reaction-anchor-v825{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  display:inline-grid!important;
  place-items:center!important;
  margin:0!important;
  overflow:visible!important;
  z-index:25!important;
}
.social-reaction-row-v843 .reaction-toggle-v825{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  margin:0!important;
}
.social-reaction-row-v843 .reaction-pop-v824,
.social-reaction-row-v843 .reaction-pop-v829{
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:calc(100% + 9px)!important;
  transform:translateX(-50%)!important;
  width:max-content!important;
  max-width:min(300px,82vw)!important;
  z-index:100!important;
  overflow:visible!important;
}
.duel-player-v823,
.duel-versus-v823,
.duel-hub-v824,
.duel-live-shell-v824,
.chain-score-v825{
  overflow:visible!important;
}
.duel-player-avatar-v823,
.duel-avatar-v823,
.duel-ingame-avatar-v823,
.chain-player-avatar-v825{
  overflow:hidden!important;
}

/* Exact VS geometry without an extra inherited badge behind it. */
.duel-search-board-v823,
.duel-versus-v823{
  grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
}
.duel-vs-v823,
.duel-vs-v825{
  position:relative!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  align-self:center!important;
  justify-self:center!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.duel-vs-v823>b,
.duel-vs-v825>b{
  all:unset!important;
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  color:inherit!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:500!important;
  font-style:normal!important;
  box-sizing:border-box!important;
}
.duel-vs-v823>span,
.duel-vs-v825>span,
.duel-vs-v823:before,
.duel-vs-v823:after,
.duel-vs-v825:before,
.duel-vs-v825:after{display:none!important;content:none!important}
.duel-ingame-v823,
.duel-ingame-v824{
  grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  overflow:visible!important;
}
.duel-ingame-v824>em{
  all:unset!important;
  width:48px!important;
  height:48px!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  border-radius:14px!important;
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
  box-sizing:border-box!important;
}
.duel-ingame-v824>em>strong{
  all:unset!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  color:inherit!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:500!important;
}

/* Cooldown text changes in place, so digits must not change the toast width. */
.toast{font-variant-numeric:tabular-nums!important;min-width:min(260px,calc(100vw - 32px))!important;text-align:center!important}

/* Stronger tonal hierarchy for the light theme without borders or shadows. */
:root[data-theme="light"]{
  --bg:#edf1f7!important;
  --bg-elevated:#f6f8fc!important;
  --surface:#ffffff!important;
  --surface-2:#e4e9f2!important;
  --surface-3:#d7deea!important;
  --surface-soft:#f1f4f9!important;
  --text:#11151d!important;
  --text-soft:#3f4858!important;
  --muted:#667286!important;
  --muted-2:#8e99aa!important;
}
:root[data-theme="light"] :where(.profile-page-v85 .profile-hero-v7,.profile-page-v85 .profile-stats-v7 article,.profile-page-v85 .settings-row-v840,.profile-page-v85 .challenge-privacy-inline-v820,.mode-result-v841 .mode-result-stats-v840 article,.mode-result-v841 .mode-result-highlight-v840,.game-header-v840,.special-game-header-v840){
  background:#fff!important;
  color:var(--text)!important;
  box-shadow:none!important;
  border:0!important;
}
:root[data-theme="light"] .profile-page-v85 .profile-hero-v7{
  background:linear-gradient(135deg,#e9e4ff 0%,#fff 54%,#e7f1dc 100%)!important;
}
:root[data-theme="light"] .profile-page-v85 .settings-list-v7 :where(.settings-row-v840,.challenge-privacy-inline-v820)>span{
  background:#e7ebf3!important;
}
:root[data-theme="light"] .bottom-sheet,
:root[data-theme="light"] .modal-sheet,
:root[data-theme="light"] .reaction-sheet-v829{
  background:#f4f7fb!important;
}

@media(max-width:520px){
  .profile-page-v85 .profile-hero-v7{
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:15px!important;
    padding:17px!important;
  }
  .profile-page-v85 .profile-avatar-v7{width:92px!important;height:92px!important}
  .profile-page-v85 .profile-copy-v7>h1{font-size:24px!important}
  .profile-page-v85 .profile-stats-v7{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .profile-page-v85 .profile-stats-v7 article{min-height:88px!important}
  .profile-page-v85 .settings-list-v7 .settings-row-v840,
  .profile-page-v85 .settings-list-v7 .challenge-privacy-inline-v820{
    min-height:84px!important;
    grid-template-columns:52px minmax(0,1fr) auto!important;
    padding:13px 14px!important;
    gap:12px!important;
  }
  .profile-page-v85 .settings-list-v7 .settings-row-v840>span,
  .profile-page-v85 .settings-list-v7 .challenge-privacy-inline-v820>span{
    width:52px!important;height:52px!important;
  }
  .screen-root.result-screen>.result-page.mode-result-v840.mode-result-v841,
  .result-page.mode-result-v840.mode-result-v841{
    width:100%!important;
    max-width:none!important;
  }
}
@media(max-width:390px){
  .screen-root.game-active,
  #topbar.topbar-v890 + .screen-root.game-active,
  .screen-root.result-screen,
  #topbar.topbar-v890 + .screen-root.result-screen{
    padding-top:calc(max(var(--app-safe-top,8px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)) + 8px)!important;
    padding-right:10px!important;
    padding-left:10px!important;
  }
  .game-header-v840,.special-game-header-v840{min-height:70px!important;padding:11px 12px!important}
  .duel-search-board-v823,.duel-versus-v823{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr)!important;gap:6px!important}
  .duel-vs-v823,.duel-vs-v825,.duel-ingame-v824>em{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
  .duel-ingame-v823,.duel-ingame-v824{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;gap:6px!important}
}
@media(max-width:340px){
  .profile-page-v85 .profile-hero-v7{grid-template-columns:1fr!important;text-align:center!important}
  .profile-page-v85 .profile-avatar-wrap-v7{align-items:center!important}
  .profile-page-v85 .profile-copy-v7>p{text-align:center!important}
  .profile-page-v85 .profile-title-v7{text-align:left!important}
  .mode-result-v841 .mode-result-stats-v840{gap:6px!important}
}
@media(max-height:700px){
  .screen-root.game-active,
  #topbar.topbar-v890 + .screen-root.game-active,
  .screen-root.result-screen,
  #topbar.topbar-v890 + .screen-root.result-screen{
    padding-top:calc(max(var(--app-safe-top,8px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)) + 6px)!important;
  }
  .game-page,.special-game-v828{gap:7px!important}
  .game-header-v840,.special-game-header-v840{min-height:66px!important;padding:9px 11px!important}
}

/* 8.8.43 precision pass — reactions are readable beside the control, not over avatars. */
.social-reaction-row-v843{
  flex-wrap:wrap!important;
  min-height:52px!important;
  padding:2px 0!important;
}
.social-reaction-row-v843 .reaction-anchor-v825{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  width:auto!important;
  max-width:100%!important;
}
.social-reaction-row-v843 .reaction-toggle-v825{order:1!important;flex:0 0 auto!important}
.social-reaction-row-v843 .reaction-pop-v824,
.social-reaction-row-v843 .reaction-pop-v829{
  order:2!important;
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  min-height:44px!important;
  max-width:min(310px,calc(100vw - 92px))!important;
  margin:0!important;
  animation:v843ReactionVisible var(--reaction-life,4200ms) ease forwards!important;
}
@keyframes v843ReactionVisible{
  0%{opacity:0;transform:translateY(4px)}
  9%,84%{opacity:1;transform:none}
  100%{opacity:0;transform:translateY(-2px);visibility:hidden}
}

/* A single, full-width result column for every paid puzzle, including Sudoku. */
.screen-root.result-screen>.mode-result-v840.mode-result-v841,
.screen-root.result-screen>.mode-result-v840.mode-result-v841.mode-result-sudoku,
.screen-root.result-screen>.mode-result-v840.mode-result-v841.mode-result-fillwords,
.screen-root.result-screen>.mode-result-v840.mode-result-v841.mode-result-syllables,
.screen-root.result-screen>.mode-result-v840.mode-result-v841.mode-result-master{
  width:100%!important;
  max-width:720px!important;
  justify-self:center!important;
}
.mode-result-v841.mode-result-sudoku :where(.mode-result-highlight-v840,.mode-result-stats-v840,.mode-result-actions-v840,.mode-result-economy-v841),
.mode-result-v841.mode-result-fillwords :where(.mode-result-highlight-v840,.mode-result-stats-v840,.mode-result-actions-v840,.mode-result-economy-v841),
.mode-result-v841.mode-result-syllables :where(.mode-result-highlight-v840,.mode-result-stats-v840,.mode-result-actions-v840,.mode-result-economy-v841),
.mode-result-v841.mode-result-master :where(.mode-result-highlight-v840,.mode-result-stats-v840,.mode-result-actions-v840,.mode-result-economy-v841){
  width:100%!important;
  max-width:none!important;
}

/* Do not let compact-device rules collapse a game back into Telegram chrome. */
@media(max-width:430px){
  .screen-root.game-active,
  #topbar.topbar-v890 + .screen-root.game-active,
  .screen-root.result-screen,
  #topbar.topbar-v890 + .screen-root.result-screen{
    padding-top:calc(max(var(--app-safe-top,72px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)) + 12px)!important;
  }
}
@media(max-height:700px){
  .screen-root.game-active,
  #topbar.topbar-v890 + .screen-root.game-active,
  .screen-root.result-screen,
  #topbar.topbar-v890 + .screen-root.result-screen{
    padding-top:calc(max(var(--app-safe-top,60px),var(--tg-safe-top,0px),var(--tg-content-safe-top,0px)) + 9px)!important;
  }
}

/* Words Buster 8.8.44 — authoritative adaptive visual system. */
:root{
  --page-gutter:12px;
  --game-safe-top:20px;
  --result-safe-top:18px;
  --ui-weight:400;
  --ui-weight-medium:500;
  --ui-title-size:clamp(25px,6.4vw,34px);
  --ui-section-size:clamp(22px,5.6vw,30px);
  --ui-row-title:15px;
  --ui-caption-size:11px;
}
html,body,#app{width:100%;max-width:100%;overflow:hidden}
body,#app,.screen-root,.bottom-sheet,button,input,textarea,select{font-weight:var(--ui-weight)!important}
button,strong,b,h1,h2,h3,h4{font-weight:var(--ui-weight-medium)!important}

/* One safe scrolling viewport for every solo game and result. */
body.in-game #screen.screen-root.game-active,
body.result-active #screen.screen-root.game-active,
#screen.screen-root.game-active,
#topbar.topbar-v890.hidden + #screen.screen-root.game-active{
  position:absolute!important;inset:0!important;width:100%!important;
  height:var(--visual-height,100dvh)!important;max-height:var(--visual-height,100dvh)!important;
  padding-top:var(--game-safe-top)!important;
  padding-right:max(var(--page-gutter),calc(var(--page-gutter) + var(--tg-content-safe-right,0px)))!important;
  padding-bottom:max(18px,calc(18px + var(--tg-content-safe-bottom,0px)))!important;
  padding-left:max(var(--page-gutter),calc(var(--page-gutter) + var(--tg-content-safe-left,0px)))!important;
  box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  scroll-padding-top:var(--game-safe-top)!important;
}
body.result-active #screen.screen-root.result-screen,#screen.screen-root.result-screen{padding-top:var(--result-safe-top)!important}
#screen.game-active>.game-page,#screen.game-active>.special-game-v828,#screen.game-active>.master-pangram-game-v836{
  width:min(100%,720px)!important;max-width:720px!important;min-width:0!important;margin:0 auto!important;box-sizing:border-box!important;
}
.game-header [data-exit-game],.game-header-v840 [data-exit-game],.special-game-header-v828>[data-exit-game],.master-pangram-game-v836 [data-exit-game]{display:none!important}
.game-header-v840,.special-game-header-v828{
  width:100%!important;min-height:76px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;
  align-items:center!important;gap:12px!important;padding:13px 14px!important;margin:0!important;
  background:var(--surface)!important;border:0!important;box-shadow:none!important;overflow:hidden!important;
}
.game-header-v840>div,.special-game-header-v828>div{min-width:0!important}
.game-header-v840 h1,.special-game-header-v828 h1{margin:2px 0 0!important;font-size:22px!important;line-height:1.08!important;letter-spacing:-.035em!important;white-space:normal!important;overflow-wrap:anywhere!important}
.game-header-v840 small,.special-game-header-v828 small{display:block!important;font-size:10px!important;line-height:1.2!important;letter-spacing:.16em!important;color:var(--accent)!important}
.game-header-v840 p,.special-game-header-v828 p{margin:5px 0 0!important;font-size:11px!important;line-height:1.35!important;color:var(--muted)!important;white-space:normal!important}
.special-game-header-v828>.special-xp-chip-v828{width:48px!important;height:48px!important;min-width:48px!important;justify-self:end!important;margin:0!important}

/* One result geometry for all game modes, including Sudoku. */
#screen.result-screen>.result-page,#screen.result-screen>.result-page-v844,#screen.result-screen>.mode-result-v840,.result-page-v844{
  width:min(100%,680px)!important;max-width:680px!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0 auto!important;padding:8px 0 max(24px,calc(18px + var(--tg-content-safe-bottom,0px)))!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:12px!important;
  overflow:visible!important;box-sizing:border-box!important;
}
.result-page-v844>.result-block-v844,.result-page-v844 :where(.mode-result-highlight-v840,.mode-result-stats-v840,.mode-result-actions-v840,.mode-result-economy-v841){width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
.mode-result-brand-v840{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:40px!important;text-align:center!important}
.mode-result-brand-v840 img{width:42px!important;height:42px!important;object-fit:contain!important}
.mode-result-brand-v840 span{font-size:10px!important;line-height:1.25!important;letter-spacing:.16em!important;color:var(--muted)!important}
.mode-result-icon-v840{width:82px!important;height:82px!important;margin:0 auto!important;display:grid!important;place-items:center!important;background:var(--surface)!important}
.mode-result-icon-v840 svg{width:34px!important;height:34px!important}
.result-page-v844>h1,.mode-result-v841>h1{margin:0!important;text-align:center!important;font-size:var(--ui-title-size)!important;line-height:1.04!important;letter-spacing:-.045em!important}
.result-page-v844>p,.mode-result-v841>p{margin:0 auto!important;max-width:520px!important;text-align:center!important;font-size:13px!important;line-height:1.45!important;color:var(--muted)!important}
.mode-result-highlight-v840{min-height:116px!important;padding:20px!important;display:grid!important;place-items:center!important;align-content:center!important;text-align:center!important;background:linear-gradient(135deg,rgba(157,255,63,.10),rgba(123,92,255,.13))!important}
.mode-result-highlight-v840 strong{font-size:34px!important;line-height:1!important}
.mode-result-highlight-v840 span{margin-top:8px!important;font-size:11px!important;color:var(--muted)!important}
.mode-result-stats-v840{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
.mode-result-stats-v840 article{min-width:0!important;min-height:96px!important;padding:12px 6px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;background:var(--surface)!important;text-align:center!important}
.mode-result-stats-v840 strong{margin:0!important;font-size:26px!important;line-height:1!important}
.mode-result-stats-v840 span{margin:0!important;font-size:10px!important;line-height:1.25!important;color:var(--muted)!important}
.mode-result-actions-v840{display:grid!important;gap:9px!important;width:100%!important}
.mode-result-actions-v840>button{width:100%!important;min-height:56px!important;margin:0!important}
.mode-result-economy-v841{display:block!important;text-align:center!important;font-size:10px!important;line-height:1.35!important;color:var(--muted)!important}

/* Profile and settings share a single text scale. */
.profile-page-v85{width:100%!important;max-width:720px!important;margin:0 auto!important;gap:18px!important}
.profile-page-v85 .profile-hero-v7{grid-template-columns:112px minmax(0,1fr)!important;gap:18px!important;padding:20px!important;align-items:center!important}
.profile-page-v85 .profile-avatar-v7{width:112px!important;height:112px!important}
.profile-page-v85 .profile-avatar-wrap-v7>button{margin-top:8px!important;font-size:10px!important;line-height:1.25!important;color:var(--muted)!important;text-align:center!important}
.profile-page-v85 .profile-copy-v7{min-width:0!important}
.profile-page-v85 .profile-copy-v7>h1{margin:0!important;font-size:26px!important;line-height:1.06!important;letter-spacing:-.04em!important}
.profile-page-v85 .profile-copy-v7>p{margin:6px 0 14px!important;font-size:12px!important;line-height:1.35!important;color:var(--muted)!important}
.profile-page-v85 .profile-title-v7{min-height:64px!important;padding:12px 14px!important;text-align:left!important}
.profile-page-v85 .profile-title-v7 small{font-size:10px!important;line-height:1.2!important;color:var(--muted)!important}
.profile-page-v85 .profile-title-v7 strong{font-size:16px!important;line-height:1.25!important}
.profile-page-v85 .profile-xp-v7{margin-top:14px!important}
.profile-page-v85 .profile-xp-v7 span,.profile-page-v85 .profile-xp-v7 b{font-size:10px!important}
.profile-page-v85 .profile-stats-v7{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.profile-page-v85 .profile-stats-v7 article{min-height:96px!important;padding:14px!important;background:var(--surface)!important;text-align:center!important}
.profile-page-v85 .profile-stats-v7 strong{font-size:28px!important;line-height:1!important}
.profile-page-v85 .profile-stats-v7 span{margin-top:8px!important;font-size:11px!important;color:var(--muted)!important}
.profile-page-v85 .section-heading h2{font-size:var(--ui-section-size)!important;line-height:1.08!important;letter-spacing:-.04em!important}
.profile-page-v85 .settings-list-v7{display:grid!important;gap:9px!important}
.profile-page-v85 .settings-list-v7 :where(.settings-row,.settings-row-v840,.challenge-privacy-inline-v820){width:100%!important;min-height:78px!important;padding:12px 14px!important;display:grid!important;grid-template-columns:50px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;background:var(--surface)!important}
.profile-page-v85 .settings-list-v7 :where(.settings-row,.settings-row-v840,.challenge-privacy-inline-v820)>span{width:50px!important;height:50px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important}
.profile-page-v85 .settings-list-v7 :where(.settings-row,.settings-row-v840,.challenge-privacy-inline-v820)>span svg{width:22px!important;height:22px!important}
.profile-page-v85 .settings-list-v7 strong{font-size:var(--ui-row-title)!important;line-height:1.25!important;color:var(--text)!important}
.profile-page-v85 .settings-list-v7 small{display:block!important;margin-top:4px!important;font-size:var(--ui-caption-size)!important;line-height:1.35!important;color:var(--muted)!important}

/* Current and legacy sheets use the same typography and action layout. */
#modal .bottom-sheet.unified-sheet-v844,#modal .bottom-sheet{width:min(100%,720px)!important;left:50%!important;right:auto!important;transform:translate(-50%,104%)!important;max-height:min(88dvh,calc(var(--visual-height,100dvh) - 12px))!important;padding-right:max(16px,calc(16px + var(--tg-content-safe-right,0px)))!important;padding-bottom:max(20px,calc(20px + var(--tg-content-safe-bottom,0px)))!important;padding-left:max(16px,calc(16px + var(--tg-content-safe-left,0px)))!important;background:var(--bg-elevated)!important;box-shadow:none!important;border:0!important}
#modal.open .bottom-sheet.unified-sheet-v844,#modal.open .bottom-sheet{transform:translate(-50%,0)!important}
#modalContent{display:block!important;min-width:0!important}
#modalContent>.sheet-heading,#modalContent>.sheet-head,#modalContent>header:first-child{margin:0 0 18px!important}
#modalContent h1{margin:0!important;font-size:28px!important;line-height:1.06!important;letter-spacing:-.04em!important}
#modalContent h2{margin:0!important;font-size:22px!important;line-height:1.1!important;letter-spacing:-.035em!important}
#modalContent h3{font-size:17px!important;line-height:1.25!important}
#modalContent p{font-size:13px!important;line-height:1.48!important;color:var(--muted)!important}
#modalContent :where(.language-options-v85>button,.theme-options>button,.theme-options-v7>button,.document-row,.notification-card-v824,.settings-row,.hint-option,.fillword-hint-options-v841>button){min-height:72px!important;padding:12px 14px!important;background:var(--surface)!important;color:var(--text)!important;border:0!important;box-shadow:none!important}
#modalContent :where(.language-options-v85>button,.theme-options>button,.theme-options-v7>button,.document-row,.notification-card-v824,.settings-row,.hint-option,.fillword-hint-options-v841>button) strong{font-size:15px!important;line-height:1.25!important}
#modalContent :where(.language-options-v85>button,.theme-options>button,.theme-options-v7>button,.document-row,.notification-card-v824,.settings-row,.hint-option,.fillword-hint-options-v841>button) small{font-size:11px!important;line-height:1.35!important;color:var(--muted)!important}
.project-confirm-actions-v6,.project-confirm-actions-v836,.project-confirm-actions-v842,.finish-confirm-actions-v841{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important;margin-top:18px!important}
.project-confirm-actions-v6>button,.project-confirm-actions-v836>button,.project-confirm-actions-v842>button,.finish-confirm-actions-v841>button{width:100%!important;min-width:0!important;min-height:58px!important;margin:0!important;padding:10px 12px!important;font-size:14px!important;line-height:1.2!important;white-space:normal!important}
.finish-danger-v841{background:rgba(255,94,125,.19)!important;color:#ff6d8a!important;border:0!important}

/* Localized support attachment. */
.support-form-v844{display:grid!important;gap:13px!important}
.support-field-v844{display:grid!important;gap:7px!important}
.support-field-v844>span{font-size:11px!important;line-height:1.3!important;color:var(--muted)!important}
.support-field-v844 input,.support-field-v844 textarea{width:100%!important;box-sizing:border-box!important;border:0!important;outline:0!important;background:var(--surface-2)!important;color:var(--text)!important;font-size:14px!important;line-height:1.4!important}
.support-field-v844 input{height:56px!important;padding:0 14px!important}
.support-field-v844 textarea{min-height:150px!important;padding:14px!important;resize:vertical!important}
.support-file-v844{position:relative!important;min-height:78px!important;padding:12px 13px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;background:var(--surface)!important;cursor:pointer!important;overflow:hidden!important}
.support-file-v844 .support-file-icon-v844{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important;color:var(--muted)!important}
.support-file-v844 .support-file-icon-v844 svg{width:21px!important;height:21px!important}
.support-file-v844>div{min-width:0!important}
.support-file-v844 strong{display:block!important;font-size:14px!important;line-height:1.25!important;color:var(--text)!important}
.support-file-v844 small{display:block!important;margin-top:4px!important;font-size:10px!important;line-height:1.35!important;color:var(--muted)!important}
.support-file-v844>em{max-width:128px!important;padding:9px 11px!important;background:var(--surface-2)!important;color:var(--text-soft)!important;font-size:10px!important;line-height:1.2!important;font-style:normal!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.support-file-v844.has-file>em{background:color-mix(in srgb,var(--accent) 18%,var(--surface-2))!important;color:var(--accent)!important}
.support-file-v844 input[type="file"]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}

/* Strong, permanent tonal hierarchy in the light theme. */
:root[data-theme="light"]{--bg:#edf1f7!important;--bg-elevated:#f7f9fc!important;--surface:#ffffff!important;--surface-2:#e8edf5!important;--surface-3:#dbe2ed!important;--surface-soft:#f2f5f9!important;--text:#11151d!important;--text-soft:#424c5c!important;--muted:#68758a!important;--muted-2:#8b96a7!important}
:root[data-theme="light"] body,:root[data-theme="light"] #app,:root[data-theme="light"] .screen-root{background:#edf1f7!important;color:#11151d!important}
:root[data-theme="light"] .topbar-v890,:root[data-theme="light"] .nav-inner{background:#f7f9fc!important}
:root[data-theme="light"] :where(.daily-hero-v85,.reward-card,.mission-card,.recent-game-card,.profile-stats-v7 article,.settings-row,.settings-row-v840,.challenge-privacy-inline-v820,.game-header-v840,.special-game-header-v828,.special-status-v828,.syllable-answer-v828,.syllable-slot-v836,.fillword-slots-v842,.special-found-v828,.mode-result-stats-v840 article,.document-row,.support-upload,.language-options-v85>button,.theme-options>button,.notification-card-v824,.support-file-v844,.fillword-hint-options-v841>button){background:#fff!important;color:#11151d!important;border:0!important;box-shadow:none!important}
:root[data-theme="light"] :where(.top-resource-v890,.profile-title-v7,.letter-tile,.key,.syllable-pieces-v828 button,.fillword-grid-v828 button,.sudoku-number-pad-v828 button,.master-tools-v836 button,.project-confirm-actions-v842 .secondary-button,.support-field-v844 input,.support-field-v844 textarea,.support-file-v844>em,.support-file-v844 .support-file-icon-v844,.mode-result-icon-v840,.recent-unified-icon-v841){background:#e5eaf2!important;color:#11151d!important}
:root[data-theme="light"] .bottom-sheet{background:#f6f8fc!important}
:root[data-theme="light"] .modal-backdrop{background:rgba(28,34,45,.34)!important}
:root[data-theme="light"] .profile-page-v85 .profile-hero-v7{background:linear-gradient(135deg,#e8e3ff 0%,#fff 53%,#e6f1dc 100%)!important}
:root[data-theme="light"] .mode-result-highlight-v840{background:linear-gradient(135deg,#e2efd8 0%,#f8f9fc 48%,#e8e3ff 100%)!important}

/* Reactions are never clipped by avatars and the cooldown visibly changes. */
.social-reaction-row-v843,.social-reaction-row-v844{position:relative!important;z-index:20!important;width:100%!important;min-width:0!important;min-height:54px!important;display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;align-items:center!important;justify-content:start!important;gap:9px!important;padding:5px 0!important;margin:0!important;overflow:visible!important}
.social-reaction-row-v844 .reaction-anchor-v825,.social-reaction-row-v844 .reaction-anchor-v844{position:static!important;width:46px!important;height:46px!important;display:block!important;overflow:visible!important}
.social-reaction-row-v844 .reaction-toggle-v825{width:46px!important;height:46px!important;min-width:46px!important;margin:0!important;display:grid!important;place-items:center!important;background:color-mix(in srgb,var(--accent) 16%,var(--surface))!important}
.reaction-display-v844{width:100%!important;min-width:0!important;min-height:46px!important;display:flex!important;align-items:center!important;overflow:visible!important}
.reaction-display-v844:empty{display:none!important}
.reaction-display-v844 .reaction-pop-v824,.reaction-display-v844 .reaction-pop-v829{position:relative!important;inset:auto!important;transform:none!important;width:min(100%,340px)!important;max-width:100%!important;min-height:46px!important;margin:0!important;padding:8px 11px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;background:var(--surface)!important;color:var(--text)!important;overflow:hidden!important;box-shadow:none!important}
.reaction-display-v844 .reaction-pop-v824 strong,.reaction-display-v844 .reaction-pop-v829 strong{font-size:12px!important;line-height:1.25!important;white-space:normal!important}
.reaction-display-v844 .reaction-pop-v824 small,.reaction-display-v844 .reaction-pop-v829 small{font-size:9px!important;color:var(--muted)!important}
.reaction-toggle-v825.cooling-down-v844{position:relative!important;opacity:.78!important}
.reaction-toggle-v825.cooling-down-v844:after{content:attr(data-cooldown-seconds)!important;position:absolute!important;right:-4px!important;top:-4px!important;width:20px!important;height:20px!important;display:grid!important;place-items:center!important;background:var(--accent)!important;color:var(--accent-ink)!important;font-size:9px!important;line-height:1!important}

/* Social sheets use the full safe usable height. */
#modal .bottom-sheet:has(.challenge-result-v84),#modal .bottom-sheet:has(.chain-game-v825),#modal .bottom-sheet:has(.chain-game-v826),#modal .bottom-sheet:has(.duel-hub-v824),#modal .bottom-sheet:has(.duel-live-shell-v824){max-height:min(94dvh,calc(var(--visual-height,100dvh) - var(--app-safe-top,60px) - 6px))!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important}

/* One clean VS layer. */
.duel-search-board-v823,.duel-versus-v823,.duel-ingame-v823,.duel-ingame-v824{isolation:isolate!important;overflow:visible!important}
.duel-vs-v823,.duel-vs-v825,.duel-ingame-v824>em{position:relative!important;z-index:4!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;background:var(--accent)!important;background-image:none!important;color:var(--accent-ink)!important;border:0!important;box-shadow:none!important;overflow:hidden!important;font-size:12px!important;line-height:1!important;font-style:normal!important}
.duel-vs-v823:before,.duel-vs-v823:after,.duel-vs-v825:before,.duel-vs-v825:after,.duel-ingame-v824>em:before,.duel-ingame-v824>em:after{display:none!important;content:none!important}
.duel-vs-v823>*,.duel-vs-v825>*,.duel-ingame-v824>em>*{all:unset!important;display:grid!important;place-items:center!important;width:100%!important;height:100%!important;color:inherit!important;font-size:12px!important;font-weight:500!important}

/* Puzzle boards stay centered and square. */
.fillword-grid-v828,.sudoku-board-v828,.master-board-v836,.master-wheel-v836{width:min(100%,620px)!important;max-width:620px!important;margin-right:auto!important;margin-left:auto!important;box-sizing:border-box!important}
.fillword-grid-v828 button,.sudoku-board-v828 button{display:grid!important;place-items:center!important;text-align:center!important;line-height:1!important}
.fillword-grid-v828 button>span{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;line-height:1!important}
.fillword-status-v842 .last-found-v842{text-decoration:line-through!important;text-decoration-thickness:1px!important;text-decoration-color:var(--accent)!important}
.fillword-slots-v842 .found{text-decoration:none!important}
.master-progress-rail-v842 i.skipped{background:#ff6d8a!important}
.master-progress-rail-v842 i.solved{background:var(--accent)!important}

/* History rows are geometrically identical. */
.recent-unified-v841,.history-all-v85>button{width:100%!important;min-height:88px!important;display:grid!important;grid-template-columns:54px minmax(0,1fr) auto 24px!important;align-items:center!important;gap:12px!important;padding:13px 14px!important;background:var(--surface)!important;text-align:left!important}
.recent-unified-icon-v841,.history-all-v85>button>span:first-child{width:54px!important;height:54px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important}
.recent-unified-copy-v836 strong,.history-all-v85>button>div strong{font-size:15px!important;line-height:1.25!important}
.recent-unified-copy-v836 small,.history-all-v85>button>div small{display:block!important;margin-top:4px!important;font-size:10px!important;line-height:1.35!important;color:var(--muted)!important}
.recent-unified-score-v836{text-align:right!important}.recent-unified-score-v836 b{font-size:18px!important;line-height:1!important}.recent-unified-score-v836 small{display:block!important;margin-top:4px!important;font-size:9px!important;color:var(--muted)!important}

@media(max-width:520px){
  .game-header-v840,.special-game-header-v828{min-height:70px!important;padding:11px 12px!important;grid-template-columns:minmax(0,1fr) 44px!important}
  .special-game-header-v828>.special-xp-chip-v828{width:44px!important;height:44px!important;min-width:44px!important}
  .game-header-v840 h1,.special-game-header-v828 h1{font-size:20px!important}
  .profile-page-v85 .profile-hero-v7{grid-template-columns:92px minmax(0,1fr)!important;gap:14px!important;padding:15px!important}
  .profile-page-v85 .profile-avatar-v7{width:92px!important;height:92px!important}
  .profile-page-v85 .profile-copy-v7>h1{font-size:23px!important}
  #modalContent h1{font-size:26px!important}
}
@media(max-width:390px){
  :root{--page-gutter:10px}
  .profile-page-v85 .settings-list-v7 :where(.settings-row,.settings-row-v840,.challenge-privacy-inline-v820){min-height:72px!important;grid-template-columns:46px minmax(0,1fr) auto!important;padding:11px 12px!important}
  .profile-page-v85 .settings-list-v7 :where(.settings-row,.settings-row-v840,.challenge-privacy-inline-v820)>span{width:46px!important;height:46px!important}
  .project-confirm-actions-v6,.project-confirm-actions-v836,.project-confirm-actions-v842,.finish-confirm-actions-v841{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .project-confirm-actions-v6>button,.project-confirm-actions-v836>button,.project-confirm-actions-v842>button,.finish-confirm-actions-v841>button{min-height:54px!important;padding:8px!important;font-size:13px!important}
  .mode-result-stats-v840{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .mode-result-stats-v840 article{min-height:88px!important;padding:10px 5px!important}
  .mode-result-stats-v840 strong{font-size:23px!important}.mode-result-stats-v840 span{font-size:9px!important}
  .support-file-v844{grid-template-columns:42px minmax(0,1fr)!important}.support-file-v844>em{grid-column:2!important;justify-self:start!important;max-width:100%!important}
  .recent-unified-v841,.history-all-v85>button{grid-template-columns:48px minmax(0,1fr) auto 20px!important;gap:9px!important;padding:11px!important}
  .recent-unified-icon-v841,.history-all-v85>button>span:first-child{width:48px!important;height:48px!important}
}
@media(max-width:340px){
  .profile-page-v85 .profile-hero-v7{grid-template-columns:1fr!important;text-align:center!important}.profile-page-v85 .profile-avatar-wrap-v7{justify-self:center!important}.profile-page-v85 .profile-title-v7{text-align:left!important}
  .mode-result-stats-v840{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mode-result-stats-v840 article{min-height:82px!important}.project-confirm-actions-v6>button,.project-confirm-actions-v836>button,.project-confirm-actions-v842>button,.finish-confirm-actions-v841>button{font-size:12px!important}
}
@media(max-height:650px){
  .game-header-v840,.special-game-header-v828{min-height:64px!important;padding:9px 11px!important}
  #screen.game-active>.game-page,#screen.game-active>.special-game-v828{gap:7px!important}
  .mode-result-icon-v840{width:66px!important;height:66px!important}.mode-result-highlight-v840{min-height:92px!important;padding:14px!important}.mode-result-stats-v840 article{min-height:78px!important}
}

/* Words Buster 8.8.45 — premium consistency, light theme, social games and keyboard. */
:root{
  --v845-radius:8px;
  --v845-gap:12px;
}

/* The light theme uses distinct surfaces instead of white-on-white blocks. */
:root[data-theme="light"]{
  --bg:#f2f4f8!important;
  --surface:#ffffff!important;
  --surface-2:#e9edf4!important;
  --surface-3:#dfe5ee!important;
  --text:#11151d!important;
  --muted:#697386!important;
  --line:#d8dee8!important;
  --accent:#6bad16!important;
  --accent-ink:#0d1605!important;
}
:root[data-theme="light"] :where(body,#app,.screen-root){background:#f2f4f8!important;color:#11151d!important}
:root[data-theme="light"] :where(
  .topbar,.app-header,.profile-header,.wallet-summary,.profile-page-v85 .profile-stats-v7 article,
  .settings-row,.settings-row-v840,.challenge-privacy-inline-v820,.achievement,.achievement-v7,
  .daily-reward-card,.task-card,.notification-card,.simple-list article,.rank-row,.friend-row,
  .game-summary,.selected-word,.found-words,.builder-tools>button,.builder-actions>button,
  .chain-keyboard button,.keyboard button,.letter-deck button,.mode-result-stats-v840 article,
  .mode-result-highlight-v840,.mode-result-actions-v840 .secondary-button,.history-word-section,
  .recent-unified-v841,.history-all-v85>button,.support-field-v844 input,.support-field-v844 textarea,
  .support-file-v844,.document-row,.language-option,.theme-option,.bottom-nav,.bottom-sheet
){background:#fff!important;color:#11151d!important;box-shadow:none!important;border:0!important}
:root[data-theme="light"] :where(
  .wallet-overview-v84 article,.wallet-product,.avatar-card-v84,.avatar-card-v83,.avatar-detail-state-v84,
  .profile-page-v85 .settings-list-v7 :where(.settings-row,.settings-row-v840,.challenge-privacy-inline-v820)>span,
  .game-header-v840,.special-game-header-v828,.chain-context-premium-v845,.chain-turn-premium-v845,
  .duel-status-premium-v845,.duel-rules-premium-v845 span,.chain-moves-premium-v845,
  .duel-score-premium-v845,.chain-score-premium-v845
){background:#e8edf5!important;color:#11151d!important}
:root[data-theme="light"] :where(.plus-banner,.plus-banner-v7,.home-plus-banner,.mode-result-highlight-v840){
  background:linear-gradient(135deg,#e5ddff 0%,#f8f9fc 52%,#e0edcf 100%)!important;
  color:#11151d!important;
}
:root[data-theme="light"] :where(.plus-banner small,.plus-banner-v7 small,.home-plus-banner small){color:#657083!important}
:root[data-theme="light"] :where(.bottom-nav button,.bottom-nav-v7 button){color:#707b8c!important;background:transparent!important}
:root[data-theme="light"] :where(.bottom-nav button.active,.bottom-nav-v7 button.active){background:#dfead4!important;color:#5f9f10!important}
:root[data-theme="light"] :where(.primary-button,.submit-word,.game-primary,.avatar-state-v84:not(.selected):not(.locked)){
  background:#9cff3d!important;color:#132009!important;
}
:root[data-theme="light"] :where(.secondary-button,.tool-button,.action-square){background:#e3e8f0!important;color:#11151d!important}
:root[data-theme="light"] .modal-backdrop{background:rgba(22,28,38,.38)!important;backdrop-filter:blur(9px)!important}
:root[data-theme="light"] .bottom-sheet{background:#f4f6fa!important}
:root[data-theme="light"] :where(.paid-mode-card-v829,.mode-card,.competition-card,.home-mode-card){color:#fff!important}
:root[data-theme="light"] :where(.paid-mode-card-v829 h3,.paid-mode-card-v829 p,.paid-mode-card-v829 .paid-mode-cost-v828){color:#fff!important}

/* Store and avatar catalogue: no cropped first letters, labels or price pills. */
.avatar-grid-v84,.avatar-grid-v85,.avatar-grid-v83{padding:2px!important;overflow:visible!important}
.avatar-card-v84,.avatar-card-v83,.wallet-product,.shop-card{
  min-width:0!important;overflow:visible!important;box-sizing:border-box!important;
}
.avatar-card-v84>strong,.avatar-card-v83 strong,.wallet-product strong,.shop-card strong{
  display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0 2px!important;
  text-indent:0!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere!important;
  word-break:normal!important;line-height:1.3!important;
}
.avatar-preview-v84,.avatar-preview-v83{width:100%!important;overflow:hidden!important}
.avatar-state-v84,.avatar-state-v83,.wallet-product button,.shop-card button{width:100%!important;max-width:100%!important;overflow:visible!important}

/* Shared Chain rebuilt as a calm, aligned premium screen. */
.chain-premium-v845{display:grid;gap:12px;width:100%;min-width:0}
.chain-score-premium-v845{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);align-items:center;
  gap:10px;padding:14px;background:var(--surface);border-radius:var(--v845-radius);overflow:visible;
}
.chain-player-premium-v845{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}
.chain-player-premium-v845.opponent{grid-template-columns:auto minmax(0,1fr) 52px;text-align:right}
.chain-player-premium-v845.opponent>.challenge-avatar-v84{grid-column:3;grid-row:1}
.chain-player-premium-v845.opponent>span{grid-column:2;grid-row:1}
.chain-player-premium-v845.opponent>b{grid-column:1;grid-row:1}
.chain-player-premium-v845 .challenge-avatar-v84{width:52px!important;height:52px!important;border-radius:8px!important}
.chain-player-premium-v845 span{min-width:0;display:grid;gap:3px}
.chain-player-premium-v845 small{font-size:9px;line-height:1.1;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:400!important}
.chain-player-premium-v845 strong{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500!important}
.chain-player-premium-v845>b{font-size:20px;line-height:1;font-weight:400!important}
.chain-versus-premium-v845{position:relative;display:grid;place-items:center;gap:5px;min-width:0;overflow:visible}
.chain-versus-premium-v845>span{width:42px;height:42px;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);border-radius:8px}
.chain-versus-premium-v845>span svg{width:22px;height:22px}
.chain-versus-premium-v845>small{font-size:9px;color:var(--muted)}
.chain-context-premium-v845{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border-radius:8px;background:var(--surface)}
.chain-context-premium-v845>div{min-width:0;display:grid;gap:5px}
.chain-context-premium-v845 small,.chain-turn-premium-v845 small{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:400!important}
.chain-context-premium-v845 strong{font-size:20px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400!important}
.chain-clock-premium-v845{min-width:88px;display:grid;gap:3px;padding:9px 10px;background:var(--surface-2);border-radius:8px;text-align:right}
.chain-clock-premium-v845 b{font-size:19px;font-weight:400!important}
.chain-turn-premium-v845{display:grid;gap:11px;padding:14px;background:var(--surface);border-radius:8px}
.chain-turn-premium-v845 header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.chain-turn-premium-v845 header>div{display:grid;gap:4px}
.chain-turn-premium-v845 header strong{font-size:17px;line-height:1.25;font-weight:400!important}
.chain-input-premium-v845{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:8px}
.chain-input-premium-v845>span{width:50px;height:50px;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);border-radius:8px;font-size:21px}
.chain-compose-v845{height:50px;min-width:0;display:flex!important;align-items:center!important;padding:0 13px!important;background:var(--surface-2)!important;border-radius:8px!important;font-size:18px!important;font-weight:400!important;overflow-x:auto!important}
.chain-input-premium-v845 .primary-button{min-height:50px;padding:0 16px;border-radius:8px!important;font-size:13px;font-weight:500!important}
.chain-turn-premium-v845>p{margin:0;text-align:center;color:var(--muted);font-size:10px;line-height:1.4}
.chain-turn-premium-v845.waiting,.chain-turn-premium-v845.completed{grid-template-columns:12px minmax(0,1fr);align-items:center;min-height:70px}
.chain-turn-premium-v845.waiting strong,.chain-turn-premium-v845.completed strong{font-size:15px;font-weight:400!important}
.chain-live-dot-v845{width:9px;height:9px;background:var(--accent);border-radius:50%;animation:v845Pulse 1.5s ease-in-out infinite}
@keyframes v845Pulse{50%{opacity:.35}}
.chain-surrender-premium-v845{min-height:52px;width:100%;background:rgba(255,93,126,.14);color:#ff6c8b;border-radius:8px;font-size:13px}
.chain-moves-premium-v845{padding:14px;background:var(--surface);border-radius:8px}
.chain-moves-premium-v845>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.chain-moves-premium-v845 h3{margin:0;font-size:18px;font-weight:400!important}
.chain-moves-premium-v845>header span{font-size:12px;color:var(--accent)}
.chain-moves-premium-v845>div{display:grid;gap:7px}
.chain-move-premium-v845{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 11px;background:var(--surface-2);border-radius:8px}
.chain-move-premium-v845>span{font-size:10px;color:var(--muted)}
.chain-move-premium-v845>div{min-width:0;display:grid;gap:2px}
.chain-move-premium-v845 small{font-size:9px;color:var(--muted)}
.chain-move-premium-v845 strong{font-size:15px;font-weight:400!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chain-move-premium-v845>b{font-size:12px;color:var(--accent);font-weight:400!important}
.chain-empty-premium-v845{margin:0;padding:18px;text-align:center;color:var(--muted);background:var(--surface-2);border-radius:8px}

/* Existing solo/shared chain keyboards use the same game-key appearance. */
:where(.chain-keyboard,.chain-keyboard-v825,.chain-keyboard-v826,.chain-keyboard-v888){
  display:grid!important;gap:7px!important;padding:10px!important;background:var(--surface)!important;border-radius:8px!important;overflow:hidden!important;
}
:where(.chain-keyboard,.chain-keyboard-v825,.chain-keyboard-v826,.chain-keyboard-v888) button{
  min-width:0!important;min-height:44px!important;padding:0!important;background:var(--surface-2)!important;color:var(--text)!important;border-radius:8px!important;
  font-size:15px!important;font-weight:400!important;line-height:1!important;
}
:where(.chain-keyboard,.chain-keyboard-v825,.chain-keyboard-v826,.chain-keyboard-v888) button:active{background:var(--accent)!important;color:var(--accent-ink)!important}

/* Duel center and live header: no oversized top, no duplicate 90-second label. */
.duel-premium-v845{display:grid;gap:12px;width:100%;min-width:0}
.duel-score-premium-v845{display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);align-items:center;gap:8px;padding:14px;background:var(--surface);border-radius:8px;overflow:visible}
.duel-person-premium-v845{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:9px;min-width:0}
.duel-person-premium-v845.opponent{grid-template-columns:minmax(0,1fr) 52px;text-align:right}
.duel-person-premium-v845.opponent>.duel-avatar-v845{grid-column:2;grid-row:1}
.duel-person-premium-v845.opponent>span{grid-column:1;grid-row:1}
.duel-person-premium-v845 .duel-avatar-v845{width:52px!important;height:52px!important;border-radius:8px!important}
.duel-person-premium-v845>span{min-width:0;display:grid;gap:3px}
.duel-person-premium-v845 small{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.duel-person-premium-v845 strong{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500!important}
.duel-person-premium-v845>b{grid-column:1/-1;margin-top:7px;font-size:24px;line-height:1;font-weight:400!important}
.duel-person-premium-v845.opponent>b{text-align:right}
.duel-center-premium-v845{position:relative;display:grid;place-items:center;gap:7px;overflow:visible}
.duel-center-premium-v845>em,.duel-live-center-v845>em{width:46px;height:46px;display:grid;place-items:center;margin:0;background:var(--accent);color:var(--accent-ink);border-radius:8px;font-size:12px;font-style:normal;font-weight:500}
.duel-status-premium-v845{display:grid;grid-template-columns:10px minmax(0,1fr);align-items:center;gap:10px;min-height:68px;padding:13px 14px;background:var(--surface);border-radius:8px}
.duel-status-premium-v845>i{width:8px;height:8px;border-radius:50%;background:var(--muted)}
.duel-status-premium-v845.active>i{background:var(--accent);animation:v845Pulse 1.5s ease-in-out infinite}
.duel-status-premium-v845>div{display:grid;gap:4px}
.duel-status-premium-v845 small{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.duel-status-premium-v845 strong{font-size:15px;font-weight:400!important}
.duel-rules-premium-v845{display:grid;gap:7px}
.duel-rules-premium-v845>span{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 12px;background:var(--surface);border-radius:8px;font-size:12px;color:var(--muted)}
.duel-rules-premium-v845 svg{width:18px;height:18px;color:var(--accent)}
.duel-actions-premium-v845{display:grid;gap:8px}.duel-actions-premium-v845>*{width:100%!important}
.duel-result-words-v845{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

.duel-live-premium-v845{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;gap:8px;padding:11px 12px 34px;background:linear-gradient(135deg,rgba(113,85,255,.17),rgba(156,255,61,.10));border-radius:8px;overflow:visible}
.duel-live-player-v845{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
.duel-live-player-v845.opponent{grid-template-columns:auto minmax(0,1fr) 44px;text-align:right}
.duel-live-player-v845.opponent>.duel-live-avatar-v845{grid-column:3;grid-row:1}
.duel-live-player-v845.opponent>span{grid-column:2;grid-row:1}.duel-live-player-v845.opponent>b{grid-column:1;grid-row:1}
.duel-live-avatar-v845{width:44px!important;height:44px!important;border-radius:8px!important}
.duel-live-player-v845>span{min-width:0;display:grid;gap:2px}
.duel-live-player-v845 small{font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.duel-live-player-v845 strong{font-size:12px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500!important}
.duel-live-player-v845>b{font-size:16px;font-weight:400!important}
.duel-live-center-v845{position:relative;display:grid;place-items:center;gap:3px;overflow:visible}
.duel-live-caption-v845{position:absolute;left:12px;right:12px;bottom:8px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.duel-live-caption-v845>i{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:0 0 auto}

/* Reaction button sits under the center mark; message floats without moving layout. */
.social-reaction-compact-v845{position:relative;width:34px;height:34px;overflow:visible;z-index:30}
.social-reaction-compact-v845 .reaction-anchor-v825{position:relative!important;width:34px!important;height:34px!important;display:block!important;overflow:visible!important}
.social-reaction-compact-v845 .reaction-toggle-v825{width:34px!important;height:34px!important;min-width:34px!important;background:var(--surface-2)!important;color:var(--accent)!important;border-radius:8px!important}
.social-reaction-compact-v845 .reaction-toggle-v825 svg{width:18px!important;height:18px!important}
.social-reaction-compact-v845 .reaction-pop-v824,.social-reaction-compact-v845 .reaction-pop-v829{
  position:absolute!important;z-index:80!important;top:40px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;
  width:max-content!important;max-width:min(260px,calc(100vw - 34px))!important;min-width:150px!important;min-height:42px!important;
  display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:7px 9px!important;
  background:var(--surface)!important;color:var(--text)!important;border-radius:8px!important;overflow:visible!important;box-shadow:0 10px 28px rgba(0,0,0,.22)!important;
}
.social-reaction-compact-v845 .reaction-pop-v824>span svg,.social-reaction-compact-v845 .reaction-pop-v829>span svg{width:30px;height:30px}
.social-reaction-compact-v845 .reaction-pop-v824 small,.social-reaction-compact-v845 .reaction-pop-v829 small{font-size:8px;color:var(--muted)}
.social-reaction-compact-v845 .reaction-pop-v824 strong,.social-reaction-compact-v845 .reaction-pop-v829 strong{font-size:11px;font-weight:400!important;white-space:normal}
.social-reaction-compact-v845 .reaction-menu-v825{z-index:100!important}

/* Branded text keyboard for support and all free text fields. */
.game-keyboard-v845{position:fixed;z-index:10000;left:0;right:0;bottom:0;display:grid;gap:6px;padding:7px max(7px,var(--tg-content-safe-right,0px)) max(8px,calc(8px + var(--tg-content-safe-bottom,0px))) max(7px,var(--tg-content-safe-left,0px));background:var(--bg);border-radius:8px 8px 0 0;box-shadow:0 -18px 40px rgba(0,0,0,.22)}
.game-keyboard-grip-v845{width:42px;height:4px;margin:0 auto 2px;background:var(--surface-3);border-radius:2px}
.game-keyboard-row-v845{display:flex;justify-content:center;gap:4px;min-width:0}
.game-keyboard-row-v845 button{flex:1 1 0;min-width:0;height:38px;padding:0 2px;background:var(--surface);color:var(--text);border-radius:8px;font-size:13px;font-weight:400!important;line-height:1}
.game-keyboard-row-v845.digits button{height:30px;font-size:10px;color:var(--muted)}
.game-keyboard-row-v845.tools button{flex:0 1 auto;min-width:52px;padding:0 12px;font-size:11px}
.game-keyboard-row-v845.tools button:first-child{flex:1 1 auto}
.game-keyboard-row-v845.tools .done{background:var(--accent);color:var(--accent-ink);min-width:76px}
.game-keyboard-row-v845 button:active{background:var(--accent);color:var(--accent-ink)}
body.game-keyboard-open-v845 #screen,body.game-keyboard-open-v845 #modalContent{padding-bottom:310px!important;scroll-padding-bottom:310px!important}
.game-keyboard-field-v845{caret-color:var(--accent)!important}

/* Game and result safe area is authoritative on every phone-size viewport. */
#screen.screen-root.game-active,#screen.screen-root.result-screen{padding-top:var(--game-safe-top,96px)!important}
#screen.screen-root.result-screen{padding-top:var(--result-safe-top,92px)!important}
#screen.game-active>.game-page,#screen.game-active>.special-game-v828,#screen.game-active>.master-pangram-game-v836{padding-top:0!important;margin-top:0!important}

@media(max-width:520px){
  .chain-score-premium-v845{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);gap:6px;padding:11px}
  .chain-player-premium-v845{grid-template-columns:42px minmax(0,1fr);gap:7px}.chain-player-premium-v845.opponent{grid-template-columns:minmax(0,1fr) 42px}
  .chain-player-premium-v845 .challenge-avatar-v84{width:42px!important;height:42px!important}.chain-player-premium-v845>b{grid-column:1/-1;font-size:17px}.chain-player-premium-v845.opponent>b{text-align:right}
  .chain-versus-premium-v845>span{width:38px;height:38px}.chain-input-premium-v845{grid-template-columns:44px minmax(0,1fr)}.chain-input-premium-v845>span{width:44px;height:48px}.chain-input-premium-v845 .primary-button{grid-column:1/-1;width:100%}
  .duel-score-premium-v845{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);padding:11px;gap:6px}.duel-person-premium-v845{grid-template-columns:42px minmax(0,1fr);gap:7px}.duel-person-premium-v845.opponent{grid-template-columns:minmax(0,1fr) 42px}.duel-person-premium-v845 .duel-avatar-v845{width:42px!important;height:42px!important}.duel-center-premium-v845>em{width:40px;height:40px}
  .duel-live-premium-v845{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);padding:10px 10px 32px;gap:5px}.duel-live-player-v845{grid-template-columns:38px minmax(0,1fr);gap:6px}.duel-live-player-v845.opponent{grid-template-columns:minmax(0,1fr) 38px}.duel-live-player-v845>b{grid-column:1/-1}.duel-live-player-v845.opponent>b{text-align:right}.duel-live-avatar-v845{width:38px!important;height:38px!important}.duel-live-center-v845>em{width:38px;height:38px}
  .social-reaction-compact-v845{width:30px;height:30px}.social-reaction-compact-v845 .reaction-anchor-v825,.social-reaction-compact-v845 .reaction-toggle-v825{width:30px!important;height:30px!important;min-width:30px!important}
}
@media(max-width:360px){
  .chain-player-premium-v845 strong,.duel-person-premium-v845 strong{font-size:11px}.chain-player-premium-v845 small,.duel-person-premium-v845 small{font-size:7px}.chain-context-premium-v845{padding:11px}.chain-context-premium-v845 strong{font-size:17px}
  .duel-live-player-v845 strong{font-size:10px}.duel-live-caption-v845{font-size:9px}
  .game-keyboard-row-v845{gap:3px}.game-keyboard-row-v845 button{height:36px;font-size:11px}.game-keyboard-row-v845.digits button{height:27px}
}
@media(min-width:700px){
  .chain-premium-v845,.duel-premium-v845{max-width:720px;margin:0 auto}.game-keyboard-v845{left:50%;right:auto;width:min(720px,100%);transform:translateX(-50%)}
}

/* Words Buster 8.8.45 final refinement — familiar words, full light-theme
   hierarchy, unclipped catalog text and adaptive social game geometry. */

/* Current shop implementation: no first-letter clipping at any width. */
.store-grid-v890{padding-inline:1px!important;overflow:visible!important}
.store-card-v890{
  padding-inline:14px!important;
  overflow:visible!important;
  contain:none!important;
  clip-path:none!important;
  mask:none!important;
}
.store-card-copy-v890{
  min-width:0!important;
  padding-inline:1px!important;
  overflow:visible!important;
  transform:none!important;
}
.store-card-copy-v890 :where(em,strong,small){
  max-width:100%!important;
  margin-left:0!important;
  padding-left:0!important;
  text-indent:0!important;
  transform:none!important;
  clip-path:none!important;
}
.store-card-copy-v890 strong{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.store-card-copy-v890 small{
  overflow:visible!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:430px){.store-card-v890{padding-inline:12px!important}}
@media(max-width:350px){
  .store-grid-v890{grid-template-columns:1fr!important}
  .store-card-v890{min-height:116px!important;grid-template-columns:38px minmax(0,1fr)!important}
}

/* The light theme has the same clear visual hierarchy as the dark theme. */
:root[data-theme="light"]{
  --bg:#eef2f7!important;
  --bg-elevated:#f7f9fc!important;
  --surface:#ffffff!important;
  --surface-2:#e8edf5!important;
  --surface-3:#dbe3ee!important;
  --surface-soft:#f3f6fa!important;
  --text:#111620!important;
  --text-soft:#3f4a5a!important;
  --muted:#68758a!important;
  --muted-2:#8a96a8!important;
}
:root[data-theme="light"] :where(.home-page-v890,.play-page-v84,.profile-page-v85,.ranking-page,.referrals-page,.tournaments-page){color:#111620!important}
:root[data-theme="light"] :where(
  .daily-hero-v7,.daily-hero-v85,.daily-reward-card,.reward-card,.mission-card,.channel-task-card,
  .profile-stats-v7 article,.achievement-preview-v85 article,.achievement-list-v7 article,
  .settings-row-v840,.challenge-privacy-inline-v820,.recent-unified-v841,.history-all-v85>button,
  .rank-row,.friend-row,.referral-card,.tournament-card,.notification-card-v824,
  .game-header-v840,.special-game-header-v828,.special-status-v828,.special-found-v828,
  .syllable-answer-v828,.syllable-slot-v836,.fillword-slots-v842,.sudoku-board-v828,
  .mode-result-stats-v840 article,.mode-result-actions-v840 .secondary-button,
  .chain-context-premium-v845,.chain-turn-premium-v845,.chain-moves-premium-v845,
  .duel-status-premium-v845,.duel-rules-premium-v845>span
){
  background:#fff!important;
  color:#111620!important;
  box-shadow:none!important;
  border:0!important;
}
:root[data-theme="light"] :where(
  .top-resource-v890,.profile-title-v7,.settings-row-v840>span,.challenge-privacy-inline-v820>span,
  .letter-tile,.key,.syllable-pieces-v828 button,.fillword-grid-v828 button,
  .sudoku-number-pad-v828 button,.master-tools-v836 button,.store-card-price-v890,
  .support-field-v844 input,.support-field-v844 textarea,.support-file-v844>em,
  .chain-move-premium-v845,.chain-clock-premium-v845,.chain-compose-v845,
  .social-reaction-compact-v845 .reaction-toggle-v825
){background:#e8edf5!important;color:#111620!important}
:root[data-theme="light"] :where(.profile-plus-v7,.plus-banner,.plus-banner-v7,.home-plus-banner,.mode-result-highlight-v840){
  background:linear-gradient(135deg,#e2dcff 0%,#f8f9fc 52%,#dcebcf 100%)!important;
  color:#111620!important;
}
:root[data-theme="light"] :where(.profile-plus-v7 small,.plus-banner small,.plus-banner-v7 small,.home-plus-banner small){color:#5e6a7e!important}
:root[data-theme="light"] .profile-page-v85 .profile-hero-v7{
  background:linear-gradient(135deg,#e8e2ff 0%,#fff 52%,#e1eed8 100%)!important;
}
:root[data-theme="light"] .bottom-nav,
:root[data-theme="light"] .bottom-nav-v7,
:root[data-theme="light"] .nav-inner{background:#f8fafc!important;color:#68758a!important}
:root[data-theme="light"] :where(.bottom-nav button.active,.bottom-nav-v7 button.active){background:#dce8d3!important;color:#5d9d12!important}
:root[data-theme="light"] :where(.primary-button,.game-primary,.submit-word,.mode-result-actions-v840 .primary-button){background:#9cff3d!important;color:#132009!important}
:root[data-theme="light"] :where(.paid-mode-card-v829,.competition-card-v84,.daily-card-v891,.mode-card-v84){isolation:isolate!important}
:root[data-theme="light"] :where(.paid-mode-card-v829,.competition-card-v84.duel,.competition-card-v84.arena){color:#fff!important}
:root[data-theme="light"] :where(.paid-mode-card-v829 strong,.paid-mode-card-v829 h3,.paid-mode-card-v829 p,.competition-card-v84 strong,.competition-card-v84 p,.competition-card-v84 small){color:#fff!important}

/* Profile uses one type scale and one row geometry on every device. */
.profile-page-v85{--profile-title:clamp(22px,5.8vw,28px);--profile-row-title:15px;--profile-caption:10px}
.profile-page-v85 .profile-copy-v7>h1{font-size:var(--profile-title)!important;font-weight:500!important}
.profile-page-v85 .profile-copy-v7>p,
.profile-page-v85 .profile-xp-v7 :where(span,b),
.profile-page-v85 .profile-avatar-wrap-v7>button{font-size:var(--profile-caption)!important;font-weight:400!important}
.profile-page-v85 .settings-list-v7 :where(.settings-row,.settings-row-v840,.challenge-privacy-inline-v820){
  min-height:76px!important;
  border-radius:8px!important;
}
.profile-page-v85 .settings-list-v7 strong{font-size:var(--profile-row-title)!important;font-weight:500!important}
.profile-page-v85 .settings-list-v7 small{font-size:var(--profile-caption)!important;font-weight:400!important}

/* Social screens: VS is geometrically centered and reactions consume no row. */
.duel-center-premium-v845,.duel-live-center-v845,.chain-versus-premium-v845{isolation:isolate!important;overflow:visible!important}
.duel-center-premium-v845::before,.duel-center-premium-v845::after,
.duel-live-center-v845::before,.duel-live-center-v845::after,
.chain-versus-premium-v845::before,.chain-versus-premium-v845::after{display:none!important;content:none!important}
.duel-center-premium-v845>em,.duel-live-center-v845>em{
  position:relative!important;z-index:2!important;
  width:44px!important;height:44px!important;
  padding:0!important;margin:0!important;
  border:0!important;box-shadow:none!important;
  transform:none!important;
}
.duel-center-premium-v845>.social-reaction-compact-v845,
.duel-live-center-v845>.social-reaction-compact-v845,
.chain-versus-premium-v845>.social-reaction-compact-v845{
  position:absolute!important;
  z-index:12!important;
  left:50%!important;
  top:50%!important;
  width:28px!important;height:28px!important;
  transform:translate(16px,8px)!important;
}
.duel-center-premium-v845 .reaction-anchor-v825,
.duel-live-center-v845 .reaction-anchor-v825,
.chain-versus-premium-v845 .reaction-anchor-v825,
.duel-center-premium-v845 .reaction-toggle-v825,
.duel-live-center-v845 .reaction-toggle-v825,
.chain-versus-premium-v845 .reaction-toggle-v825{
  width:28px!important;height:28px!important;min-width:28px!important;
}
.social-reaction-compact-v845 .reaction-pop-v824,
.social-reaction-compact-v845 .reaction-pop-v829{
  top:34px!important;
  left:50%!important;
  max-width:min(230px,calc(100vw - 28px))!important;
}
.reaction-toggle-v825.cooling-down-v844::after{
  width:19px!important;height:19px!important;
  right:-5px!important;top:-6px!important;
  border-radius:8px!important;
  font-size:9px!important;
}

/* Chain and duel remain readable without heavy typography. */
.chain-premium-v845 :where(strong,b,h1,h2,h3),
.duel-premium-v845 :where(strong,b,h1,h2,h3),
.duel-live-premium-v845 :where(strong,b){font-weight:400!important}
.chain-input-premium-v845,.chain-score-premium-v845,.duel-score-premium-v845,.duel-live-premium-v845{min-width:0!important}
.chain-input-premium-v845>*{min-width:0!important}
.chain-compose-v845{white-space:nowrap!important;text-align:left!important}

/* Static duel timing is never duplicated beside the live countdown. */
.competition-card-v84.duel small{letter-spacing:.12em!important}
.game-context-v7.duel>b,.game-context-v8.duel>b{display:none!important}

/* Authoritative Telegram overlay spacing. Fluid values prevent both overlap and giant gaps. */
#screen.screen-root.game-active{padding-top:var(--game-safe-top,clamp(158px,22vh,196px))!important}
#screen.screen-root.result-screen{padding-top:var(--result-safe-top,clamp(154px,21.5vh,192px))!important}
#screen.game-active>.game-page,#screen.game-active>.special-game-v828,#screen.game-active>.master-pangram-game-v836{
  width:100%!important;max-width:720px!important;margin:0 auto!important;padding-inline:var(--page-gutter,12px)!important;
}
@media(min-width:700px) and (pointer:fine){
  #screen.screen-root.game-active,#screen.screen-root.result-screen{padding-top:14px!important}
}
@media(max-height:620px){
  #screen.screen-root.game-active{padding-top:var(--game-safe-top,158px)!important}
  #screen.screen-root.result-screen{padding-top:var(--result-safe-top,154px)!important}
}

/* Branded keyboard always fits and never clips edge keys. */
.game-keyboard-v845{box-sizing:border-box!important;padding-inline:max(6px,var(--tg-content-safe-left,0px),var(--tg-content-safe-right,0px))!important}
.game-keyboard-row-v845{width:100%!important;padding-inline:0!important;overflow:visible!important}
.game-keyboard-row-v845 button{box-sizing:border-box!important;overflow:hidden!important;text-overflow:clip!important}
@media(max-width:350px){
  .game-keyboard-row-v845{gap:2px!important}
  .game-keyboard-row-v845 button{height:34px!important;font-size:10px!important;padding-inline:1px!important}
  .game-keyboard-row-v845.tools button{min-width:46px!important;padding-inline:7px!important}
}

/* Narrow phones keep both player names legible without moving the center mark. */
@media(max-width:430px){
  .chain-score-premium-v845,.duel-score-premium-v845{
    grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr)!important;
    gap:4px!important;padding:10px!important;
  }
  .chain-player-premium-v845,.duel-person-premium-v845{
    grid-template-columns:36px minmax(0,1fr)!important;gap:6px!important;
  }
  .chain-player-premium-v845.opponent,.duel-person-premium-v845.opponent{
    grid-template-columns:minmax(0,1fr) 36px!important;
  }
  .chain-player-premium-v845 .challenge-avatar-v84,.duel-person-premium-v845 .duel-avatar-v845{
    width:36px!important;height:36px!important;
  }
  .chain-player-premium-v845 strong,.duel-person-premium-v845 strong{font-size:11px!important}
  .chain-player-premium-v845 small,.duel-person-premium-v845 small{font-size:7px!important;letter-spacing:.08em!important}
  .chain-player-premium-v845>b,.duel-person-premium-v845>b{font-size:17px!important;margin-top:5px!important}
  .chain-versus-premium-v845>span,.duel-center-premium-v845>em{width:36px!important;height:36px!important}
  .duel-live-premium-v845{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr)!important}
}

/* Chain format and friend selection use the same premium row system. */
.chain-choice-v84,.chain-friends-v84,.chain-friends-v817{display:grid!important;gap:9px!important}
.chain-choice-v84>button,.chain-friends-v84>button,.chain-friend-row-v817{
  width:100%!important;min-width:0!important;min-height:72px!important;
  display:grid!important;grid-template-columns:48px minmax(0,1fr) 20px!important;
  align-items:center!important;gap:12px!important;padding:12px 14px!important;
  background:var(--surface)!important;color:var(--text)!important;
  border:0!important;border-radius:8px!important;text-align:left!important;box-shadow:none!important;
}
.chain-choice-v84>button>span:first-child,.chain-friend-row-v817>.rank-avatar,.chain-friends-v84>button>.rank-avatar{
  width:48px!important;height:48px!important;display:grid!important;place-items:center!important;
  background:var(--surface-2)!important;color:var(--accent)!important;border-radius:8px!important;
}
.chain-choice-v84>button>span:first-child svg{width:22px!important;height:22px!important}
.chain-choice-v84>button>div,.chain-friends-v84>button>div,.chain-friend-row-v817>div{min-width:0!important;display:grid!important;gap:4px!important}
.chain-choice-v84 strong,.chain-friends-v84 strong,.chain-friend-row-v817 strong{
  font-size:15px!important;line-height:1.2!important;font-weight:500!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.chain-choice-v84 small,.chain-friends-v84 small,.chain-friend-row-v817 small{font-size:10px!important;line-height:1.35!important;color:var(--muted)!important;font-weight:400!important}
.chain-choice-v84>button>svg:last-child,.chain-friends-v84>button>svg:last-child,.chain-friend-row-v817>svg:last-child{width:19px!important;height:19px!important;color:var(--muted)!important}
:root[data-theme="light"] .chain-choice-v84>button,
:root[data-theme="light"] .chain-friends-v84>button,
:root[data-theme="light"] .chain-friend-row-v817{background:#fff!important}
:root[data-theme="light"] .chain-choice-v84>button>span:first-child,
:root[data-theme="light"] .chain-friend-row-v817>.rank-avatar,
:root[data-theme="light"] .chain-friends-v84>button>.rank-avatar{background:#e8edf5!important}

/* Correct inherited desktop grid coordinates on two-column mobile player cards. */
@media(max-width:520px){
  .chain-player-premium-v845.opponent>.challenge-avatar-v84,
  .duel-person-premium-v845.opponent>.duel-avatar-v845{
    grid-column:2!important;grid-row:1!important;
  }
  .chain-player-premium-v845.opponent>span,
  .duel-person-premium-v845.opponent>span{
    grid-column:1!important;grid-row:1!important;
  }
  .chain-player-premium-v845.opponent>b,
  .duel-person-premium-v845.opponent>b{
    grid-column:1/-1!important;grid-row:2!important;text-align:right!important;
  }
  .duel-live-player-v845.opponent>.duel-live-avatar-v845{grid-column:2!important;grid-row:1!important}
  .duel-live-player-v845.opponent>span{grid-column:1!important;grid-row:1!important}
  .duel-live-player-v845.opponent>b{grid-column:1/-1!important;grid-row:2!important;text-align:right!important}
}

/* Words Buster 8.8.46 — achievement gallery and branded resources. */
.resource-icon{
  display:block!important;
  width:24px!important;
  height:24px!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center!important;
  flex:0 0 24px!important;
  pointer-events:none!important;
  user-select:none!important;
}
.header-balance .resource-icon{width:31px!important;height:31px!important;flex-basis:31px!important}
.top-resource-v890>span:has(.resource-icon){
  width:50px!important;height:50px!important;min-width:50px!important;
  background:transparent!important;overflow:visible!important;
}
.top-resource-v890>span .resource-icon{width:48px!important;height:48px!important;flex-basis:48px!important}
.wallet-overview-v83 article>.resource-icon{width:58px!important;height:58px!important;flex-basis:58px!important;margin:0 auto 7px!important}
.product-icon:has(.resource-icon){background:transparent!important;overflow:visible!important}
.product-icon .resource-icon{width:54px!important;height:54px!important;flex-basis:54px!important}
.balance-main strong .resource-icon,.balance-card-v7 .resource-icon{width:34px!important;height:34px!important;flex-basis:34px!important}
.tool-button .resource-icon,.builder-tools-v83 .resource-icon,.builder-tools-v84 .resource-icon,
.daily-actions-v83 .resource-icon,.master-tools-v836 .resource-icon,
.special-game-actions-v828 .resource-icon,.mode-result-actions-v840 .resource-icon{
  width:30px!important;height:30px!important;flex-basis:30px!important;
}
.wallet-product .resource-icon,.shop-card .resource-icon,.store-card-v890 .resource-icon{
  width:48px!important;height:48px!important;flex-basis:48px!important;
}
@media(max-width:360px){
  .top-resource-v890>span:has(.resource-icon){width:42px!important;height:42px!important;min-width:42px!important}
  .top-resource-v890>span .resource-icon{width:41px!important;height:41px!important;flex-basis:41px!important}
  .header-balance .resource-icon{width:27px!important;height:27px!important;flex-basis:27px!important}
}

.achievement-preview-v85.achievement-preview-v846{display:block!important}
.achievement-avatar-grid-v846{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  padding:2px 0 10px!important;
}
.achievement-avatar-grid-v846.preview{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.achievement-tile-v846{
  width:100%!important;min-width:0!important;
  display:grid!important;grid-template-rows:auto minmax(34px,auto)!important;
  align-content:start!important;justify-items:center!important;gap:9px!important;
  padding:0!important;background:transparent!important;color:var(--text)!important;
  border:0!important;text-align:center!important;box-shadow:none!important;
}
.achievement-art-v846{
  position:relative!important;display:block!important;width:100%!important;
  aspect-ratio:1/1!important;border-radius:12px!important;overflow:hidden!important;
  background:var(--surface-2)!important;
}
.achievement-art-v846>img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;
  transform:none!important;
}
.achievement-art-v846>i{
  position:absolute!important;right:7px!important;top:7px!important;
  width:31px!important;height:31px!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;
  background:rgba(15,17,24,.88)!important;color:#fff!important;
  font-style:normal!important;
}
.achievement-art-v846>i svg{width:17px!important;height:17px!important}
.achievement-tile-v846.unlocked .achievement-art-v846>i{background:#9cff36!important;color:#17230c!important}
.achievement-tile-v846.locked .achievement-art-v846>img{filter:saturate(.58) brightness(.72)!important;opacity:.72!important}
.achievement-tile-v846>strong{
  display:block!important;width:100%!important;min-width:0!important;
  font-size:13px!important;line-height:1.25!important;font-weight:500!important;
  letter-spacing:-.015em!important;color:var(--text)!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
.achievement-sheet-v846 .modal-content,.achievement-sheet-v846 #modalContent{padding-bottom:calc(22px + var(--tg-safe-bottom,0px))!important}
.achievement-detail-v846{
  width:100%!important;max-width:540px!important;margin:0 auto!important;
  display:grid!important;justify-items:center!important;text-align:center!important;
  gap:12px!important;padding:4px 0 8px!important;
}
.achievement-detail-art-v846{
  position:relative!important;width:min(64vw,250px)!important;aspect-ratio:1/1!important;
  border-radius:18px!important;overflow:hidden!important;background:var(--surface-2)!important;
}
.achievement-detail-art-v846>img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}
.achievement-detail-v846.locked .achievement-detail-art-v846>img{filter:saturate(.65) brightness(.78)!important}
.achievement-detail-art-v846>span{
  position:absolute!important;right:12px!important;top:12px!important;
  width:42px!important;height:42px!important;border-radius:10px!important;
  display:grid!important;place-items:center!important;background:rgba(15,17,24,.9)!important;color:#fff!important;
}
.achievement-detail-v846.unlocked .achievement-detail-art-v846>span{background:#9cff36!important;color:#17230c!important}
.achievement-detail-art-v846 svg{width:22px!important;height:22px!important}
.achievement-detail-v846>small{
  margin-top:2px!important;color:var(--accent)!important;font-size:10px!important;
  line-height:1.2!important;letter-spacing:.14em!important;text-transform:uppercase!important;font-weight:500!important;
}
.achievement-detail-v846>h2{
  margin:0!important;font-size:28px!important;line-height:1.08!important;
  font-weight:500!important;letter-spacing:-.04em!important;color:var(--text)!important;
}
.achievement-detail-v846>p{
  margin:2px 0 4px!important;max-width:500px!important;
  font-size:13px!important;line-height:1.65!important;font-weight:400!important;color:var(--text-soft)!important;text-align:left!important;
}
.achievement-condition-v846{
  width:100%!important;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;gap:13px!important;padding:14px!important;
  border-radius:10px!important;background:var(--surface)!important;text-align:left!important;
}
.achievement-condition-v846>span{width:48px!important;height:48px!important;border-radius:10px!important;background:var(--surface-2)!important;color:var(--accent)!important;display:grid!important;place-items:center!important}
.achievement-condition-v846>span svg{width:23px!important;height:23px!important}
.achievement-condition-v846>div{min-width:0!important;display:grid!important;gap:4px!important}
.achievement-condition-v846 small{font-size:9px!important;line-height:1.2!important;color:var(--muted)!important;text-transform:uppercase!important;letter-spacing:.11em!important}
.achievement-condition-v846 strong{font-size:13px!important;line-height:1.35!important;font-weight:500!important;color:var(--text)!important}
.achievement-detail-v846>.secondary-button{margin-top:4px!important}

/* Give recent result text a deliberate breathing space from its mode icon. */
.recent-game-card-v6{
  grid-template-columns:58px minmax(0,1fr) max-content!important;
  column-gap:18px!important;
}
.recent-game-card-v6>.recent-game-icon,.recent-game-card-v6>span:first-child{width:58px!important;height:58px!important}
.recent-game-card-v6>div{padding-left:2px!important;min-width:0!important}
.history-all-v85>button{column-gap:17px!important}
.history-all-v85>button>div{padding-left:2px!important;min-width:0!important}

:root[data-theme="light"] .achievement-art-v846,
:root[data-theme="light"] .achievement-detail-art-v846,
:root[data-theme="light"] .achievement-condition-v846>span{background:#e8edf5!important}
:root[data-theme="light"] .achievement-condition-v846{background:#fff!important}

@media(max-width:760px){
  .achievement-avatar-grid-v846{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
  .achievement-avatar-grid-v846.preview{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
  .achievement-tile-v846>strong{font-size:11px!important}
}
@media(max-width:520px){
  .achievement-avatar-grid-v846{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px 13px!important}
  .achievement-avatar-grid-v846.preview{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .achievement-tile-v846>strong{font-size:12px!important;min-height:30px!important}
  .achievement-detail-art-v846{width:min(70vw,230px)!important}
  .achievement-detail-v846>h2{font-size:25px!important}
  .achievement-detail-v846>p{font-size:12px!important;line-height:1.62!important}
  .recent-game-card-v6{grid-template-columns:54px minmax(0,1fr) max-content!important;column-gap:14px!important}
  .recent-game-card-v6>.recent-game-icon,.recent-game-card-v6>span:first-child{width:54px!important;height:54px!important}
}
@media(max-width:350px){
  .achievement-avatar-grid-v846,.achievement-avatar-grid-v846.preview{gap:11px!important}
  .achievement-tile-v846>strong{font-size:10px!important}
  .achievement-art-v846>i{width:27px!important;height:27px!important;right:5px!important;top:5px!important}
  .achievement-art-v846>i svg{width:15px!important;height:15px!important}
}

/* Resource counters keep their numeric values readable beside the new artwork. */
.top-resource-v890{
  grid-template-columns:36px minmax(0,1fr)!important;
  gap:5px!important;
}
.top-resource-v890>span:has(.resource-icon){
  width:36px!important;height:36px!important;min-width:36px!important;
}
.top-resource-v890>span .resource-icon{width:35px!important;height:35px!important;flex-basis:35px!important}
@media(max-width:430px){
  .top-resource-v890{grid-template-columns:32px minmax(0,1fr)!important;gap:4px!important;padding-inline:6px!important}
  .top-resource-v890>span:has(.resource-icon){width:32px!important;height:32px!important;min-width:32px!important}
  .top-resource-v890>span .resource-icon{width:31px!important;height:31px!important;flex-basis:31px!important}
}
@media(max-width:350px){
  .top-resource-v890{grid-template-columns:27px minmax(0,1fr)!important;gap:3px!important;padding-inline:5px!important}
  .top-resource-v890>span:has(.resource-icon){width:27px!important;height:27px!important;min-width:27px!important}
  .top-resource-v890>span .resource-icon{width:27px!important;height:27px!important;flex-basis:27px!important}
}
.store-card-v890 .resource-icon,.wallet-product .resource-icon,.shop-card .resource-icon{
  width:42px!important;height:42px!important;flex-basis:42px!important;
}

/* Words Buster 8.8.47 — stable compact gameplay and social controls. */
:root{
  --game-safe-top:73px;
  --result-safe-top:71px;
}
#screen.screen-root.game-active,
#screen.screen-root.result-screen{
  padding-top:var(--game-safe-top)!important;
  scroll-padding-top:var(--game-safe-top)!important;
}
#screen.screen-root.result-screen{padding-top:var(--result-safe-top)!important}
.game-page,.special-game-v828{
  margin-top:0!important;
  padding-top:0!important;
}
@media(max-height:620px){
  #screen.screen-root.game-active{padding-top:max(54px,var(--game-safe-top))!important}
  #screen.screen-root.result-screen{padding-top:max(52px,var(--result-safe-top))!important}
}
@media(min-width:700px) and (pointer:fine){
  #screen.screen-root.game-active,#screen.screen-root.result-screen{padding-top:14px!important}
}

/* One premium keyboard in solo and shared chains. */
.chain-game-keyboard-v847,
.shared-chain-keyboard-v888.chain-game-keyboard-v847{
  width:100%!important;
  box-sizing:border-box!important;
  display:grid!important;
  gap:6px!important;
  margin:0!important;
  padding:9px!important;
  background:var(--surface)!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
.chain-game-keyboard-v847 .key-row{
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  justify-content:center!important;
  gap:4px!important;
}
.chain-game-keyboard-v847 .key{
  flex:1 1 0!important;
  min-width:0!important;
  max-width:none!important;
  height:46px!important;
  min-height:46px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--surface-2)!important;
  color:var(--text)!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:400!important;
  box-shadow:none!important;
}
.chain-game-keyboard-v847 .key-tool{
  flex:0 0 42px!important;
  min-width:42px!important;
  color:var(--muted)!important;
}
.chain-game-keyboard-v847 .key-tool svg{width:18px!important;height:18px!important}
.chain-game-keyboard-v847 .key:active{
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
}
.chain-game-keyboard-v847.disabled{opacity:.55!important;pointer-events:none!important}
:root[data-theme="light"] .chain-game-keyboard-v847{
  background:#e4e9f1!important;
}
:root[data-theme="light"] .chain-game-keyboard-v847 .key{
  background:#fff!important;
  color:#11151d!important;
}
@media(max-width:360px){
  .chain-game-keyboard-v847{padding:7px!important;gap:5px!important}
  .chain-game-keyboard-v847 .key-row{gap:3px!important}
  .chain-game-keyboard-v847 .key{height:42px!important;min-height:42px!important;font-size:10px!important}
  .chain-game-keyboard-v847 .key-tool{flex-basis:34px!important;min-width:34px!important}
}

/* Reactions remain compact beside the VS/chain mark and never enter avatars. */
.duel-center-premium-v845,
.duel-live-center-v845,
.chain-versus-premium-v845{
  position:relative!important;
  display:grid!important;
  grid-template-rows:auto auto!important;
  justify-items:center!important;
  align-content:center!important;
  gap:5px!important;
  overflow:visible!important;
  isolation:isolate!important;
}
.duel-center-premium-v845>em,
.duel-live-center-v845>em{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
  font-size:11px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.social-reaction-compact-v847{
  position:relative!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  margin:0!important;
  overflow:visible!important;
  z-index:50!important;
}
.social-reaction-compact-v847 .reaction-anchor-v825,
.social-reaction-compact-v847 .reaction-toggle-v825{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  margin:0!important;
  border-radius:8px!important;
}
.social-reaction-compact-v847 .reaction-toggle-v825{
  display:grid!important;
  place-items:center!important;
  background:var(--surface-2)!important;
  color:var(--accent)!important;
}
.social-reaction-compact-v847 .reaction-toggle-v825 svg{width:16px!important;height:16px!important}
.social-reaction-compact-v847 .reaction-pop-v824,
.social-reaction-compact-v847 .reaction-pop-v829{
  position:absolute!important;
  z-index:80!important;
  left:50%!important;
  right:auto!important;
  top:calc(100% + 7px)!important;
  bottom:auto!important;
  transform:translateX(-50%)!important;
  width:190px!important;
  max-width:min(190px,72vw)!important;
  min-height:44px!important;
  margin:0!important;
  padding:7px 9px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  border-radius:8px!important;
  background:var(--bg-elevated)!important;
  color:var(--text)!important;
  overflow:visible!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28)!important;
}
.social-reaction-compact-v847 .reaction-pop-v824>span,
.social-reaction-compact-v847 .reaction-pop-v829>span{width:30px!important;height:30px!important;display:grid!important;place-items:center!important}
.social-reaction-compact-v847 .reaction-pop-v824 strong,
.social-reaction-compact-v847 .reaction-pop-v829 strong{font-size:10px!important;line-height:1.25!important;font-weight:400!important;white-space:normal!important}
.social-reaction-compact-v847 .reaction-pop-v824 small,
.social-reaction-compact-v847 .reaction-pop-v829 small{font-size:8px!important;color:var(--muted)!important}
:root[data-theme="light"] .social-reaction-compact-v847 .reaction-toggle-v825{background:#e5eaf2!important}
:root[data-theme="light"] .social-reaction-compact-v847 .reaction-pop-v824,
:root[data-theme="light"] .social-reaction-compact-v847 .reaction-pop-v829{background:#fff!important;color:#11151d!important}

/* Keep the neutral centre exact on every width. */
.duel-score-premium-v845,.duel-live-premium-v845,.chain-score-premium-v845{
  align-items:center!important;
}
.duel-center-premium-v845::before,.duel-center-premium-v845::after,
.duel-live-center-v845::before,.duel-live-center-v845::after,
.chain-versus-premium-v845::before,.chain-versus-premium-v845::after{
  content:none!important;display:none!important;
}
@media(max-width:430px){
  .duel-score-premium-v845,.chain-score-premium-v845{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important}
  .duel-live-premium-v845{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important}
  .duel-center-premium-v845>em,.duel-live-center-v845>em{width:36px!important;height:36px!important;min-width:36px!important}
  .social-reaction-compact-v847{width:27px!important;height:27px!important;min-width:27px!important}
  .social-reaction-compact-v847 .reaction-anchor-v825,.social-reaction-compact-v847 .reaction-toggle-v825{width:27px!important;height:27px!important;min-width:27px!important}
}


/* Words Buster 8.8.48 — stable live surfaces without periodic repaint. */
#topbar .profile-copy strong,
#topbar .profile-copy small,
#topbar [data-live-coins],
#topbar [data-live-tickets],
#topbar [data-live-hints],
#bottomNav .nav-badge{
  font-variant-numeric:tabular-nums;
}
#topbar,#bottomNav{
  backface-visibility:hidden;
}

/* Words Buster 8.8.49 — premium Chain, zero-shift live UI and deliberate
   spacing in recent results/history. */
.shared-chain-sheet-v849{
  --chain-gap:12px;
}
.shared-chain-sheet-v849 #modalContent,
.shared-chain-sheet-v849 .modal-content{
  min-width:0!important;
}
.chain-shell-v849{
  width:100%!important;
  max-width:720px!important;
  margin:0 auto!important;
  display:grid!important;
  gap:var(--chain-gap)!important;
  min-width:0!important;
}
.chain-score-v849{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  padding:14px!important;
  border-radius:10px!important;
  background:var(--surface)!important;
  overflow:visible!important;
}
.chain-person-v849{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:3px 10px!important;
}
.chain-person-v849.opponent{
  grid-template-columns:minmax(0,1fr) 50px!important;
  text-align:right!important;
}
.chain-person-v849.opponent>.challenge-avatar-v84{grid-column:2!important;grid-row:1 / span 2!important}
.chain-person-v849.opponent>span{grid-column:1!important;grid-row:1!important}
.chain-person-v849.opponent>b{grid-column:1!important;grid-row:2!important}
.chain-person-v849.you>.challenge-avatar-v84{grid-column:1!important;grid-row:1 / span 2!important}
.chain-person-v849.you>span{grid-column:2!important;grid-row:1!important}
.chain-person-v849.you>b{grid-column:2!important;grid-row:2!important}
.chain-person-v849 .challenge-avatar-v84{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  border-radius:10px!important;
  overflow:hidden!important;
}
.chain-person-v849>span{min-width:0!important;display:grid!important;gap:2px!important}
.chain-person-v849 small{
  font-size:8px!important;
  line-height:1.15!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  color:var(--muted)!important;
  font-weight:400!important;
}
.chain-person-v849 strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:500!important;
  color:var(--text)!important;
}
.chain-person-v849>b{
  font-size:18px!important;
  line-height:1!important;
  font-weight:400!important;
  color:var(--text)!important;
}
.chain-center-v849{
  position:relative!important;
  width:72px!important;
  min-width:72px!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:5px!important;
  overflow:visible!important;
}
.chain-link-v849{
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
}
.chain-link-v849 svg{width:22px!important;height:22px!important}
.chain-center-v849>b{
  color:var(--muted)!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:400!important;
}
.chain-reaction-v849{
  position:absolute!important;
  right:3px!important;
  top:3px!important;
  z-index:12!important;
  width:28px!important;
  height:28px!important;
  transform:translate(45%,-45%)!important;
}
.chain-reaction-v849 .reaction-anchor-v825,
.chain-reaction-v849 .reaction-toggle-v825{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:9px!important;
}
.chain-reaction-v849 .reaction-toggle-v825{
  background:var(--surface-2)!important;
  color:var(--accent)!important;
}
.chain-reaction-v849 .reaction-toggle-v825 svg{width:15px!important;height:15px!important}
.chain-reaction-v849 .reaction-pop-v824,
.chain-reaction-v849 .reaction-pop-v829{
  left:50%!important;
  top:36px!important;
  transform:translateX(-50%)!important;
  min-width:150px!important;
  max-width:min(230px,calc(100vw - 28px))!important;
  z-index:50!important;
}
.chain-context-v849{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  border-radius:10px!important;
  background:var(--surface)!important;
}
.chain-context-v849>div{min-width:0!important;display:grid!important;gap:4px!important}
.chain-context-v849 small,
.chain-context-v849 time small,
.chain-turn-v849 small{
  color:var(--muted)!important;
  font-size:8px!important;
  line-height:1.2!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  font-weight:400!important;
}
.chain-context-v849 strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--text)!important;
  font-size:18px!important;
  line-height:1.15!important;
  font-weight:400!important;
}
.chain-context-v849 time{
  min-width:84px!important;
  display:grid!important;
  gap:3px!important;
  padding:9px 10px!important;
  border-radius:9px!important;
  background:var(--surface-2)!important;
  text-align:right!important;
}
.chain-context-v849 time b{font-size:18px!important;line-height:1!important;font-weight:400!important;color:var(--text)!important}
.chain-turn-v849{
  width:100%!important;
  min-width:0!important;
  padding:14px!important;
  border-radius:10px!important;
  background:var(--surface)!important;
}
.chain-turn-v849.active{display:grid!important;gap:11px!important}
.chain-turn-v849.active>header>div{display:grid!important;gap:4px!important}
.chain-turn-v849.active>header strong{font-size:16px!important;line-height:1.25!important;font-weight:400!important;color:var(--text)!important}
.chain-turn-v849.waiting,
.chain-turn-v849.completed{
  min-height:78px!important;
  display:grid!important;
  grid-template-columns:12px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
}
.chain-turn-v849.waiting>i{
  width:9px!important;height:9px!important;border-radius:50%!important;background:var(--accent)!important;
  animation:v849Pulse 1.55s ease-in-out infinite!important;
}
.chain-turn-v849.waiting>div,
.chain-turn-v849.completed>div{min-width:0!important;display:grid!important;gap:3px!important}
.chain-turn-v849.waiting strong,
.chain-turn-v849.completed strong{font-size:15px!important;line-height:1.25!important;font-weight:400!important;color:var(--text)!important}
.chain-turn-v849.waiting p{margin:1px 0 0!important;font-size:10px!important;line-height:1.35!important;color:var(--muted)!important}
.chain-turn-v849.completed>span{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:rgba(156,255,61,.13)!important;color:var(--accent)!important}
@keyframes v849Pulse{50%{opacity:.28;transform:scale(.82)}}
.chain-form-v849{display:block!important;margin:0!important}
.chain-compose-card-v849{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
}
.chain-required-v849{
  width:48px!important;
  height:48px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:400!important;
}
.chain-required-v849 svg{width:21px!important;height:21px!important}
.chain-compose-v849{
  height:48px!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:0 13px!important;
  border-radius:10px!important;
  background:var(--surface-2)!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  color:var(--text)!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:400!important;
  scrollbar-width:none!important;
}
.chain-compose-v849::-webkit-scrollbar{display:none!important}
.chain-compose-card-v849>.primary-button,
.chain-form-v849 .primary-button{
  min-height:48px!important;
  height:48px!important;
  padding:0 16px!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:500!important;
  white-space:nowrap!important;
}
.chain-keyboard-v849{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  gap:6px!important;
  padding:9px!important;
  margin-top:10px!important;
  border-radius:11px!important;
  background:var(--surface-2)!important;
  overflow:hidden!important;
}
.chain-key-row-v849{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(var(--chain-key-count),minmax(0,1fr))!important;
  gap:4px!important;
}
.chain-key-v849{
  min-width:0!important;
  height:40px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:400!important;
  display:grid!important;
  place-items:center!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
.chain-key-v849:active{background:color-mix(in srgb,var(--accent) 18%,var(--surface))!important}
.chain-key-v849.tool{background:var(--surface-3)!important;color:var(--muted)!important}
.chain-key-v849.tool svg{width:17px!important;height:17px!important}
.chain-keyboard-v849.disabled{opacity:.42!important;pointer-events:none!important}
.chain-rule-v849{
  margin:10px 0 0!important;
  text-align:center!important;
  color:var(--muted)!important;
  font-size:9px!important;
  line-height:1.45!important;
}
.chain-surrender-v849{
  width:100%!important;
  min-height:48px!important;
  border:0!important;
  border-radius:10px!important;
  background:rgba(255,93,126,.12)!important;
  color:#ff6c8b!important;
  font-size:12px!important;
  font-weight:500!important;
}
.chain-moves-v849{
  width:100%!important;
  min-width:0!important;
  padding:14px!important;
  border-radius:10px!important;
  background:var(--surface)!important;
}
.chain-moves-v849>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}
.chain-moves-v849 h3{margin:0!important;font-size:17px!important;line-height:1.2!important;font-weight:400!important;color:var(--text)!important}
.chain-moves-v849>header span{color:var(--accent)!important;font-size:11px!important}
.chain-moves-v849>div{display:grid!important;gap:7px!important}
.chain-move-v849{
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:9px 11px!important;
  border-radius:9px!important;
  background:var(--surface-2)!important;
}
.chain-move-v849>span{color:var(--muted)!important;font-size:9px!important}
.chain-move-v849>div{min-width:0!important;display:grid!important;gap:2px!important}
.chain-move-v849 small{color:var(--muted)!important;font-size:8px!important}
.chain-move-v849 strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--text)!important;font-size:14px!important;line-height:1.2!important;font-weight:400!important}
.chain-move-v849>b{color:var(--accent)!important;font-size:11px!important;font-weight:400!important}
.chain-empty-v849{margin:0!important;padding:18px!important;border-radius:9px!important;background:var(--surface-2)!important;color:var(--muted)!important;text-align:center!important;font-size:10px!important}

/* Solo Chain follows the same system without duplicating controls. */
.chain-solo-v849{display:grid!important;gap:11px!important}
.chain-solo-context-v849{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;
  padding:13px 14px!important;border-radius:10px!important;background:var(--surface)!important;
}
.chain-solo-context-v849>div{min-width:0!important;display:grid!important;gap:4px!important}
.chain-solo-context-v849 small,.chain-solo-context-v849 time small,.chain-solo-compose-v849 header small{font-size:8px!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:var(--muted)!important}
.chain-solo-context-v849 strong{font-size:18px!important;line-height:1.15!important;font-weight:400!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.chain-solo-context-v849 time{min-width:82px!important;padding:9px 10px!important;border-radius:9px!important;background:var(--surface-2)!important;text-align:right!important;display:grid!important;gap:3px!important}
.chain-solo-context-v849 time b{font-size:18px!important;font-weight:400!important}
.chain-solo-compose-v849{padding:14px!important;border-radius:10px!important;background:var(--surface)!important}
.chain-solo-compose-v849>header{display:grid!important;gap:4px!important;margin-bottom:10px!important}
.chain-solo-compose-v849>header strong{font-size:16px!important;font-weight:400!important}
.chain-solo-tools-v849{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.chain-solo-tools-v849>button{min-height:56px!important;border-radius:10px!important;background:var(--surface)!important;color:var(--muted)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:11px!important}
.chain-solo-tools-v849 svg{width:20px!important;height:20px!important;color:var(--accent)!important}

/* Reaction controls in Duel stay attached to the central VS badge, not to an
   avatar and not in a separate row. */
.duel-center-premium-v845,
.duel-live-center-v845{
  position:relative!important;
  overflow:visible!important;
  isolation:isolate!important;
}
.duel-center-premium-v845>.social-reaction-compact-v845,
.duel-live-center-v845>.social-reaction-compact-v845,
.duel-center-premium-v845>.social-reaction-compact-v847,
.duel-live-center-v845>.social-reaction-compact-v847{
  position:absolute!important;
  right:50%!important;
  bottom:50%!important;
  left:auto!important;
  top:auto!important;
  width:28px!important;
  height:28px!important;
  transform:translate(34px,34px)!important;
  z-index:18!important;
}
.duel-center-premium-v845>em,
.duel-live-center-v845>em{
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  border-radius:12px!important;
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
  font-style:normal!important;
  font-size:12px!important;
  line-height:1!important;
  box-shadow:none!important;
}

/* The text column never touches or sits under the mode icon. */
#app .recent-game-card.recent-unified-v836,
#app .recent-game-card.recent-unified-v841,
.modal-content .recent-game-card.recent-unified-v836,
.modal-content .recent-game-card.recent-unified-v841,
.history-all-v85>button{
  grid-template-columns:54px minmax(0,1fr) auto 22px!important;
  column-gap:18px!important;
  row-gap:0!important;
  padding-left:15px!important;
  padding-right:15px!important;
}
.recent-unified-copy-v836,
.history-all-v85>button>div{
  min-width:0!important;
  padding-left:3px!important;
  margin-left:0!important;
  transform:none!important;
}
.recent-unified-icon-v836,
.recent-unified-icon-v841,
.history-all-v85>button>span:first-child{
  position:relative!important;
  z-index:1!important;
  flex:none!important;
  margin:0!important;
}

:root[data-theme="light"] .chain-score-v849,
:root[data-theme="light"] .chain-context-v849,
:root[data-theme="light"] .chain-turn-v849,
:root[data-theme="light"] .chain-moves-v849,
:root[data-theme="light"] .chain-solo-context-v849,
:root[data-theme="light"] .chain-solo-compose-v849,
:root[data-theme="light"] .chain-solo-tools-v849>button{
  background:#fff!important;
  color:#111620!important;
}
:root[data-theme="light"] .chain-context-v849 time,
:root[data-theme="light"] .chain-compose-v849,
:root[data-theme="light"] .chain-keyboard-v849,
:root[data-theme="light"] .chain-move-v849,
:root[data-theme="light"] .chain-empty-v849,
:root[data-theme="light"] .chain-solo-context-v849 time{
  background:#e8edf5!important;
  color:#111620!important;
}
:root[data-theme="light"] .chain-key-v849{background:#fff!important;color:#111620!important}
:root[data-theme="light"] .chain-key-v849.tool{background:#dbe3ee!important;color:#596579!important}

@media(max-width:520px){
  .shared-chain-sheet-v849{--chain-gap:10px}
  .chain-score-v849{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr)!important;gap:7px!important;padding:11px!important}
  .chain-person-v849{grid-template-columns:42px minmax(0,1fr)!important;gap:3px 7px!important}
  .chain-person-v849.opponent{grid-template-columns:minmax(0,1fr) 42px!important}
  .chain-person-v849 .challenge-avatar-v84{width:42px!important;height:42px!important;min-width:42px!important}
  .chain-person-v849 strong{font-size:11px!important}
  .chain-person-v849>b{font-size:16px!important}
  .chain-center-v849{width:58px!important;min-width:58px!important}
  .chain-link-v849{width:39px!important;height:39px!important}
  .chain-reaction-v849{right:1px!important;top:3px!important;width:26px!important;height:26px!important}
  .chain-reaction-v849 .reaction-anchor-v825,.chain-reaction-v849 .reaction-toggle-v825{width:26px!important;height:26px!important;min-width:26px!important}
  .chain-compose-card-v849{grid-template-columns:42px minmax(0,1fr) 74px!important;gap:6px!important}
  .chain-required-v849{width:42px!important;height:46px!important;font-size:18px!important}
  .chain-compose-v849{height:46px!important;padding:0 10px!important;font-size:15px!important}
  .chain-compose-card-v849>.primary-button,.chain-form-v849 .primary-button{height:46px!important;min-height:46px!important;padding:0 9px!important;font-size:10px!important}
  .chain-keyboard-v849{gap:5px!important;padding:7px!important}
  .chain-key-row-v849{gap:3px!important}
  .chain-key-v849{height:38px!important;font-size:12px!important;border-radius:7px!important}
  #app .recent-game-card.recent-unified-v836,
  #app .recent-game-card.recent-unified-v841,
  .modal-content .recent-game-card.recent-unified-v836,
  .modal-content .recent-game-card.recent-unified-v841,
  .history-all-v85>button{
    grid-template-columns:48px minmax(0,1fr) auto 18px!important;
    column-gap:15px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .recent-unified-copy-v836,.history-all-v85>button>div{padding-left:2px!important}
}
@media(max-width:350px){
  .chain-score-v849{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)!important;padding:9px!important;gap:5px!important}
  .chain-person-v849{grid-template-columns:36px minmax(0,1fr)!important;gap:2px 5px!important}
  .chain-person-v849.opponent{grid-template-columns:minmax(0,1fr) 36px!important}
  .chain-person-v849 .challenge-avatar-v84{width:36px!important;height:36px!important;min-width:36px!important}
  .chain-person-v849 strong{font-size:10px!important}
  .chain-person-v849 small{font-size:7px!important}
  .chain-center-v849{width:52px!important;min-width:52px!important}
  .chain-link-v849{width:36px!important;height:36px!important}
  .chain-compose-card-v849{grid-template-columns:38px minmax(0,1fr) 66px!important}
  .chain-required-v849{width:38px!important;height:44px!important}
  .chain-compose-v849{height:44px!important;font-size:14px!important}
  .chain-compose-card-v849>.primary-button,.chain-form-v849 .primary-button{height:44px!important;min-height:44px!important;font-size:9px!important;padding:0 6px!important}
  .chain-key-v849{height:35px!important;font-size:10px!important}
  #app .recent-game-card.recent-unified-v836,
  #app .recent-game-card.recent-unified-v841,
  .modal-content .recent-game-card.recent-unified-v836,
  .modal-content .recent-game-card.recent-unified-v841,
  .history-all-v85>button{column-gap:13px!important}
}

/* 8.8.49 final social alignment: the reaction trigger stays entirely inside
   the centre column and cannot cover either player name. */
.chain-reaction-v849{
  right:1px!important;
  top:29px!important;
  transform:none!important;
}
@media(max-width:520px){.chain-reaction-v849{right:-1px!important;top:27px!important}}

/* Words Buster 8.8.50 — content integrity pass.
   User-facing text, counters and icons must remain fully readable on every
   supported viewport instead of being cropped by legacy fixed-height rules. */
#app :where(div,section,article,header,footer,main,nav,form,label,button,a,span,strong,small,p,h1,h2,h3,h4,em,b){
  min-inline-size:0;
  box-sizing:border-box;
}
#app :where(svg,img){
  flex-shrink:0;
}
#app svg{
  overflow:visible;
}

/* Text-bearing cards: wrap naturally and expand vertically. */
#app :where(
  .profile-copy,
  .profile-hero,
  .profile-card-v7,
  .settings-row,
  .settings-row-v840,
  .challenge-privacy-inline-v820,
  .product-card,
  .plan-card,
  .store-card-v890,
  .wallet-product,
  .shop-card,
  .achievement-tile-v846,
  .achievement-detail-v846,
  .achievement-condition-v846,
  .recent-game-card,
  .recent-game-card-v6,
  .history-all-v85>button,
  .rank-row,
  .friend-row,
  .challenge-card,
  .tournament-card-v6,
  .game-header-v840,
  .special-game-header-v840,
  .special-status-v828,
  .sudoku-status-v828,
  .mode-result-v840,
  .mode-result-v841,
  .chain-score-v849,
  .chain-context-v849,
  .chain-turn-v849,
  .chain-moves-v849,
  .duel-score-premium-v845,
  .duel-live-premium-v845
) :where(strong,small,p,h1,h2,h3,em,span){
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Header/profile names and subtitles can take another line instead of being
   silently cut off. */
.profile-copy strong,
.profile-copy small,
.profile-mini-v6 .profile-copy strong,
.profile-mini-v6 .profile-copy small,
.profile-hero h1,
.profile-hero h2,
.profile-hero p,
.profile-card-v7 h1,
.profile-card-v7 h2,
.profile-card-v7 p{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.25!important;
}
.profile-mini,
.profile-mini-v6,
.profile-mini-v7{
  min-width:0!important;
  align-items:center!important;
}
.profile-mini .profile-copy,
.profile-mini-v6 .profile-copy,
.profile-mini-v7 .profile-copy{
  min-width:0!important;
  overflow:visible!important;
}
.profile-mini .profile-copy strong,
.profile-mini-v6 .profile-copy strong,
.profile-mini-v7 .profile-copy strong{
  font-size:clamp(11px,3.2vw,14px)!important;
}
.profile-mini .profile-copy small,
.profile-mini-v6 .profile-copy small,
.profile-mini-v7 .profile-copy small{
  font-size:clamp(8px,2.45vw,10px)!important;
}

/* Store/wallet: no first-letter cropping and no artwork clipping. */
.product-card,
.plan-card,
.store-card-v890,
.wallet-product,
.shop-card{
  min-height:64px!important;
  overflow:visible!important;
  padding-inline:max(13px,3.4vw)!important;
  column-gap:12px!important;
}
.product-card>div,
.plan-card>div,
.store-card-v890>div,
.wallet-product>div,
.shop-card>div{
  min-width:0!important;
  padding-inline:2px!important;
  margin:0!important;
  transform:none!important;
  overflow:visible!important;
}
.product-card :where(strong,small),
.plan-card :where(strong,small),
.store-card-v890 :where(strong,small),
.wallet-product :where(strong,small),
.shop-card :where(strong,small){
  display:block!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.product-icon,
.store-card-v890 .resource-icon,
.wallet-product .resource-icon,
.shop-card .resource-icon{
  overflow:visible!important;
  object-fit:contain!important;
}
.product-icon img,
.store-card-v890 img,
.wallet-product img,
.shop-card img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.product-card button,
.plan-card button,
.store-card-v890 button,
.wallet-product button,
.shop-card button{
  min-width:max-content!important;
  white-space:normal!important;
  line-height:1.2!important;
  padding-block:8px!important;
}

/* Achievement artwork is displayed whole rather than zoomed and cropped. */
.achievement-art-v846,
.achievement-detail-art-v846{
  overflow:visible!important;
  padding:4px!important;
}
.achievement-art-v846>img,
.achievement-detail-art-v846>img{
  object-fit:contain!important;
  object-position:center!important;
  border-radius:10px!important;
}
.achievement-tile-v846>strong,
.achievement-detail-v846>h2,
.achievement-detail-v846>p,
.achievement-condition-v846 strong{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
.achievement-art-v846>i,
.achievement-detail-art-v846>span{
  overflow:visible!important;
}

/* Recent results and full history: an explicit protected icon column and a
   copy column that never sits beneath it. */
#app .recent-game-card.recent-unified-v836,
#app .recent-game-card.recent-unified-v841,
.modal-content .recent-game-card.recent-unified-v836,
.modal-content .recent-game-card.recent-unified-v841,
.history-all-v85>button{
  width:100%!important;
  min-height:84px!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) minmax(48px,max-content) 20px!important;
  align-items:center!important;
  column-gap:16px!important;
  padding:13px 15px!important;
  overflow:visible!important;
}
.recent-unified-icon-v836,
.recent-unified-icon-v841,
.history-all-v85>button>span:first-child{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
  margin:0!important;
}
.recent-unified-icon-v836 svg,
.recent-unified-icon-v841 svg,
.history-all-v85>button>span:first-child svg{
  width:26px!important;
  height:26px!important;
  overflow:visible!important;
}
.recent-unified-copy-v836,
.history-all-v85>button>div{
  min-width:0!important;
  width:100%!important;
  padding-left:4px!important;
  margin:0!important;
  transform:none!important;
  overflow:visible!important;
}
.recent-unified-copy-v836 strong,
.recent-unified-copy-v836 small,
.history-all-v85>button>div strong,
.history-all-v85>button>div small{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
.recent-unified-copy-v836 strong,
.history-all-v85>button>div strong{
  font-size:clamp(12px,3.6vw,15px)!important;
  line-height:1.22!important;
}
.recent-unified-copy-v836 small,
.history-all-v85>button>div small{
  margin-top:4px!important;
  font-size:clamp(8px,2.5vw,10px)!important;
  line-height:1.35!important;
}
.recent-unified-score-v836{
  min-width:48px!important;
  align-self:center!important;
  overflow:visible!important;
}
.recent-unified-score-v836 b,
.recent-unified-score-v836 small{
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.recent-unified-arrow-v836,
.history-all-v85>button>svg:last-child{
  width:20px!important;
  min-width:20px!important;
  overflow:visible!important;
}

/* Game headers and status rows grow with their copy instead of forcing an
   ellipsis or cutting the first/last glyph. */
.game-header-v840,
.special-game-header-v840,
.master-game-header-v840{
  height:auto!important;
  min-height:76px!important;
  overflow:visible!important;
}
.special-game-header-v840>div,
.game-header-v840>div{
  min-width:0!important;
  overflow:visible!important;
  padding-inline:1px!important;
}
.special-game-header-v840 :where(h1,p,small),
.game-header-v840 :where(strong,span,small),
.special-status-v828 strong,
.sudoku-status-v828 strong{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
.special-info-button-v830,
.game-icon-button,
.game-header-v840 button{
  overflow:visible!important;
  flex-shrink:0!important;
}

/* Results: full-width cards, readable labels and artwork that remains inside
   its own box on short and narrow displays. */
.mode-result-v840,
.mode-result-v841,
.result-page{
  width:100%!important;
  max-width:700px!important;
  overflow:visible!important;
}
.mode-result-v840 :where(h1,p,strong,span,small),
.mode-result-v841 :where(h1,p,strong,span,small){
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
.mode-result-stats-v840 article{
  height:auto!important;
  min-width:0!important;
  overflow:visible!important;
}
.mode-result-icon-v840,
.mode-result-brand-v840,
.mode-result-brand-v840 img{
  overflow:visible!important;
  object-fit:contain!important;
}
.mode-result-actions-v840>button,
.result-page button{
  white-space:normal!important;
  line-height:1.25!important;
  height:auto!important;
  min-height:54px!important;
  padding-block:10px!important;
}

/* Profile/settings typography remains consistent while long descriptions are
   allowed to occupy the space they need. */
.settings-list-v7 .settings-row-v840,
.settings-list-v7 .challenge-privacy-inline-v820,
.settings-row{
  height:auto!important;
  min-height:82px!important;
  overflow:visible!important;
}
.settings-list-v7 .settings-row-v840 :where(strong,small),
.settings-list-v7 .challenge-privacy-inline-v820 :where(strong,small),
.settings-row :where(strong,small,em){
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
.settings-list-v7 .settings-row-v840>span,
.settings-list-v7 .challenge-privacy-inline-v820>span,
.settings-row>span:first-child{
  overflow:visible!important;
}

/* Social modes: names, reaction copy and move history are readable instead of
   being hidden behind fixed one-line boxes. */
.chain-person-v849 strong,
.chain-context-v849 strong,
.chain-turn-v849 strong,
.chain-turn-v849 p,
.chain-move-v849 strong,
.chain-solo-context-v849 strong,
.duel-person-premium-v845 strong,
.duel-live-player-v845 strong,
.duel-live-caption-v845,
.reaction-pop-v824 strong,
.reaction-pop-v824 small,
.reaction-pop-v829 strong,
.reaction-pop-v829 small{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
.chain-person-v849,
.chain-context-v849,
.chain-turn-v849,
.chain-move-v849,
.duel-person-premium-v845,
.duel-live-player-v845{
  overflow:visible!important;
}
.chain-person-v849 .challenge-avatar-v84,
.duel-person-premium-v845 .challenge-avatar-v84,
.duel-live-player-v845 .challenge-avatar-v84{
  flex-shrink:0!important;
}
.social-reaction-compact-v847 .reaction-pop-v824,
.social-reaction-compact-v847 .reaction-pop-v829,
.chain-reaction-v849 .reaction-pop-v824,
.chain-reaction-v849 .reaction-pop-v829{
  height:auto!important;
  min-height:46px!important;
  overflow:visible!important;
}

/* Numeric counters and compact badges get enough intrinsic space. */
.notice-dot,
.count-badge,
.badge,
[data-live-coins],
[data-live-tickets],
[data-live-hints],
.recent-unified-score-v836,
.top-resource-v890>div,
.top-resource-v890 b,
.top-resource-v890 strong{
  font-variant-numeric:tabular-nums;
  overflow:visible!important;
  text-overflow:clip!important;
}
.notice-dot,
.count-badge,
.badge{
  min-width:22px!important;
  padding-inline:6px!important;
  white-space:nowrap!important;
}

/* Inputs must not hide the beginning of entered text. */
#app :where(input,textarea,[contenteditable="true"]){
  text-indent:0!important;
  padding-left:max(13px,3.5vw)!important;
  padding-right:max(13px,3.5vw)!important;
  line-height:1.35!important;
}

@media(max-width:520px){
  #app .recent-game-card.recent-unified-v836,
  #app .recent-game-card.recent-unified-v841,
  .modal-content .recent-game-card.recent-unified-v836,
  .modal-content .recent-game-card.recent-unified-v841,
  .history-all-v85>button{
    grid-template-columns:50px minmax(0,1fr) minmax(42px,max-content) 18px!important;
    column-gap:13px!important;
    padding:12px!important;
  }
  .recent-unified-icon-v836,
  .recent-unified-icon-v841,
  .history-all-v85>button>span:first-child{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
  }
  .recent-unified-copy-v836,
  .history-all-v85>button>div{padding-left:3px!important}
  .product-card,
  .plan-card,
  .store-card-v890,
  .wallet-product,
  .shop-card{column-gap:9px!important;padding-inline:11px!important}
  .mode-result-stats-v840{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:350px){
  #app .recent-game-card.recent-unified-v836,
  #app .recent-game-card.recent-unified-v841,
  .modal-content .recent-game-card.recent-unified-v836,
  .modal-content .recent-game-card.recent-unified-v841,
  .history-all-v85>button{
    grid-template-columns:45px minmax(0,1fr) minmax(38px,max-content) 16px!important;
    column-gap:10px!important;
    padding:10px!important;
  }
  .recent-unified-icon-v836,
  .recent-unified-icon-v841,
  .history-all-v85>button>span:first-child{
    width:45px!important;
    height:45px!important;
    min-width:45px!important;
  }
  .recent-unified-score-v836 b{font-size:16px!important}
  .recent-unified-score-v836 small{font-size:7px!important}
  .mode-result-stats-v840 strong{font-size:20px!important}
  .mode-result-stats-v840 span{font-size:8px!important}
}

/* Words Buster 8.8.51 — final responsive polish, visible light-theme banners,
   inline SVG resources and one keyboard system. */

/* Resource icons are vectors again: crisp at every scale and never clipped. */
.resource-icon{display:none!important}
.top-resource-v890>span>svg,
.store-card-icon-v890>svg,
.store-card-price-v890 svg,
[data-live-coins]~svg,
[data-live-tickets]~svg,
[data-live-hints]~svg{display:block;overflow:visible!important}
.top-resource-v890.coins>span,.top-resource-v890.coins>span svg{color:#f4b633!important}
.top-resource-v890.tickets>span,.top-resource-v890.tickets>span svg{color:#8b72ff!important}
.top-resource-v890.hints>span,.top-resource-v890.hints>span svg{color:#70b926!important}

/* Home/profile banners keep their premium branded palette in both themes.
   Earlier generic light-theme surface rules were overriding these classes. */
:root[data-theme="light"] #app .home-page-v890>.daily-hero-v7,
:root[data-theme="light"] #app .home-page-v890>.daily-hero-v85,
:root[data-theme="light"] #app .profile-page-v85 .profile-plus-v7,
:root[data-theme="light"] #app .home-page-v890 :where(.plus-card-v7,.plus-banner-v7,.plus-banner,.home-plus-v84){
  background:linear-gradient(135deg,#7252f4 0%,#5c3ed7 54%,#342770 100%)!important;
  color:#fff!important;
  box-shadow:none!important;
  isolation:isolate!important;
}
:root[data-theme="light"] #app .home-page-v890>.daily-hero-v7 :where(h1,h2,h3,strong,b,span),
:root[data-theme="light"] #app .home-page-v890>.daily-hero-v85 :where(h1,h2,h3,strong,b,span),
:root[data-theme="light"] #app .profile-page-v85 .profile-plus-v7 :where(h1,h2,h3,strong,b,span,svg),
:root[data-theme="light"] #app .home-page-v890 :where(.plus-card-v7,.plus-banner-v7,.plus-banner,.home-plus-v84) :where(h1,h2,h3,strong,b,span,svg){
  color:#fff!important;-webkit-text-fill-color:#fff!important
}
:root[data-theme="light"] #app .home-page-v890>.daily-hero-v7 :where(p,small),
:root[data-theme="light"] #app .home-page-v890>.daily-hero-v85 :where(p,small),
:root[data-theme="light"] #app .profile-page-v85 .profile-plus-v7 :where(p,small),
:root[data-theme="light"] #app .home-page-v890 :where(.plus-card-v7,.plus-banner-v7,.plus-banner,.home-plus-v84) :where(p,small){
  color:rgba(255,255,255,.76)!important;-webkit-text-fill-color:rgba(255,255,255,.76)!important
}
:root[data-theme="light"] #app .profile-page-v85 .profile-plus-v7>span,
:root[data-theme="light"] #app .home-page-v890 :where(.plus-card-v7,.plus-banner-v7,.plus-banner,.home-plus-v84)>span{
  background:rgba(255,255,255,.13)!important
}

/* Height-aware game viewport. The value is generated in JS per device height;
   content remains scrollable and keeps a small bottom breathing space. */
#screen.screen-root.game-active,
#screen.screen-root.result-screen{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
  scroll-behavior:auto!important;
  padding-bottom:max(18px,env(safe-area-inset-bottom))!important;
}
#screen.screen-root.game-active>.game-page,
#screen.screen-root.result-screen>section{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
}

/* Marathon is now built from the same components and keyboard geometry as
   Chain instead of maintaining a visually different legacy keyboard. */
.marathon-game-v851{
  display:grid!important;
  gap:10px!important;
  min-width:0!important;
}
.marathon-head-v851{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  min-height:132px!important;
  padding:18px!important;
  background:linear-gradient(135deg,#20233a 0%,#34265f 58%,#294a2d 100%)!important;
  color:#fff!important;
  overflow:hidden!important;
}
.marathon-head-v851>div{min-width:0!important}
.marathon-head-v851 small{
  display:block!important;
  color:#b9ff77!important;
  font-size:9px!important;
  line-height:1.35!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
}
.marathon-head-v851 h1{
  margin:8px 0 6px!important;
  color:#fff!important;
  font-size:clamp(21px,4.8vw,30px)!important;
  line-height:1.08!important;
  font-weight:520!important;
  letter-spacing:-.035em!important;
}
.marathon-head-v851 p{
  margin:0!important;
  max-width:480px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:11px!important;
  line-height:1.45!important;
}
.marathon-timer-v851{
  min-width:100px!important;
  min-height:72px!important;
  padding:12px 14px!important;
  display:grid!important;
  place-content:center!important;
  text-align:center!important;
  background:rgba(8,11,20,.42)!important;
  color:#fff!important;
  font-variant-numeric:tabular-nums!important;
  backdrop-filter:blur(8px)!important;
}
.marathon-timer-v851 small{color:rgba(255,255,255,.62)!important;letter-spacing:0!important;text-transform:none!important}
.marathon-timer-v851 b{margin-top:4px!important;font-size:23px!important;font-weight:520!important;line-height:1!important}
.marathon-input-v851{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto minmax(58px,auto)!important;
  gap:7px 10px!important;
  padding:14px!important;
  background:var(--surface)!important;
  min-width:0!important;
}
.marathon-input-v851>small{grid-column:1/-1;color:var(--muted)!important;font-size:9px!important}
.marathon-input-v851>[data-marathon-draft-v826]{
  min-width:0!important;
  min-height:58px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  overflow-x:auto!important;
  white-space:nowrap!important;
  background:var(--surface-2)!important;
  scrollbar-width:none!important;
}
.marathon-input-v851>[data-marathon-draft-v826]::-webkit-scrollbar{display:none!important}
.marathon-input-v851>[data-marathon-draft-v826] strong{font-size:clamp(18px,5vw,25px)!important;font-weight:500!important;letter-spacing:.02em!important}
.marathon-input-v851>[data-marathon-draft-v826] span{color:var(--muted)!important;font-size:12px!important}
.marathon-input-v851>.primary-button{width:96px!important;min-height:58px!important;align-self:stretch!important}
.marathon-keyboard-v851{
  width:100%!important;
  padding:10px!important;
  gap:7px!important;
  background:var(--surface)!important;
}
.marathon-keyboard-v851 .key-row{display:flex!important;width:100%!important;gap:6px!important;justify-content:stretch!important}
.marathon-keyboard-v851 .key{
  flex:1 1 0!important;
  min-width:0!important;
  max-width:none!important;
  height:48px!important;
  min-height:48px!important;
  padding:0!important;
  background:var(--surface-2)!important;
  color:var(--text)!important;
  font-size:13px!important;
  font-weight:500!important;
}
.marathon-keyboard-v851 .key-tool{flex:.82 1 0!important;color:var(--text-soft)!important}
.marathon-keyboard-v851 .key-tool svg{width:19px!important;height:19px!important}
.marathon-tools-v851{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.marathon-tools-v851>button{
  min-height:54px!important;
  padding:8px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
}
.marathon-tools-v851>button svg{width:19px!important;height:19px!important}
.marathon-tools-v851>button b{min-width:23px!important;height:23px!important;padding:0 6px!important;display:grid!important;place-items:center!important;background:var(--surface-2)!important;font-size:9px!important}
.marathon-found-v851{margin-top:0!important}
:root[data-theme="light"] .marathon-head-v851{background:linear-gradient(135deg,#20233a 0%,#34265f 58%,#294a2d 100%)!important}
:root[data-theme="light"] .marathon-input-v851,
:root[data-theme="light"] .marathon-keyboard-v851,
:root[data-theme="light"] .marathon-tools-v851>button,
:root[data-theme="light"] .marathon-found-v851{background:#fff!important}

@media(max-width:430px){
  .marathon-head-v851{grid-template-columns:minmax(0,1fr) 88px!important;min-height:118px!important;padding:15px!important;gap:10px!important}
  .marathon-head-v851 h1{font-size:22px!important}
  .marathon-head-v851 p{font-size:10px!important}
  .marathon-timer-v851{min-width:88px!important;min-height:66px!important;padding:10px!important}
  .marathon-timer-v851 b{font-size:20px!important}
  .marathon-input-v851{grid-template-columns:minmax(0,1fr) 82px!important;padding:11px!important}
  .marathon-input-v851>[data-marathon-draft-v826],.marathon-input-v851>.primary-button{min-height:54px!important}
  .marathon-input-v851>.primary-button{width:82px!important}
  .marathon-keyboard-v851{padding:8px!important;gap:5px!important}
  .marathon-keyboard-v851 .key-row{gap:4px!important}
  .marathon-keyboard-v851 .key{height:44px!important;min-height:44px!important;font-size:11px!important}
}
@media(max-width:350px){
  .marathon-head-v851{grid-template-columns:1fr!important}
  .marathon-timer-v851{justify-self:start!important;min-width:102px!important;min-height:54px!important;grid-auto-flow:column!important;gap:8px!important;align-items:center!important}
  .marathon-timer-v851 b{margin:0!important}
  .marathon-keyboard-v851 .key{font-size:10px!important}
}

/* Words Buster 8.8.52 — achievement art without any outline/frame. */
#app .achievement-tile-v846,
#app .achievement-art-v846,
#app .achievement-detail-v846,
#app .achievement-detail-art-v846{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
#app .achievement-art-v846,
#app .achievement-detail-art-v846,
:root[data-theme="light"] #app .achievement-art-v846,
:root[data-theme="light"] #app .achievement-detail-art-v846{
  padding:0!important;
  background:transparent!important;
}
#app .achievement-art-v846>img,
#app .achievement-detail-art-v846>img{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  margin:0!important;
}


/* Words Buster 8.8.53 — tiny additional game offset and fully visible Chain word. */
#screen.screen-root.game-active{
  padding-top:calc(var(--game-safe-top,72px) + 3px)!important;
}
.chain-compose-card-v849,
.chain-solo-compose-v849,
.chain-turn-v849.active{
  overflow:visible!important;
  min-width:0!important;
}
#chainSelected.chain-compose-v849,
.chain-compose-v849{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  padding:6px 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scroll-padding-inline:10px!important;
  overscroll-behavior-inline:contain!important;
  scrollbar-width:none!important;
  color:var(--text)!important;
  opacity:1!important;
  visibility:visible!important;
}
#chainSelected.chain-compose-v849::-webkit-scrollbar,
.chain-compose-v849::-webkit-scrollbar{display:none!important}
#chainSelected.chain-compose-v849 .selected-chip,
.chain-compose-v849 .selected-chip{
  position:relative!important;
  z-index:1!important;
  flex:0 0 36px!important;
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  outline:0!important;
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
  -webkit-text-fill-color:var(--accent-ink)!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:500!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  overflow:visible!important;
}
#chainSelected.chain-compose-v849 .selected-placeholder,
.chain-compose-v849 .selected-placeholder{
  width:100%!important;
  min-width:0!important;
  display:block!important;
  color:var(--muted)!important;
  -webkit-text-fill-color:var(--muted)!important;
  font-size:12px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.chain-solo-context-v849>div,
.chain-context-v849>div{
  min-width:0!important;
  overflow:visible!important;
}
.chain-solo-context-v849 strong,
.chain-context-v849 strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
@media(max-width:390px){
  #chainSelected.chain-compose-v849,
  .chain-compose-v849{padding:5px 8px!important;gap:4px!important}
  #chainSelected.chain-compose-v849 .selected-chip,
  .chain-compose-v849 .selected-chip{
    flex-basis:32px!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:34px!important;
    min-height:34px!important;
    font-size:15px!important;
  }
}

/* Words Buster 8.8.54 — height-aware game spacing and a Chain word that always stays visible. */
@media (max-width:760px){
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-content-safe-top,0px) + 8px),
      clamp(77px,calc(70px + 1.15dvh),82px)
    )!important;
  }
}
@media (max-width:760px) and (max-height:640px){
  #screen.screen-root.game-active{
    padding-top:max(calc(var(--tg-content-safe-top,0px) + 7px),77px)!important;
  }
}
@media (max-width:760px) and (orientation:landscape){
  #screen.screen-root.game-active{
    padding-top:max(calc(var(--tg-content-safe-top,0px) + 6px),60px)!important;
  }
}

#chainSelected.chain-compose-v849,
.chain-compose-v849{
  height:auto!important;
  min-height:48px!important;
  max-height:none!important;
  padding:6px 9px!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  white-space:normal!important;
}
#chainSelected .chain-word-run,
.chain-compose-v849 .chain-word-run{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
#chainSelected .chain-word-run .selected-chip,
.chain-compose-v849 .chain-word-run .selected-chip{
  position:relative!important;
  z-index:1!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0 1px!important;
  display:inline-grid!important;
  place-items:center!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--text)!important;
  -webkit-text-fill-color:var(--text)!important;
  box-shadow:none!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:520!important;
  letter-spacing:.025em!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  overflow:visible!important;
}
#chainSelected .chain-word-run.compact .selected-chip,
.chain-compose-v849 .chain-word-run.compact .selected-chip{
  font-size:15px!important;
  letter-spacing:.01em!important;
  padding-inline:0!important;
}
#chainSelected .chain-word-run.dense .selected-chip,
.chain-compose-v849 .chain-word-run.dense .selected-chip{
  font-size:12px!important;
  font-weight:560!important;
  letter-spacing:0!important;
  padding-inline:0!important;
}
#chainSelected .chain-word-run.ultra .selected-chip,
.chain-compose-v849 .chain-word-run.ultra .selected-chip{
  font-size:10px!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
  padding-inline:0!important;
}
#chainSelected .selected-placeholder,
.chain-compose-v849 .selected-placeholder{
  width:100%!important;
  min-width:0!important;
  text-align:center!important;
}
:root[data-theme="light"] #chainSelected .chain-word-run .selected-chip,
:root[data-theme="light"] .chain-compose-v849 .chain-word-run .selected-chip{
  color:#11141b!important;
  -webkit-text-fill-color:#11141b!important;
  background:transparent!important;
}
@media(max-width:390px){
  #chainSelected.chain-compose-v849,
  .chain-compose-v849{min-height:46px!important;padding:5px 7px!important}
  #chainSelected .chain-word-run .selected-chip,
  .chain-compose-v849 .chain-word-run .selected-chip{font-size:16px!important}
  #chainSelected .chain-word-run.compact .selected-chip,
  .chain-compose-v849 .chain-word-run.compact .selected-chip{font-size:13px!important}
  #chainSelected .chain-word-run.dense .selected-chip,
  .chain-compose-v849 .chain-word-run.dense .selected-chip{font-size:11px!important}
  #chainSelected .chain-word-run.ultra .selected-chip,
  .chain-compose-v849 .chain-word-run.ultra .selected-chip{font-size:9px!important}
}
@media(max-width:340px){
  .chain-compose-card-v849{grid-template-columns:36px minmax(0,1fr) 64px!important;gap:5px!important}
  #chainSelected .chain-word-run.normal .selected-chip,
  .chain-compose-v849 .chain-word-run.normal .selected-chip{font-size:15px!important}
  #chainSelected .chain-word-run.compact .selected-chip,
  .chain-compose-v849 .chain-word-run.compact .selected-chip{font-size:12px!important}
  #chainSelected .chain-word-run.dense .selected-chip,
  .chain-compose-v849 .chain-word-run.dense .selected-chip{font-size:10px!important}
  #chainSelected .chain-word-run.ultra .selected-chip,
  .chain-compose-v849 .chain-word-run.ultra .selected-chip{font-size:8px!important}
}

/* Shared Chain uses the same fully visible word treatment. */
.chain-compose-v849 .chain-draft-run{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:var(--text)!important;
  -webkit-text-fill-color:var(--text)!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-size:18px!important;
  line-height:1.1!important;
  font-weight:520!important;
  letter-spacing:.025em!important;
}
.chain-compose-v849 .chain-draft-run.compact{font-size:15px!important;letter-spacing:.01em!important}
.chain-compose-v849 .chain-draft-run.dense{font-size:12px!important;letter-spacing:0!important;font-weight:560!important}
.chain-compose-v849 .chain-draft-run.ultra{font-size:10px!important;letter-spacing:-.02em!important;font-weight:600!important}
:root[data-theme="light"] .chain-compose-v849 .chain-draft-run{
  color:#11141b!important;
  -webkit-text-fill-color:#11141b!important;
}
@media(max-width:390px){
  .chain-compose-v849 .chain-draft-run{font-size:16px!important}
  .chain-compose-v849 .chain-draft-run.compact{font-size:13px!important}
  .chain-compose-v849 .chain-draft-run.dense{font-size:11px!important}
  .chain-compose-v849 .chain-draft-run.ultra{font-size:9px!important}
}

/* Words Buster 8.8.55 — keep every game just below Telegram Mini App controls on all phone heights. */
@media (max-width:760px) and (orientation:portrait){
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 12px),
      calc(var(--tg-content-safe-top,0px) + 12px),
      clamp(82px,calc(74px + 1.35dvh),90px)
    )!important;
    scroll-padding-top:max(
      calc(var(--tg-safe-top,0px) + 12px),
      calc(var(--tg-content-safe-top,0px) + 12px),
      clamp(82px,calc(74px + 1.35dvh),90px)
    )!important;
  }
  #screen.screen-root.result-screen{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 10px),
      calc(var(--tg-content-safe-top,0px) + 10px),
      clamp(80px,calc(72px + 1.35dvh),88px)
    )!important;
  }
}
@media (max-width:360px) and (orientation:portrait){
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 10px),
      calc(var(--tg-content-safe-top,0px) + 10px),
      clamp(80px,calc(72px + 1.3dvh),86px)
    )!important;
    scroll-padding-top:max(
      calc(var(--tg-safe-top,0px) + 10px),
      calc(var(--tg-content-safe-top,0px) + 10px),
      clamp(80px,calc(72px + 1.3dvh),86px)
    )!important;
  }
  #screen.screen-root.result-screen{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 9px),
      calc(var(--tg-content-safe-top,0px) + 9px),
      clamp(78px,calc(70px + 1.3dvh),84px)
    )!important;
  }
}
@media (max-width:760px) and (max-height:620px) and (orientation:portrait){
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 10px),
      calc(var(--tg-content-safe-top,0px) + 10px),
      80px
    )!important;
    scroll-padding-top:max(
      calc(var(--tg-safe-top,0px) + 10px),
      calc(var(--tg-content-safe-top,0px) + 10px),
      80px
    )!important;
  }
  #screen.screen-root.result-screen{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 9px),
      calc(var(--tg-content-safe-top,0px) + 9px),
      78px
    )!important;
  }
}
@media (max-width:920px) and (orientation:landscape){
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 8px),
      calc(var(--tg-content-safe-top,0px) + 8px),
      62px
    )!important;
  }
  #screen.screen-root.result-screen{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 7px),
      calc(var(--tg-content-safe-top,0px) + 7px),
      60px
    )!important;
  }
}

/* Words Buster 8.8.56 — visible Telegram-control clearance on every phone height. */
:root{
  --game-content-drop:10px;
}
@media (max-width:760px) and (orientation:portrait){
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 22px),
      calc(var(--tg-content-safe-top,0px) + 22px),
      clamp(92px,calc(83px + 1.45dvh),102px)
    )!important;
    scroll-padding-top:max(
      calc(var(--tg-safe-top,0px) + 22px),
      calc(var(--tg-content-safe-top,0px) + 22px),
      clamp(92px,calc(83px + 1.45dvh),102px)
    )!important;
  }
  #screen.screen-root.game-active > :is(.game-page,.special-game-v828,.master-pangram-game-v836){
    margin-top:var(--game-content-drop)!important;
  }
}
@media (max-width:760px) and (max-height:680px) and (orientation:portrait){
  :root{--game-content-drop:5px}
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 16px),
      calc(var(--tg-content-safe-top,0px) + 16px),
      86px
    )!important;
    scroll-padding-top:max(
      calc(var(--tg-safe-top,0px) + 16px),
      calc(var(--tg-content-safe-top,0px) + 16px),
      86px
    )!important;
  }
}
@media (max-width:760px) and (min-height:681px) and (max-height:820px) and (orientation:portrait){
  :root{--game-content-drop:7px}
}
@media (max-width:760px) and (min-height:821px) and (max-height:920px) and (orientation:portrait){
  :root{--game-content-drop:9px}
}
@media (max-width:760px) and (min-height:921px) and (orientation:portrait){
  :root{--game-content-drop:11px}
}
@media (max-width:920px) and (orientation:landscape){
  :root{--game-content-drop:3px}
  #screen.screen-root.game-active{
    padding-top:max(
      calc(var(--tg-safe-top,0px) + 12px),
      calc(var(--tg-content-safe-top,0px) + 12px),
      68px
    )!important;
  }
  #screen.screen-root.game-active > :is(.game-page,.special-game-v828,.master-pangram-game-v836){
    margin-top:var(--game-content-drop)!important;
  }
}

/* Words Buster 8.8.58 — exact comparison and first-to-level result cards. */
.result-comparison-v858{
  width:100%;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:14px;
  padding:16px 18px;
  margin:14px 0;
  border-radius:8px;
  background:linear-gradient(100deg,rgba(124,89,255,.16),rgba(156,255,61,.08));
  color:var(--text-primary,#f7f8fb);
  box-sizing:border-box;
}
.result-comparison-v858>span{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:rgba(124,89,255,.16);
  color:#a98cff;
}
.result-comparison-v858.first>span{
  background:rgba(156,255,61,.13);
  color:#9cff3d;
}
.result-comparison-v858 svg{
  width:25px;
  height:25px;
}
.result-comparison-v858 div{
  min-width:0;
  display:grid;
  gap:5px;
  text-align:left;
}
.result-comparison-v858 strong{
  display:block;
  font-size:16px;
  line-height:1.25;
  font-weight:500;
  overflow-wrap:anywhere;
}
.result-comparison-v858 small{
  display:block;
  font-size:12px;
  line-height:1.45;
  font-weight:400;
  color:var(--text-muted,#9da4b4);
  overflow-wrap:anywhere;
}
:root[data-theme="light"] .result-comparison-v858{
  background:linear-gradient(100deg,rgba(112,76,238,.12),rgba(102,170,24,.10));
  color:#151720;
}
:root[data-theme="light"] .result-comparison-v858>span{
  background:rgba(112,76,238,.13);
  color:#6f49df;
}
:root[data-theme="light"] .result-comparison-v858.first>span{
  background:rgba(102,170,24,.13);
  color:#5d9d16;
}
:root[data-theme="light"] .result-comparison-v858 small{
  color:#697184;
}
@media(max-width:420px){
  .result-comparison-v858{
    grid-template-columns:42px minmax(0,1fr);
    gap:12px;
    padding:14px;
  }
  .result-comparison-v858>span{
    width:42px;
    height:42px;
  }
  .result-comparison-v858 strong{font-size:15px;}
}

/* Words Buster 8.8.59 — regression-quality layout and zero-flicker starts. */
:root{
  --wb-game-top:96px;
  --wb-result-top:94px;
  --wb-page-gap:12px;
}
*,*::before,*::after{box-sizing:border-box}

.round-start-overlay-v859{
  position:fixed;
  inset:0;
  z-index:1200;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 50% 44%,rgba(156,255,61,.12),transparent 30%),
    radial-gradient(circle at 58% 52%,rgba(113,85,255,.16),transparent 46%),
    rgba(6,7,11,.67);
  -webkit-backdrop-filter:blur(14px) saturate(.92);
  backdrop-filter:blur(14px) saturate(.92);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease;
}
.round-start-overlay-v859.visible{opacity:1;visibility:visible;pointer-events:auto}
.round-start-card-v859{
  position:relative;
  isolation:isolate;
  width:min(100%,286px);
  min-height:232px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:17px;
  padding:27px 24px 25px;
  border:0;
  border-radius:28px;
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(156,255,61,.055),transparent 42%),
    linear-gradient(325deg,rgba(113,85,255,.11),transparent 46%),
    rgba(19,21,28,.96);
  color:var(--text,#f7f8fb);
  box-shadow:0 28px 90px rgba(0,0,0,.38);
  text-align:center;
}
.round-start-card-v859::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:auto 30px 0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,#9cff3d 28%,#7155ff 72%,transparent);
  opacity:.76;
}
.round-start-logo-v859{
  position:relative;
  width:108px;
  height:108px;
  display:grid;
  place-items:center;
}
.round-start-logo-v859>span{
  position:absolute;
  inset:10px;
  border-radius:50%;
  background:linear-gradient(135deg,rgba(156,255,61,.22),rgba(113,85,255,.27));
  filter:blur(18px);
  opacity:.9;
  animation:wb-v859-glow 1.7s ease-in-out infinite;
}
.round-start-logo-v859 img{
  position:relative;
  z-index:1;
  width:96px;
  height:96px;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.26));
  animation:wb-v859-logo 1.7s ease-in-out infinite;
}
.round-start-card-v859>strong{
  display:block;
  max-width:100%;
  font-size:19px;
  line-height:1.2;
  font-weight:520;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
.round-start-progress-v859{
  position:relative;
  width:148px;
  height:4px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.075);
}
.round-start-progress-v859>i{
  position:absolute;
  top:0;
  bottom:0;
  left:-52%;
  width:52%;
  border-radius:inherit;
  background:linear-gradient(90deg,#9cff3d,#7155ff);
  box-shadow:0 0 18px rgba(156,255,61,.24);
  animation:wb-v859-progress 1.05s cubic-bezier(.45,0,.25,1) infinite;
}
@keyframes wb-v859-progress{to{transform:translateX(294%)}}
@keyframes wb-v859-logo{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.015)}}
@keyframes wb-v859-glow{0%,100%{transform:scale(.9);opacity:.6}50%{transform:scale(1.08);opacity:1}}
:root[data-theme="light"] .round-start-overlay-v859{
  background:
    radial-gradient(circle at 50% 44%,rgba(116,190,42,.13),transparent 30%),
    radial-gradient(circle at 58% 52%,rgba(113,85,255,.12),transparent 46%),
    rgba(235,238,245,.7);
}
:root[data-theme="light"] .round-start-card-v859{
  background:
    linear-gradient(145deg,rgba(156,255,61,.075),transparent 42%),
    linear-gradient(325deg,rgba(113,85,255,.075),transparent 46%),
    rgba(255,255,255,.97);
  color:#11141b;
  box-shadow:0 28px 78px rgba(36,42,58,.16);
}
:root[data-theme="light"] .round-start-progress-v859{background:rgba(32,38,50,.09)}

/* One stable top offset. Historical nested margins are neutralized so the
   interface cannot move when Telegram reports a temporary viewport change. */
#screen.screen-root.game-active{
  width:100%;
  min-width:0;
  max-width:100%;
  padding-top:var(--wb-game-top)!important;
  scroll-padding-top:var(--wb-game-top)!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none;
}
#screen.screen-root.result-screen{padding-top:var(--wb-result-top)!important;scroll-padding-top:var(--wb-result-top)!important}
#screen.screen-root.game-active>:is(.game-page,.special-game-v828,.master-pangram-game-v836){
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin-top:0!important;
}
.game-page,.result-page,.result-page-v7,.result-page-v84,.mode-result-v840,.paid-result-v828,
.game-page *,.result-page *,.result-page-v7 *,.result-page-v84 *,.mode-result-v840 *,.paid-result-v828 *{
  min-width:0;
}
.game-page :is(h1,h2,h3,strong,p,small,span),
.result-page :is(h1,h2,h3,strong,p,small,span),
.result-page-v7 :is(h1,h2,h3,strong,p,small,span),
.result-page-v84 :is(h1,h2,h3,strong,p,small,span),
.mode-result-v840 :is(h1,h2,h3,strong,p,small,span){
  overflow-wrap:anywhere;
}

/* Every result screen uses the same content measure and button geometry. */
#screen.result-screen>:is(.result-page,.result-page-v7,.result-page-v84,.mode-result-v840,.paid-result-v828,.daily-result-v818){
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  padding-inline:clamp(14px,3.8vw,24px)!important;
}
#screen.result-screen :is(.result-actions,.result-actions-v7,.result-actions-v84,.mode-result-actions-v840){width:100%!important;max-width:100%!important}
#screen.result-screen :is(.primary-button,.secondary-button,.share-result-v7,.share-result-v84,.full-button){width:100%!important;max-width:100%!important}

/* History rows: the icon owns a fixed column and text can never slide under it. */
#app .recent-game-card.recent-unified-v836,
#app .recent-game-card.recent-unified-v841,
.modal-content .recent-game-card.recent-unified-v836,
.modal-content .recent-game-card.recent-unified-v841,
.history-all-v85>.recent-game-card,
.history-all-v820>.recent-game-card,
.history-all-v831>.recent-game-card{
  grid-template-columns:52px minmax(0,1fr) minmax(58px,82px) 20px!important;
  column-gap:16px!important;
  padding-inline:15px!important;
}
.recent-unified-icon-v836,.recent-unified-icon-v841{grid-column:1!important;margin:0!important;justify-self:start!important}
.recent-unified-copy-v836{grid-column:2!important;padding-left:1px!important;overflow:visible!important}
.recent-unified-copy-v836 strong,.recent-unified-copy-v836 small{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.recent-unified-score-v836{grid-column:3!important}
.recent-unified-arrow-v836{grid-column:4!important}

/* Consistent modal rhythm and typography across old and new sheets. */
#modalSheet.bottom-sheet{max-width:760px;width:100%;border:0}
#modalContent{min-width:0;max-width:100%}
#modalContent :is(h1,.sheet-title){font-size:clamp(24px,6vw,34px)!important;line-height:1.08!important;font-weight:520!important;letter-spacing:-.035em!important}
#modalContent h2{font-size:clamp(18px,4.8vw,24px)!important;line-height:1.18!important;font-weight:520!important}
#modalContent h3,#modalContent strong{font-weight:500}
#modalContent p,#modalContent small{line-height:1.45}
#modalContent button{min-width:0;overflow:visible;text-overflow:clip}

/* Light mode must preserve hierarchy instead of flattening every surface. */
:root[data-theme="light"]{
  --surface:#ffffff;
  --surface-2:#eef1f6;
  --surface-3:#e4e9f1;
  --text:#11141b;
  --muted:#687184;
}
:root[data-theme="light"] :is(.page,.game-page,.result-page,.result-page-v7,.result-page-v84,.mode-result-v840){color:#11141b}
:root[data-theme="light"] :is(.settings-row-v840,.profile-stat,.recent-unified-v836,.mission-card,.reward-card,.balance-card,.game-header-v840,.special-game-header-v840){
  background:#fff!important;
  box-shadow:0 1px 0 rgba(27,33,46,.05),0 9px 28px rgba(54,61,78,.055)!important;
}
:root[data-theme="light"] :is(.settings-row-v840,.profile-stat,.recent-unified-v836,.game-header-v840,.special-game-header-v840) :is(strong,h1,h2,h3){color:#11141b!important}
:root[data-theme="light"] :is(.settings-row-v840,.profile-stat,.recent-unified-v836,.game-header-v840,.special-game-header-v840) :is(small,p,span){color:#687184}
:root[data-theme="light"] :is(.hero-card-v890,.profile-hero-v7,.premium-banner-v7,.plus-banner-v890,.paid-mode-card-v829){
  color:#fff!important;
  box-shadow:none!important;
}
:root[data-theme="light"] :is(.hero-card-v890,.profile-hero-v7,.premium-banner-v7,.plus-banner-v890,.paid-mode-card-v829) :is(h1,h2,h3,strong,p,small,span){color:inherit!important}

/* Achievement art remains borderless in every state. */
:is(.achievement-card-v846,.achievement-tile-v846,.achievement-card,.achievement-detail-art-v846,.achievement-image-v846){
  border:0!important;outline:0!important;box-shadow:none!important;
}
:is(.achievement-card-v846,.achievement-tile-v846,.achievement-card) img{border:0!important;outline:0!important;box-shadow:none!important;object-fit:contain!important}

@media(max-width:420px){
  :root{--wb-page-gap:10px}
  #app .recent-game-card.recent-unified-v836,
  #app .recent-game-card.recent-unified-v841,
  .modal-content .recent-game-card.recent-unified-v836,
  .modal-content .recent-game-card.recent-unified-v841,
  .history-all-v85>.recent-game-card,
  .history-all-v820>.recent-game-card,
  .history-all-v831>.recent-game-card{
    grid-template-columns:46px minmax(0,1fr) minmax(48px,64px) 18px!important;
    column-gap:12px!important;
    padding-inline:12px!important;
  }
  .recent-unified-icon-v836,.recent-unified-icon-v841{width:46px!important;height:46px!important}
  #screen.result-screen>:is(.result-page,.result-page-v7,.result-page-v84,.mode-result-v840,.paid-result-v828,.daily-result-v818){padding-inline:12px!important}
}
@media(max-width:340px){
  #app .recent-game-card.recent-unified-v836,
  #app .recent-game-card.recent-unified-v841,
  .modal-content .recent-game-card.recent-unified-v836,
  .modal-content .recent-game-card.recent-unified-v841{
    grid-template-columns:42px minmax(0,1fr) 48px 16px!important;
    column-gap:9px!important;
    padding-inline:10px!important;
  }
}
@media(max-width:920px) and (orientation:landscape){
  #screen.screen-root.game-active{padding-top:var(--wb-game-top)!important}
}
@media(prefers-reduced-motion:reduce){
  .round-start-overlay-v859,.round-start-logo-v859>span,.round-start-logo-v859 img,.round-start-progress-v859>i{transition:none!important;animation-duration:1.8s!important}
}

/* 8.8.59 final cascade lock: older adjacent-sibling rules carried higher
   specificity. These selectors intentionally match that specificity so the
   stable, height-aware offset is the actual computed value. */
@media (max-width:760px){
  #screen.screen-root.game-active,
  #topbar.topbar-v890 + #screen.screen-root.game-active{
    padding-top:var(--wb-game-top)!important;
    scroll-padding-top:var(--wb-game-top)!important;
  }
  body.result-active #screen.screen-root.result-screen,
  #topbar.topbar-v890 + #screen.screen-root.result-screen,
  #screen.screen-root.result-screen{
    padding-top:var(--wb-result-top)!important;
    scroll-padding-top:var(--wb-result-top)!important;
  }
}
@media (min-width:761px){
  #screen.screen-root.game-active,
  #topbar.topbar-v890 + #screen.screen-root.game-active{
    padding-top:18px!important;
    scroll-padding-top:18px!important;
  }
  body.result-active #screen.screen-root.result-screen,
  #topbar.topbar-v890 + #screen.screen-root.result-screen,
  #screen.screen-root.result-screen{
    padding-top:18px!important;
    scroll-padding-top:18px!important;
  }
}

/* Absolute final viewport authority — matches the legacy body/in-game
   specificity that otherwise wins the cascade. */
@media (max-width:760px){
  body.in-game #screen.screen-root.game-active,
  body.result-active #screen.screen-root.game-active,
  #topbar.topbar-v890.hidden + #screen.screen-root.game-active,
  #topbar.topbar-v890 + #screen.screen-root.game-active,
  #screen.screen-root.game-active{
    padding-top:var(--wb-game-top)!important;
    scroll-padding-top:var(--wb-game-top)!important;
  }
  body.result-active #screen.screen-root.result-screen,
  body.in-game #screen.screen-root.result-screen,
  #topbar.topbar-v890.hidden + #screen.screen-root.result-screen,
  #topbar.topbar-v890 + #screen.screen-root.result-screen,
  #screen.screen-root.result-screen{
    padding-top:var(--wb-result-top)!important;
    scroll-padding-top:var(--wb-result-top)!important;
  }
}
@media (min-width:761px){
  body.in-game #screen.screen-root.game-active,
  body.result-active #screen.screen-root.game-active,
  #topbar.topbar-v890.hidden + #screen.screen-root.game-active,
  #topbar.topbar-v890 + #screen.screen-root.game-active,
  #screen.screen-root.game-active,
  body.result-active #screen.screen-root.result-screen,
  body.in-game #screen.screen-root.result-screen{
    padding-top:18px!important;
    scroll-padding-top:18px!important;
  }
}

/* 8.8.59 final profile hero parity — identical premium banner in both themes. */
#app .profile-page-v85 .profile-hero-v7,
:root[data-theme="light"] #app .profile-page-v85 .profile-hero-v7,
:root[data-theme="dark"] #app .profile-page-v85 .profile-hero-v7{
  background:
    radial-gradient(circle at 14% 18%,rgba(156,255,61,.22),transparent 34%),
    linear-gradient(135deg,#33256f 0%,#5c3bd2 48%,#203f31 100%)!important;
  color:#fff!important;
  box-shadow:none!important;
}
#app .profile-page-v85 .profile-hero-v7 :is(h1,p,span,b,strong,small),
:root[data-theme="light"] #app .profile-page-v85 .profile-hero-v7 :is(h1,p,span,b,strong,small){
  color:#fff!important;
  opacity:1!important;
}
#app .profile-page-v85 .profile-title-v7,
:root[data-theme="light"] #app .profile-page-v85 .profile-title-v7{
  background:rgba(10,12,19,.34)!important;
  color:#fff!important;
  backdrop-filter:blur(10px)!important;
}
#app .profile-page-v85 .profile-title-v7 small,
#app .profile-page-v85 .profile-xp-v7 span,
#app .profile-page-v85 .profile-xp-v7 b,
:root[data-theme="light"] #app .profile-page-v85 .profile-title-v7 small,
:root[data-theme="light"] #app .profile-page-v85 .profile-xp-v7 span,
:root[data-theme="light"] #app .profile-page-v85 .profile-xp-v7 b{
  color:rgba(255,255,255,.78)!important;
}
#app .profile-page-v85 .profile-xp-v7>i,
:root[data-theme="light"] #app .profile-page-v85 .profile-xp-v7>i{
  background:rgba(255,255,255,.2)!important;
}

/* Words Buster 8.8.60 — home tournaments, resilient chain composition and
   compact social surfaces. */
.home-tournaments-v860{margin-top:34px;display:grid;gap:16px}
.home-tournament-heading-v860{align-items:flex-end}
.home-tournament-heading-v860>div{min-width:0;display:grid;gap:5px}
.home-tournament-heading-v860 small{max-width:560px;color:var(--muted);font-size:13px;line-height:1.45}
.home-tournament-list-v860{display:grid;gap:12px}
.home-tournament-banner-v860{position:relative;width:100%;min-width:0;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px;border:0;border-radius:22px;text-align:left;color:#fff;overflow:hidden;background:linear-gradient(112deg,#84d51b 0%,#4f7130 32%,#37305f 67%,#2a1c67 100%)}
.home-tournament-banner-v860:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,15,.08),rgba(8,10,15,.42));pointer-events:none}
.home-tournament-banner-v860>*{position:relative;z-index:1;min-width:0}
.home-tournament-icon-v860{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;background:rgba(10,13,20,.5);color:#fff}
.home-tournament-icon-v860 svg{width:28px;height:28px}
.home-tournament-banner-v860>div{display:grid;gap:4px}
.home-tournament-banner-v860>div>small{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.home-tournament-banner-v860>div>strong{font-size:20px;line-height:1.18;font-weight:500;overflow-wrap:anywhere}
.home-tournament-banner-v860 p{margin:0;color:rgba(255,255,255,.78);font-size:13px;line-height:1.38}
.home-tournament-banner-v860 em{justify-self:start;display:inline-flex;align-items:center;gap:7px;margin-top:4px;padding:6px 9px;border-radius:10px;background:rgba(12,15,22,.42);font-size:11px;font-style:normal;color:rgba(255,255,255,.86)}
.home-tournament-banner-v860 em.league{background:rgba(157,255,55,.18);color:#baff68}
.home-tournament-banner-v860 em svg{width:15px;height:15px}
.home-tournament-banner-v860 aside{display:grid;justify-items:end;gap:6px;white-space:nowrap}
.home-tournament-banner-v860 aside b{font-size:17px;font-weight:500}
.home-tournament-banner-v860 aside span{font-size:11px;color:rgba(255,255,255,.72)}
.home-tournament-banner-v860 aside svg{width:22px;height:22px;margin-top:4px}

/* The channel task remains visible but no longer occupies a hero-sized block. */
.channel-tasks-v84,.channel-tasks-v83{gap:10px!important;margin-top:24px!important}
.channel-task-v84,.channel-task-v85{min-height:0!important;padding:14px 16px!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:12px!important;border-radius:18px!important}
.channel-task-v84>span,.channel-task-v85>span{width:44px!important;height:44px!important;border-radius:13px!important}
.channel-task-v84 strong,.channel-task-v85 strong{font-size:15px!important;line-height:1.25!important;font-weight:500!important}
.channel-task-v84 small,.channel-task-v85 small{font-size:11px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.channel-warning-v84,.channel-task-warning-v81{font-size:10px!important;line-height:1.35!important;margin:0 4px!important}

.chain-compose-shell-v860{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.chain-compose-label-v860{grid-column:1/-1;display:flex;align-items:center;gap:11px;min-width:0}
.chain-compose-label-v860>div{min-width:0;display:grid;gap:2px}
.chain-compose-label-v860 small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.chain-compose-label-v860 strong{font-size:14px;line-height:1.25;font-weight:500;overflow-wrap:anywhere}
.chain-compose-v860{min-width:0;min-height:58px;display:flex;align-items:center;padding:10px 14px;border-radius:16px;background:var(--surface-2);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;white-space:nowrap}
.chain-compose-v860::-webkit-scrollbar{display:none}
.chain-compose-v860 .chain-draft-run{display:block;min-width:max-content;max-width:none;font-size:clamp(17px,4.7vw,24px)!important;line-height:1.15!important;font-weight:400!important;letter-spacing:.01em}
.chain-compose-v860 .chain-draft-run.compact{font-size:clamp(16px,4.2vw,21px)!important}
.chain-compose-v860 .chain-draft-run.dense{font-size:clamp(14px,3.7vw,18px)!important}
.chain-compose-v860 .chain-draft-run.ultra{font-size:clamp(12px,3.2vw,16px)!important}
.chain-submit-v860{min-width:118px!important;height:auto!important;min-height:58px!important;padding:10px 16px!important}
.chain-word-text-v860{display:block;width:100%;min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:clip;font-size:clamp(22px,7vw,36px);line-height:1.15;font-weight:400;letter-spacing:.04em}
.chain-word-text-v860.compact{font-size:clamp(19px,5.7vw,29px)}
.chain-word-text-v860.dense{font-size:clamp(16px,4.7vw,24px)}
.chain-word-text-v860.ultra{font-size:clamp(13px,3.8vw,19px);letter-spacing:.015em}
.chain-word-text-v860.micro{font-size:clamp(11px,3.1vw,16px);letter-spacing:0}
.chain-placeholder-v860{width:100%;text-align:center}
.chain-solo-v849 .chain-compose-v849{min-width:0;overflow:hidden!important;padding-inline:12px!important}

.duel-game-v860 .duel-live-v860{margin-bottom:12px!important}
.duel-game-v860 .word-progress-v84{margin-top:0!important}
.duel-game-v860 [data-submit-word]:disabled{opacity:.48}
.duel-game-v860 [data-submit-word]:not(:disabled){opacity:1}

:root[data-theme="light"] .home-tournament-banner-v860{color:#fff;background:linear-gradient(112deg,#89db1f 0%,#557b32 33%,#41366d 67%,#34237c 100%)}
:root[data-theme="light"] .chain-compose-v860{background:#eef1f7;box-shadow:inset 0 0 0 1px rgba(30,36,50,.06)}
:root[data-theme="light"] .chain-compose-label-v860 strong{color:#11131a}

@media(max-width:520px){
  .home-tournaments-v860{margin-top:28px}
  .home-tournament-banner-v860{grid-template-columns:52px minmax(0,1fr) 24px;gap:12px;padding:15px;border-radius:19px}
  .home-tournament-icon-v860{width:52px;height:52px;border-radius:15px}
  .home-tournament-banner-v860>div>strong{font-size:17px}
  .home-tournament-banner-v860 p{font-size:11px}
  .home-tournament-banner-v860 aside b,.home-tournament-banner-v860 aside span{display:none}
  .home-tournament-banner-v860 aside{align-self:center}
  .chain-compose-shell-v860{grid-template-columns:minmax(0,1fr)}
  .chain-submit-v860{width:100%!important;min-height:50px!important}
  .chain-compose-v860{min-height:56px}
}
@media(max-width:360px){
  .home-tournament-banner-v860{grid-template-columns:46px minmax(0,1fr) 20px;padding:13px;gap:10px}
  .home-tournament-icon-v860{width:46px;height:46px}
  .home-tournament-banner-v860 p{display:none}
  .home-tournament-banner-v860 em{font-size:9px;padding:5px 7px}
  .chain-compose-v860{padding-inline:10px}
}

/* Words Buster 8.8.61 — integrated tournament catalog and unified section actions. */
.play-tabs-v8,.play-tabs-v83,.play-tabs-v84{display:none!important}
.tournaments-section-v861{width:100%;min-width:0;margin-top:34px;display:grid;gap:14px;scroll-margin-top:28px}
.tournaments-section-v861.context-play{margin-top:36px}
.tournaments-heading-v861{margin:0!important;align-items:center!important}
.tournaments-heading-v861 h2{margin:0!important;font-size:clamp(28px,6vw,38px)!important;line-height:1.05!important;font-weight:500!important;letter-spacing:-.045em!important}
.tournament-list-v861{display:grid;gap:12px}
.tournament-banner-v861{position:relative;width:100%;min-width:0;min-height:142px;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px;border:0;border-radius:22px!important;overflow:hidden;text-align:left;color:#fff;background:linear-gradient(112deg,#91df20 0%,#5f8337 31%,#43396f 66%,#2c1d70 100%);box-shadow:none!important}
.tournament-banner-v861::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 15%,rgba(255,255,255,.14),transparent 34%),linear-gradient(90deg,rgba(8,10,15,.04),rgba(8,10,15,.42));pointer-events:none}
.tournament-banner-v861.cadence-weekly{background:linear-gradient(112deg,#a5e934 0%,#617d36 27%,#453772 62%,#301c7c 100%)}
.tournament-banner-v861.cadence-monthly{background:linear-gradient(112deg,#82d51e 0%,#547039 29%,#3b356a 62%,#24165f 100%)}
.tournament-banner-v861>*{position:relative;z-index:1;min-width:0}
.tournament-banner-icon-v861{width:64px;height:64px;display:grid;place-items:center;border-radius:18px!important;background:rgba(10,13,20,.5);backdrop-filter:blur(9px);color:#fff}
.tournament-banner-icon-v861 svg{width:29px;height:29px}
.tournament-banner-copy-v861{display:grid;gap:6px;align-content:center}
.tournament-banner-copy-v861>small{font-size:10px;line-height:1.2;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.tournament-banner-copy-v861>strong{font-size:clamp(18px,4.4vw,23px);line-height:1.16;font-weight:500;letter-spacing:-.025em;color:#fff;overflow-wrap:anywhere}
.tournament-banner-copy-v861>em{justify-self:start;max-width:100%;display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:10px!important;background:rgba(12,15,22,.4);color:rgba(255,255,255,.84);font-size:10px;line-height:1.25;font-style:normal;white-space:normal}
.tournament-banner-copy-v861>em.league{background:rgba(156,255,61,.19);color:#c4ff82}
.tournament-banner-copy-v861>em svg{width:14px;height:14px;flex:0 0 auto}
.tournament-banner-side-v861{display:grid;justify-items:end;align-items:center;gap:6px;white-space:nowrap}
.tournament-banner-side-v861>b{font-size:16px;line-height:1;font-weight:500;color:#fff;font-variant-numeric:tabular-nums}
.tournament-banner-side-v861>small{font-size:10px;color:rgba(255,255,255,.7)}
.tournament-banner-side-v861>svg{width:22px;height:22px;margin-top:3px}

/* Every small section shortcut follows the same compact “history” language. */
.section-heading>button:not(.primary-button),.play-group-head>button:not(.primary-button),.section-action-v861{width:auto!important;min-width:118px!important;min-height:44px!important;padding:7px 10px 7px 13px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 18px!important;align-items:center!important;gap:9px!important;background:var(--surface)!important;color:var(--text)!important;border:0!important;border-radius:14px!important;text-align:left!important;box-shadow:none!important}
.section-heading>button:not(.primary-button)>span,.play-group-head>button:not(.primary-button)>span,.section-action-v861>span{min-width:0;display:grid;gap:2px}
.section-heading>button:not(.primary-button) strong,.play-group-head>button:not(.primary-button) strong,.section-action-v861 strong{font-size:11px!important;line-height:1.15!important;font-weight:500!important;white-space:nowrap!important;color:var(--text)!important}
.section-heading>button:not(.primary-button) small,.play-group-head>button:not(.primary-button) small,.section-action-v861 small{font-size:8px!important;line-height:1.15!important;color:var(--muted)!important;white-space:nowrap!important}
.section-heading>button:not(.primary-button)>svg,.play-group-head>button:not(.primary-button)>svg,.section-action-v861>svg{width:16px!important;height:16px!important;color:var(--accent)!important}

/* Tournament detail sheet. */
.tournament-detail-sheet-v861 .modal-sheet{max-width:720px!important}
.tournament-detail-v861{display:grid;gap:12px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
.tournament-detail-hero-v861{position:relative;min-height:154px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border-radius:22px!important;overflow:hidden;color:#fff;background:linear-gradient(112deg,#91df20 0%,#587634 30%,#40376b 65%,#2e1e72 100%)}
.tournament-detail-hero-v861::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 14% 16%,rgba(255,255,255,.15),transparent 34%),linear-gradient(90deg,rgba(10,12,18,.03),rgba(10,12,18,.44));pointer-events:none}
.tournament-detail-hero-v861>*{position:relative;z-index:1;min-width:0}
.tournament-detail-hero-v861>span{width:58px;height:58px;display:grid;place-items:center;border-radius:17px!important;background:rgba(11,14,21,.48);color:#fff}
.tournament-detail-hero-v861>span svg{width:28px;height:28px}
.tournament-detail-hero-v861>div{display:grid;gap:5px}
.tournament-detail-hero-v861 small{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.tournament-detail-hero-v861 h2{margin:0;font-size:clamp(21px,5.5vw,29px);line-height:1.08;font-weight:500;letter-spacing:-.035em;color:#fff;overflow-wrap:anywhere}
.tournament-detail-hero-v861 p{margin:0;max-width:480px;font-size:11px;line-height:1.42;color:rgba(255,255,255,.78)}
.tournament-detail-hero-v861 time{align-self:start;padding:8px 10px;border-radius:12px!important;background:rgba(10,13,20,.43);font-size:12px;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.tournament-detail-facts-v861{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tournament-detail-facts-v861 article{min-width:0;min-height:82px;padding:13px 12px;display:grid;align-content:center;gap:6px;border-radius:16px!important;background:var(--surface)}
.tournament-detail-facts-v861 small{font-size:9px;line-height:1.25;color:var(--muted)}
.tournament-detail-facts-v861 strong{font-size:16px;line-height:1.15;font-weight:500;color:var(--text);overflow-wrap:anywhere}
.tournament-detail-rule-v861{min-height:72px;padding:14px 15px;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;border-radius:17px!important;background:var(--surface)}
.tournament-detail-rule-v861>svg{width:22px;height:22px;color:var(--text-soft)}
.tournament-detail-rule-v861.league>svg{color:var(--accent)}
.tournament-detail-rule-v861>div{display:grid;gap:4px}
.tournament-detail-rule-v861 strong{font-size:13px;line-height:1.3;font-weight:500;color:var(--text)}
.tournament-detail-rule-v861 small{font-size:10px;line-height:1.35;color:var(--muted)}
.tournament-own-v861{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tournament-own-v861>div{min-height:74px;padding:13px 15px;display:grid;align-content:center;gap:5px;border-radius:16px!important;background:linear-gradient(120deg,rgba(156,255,61,.12),var(--surface))}
.tournament-own-v861 small{font-size:9px;color:var(--muted)}
.tournament-own-v861 strong{font-size:18px;font-weight:500;color:var(--text)}
.tournament-preview-v861{display:grid;gap:10px;padding:15px;border-radius:19px!important;background:var(--surface)}
.tournament-preview-v861>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tournament-preview-v861>header>div{display:grid;gap:3px}
.tournament-preview-v861 h3{margin:0;font-size:18px;line-height:1.15;font-weight:500;color:var(--text)}
.tournament-preview-v861 header small{font-size:9px;color:var(--muted)}
.tournament-preview-v861>div,.tournament-ranking-list-v861{display:grid;gap:8px}
.tournament-rank-row-v861{width:100%;min-width:0;min-height:68px;padding:10px 12px;display:grid;grid-template-columns:36px 44px minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-radius:14px!important;background:var(--surface-2);color:var(--text);text-align:left}
.tournament-rank-row-v861.own{background:linear-gradient(115deg,rgba(156,255,61,.14),var(--surface-2))}
.tournament-rank-row-v861>b{font-size:12px;font-weight:500;color:var(--muted)}
.tournament-rank-row-v861 .rank-avatar{width:44px;height:44px;border-radius:13px!important}
.tournament-rank-row-v861>span{min-width:0;display:grid;gap:3px}
.tournament-rank-row-v861 strong{font-size:13px;line-height:1.2;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tournament-rank-row-v861 small{font-size:9px;line-height:1.25;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tournament-rank-row-v861 em{font-size:16px;font-style:normal;font-weight:500;color:var(--text);font-variant-numeric:tabular-nums}
.tournament-detail-actions-v861{display:grid;gap:8px}
.tournament-primary-v861{width:100%!important;min-height:58px!important;padding:12px 16px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;font-size:14px!important;font-weight:500!important}
.tournament-primary-v861 svg{width:18px;height:18px}
.tournament-loading-v861{min-height:220px;display:grid;place-items:center}
.tournament-loading-v861 i{width:34px;height:34px;border:3px solid var(--surface-3);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}
.tournament-empty-v861{margin:0;padding:18px;text-align:center;color:var(--muted);font-size:11px}
.tournament-ranking-v861{display:grid;gap:10px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
.tournament-ranking-own-v861{padding-bottom:4px;border-bottom:1px solid var(--surface-3)}

:root[data-theme="light"] .tournament-banner-v861,:root[data-theme="light"] .tournament-detail-hero-v861{color:#fff;background:linear-gradient(112deg,#92df20 0%,#63813a 31%,#4a3e77 67%,#342180 100%)}
:root[data-theme="light"] .section-heading>button:not(.primary-button),:root[data-theme="light"] .play-group-head>button:not(.primary-button),:root[data-theme="light"] .section-action-v861,:root[data-theme="light"] .tournament-detail-facts-v861 article,:root[data-theme="light"] .tournament-detail-rule-v861,:root[data-theme="light"] .tournament-preview-v861{background:#fff!important;box-shadow:0 10px 28px rgba(34,41,55,.055)!important}
:root[data-theme="light"] .tournament-rank-row-v861{background:#f2f4f8}
:root[data-theme="light"] .tournament-rank-row-v861.own{background:linear-gradient(115deg,rgba(125,194,31,.14),#f2f4f8)}

@media(max-width:620px){
  .tournaments-section-v861{margin-top:28px;gap:12px}
  .tournaments-heading-v861 h2{font-size:28px!important}
  .tournament-banner-v861{min-height:128px;grid-template-columns:52px minmax(0,1fr) 24px;gap:12px;padding:15px;border-radius:19px!important}
  .tournament-banner-icon-v861{width:52px;height:52px;border-radius:15px!important}
  .tournament-banner-icon-v861 svg{width:24px;height:24px}
  .tournament-banner-copy-v861>strong{font-size:17px}
  .tournament-banner-copy-v861>em{font-size:9px;padding:5px 7px}
  .tournament-banner-side-v861>b,.tournament-banner-side-v861>small{display:none}
  .tournament-banner-side-v861{justify-items:center}
  .tournament-detail-hero-v861{grid-template-columns:50px minmax(0,1fr);min-height:0;padding:15px;border-radius:19px!important}
  .tournament-detail-hero-v861>span{width:50px;height:50px;border-radius:15px!important}
  .tournament-detail-hero-v861 time{grid-column:2;justify-self:start;margin-top:2px}
  .tournament-detail-facts-v861{grid-template-columns:1fr 1fr}
  .tournament-detail-facts-v861 article{min-height:72px}
  .tournament-preview-v861{padding:13px}
  .tournament-preview-v861>header{align-items:flex-end}
  .tournament-rank-row-v861{grid-template-columns:30px 40px minmax(0,1fr) auto;gap:8px;padding:9px 10px}
  .tournament-rank-row-v861 .rank-avatar{width:40px;height:40px}
  .section-heading>button:not(.primary-button),.play-group-head>button:not(.primary-button),.section-action-v861{min-width:112px!important;min-height:42px!important;padding:6px 9px 6px 11px!important}
  .section-heading>button:not(.primary-button) small,.play-group-head>button:not(.primary-button) small,.section-action-v861 small{display:none!important}
}
@media(max-width:370px){
  .tournament-banner-v861{grid-template-columns:46px minmax(0,1fr) 20px;gap:10px;padding:13px}
  .tournament-banner-icon-v861{width:46px;height:46px}
  .tournament-banner-copy-v861>small{font-size:8px}
  .tournament-banner-copy-v861>strong{font-size:15px}
  .tournament-banner-copy-v861>em{font-size:8px}
  .tournament-detail-facts-v861{gap:6px}
  .tournament-detail-facts-v861 article{padding:11px 9px}
  .tournament-rank-row-v861{grid-template-columns:26px 36px minmax(0,1fr) auto}
  .tournament-rank-row-v861 .rank-avatar{width:36px;height:36px}
  .tournament-rank-row-v861 strong{font-size:12px}
  .tournament-rank-row-v861 em{font-size:14px}
}

/* Words Buster 8.8.63 — final visual contract, unified results and fast surfaces. */
:root{
  --wb-radius-one:14px!important;
  --radius-xl:14px!important;
  --radius-lg:14px!important;
  --radius-md:14px!important;
  --radius-sm:14px!important;
  --wb-radius:14px!important;
  --wb-radius-card:14px!important;
  --wb-radius-control:14px!important;
  --wb-radius-small:14px!important;
}

/* One radius for every visual object, including the recent-result icons. */
#app *,#app *::before,#app *::after{
  border-radius:var(--wb-radius-one)!important;
}
#app :where(img,[class*="avatar"],[class*="icon"],[class*="badge"],[class*="chip"],[class*="card"],[class*="row"],[class*="tile"],button,input,textarea,select){
  border-radius:var(--wb-radius-one)!important;
}

/* Remove expensive paint effects. The interface stays immediate even on older phones. */
#app *,#app *::before,#app *::after{
  box-shadow:none!important;
  text-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  will-change:auto!important;
}
#app :where(button,a,[role="button"]){transition:none!important}
#app :where(.achievement-preview-v85,.achievement-list-v7,.recent-results-list,.recent-list,.settings-list-v7,.home-tournament-list-v860,.tournament-list-v861,.channel-tasks-v84){
  content-visibility:auto;
  contain-intrinsic-size:1px 640px;
}

/* Unified completion page for every game mode. */
.result-unified-v863{
  width:min(100%,620px);
  min-height:calc(100dvh - var(--wb-result-top,104px) - 18px);
  margin:0 auto;
  padding:4px 0 max(22px,env(safe-area-inset-bottom));
  display:grid;
  align-content:start;
  justify-items:stretch;
  gap:14px;
  color:var(--text);
}
.result-unified-brand-v863{
  display:grid;
  justify-items:center;
  gap:12px;
  padding-top:2px;
  text-align:center;
}
.result-unified-brand-v863 img{
  width:88px!important;
  height:88px!important;
  display:block;
  object-fit:contain;
  background:transparent!important;
  clip-path:none!important;
}
.result-unified-brand-v863>span{
  max-width:100%;
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
.result-unified-v863>h1{
  margin:2px auto 0;
  max-width:580px;
  color:var(--text);
  font-size:clamp(32px,8vw,50px);
  line-height:1.04;
  font-weight:500;
  letter-spacing:-.045em;
  text-align:center;
  text-wrap:balance;
}
.result-unified-comparison-v863{
  justify-self:center;
  max-width:520px;
  padding:10px 14px;
  display:grid;
  justify-items:center;
  gap:3px;
  background:color-mix(in srgb,var(--violet) 12%,var(--surface));
  color:var(--text);
  text-align:center;
}
.result-unified-comparison-v863.first{
  background:color-mix(in srgb,var(--accent) 13%,var(--surface));
}
.result-unified-comparison-v863 strong{
  font-size:12px;
  line-height:1.35;
  font-weight:500;
}
.result-unified-comparison-v863 small{
  color:var(--muted);
  font-size:9px;
  line-height:1.35;
}
.result-unified-highlight-v863{
  min-height:150px;
  padding:20px;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:8px;
  background:
    radial-gradient(circle at 12% 8%,rgba(156,255,61,.14),transparent 42%),
    linear-gradient(122deg,color-mix(in srgb,var(--accent) 8%,var(--surface)),color-mix(in srgb,var(--violet) 10%,var(--surface)));
  text-align:center;
  overflow:hidden;
}
.result-unified-highlight-v863 strong{
  color:var(--text);
  font-size:clamp(48px,13vw,72px);
  line-height:.98;
  font-weight:400;
  letter-spacing:-.045em;
  font-variant-numeric:tabular-nums;
}
.result-unified-highlight-v863 span{
  color:var(--muted);
  font-size:13px;
  line-height:1.3;
}
.result-unified-stats-v863{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.result-unified-stats-v863 article{
  min-width:0;
  min-height:118px;
  padding:15px 8px;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:8px;
  background:var(--surface);
  text-align:center;
}
.result-unified-stats-v863 strong{
  max-width:100%;
  color:var(--text);
  font-size:clamp(30px,8vw,45px);
  line-height:1;
  font-weight:400;
  letter-spacing:-.035em;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
.result-unified-stats-v863 span{
  color:var(--muted);
  font-size:10px;
  line-height:1.3;
  text-transform:none;
}
.result-unified-note-v863{
  min-height:58px;
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:var(--surface);
}
.result-unified-note-v863>span{
  color:var(--muted);
  font-size:10px;
}
.result-unified-note-v863>strong{
  color:var(--text);
  font-size:18px;
  font-weight:500;
  letter-spacing:.04em;
  overflow-wrap:anywhere;
  text-align:right;
}
.result-unified-note-v863.saved{
  justify-content:center;
  background:color-mix(in srgb,var(--violet) 15%,var(--surface));
  color:color-mix(in srgb,var(--violet) 55%,var(--text));
  text-align:center;
}
.result-unified-note-v863.saved svg{width:19px;height:19px;flex:0 0 auto}
.result-unified-note-v863.saved strong{
  color:inherit;
  font-size:13px;
  line-height:1.4;
  letter-spacing:0;
  text-align:left;
}
.result-unified-actions-v863{
  display:grid;
  gap:10px;
  margin-top:2px;
}
.result-unified-actions-v863>button{
  width:100%!important;
  min-height:58px!important;
  margin:0!important;
  padding:12px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  border:0!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:500!important;
}
.result-unified-actions-v863>button svg{width:19px!important;height:19px!important;flex:0 0 auto}
.result-unified-actions-v863 .share-result-v84{
  background:linear-gradient(100deg,#744bff,#6037ef)!important;
  color:#fff!important;
}
.result-unified-actions-v863 .primary-button{
  background:var(--accent)!important;
  color:#11170d!important;
}
.result-unified-actions-v863 .secondary-button{
  background:var(--surface-2)!important;
  color:var(--text)!important;
}

/* Tournament uses the same compact rhythm as every other completion page. */
.result-unified-v863.mode-tournament{
  gap:12px;
}
.result-unified-v863.mode-tournament .result-unified-highlight-v863{
  min-height:132px;
}
.result-unified-v863.mode-tournament .result-unified-stats-v863 article{
  min-height:106px;
}

/* All small section actions share one component and always include the arrow. */
.section-action-v863,
.profile-avatar-action-v863{
  min-width:0!important;
  min-height:44px!important;
  padding:8px 10px 8px 13px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:9px!important;
  border:0!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:500!important;
  text-align:left!important;
}
.section-action-v863>span,
.profile-avatar-action-v863>span{
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
}
.section-action-v863>svg,
.profile-avatar-action-v863>svg{
  width:16px!important;
  height:16px!important;
  color:var(--accent)!important;
}
.profile-avatar-wrap-v7 .profile-avatar-action-v863{
  width:100%!important;
  margin-top:8px!important;
  background:rgba(10,12,19,.48)!important;
  color:#fff!important;
}
.profile-avatar-wrap-v7 .profile-avatar-action-v863>svg{color:var(--accent)!important}
.achievements-heading-v85{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}

/* Channel task: no glyph clipping and no forced two-line crop. */
.channel-task-v84,.channel-task-v85{
  grid-template-columns:44px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:14px 16px!important;
  overflow:visible!important;
}
.channel-task-v84>span,.channel-task-v85>span{
  width:44px!important;
  height:44px!important;
  overflow:hidden!important;
}
.channel-task-v84>div,.channel-task-v85>div{
  min-width:0!important;
  width:100%!important;
  padding-inline:2px!important;
  overflow:visible!important;
}
.channel-task-v84 strong,.channel-task-v85 strong,
.channel-task-v84 small,.channel-task-v85 small{
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
}
.channel-task-v84 small,.channel-task-v85 small{
  display:block!important;
  margin-top:3px!important;
  line-height:1.4!important;
}

/* Explicit light-theme surface parity. No dark card is allowed to become transparent. */
:root[data-theme="light"] #app{
  color-scheme:light;
}
:root[data-theme="light"] #app :where(
  .topbar,.bottom-nav,.bottom-sheet,.modal-content,.sheet-content,
  .profile-stats-v7 article,.achievement-preview-v85 article,.achievement-list-v7 article,
  .settings-row-v840,.settings-list-v7>button,.settings-list-v7>article,
  .recent-result-v84,.recent-result-v85,.recent-special-v831,
  .channel-task-v84,.channel-task-v85,
  .mission-card,.mission-card-v84,.mission-card-v85,
  .tournament-detail-facts-v861 article,.tournament-detail-rule-v861,.tournament-preview-v861,
  .tournament-rank-row-v861,.notification-card-v824,
  .result-unified-stats-v863 article,.result-unified-note-v863,
  .section-action-v863
){
  background:#fff!important;
  color:#11151d!important;
}
:root[data-theme="light"] #app :where(
  .top-resource-v890,.game-summary,.game-summary-v7,.word-progress-v84,.word-progress-v85,
  .selected-word,.selected-word-v84,.builder-tools button,.reaction-zone-v824,
  .result-unified-actions-v863 .secondary-button
){
  background:#e8edf5!important;
  color:#11151d!important;
}
:root[data-theme="light"] #app :where(.profile-stats-v7 article,.achievement-preview-v85 article,.settings-row-v840,.recent-result-v84,.recent-result-v85,.recent-special-v831){
  border:0!important;
}
:root[data-theme="light"] #app .profile-avatar-wrap-v7 .profile-avatar-action-v863{
  background:#fff!important;
  color:#11151d!important;
}
:root[data-theme="light"] #app .profile-avatar-wrap-v7 .profile-avatar-action-v863>svg{
  color:#6c43ef!important;
}
:root[data-theme="light"] #app .result-unified-highlight-v863{
  background:
    radial-gradient(circle at 12% 8%,rgba(126,197,30,.16),transparent 42%),
    linear-gradient(122deg,#f1f7eb,#f0ecfb)!important;
}
:root[data-theme="light"] #app .result-unified-comparison-v863{
  background:#f0ecfb!important;
}
:root[data-theme="light"] #app .result-unified-comparison-v863.first{
  background:#eef7e7!important;
}
:root[data-theme="light"] #app .result-unified-note-v863.saved{
  background:#eeeafd!important;
  color:#5638b4!important;
}
:root[data-theme="light"] #app .channel-task-v84,
:root[data-theme="light"] #app .channel-task-v85{
  background:#fff!important;
}
:root[data-theme="light"] #app .channel-task-v84>span,
:root[data-theme="light"] #app .channel-task-v85>span{
  background:#edf1f7!important;
}
:root[data-theme="light"] #app :where(.profile-page-v85,.page,.screen-root){
  color:var(--text)!important;
}

@media(max-width:620px){
  .result-unified-v863{gap:12px;padding-top:0}
  .result-unified-brand-v863{gap:10px}
  .result-unified-brand-v863 img{width:76px!important;height:76px!important}
  .result-unified-v863>h1{font-size:clamp(30px,9.4vw,42px)}
  .result-unified-highlight-v863{min-height:132px;padding:16px}
  .result-unified-stats-v863{gap:8px}
  .result-unified-stats-v863 article{min-height:104px;padding:12px 6px}
  .result-unified-actions-v863>button{min-height:56px!important}
}
@media(max-width:370px){
  .result-unified-v863{gap:9px}
  .result-unified-brand-v863 img{width:68px!important;height:68px!important}
  .result-unified-brand-v863>span{font-size:9px;letter-spacing:.12em}
  .result-unified-highlight-v863{min-height:116px}
  .result-unified-stats-v863 article{min-height:94px}
  .result-unified-stats-v863 strong{font-size:28px}
  .result-unified-note-v863{padding:11px 13px}
  .channel-task-v84,.channel-task-v85{grid-template-columns:40px minmax(0,1fr) auto!important;padding:12px!important;gap:9px!important}
  .channel-task-v84>span,.channel-task-v85>span{width:40px!important;height:40px!important}
}
@media(max-height:740px){
  .result-unified-v863{gap:9px}
  .result-unified-brand-v863 img{width:66px!important;height:66px!important}
  .result-unified-v863>h1{font-size:clamp(28px,7.6vw,38px)}
  .result-unified-highlight-v863{min-height:104px;padding:12px}
  .result-unified-highlight-v863 strong{font-size:44px}
  .result-unified-stats-v863 article{min-height:88px;padding:9px 5px}
  .result-unified-actions-v863{gap:8px}
  .result-unified-actions-v863>button{min-height:50px!important}
}
@media(prefers-reduced-motion:reduce){
  #app *,#app *::before,#app *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}


/* Words Buster 8.8.64 — final consistency and social reaction layout */
.milestone-heading{grid-template-columns:minmax(0,1fr)!important}
.milestone-heading>button[data-all-milestones]{display:none!important}

.special-info-sheet-v864 .sheet-head{margin-bottom:12px!important}
.special-info-v864{display:grid!important;gap:10px!important;margin-top:0!important}
.special-info-v864>article{min-height:76px!important;grid-template-columns:48px minmax(0,1fr)!important;gap:12px!important;padding:14px!important;border-radius:var(--radius,6px)!important}
.special-info-v864>article>span{width:48px!important;height:48px!important;border-radius:var(--radius,6px)!important}
.special-info-v864>article p{margin:0!important;line-height:1.45!important}
.special-info-sheet-v864 .special-info-icon-v830{display:none!important}

.result-unified-v863.mode-tournament .result-unified-stats-v863{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.result-unified-v863.mode-tournament{gap:12px!important}
.result-unified-v863.mode-tournament .result-unified-highlight-v863{margin-top:0!important}
.result-unified-v863.mode-tournament .result-unified-note-v863{margin-top:0!important}

.profile-avatar-wrap-v7 .profile-avatar-action-v863{
  grid-template-columns:minmax(0,1fr) 16px!important;
  min-height:46px!important;
  padding:9px 10px!important;
  gap:5px!important;
  border-radius:var(--radius,6px)!important;
}
.profile-avatar-wrap-v7 .profile-avatar-action-v863>span{
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-align:center!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:600!important;
}
.profile-avatar-wrap-v7 .profile-avatar-action-v863>svg{width:15px!important;height:15px!important}

.social-reaction-notice-v864{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  z-index:2!important;
  width:100%!important;
  min-height:0!important;
  margin:8px 0 0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.social-reaction-notice-v864 .reaction-pop-v824,
.social-reaction-notice-v864 .reaction-pop-v829{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  margin:0!important;
  width:min(100%,420px)!important;
  max-width:100%!important;
  min-height:54px!important;
  padding:8px 12px!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  border:0!important;
  border-radius:var(--radius,6px)!important;
  background:var(--surface-2)!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.social-reaction-notice-v864 .reaction-pop-v824>span,
.social-reaction-notice-v864 .reaction-pop-v829>span{width:38px!important;height:38px!important;border-radius:var(--radius,6px)!important}
.social-reaction-notice-v864 .reaction-pop-v824>div,
.social-reaction-notice-v864 .reaction-pop-v829>div{min-width:0!important;text-align:left!important}
.social-reaction-notice-v864 .reaction-pop-v824 small,
.social-reaction-notice-v864 .reaction-pop-v829 small,
.social-reaction-notice-v864 .reaction-pop-v824 strong,
.social-reaction-notice-v864 .reaction-pop-v829 strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

.duel-score-premium-v845+.social-reaction-notice-v864,
.duel-live-caption-v845+.social-reaction-notice-v864,
.chain-score-premium-v845+.social-reaction-notice-v864,
.chain-score-v849+.social-reaction-notice-v864{margin-top:8px!important}
.launch-locked-v864{pointer-events:none!important;opacity:.78!important}

:root[data-theme="light"] #app .special-info-v864>article,
:root[data-theme="light"] #app .social-reaction-notice-v864 .reaction-pop-v824,
:root[data-theme="light"] #app .social-reaction-notice-v864 .reaction-pop-v829{
  background:#fff!important;
  color:#11151d!important;
}
:root[data-theme="light"] #app .profile-avatar-wrap-v7 .profile-avatar-action-v863{
  background:#fff!important;
  color:#11151d!important;
}

/* Reduce first-paint work on long off-screen collections without changing
   layout or interaction once an item approaches the viewport. */
.milestone-list>*,.friend-list>*,.achievement-grid>*,.avatar-grid-v84>*,.recent-list>*{
  content-visibility:auto;
  contain-intrinsic-size:96px;
}

@media(max-width:370px){
  .profile-avatar-wrap-v7 .profile-avatar-action-v863{padding:8px 7px!important}
  .profile-avatar-wrap-v7 .profile-avatar-action-v863>span{font-size:10px!important}
  .social-reaction-notice-v864 .reaction-pop-v824,
  .social-reaction-notice-v864 .reaction-pop-v829{grid-template-columns:34px minmax(0,1fr)!important;min-height:50px!important;padding:7px 9px!important}
}


/* Words Buster 8.8.65 — stable reactions and direct avatar selection */
.profile-page-v85 .profile-avatar-wrap-v7{
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  padding-top:6px!important;
}
.profile-page-v85 .profile-avatar-button-v865{
  position:relative!important;
  display:block!important;
  width:max-content!important;
  height:max-content!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  overflow:visible!important;
  transform:translateY(6px)!important;
  box-shadow:none!important;
}
.profile-page-v85 .profile-avatar-button-v865 .profile-avatar-v7{
  display:block!important;
  margin:0!important;
  pointer-events:none!important;
}
.profile-page-v85 .profile-avatar-edit-v865{
  position:absolute!important;
  right:-5px!important;
  bottom:-5px!important;
  z-index:3!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,var(--accent),#7654ff)!important;
  color:#11170d!important;
  pointer-events:none!important;
  box-shadow:none!important;
}
.profile-page-v85 .profile-avatar-edit-v865 svg{
  width:17px!important;
  height:17px!important;
  stroke-width:1.9!important;
}
.profile-page-v85 .profile-avatar-action-v863{display:none!important}

.social-reaction-notice-v864,
.reaction-pop-v824,
.reaction-pop-v829{display:none!important}
.reaction-toast-v865{
  position:fixed!important;
  z-index:100005!important;
  left:50%!important;
  top:var(--reaction-toast-top-v865,140px)!important;
  width:min(248px,calc(100vw - 32px))!important;
  min-height:54px!important;
  padding:9px 12px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 94%,var(--violet)),var(--surface))!important;
  color:var(--text)!important;
  opacity:0!important;
  transform:translate(-50%,-7px) scale(.985)!important;
  pointer-events:none!important;
  box-shadow:none!important;
  transition:opacity .18s ease,transform .18s ease!important;
}
.reaction-toast-v865.visible{
  opacity:1!important;
  transform:translate(-50%,0) scale(1)!important;
}
.reaction-toast-v865>span{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:14px!important;
}
.reaction-toast-v865>span svg{width:34px!important;height:34px!important;display:block!important}
.reaction-toast-v865>div{min-width:0!important;display:grid!important;gap:2px!important;text-align:left!important}
.reaction-toast-v865 small,
.reaction-toast-v865 strong{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.reaction-toast-v865 small{font-size:9px!important;line-height:1.2!important;color:var(--muted)!important}
.reaction-toast-v865 strong{font-size:13px!important;line-height:1.25!important;font-weight:500!important;color:var(--text)!important}

:root[data-theme="light"] .reaction-toast-v865{
  background:linear-gradient(135deg,#fff,#f0edf9)!important;
  color:#11151d!important;
}
:root[data-theme="light"] .reaction-toast-v865 strong{color:#11151d!important}

@media(max-width:520px){
  .profile-page-v85 .profile-avatar-button-v865{transform:translateY(5px)!important}
  .profile-page-v85 .profile-avatar-edit-v865{width:31px!important;height:31px!important;right:-4px!important;bottom:-4px!important}
  .profile-page-v85 .profile-avatar-edit-v865 svg{width:15px!important;height:15px!important}
}
@media(max-width:340px){
  .profile-page-v85 .profile-avatar-wrap-v7{padding-top:0!important}
  .profile-page-v85 .profile-avatar-button-v865{transform:none!important}
}
@media(prefers-reduced-motion:reduce){
  .reaction-toast-v865{transition:none!important}
}

.tournament-prize-fact-v868{grid-column:span 2}
.tournament-prize-assets-v868{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;overflow:visible!important}
.tournament-prize-assets-v868 span{display:inline-flex;align-items:center;gap:5px;min-width:0}
.tournament-prize-assets-v868 svg{width:16px;height:16px;color:var(--accent)}
.tournament-prize-assets-v868 b{font:inherit;font-weight:600;color:var(--text)}
.tournament-prize-assets-v868 em{font-size:10px;line-height:1;color:var(--muted);font-style:normal;font-weight:400}
@media(max-width:430px){.tournament-prize-fact-v868{grid-column:1/-1}.tournament-prize-assets-v868{gap:9px}.tournament-prize-assets-v868 em{font-size:9px}}

.tournament-rewards-v868{display:grid;gap:12px;padding:16px;border-radius:16px!important;background:var(--surface)}
.tournament-rewards-v868>header{display:grid;gap:4px}
.tournament-rewards-v868>header h3{margin:0;font-size:16px;font-weight:600;color:var(--text)}
.tournament-rewards-v868>header small{font-size:10px;line-height:1.35;color:var(--muted)}
.tournament-rewards-v868>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.tournament-rewards-v868 article{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding:9px 10px;border-radius:12px!important;background:var(--surface-2)}
.tournament-rewards-v868 article.podium{background:linear-gradient(110deg,rgba(157,255,63,.11),rgba(110,71,255,.12))}
.tournament-rewards-v868 article>strong{font-size:12px;font-weight:600;color:var(--text)}
.tournament-rewards-v868 article>div{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.tournament-rewards-v868 article span{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:var(--text)}
.tournament-rewards-v868 article svg,.tournament-rewards-v868 aside svg{width:14px;height:14px;color:var(--accent)}
.tournament-rewards-v868 article b{font-weight:500}
.tournament-rewards-v868 article em{font-size:12px;color:var(--muted);font-style:normal}
.tournament-rewards-v868 aside{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 10px;padding:11px 12px;border-radius:12px!important;background:var(--surface-2)}
.tournament-rewards-v868 aside>b{grid-row:1/3;font-size:13px;color:var(--text)}
.tournament-rewards-v868 aside>span{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--text)}
.tournament-rewards-v868 aside>em{font-size:10px;color:var(--muted);font-style:normal}
:root[data-theme="light"] .tournament-rewards-v868{background:#fff!important;box-shadow:0 10px 28px rgba(34,41,55,.055)!important}
@media(max-width:380px){.tournament-rewards-v868>div{grid-template-columns:1fr}}

/* Words Buster 8.8.71 — tracked result-card referrals */
.result-ref-info-v871{
  display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start;
  padding:16px;border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,rgba(156,255,61,.12),rgba(113,85,255,.15)),var(--surface);
}
.result-ref-info-v871>span{
  width:52px;height:52px;display:grid;place-items:center;border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(145deg,rgba(156,255,61,.18),rgba(113,85,255,.22));color:var(--accent);
}
.result-ref-info-v871>span svg{width:22px;height:22px}
.result-ref-info-v871 strong{display:block;font-size:15px;line-height:1.25}
.result-ref-info-v871 p{margin:6px 0 0;color:var(--text-soft);font-size:10px;line-height:1.55}
.result-ref-info-v871 small{display:block;margin-top:8px;color:var(--muted);font-size:8px;line-height:1.45}
.result-ref-summary-v871{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.result-ref-summary-v871 article{
  min-width:0;padding:13px 7px;text-align:center;border-radius:var(--wb-radius-one)!important;background:var(--surface)
}
.result-ref-summary-v871 strong{display:block;font-size:16px;white-space:nowrap}
.result-ref-summary-v871 span{display:block;margin-top:4px;color:var(--muted);font-size:7px;line-height:1.25}
.result-ref-heading-v871{margin-bottom:0}
.result-ref-list-v871{display:grid;gap:9px}
.result-ref-card-v871{
  display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;padding:12px;
  border-radius:var(--wb-radius-one)!important;background:var(--surface);overflow:hidden
}
.result-ref-thumb-v871{
  width:58px;height:58px;border-radius:var(--wb-radius-one)!important;overflow:hidden;position:relative;
  background:linear-gradient(145deg,rgba(156,255,61,.18),rgba(113,85,255,.24));display:grid;place-items:center;color:var(--accent)
}
.result-ref-thumb-v871 img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.result-ref-thumb-v871 svg{width:22px;height:22px}
.result-ref-main-v871{min-width:0;align-self:center}
.result-ref-main-v871 strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.result-ref-main-v871 small{display:block;margin-top:5px;color:var(--muted);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.result-ref-values-v871{
  grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-top:2px
}
.result-ref-values-v871 span{padding:9px 6px;border-radius:var(--wb-radius-one)!important;background:var(--surface-2);text-align:center}
.result-ref-values-v871 b{display:block;font-size:12px;font-weight:600}
.result-ref-values-v871 small{display:block;margin-top:3px;color:var(--muted);font-size:7px}
:root[data-theme="light"] .result-ref-info-v871,
:root[data-theme="light"] .result-ref-card-v871,
:root[data-theme="light"] .result-ref-summary-v871 article{box-shadow:0 8px 26px rgba(30,39,55,.045)}
:root[data-theme="light"] .result-ref-info-v871{background:linear-gradient(135deg,rgba(156,255,61,.16),rgba(113,85,255,.11)),#fff}
@media(max-width:390px){
  .result-ref-summary-v871{grid-template-columns:repeat(2,minmax(0,1fr))}
  .result-ref-info-v871{grid-template-columns:46px minmax(0,1fr);padding:14px}
  .result-ref-info-v871>span{width:46px;height:46px}
}

/* Words Buster 8.8.72 — shared-chain controls, referrals and Expert polish. */

/* The reaction control is the only central action in a shared chain. */
.chain-center-v849{
  width:74px!important;
  min-width:74px!important;
  gap:6px!important;
}
.chain-link-v849{display:none!important}
.chain-reaction-v849{
  position:static!important;
  inset:auto!important;
  width:48px!important;
  height:48px!important;
  transform:none!important;
  z-index:20!important;
  display:grid!important;
  place-items:center!important;
}
.chain-reaction-v849 .reaction-anchor-v825,
.chain-reaction-v849 .reaction-toggle-v825{
  position:relative!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  border-radius:var(--wb-radius-one)!important;
}
.chain-reaction-v849 .reaction-toggle-v825{
  background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 18%,var(--surface-2)),color-mix(in srgb,var(--violet) 18%,var(--surface-2)))!important;
  color:var(--accent)!important;
}
.chain-reaction-v849 .reaction-toggle-v825 svg{width:22px!important;height:22px!important}
.chain-reaction-v849 .reaction-menu-v825{
  left:50%!important;
  right:auto!important;
  top:calc(100% + 9px)!important;
  bottom:auto!important;
  transform:translate(-50%,-5px)!important;
  z-index:1005!important;
}
.chain-reaction-v849 .reaction-anchor-v825.open .reaction-menu-v825{transform:translate(-50%,0)!important}
.chain-center-v849>b{font-size:9px!important}

/* Larger touch targets without widening the keyboard beyond the sheet. */
.chain-keyboard-v849{gap:5px!important;padding:7px!important}
.chain-key-row-v849{gap:3px!important}
.chain-key-v849{
  height:48px!important;
  min-height:48px!important;
  border-radius:var(--wb-radius-one)!important;
  font-size:14px!important;
}
.chain-key-v849.tool svg{width:19px!important;height:19px!important}
@media(max-width:520px){
  .chain-key-v849{height:46px!important;min-height:46px!important;font-size:13px!important}
}
@media(max-width:350px){
  .chain-keyboard-v849{padding:6px!important;gap:4px!important}
  .chain-key-row-v849{gap:2px!important}
  .chain-key-v849{height:43px!important;min-height:43px!important;font-size:12px!important}
}

/* Result-card referral copy is highlighted without decorative icon tiles. */
.result-ref-info-v871.result-ref-info-v872{
  position:relative!important;
  isolation:isolate!important;
  display:block!important;
  padding:20px 19px 18px!important;
  overflow:hidden!important;
  border-radius:var(--wb-radius-one)!important;
  background:
    linear-gradient(125deg,color-mix(in srgb,var(--accent) 16%,transparent),color-mix(in srgb,var(--violet) 21%,transparent)),
    var(--surface)!important;
}
.result-ref-info-v872::before{
  content:"";
  position:absolute;
  z-index:0;
  width:190px;
  height:190px;
  right:-78px;
  top:-100px;
  border-radius:50%;
  background:color-mix(in srgb,var(--violet) 17%,transparent);
  filter:blur(2px);
}
.result-ref-info-v872::after{
  content:"";
  display:block;
  width:58px;
  height:3px;
  margin-top:15px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--violet));
}
.result-ref-info-v872>div{position:relative;z-index:1;max-width:650px}
.result-ref-info-v872 strong{font-size:17px!important;line-height:1.25!important;font-weight:550!important}
.result-ref-info-v872 p{margin-top:8px!important;font-size:11px!important;line-height:1.55!important}
.result-ref-info-v872 small{margin-top:10px!important;font-size:9px!important;line-height:1.5!important}
.result-ref-empty-v872{
  min-height:190px;
  padding:28px 22px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:9px;
  text-align:center;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface);
}
.result-ref-empty-v872 strong{font-size:16px;line-height:1.3;font-weight:500;color:var(--text)}
.result-ref-empty-v872 p{max-width:520px;margin:0;color:var(--muted);font-size:10px;line-height:1.55}
:root[data-theme="light"] .result-ref-info-v871.result-ref-info-v872{
  background:linear-gradient(125deg,rgba(156,255,61,.18),rgba(113,85,255,.14)),#fff!important;
  box-shadow:0 12px 34px rgba(34,42,58,.055)!important;
}
:root[data-theme="light"] .result-ref-empty-v872{background:#fff;box-shadow:0 10px 30px rgba(34,42,58,.045)}

/* Expert is a native game surface, not artwork laid under the controls. */
.master-pangram-game-v836{background:transparent!important}
#app .master-pangram-board-v834.master-pangram-board-v836{
  padding:10px!important;
  border-radius:var(--wb-radius-one)!important;
  background:
    radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--accent) 7%,transparent) 0 17%,transparent 18%),
    linear-gradient(145deg,var(--surface),var(--surface-2))!important;
}
#app .master-pangram-board-v836::before{display:none!important}
#app .master-pangram-letter-v834.master-pangram-letter-v836{
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2)!important;
  color:var(--text)!important;
}
#app .master-pangram-letter-v836.selected{
  background:var(--accent)!important;
  color:var(--accent-ink)!important;
}
#app .master-pangram-letter-v836>i{
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface)!important;
  color:var(--accent)!important;
}
.master-center-v836{
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--surface) 92%,transparent)!important;
  color:var(--text)!important;
}
.master-center-v836 strong{color:var(--text)!important}
.master-center-v836 small{color:var(--muted)!important}
.master-primary-actions-v836{grid-template-columns:58px minmax(0,1fr) 58px!important}
.master-primary-actions-v836>button,
.master-tools-v836>button{
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface)!important;
  color:var(--text-soft)!important;
}
.master-primary-actions-v836>button.primary-button{background:var(--accent)!important;color:var(--accent-ink)!important}
.master-tools-v836{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.master-tools-v836>button{
  min-height:58px!important;
  padding:10px 13px!important;
  grid-template-columns:24px minmax(0,1fr)!important;
  place-items:center start!important;
  align-content:center!important;
  gap:10px!important;
  text-align:left!important;
}
.master-tools-v836>button svg{width:21px!important;height:21px!important}
.master-tools-v836>button span{font-size:11px!important;line-height:1.2!important;text-align:left!important}
.master-tools-v836>button b{right:9px!important;top:9px!important;border-radius:calc(var(--wb-radius-one) * .65)!important}
:root[data-theme="light"] #app .master-pangram-board-v834.master-pangram-board-v836{
  background:radial-gradient(circle at 50% 50%,rgba(156,255,61,.08) 0 17%,transparent 18%),linear-gradient(145deg,#fff,#edf1f7)!important;
}
:root[data-theme="light"] #app .master-pangram-letter-v834.master-pangram-letter-v836{background:#e5eaf2!important;color:#111620!important}
:root[data-theme="light"] #app .master-pangram-letter-v836.selected{background:var(--accent)!important;color:#11170d!important}
:root[data-theme="light"] .master-center-v836{background:rgba(255,255,255,.88)!important}
:root[data-theme="light"] .master-primary-actions-v836>button:not(.primary-button),
:root[data-theme="light"] .master-tools-v836>button{background:#fff!important;color:#202632!important}
.chain-score-v849{grid-template-columns:minmax(0,1fr) 74px minmax(0,1fr)!important}
@media(max-width:520px){
  .chain-score-v849{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important}
  .chain-center-v849{width:64px!important;min-width:64px!important}
}
@media(max-width:350px){
  .chain-score-v849{grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr)!important}
  .chain-center-v849{width:56px!important;min-width:56px!important}
}

/* Words Buster 8.8.74 — compact result-card history and sortable statistics. */
.result-ref-heading-v871 .heading-action-v874{
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:var(--wb-radius-one)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  font-size:11px!important;
  font-weight:500!important;
  white-space:nowrap!important;
}
.result-ref-heading-v871 .heading-action-v874 svg{width:16px!important;height:16px!important;color:var(--accent)!important}
:root[data-theme="light"] .result-ref-heading-v871 .heading-action-v874{background:#fff!important;box-shadow:0 8px 24px rgba(34,42,58,.045)!important}

.result-referrals-sheet-v874 #modalContent{padding-bottom:calc(26px + max(var(--tg-safe-bottom),var(--tg-content-safe-bottom)))!important}
.result-ref-modal-v874{display:grid;gap:14px;min-width:0}
.result-ref-modal-v874>.sheet-head{padding-bottom:8px!important}
.result-ref-filters-v874{
  position:sticky;top:0;z-index:12;
  display:grid;grid-template-columns:1fr 1fr;gap:5px;
  padding:5px;border-radius:var(--wb-radius-one)!important;
  background:var(--surface);backdrop-filter:blur(18px);
}
.result-ref-filters-v874 button{
  min-height:44px;border-radius:var(--wb-radius-one)!important;
  background:transparent;color:var(--muted);font-size:12px!important;font-weight:500!important;
}
.result-ref-filters-v874 button.active{background:var(--accent);color:var(--accent-ink)}
.result-ref-modal-meta-v874{display:flex;justify-content:flex-end;min-height:20px}
.result-ref-modal-meta-v874 span{color:var(--muted);font-size:10px;line-height:1.4}
.result-ref-modal-list-v874{display:grid;gap:10px;min-width:0}
.result-ref-card-modal-v874{position:relative;padding-top:14px}
.result-ref-card-modal-v874 .result-ref-main-v871{padding-right:42px}
.result-ref-rank-v874{
  position:absolute;top:12px;right:12px;z-index:2;
  min-width:32px;height:28px;padding:0 8px;border-radius:var(--wb-radius-one)!important;
  display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 55%,var(--violet)));
  color:var(--accent-ink);font-size:10px;font-weight:650!important;
}
.result-ref-loading-v874,.result-ref-modal-empty-v874{
  min-height:180px;padding:24px;border-radius:var(--wb-radius-one)!important;
  display:grid;place-items:center;text-align:center;background:var(--surface);color:var(--muted);font-size:12px;
}
.result-ref-loading-v874::after{
  content:"";width:28px;height:28px;margin-top:12px;border-radius:50%;
  border:3px solid var(--surface-3);border-top-color:var(--accent);animation:spin .8s linear infinite;
}
.result-ref-more-v874{min-height:50px!important;margin-top:2px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.result-ref-more-v874 svg{width:16px!important;height:16px!important;color:var(--accent)!important}
:root[data-theme="light"] .result-ref-filters-v874,
:root[data-theme="light"] .result-ref-loading-v874,
:root[data-theme="light"] .result-ref-modal-empty-v874,
:root[data-theme="light"] .result-ref-card-modal-v874{background:#fff!important;box-shadow:0 8px 28px rgba(34,42,58,.045)!important}
@media(max-width:390px){
  .result-ref-heading-v871{align-items:center!important}
  .result-ref-heading-v871 h2{font-size:23px!important}
  .result-ref-heading-v871 .heading-action-v874{min-height:40px!important;padding:0 11px!important;font-size:10px!important}
  .result-ref-card-modal-v874 .result-ref-main-v871{padding-right:36px}
}

/* Words Buster 8.8.75 — Expert hint control alignment and light-theme contrast. */
.master-tools-v836>button[data-open-game-hints]{
  grid-template-columns:24px minmax(0,1fr) auto!important;
  align-items:center!important;
  align-content:center!important;
  justify-items:start!important;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--accent) 7%,transparent),color-mix(in srgb,var(--violet) 5%,transparent)),
    var(--surface)!important;
  color:var(--text)!important;
}
.master-tools-v836>button[data-open-game-hints]>svg{
  grid-column:1!important;
  grid-row:1!important;
  justify-self:center!important;
  color:var(--accent)!important;
}
.master-tools-v836>button[data-open-game-hints]>span{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  color:var(--text)!important;
  font-size:11px!important;
  line-height:1.2!important;
  text-align:left!important;
}
.master-tools-v836>button[data-open-game-hints]>b{
  position:static!important;
  inset:auto!important;
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  min-width:30px!important;
  height:30px!important;
  padding:0 8px!important;
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--accent) 17%,var(--surface-2))!important;
  color:var(--accent)!important;
  display:grid!important;
  place-items:center!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:550!important;
  text-align:center!important;
  opacity:1!important;
  visibility:visible!important;
}
:root[data-theme="light"] .master-tools-v836>button[data-open-game-hints]{
  background:linear-gradient(135deg,rgba(156,255,61,.16),rgba(113,85,255,.06)),#fff!important;
  color:#171c24!important;
}
:root[data-theme="light"] .master-tools-v836>button[data-open-game-hints]>span{color:#171c24!important}
:root[data-theme="light"] .master-tools-v836>button[data-open-game-hints]>svg{color:#5f9f22!important}
:root[data-theme="light"] .master-tools-v836>button[data-open-game-hints]>b{
  background:#dff2cd!important;
  color:#3f7415!important;
}
@media(max-width:360px){
  .master-tools-v836>button[data-open-game-hints]{grid-template-columns:22px minmax(0,1fr) auto!important;padding-inline:10px!important;gap:7px!important}
  .master-tools-v836>button[data-open-game-hints]>b{min-width:28px!important;height:28px!important;padding-inline:7px!important}
}

/* Words Buster 8.8.76 — authoritative light-game contrast and platform-aware game geometry. */

/* Telegram Desktop may report a narrow CSS viewport even on a large monitor.
   The platform class is more reliable than width media queries for game top spacing. */
html.platform-desktop #screen.screen-root.game-active,
html.platform-desktop body.in-game #screen.screen-root.game-active,
html.platform-desktop #topbar.topbar-v890 + #screen.screen-root.game-active,
html.platform-desktop #topbar.topbar-v890.hidden + #screen.screen-root.game-active{
  padding-top:18px!important;
  scroll-padding-top:18px!important;
}
html.platform-desktop #screen.screen-root.result-screen,
html.platform-desktop body.result-active #screen.screen-root.result-screen,
html.platform-desktop #topbar.topbar-v890 + #screen.screen-root.result-screen{
  padding-top:18px!important;
  scroll-padding-top:18px!important;
}
html.platform-desktop #screen.screen-root.game-active>:is(.game-page,.special-game-v828,.master-pangram-game-v836),
html.platform-desktop #screen.screen-root.result-screen>:is(.result-page,.result-page-v7,.result-page-v84,.mode-result-v840,.paid-result-v828,.daily-result-v818){
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-top:0!important;
  margin-inline:auto!important;
}

/* Light theme is the true inverse of the dark hierarchy: dark text on clear,
   separated surfaces, with explicit state colours that never disappear. */
:root[data-theme="light"] #screen.screen-root.game-active{
  background:#f3f5f9!important;
  color:#11151d!important;
}
:root[data-theme="light"] #screen.screen-root.game-active :is(
  .game-header,.game-header-v840,.special-game-header-v828,.special-game-header-v840,
  .game-summary,.daily-summary-v86,.word-progress-v84,.selected-word,
  .master-answer-v836,.syllable-meta-v836,.special-status-v828,
  .chain-last-word-v825,.chain-action-v825,.chain-moves-v825,
  .duel-player-v823,.duel-rules-v823,.game-note-v84,.hint-word-v84
){
  background:#fff!important;
  color:#11151d!important;
  border:0!important;
  box-shadow:0 8px 26px rgba(35,43,58,.055)!important;
}
:root[data-theme="light"] #screen.screen-root.game-active :is(
  .word-board,.keyboard,.letter-deck,.builder-actions,.builder-tools,
  .chain-keyboard-v825,.chain-keyboard-v826,.shared-chain-keyboard-v888,
  .fillword-grid-v828,.sudoku-board-v828,.master-pangram-board-v836
){
  color:#11151d!important;
}
:root[data-theme="light"] #screen.screen-root.game-active :is(
  h1,h2,h3,strong,.selected-word,.master-center-v836 strong
){
  color:#11151d!important;
  -webkit-text-fill-color:#11151d!important;
}
:root[data-theme="light"] #screen.screen-root.game-active :is(
  p,small,.daily-instruction-v86,.daily-hint-note-v86,.game-tip,.master-center-v836 small
){
  color:#667083!important;
  -webkit-text-fill-color:#667083!important;
}

/* Daily Word: typed letters, solved states and disabled keyboard keys remain readable. */
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 .word-cell{
  background:#fff!important;
  color:#11151d!important;
  -webkit-text-fill-color:#11151d!important;
  border:1px solid #cfd6e0!important;
  box-shadow:0 3px 12px rgba(35,43,58,.045)!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 .word-cell.filled{
  background:#e7ebf2!important;
  color:#11151d!important;
  -webkit-text-fill-color:#11151d!important;
  border-color:#bcc5d1!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 .word-cell.hinted:not(.correct):not(.present):not(.absent){
  background:#e5f2d6!important;
  color:#3e6e12!important;
  -webkit-text-fill-color:#3e6e12!important;
  border-color:#73a737!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 .key{
  background:#e3e8f0!important;
  color:#11151d!important;
  -webkit-text-fill-color:#11151d!important;
  border:1px solid #d1d8e2!important;
  box-shadow:none!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 .key:disabled{
  background:#d9dfe8!important;
  color:#6c7687!important;
  -webkit-text-fill-color:#6c7687!important;
  border-color:#d0d7e1!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 :is(.word-cell.correct,.key.correct),
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 :is(.word-cell.correct,.key.correct):disabled{
  background:#5f9424!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#5f9424!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 :is(.word-cell.present,.key.present),
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 :is(.word-cell.present,.key.present):disabled{
  background:#b98516!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#b98516!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 :is(.word-cell.absent,.key.absent),
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 :is(.word-cell.absent,.key.absent):disabled{
  background:#737d8b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#737d8b!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 .daily-submit-v86:disabled{
  background:#d7dde6!important;
  color:#7b8493!important;
  -webkit-text-fill-color:#7b8493!important;
  opacity:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .daily-game-v86 .daily-submit-v86:not(:disabled){
  background:#639719!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Expert: keep the hint balance inside the button in every cascade and theme. */
.master-tools-v836>button[data-open-game-hints]{
  position:relative!important;
  overflow:hidden!important;
}
.master-tools-v836>button[data-open-game-hints]>b{
  position:static!important;
  inset:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  translate:none!important;
  margin:0!important;
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  z-index:1!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .master-tools-v836>button{
  background:#fff!important;
  color:#1a202a!important;
  -webkit-text-fill-color:#1a202a!important;
  border:1px solid #e1e6ed!important;
  box-shadow:0 6px 18px rgba(35,43,58,.045)!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .master-tools-v836>button svg{
  color:#67a51f!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .master-tools-v836>button[data-open-game-hints]>b{
  background:#dcefc8!important;
  color:#3f7116!important;
  -webkit-text-fill-color:#3f7116!important;
  border:0!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .master-pangram-letter-v836{
  background:#e4e9f1!important;
  color:#11151d!important;
  -webkit-text-fill-color:#11151d!important;
  border:1px solid #d7dee7!important;
}
:root[data-theme="light"] #screen.screen-root.game-active .master-pangram-letter-v836.selected{
  background:#639719!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#639719!important;
}

/* A compact desktop rhythm, while phones keep the protected Telegram top clearance. */
@media (min-width:900px){
  html.platform-desktop #screen.screen-root.game-active,
  html.platform-desktop #screen.screen-root.result-screen{
    padding-top:14px!important;
    scroll-padding-top:14px!important;
  }
}

/* Words Buster 8.8.77 — clean duel edge and one-category-at-a-time store */
.home-mode-v7[data-mode="duel"]{
  border:0!important;
  border-right:0!important;
  outline:0!important;
  overflow:hidden!important;
  background-size:calc(100% + 8px) calc(100% + 8px)!important;
  background-position:center!important;
  background-origin:border-box!important;
  background-clip:border-box!important;
  -webkit-background-clip:border-box!important;
  -webkit-mask-image:-webkit-radial-gradient(#fff,#000)!important;
  transform:translateZ(0);
}
.home-mode-v7[data-mode="duel"]::before,
.home-mode-v7[data-mode="duel"]::after{
  display:none!important;
  content:none!important;
}
.home-mode-v7[data-mode="duel"]:focus:not(:focus-visible){outline:0!important}

.shop-sheet-v877{width:min(100%,680px)!important}
.shop-sheet-v877 #modalContent{
  padding-inline:16px!important;
  padding-bottom:calc(26px + max(var(--tg-safe-bottom,0px),env(safe-area-inset-bottom)))!important;
}
.store-wallet-v877{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0 0 12px;
}
.store-wallet-v877>span{
  min-height:48px;
  padding:8px 10px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:var(--text);
}
.store-wallet-v877 svg{width:17px;height:17px;color:var(--accent)}
.store-wallet-v877>span:first-child svg{color:var(--amber)}
.store-wallet-v877>span:nth-child(2) svg{color:#9277ff}
.store-wallet-v877 b{font-size:12px;font-weight:600}
.store-tabs-v877{
  position:sticky;
  top:0;
  z-index:8;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:5px;
  margin:0 0 20px;
  padding:5px;
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--surface-2) 96%,transparent);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
.store-tabs-v877 button{
  min-width:0;
  min-height:52px;
  padding:6px 3px;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  background:transparent;
  color:var(--muted);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:8px;
  line-height:1.05;
  font-weight:500;
  text-align:center;
}
.store-tabs-v877 button svg{width:17px;height:17px}
.store-tabs-v877 button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.store-tabs-v877 button.active{background:var(--accent);color:var(--accent-ink)}
.store-catalog-v877{display:grid;gap:20px}
.store-section-v877{display:grid;gap:10px}
.store-section-v877>h3,
.store-plus-benefits-v877>h3{
  margin:0!important;
  font-size:18px!important;
  line-height:1.15!important;
  font-weight:500!important;
  letter-spacing:-.025em!important;
}
.store-section-v877>div{display:grid;gap:9px}
.store-product-v877{
  min-width:0;
  min-height:88px;
  padding:13px;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface);
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  overflow:hidden;
}
.store-product-v877.plus{
  background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 20%,var(--surface)),color-mix(in srgb,var(--accent) 7%,var(--surface)));
}
.store-product-icon-v877{
  width:44px;
  height:44px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2);
  display:grid;
  place-items:center;
  color:var(--accent);
}
.store-product-icon-v877 svg{width:21px;height:21px}
.store-product-v877.coins .store-product-icon-v877{background:rgba(255,189,74,.13);color:var(--amber)}
.store-product-v877.tickets .store-product-icon-v877{background:rgba(121,88,255,.15);color:#9b83ff}
.store-product-v877.hints .store-product-icon-v877{background:rgba(157,255,50,.12);color:var(--accent)}
.store-product-v877.plus .store-product-icon-v877{background:rgba(126,91,255,.17);color:#b9a8ff}
.store-product-copy-v877{min-width:0;display:block!important;padding:0!important}
.store-product-copy-v877 em{
  display:inline-flex;
  margin:0 0 5px;
  padding:4px 7px;
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--accent) 12%,var(--surface-2));
  color:var(--accent);
  font-size:7px;
  line-height:1;
  font-style:normal;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.store-product-copy-v877 strong,
.store-product-copy-v877 small,
.store-product-copy-v877 i{display:block;max-width:100%;overflow-wrap:anywhere}
.store-product-copy-v877 strong{font-size:14px;line-height:1.2;font-weight:550}
.store-product-copy-v877 small{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}
.store-product-copy-v877 i{margin-top:5px;color:var(--accent);font-size:8px;line-height:1.2;font-style:normal}
.store-product-action-v877{
  min-width:96px;
  display:grid;
  justify-items:stretch;
  gap:7px;
}
.store-product-action-v877>span{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}
.store-product-action-v877 del{color:var(--muted);font-size:9px}
.store-product-action-v877 b{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600}
.store-product-action-v877 .tg-star{width:15px!important;height:16px!important}
.store-product-action-v877 button{
  min-height:38px;
  padding:0 12px;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  background:var(--accent);
  color:var(--accent-ink);
  font-size:10px;
  line-height:1.1;
  font-weight:600;
  white-space:nowrap;
}
.store-plus-benefits-v877{
  display:grid;
  gap:11px;
  padding:16px;
  border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 18%,var(--surface)),color-mix(in srgb,var(--accent) 6%,var(--surface)));
}
.store-plus-benefits-v877>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.store-plus-benefits-v877 span{
  min-height:54px;
  padding:10px;
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--surface-2) 88%,transparent);
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  align-items:center;
  gap:8px;
}
.store-plus-benefits-v877 svg{width:17px;height:17px;color:var(--accent)}
.store-plus-benefits-v877 small{color:var(--text);font-size:9px;line-height:1.35}
.store-empty-v877{
  margin:0!important;
  padding:24px!important;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface)!important;
  color:var(--muted)!important;
  text-align:center;
  font-size:12px!important;
}
:root[data-theme="light"] .store-wallet-v877>span,
:root[data-theme="light"] .store-tabs-v877{background:#e8edf5}
:root[data-theme="light"] .store-product-v877,
:root[data-theme="light"] .store-empty-v877{background:#fff!important;color:#11151d}
:root[data-theme="light"] .store-product-v877.plus,
:root[data-theme="light"] .store-plus-benefits-v877{background:linear-gradient(135deg,#f1edff,#edf6e7)!important;color:#11151d}
:root[data-theme="light"] .store-plus-benefits-v877 span{background:rgba(255,255,255,.78)}
:root[data-theme="light"] .store-product-icon-v877{background:#edf1f6}

@media(max-width:430px){
  .shop-sheet-v877 #modalContent{padding-inline:14px!important}
  .store-tabs-v877{gap:3px;padding:4px}
  .store-tabs-v877 button{min-height:48px;font-size:7px}
  .store-tabs-v877 button svg{width:16px;height:16px}
  .store-product-v877{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px}
  .store-product-icon-v877{width:40px;height:40px}
  .store-product-action-v877{grid-column:2;min-width:0;grid-template-columns:auto minmax(88px,auto);align-items:center;justify-content:end}
  .store-product-action-v877>span{justify-content:flex-start}
  .store-product-action-v877 button{min-height:36px}
  .store-plus-benefits-v877>div{grid-template-columns:1fr}
}
@media(max-width:350px){
  .store-tabs-v877 button span{font-size:6.5px}
  .store-wallet-v877>span{padding-inline:6px;gap:4px}
  .store-product-action-v877{grid-template-columns:1fr}
  .store-product-action-v877>span{justify-content:flex-start}
}

/* Words Buster 8.8.78 — complete store catalog and exact Plus plans */
.shop-sheet-v878 .store-catalog-v877{padding-bottom:4px}
.store-section-v878.coin-products{margin-top:2px}
.store-section-v878.coin-products>h3{color:var(--muted)}
.store-product-v878{isolation:isolate}
.store-product-v878::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 3%,transparent),transparent 48%);
}
.store-product-v878.coin-payment::before{
  background:linear-gradient(135deg,color-mix(in srgb,var(--amber) 7%,transparent),transparent 55%);
}
.store-product-v878.intro{
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 12%,var(--surface)),color-mix(in srgb,var(--violet) 16%,var(--surface)))!important;
}
.store-product-v878.intro .store-product-icon-v877{
  background:color-mix(in srgb,var(--accent) 17%,var(--surface-2));
  color:var(--accent);
}
.store-product-v878 .store-product-action-v877 button{
  min-width:104px;
  box-shadow:none!important;
}
.store-product-v878.plus .store-product-action-v877 button{
  background:linear-gradient(135deg,var(--accent),#b5ff68);
  color:#11170d;
}
.store-intro-note-v878{
  margin:0!important;
  padding:13px 15px!important;
  border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,var(--surface)),color-mix(in srgb,var(--violet) 13%,var(--surface)))!important;
  display:grid;
  gap:4px;
}
.store-intro-note-v878 strong{font-size:12px;line-height:1.25;font-weight:600;color:var(--text)}
.store-intro-note-v878 span{font-size:9px;line-height:1.4;color:var(--muted)}
:root[data-theme="light"] .store-product-v878.intro,
:root[data-theme="light"] .store-intro-note-v878{
  background:linear-gradient(135deg,#eef8e7,#eeeaff)!important;
}
:root[data-theme="light"] .store-product-v878.coin-payment{
  background:#fffaf0!important;
}
@media(max-width:430px){
  .store-product-v878 .store-product-action-v877{
    width:100%;
    grid-template-columns:minmax(0,1fr) minmax(112px,auto);
  }
  .store-product-v878 .store-product-action-v877 button{width:100%;min-width:0}
}
@media(max-width:360px){
  .store-product-v878 .store-product-action-v877{grid-template-columns:1fr}
  .store-product-v878 .store-product-action-v877 button{min-height:40px}
}

/* Words Buster 8.8.80 — avatar economy and 24-hour energy */
.avatar-tile-v889 .avatar-price-v887.coin-price{
  max-width:calc(100% - 12px);
  background:rgba(30,35,22,.9)!important;
  color:var(--accent)!important;
}
.avatar-tile-v889 .avatar-price-v887.coin-price svg{
  width:12px!important;
  height:12px!important;
  flex:0 0 12px;
  color:#f2c766!important;
}
.store-section-v878.energy-products>h3{color:var(--accent)}
.store-product-v878.energy{
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 14%,var(--surface)),color-mix(in srgb,var(--violet) 14%,var(--surface)))!important;
}
.store-product-v878.energy .store-product-icon-v877{
  background:color-mix(in srgb,var(--accent) 18%,var(--surface-2));
  color:var(--accent);
}
.store-product-v878.energy .store-product-action-v877 button{
  background:linear-gradient(135deg,var(--accent),#b5ff68);
  color:#11170d;
}
.store-energy-status-v880{
  min-height:92px;
  padding:15px;
  border-radius:var(--wb-radius-one)!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 17%,var(--surface)),color-mix(in srgb,var(--violet) 17%,var(--surface)));
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:12px;
  overflow:hidden;
}
.store-energy-status-v880>span{
  width:48px;
  height:48px;
  border-radius:var(--wb-radius-one)!important;
  background:color-mix(in srgb,var(--accent) 17%,var(--surface-2));
  color:var(--accent);
  display:grid;
  place-items:center;
}
.store-energy-status-v880>span svg{width:23px;height:23px}
.store-energy-status-v880>div{min-width:0;display:grid;gap:4px}
.store-energy-status-v880 strong{font-size:14px;line-height:1.2;font-weight:600;color:var(--text)}
.store-energy-status-v880 small{font-size:10px;line-height:1.4;color:var(--text)}
.store-energy-status-v880 i{font-size:8px;line-height:1.4;font-style:normal;color:var(--muted)}
:root[data-theme="light"] .avatar-tile-v889 .avatar-price-v887.coin-price{
  background:rgba(22,29,18,.9)!important;
  color:#b9ff70!important;
}
:root[data-theme="light"] .store-product-v878.energy,
:root[data-theme="light"] .store-energy-status-v880{
  background:linear-gradient(135deg,#eef9e7,#eeeaff)!important;
  color:#11151d;
}
@media(max-width:360px){
  .store-energy-status-v880{grid-template-columns:42px minmax(0,1fr);padding:13px;gap:10px}
  .store-energy-status-v880>span{width:42px;height:42px}
}

/* Words Buster 8.8.81 — canonical store, daily engagement and cross-game loop */
.shop-sheet-v878 #modalContent{
  overflow-x:hidden!important;
}
.store-catalog-v877,
.store-section-v877,
.store-section-v877>div{
  min-width:0;
  width:100%;
}
.store-product-v878{
  position:relative!important;
  isolation:isolate!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.store-product-v878::before{
  inset:0!important;
  border-radius:inherit!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 4%,transparent),transparent 58%)!important;
}
.store-product-v878.coin-payment::before{
  background:linear-gradient(135deg,color-mix(in srgb,var(--amber) 7%,transparent),transparent 58%)!important;
}
.store-product-v878+.store-product-v878{margin-top:0!important}
.store-product-copy-v877 strong{word-break:normal!important}
.store-product-copy-v877 small{max-width:46ch}
.store-product-action-v877 button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.store-section-v878>div{
  grid-template-columns:minmax(0,1fr)!important;
}
.store-tabs-v877 button{
  overflow:hidden;
}
.store-tabs-v877 button.active{
  box-shadow:none!important;
}

.home-missions-v881{
  display:grid;
  gap:16px;
  margin-top:30px;
}
.home-missions-v881 .section-heading{margin:0!important}
.home-missions-v881 .section-heading>div{display:grid;gap:4px}
.home-missions-v881 .section-heading small{
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}
.mission-stack-v881{
  display:grid!important;
  gap:10px!important;
}
.mission-card-v881{
  width:100%;
  min-width:0;
  min-height:92px;
  padding:13px;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface);
  color:var(--text);
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  text-align:left;
  box-shadow:none!important;
  overflow:hidden;
}
.mission-card-v881.crosspromo{
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,var(--surface)),color-mix(in srgb,var(--violet) 13%,var(--surface)));
}
.mission-card-v881.done{
  background:color-mix(in srgb,var(--accent) 8%,var(--surface));
}
.mission-icon-v881{
  width:46px;
  height:46px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--surface-2);
  color:var(--accent);
  display:grid;
  place-items:center;
}
.mission-icon-v881 svg{width:21px;height:21px}
.mission-card-v881>div{
  min-width:0;
  display:grid;
  gap:4px;
}
.mission-card-v881 strong{
  font-size:14px;
  line-height:1.25;
  font-weight:550;
}
.mission-card-v881 small{
  color:var(--muted);
  font-size:10px;
  line-height:1.4;
}
.mission-card-v881 em{
  color:var(--muted);
  font-size:9px;
  line-height:1.2;
  font-style:normal;
}
.mission-card-v881>div>i{
  width:100%;
  height:4px;
  border-radius:999px;
  background:var(--surface-2);
  overflow:hidden;
}
.mission-card-v881>div>i>b{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--accent),var(--violet));
}
.mission-card-v881>aside{
  min-width:58px;
  display:grid;
  justify-items:end;
  gap:2px;
  color:var(--accent);
}
.mission-card-v881>aside>b{font-size:13px;font-weight:600}
.mission-card-v881>aside>small{font-size:8px;color:var(--muted)}
.mission-card-v881>aside>svg{width:17px;height:17px;margin-top:4px}

.gridcrush-result-promo-v881{
  width:100%;
  min-width:0;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin:0;
  padding:20px;
  border:0!important;
  border-radius:var(--wb-radius-one)!important;
  background:
    radial-gradient(circle at 92% 8%,rgba(255,255,255,.26),transparent 30%),
    radial-gradient(circle at 8% 100%,color-mix(in srgb,var(--accent) 38%,transparent),transparent 42%),
    linear-gradient(135deg,color-mix(in srgb,var(--accent) 72%,#15220d) 0%,color-mix(in srgb,var(--violet) 88%,#180c32) 100%);
  color:#fff!important;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  grid-template-areas:
    "icon copy"
    "cta cta";
  align-items:center;
  gap:14px 15px;
  text-align:left;
  box-shadow:0 18px 44px rgba(72,40,188,.28),0 8px 28px rgba(126,236,43,.13)!important;
  transform:translateZ(0);
}
.gridcrush-result-promo-v881::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-50% auto auto 38%;
  width:54%;
  height:220%;
  transform:rotate(19deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  pointer-events:none;
}
.gridcrush-result-promo-v881::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-58px;
  bottom:-78px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:color-mix(in srgb,var(--violet) 55%,transparent);
  filter:blur(28px);
  pointer-events:none;
}
.gridcrush-result-promo-v881>span{
  grid-area:icon;
  width:58px;
  height:58px;
  border-radius:var(--wb-radius-one)!important;
  background:transparent;
  color:transparent;
  display:grid;
  place-items:center;
  overflow:hidden;
  box-shadow:none!important;
}
.gridcrush-result-logo-v883{
  width:100%!important;
  height:100%!important;
  display:block;
  object-fit:cover;
  border-radius:inherit!important;
}
.gridcrush-result-promo-v881>div{
  grid-area:copy;
  min-width:0;
  display:grid;
  gap:6px;
}
.gridcrush-result-promo-v881>div>i{
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:rgba(255,255,255,.9);
  font-size:8px;
  line-height:1;
  font-style:normal;
  letter-spacing:.12em;
  white-space:normal;
}
.gridcrush-result-promo-v881 strong{
  color:#fff!important;
  font-size:18px;
  line-height:1.18;
  font-weight:650;
  letter-spacing:-.02em;
}
.gridcrush-result-promo-v881 small{
  color:rgba(255,255,255,.76)!important;
  font-size:11px;
  line-height:1.45;
}
.gridcrush-result-promo-v881>em{
  grid-area:cta;
  width:100%;
  min-height:48px;
  padding:0 16px;
  border-radius:var(--wb-radius-one)!important;
  background:var(--accent);
  color:#0c1307!important;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:13px;
  line-height:1.2;
  font-style:normal;
  font-weight:650;
  white-space:nowrap;
  box-shadow:0 8px 20px rgba(113,226,41,.22);
}
.gridcrush-result-promo-v881>em svg{width:18px;height:18px}
.gridcrush-result-promo-v881:active{transform:scale(.992)}

:root[data-theme="light"] .mission-card-v881{
  background:#fff!important;
  color:#11151d!important;
}
:root[data-theme="light"] .mission-card-v881.crosspromo{
  background:linear-gradient(135deg,#eff8e9,#eeeaff)!important;
  color:#11151d!important;
}
:root[data-theme="light"] .gridcrush-result-promo-v881{
  color:#fff!important;
  box-shadow:0 18px 44px rgba(72,40,188,.22),0 8px 28px rgba(126,236,43,.18)!important;
}
:root[data-theme="light"] .mission-card-v881.done{background:#f2f8ed!important}
:root[data-theme="light"] .mission-icon-v881{
  background:#e7edf4!important;
}
:root[data-theme="light"] .gridcrush-result-promo-v881>span{
  background:transparent!important;
  color:transparent!important;
}
:root[data-theme="light"] .mission-card-v881>div>i{background:#e4e9ef!important}

@media(max-width:430px){
  .store-product-v878{grid-template-columns:42px minmax(0,1fr)!important}
  .store-product-v878 .store-product-action-v877{
    grid-column:2!important;
    width:100%!important;
    grid-template-columns:minmax(0,1fr) minmax(108px,auto)!important;
  }
  .mission-card-v881{grid-template-columns:42px minmax(0,1fr) auto;padding:12px;gap:10px}
  .mission-icon-v881{width:42px;height:42px}
  .mission-card-v881>aside{min-width:48px}
  .gridcrush-result-promo-v881{grid-template-columns:50px minmax(0,1fr);padding:16px;gap:12px;margin:0}
  .gridcrush-result-promo-v881>span{width:50px;height:50px}
  .gridcrush-result-promo-v881 strong{font-size:16px}
  .gridcrush-result-promo-v881 small{font-size:10px}
  .gridcrush-result-promo-v881>em{min-height:46px;font-size:12px}
}
@media(max-width:350px){
  .store-product-v878 .store-product-action-v877{grid-template-columns:1fr!important}
  .mission-card-v881{grid-template-columns:40px minmax(0,1fr)}
  .mission-card-v881>aside{grid-column:2;grid-row:2;display:flex;align-items:center;gap:5px;justify-self:start}
}
