*{box-sizing:border-box;margin:0;padding:0}body,html{-webkit-tap-highlight-color:transparent;height:100%;overflow:hidden;position:fixed;touch-action:manipulation;width:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-overflow-scrolling:touch;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}#root,body{background:#e8e0d5}#root{-webkit-overflow-scrolling:touch;height:100%;overflow:auto;width:100%}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}:root{--bg-primary:#e8e0d5;--text-primary:#5a6c7d;--text-secondary:#8b9aa8;--accent-primary:#5b7ce6;--letter-blue:#5b7ce6;--letter-blue-dark:#4a63d9;--letter-purple:#8b5cf6;--letter-purple-dark:#7c3aed;--letter-orange:#e67e5b;--letter-orange-dark:#d96a4a;--letter-red:#ef5350;--letter-red-dark:#e53935;--word-valid:#10b981;--word-invalid:#ef4444;--timer-full:#10b981;--timer-warning:#f59e0b;--timer-critical:#ef4444}.App{-webkit-overflow-scrolling:touch;background:#e8e0d5;background:var(--bg-primary);flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;justify-content:flex-start;min-height:100%;min-height:100dvh;overflow-x:hidden;overflow-y:auto;padding:max(20px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom))}.App,.score-message-container{align-items:center;display:flex}.score-message-container{height:32px;justify-content:center;margin-bottom:10px}.score-message{animation:floatUpFade 1.5s ease-out forwards;color:#5b7ce6;color:var(--accent-primary);font-size:18px;font-weight:600;pointer-events:none}@keyframes floatUpFade{0%{opacity:1;transform:translateY(0)}70%{opacity:1;transform:translateY(-8px)}to{opacity:0;transform:translateY(-20px)}}@media (max-width:600px){.App{justify-content:flex-start;padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))}.score-message-container{height:24px;margin-bottom:5px}.score-message{font-size:14px}}@media (max-height:600px){.App{justify-content:flex-start;padding:5px}.score-message-container{height:20px;margin-bottom:5px}}.game-header{justify-content:space-between;margin-bottom:20px;max-width:500px;padding:20px;width:100%}.game-header,.icon-button{align-items:center;display:flex}.icon-button{background:#fff9;border:2px solid #4a556833;border-radius:50%;box-shadow:0 2px 8px #0000001a;color:var(--text-primary);cursor:pointer;font-size:20px;height:50px;justify-content:center;padding:8px;transition:all .2s;width:50px}.icon-button:hover{transform:scale(1.1)}.icon-button:active{transform:scale(.95)}.icon-button-placeholder{height:50px;width:50px}.score-display{text-align:center}.score-label{color:var(--text-secondary);font-size:12px;letter-spacing:1px;margin-bottom:4px}.score-value{animation:scoreUpdate .3s ease-out;color:var(--text-primary);font-size:36px;font-weight:700}@keyframes scoreUpdate{0%{transform:scale(1)}50%{transform:scale(1.3)}to{transform:scale(1)}}@media (max-width:380px){.game-header{margin-bottom:10px;padding:10px}.icon-button{font-size:16px;padding:6px}.icon-button,.icon-button-placeholder{height:40px;width:40px}.score-value{font-size:28px}.score-label{font-size:10px}}@media (max-height:600px){.game-header{margin-bottom:5px;padding:8px 10px}.icon-button{font-size:14px}.icon-button,.icon-button-placeholder{height:36px;width:36px}.score-value{font-size:24px}}.word-formation{gap:12px;margin-bottom:40px;min-height:60px}.word-circle,.word-formation{align-items:center;display:flex;justify-content:center}.word-circle{border-radius:50%;color:var(--text-primary);font-size:24px;font-weight:700;height:50px;transition:all .2s ease;width:50px}.word-circle.empty{border:2px dashed var(--text-secondary);opacity:.3}.word-circle.filled{animation:letterSnap .2s ease-out;background:linear-gradient(135deg,#e67e5b,#d96a4a);border:none;box-shadow:0 6px 0 #d96a4a99,0 8px 16px #0003;color:#fff}.word-circle.clickable{-webkit-tap-highlight-color:transparent;cursor:pointer}.word-circle.clickable:hover{filter:brightness(1.1);transform:scale(1.05)}.word-circle.pressed{box-shadow:0 2px 0 #d96a4a99,0 4px 8px #00000026;filter:brightness(.9);transform:scale(.9) translateY(4px);transition:all .08s ease-out}@keyframes letterSnap{0%{opacity:0;transform:scale(.8)}50%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}@media (max-width:380px){.word-formation{gap:8px;margin-bottom:20px;min-height:50px}.word-circle{font-size:20px;height:40px;width:40px}}@media (max-height:600px){.word-formation{margin-bottom:15px;min-height:45px}.word-circle{font-size:18px;height:38px;width:38px}}.letter-circle-container{-webkit-touch-callout:none;height:300px;margin:0 auto;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;width:300px}.letter-circle{height:100%;position:relative;width:100%}.letter-button{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:linear-gradient(135deg,#5b7ce6,#4a63d9);border:none;border-radius:50%;box-shadow:0 8px 0 #4a63d999,0 10px 20px #0003;color:#fff;cursor:pointer;font-size:34px;font-weight:700;height:80px;touch-action:none;transition:all .1s ease;width:80px;z-index:10}.letter-button,.letter-button:before{position:absolute;transform:translate(-50%,-50%)}.letter-button:before{background:#0000;border-radius:50%;content:"";height:140%;left:50%;top:50%;width:140%}.letter-button:hover{box-shadow:0 8px 0 #4a63d999,0 12px 24px #00000040}.letter-button.selected,.letter-button:active{background:linear-gradient(135deg,#4a63d9,#3952c8);box-shadow:0 4px 0 #4a63d999,0 6px 16px #0003;transform:translate(-50%,-50%) translateY(4px) scale(.98)}@keyframes letterPress{0%{transform:translate(-50%,-50%) scale(1)}to{transform:translate(-50%,-50%) scale(.95)}}@media (max-width:380px){.letter-circle-container{height:240px;width:240px}.letter-button{font-size:28px;height:64px;width:64px}}@media (max-width:320px){.letter-circle-container{height:200px;width:200px}.letter-button{font-size:24px;height:54px;width:54px}}@media (max-height:600px){.letter-circle-container{height:220px;width:220px}.letter-button{font-size:26px;height:58px;width:58px}}.timer-ring{left:50%;opacity:.3;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.timer-ring circle{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.timer-ring.pulse{animation:timerPulse .5s infinite}@keyframes timerPulse{0%,to{opacity:.3;transform:translate(-50%,-50%) scale(1)}50%{opacity:.5;transform:translate(-50%,-50%) scale(1.05)}}.game-stats{margin-top:40px;padding:0 20px;text-align:center}.possible-words-count{color:var(--text-secondary);font-size:13px;font-weight:600;letter-spacing:.5px;margin-bottom:20px;text-transform:uppercase}.found-words-list{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 auto;max-width:400px}.found-word{animation:wordAppear .3s ease-out;background:var(--word-valid);border-radius:20px;color:#fff;font-size:14px;font-weight:700;padding:8px 16px}@keyframes wordAppear{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@media (max-width:380px){.game-stats{margin-top:20px;padding:0 10px}.possible-words-count{font-size:11px;margin-bottom:12px}.found-word{font-size:12px;padding:6px 12px}}@media (max-height:600px){.game-stats{margin-top:15px}.possible-words-count{margin-bottom:10px}.found-words-list{gap:6px}.found-word{font-size:11px;padding:5px 10px}}.results-screen{animation:fadeIn .3s ease-out;background:var(--bg-primary);bottom:0;left:0;overflow-y:auto;position:fixed;right:0;top:0;z-index:1000}.results-content{margin:0 auto;max-width:500px;padding:40px 20px;text-align:center}.game-over-title{color:var(--text-primary);font-size:32px;font-weight:700;letter-spacing:2px;margin-bottom:30px}.final-score{margin-bottom:40px}.final-score .score-label{color:var(--text-secondary);font-size:14px;letter-spacing:1px;margin-bottom:8px}.final-score .score-value{animation:scorePopIn .5s ease-out;color:var(--text-primary);font-size:64px;font-weight:700}.high-score-badge{animation:bounce .6s ease-out;color:var(--word-valid);font-size:18px;font-weight:700;margin-top:10px}.statistics-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(3,1fr);margin-bottom:40px}.stat-item{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:20px}.stat-value{color:var(--text-primary);font-size:28px;font-weight:700;margin-bottom:4px}.stat-label{color:var(--text-secondary);font-size:12px}.missed-words-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:40px;padding:20px}.missed-words-section h3{color:var(--text-primary);font-size:16px;margin-bottom:20px}.missed-words-list{align-items:center;display:flex;flex-direction:column;gap:12px}.missed-word{cursor:pointer;display:flex;gap:6px;transition:transform .2s ease}.missed-word.hidden{align-items:center;background:linear-gradient(135deg,#e67e5b,#d96a4a);border-radius:25px;box-shadow:0 6px 0 #d96a4a99,0 8px 16px #0003;display:flex;height:50px;justify-content:center;min-width:250px;padding:0 32px}.missed-word.hidden:hover{transform:scale(1.02)}.missed-word.hidden:active{box-shadow:0 2px 0 #d96a4a99,0 3px 8px #00000026;transform:scale(.98)}.spoiler-tap{color:#fff;font-size:14px;font-weight:600;letter-spacing:.5px}.missed-word.revealed{animation:revealWord .4s ease-out}.missed-word.revealed .letter-bubble{animation:popIn .3s ease-out backwards}.missed-word.revealed .letter-bubble:first-child{animation-delay:0s}.missed-word.revealed .letter-bubble:nth-child(2){animation-delay:.05s}.missed-word.revealed .letter-bubble:nth-child(3){animation-delay:.1s}.missed-word.revealed .letter-bubble:nth-child(4){animation-delay:.15s}@keyframes revealWord{0%{opacity:.5;transform:scale(.9)}50%{transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes popIn{0%{opacity:0;transform:scale(0) rotate(-10deg)}70%{transform:scale(1.1) rotate(3deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}.letter-bubble{align-items:center;background:linear-gradient(135deg,#e67e5b,#d96a4a);border-radius:50%;box-shadow:0 6px 0 #d96a4a99,0 8px 16px #0003;color:#fff;display:inline-flex;font-size:22px;font-weight:700;height:50px;justify-content:center;width:50px}.missed-words-count{color:var(--text-secondary);font-size:14px;margin-top:12px}.action-buttons{gap:16px;margin-bottom:20px}.action-buttons,.play-again-button{align-items:center;display:flex;justify-content:center}.play-again-button{background:linear-gradient(145deg,#10b981,#059669);border:none;border-radius:50px;box-shadow:0 4px 0 #047857,0 6px 16px #10b9814d;color:#fff;cursor:pointer;font-size:16px;font-weight:700;gap:10px;letter-spacing:1px;padding:16px 32px;transition:all .2s ease}.play-again-button:hover{box-shadow:0 6px 0 #047857,0 8px 20px #10b98166;transform:translateY(-2px)}.play-again-button:active{box-shadow:0 2px 0 #047857,0 4px 12px #10b9814d;transform:translateY(2px)}.menu-button{align-items:center;background:linear-gradient(145deg,#f3f4f6,#e5e7eb);border-radius:50px;box-shadow:0 4px 0 #d1d5db,0 6px 12px #0000001a;color:#6b7280;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;letter-spacing:1px;padding:14px 24px;transition:all .2s ease}.menu-button:hover{background:linear-gradient(145deg,#e5e7eb,#d1d5db);box-shadow:0 6px 0 #d1d5db,0 8px 16px #00000026;transform:translateY(-2px)}.menu-button:active{box-shadow:0 2px 0 #d1d5db,0 4px 8px #0000001a;transform:translateY(2px)}.save-button{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;box-shadow:0 6px 0 #0003,0 8px 16px #0003;color:#fff;cursor:pointer;display:flex;height:50px;justify-content:center;position:absolute;right:20px;top:20px;transition:all .2s;width:50px}.save-button:hover{transform:translateY(-2px)}.save-button:active{box-shadow:0 4px 0 #0003,0 6px 12px #0003;transform:translateY(2px)}.dictionary-hint{color:var(--text-secondary);font-size:12px;font-style:italic}@keyframes scorePopIn{0%{opacity:0;transform:scale(.5)}50%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@media (max-width:380px){.results-content{padding:20px 15px}.game-over-title{font-size:24px;margin-bottom:20px}.final-score .score-value{font-size:48px}.statistics-grid{gap:10px;grid-template-columns:repeat(3,1fr)}.stat-item{padding:12px}.stat-value{font-size:22px}.stat-label{font-size:10px}.missed-words-section{padding:15px}.letter-bubble{font-size:18px;height:40px;width:40px}.action-buttons{gap:15px}.primary-button,.secondary-button{height:65px;width:65px}}@media (max-height:700px){.results-content{padding:20px 15px}.game-over-title{font-size:24px;margin-bottom:20px}.final-score{margin-bottom:25px}.final-score .score-value{font-size:48px}.statistics-grid{gap:12px;margin-bottom:25px}.stat-item{padding:12px}.missed-words-section{margin-bottom:25px;padding:15px}}.menu-screen{align-items:center;background:var(--bg-primary);display:flex;justify-content:center;min-height:100vh;padding:20px}.menu-content{max-width:500px;text-align:center;width:100%}.logo-container{margin-bottom:40px}.letter-tiles{gap:8px;margin-bottom:8px}.letter-tiles,.logo-tile{display:flex;justify-content:center}.logo-tile{align-items:center;animation:tilePopIn .5s ease-out backwards;background:linear-gradient(145deg,#5b7bbd,#4a6aa8);border-radius:12px;box-shadow:0 4px 0 #3d5a8a,0 6px 12px #0003;color:#fff;font-size:36px;font-weight:800;height:64px;width:64px}.logo-tile:first-child{animation-delay:0s}.logo-tile:nth-child(2){animation-delay:.1s}.logo-tile:nth-child(3){animation-delay:.2s}.logo-tile:nth-child(4){animation-delay:.3s}.logo-subtitle{animation:fadeIn .5s ease-out .4s backwards;color:var(--text-secondary);font-size:32px;font-weight:300;letter-spacing:16px;text-indent:16px}@keyframes tilePopIn{0%{opacity:0;transform:scale(0) rotate(-20deg)}70%{transform:scale(1.1) rotate(3deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}.stats-row{align-items:stretch;gap:12px;margin-bottom:20px;width:100%}.high-score-display,.stats-row{display:flex;justify-content:center}.high-score-display{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;flex:1 1;flex-direction:column;gap:4px;padding:12px 24px}.high-score-label{color:var(--text-secondary);font-size:11px;font-weight:600;letter-spacing:.5px}.high-score-value{align-items:center;color:var(--word-valid);display:flex;font-size:28px;font-weight:700;height:28px;justify-content:center}.start-button{background:var(--word-valid);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:24px;font-weight:700;letter-spacing:2px;margin-bottom:20px;padding:20px 40px;transition:all .3s;width:100%}.start-button:hover{box-shadow:0 8px 20px #10b9814d;transform:translateY(-4px)}.start-button:active{transform:translateY(-2px)}.dictionary-button{align-items:center;background:#fff;border:none;border-radius:12px;box-shadow:0 2px 8px #0000001a;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;gap:4px;height:70px;justify-content:center;padding:12px;transition:all .3s;width:70px}.dictionary-button:hover{box-shadow:0 6px 16px #00000026;transform:translateY(-3px)}.dictionary-button:active{transform:translateY(-1px)}.dictionary-button .dict-icon{color:#5b7bbd;height:28px;width:28px}.dictionary-button .dict-progress{color:var(--text-secondary);font-size:11px;font-weight:600;letter-spacing:.5px}.tutorial-container{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000001a;padding:30px}.tutorial-title{color:var(--text-primary);font-size:18px;font-weight:600;margin:0 0 12px}.mode-indicator{display:flex;gap:24px;justify-content:center;margin-bottom:20px}.mode-label{color:#ccc;font-size:14px;font-weight:600;letter-spacing:1px;position:relative;text-transform:uppercase;transition:all .3s ease}.mode-label.active{color:var(--letter-button)}.mode-label.active:after{background:var(--letter-button);border-radius:1px;bottom:-4px;content:"";height:2px;left:0;position:absolute;right:0}.tutorial-demo{animation:fadeInDemo .3s ease-out;margin-bottom:24px;position:relative}@keyframes fadeInDemo{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.demo-circle{height:180px;margin:0 auto 20px;position:relative;width:180px}.demo-letter{align-items:center;animation:letterPulse 4s ease-in-out infinite;background:linear-gradient(145deg,#5b7bbd,#4a6aa8);border-radius:50%;box-shadow:0 3px 0 #3d5a8a,0 4px 8px #00000026;color:#fff;display:flex;font-size:22px;font-weight:700;height:48px;justify-content:center;position:absolute;width:48px}.demo-letter-top{animation-delay:0s;left:50%;top:0;transform:translateX(-50%)}.demo-letter-right{animation-delay:1s;right:0;top:50%;transform:translateY(-50%)}.demo-letter-bottom{animation-delay:2s;bottom:0;left:50%;transform:translateX(-50%)}.demo-letter-left{animation-delay:3s;left:0;top:50%;transform:translateY(-50%)}@keyframes letterPulse{0%,20%,to{box-shadow:0 3px 0 #3d5a8a,0 4px 8px #00000026;transform:translateX(-50%) scale(1)}10%{box-shadow:0 3px 0 #3d5a8a,0 6px 16px #5b7bbd66;transform:translateX(-50%) scale(1.15)}}.demo-letter-right{animation-name:letterPulseRight}@keyframes letterPulseRight{0%,20%,to{transform:translateY(-50%) scale(1)}10%{transform:translateY(-50%) scale(1.15)}}.demo-letter-left{animation-name:letterPulseLeft}@keyframes letterPulseLeft{0%,20%,to{transform:translateY(-50%) scale(1)}10%{transform:translateY(-50%) scale(1.15)}}.demo-letter-bottom{animation-name:letterPulseBottom}@keyframes letterPulseBottom{0%,20%,to{transform:translateX(-50%) scale(1)}10%{transform:translateX(-50%) scale(1.15)}}.swipe-path{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.swipe-line{stroke:var(--word-valid);stroke-dasharray:500;stroke-dashoffset:500;animation:drawLine 4s ease-in-out infinite}@keyframes drawLine{0%,5%{stroke-dashoffset:500;opacity:0}10%{opacity:1}50%{stroke-dashoffset:0;opacity:1}60%,to{stroke-dashoffset:0;opacity:0}}.swipe-dot{fill:var(--word-valid);animation:moveDot 4s ease-in-out infinite}@keyframes moveDot{0%,5%{opacity:0}10%{offset-distance:0;offset-path:path("M 100 30 L 170 100 L 100 170 L 30 100");opacity:1}50%{offset-distance:100%;offset-path:path("M 100 30 L 170 100 L 100 170 L 30 100");opacity:1}55%,to{offset-distance:100%;opacity:0}}.demo-word-formation{gap:8px;margin-bottom:12px}.demo-slot,.demo-word-formation{display:flex;justify-content:center}.demo-slot{align-items:center;animation:slotFill 4s ease-out infinite;border:2px dashed #ddd;border-radius:8px;color:var(--text-primary);font-size:24px;font-weight:700;height:48px;opacity:0;width:40px}.demo-slot-1{animation-delay:.4s}.demo-slot-2{animation-delay:1.4s}.demo-slot-3{animation-delay:2.4s}.demo-slot-4{animation-delay:3.4s}@keyframes slotFill{0%,5%{background:#0000;border-color:#ddd;opacity:0}15%,55%{background:#5b7bbd1a;border-color:var(--letter-button);opacity:1}65%,to{background:#0000;opacity:0}}.demo-checkmark{animation:checkmarkPop 4s ease-out infinite;animation-delay:3.6s;color:var(--word-valid);font-size:32px;opacity:0}@keyframes checkmarkPop{0%,5%{opacity:0;transform:scale(0)}15%{opacity:1;transform:scale(1.2)}25%,35%{opacity:1;transform:scale(1)}50%,to{opacity:0;transform:scale(1)}}.tutorial-tips{display:flex;flex-direction:column;gap:12px}.tip{align-items:center;color:var(--text-secondary);display:flex;font-size:14px;gap:10px;justify-content:center}.tip-icon{font-size:18px}.tap-ring{animation:tapRipple 4s ease-out infinite;border:2px solid var(--word-valid);border-radius:50%;height:60px;opacity:0;position:absolute;width:60px}.tap-ring-1{animation-delay:.2s;left:50%;top:-6px;transform:translateX(-50%)}.tap-ring-2{animation-delay:1.2s;right:-6px;top:50%;transform:translateY(-50%)}.tap-ring-3{animation-delay:2.2s;bottom:-6px;left:50%;transform:translateX(-50%)}.tap-ring-4{animation-delay:3.2s;left:-6px;top:50%;transform:translateY(-50%)}@keyframes tapRipple{0%{opacity:0;transform:translateX(-50%) scale(.5)}10%{opacity:1;transform:translateX(-50%) scale(1)}30%,to{opacity:0;transform:translateX(-50%) scale(1.3)}}.tap-ring-2,.tap-ring-4{animation-name:tapRippleY}@keyframes tapRippleY{0%{opacity:0;transform:translateY(-50%) scale(.5)}10%{opacity:1;transform:translateY(-50%) scale(1)}30%,to{opacity:0;transform:translateY(-50%) scale(1.3)}}.demo-letter.tap-mode{animation:tapLetterPulse 4s ease-in-out infinite}.demo-letter-top.tap-mode{animation-delay:.2s}.demo-letter-right.tap-mode{animation-delay:1.2s;animation-name:tapLetterPulseY}.demo-letter-bottom.tap-mode{animation-delay:2.2s}.demo-letter-left.tap-mode{animation-delay:3.2s;animation-name:tapLetterPulseY}@keyframes tapLetterPulse{0%,5%{transform:translateX(-50%) scale(1)}10%{transform:translateX(-50%) scale(.9)}15%,to{transform:translateX(-50%) scale(1)}}@keyframes tapLetterPulseY{0%,5%{transform:translateY(-50%) scale(1)}10%{transform:translateY(-50%) scale(.9)}15%,to{transform:translateY(-50%) scale(1)}}.keyboard-demo{gap:6px;margin-bottom:16px}.key,.keyboard-demo{display:flex;justify-content:center}.key{align-items:center;animation:keyPress 4s ease-out infinite;background:linear-gradient(180deg,#f5f5f5,#e0e0e0);border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 0 #bbb,0 3px 6px #0000001a;color:var(--text-primary);font-size:16px;font-weight:600;height:40px;opacity:.5;width:36px}.key-1{animation-delay:.3s}.key-2{animation-delay:1.3s}.key-3{animation-delay:2.3s}.key-4{animation-delay:3.3s}@keyframes keyPress{0%,5%{box-shadow:0 2px 0 #bbb,0 3px 6px #0000001a;opacity:.5;transform:translateY(0)}10%{background:linear-gradient(180deg,#e8e8e8,#d5d5d5);box-shadow:0 0 0 #bbb,0 1px 3px #0000001a;opacity:1;transform:translateY(2px)}20%,to{box-shadow:0 2px 0 #bbb,0 3px 6px #0000001a;opacity:.5;transform:translateY(0)}}@media (max-width:380px){.menu-screen{padding:15px}.logo-tile{font-size:28px;height:50px;width:50px}.logo-subtitle{font-size:24px;letter-spacing:10px;text-indent:10px}.high-score-display{padding:15px}.high-score-value{font-size:28px}.start-button{font-size:20px;margin-bottom:25px;padding:16px 30px}.tutorial-container{padding:20px}.demo-circle{height:140px;width:140px}.demo-letter{font-size:18px;height:38px;width:38px}}@media (max-height:700px){.logo-container{margin-bottom:20px}.logo-tile{font-size:28px;height:50px;width:50px}.logo-subtitle{font-size:22px;letter-spacing:10px}.high-score-display{margin-bottom:0}.high-score-value{font-size:28px}.start-button{font-size:18px;margin-bottom:20px;padding:14px 28px}.tutorial-container{padding:15px}}.pause-overlay{align-items:center;animation:fadeIn .2s ease-out;background:#000000d9;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.pause-menu{animation:slideUp .3s ease-out;background:var(--background);border-radius:24px;box-shadow:0 16px 48px #0003;min-width:280px;padding:40px;text-align:center}.pause-title{color:var(--text-primary);font-size:28px;font-weight:700;letter-spacing:3px;margin:0 0 24px}.pause-score{align-items:center;background:linear-gradient(135deg,#5b7ce626,#4a63d91a);border-radius:12px;display:flex;flex-direction:column;margin-bottom:32px;padding:16px 24px}.pause-score-label{color:var(--accent-primary);font-size:12px;font-weight:600;letter-spacing:1px;margin-bottom:4px;text-transform:uppercase}.pause-score-value{color:var(--accent-primary);font-size:36px;font-weight:700}.pause-buttons{display:flex;flex-direction:column;gap:12px}.pause-button{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:10px;justify-content:center;padding:16px 24px;transition:all .2s ease;width:100%}.button-icon{font-size:18px}.resume-button{background:var(--accent-primary);color:#fff}.resume-button:hover{background:var(--accent-secondary);transform:scale(1.02)}.restart-button{background:#4a6fa526;color:var(--text-primary)}.restart-button:hover{background:#4a6fa540;transform:scale(1.02)}.menu-button{background:#4a6fa51a;border:none;color:var(--text-secondary);outline:none}.menu-button:hover{background:#4a6fa533;border:none;color:var(--text-primary);transform:scale(1.02)}.pause-button:active{transform:scale(.98)}@media (max-width:380px){.pause-menu{margin:0 15px;min-width:250px;padding:30px 25px}.pause-title{font-size:24px;margin-bottom:18px}.pause-score{margin-bottom:24px;padding:12px 18px}.pause-score-value{font-size:30px}.pause-button{font-size:15px;padding:14px 20px}}@media (max-height:600px){.pause-menu{padding:25px 20px}.pause-title{font-size:22px;margin-bottom:15px}.pause-score{margin-bottom:20px;padding:10px 16px}.pause-score-value{font-size:28px}.pause-button{font-size:14px;padding:12px 18px}}.dictionary-screen{background:#e8e0d5;background:var(--bg-primary,#e8e0d5);display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;min-height:100vh;min-height:100dvh;padding:1rem}.dictionary-header{align-items:center;display:flex;justify-content:space-between;padding:.75rem 0}.dictionary-header,.dictionary-header h1{color:#5a6c7d;color:var(--text-primary,#5a6c7d)}.dictionary-header h1{font-size:1.5rem;font-weight:300;letter-spacing:.15em;margin:0;text-transform:uppercase}.dictionary-header .progress{text-align:right}.dictionary-header .progress .label{color:#8b9aa8;color:var(--text-secondary,#8b9aa8);display:block;font-size:.6rem;font-weight:500;letter-spacing:.1em}.dictionary-header .progress .count{font-size:1.1rem;font-weight:600}.back-btn,.dictionary-header .progress .count{color:#5a6c7d;color:var(--text-primary,#5a6c7d)}.back-btn{align-items:center;background:#fff;border:none;border-radius:50%;box-shadow:0 2px 8px #0000001a;cursor:pointer;display:flex;font-size:1.3rem;height:44px;justify-content:center;transition:all .2s;width:44px}.back-btn:hover{background:#f5f5f5;box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.filter-tabs{gap:.75rem;padding:1rem 0}.filter-tabs,.filter-tabs .tab{display:flex;justify-content:center}.filter-tabs .tab{align-items:center;background:#0000;border:2px solid #8b9aa8;border:2px solid var(--text-secondary,#8b9aa8);border-radius:50%;color:#8b9aa8;color:var(--text-secondary,#8b9aa8);cursor:pointer;height:52px;transition:all .2s;width:52px}.filter-tabs .tab .tab-icon{font-size:1.1rem;font-weight:700;line-height:1}.filter-tabs .tab:hover{background:#5b7ce61a;border-color:#5b7ce6;border-color:var(--letter-blue,#5b7ce6);color:#5b7ce6;color:var(--letter-blue,#5b7ce6);transform:scale(1.05)}.filter-tabs .tab.active{background:linear-gradient(145deg,#5b7bbd,#4a6aa8);border-color:#0000;box-shadow:0 3px 10px #5b7bbd66;color:#fff}.word-grid{grid-gap:.75rem;align-content:start;display:grid;flex:1 1;gap:.75rem;grid-template-columns:repeat(3,minmax(80px,110px));justify-content:center;overflow-y:auto;padding:.75rem 0}.word-grid .empty-state{color:#8b9aa8;color:var(--text-secondary,#8b9aa8);font-size:.95rem;grid-column:1/-1;padding:2rem;text-align:center}.word-button-container{align-items:center;display:flex;flex-direction:column}.word-button{align-items:center;aspect-ratio:1;background:#0000;border:none;border-radius:50%;cursor:pointer;display:flex;justify-content:center;padding:0;position:relative;transition:transform .15s,box-shadow .15s;width:100%}.word-button .button-outer-ring{border-radius:50%;inset:0;pointer-events:none;position:absolute}.word-button .button-inner-face{align-items:center;border-radius:50%;display:flex;flex-direction:column;gap:0;height:100%;justify-content:center;position:relative;width:100%;z-index:1}.word-button.unlocked .button-outer-ring{background:#0000;box-shadow:none}.word-button.unlocked .button-inner-face{background:#d5ccc0;box-shadow:0 2px 8px #0000001a}.word-button.unlocked:hover{transform:scale(1.05)}.word-button.unlocked:hover .button-outer-ring{box-shadow:none}.word-button.unlocked:hover .button-inner-face{box-shadow:0 4px 12px #00000026}.word-button.unlocked:active{transform:scale(.98)}.word-button.unlocked:active .button-outer-ring{box-shadow:none}.word-button.locked{cursor:default}.word-button.locked .button-outer-ring{background:#0000;box-shadow:none}.word-button.locked .button-inner-face{background:#e8e0d5;border:2px dashed #c9c0b5;box-shadow:inset 0 2px 4px #00000014}.word-button .word-text{color:#5a6c7d;color:var(--text-primary,#5a6c7d);font-size:clamp(.85rem,4vw,1.2rem);font-weight:700;letter-spacing:.08em;margin-top:-5%;text-transform:uppercase}.word-button .locked-text{color:#c9c0b5;font-family:monospace;font-size:clamp(.5rem,2.2vw,.75rem);letter-spacing:.1em}.word-button .anagram-dots{bottom:22%;display:flex;gap:8px;justify-content:center;left:50%;position:absolute;transform:translateX(-50%)}.word-button .anagram-dots .dot{border-radius:50%;flex-shrink:0;height:7px;transition:background .2s,border-color .2s;width:7px}.word-button .anagram-dots .dot.filled{background:#5a6c7d;background:var(--text-primary,#5a6c7d)}.word-button .anagram-dots .dot.empty{background:#0000;border:2px solid #5a6c7d99;box-sizing:border-box}.word-button .new-badge{background:linear-gradient(145deg,#ef4444,#dc2626);border:2.5px solid #e8e0d5;border-radius:50%;box-shadow:0 2px 6px #ef444480,0 1px 2px #0003;color:#fff;font-size:.9rem;font-weight:800;height:22%;max-height:28px;max-width:28px;min-height:20px;min-width:20px;position:absolute;right:2%;top:2%;width:22%;z-index:10}.pagination,.word-button .new-badge{align-items:center;display:flex;justify-content:center}.pagination{gap:.75rem;margin-top:auto;padding:.75rem 0}.pagination .page-btn{align-items:center;background:#0000;border:2px solid #8b9aa8;border:2px solid var(--text-secondary,#8b9aa8);border-radius:50%;color:#8b9aa8;color:var(--text-secondary,#8b9aa8);cursor:pointer;display:flex;font-size:1.4rem;font-weight:600;height:44px;justify-content:center;transition:all .2s;width:44px}.pagination .page-btn:hover:not(:disabled){background:#5b7ce61a;border-color:#5b7ce6;border-color:var(--letter-blue,#5b7ce6);color:#5b7ce6;color:var(--letter-blue,#5b7ce6);transform:scale(1.05)}.pagination .page-btn:active:not(:disabled){background:linear-gradient(145deg,#5b7bbd,#4a6aa8);border-color:#0000;color:#fff}.pagination .page-btn:disabled{cursor:default;opacity:.35}.pagination .page-indicator{color:#5a6c7d;color:var(--text-primary,#5a6c7d);font-size:.95rem;font-weight:600;min-width:50px;text-align:center}.pagination .abc-jump{align-items:center;background:#0000;border:2px solid #8b9aa8;border:2px solid var(--text-secondary,#8b9aa8);border-radius:50%;color:#8b9aa8;color:var(--text-secondary,#8b9aa8);cursor:pointer;display:flex;font-size:.65rem;font-weight:700;height:44px;justify-content:center;letter-spacing:.02em;transition:all .2s;width:44px}.pagination .abc-jump:hover{background:#5b7ce61a;border-color:#5b7ce6;border-color:var(--letter-blue,#5b7ce6);color:#5b7ce6;color:var(--letter-blue,#5b7ce6);transform:scale(1.05)}.alphabet-picker-overlay{align-items:flex-end;animation:fadeIn .2s ease-out;background:#00000080;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:50}.alphabet-picker{animation:slideUpPicker .25s ease-out;background:#e8e0d5;border-radius:1.5rem 1.5rem 0 0;box-shadow:0 -4px 20px #00000026;max-width:400px;padding:1.5rem;width:100%}@keyframes slideUpPicker{0%{transform:translateY(100%)}to{transform:translateY(0)}}.alphabet-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(7,1fr)}.alphabet-btn{aspect-ratio:1;background:#0000;border:2px solid #8b9aa8;border:2px solid var(--text-secondary,#8b9aa8);border-radius:50%;color:#8b9aa8;color:var(--text-secondary,#8b9aa8);cursor:pointer;font-size:.9rem;font-weight:700;transition:all .2s}.alphabet-btn:hover:not(:disabled){background:#5b7ce61a;border-color:#5b7ce6;border-color:var(--letter-blue,#5b7ce6);color:#5b7ce6;color:var(--letter-blue,#5b7ce6);transform:scale(1.1)}.alphabet-btn:active:not(:disabled){background:linear-gradient(145deg,#5b7bbd,#4a6aa8);border-color:#0000;color:#fff}.alphabet-btn.disabled,.alphabet-btn:disabled{background:#0000;border:2px dashed #c9c0b5;color:#c9c0b5;cursor:default}.modal-overlay{align-items:center;animation:fadeIn .2s ease-out;background:#0009;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:100}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.word-detail-modal{animation:slideUp .25s ease-out;background:#e8e0d5;border-radius:1.5rem;box-shadow:0 20px 40px #0000004d;margin:2rem;max-height:85vh;max-width:90%;overflow:visible;padding:2.5rem 1.75rem 1.75rem;position:relative;width:360px}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.word-detail-modal .close-btn{align-items:center;background:linear-gradient(145deg,#ef4444,#dc2626);border:3px solid #e8e0d5;border-radius:50%;box-shadow:0 4px 12px #00000040,0 2px 6px #ef444466;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:700;height:36px;justify-content:center;position:absolute;right:-12px;top:-12px;transition:transform .15s,background .15s;width:36px;z-index:110}.word-detail-modal .close-btn:hover{background:#dc2626;transform:scale(1.05)}.word-detail-modal .word-title{color:#2d2d2d;font-size:2rem;font-weight:700;letter-spacing:.05em;margin:0 0 1rem}.word-detail-modal .language-badge{align-items:center;background:linear-gradient(145deg,#5b7bbd,#4a6aa8);border-radius:1rem;display:inline-flex;gap:.25rem;margin-bottom:1.25rem;padding:.35rem .75rem}.word-detail-modal .language-badge .lang-code{color:#fff;font-size:.8rem;font-weight:600;letter-spacing:.03em}.word-detail-modal .definition-section{min-height:80px}.word-detail-modal .loading-container{align-items:center;display:flex;flex-direction:column;gap:.5rem}.word-detail-modal .loading-spinner{animation:spin .8s linear infinite;border:3px solid #c9c0b5;border-radius:50%;border-top-color:#5b7bbd;height:24px;width:24px}@keyframes spin{to{transform:rotate(1turn)}}.word-detail-modal .loading{color:#7a7a7a;font-style:italic;margin:0}.word-detail-modal .definition{color:#3d3d3d;font-size:1rem;line-height:1.5;margin:0 0 .75rem}.word-detail-modal .example{color:#6b6b6b;font-size:.95rem;line-height:1.5;margin:0}.word-detail-modal .example em{font-style:italic}.word-detail-modal .divider{border:none;border-top:1px solid #d4ccc3;margin:1.25rem 0}.word-detail-modal .related-words .related-label{color:#6b6b6b;font-size:.85rem;margin:0 0 .75rem}.word-detail-modal .anagram-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.word-detail-modal .anagram-btn{border-radius:2rem;font-size:.75rem;font-weight:700;letter-spacing:.05em;padding:.65rem 1rem;transition:transform .15s}.word-detail-modal .anagram-btn.unlocked{background:linear-gradient(145deg,#5b7bbd,#4a6aa8);border:none;box-shadow:0 2px 0 #3d5a8a,0 3px 8px #5b7bbd4d;color:#fff;cursor:pointer}.word-detail-modal .anagram-btn.unlocked:hover{transform:scale(1.05)}.word-detail-modal .anagram-btn.locked{background:#0000;border:2px solid #c9c0b5;color:#a0a0a0;cursor:default}.word-detail-modal .no-anagrams{color:#9a9a9a;font-size:.85rem;font-style:italic;margin:0}.word-detail-modal::-webkit-scrollbar,.word-grid::-webkit-scrollbar{width:6px}.word-detail-modal::-webkit-scrollbar-track,.word-grid::-webkit-scrollbar-track{background:#ffffff1a;border-radius:3px}.word-grid::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:3px}.word-detail-modal::-webkit-scrollbar-thumb{background:#c9c0b5;border-radius:3px}.dictionary-screen.desktop-view{margin:0 auto;max-width:1400px;padding:1.5rem 2rem}.dictionary-screen.desktop-view .dictionary-header{padding:1rem 0 1.5rem}.dictionary-screen.desktop-view .dictionary-header h1{font-size:2rem}.dictionary-screen.desktop-view .dictionary-header .progress .label{font-size:.7rem}.dictionary-screen.desktop-view .dictionary-header .progress .count{font-size:1.3rem}.dictionary-content{display:flex;flex:1 1;gap:1.5rem;min-height:0;overflow:hidden}.alphabet-sidebar{background:#fff;border-radius:1rem;box-shadow:0 2px 12px #00000014;display:flex;flex-direction:column;flex-shrink:0;gap:.25rem;height:-webkit-fit-content;height:fit-content;padding:.5rem;position:-webkit-sticky;position:sticky;top:1rem}.sidebar-letter{align-items:center;background:#0000;border:none;border-radius:.5rem;color:#5a6c7d;color:var(--text-primary,#5a6c7d);cursor:pointer;display:flex;font-size:.8rem;font-weight:600;height:28px;justify-content:center;transition:all .15s;width:36px}.sidebar-letter:hover:not(:disabled){background:linear-gradient(145deg,#5b7bbd,#4a6aa8);color:#fff;transform:scale(1.1)}.sidebar-letter.disabled,.sidebar-letter:disabled{color:#c9c0b5;cursor:default}.dictionary-screen.desktop-view .word-grid{grid-gap:1.25rem;align-content:start;display:grid;flex:1 1;gap:1.25rem;grid-template-columns:repeat(6,1fr);overflow-y:auto;padding:.5rem}.dictionary-screen.desktop-view .word-button{margin:0 auto;max-width:120px}.dictionary-screen.desktop-view .word-button .word-text{font-size:.9rem}.dictionary-screen.desktop-view .pagination{margin:1rem auto 0;max-width:400px}@media (min-width:1024px){.dictionary-screen.desktop-view .word-grid{grid-template-columns:repeat(6,1fr)}}@media (min-width:1440px){.dictionary-screen.desktop-view{max-width:1600px}.dictionary-screen.desktop-view .word-grid{gap:1.5rem;grid-template-columns:repeat(7,1fr)}.dictionary-screen.desktop-view .word-button{max-width:130px}.sidebar-letter{font-size:.85rem;height:32px;width:40px}}@media (min-width:768px) and (max-width:1023px){.dictionary-screen.desktop-view .word-grid{gap:1rem;grid-template-columns:repeat(5,1fr)}.dictionary-screen.desktop-view .word-button{max-width:100px}.sidebar-letter{font-size:.75rem;height:26px;width:32px}}.dictionary-screen:not(.desktop-view) .dictionary-content{display:contents}.dictionary-screen:not(.desktop-view) .alphabet-sidebar{display:none}@media (min-width:769px){.dictionary-screen:not(.desktop-view){margin:0 auto;max-width:600px;padding:1.5rem 2rem}.dictionary-screen:not(.desktop-view) .word-grid{gap:1rem}.dictionary-screen:not(.desktop-view) .word-button{font-size:.85rem}}@media (max-width:768px) and (min-width:481px){.dictionary-screen{padding:1rem}.dictionary-header h1{font-size:1.3rem}.filter-tabs .tab{padding:.5rem 1rem}.word-grid{gap:.65rem}.word-button{font-size:.7rem}}@media (max-width:480px){.dictionary-screen{max-height:100vh;max-height:100dvh;min-height:100vh;min-height:100dvh;overflow:hidden;padding:.75rem}.dictionary-header{padding:.5rem 0}.dictionary-header h1{font-size:1.1rem;letter-spacing:.1em}.dictionary-header .progress .label{font-size:.5rem}.dictionary-header .progress .count{font-size:.95rem}.back-btn{font-size:1.1rem;height:38px;width:38px}.filter-tabs{gap:.35rem;padding:.5rem 0}.filter-tabs .tab{padding:.4rem .8rem}.filter-tabs .tab .tab-icon{font-size:.85rem}.filter-tabs .tab .tab-label{font-size:.5rem}.word-grid{align-content:start;flex:1 1;gap:.5rem;overflow:hidden;padding:.5rem 0}.word-button{font-size:.65rem}.word-button .new-badge{border-width:2px;font-size:.7rem;height:18px;min-height:18px;min-width:18px;right:0;top:0;width:18px}.anagram-dots{gap:5px}.anagram-dots .dot{height:6px;width:6px}.pagination{gap:.5rem;margin-top:.5rem;padding:.5rem .75rem}.pagination .page-btn{font-size:1.1rem;height:32px;width:32px}.pagination .page-indicator{font-size:.75rem}.pagination .alphabet-btn{font-size:.65rem;padding:.35rem .6rem}}@media (max-width:360px){.dictionary-screen{padding:.5rem}.dictionary-header h1{font-size:1rem}.filter-tabs .tab{padding:.35rem .6rem}.word-grid{gap:.4rem}.word-button{font-size:.6rem}.word-detail-modal{padding:1.25rem}.word-detail-modal .word-title{font-size:1.75rem}}@media (max-height:650px){.dictionary-header{padding:.25rem 0}.filter-tabs{padding:.35rem 0}.word-grid{gap:.4rem;padding:.25rem 0}.word-button-container{gap:3px}.pagination{margin-top:.25rem;padding:.4rem .5rem}}@media (min-width:768px){.dictionary-screen:not(.desktop-view){margin:0 auto;max-width:600px;padding:1.5rem}.dictionary-screen:not(.desktop-view) .word-grid{gap:1rem}.dictionary-screen:not(.desktop-view) .word-button{font-size:.85rem}.word-detail-modal{max-width:450px;padding:2rem;width:450px}.word-detail-modal .word-title{font-size:2.25rem}.word-detail-modal .definition{font-size:1.05rem;line-height:1.6}}
/*# sourceMappingURL=main.4325bd21.css.map*/