/* Word Jungle — shared page shell, scoped game visuals. */
.wj{--gold:#ffd43b;--muted:#cbbbd4;color:#fff8e6;font-family:system-ui,sans-serif}.wj *{box-sizing:border-box}.wj button{cursor:pointer}.wj button:disabled{cursor:not-allowed;opacity:.45}.wj button:focus-visible,.wj input:focus-visible,.wj-words:focus-visible{outline:3px solid #80edc5;outline-offset:3px}.wj-scorebar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 0;color:#d6b7ef;font-size:12px}.wj-scorebar strong,.wj-scorebar b{color:var(--gold);font-size:17px}.wj-top{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px}.wj-column{min-width:0;border:1px solid #78499b;border-radius:12px;background:linear-gradient(145deg,#37194c,#1a0d2c);padding:10px 7px}.wj-column h3{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:12px;color:var(--gold);margin:0 0 8px;padding-bottom:7px;border-bottom:1px solid #765187}.wj-column h3 small{font-size:10px;color:#cbbbd4;white-space:nowrap}.wj-words{height:218px;overflow:auto;scrollbar-color:#af80c9 #1a0d2c;scrollbar-width:thin;display:flex;flex-direction:column;align-items:center;gap:5px;padding:2px 3px 5px}.wj-slot{flex-shrink:0;max-width:100%;padding:3px;border:1px solid #67447d;border-radius:7px;background:#13091e;display:flex;flex-wrap:wrap;gap:2px;justify-content:center;transition:border-color .2s}.wj-cell{width:clamp(12px,2.3vw,21px);height:25px;display:grid;place-items:center;border:1px solid #78519a;border-radius:3px;background:#200e30;color:#fff;font-weight:850;font-size:14px}.wj-slot.found .wj-cell{background:#eee0ff;color:#241032;border-color:#eee0ff}.wj-slot.golden .wj-cell{background:linear-gradient(#ffe994,#ffd43b);color:#29132d;border-color:#ffed98}.wj-slot.new-find{animation:wj-found .45s ease-out}.wj-credit{width:100%;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:#ead9f3;max-width:175px}.wj-credit span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wj-avatar{width:23px;height:23px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;background:#62417d;color:#fff;font-size:11px;flex-shrink:0}.wj-bottom{display:flex;justify-content:center;margin-top:14px;gap:12px}.wj-wheel-area{min-width:0;text-align:center}.wj-wheel{position:relative;width:250px;height:250px;margin:auto;border-radius:50%;background:radial-gradient(circle,#4d215d 5%,#251236 53%,#100a1d 72%);border:1px solid #805b95;box-shadow:inset 0 0 35px #0007,0 6px 18px #0005}.wj-letter{position:absolute;display:grid;place-items:center;width:52px;height:52px;border:2px solid #a577c0;border-radius:50%;background:linear-gradient(#603082,#35164e);color:#fff;font-size:27px;font-weight:900;box-shadow:0 4px 0 #160a24;padding:0}.wj-letter.gold{background:linear-gradient(#fff4a8,#ffcc25);border-color:#fff0a3;color:#321132;box-shadow:0 4px 0 #7a4b0f}.wj-bonus{color:#ffe779!important;font-size:11px;margin:9px 0 0!important}.wj-input{display:flex;gap:8px;justify-content:center;margin:12px auto 8px;max-width:470px}.wj-input input{width:100%;min-width:0;border:1px solid #9875b1;border-radius:9px;padding:10px;background:#140a22;color:white;letter-spacing:2px;text-transform:uppercase;font-size:18px}.wj-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.wj-actions .btn{font-size:12px;padding:8px 11px}.wj #feedback{min-height:25px;text-align:center;font-size:13px;color:#ffe779;margin:10px 0 0}.wj #accountNotice{font-size:13px}.wj #accountNotice a{color:#ffd43b;text-decoration:underline}.wj .btn[aria-pressed=true]{background:#ffd43b;color:#23132d}.wj .daily-modebar{display:flex;gap:7px;justify-content:center}.wj [hidden]{display:none!important}.wj-scorebar>span:first-child{font-weight:800}.wj-stream{margin:0;background:#110919;color:#fff8e6;font:15px system-ui,sans-serif}.wj-stream main{width:min(800px,100%);margin:0 auto;border:2px solid #ffd43b;border-radius:18px;background:linear-gradient(135deg,#321743,#140b23);padding:16px 20px;min-height:800px}.wj-brand{display:flex;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid #714986}.wj-brand img{width:52px;height:52px;object-fit:contain}.wj-brand h1{margin:0;font-size:32px;line-height:1.2;letter-spacing:-1px}.wj-brand h1 span{color:#ffd43b}.wj-brand small{font-size:9px;letter-spacing:1.2px;color:#dbc7ed}.wj-brand #chatStatus{margin-left:auto;text-align:right;max-width:140px}.wj-stream .wj-bottom{display:grid;grid-template-columns:minmax(0,1fr) 250px minmax(0,1fr);gap:12px;align-items:center}.wj-stream .wj-bottom .wj-words{height:235px}.wj-stream .wj-cell{width:18px;height:24px;font-size:14px}.wj-stream .wj-top .wj-words{height:210px}.wj-stream .wj-recent{min-height:42px;margin-top:12px;padding:8px 12px;border:1px solid #6d468b;border-radius:10px;color:#fff2b8;font-size:13px;display:flex;gap:8px;align-items:center}.wj-stream #feedback:empty{display:none}.wj-stream footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:11px;color:#e9d3fa}.wj-stream footer b{color:#ffe777}.wj-stream footer>span{max-width:450px}.wj-stream .btn{border:1px solid #ae7ed0;background:#412257;color:#ffe27b;border-radius:9px;padding:7px 10px;font:700 13px system-ui;cursor:pointer}.wj-rank{display:flex;gap:9px;align-items:center;padding:8px;border-bottom:1px solid #855395;text-align:left;font-size:16px}.wj-rank strong{margin-left:auto;color:#ffe777}.wj-rank .wj-avatar{width:38px;height:38px;font-size:17px}.wj-empty{font-size:11px;color:#beaccb;text-align:center;padding:20px 0}.wj-stream dialog{color:#fff}#winnerBody p{overflow-wrap:anywhere}@keyframes wj-found{from{transform:scale(.94);opacity:.4}to{transform:scale(1);opacity:1}}@media(max-width:600px){.wj-top{gap:5px}.wj-column{padding:7px 3px}.wj-column h3{font-size:10px;flex-wrap:wrap;justify-content:center}.wj-column h3 small{font-size:9px}.wj-cell{width:13px;height:22px;font-size:12px}.wj-slot{gap:1px;padding:2px}.wj-words{padding:2px 0;height:190px}.wj-scorebar>span:first-child{width:100%;text-align:center}.wj-stream main{padding:12px 8px;min-height:100vh}.wj-brand h1{font-size:24px}.wj-brand img{width:42px;height:42px}.wj-brand #chatStatus{font-size:8px}.wj-stream .wj-bottom{grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);gap:5px}.wj-stream .wj-wheel{width:180px;height:180px}.wj-stream .wj-letter{width:38px;height:38px;font-size:22px}.wj-stream .wj-cell{width:10px;height:19px;font-size:11px}.wj-stream .wj-bottom .wj-words{height:220px}.wj-stream .wj-credit{font-size:8px}.wj-stream .wj-avatar{width:18px;height:18px}.wj-stream .wj-bonus{font-size:9px}.wj-stream footer{flex-wrap:wrap}.wj-stream .wj-recent{font-size:12px}.wj-stream .wj-top .wj-words{height:205px}}@media(max-width:360px){.wj-stream .wj-bottom{grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr)}.wj-stream .wj-wheel{width:150px;height:150px}.wj-stream .wj-letter{width:32px;height:32px;font-size:19px}.wj-stream .wj-cell{width:8px}}@media(prefers-reduced-motion:reduce){.wj-slot{transition:none}.wj-slot.new-find{animation:none}}

/* Six-letter streams use the same top answer groups and a centred wheel. */
.wj-stream[data-letters="6"] .wj-bottom{grid-template-columns:minmax(0,1fr);justify-items:center}.wj-size{font-size:12px;color:#f7dcff;margin:6px 0 0;text-align:center}.wj-stream [hidden]{display:none!important}
