.strands-game{--bg-color:#120f27;--text-color:#fff;--text-secondary:#ffffffb3;--border-color:#ffffff1a;--placeholder-color:#ffffff4d;--found-word-color:#5a4cb5;--selected-color:#6153bd;--selected-cell-bg:#6153bd;--selected-cell-bg-2:#9333ea;--btn-bg:#ffffff1a;--btn-hover-bg:#ffffff26;--btn-active-bg:#ffffff0d;--btn-submit-bg:#7e51df;--btn-submit-hover-bg:#9571e3;--container-max-width:900px;--grid-container-max-width:800px;--cell-size:48px;--cell-border-radius:50%;--grid-bg:transparent;--grid-border:transparent;--transition-fast:.15s;--transition-normal:.25s;--transition-slow:.4s;background-color:var(--bg-color);width:100%;max-width:900px;min-height:100vh;color:var(--text-color);flex-direction:column;align-items:center;margin:0 auto;display:flex}.strands-game__container{width:100%;max-width:var(--container-max-width);flex-direction:column;align-items:center;margin:0 auto;padding:.5rem 1rem 1.5rem;display:flex}.game-subtitle{text-align:center;color:var(--text-secondary);width:100%;margin:0 0 1.5rem;font-size:1.2rem;font-weight:500}.strands-game__main-layout{flex-direction:row;justify-content:center;align-items:flex-start;gap:0;width:100%;max-width:1200px;min-height:70dvh;margin:0 auto;display:flex}.strands-game__left-panel{box-sizing:border-box;flex-direction:column;align-items:center;width:50%;min-width:0;max-width:600px;margin-top:10rem;display:flex}.strands-game__main-area{box-sizing:border-box;flex-direction:column;flex:50%;justify-content:flex-start;align-items:flex-start;width:50%;min-width:0;max-width:600px;display:flex}.strands-logo-title{align-items:center;gap:1.1rem;margin-top:1.2rem;margin-bottom:2.2rem;display:flex}.strands-logo{width:48px;height:48px}.strands-title{color:#fff;letter-spacing:.01em;font-size:2.1rem;font-weight:700}.theme-section{text-align:center;flex-direction:column;align-items:center;margin-bottom:1.5rem;display:flex}.theme-label{color:#7e7fff;margin-bottom:1.2rem;font-size:1.05rem;font-weight:700}.theme-title{color:#fff;margin-bottom:.5rem;font-size:1.45rem;font-weight:700}.theme-progress{color:#b3b3e6;text-align:center;font-size:1.05rem;font-weight:400}.animate-progress{animation:.6s ease-out progressPulse}.word-chain-display{border-radius:8px;justify-content:center;align-items:center;width:100%;height:3rem;margin-bottom:1rem;padding:.5rem;display:flex;position:relative}.word-chain-display .word-letters{opacity:1;align-items:center;gap:.5rem;transition:opacity .2s,transform .2s;display:flex;transform:translateY(0)}.word-chain-display .word-letters.visible{opacity:1;transform:translateY(0)}.word-chain-display .letter-placeholder{flex-direction:column;align-items:center;min-width:1.5rem;transition:all .2s;display:flex;position:relative}.word-chain-display .letter-placeholder.filled .letter{opacity:1;animation:.3s ease-out letterFadeIn}.word-chain-display .letter-placeholder.filled .letter-underline{opacity:1;border-bottom:2px solid #8b5cf6cc}.word-chain-display .letter-placeholder.filled .letter-underline:after{opacity:.6;animation:2s ease-in-out infinite underlineGlow}.word-chain-display .letter-placeholder .letter{letter-spacing:.05em;color:#fff;text-transform:uppercase;margin-bottom:.25rem;font-size:1.1rem;font-weight:700;line-height:1;transition:opacity .2s}.word-chain-display .letter-placeholder .letter-underline{border-bottom:2px solid #8b5cf699;width:1.5rem;height:2px;transition:opacity .2s,border-color .2s;position:relative}.word-chain-display .letter-placeholder .letter-underline:after{content:"";background:linear-gradient(90deg,#0000 0%,#8b5cf64d 25%,#8b5cf699 50%,#8b5cf64d 75%,#0000 100%);height:2px;transition:opacity .2s;position:absolute;bottom:-2px;left:0;right:0}.strands-game .game-board{flex:auto;justify-content:center;align-items:center;gap:0;width:100%;max-width:100%;min-height:0;margin:0 auto .7rem;display:flex}.grid-container{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:auto;background-color:#0000;border:none;border-radius:0;justify-content:center;gap:12px;padding:12px;display:grid}.grid-cell{width:var(--cell-size);height:var(--cell-size);font-size:calc(var(--cell-size)*.42);color:#fff;text-transform:uppercase;letter-spacing:.12em;cursor:pointer;-webkit-user-select:none;user-select:none;box-shadow:none;z-index:1;touch-action:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:#0000;pointer-events:auto;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;font-weight:700;transition:background .15s,color .15s;display:flex;position:relative}.grid-cell:hover{pointer-events:auto}.grid-cell.selected{background:var(--selected-cell-bg);color:#fff;z-index:2;pointer-events:auto;border:none;border-radius:50%}.grid-cell.spangram{background:var(--selected-cell-bg-2);z-index:2;box-shadow:none;pointer-events:auto;border:none;border-radius:50%;font-weight:700}.grid-cell.found{background:var(--word-color,#5a4cb5);color:var(--word-text,#fff);z-index:2;box-shadow:none;pointer-events:auto;border:none;border-radius:50%}.grid-cell.found--pop{animation-name:found-pop;animation-timing-function:ease-out;animation-fill-mode:backwards}.grid-cell:after{content:"";display:none}.grid-cell.hinted{z-index:2;pointer-events:auto;background-color:#ffb6c133;border:2px dashed #ffb6c1;animation:2s infinite hint-pulse}.grid-cell.last-letter-with-border{animation:1.2s ease-in-out infinite last-letter-pulse;border:3px dotted #8b5cf6!important}.controls-section{flex-direction:column;align-items:center;gap:1rem;width:100%;display:flex}.controls-section--mobile{display:none}.btn{color:var(--text-color);cursor:pointer;transition:all var(--transition-fast)ease;background:linear-gradient(145deg,#1e1f54,#191b45);border:1px solid #ffffff1a;border-radius:30px;justify-content:center;align-items:center;gap:8px;min-width:120px;padding:.85rem 2rem;font-size:1rem;font-weight:600;display:flex;position:relative;overflow:hidden;box-shadow:0 3px 5px #0003}.btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000004d}.btn:active{transform:translateY(0)}.btn.submit{background:linear-gradient(145deg,var(--btn-submit-bg),#6a41cb);border-color:#ffffff26}.btn.submit:hover{background:linear-gradient(145deg,var(--btn-submit-hover-bg),#7952d5)}.hint-btn{cursor:pointer;background:0 0;border:1px solid #7952d5;border-radius:24px;justify-content:center;align-items:center;width:200px;height:48px;transition:all .3s;display:flex;position:relative;overflow:hidden}.hint-btn:disabled{cursor:not-allowed;opacity:.7}.hint-btn.available:hover{transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf633}.hint-progress{z-index:1;pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.hint-progress-bar{z-index:1;background:#6a41cb;border-radius:24px 0 0 24px;width:0;height:100%;position:absolute;top:0;left:0}.hint-progress-bar.filling{animation-name:hint-fill;animation-timing-function:linear;animation-fill-mode:forwards}@keyframes hint-fill{0%{width:0}to{width:100%}}.hint-btn-content{z-index:2;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;display:flex;position:relative}.hint-btn-text{color:#fff;text-shadow:0 1px 2px #0000001a;letter-spacing:.01em;font-size:1.05rem;font-weight:700}.found-words{width:100%;max-width:var(--grid-container-max-width);background-color:#ffffff0d;border-radius:12px;margin-top:1rem;padding:1rem}.found-words-title{color:var(--text-secondary);margin-bottom:.75rem;font-size:1.1rem;font-weight:600}.found-words-list{flex-wrap:wrap;gap:.5rem;display:flex}.found-word{background-color:var(--found-word-color);color:#fff;border-radius:20px;padding:.5rem 1rem;font-size:.9rem;font-weight:500;animation:.3s forwards word-appear}.error-message{justify-content:center;align-items:center;width:100%;display:flex!important}.error-message .error-text{color:#ff6b6b;text-align:center;background:#ff6b6b1a;border:1px solid #ff6b6b4d;border-radius:20px;padding:.5rem 1rem;font-size:1.1rem;font-weight:700;animation:.5s ease-in-out errorPulse}.word-celebration{justify-content:center;align-items:center;width:100%;display:flex!important}.word-celebration .celebration-text{color:#4ade80;text-align:center;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;text-overflow:ellipsis;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(135deg,#4ade8026,#4ade800d);border:1px solid #4ade8066;border-radius:30px;max-width:100%;padding:.6rem 1.2rem;font-size:1rem;font-weight:700;animation:.6s ease-out celebrationBounce;position:relative;overflow:hidden;box-shadow:0 4px 12px #4ade8033,inset 0 1px #ffffff1a}.word-celebration .celebration-text:before{content:"";background:linear-gradient(90deg,#0000,#fff3,#0000);width:100%;height:100%;animation:2s ease-in-out shimmer;position:absolute;top:0;left:-100%}.spangram-celebration{justify-content:center;align-items:center;width:100%;display:flex!important}.spangram-celebration .celebration-text{color:gold;text-align:center;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;text-overflow:ellipsis;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#ffd70033,#ffd70014);border:2px solid #ffd70080;border-radius:35px;max-width:100%;padding:.7rem 1.4rem;font-size:1.1rem;font-weight:700;animation:.8s ease-out spangramGlow;position:relative;overflow:hidden;box-shadow:0 6px 20px #ffd7004d,0 0 30px #ffd70033,inset 0 1px #ffffff26}.spangram-celebration .celebration-text:before{content:"";background:linear-gradient(90deg,#0000,#ffffff4d,#0000);width:100%;height:100%;animation:2.5s ease-in-out shimmer;position:absolute;top:0;left:-100%}@keyframes word-appear{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes hint-pulse{0%,to{background-color:#ffb6c133}50%{background-color:#ffb6c166}}@keyframes underlineGlow{0%,to{opacity:.3}50%{opacity:.8}}@keyframes letterFadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes errorPulse{0%{opacity:0;transform:scale(.9)}50%{opacity:1;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes celebrationBounce{0%{opacity:0;transform:scale(.9)}50%{opacity:1;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes spangramGlow{0%{opacity:0;transform:scale(.9)}50%{opacity:1;text-shadow:0 0 15px gold;transform:scale(1.05)}to{opacity:1;text-shadow:0 0 10px gold;transform:scale(1)}}@keyframes progressPulse{0%{color:#b3b3e6;transform:scale(1)}50%{color:#7e7fff;text-shadow:0 0 10px #7e7fff80;transform:scale(1.1)}to{color:#b3b3e6;transform:scale(1)}}@keyframes confetti{0%{opacity:1;transform:translateY(0)rotate(0)}to{opacity:0;transform:translateY(-100px)rotate(720deg)}}@keyframes shimmer{0%{left:-100%}to{left:100%}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes found-pop{0%{color:#fff;background:0 0;transform:scale(1)}50%{transform:scale(1.25)}to{background:var(--word-color,#5a4cb5);color:var(--word-text,#fff);transform:scale(1)}}@keyframes last-letter-pulse{0%,to{border-color:#7c3aed;transform:scale(1)}50%{border-color:#c4b5fd;transform:scale(1.05)}}@media (max-width:600px){.grid-container{--cell-size:min(64px,calc((100vw - 42px - (var(--cols,6) - 1)*5px)/var(--cols,6)),calc((100dvh - 12rem - 44px - (var(--rows,8) - 1)*5px)/var(--rows,8)))}}@media (max-width:900px){.strands-game__main-layout{flex-direction:column;align-items:center;gap:1.5rem}.strands-game__left-panel,.strands-game__main-area{width:100%;max-width:100%;margin-top:1.2rem;padding:1.2rem 1rem}.strands-logo-title{margin-top:.5rem;margin-bottom:1.2rem}}@media (max-width:768px){.game-subtitle{margin-bottom:1rem;font-size:1rem}.btn{min-width:100px;padding:.75rem 1.5rem;font-size:.9rem}.word-chain-display .word-letters{gap:.3rem}.word-chain-display .letter-placeholder{min-width:1.2rem}.word-chain-display .letter-placeholder .letter{font-size:1rem}.word-chain-display .letter-placeholder .letter-underline{width:1.2rem}.error-message .error-text{padding:.4rem .8rem;font-size:1rem}.word-celebration .celebration-text,.spangram-celebration .celebration-text{padding:.4rem .8rem;font-size:.9rem}}@media (max-width:480px){.game-subtitle{font-size:.9rem}.btn{min-width:90px;padding:.6rem 1.25rem;font-size:.85rem}.found-words{padding:.75rem}.found-word{padding:.4rem .75rem;font-size:.8rem}.word-chain-display{height:2.5rem}.word-chain-display .word-letters{gap:.25rem}.word-chain-display .letter-placeholder{min-width:1rem}.word-chain-display .letter-placeholder .letter{margin-bottom:.2rem;font-size:.9rem}.word-chain-display .letter-placeholder .letter-underline{border-bottom-width:1.5px;width:1rem}.word-chain-display .letter-placeholder .letter-underline:after{height:1.5px;bottom:-1.5px}.error-message .error-text{padding:.4rem .75rem;font-size:.8rem}.word-celebration .celebration-text{border-radius:25px;max-width:calc(100vw - 2rem);padding:.4rem .8rem;font-size:.9rem}.spangram-celebration .celebration-text{border-radius:30px;max-width:calc(100vw - 2rem);padding:.4rem .8rem;font-size:.9rem}}@media (max-width:600px){.strands-game{box-sizing:border-box;flex-direction:column;justify-content:flex-start;min-height:0;margin:0;padding:8px;display:flex}.strands-game__main-layout{flex-direction:column;flex:auto;align-items:center;gap:.25rem;width:100%;max-width:100%;min-height:0}.strands-game__left-panel,.strands-game__main-area{box-sizing:border-box;flex-direction:column;flex-shrink:1;justify-content:flex-start;align-items:center;width:100%;max-width:100%;min-height:0;margin-top:4px;padding:0;display:flex}.strands-game .strands-game__main-area{padding:0}.theme-section{-webkit-line-clamp:2;line-clamp:2;text-align:center;-webkit-box-orient:vertical;width:100%;margin-bottom:.4rem;display:-webkit-box;overflow:hidden}.theme-label{margin-bottom:0;margin-right:.3rem;font-size:.9rem;display:inline}.theme-title{overflow-wrap:anywhere;margin-bottom:0;font-size:.9rem;font-weight:600;display:inline}.strands-game__left-panel .controls-section{display:none}.controls-section{flex-direction:row;justify-content:space-between;align-items:center;gap:1rem;width:100%;margin-bottom:.5rem}.controls-section--mobile{flex-direction:row;justify-content:space-between;align-items:center;gap:1rem;width:100%;margin-top:.5rem;display:flex}.theme-progress{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.85rem;font-weight:600;overflow:hidden}.word-chain-display{margin-bottom:.3rem}.strands-game .game-board{flex:none;justify-content:center;align-items:flex-start;gap:0;width:100%;max-width:100%;min-height:0;margin:0 auto .7rem;display:flex}.grid-container{box-sizing:border-box;gap:5px;max-width:100%;padding:0 12px}.hint-btn{border-radius:18px;flex-shrink:0;width:auto;min-width:120px;max-width:160px;height:36px;margin:0;font-size:.9rem}.hint-btn-content{justify-content:center;width:100%;font-size:.9rem}.hint-btn-text{font-size:.9rem}.controls-section--mobile{flex-wrap:wrap;justify-content:center}.controls-section--mobile .postgame-view-results-btn{flex:100%}.strands-logo{width:32px;height:32px}.strands-title{font-size:1.1rem}.error-message .error-text{padding:.4rem .8rem;font-size:.9rem}.word-celebration .celebration-text{border-radius:25px;max-width:calc(100vw - 2rem);padding:.5rem 1rem;font-size:.9rem}.spangram-celebration .celebration-text{border-radius:30px;max-width:calc(100vw - 2rem);padding:.6rem 1.2rem;font-size:1rem}}@media (max-width:360px){.strands-game{padding:8px}.theme-label,.theme-title{font-size:.85rem}.theme-progress{font-size:.8rem}.hint-btn{min-width:100px;max-width:140px;height:32px;font-size:.85rem}.hint-btn-text{font-size:.85rem}.word-chain-display .letter-placeholder{min-width:.9rem}.word-chain-display .letter-placeholder .letter{font-size:.85rem}.word-chain-display .letter-placeholder .letter-underline{width:.9rem}.error-message .error-text{padding:.35rem .7rem;font-size:.85rem}.word-celebration .celebration-text,.spangram-celebration .celebration-text{padding:.4rem .9rem;font-size:.85rem}}
.strands-help-overlay{z-index:10000;background:#060612b8;justify-content:center;align-items:center;padding:20px;font-family:Figtree,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;animation:.2s ease-out strandsFade;display:flex;position:fixed;inset:0}.strands-help-panel{color:#fff;background:#12122a;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;width:100%;max-width:400px;max-height:86vh;padding:24px 22px;animation:.25s ease-out strandsPop;display:flex;overflow:hidden}.strands-help-scroll{scrollbar-width:thin;scrollbar-color:#ffffff40 #0000;min-height:0;margin:0 -22px;padding:0 22px;overflow-y:auto}.strands-help-scroll::-webkit-scrollbar{width:6px}.strands-help-scroll::-webkit-scrollbar-thumb{background:#ffffff40;border-radius:3px}.strands-help-scroll::-webkit-scrollbar-track{background:0 0}.strands-help-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.strands-help-title{margin:0;font-size:18px;font-weight:700}.strands-help-close{color:#8b90b5;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:24px;line-height:1;transition:color .15s}.strands-help-close:hover{color:#fff}.strands-help-text{color:#c7cbe6;margin:0 0 14px;font-size:14px;line-height:1.55}.strands-help-text--last{margin-bottom:18px}.strands-help-video{background:#ffffff0a;border-radius:12px;width:100%;margin-bottom:18px;display:block}.strands-help-example{border:1px solid #ffffff14;border-radius:12px;margin-bottom:18px;padding:14px 15px}.strands-help-example-label{letter-spacing:.05em;text-transform:uppercase;color:#5a5f85;margin-bottom:9px;font-size:12px;font-weight:600}.strands-help-example-content{flex-direction:column;gap:9px;display:flex}.strands-help-theme{color:#c7cbe6;font-size:13px;font-weight:600}.strands-help-chips{flex-wrap:wrap;gap:6px;display:flex}.strands-help-chip{color:#c7cbe6;background:#ffffff0d;border:1px solid #ffffff14;border-radius:7px;padding:3px 9px;font-size:12.5px;font-weight:500}.strands-help-answer{align-items:center;gap:8px;display:flex}.strands-help-arrow{color:#5a5f85;font-size:13px}.strands-help-answer-text{color:#a78bfa;font-size:13.5px;font-weight:700}.strands-help-steps{flex-direction:column;gap:11px;display:flex}.strands-help-step{align-items:flex-start;gap:11px;display:flex}.strands-help-step-num{color:#a78bfa;background:#6153bd2e;border-radius:50%;flex:none;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:flex}.strands-help-step-text{color:#c7cbe6;font-size:13.5px;line-height:1.5}.strands-help-got-it{color:#fff;cursor:pointer;background:#6153bd;border:none;border-radius:12px;flex-shrink:0;width:100%;min-height:52px;margin-top:18px;font-family:inherit;font-size:15px;font-weight:600;transition:filter .15s}.strands-help-got-it:hover{filter:brightness(1.08)}@keyframes strandsFade{0%{opacity:0}to{opacity:1}}@keyframes strandsPop{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}
