:root{--adwg:#6c38ff;--adwg2:#10b981;--ink:#111827;--muted:#6b7280;--card:#fff;--soft:#f6f7fb;--line:#e5e7eb}body .adwg-wrap{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:linear-gradient(180deg,#fbfcff 0,#f7f8ff 45%,#fff 100%);margin:0 auto}.adwg-wrap *{box-sizing:border-box}.adwg-topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 32px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:9}.adwg-brand{display:flex;align-items:center;gap:12px}.adwg-logo{width:48px;height:48px;border-radius:12px;background:#fbbf24;color:#111;display:grid;place-items:center;font-weight:900;font-size:24px;box-shadow:0 8px 22px #0001}.adwg-brand strong{display:block;font-size:18px;line-height:1}.adwg-brand em{font-style:normal;font-size:11px;text-transform:uppercase;color:var(--adwg);font-weight:800;letter-spacing:.9px}.adwg-topbar nav{display:flex;gap:22px;align-items:center}.adwg-topbar a{text-decoration:none;color:#111827;font-weight:650}.adwg-topbar a:hover{color:var(--adwg)}.adwg-hero{display:grid;grid-template-columns:1.05fr 1.25fr .8fr;gap:28px;align-items:center;padding:44px 32px 24px;max-width:1280px;margin:auto}.adwg-kicker{font-weight:900;color:var(--adwg);text-transform:uppercase;letter-spacing:1.5px;font-size:13px}.adwg-hero-copy h1{font-size:52px;line-height:1.02;margin:10px 0 18px;letter-spacing:-2px}.adwg-hero-copy p{font-size:18px;line-height:1.6;color:#374151}.adwg-hero-copy ul{list-style:none;padding:0;margin:22px 0;display:grid;gap:12px}.adwg-hero-copy li:before{content:'✓';color:var(--adwg);font-weight:900;margin-right:10px}.adwg-btn{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--adwg),#4f46e5);color:#fff!important;border-radius:12px;padding:15px 28px;text-decoration:none;font-weight:900;box-shadow:0 14px 28px #6c38ff30;border:0;cursor:pointer}.adwg-btn.small{padding:11px 18px;font-size:14px}.adwg-game,.adwg-panel,.adwg-section,.adwg-seo,.adwg-faq{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 40px #0f172a0d}.adwg-game{padding:22px;min-height:520px}.adwg-game-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.adwg-mini{background:#f3f4f6;border:0;border-radius:10px;width:36px;height:36px;font-size:18px}.adwg-clue{background:#f5f3ff;color:#4c1d95;border-radius:12px;padding:12px;margin-bottom:16px;font-weight:700}.adwg-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:16px 0}.adwg-tile{aspect-ratio:1;border:2px solid #d1d5db;border-radius:8px;display:grid;place-items:center;font-weight:900;font-size:22px;text-transform:uppercase;background:#fff}.adwg-tile.good{background:#16a34a;color:white;border-color:#16a34a}.adwg-tile.close{background:#f4b400;color:white;border-color:#f4b400}.adwg-tile.bad{background:#6b7280;color:white;border-color:#6b7280}.adwg-input{display:flex;gap:10px;margin-top:20px}.adwg-input input{flex:1;border:1px solid var(--line);border-radius:12px;padding:14px;font-size:16px}.adwg-input button{border:0;border-radius:12px;background:#111827;color:#fff;padding:0 18px;font-weight:900}.adwg-msg{color:var(--muted);font-size:14px}.adwg-side{display:grid;gap:22px}.adwg-panel{padding:22px}.adwg-panel h3,.adwg-panel h2{margin-top:0}.adwg-panel p{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #f1f5f9;padding-bottom:12px}.adwg-share{display:flex;gap:9px;flex-wrap:wrap}.adwg-share span{background:#eef2ff;color:#3730a3;padding:8px 10px;border-radius:10px;font-size:12px;font-weight:800}.adwg-section,.adwg-three,.adwg-seo,.adwg-faq{max-width:1280px;margin:22px auto;padding:22px}.adwg-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.adwg-section-head h2{margin:0}.adwg-section-head a{color:var(--adwg);font-weight:900;text-decoration:none}.adwg-cards{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}.adwg-card{border:1px solid var(--line);border-radius:14px;padding:18px 12px;text-align:center;text-decoration:none;color:#111;background:#fff;transition:.2s}.adwg-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #0f172a14}.adwg-card span{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#f3f4f6;margin:0 auto 10px;font-size:25px}.adwg-card strong,.adwg-card small{display:block}.adwg-card small{color:var(--muted);margin-top:5px}.adwg-three{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:0;background:transparent;border:0;box-shadow:none}.adwg-panel.big{min-height:300px}.adwg-panel.big p{display:block;border:0;padding:0;line-height:1.6;color:#374151}.adwg-panel.big h3{font-size:32px;color:var(--adwg);margin-bottom:4px}.adwg-pronounce{color:var(--muted)!important;margin:0 0 10px}.hint{background:#f8fafc;border-radius:12px;padding:12px;margin:12px 0}.hint p{margin:4px 0 0!important}.adwg-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.adwg-list a{background:#f8fafc;border-radius:10px;padding:12px;font-weight:800}.adwg-seo{line-height:1.75}.adwg-seo h2{font-size:34px;margin-top:0}.adwg-seo h3{font-size:24px;margin-top:24px}.adwg-articles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.adwg-articles article{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.adwg-articles .thumb{height:130px;background:linear-gradient(135deg,#f59e0b,#111827)}.adwg-articles h3,.adwg-articles p,.adwg-articles small{display:block;padding:0 16px}.adwg-articles p{color:var(--muted);line-height:1.55}.adwg-articles small{padding-bottom:18px;color:var(--muted)}.adwg-faq details{border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:16px;background:#fff}.adwg-faq summary{font-weight:900;cursor:pointer}.adwg-faq p{color:#374151}.adwg-footer{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;background:#111827;color:#fff;padding:44px 36px;margin-top:34px}.adwg-footer a{display:block;color:#d1d5db;text-decoration:none;margin:8px 0}.adwg-footer p{color:#d1d5db}@media(max-width:1100px){.adwg-hero{grid-template-columns:1fr}.adwg-cards{grid-template-columns:repeat(4,1fr)}.adwg-three{grid-template-columns:1fr}.adwg-side{grid-template-columns:1fr 1fr}.adwg-topbar nav{display:none}}@media(max-width:700px){.adwg-topbar{padding:14px 16px}.adwg-hero{padding:24px 14px}.adwg-hero-copy h1{font-size:38px}.adwg-cards{grid-template-columns:repeat(2,1fr)}.adwg-side{grid-template-columns:1fr}.adwg-articles{grid-template-columns:1fr}.adwg-footer{grid-template-columns:1fr}.adwg-section,.adwg-seo,.adwg-faq{margin:14px;padding:18px}.adwg-grid{gap:5px}.adwg-tile{font-size:16px}.adwg-input{flex-direction:column}.adwg-input button{padding:14px}}
/* v1.1 playable daily word game */
.adwg-playable .adwg-grid{grid-template-columns:repeat(var(--adwg-len,5),minmax(34px,1fr));max-width:520px;margin:18px auto}.adwg-cell{aspect-ratio:1;border:2px solid #d1d5db;border-radius:10px;display:grid;place-items:center;font-weight:900;font-size:24px;text-transform:uppercase;background:#fff;transition:.18s}.adwg-cell.filled{border-color:#9ca3af;box-shadow:inset 0 0 0 1px #e5e7eb}.adwg-cell.correct,.adwg-keyboard button.correct{background:#16a34a!important;color:#fff!important;border-color:#16a34a!important}.adwg-cell.present,.adwg-keyboard button.present{background:#f4b400!important;color:#fff!important;border-color:#f4b400!important}.adwg-cell.absent,.adwg-keyboard button.absent{background:#6b7280!important;color:#fff!important;border-color:#6b7280!important}.adwg-keyboard{display:grid;gap:7px;margin:16px auto 10px;max-width:620px}.adwg-key-row{display:flex;justify-content:center;gap:6px}.adwg-keyboard button{min-width:34px;height:44px;border:1px solid #d1d5db;border-radius:8px;background:#f3f4f6;color:#111827;font-weight:900;cursor:pointer}.adwg-keyboard button.wide{min-width:66px;font-size:12px}.adwg-status{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#4b5563;margin-top:-5px}.adwg-game-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:12px 0}.adwg-btn.ghost{background:#fff!important;color:#4f46e5!important;border:1px solid #c7d2fe;box-shadow:none}.adwg-share-btn:disabled{opacity:.45;cursor:not-allowed}@media(max-width:700px){.adwg-game{padding:14px;min-height:auto}.adwg-cell{font-size:18px;border-radius:7px}.adwg-keyboard button{min-width:27px;height:40px;font-size:12px}.adwg-keyboard button.wide{min-width:50px;font-size:10px}.adwg-playable .adwg-grid{gap:5px}}


/* v1.2 mobile game-first and focus play mode - keeps large boxes but removes unnecessary scrolling */
.adwg-close-focus{display:none!important}
.adwg-focus-mode{position:fixed!important;inset:0!important;z-index:999999!important;background:#fff!important;overflow:auto!important;border-radius:0!important;box-shadow:none!important;margin:0!important;max-width:none!important;width:100%!important;min-height:100dvh!important;padding:14px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
.adwg-focus-mode .adwg-close-focus{display:inline-flex!important}
.adwg-focus-mode .adwg-game-head{position:sticky;top:0;background:#fff;z-index:2;border-radius:12px;padding:8px 0}
.adwg-focus-mode .adwg-clue,.adwg-focus-mode .adwg-status{max-width:620px;width:100%;margin-left:auto;margin-right:auto}
.adwg-focus-mode .adwg-playable .adwg-grid,.adwg-focus-mode .adwg-grid{max-width:min(560px,96vw);width:100%;gap:8px;margin:12px auto}
.adwg-focus-mode .adwg-cell{font-size:clamp(22px,6vw,32px);border-radius:10px}
.adwg-focus-mode .adwg-keyboard{max-width:min(680px,98vw);width:100%;gap:8px;margin-top:auto;position:sticky;bottom:0;background:#fff;padding:10px 0 4px;z-index:3}
.adwg-focus-mode .adwg-key-row{gap:6px}.adwg-focus-mode .adwg-keyboard button{height:48px;min-width:38px;font-size:15px}.adwg-focus-mode .adwg-keyboard button.wide{min-width:70px}
@media(max-width:700px){
  .adwg-hero{display:flex;flex-direction:column;padding:10px 8px 16px!important;gap:12px!important}.adwg-hero-copy{order:2;padding:14px!important}.adwg-game{order:1}.adwg-side{order:3}.adwg-hero-copy h1{font-size:26px!important;line-height:1.08!important;margin:0 0 8px!important}.adwg-hero-copy p{font-size:14px!important;margin:0 0 8px!important}.adwg-hero-copy ul{display:none!important}.adwg-kicker{display:none!important}.adwg-btn{padding:11px 14px!important}.adwg-game-head{margin-bottom:6px!important}.adwg-clue{font-size:12px!important;padding:8px 10px!important}.adwg-status{font-size:11px!important}.adwg-playable .adwg-grid{width:100%!important;max-width:360px!important;gap:6px!important;margin:10px auto!important}.adwg-cell{font-size:20px!important;border-radius:8px!important}.adwg-keyboard{width:100%!important;max-width:390px!important;gap:6px!important;margin:10px auto 4px!important}.adwg-key-row{gap:4px!important}.adwg-keyboard button{height:42px!important;min-width:30px!important;font-size:13px!important;border-radius:7px!important}.adwg-keyboard button.wide{min-width:54px!important;font-size:10px!important}.adwg-game-actions{margin:8px 0!important}.adwg-msg{font-size:11px!important;margin:5px 0 0!important}.adwg-focus-mode{padding:8px!important}.adwg-focus-mode .adwg-grid{max-width:min(380px,96vw)!important}.adwg-focus-mode .adwg-keyboard{max-width:98vw!important}.adwg-focus-mode .adwg-keyboard button{height:44px!important;min-width:31px!important}.adwg-focus-mode .adwg-keyboard button.wide{min-width:56px!important}
}
@media(max-width:380px){.adwg-playable .adwg-grid{max-width:330px!important}.adwg-keyboard button{min-width:27px!important}.adwg-keyboard button.wide{min-width:48px!important}}


/* v1.3 compact game board + keyboard fit fix */
.adwg-game{min-height:auto!important;overflow:hidden!important}
.adwg-playable .adwg-grid{max-width:390px!important;width:min(100%,390px)!important;gap:7px!important;margin:12px auto 14px!important}
.adwg-cell{font-size:21px!important;border-radius:9px!important}
.adwg-keyboard{max-width:500px!important;width:100%!important;gap:6px!important;overflow:hidden!important;margin:10px auto 8px!important}
.adwg-key-row{display:flex!important;justify-content:center!important;gap:5px!important;width:100%!important;overflow:hidden!important}
.adwg-keyboard button{height:40px!important;min-width:0!important;flex:1 1 0!important;max-width:44px!important;padding:0 2px!important;font-size:13px!important;border-radius:7px!important}
.adwg-keyboard button.wide{flex:1.45 1 0!important;max-width:62px!important;font-size:10px!important}
.adwg-game-actions{margin:8px 0!important}.adwg-msg{margin:6px 0 0!important}
.adwg-clue{margin-bottom:10px!important}.adwg-status{margin-top:0!important}.adwg-game-head{margin-bottom:8px!important}
@media(min-width:701px){
  .adwg-hero{align-items:flex-start!important;padding-top:20px!important;gap:20px!important;grid-template-columns:.85fr 1.25fr .65fr!important}
  .adwg-hero-copy h1{font-size:44px!important;line-height:1.02!important;margin-bottom:12px!important}
  .adwg-hero-copy p{font-size:16px!important;line-height:1.45!important}
  .adwg-hero-copy ul{margin:14px 0!important;gap:8px!important}
  .adwg-panel{padding:18px!important}.adwg-panel h2{font-size:30px!important}.adwg-panel p{padding-bottom:9px!important;margin:10px 0!important}
  .adwg-game{padding:18px!important}
}
@media(max-width:700px){
  .adwg-topbar{position:relative!important;top:auto!important}
  .adwg-game{width:100%!important;padding:10px!important;border-radius:14px!important}
  .adwg-playable .adwg-grid{max-width:min(95vw,330px)!important;width:100%!important;gap:5px!important;margin:8px auto 10px!important}
  .adwg-cell{font-size:18px!important;border-radius:7px!important}
  .adwg-keyboard{width:100%!important;max-width:100%!important;gap:5px!important;padding:0 2px!important}
  .adwg-key-row{gap:3px!important}
  .adwg-keyboard button{height:36px!important;max-width:none!important;font-size:12px!important;border-radius:6px!important;padding:0!important}
  .adwg-keyboard button.wide{font-size:9px!important;max-width:none!important}
  .adwg-game-actions .adwg-btn{font-size:12px!important;padding:9px 10px!important}
  .adwg-clue{font-size:11px!important;padding:7px 8px!important;margin-bottom:6px!important}
  .adwg-status{font-size:10px!important}
  .adwg-focus-mode .adwg-playable .adwg-grid,.adwg-focus-mode .adwg-grid{max-width:min(95vw,340px)!important;gap:5px!important}
  .adwg-focus-mode .adwg-keyboard{max-width:100%!important;width:100%!important;padding:6px 2px!important}
  .adwg-focus-mode .adwg-keyboard button{height:38px!important;min-width:0!important;max-width:none!important;font-size:12px!important}
}
@media(max-width:380px){
  .adwg-playable .adwg-grid{max-width:min(94vw,305px)!important;gap:4px!important}
  .adwg-keyboard button{height:34px!important;font-size:11px!important}
  .adwg-key-row{gap:2px!important}
}


/* v1.4 desktop-only compact Wordle-style sizing; mobile remains same */
@media (min-width: 701px){
  .adwg-hero{
    max-width:1280px!important;
    grid-template-columns:300px minmax(520px,590px) 260px!important;
    gap:18px!important;
    align-items:start!important;
    padding-top:18px!important;
  }
  .adwg-game{
    max-width:590px!important;
    width:100%!important;
    padding:16px 18px!important;
    min-height:auto!important;
  }
  .adwg-playable .adwg-grid{
    max-width:318px!important;
    width:318px!important;
    gap:6px!important;
    margin:10px auto 12px!important;
  }
  .adwg-cell{
    font-size:20px!important;
    border-radius:4px!important;
    border-width:2px!important;
  }
  .adwg-keyboard{
    max-width:500px!important;
    width:500px!important;
    gap:6px!important;
    margin:8px auto!important;
  }
  .adwg-key-row{gap:6px!important;overflow:visible!important;}
  .adwg-keyboard button{
    height:42px!important;
    max-width:45px!important;
    font-size:14px!important;
    border-radius:6px!important;
  }
  .adwg-keyboard button.wide{
    max-width:70px!important;
    font-size:11px!important;
  }
  .adwg-game-head{margin-bottom:6px!important;}
  .adwg-clue{padding:9px 11px!important;margin-bottom:8px!important;font-size:14px!important;}
  .adwg-status{font-size:12px!important;margin-bottom:0!important;}
  .adwg-game-actions{margin:8px 0 4px!important;}
  .adwg-msg{font-size:13px!important;text-align:center!important;}
  .adwg-hero-copy h1{font-size:40px!important;}
  .adwg-hero-copy p{font-size:15px!important;}
  .adwg-hero-copy li{font-size:15px!important;}
  .adwg-side .adwg-panel h3{font-size:26px!important;line-height:1.12!important;}
}
@media (min-width: 701px) and (max-height: 820px){
  .adwg-playable .adwg-grid{max-width:292px!important;width:292px!important;gap:5px!important;}
  .adwg-keyboard{max-width:480px!important;width:480px!important;}
  .adwg-keyboard button{height:38px!important;}
  .adwg-clue{padding:7px 10px!important;}
  .adwg-game{padding-top:12px!important;padding-bottom:12px!important;}
}


/* v2.0 polish: dark mode, stats modal, animations, improved desktop finish */
.adwg-theme-toggle{border:0;background:#f3f4f6;border-radius:999px;padding:8px 10px;cursor:pointer;font-weight:800;margin-left:8px}
.adwg-cell.pop{animation:adwgPop .14s ease-out}.adwg-cell.flip{animation:adwgFlip .45s ease-in-out}.adwg-grid.shake{animation:adwgShake .32s ease-in-out}
@keyframes adwgPop{50%{transform:scale(1.08)}}@keyframes adwgFlip{50%{transform:rotateX(90deg)}}@keyframes adwgShake{10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(4px)}30%,50%,70%{transform:translateX(-6px)}40%,60%{transform:translateX(6px)}}
.adwg-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:1000000;display:flex;align-items:center;justify-content:center;padding:18px}.adwg-modal[hidden]{display:none}.adwg-modal-card{background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.24);padding:24px;max-width:460px;width:100%;position:relative}.adwg-modal-close{position:absolute;right:14px;top:12px;border:0;background:#f3f4f6;border-radius:999px;width:34px;height:34px;font-size:24px;cursor:pointer}.adwg-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.adwg-stat-grid p{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:10px;margin:0;display:flex;justify-content:space-between}.adwg-dist{display:grid;gap:7px}.adwg-dist-row{display:flex;align-items:center;gap:10px}.adwg-dist-row span{width:18px;font-weight:800}.adwg-dist-row i{display:inline-flex;align-items:center;justify-content:flex-end;min-width:22px;height:22px;border-radius:6px;background:#6d41f2;color:#fff;font-style:normal;font-size:12px;padding:0 6px}
body.adwg-dark .adwg-wrap,body.adwg-dark{background:#0f172a!important;color:#e5e7eb!important}body.adwg-dark .adwg-topbar,body.adwg-dark .adwg-game,body.adwg-dark .adwg-panel,body.adwg-dark .adwg-section,body.adwg-dark .adwg-three>*,body.adwg-dark .adwg-seo,body.adwg-dark .adwg-faq,body.adwg-dark .adwg-modal-card{background:#111827!important;color:#e5e7eb!important;border-color:#334155!important}body.adwg-dark .adwg-cell{background:#0b1220!important;border-color:#475569!important;color:#e5e7eb!important}body.adwg-dark .adwg-keyboard button,body.adwg-dark .adwg-theme-toggle,body.adwg-dark .adwg-modal-close{background:#334155!important;color:#e5e7eb!important;border-color:#475569!important}body.adwg-dark .adwg-clue,body.adwg-dark .hint,body.adwg-dark .adwg-list a,body.adwg-dark .adwg-stat-grid p{background:#1e293b!important;color:#e5e7eb!important;border-color:#334155!important}body.adwg-dark .adwg-footer{background:#020617!important}
@media(min-width:701px){.adwg-playable .adwg-grid{max-width:310px!important;width:310px!important}.adwg-keyboard{max-width:492px!important;width:492px!important}.adwg-keyboard button{height:40px!important}.adwg-game-actions .adwg-btn{padding:9px 14px!important;font-size:12px!important}}
