#app.is-wordle{background:linear-gradient(180deg,#f3ebfa,#faf7fd);padding:16px 18px calc(104px + env(safe-area-inset-bottom));color:#30203e}
.wordle-top{display:flex;align-items:center;gap:12px;margin-bottom:18px;min-height:48px}.wordle-back{width:40px;height:40px;border:1px solid #fff;border-radius:50%;background:#fffafc;color:#7e55a5;font-size:30px;line-height:1;padding:0}.wordle-top>div{flex:1}.wordle-top>div>span{font-size:8px;letter-spacing:.14em;font-weight:800;color:#a48ab5}.wordle-top h1{font-size:25px;line-height:1.1;margin:4px 0 0;letter-spacing:-.04em}.wordle-mode{font-size:11px;padding:7px 11px;background:#e9dcf6;border-radius:20px;color:#85629f;font-weight:700}
.wordle-panel{border:1px solid #fff;background:#fffcfff0;border-radius:26px;padding:20px;box-shadow:0 7px 25px #60417c07}.wordle-round-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}.wordle-round-heading>div{flex:1;min-width:0}.wordle-round-heading h2{margin:0;font-size:16px;line-height:1.3;letter-spacing:-.025em}.wordle-round-heading p{font-size:11px;color:#96829f;margin:5px 0 0;line-height:1.5}.wordle-count{font-size:23px;color:#8758b5;font-weight:800;white-space:nowrap}.wordle-count small{font-size:12px;color:#b39bc2;font-weight:600}
.wordle-grid{display:grid;gap:6px;max-width:270px;margin:0 auto 22px}.wordle-line{display:grid;grid-template-columns:repeat(var(--letters),minmax(0,1fr));gap:6px}.wordle-cell{display:grid;place-items:center;aspect-ratio:1;min-width:0;border-radius:11px;border:1px solid #ece3f3;background:#f4eef8;color:#3b2450;font-size:clamp(15px,5.4vw,23px);font-weight:800;line-height:1}.wordle-draft .wordle-cell{border:1.5px solid #d2b8e9;background:#fdfaff}.wordle-draft .wordle-cell.filled{border-color:#a77bce;background:#f0e3fb}.wordle-cell.correct,.wordle-legend .correct{background:#60a789;border-color:#60a789;color:#fff}.wordle-cell.present,.wordle-legend .present{background:#729dce;border-color:#729dce;color:#fff}.wordle-cell.absent,.wordle-legend .absent{background:#d18b9a;border-color:#d18b9a;color:#fff}
.wordle-entry label{display:flex;justify-content:space-between;font-size:11px;font-weight:700;color:#856c97;margin-bottom:7px}.wordle-entry label>span{font-weight:500;color:#aa95b7}.wordle-input-row{display:flex;gap:8px}.wordle-input-row input{flex:1;min-width:0;width:0;border:1px solid #dfcdeb;border-radius:14px;background:#fbf6ff;padding:12px 13px;font-size:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#543365;outline:none}.wordle-input-row input:focus{border-color:#9b6bc7;box-shadow:0 0 0 3px #ae80d51c}.wordle-input-row input::placeholder{font-size:11px;letter-spacing:.06em;font-weight:500;color:#b39cbe}.wordle-input-row button{border:0;border-radius:14px;width:48px;background:linear-gradient(135deg,#ab7bd9,#7b48b0);color:#fff;font-size:25px}.wordle-input-row button:disabled{background:#e9def1;color:#b6a3c2;cursor:default}.wordle-entry>p{font-size:10px;line-height:1.5;color:#a089ae;margin:8px 0 17px}
.wordle-rules,.wordle-exit{border-top:1px solid #eee5f4;padding-top:13px;margin-top:13px;color:#8c729d}.wordle-rules summary,.wordle-exit summary{font-size:11px;font-weight:600;min-height:24px}.wordle-rules>p,.wordle-exit>p{font-size:11px;line-height:1.6;color:#9983a6}.wordle-legend{display:grid;gap:8px;padding-top:10px}.wordle-legend>span{display:flex;align-items:center;gap:9px;font-size:11px}.wordle-legend i{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;font-size:13px;font-style:normal;font-weight:800}.wordle-text-button{border:0;background:transparent;color:#9a7aa9;font-size:11px;text-decoration:underline;text-underline-offset:4px;min-height:40px;padding:8px 0}.wordle-exit .wordle-text-button{color:#b6788c}.wordle-result{text-align:center;background:#f0e5f9;border-radius:18px;padding:18px 12px;margin-bottom:13px}.wordle-result.solved{background:#e5f2ed}.wordle-result>span{display:block;font-size:11px;color:#8c739d}.wordle-result strong{display:block;font-size:25px;letter-spacing:.12em;color:#67437f;margin:8px 0}.wordle-result p{font-size:11px;line-height:1.5;margin:0;color:#8f7a9d}.wordle-panel>.primary{font-size:13px}.wordle-footnote{text-align:center;font-size:11px;line-height:1.7;color:#a38bb1;margin:20px 0}
.wordle-wait{text-align:center;padding:26px 22px}.wordle-wait>img{width:96px;height:96px;object-fit:contain;margin-bottom:18px}.wordle-kicker{display:block;font-size:8px;letter-spacing:.13em;font-weight:800;color:#a184b3}.wordle-wait h2{font-size:24px;line-height:1.15;letter-spacing:-.04em;margin:10px 0 12px}.wordle-wait>p{font-size:12px;line-height:1.7;color:#937c9f;margin:0 0 24px}.wordle-wait .primary,.wordle-wait .soft{margin-bottom:9px}.wordle-mode-sheet>.art{width:72px;height:72px;margin:0 0 15px}.wordle-mode-sheet .mode-option{border-color:#eaddf3;background:linear-gradient(120deg,#fffaff,#f7effc)}.wordle-mode-sheet .mode-option b{font-size:16px}.wordle-mode-sheet .mode-option small{font-size:12px;line-height:1.5}
@media(max-width:370px){#app.is-wordle{padding:14px 12px calc(100px + env(safe-area-inset-bottom))}.wordle-panel{padding:16px;border-radius:23px}.wordle-grid{max-width:248px}.wordle-round-heading h2{font-size:14px}.wordle-top{margin-bottom:14px}.wordle-round-heading{margin-bottom:16px}.wordle-cell{border-radius:9px}.wordle-mode{font-size:10px;padding:7px 9px}}
@media(prefers-reduced-motion:no-preference){.wordle-cell{transition:background .16s ease,border-color .16s ease}.wordle-input-row button{transition:background .16s ease,transform .16s ease}.wordle-input-row button:active:not(:disabled){transform:scale(.95)}}
.mode-backdrop{z-index:200}.mode-sheet{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.keyboard-switch{display:flex;background:#efe6f6;border-radius:12px;padding:3px;gap:3px;margin-bottom:12px}.keyboard-switch button{flex:1;border:0;border-radius:9px;background:none;color:#9a80ad;padding:8px 4px;font-size:10px;font-weight:700;min-height:32px}.keyboard-switch button[aria-pressed=true]{background:#fffaff;color:#7a4aa4;box-shadow:0 2px 6px #6c468714}.wordle-keyboard{display:grid;gap:6px;margin:0 -10px 15px;touch-action:manipulation}.wordle-key-row{display:flex;justify-content:center;gap:4px}.wordle-key-row button{min-width:0;flex:1;height:42px;border:1px solid #e6d9ee;border-radius:8px;background:#f0e6f7;color:#67457c;font-size:13px;font-weight:800;padding:0;box-shadow:0 2px 0 #e0d0eb}.wordle-key-row button.wide-key{flex:1.5;font-size:19px}.wordle-key-row button.correct{background:#60a789;color:#fff;border-color:#60a789;box-shadow:0 2px 0 #498c71}.wordle-key-row button.present{background:#729dce;color:#fff;border-color:#729dce;box-shadow:0 2px 0 #5c83af}.wordle-key-row button.absent{background:#e7d9df;color:#ad8b99;border-color:#e7d9df;box-shadow:0 2px 0 #d8c8cf}.wordle-key-row button:active{transform:translateY(2px);box-shadow:none}.wordle-entry input[readonly]{caret-color:transparent}.wordle-cell.revealed{background:#a886cc;border-color:#a886cc;color:#fff;box-shadow:inset 0 1px 0 #ffffff30}.wordle-answer-note{font-size:10px;color:#9872b2;text-align:center;line-height:1.5;margin:-8px 0 18px}.wordle-history{margin:22px 0 0}.wordle-history>h2{font-size:18px;margin:0 0 12px}.wordle-history>h2 small{font-size:12px;color:#ad95bc;margin-left:5px}.wordle-history>p{font-size:12px;line-height:1.6;color:#a087b0}.wordle-history-row{background:#fffaffb8;border:1px solid #fff;border-radius:16px;margin-bottom:7px;padding:12px}.wordle-history-row>summary{display:flex;align-items:center;gap:10px;list-style:none}.wordle-history-row>summary::-webkit-details-marker{display:none}.wordle-history-row>summary>span{flex:1;min-width:0}.wordle-history-row strong{display:block;font-size:13px;letter-spacing:.06em;color:#715084;overflow-wrap:anywhere}.wordle-history-row small{display:block;font-size:10px;color:#aa93b7;margin-top:4px}.wordle-history-row b{font-size:11px;color:#b087a0}.wordle-history-row b.won{color:#5e9d81}.wordle-history-row summary>i{font-style:normal;color:#b499c4}.wordle-history-row>p{font-size:11px;line-height:1.5}.wordle-history-more>summary{font-size:12px;color:#986db2;padding:10px 0 15px}.history-guesses{display:grid;gap:4px;margin-top:9px}.history-guesses>span{display:flex;gap:4px}.history-guesses i{display:grid;place-items:center;width:24px;height:26px;border-radius:5px;font-size:12px;font-weight:700;font-style:normal;color:white}.history-guesses .correct{background:#60a789}.history-guesses .present{background:#729dce}.history-guesses .absent{background:#d18b9a}.wordle-create-form label{display:block;color:#8a689e;font-size:12px;font-weight:700}.wordle-create-form input{text-transform:uppercase;letter-spacing:.1em}.wordle-create-form>p,.share-note{font-size:11px!important;line-height:1.6;color:#9a80aa!important}.wordle-create-form>button{margin:10px 0}.wordle-create-form>button:disabled{opacity:.45}.ongoing-games{display:grid;gap:6px}.ongoing-games .listcard{margin:0;padding:12px}.ongoing-games .listcard strong{font-size:13px}.ongoing-games .listcard small{font-size:11px}.ongoing-games+.home-section{margin-top:18px}
@media(max-width:370px){.wordle-keyboard{margin-inline:-10px}.wordle-key-row{gap:3px}.wordle-key-row button{height:39px;font-size:11px;border-radius:7px}.keyboard-switch button{font-size:9px}.wordle-panel{padding:14px}.wordle-grid{max-width:230px}}
#app.is-wordle:has(.wordle-keyboard){padding-bottom:24px}#app.is-wordle:has(.wordle-keyboard) .bottom{display:none}.wordle-panel:has(.wordle-keyboard){padding-top:16px}.wordle-panel:has(.wordle-keyboard) .wordle-grid{max-width:226px;margin-bottom:15px}.wordle-panel:has(.wordle-keyboard) .wordle-round-heading{margin-bottom:14px}.wordle-entry:has(input[readonly])>p{display:none}.wordle-entry:has(input[readonly]){margin-bottom:12px}.wordle-panel:has(.wordle-keyboard) .wordle-rules{margin-top:8px;padding-top:9px}.wordle-panel:has(.wordle-keyboard) .wordle-exit{margin-top:7px;padding-top:9px}
@media(max-height:760px){.wordle-panel:has(.wordle-keyboard) .wordle-grid{max-width:192px;gap:5px}.wordle-panel:has(.wordle-keyboard) .wordle-line{gap:5px}.wordle-panel:has(.wordle-keyboard) .wordle-key-row button{height:36px}.wordle-panel:has(.wordle-keyboard) .wordle-keyboard{gap:5px;margin-bottom:8px}}
.catalog-history{margin-top:22px;padding:16px;border-radius:20px;background:#fffaff90;border:1px solid #fff8}.catalog-history>summary,.more-games>summary{font-size:12px;color:#8c6ca0;min-height:28px}.catalog-history .listcard{margin-top:9px}.catalog-heading h2 small{font-size:12px;color:#ad93bc}.more-games{margin-top:8px}.more-games .ongoing-games{margin-top:7px}.catalog-screen>.ongoing-games{margin-bottom:16px}.catalog-screen>.more-games{margin-bottom:18px}
#app.is-wordle:has(#guess:focus) .bottom{display:none}
