.ad-container{display:flex;justify-content:center;align-items:center;margin:.5rem auto}.ad-top-banner{width:100%;max-width:100%;min-height:90px}.ad-side-rail{width:300px;min-height:600px}.ad-between-games{max-width:300px;min-height:250px}.ad-placeholder{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border:2px dashed #d1d5db;border-radius:8px;display:flex;align-items:center;justify-content:center;margin:1rem auto;padding:1rem}.ad-placeholder.ad-top-banner{width:100%;max-width:100%;min-height:90px}.ad-placeholder.ad-side-rail{width:300px;min-height:600px}.ad-placeholder.ad-between-games{max-width:300px;min-height:250px}.ad-placeholder-content{text-align:center;color:#9ca3af}.ad-placeholder-icon{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.ad-placeholder-text{font-size:.875rem;text-transform:capitalize;margin-bottom:.25rem}.ad-placeholder-size{font-size:.75rem;opacity:.7}.desktop-only{display:none}@media(min-width:1024px){.desktop-only{display:flex}}@media(max-width:768px){.ad-top-banner,.ad-placeholder.ad-top-banner{max-width:320px;min-height:50px}}.app-layout{min-height:100vh;display:flex;flex-direction:column}.layout-content-wrapper{display:flex;flex:1;max-width:100%;margin:0 auto;justify-content:center;gap:1rem}.layout-sidebar{display:none}.layout-main-content{flex:1;width:100%;max-width:1200px}@media(min-width:1600px){.layout-content-wrapper{max-width:1600px}.layout-sidebar{display:flex;position:sticky;top:1rem;align-self:flex-start;padding:0;flex-shrink:0}.layout-main-content{max-width:1200px}}.app-footer{background:#f5f5f5;border-top:1px solid #e0e0e0;margin-top:3rem;padding:2rem 1rem 1rem}.footer-content{max-width:1200px;margin:0 auto;text-align:center}.footer-links{display:flex;justify-content:center;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.footer-links a{color:#667eea;text-decoration:none;font-size:14px;transition:color .2s}.footer-links a:hover{color:#5568d3;text-decoration:underline}.footer-separator{color:#999;font-size:14px}.footer-copyright{color:#666;font-size:13px;margin-top:.5rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:600;border:none;border-radius:.625rem;cursor:pointer;transition:all .2s ease;font-family:inherit;box-shadow:0 2px 8px #00000026}.button:hover:not(.button-disabled){transform:translateY(-1px);box-shadow:0 4px 12px #0003}.button:active:not(.button-disabled){transform:translateY(0)}.button-disabled{opacity:.5;cursor:not-allowed}.button-small{padding:.5rem 1rem;font-size:.875rem}.button-medium{padding:.75rem 1.5rem;font-size:1rem}.button-large{padding:1rem 2rem;font-size:1.125rem}.button-full-width{width:100%}.button-primary{background:linear-gradient(135deg,#4a90e2,#5b7fc7);color:#fff}.button-primary:hover:not(.button-disabled){background:linear-gradient(135deg,#357ac1,#4a6ba6)}.button-secondary{background:linear-gradient(135deg,#6c7a89,#5a6674);color:#fff}.button-secondary:hover:not(.button-disabled){background:linear-gradient(135deg,#5a6674,#4a545f)}.button-success{background:linear-gradient(135deg,#6aaa64,#57a051);color:#fff}.button-success:hover:not(.button-disabled){background:linear-gradient(135deg,#57a051,#458a3e)}.button-danger{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff}.button-danger:hover:not(.button-disabled){background:linear-gradient(135deg,#c0392b,#a02b1f)}.button-ghost{background:#ffffff1a;color:#ffffffe6;border:2px solid rgba(255,255,255,.2)}.button-ghost:hover:not(.button-disabled){background:#fff3;border-color:#ffffff4d}.button-icon{display:inline-flex;align-items:center;font-size:1.25em}.button-text{display:inline-flex;align-items:center}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.cookie-consent-banner{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:2px solid #e0e0e0;box-shadow:0 -4px 12px #00000026;z-index:10000;animation:slideUp .3s ease-out}.cookie-consent-content{max-width:1200px;margin:0 auto;padding:24px;display:flex;gap:24px;align-items:flex-start}.cookie-consent-text{flex:1}.cookie-consent-title{margin:0 0 8px;font-size:18px;font-weight:600;color:#333}.cookie-consent-description{margin:0 0 12px;font-size:14px;line-height:1.5;color:#555}.cookie-consent-details{margin:16px 0;padding:16px;background:#f9f9f9;border-radius:8px;border:1px solid #e0e0e0}.cookie-consent-detail-section{margin-bottom:12px}.cookie-consent-detail-section:last-child{margin-bottom:0}.cookie-consent-detail-title{font-size:14px;font-weight:600;color:#333;margin-bottom:4px}.cookie-consent-detail-text{font-size:13px;color:#666;line-height:1.4}.cookie-consent-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cookie-consent-link{font-size:13px;color:#667eea;text-decoration:none}.cookie-consent-link:hover{text-decoration:underline}.cookie-consent-separator{color:#999;font-size:13px}.cookie-consent-buttons{display:flex;flex-direction:column;gap:8px;min-width:180px}.cookie-consent-secondary-button{background:#fff;color:#667eea;border:2px solid #667eea;padding:12px 24px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s}.cookie-consent-secondary-button:hover{background:#f5f5f5}.cookie-consent-text-button{background:none;border:none;color:#667eea;font-size:14px;font-weight:500;cursor:pointer;padding:8px;text-decoration:underline}.cookie-consent-text-button:hover{color:#5568d3}@media(max-width:768px){.cookie-consent-banner{max-height:90vh;overflow-y:auto}.cookie-consent-content{flex-direction:column;padding:20px}.cookie-consent-buttons{width:100%;min-width:unset}}.error-boundary{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1.5rem;background:var(--color-background, linear-gradient(135deg, #667eea 0%, #764ba2 100%))}.error-boundary-content{max-width:28rem;padding:2rem;background:#ffffff1a;border-radius:1rem;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.error-boundary-title{margin:0 0 1rem;font-size:1.5rem;font-weight:700;color:#fff}.error-boundary-message{margin:0 0 1.5rem;font-size:1rem;color:#fffc;line-height:1.5}.error-boundary-details{margin-bottom:1.5rem;text-align:left}.error-boundary-details summary{cursor:pointer;color:#ffffffb3;font-size:.875rem}.error-boundary-details pre{margin-top:.5rem;padding:.75rem;background:#0003;border-radius:.5rem;color:#ffffffe6;font-size:.75rem;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.error-boundary-actions{display:flex;justify-content:center;gap:1rem}.pattern-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;opacity:.3}.pattern-stripes{background-image:repeating-linear-gradient(45deg,transparent,transparent 3px,rgba(255,255,255,.8) 3px,rgba(255,255,255,.8) 6px)}.pattern-dots{background-image:radial-gradient(circle,rgba(255,255,255,.8) 25%,transparent 25%);background-size:8px 8px}.pattern-cross{background-image:linear-gradient(90deg,transparent 45%,rgba(255,255,255,.8) 45%,rgba(255,255,255,.8) 55%,transparent 55%),linear-gradient(0deg,transparent 45%,rgba(255,255,255,.8) 45%,rgba(255,255,255,.8) 55%,transparent 55%);background-size:8px 8px}.letter-box{display:inline-flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase;border:2px solid #d3d6da;border-radius:var(--border-radius-sm);transition:all var(--transition-normal);-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.letter-box.revealed{border-color:transparent;box-shadow:var(--shadow-sm)}@media(prefers-reduced-motion:reduce){.letter-box{transition:none}}.guess-grid{display:flex;flex-direction:column;gap:4px;padding:0;justify-content:center;align-items:center}.guess-row{display:flex;gap:4px}@media(max-width:768px){.guess-grid{gap:3px;padding:0}.guess-row{gap:3px}}.keyboard{display:flex;flex-direction:column;gap:6px;padding:.25rem;max-width:500px;margin:0 auto}.keyboard-row{display:flex;gap:6px;justify-content:center}.key-button{min-width:43px;height:58px;font-size:16px;font-weight:700;border-radius:var(--border-radius-sm);transition:all var(--transition-fast);text-transform:uppercase;box-shadow:var(--shadow-sm)}.key-button:hover:not(:disabled){transform:scale(1.05);box-shadow:var(--shadow-md)}.key-button:active:not(:disabled){transform:scale(.95)}.key-button-special{min-width:65px;font-size:20px}@media(max-width:768px){.keyboard{gap:6px}.keyboard-row{gap:4px}.key-button{min-width:32px;height:48px;font-size:14px}.key-button-special{min-width:50px;font-size:16px}}.navigation{position:fixed;bottom:0;left:0;right:0;background:#1e1e32f2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid rgba(255,255,255,.1);z-index:1000;box-shadow:0 -4px 20px #0000004d}.navigation-container{display:flex;justify-content:space-around;align-items:center;max-width:600px;margin:0 auto;padding:.5rem 1rem}.nav-item{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem 1rem;border-radius:.5rem;text-decoration:none;color:#fff9;transition:all .2s ease;cursor:pointer;min-width:60px}.nav-item:hover{color:#ffffffe6;background:#ffffff1a}.nav-item-active{color:#fff;background:#4a90e24d}.nav-icon{font-size:1.5rem;line-height:1}.nav-label{font-size:.75rem;font-weight:500;text-align:center}@media(min-width:768px){.navigation{position:static;background:transparent;border:none;box-shadow:none;margin-bottom:1rem}.navigation-container{justify-content:center;gap:1rem;padding:1rem}.nav-item{flex-direction:row;gap:.5rem;padding:.75rem 1.5rem}.nav-icon{font-size:1.25rem}.nav-label{font-size:1rem}}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#667eea26,#764ba226),#000000b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #667eea1a;max-height:90vh;overflow-y:auto;position:relative}.modal-small{width:100%;max-width:400px}.modal-medium{width:100%;max-width:600px}.modal-large{width:100%;max-width:800px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.75rem 2rem;border-bottom:1px solid #e5e7eb;background:linear-gradient(to bottom,#fafafa,#fff)}.modal-title{margin:0;font-size:1.75rem;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em}.modal-close{background:none;border:none;font-size:1.75rem;cursor:pointer;color:#9ca3af;line-height:1;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.modal-close:hover{background:linear-gradient(135deg,#667eea15,#764ba215);color:#667eea;transform:scale(1.05)}.modal-body{padding:2rem}@media(max-width:640px){.modal-overlay{padding:.5rem}.modal-content{max-height:95vh;border-radius:16px}.modal-header{padding:1.25rem 1.5rem}.modal-title{font-size:1.5rem}.modal-body{padding:1.5rem}.modal-close{width:32px;height:32px;font-size:1.5rem}}.game-settings-modal{display:flex;flex-direction:column;gap:1.5rem}.setting-group{display:flex;flex-direction:column;gap:.75rem}.setting-label{font-size:1rem;font-weight:600;color:#1f2937}.setting-options{display:flex;gap:.5rem;flex-wrap:wrap}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem}.setting-option{padding:.75rem 1rem;border:2px solid #d1d5db;border-radius:8px;background:#fff;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s;text-align:center}.setting-option:hover{border-color:#667eea;background-color:#f3f4f6}.setting-option.active{border-color:#667eea;background-color:#667eea;color:#fff}.setting-option-easy.active{background-color:#10b981;border-color:#10b981}.setting-option-hard.active{background-color:#ef4444;border-color:#ef4444}.setting-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}@media(max-width:640px){.category-grid{grid-template-columns:1fr}.setting-actions{flex-direction:column-reverse}.setting-actions button{width:100%}}.game-over-modal.story-mode{display:flex;flex-direction:column;gap:0;margin:-2rem;border-radius:20px;overflow:hidden}.story-background{position:relative;min-height:340px;background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;align-items:center;justify-content:center;padding:2rem 1.5rem}.story-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,#0000004d,#0009,#000c);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.story-content{position:relative;z-index:10;text-align:center;color:#fff;display:flex;flex-direction:column;gap:1.25rem;max-width:400px;width:100%;animation:storyFadeIn .8s ease-out}@keyframes storyFadeIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.story-header{margin-bottom:.5rem}.story-title{font-size:1.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em;margin:0;text-shadow:0 4px 20px rgba(0,0,0,.5),0 2px 10px rgba(255,255,255,.3);animation:titlePulse 2s ease-in-out infinite}@keyframes titlePulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.story-hero-stat{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.3);border-radius:16px;padding:1.25rem;box-shadow:0 10px 40px #0000004d}.hero-stat-label{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;opacity:.9;margin-bottom:.5rem}.hero-stat-value{font-size:2rem;font-weight:900;line-height:1;text-shadow:0 4px 20px rgba(0,0,0,.5);letter-spacing:.05em}.story-word-reveal{background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.4);border-radius:16px;padding:1.25rem;box-shadow:0 10px 40px #0000004d}.word-reveal-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;opacity:.9;margin-bottom:.5rem}.word-reveal-value{font-size:2.25rem;font-weight:900;text-transform:uppercase;letter-spacing:.15em;text-shadow:0 4px 20px rgba(0,0,0,.5),0 0 40px rgba(255,255,255,.5);line-height:1}.story-streak-badge{display:inline-flex;align-items:center;gap:.5rem;background:#ffffff40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.4);border-radius:100px;padding:.625rem 1.25rem;font-size:.9375rem;font-weight:700;box-shadow:0 8px 30px #0000004d;margin:0 auto}.streak-icon{font-size:1.125rem;animation:flameFlicker 1.5s ease-in-out infinite}@keyframes flameFlicker{0%,to{transform:scale(1) rotate(-5deg)}50%{transform:scale(1.1) rotate(5deg)}}.streak-text{text-shadow:0 2px 10px rgba(0,0,0,.5)}.story-actions-bar{background:#fff;padding:1rem 1.5rem;display:flex;align-items:center;gap:1rem;border-top:1px solid #e5e7eb}.story-primary-action{flex:1;min-width:140px}.story-action-link{background:none;border:none;color:#667eea;font-size:.875rem;font-weight:600;cursor:pointer;padding:.5rem .75rem;border-radius:8px;transition:all .2s ease;text-decoration:none}.story-action-link:hover{background:#667eea10;color:#5568d3}.story-ad{margin:1rem 2rem}@media(prefers-reduced-motion:reduce){.story-content,.story-title,.streak-icon{animation:none}}@media(max-width:640px){.game-over-modal.story-mode{margin:-1.5rem}.story-background{min-height:300px;padding:1.5rem 1.25rem}.story-content{gap:1rem}.story-title{font-size:1.5rem}.hero-stat-label{font-size:.75rem}.hero-stat-value{font-size:1.75rem}.word-reveal-value{font-size:2rem;letter-spacing:.1em}.story-hero-stat,.story-word-reveal{padding:1rem}.story-streak-badge{padding:.5rem 1rem;font-size:.875rem}.streak-icon{font-size:1rem}.story-actions-bar{padding:1rem 1.25rem;flex-wrap:wrap;gap:.75rem}.story-primary-action{width:100%;order:-1}.story-action-link{flex:1;font-size:.8125rem}.story-ad{margin:.75rem 1.25rem}}@media(max-width:480px){.story-background{min-height:280px}.story-title{font-size:1.375rem}.hero-stat-value{font-size:1.5rem}.word-reveal-value{font-size:1.75rem;letter-spacing:.08em}.story-actions-bar{flex-direction:column}.story-action-link{width:100%}}.confetti-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:9999;overflow:hidden}.confetti-particle{position:absolute;width:10px;height:10px;border-radius:2px;will-change:transform,opacity}.game-screen{min-height:100vh;background:linear-gradient(289deg,#0a317f,#a90dc4);padding-bottom:60px}.game-container{max-width:600px;margin:0 auto;padding:.5rem;display:flex;flex-direction:column;gap:.5rem}.game-header{display:flex;flex-direction:column;gap:.5rem;padding:.5rem 0}.logo-container{text-align:center}.game-logo{font-size:2rem;font-weight:700;color:#fff;margin:0;letter-spacing:.1em;text-shadow:0 2px 8px rgba(0,0,0,.3)}.game-logo-image{height:108px;width:auto;filter:drop-shadow(0 2px 8px rgba(0,0,0,.3))}.game-badges{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap}.badge{display:flex;align-items:center;gap:.25rem;padding:.375rem .75rem;background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;font-size:.8125rem;color:#fff}.badge-value{font-weight:700;font-size:.9375rem}.badge-label{font-weight:500;opacity:.8}.badge-icon{font-size:.875rem}.badge-text{font-weight:500}.badge-difficulty{font-weight:600;box-shadow:0 2px 6px #0003}.badge-easy{background:#4caf5066}.badge-normal{background:#9c27b066}.badge-hard{background:#f4433666}.game-stats{display:flex;justify-content:center;align-items:center;gap:.5rem}.stat-badge{display:flex;align-items:center;gap:.375rem;padding:.5rem .75rem;background:#4a64c866;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;border:none;cursor:pointer;transition:all .2s ease;color:#fff;font-weight:600}.stat-badge:hover{background:#4a64c880;transform:translateY(-1px)}.stat-icon{font-size:1rem}.stat-value{font-size:.875rem}.game-main{display:flex;flex-direction:column;align-items:center;gap:.5rem}.game-tools{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap}.wildcard-instruction{background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.75rem 1.5rem;border-radius:.5rem;color:#fff;font-weight:600;margin-bottom:.5rem;text-align:center;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.game-over-overlay{position:fixed;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;animation:fadeIn .3s ease}.game-over-card{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:2rem;border-radius:1rem;text-align:center;max-width:400px;width:100%;box-shadow:0 8px 32px #0000004d;animation:slideUp .3s ease}.game-over-card h2{font-size:2rem;margin:0 0 1rem;color:#333}.game-over-word{font-size:1.125rem;margin:0 0 1.5rem;color:#555}.game-over-word strong{color:#4a90e2;font-size:1.5rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.alert{position:absolute;left:50%;transform:translate(-50%);padding:.75rem 1.5rem;border-radius:.5rem;font-weight:600;font-size:.9375rem;animation:fadeInOut 2s ease;z-index:1500;box-shadow:0 4px 12px #0000004d;margin-bottom:.5rem}.alert-error{background:#f44336f2;color:#fff}@keyframes fadeInOut{0%{opacity:0;transform:translate(-50%) translateY(-10px)}10%{opacity:1;transform:translate(-50%) translateY(0)}90%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(-10px)}}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}@media(min-width:768px){.game-screen{padding-bottom:0}.game-container{padding:1rem;gap:1rem}.game-header{gap:.75rem;padding:.75rem 0}.game-logo{font-size:3rem}.game-main{gap:1rem}}.card{border-radius:.75rem;transition:all .2s ease}.card-default{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-elevated{background:#ffffff1f;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);box-shadow:0 4px 20px #00000026}.card-outlined{background:#ffffff0d;border:2px solid rgba(255,255,255,.15)}.card-padding-none{padding:0}.card-padding-small{padding:.75rem}.card-padding-medium{padding:1.25rem}.card-padding-large{padding:2rem}.settings-screen{min-height:100vh;background:linear-gradient(289deg,#0a317f,#a90dc4);padding-bottom:80px}.settings-container{max-width:600px;margin:0 auto;padding:1rem .5rem}.settings-title{font-size:1.75rem;font-weight:700;text-align:center;color:#fff;margin-bottom:1rem;text-shadow:0 2px 8px rgba(0,0,0,.2)}.settings-content{display:flex;flex-direction:column;gap:1rem}.settings-section{display:flex;flex-direction:column;gap:.5rem}.length-options{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.length-option{background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:.625rem;padding:1rem;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;gap:.25rem}.length-option:hover{background:#ffffff26;transform:translateY(-2px)}.length-option.selected{background:#4a90e266;border-color:#4a90e2cc}.length-number{font-size:1.5rem;font-weight:700;color:#fff}.length-label{font-size:.6875rem;color:#ffffffb3}.difficulty-options{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.difficulty-option{background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:.625rem;padding:1rem;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;gap:.375rem}.difficulty-option:hover{background:#ffffff26;transform:translateY(-2px)}.difficulty-option.selected{border-width:2px}.difficulty-easy.selected{background:#4caf504d;border-color:#4caf50cc}.difficulty-normal.selected{background:#9c27b04d;border-color:#9c27b0cc}.difficulty-hard.selected{background:#f443364d;border-color:#f44336cc}.difficulty-icon{font-size:1.5rem}.difficulty-name{font-size:1rem;font-weight:600;color:#fff}.difficulty-desc{font-size:.75rem;color:#ffffffb3}.category-options{display:flex;flex-direction:column;gap:.75rem}.category-option{background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:.625rem;padding:1rem;cursor:pointer;transition:all .2s ease;text-align:left}.category-option:hover{background:#ffffff26;transform:translate(4px)}.category-option.selected{background:#4a90e24d;border-color:#4a90e2cc}.category-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.category-name{font-size:1rem;font-weight:600;color:#fff}.category-checkmark{font-size:1.5rem;color:#4a90e2}.category-description{font-size:.8125rem;color:#ffffffb3}.color-legend{display:flex;gap:1rem;margin-bottom:.5rem}.legend-item{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:#ffffffb3}.legend-circle{width:.75rem;height:.75rem;border-radius:50%}.color-scheme-options{display:flex;flex-direction:column;gap:.75rem}.color-scheme-option{background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:.625rem;padding:1rem;cursor:pointer;transition:all .2s ease;display:flex;justify-content:space-between;align-items:center}.color-scheme-option:hover{background:#ffffff26}.color-scheme-option.selected{background:#4a90e24d;border-color:#4a90e2cc}.scheme-info{display:flex;flex-direction:column;gap:.5rem}.scheme-name{font-size:1rem;font-weight:600;color:#fff}.scheme-colors{display:flex;gap:.75rem}.color-preview{width:2rem;height:2rem;border-radius:.25rem;display:flex;align-items:center;justify-content:center;font-weight:700}.scheme-checkmark{font-size:1.5rem;color:#4a90e2}.hint-info{display:flex;flex-direction:column;gap:.75rem}.hint-item{display:flex;align-items:center;gap:.75rem;color:#fff;font-size:.9375rem}.hint-icon{font-size:1.25rem}.toggle-options{display:flex;flex-direction:column;gap:.75rem}.toggle-option{background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:.625rem;padding:1rem;cursor:pointer;transition:all .2s ease;display:flex;justify-content:space-between;align-items:center}.toggle-option:hover{background:#ffffff26}.toggle-info{display:flex;flex-direction:column;gap:.25rem;text-align:left}.toggle-label{font-size:1rem;font-weight:600;color:#fff}.toggle-description{font-size:.8125rem;color:#ffffffb3}.toggle-switch{width:3rem;height:1.75rem;background:#fff3;border-radius:1rem;position:relative;transition:background .3s ease}.toggle-switch.active{background:#4caf5099}.toggle-slider{width:1.375rem;height:1.375rem;background:#fff;border-radius:50%;position:absolute;top:.1875rem;left:.1875rem;transition:transform .3s ease}.toggle-switch.active .toggle-slider{transform:translate(1.25rem)}.settings-actions{display:flex;flex-direction:column;gap:.75rem;padding-top:1rem}@media(min-width:768px){.settings-screen{padding-bottom:2rem}.settings-container{padding:3rem 2rem}.settings-title{font-size:2rem}}.stats-screen{min-height:100vh;background:linear-gradient(289deg,#0a317f,#a90dc4);padding-bottom:80px}.stats-container{max-width:600px;margin:0 auto;padding:1rem .5rem}.stats-title{font-size:1.75rem;font-weight:700;text-align:center;color:#fff;margin-bottom:1rem;text-shadow:0 2px 8px rgba(0,0,0,.2)}.stats-content{display:flex;flex-direction:column;gap:1rem}.stats-section{display:flex;flex-direction:column;gap:.5rem}.section-description{font-size:.875rem;color:#ffffffb3;margin:0}.section-note{font-size:.8125rem;color:#ffc864e6;font-style:italic;margin:0}.stats-explanation{display:flex;flex-direction:column;gap:1rem}.explanation-item{display:flex;align-items:center;gap:.75rem}.explanation-icon{font-size:1.5rem}.explanation-text{display:flex;flex-direction:column;gap:.125rem}.explanation-label{font-size:.9375rem;font-weight:600;color:#fff}.explanation-desc{font-size:.8125rem;color:#ffffffb3}.length-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;background:#ffffff1a;padding:.375rem;border-radius:.625rem}.length-tab{background:transparent;border:none;padding:.625rem;border-radius:.5rem;font-size:1rem;font-weight:600;color:#fff9;cursor:pointer;transition:all .2s ease}.length-tab:hover{background:#ffffff1a;color:#fffc}.length-tab.active{background:#4a90e299;color:#fff;box-shadow:0 2px 8px #0003}.stat-boxes{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.stat-box{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem;text-align:center}.stat-value{font-size:2rem;font-weight:700;color:#fff;line-height:1}.stat-label{font-size:.75rem;color:#ffffffb3;margin-top:.5rem}.distribution-chart{display:flex;flex-direction:column;gap:.5rem;background:#ffffff1a;padding:1rem;border-radius:.625rem}.distribution-row{display:flex;align-items:center;gap:.625rem}.guess-number{font-size:1rem;font-weight:600;color:#fff;width:1.25rem;text-align:center}.distribution-bar-container{flex:1;height:2rem;background:#ffffff1a;border-radius:.25rem;overflow:hidden}.distribution-bar{height:100%;background:#78787866;display:flex;align-items:center;justify-content:flex-start;padding-left:.5rem;transition:width .3s ease;min-width:2.5rem}.distribution-bar.has-wins{background:#42aaf0cc}.bar-count{font-size:.875rem;font-weight:600;color:#fff}.reward-boxes{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.reward-box{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.5rem 1rem;gap:.5rem}.reward-icon{font-size:2.5rem}.reward-label{font-size:.875rem;color:#ffffffb3}.reward-value{font-size:2rem;font-weight:700;color:#fff}.reward-info{font-size:.75rem;color:#fff9;margin-top:.25rem}.reward-progress{width:100%;display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.progress-label{font-size:.75rem;color:#ffffffb3}.progress-bar{width:100%;height:.5rem;background:#fff3;border-radius:.25rem;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#ff9800,#ff5722);transition:width .3s ease}.reset-confirm{display:flex;flex-direction:column;gap:1rem;padding:1.5rem}.reset-message{color:#fff;font-size:.9375rem;text-align:center;margin:0}.reset-actions{display:flex;gap:.75rem}.stats-actions{padding-top:1rem}@media(min-width:768px){.stats-screen{padding-bottom:2rem}.stats-container{padding:3rem 2rem}.stats-title{font-size:2rem}.stat-boxes{grid-template-columns:repeat(4,1fr)}}@media(max-width:480px){.reward-boxes{grid-template-columns:1fr}}.how-to-play-screen{min-height:100vh;background:linear-gradient(289deg,#0a317f,#a90dc4);padding-bottom:80px}.how-to-play-container{max-width:600px;margin:0 auto;padding:1rem .5rem}.how-to-play-title{font-size:1.75rem;font-weight:700;text-align:center;color:#fff;margin-bottom:1rem;text-shadow:0 2px 8px rgba(0,0,0,.2)}.how-to-play-content{display:flex;flex-direction:column;gap:1rem}.help-section{display:flex;flex-direction:column;gap:.5rem}.section-title{font-size:1.25rem;font-weight:600;color:#fff;margin:0}.section-text{font-size:1rem;color:#ffffffe6;line-height:1.6;margin:0}.numbered-list{list-style:decimal;padding-left:1.5rem;color:#ffffffe6;font-size:1rem;line-height:1.8;margin:0}.numbered-list li{margin-bottom:.5rem}.color-examples{display:flex;flex-direction:column;gap:1rem}.color-example{display:flex;align-items:center;gap:.75rem}.example-box{width:3rem;height:3rem;border-radius:.375rem;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.example-text{display:flex;flex-direction:column;gap:.125rem}.example-title{font-size:.9375rem;font-weight:600;color:#fff}.example-desc{font-size:.8125rem;color:#ffffffb3;line-height:1.4}.mode-list,.feature-list{display:flex;flex-direction:column;gap:1rem}.mode-item,.feature-item{display:flex;align-items:flex-start;gap:.75rem}.mode-icon,.feature-icon{font-size:1.25rem;flex-shrink:0;margin-top:.125rem}.mode-info{display:flex;flex-direction:column;gap:.25rem}.mode-title{font-size:.9375rem;font-weight:600;color:#fff}.mode-desc{font-size:.875rem;color:#ffffffb3;line-height:1.4}.feature-text{font-size:.9375rem;color:#ffffffe6;line-height:1.5}.mode-note{font-size:.8125rem;color:#ffffffb3;font-style:italic;margin-top:.5rem;line-height:1.5}.tips-list{list-style:disc;padding-left:1.5rem;color:#fff;font-size:.9375rem;line-height:1.8;margin:0}.tips-list li{margin-bottom:.5rem}.how-to-play-actions{padding-top:1rem}@media(min-width:768px){.how-to-play-screen{padding-bottom:2rem}.how-to-play-container{padding:3rem 2rem}.how-to-play-title{font-size:2rem}}*{box-sizing:border-box;margin:0;padding:0}:root{--color-background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--color-surface: #ffffff;--color-text-primary: #1a1a1a;--color-text-secondary: #666666;--color-border: #e0e0e0;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--border-radius-sm: 4px;--border-radius-md: 8px;--border-radius-lg: 12px;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .1);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px rgba(0, 0, 0, .1);--transition-fast: .15s ease;--transition-normal: .3s ease}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--color-background);color:var(--color-text-primary);line-height:1.6;min-height:100vh}#root{min-height:100vh;display:flex;flex-direction:column}button{font-family:inherit;cursor:pointer;border:none;outline:none;background:none}button:disabled{cursor:not-allowed;opacity:.5}input{font-family:inherit}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-8px)}20%,40%,60%,80%{transform:translate(8px)}}@keyframes flip{0%{transform:rotateX(0)}50%{transform:rotateX(90deg)}to{transform:rotateX(0)}}@keyframes bounce{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.shake{animation:shake .4s ease}.flip{animation:flip .3s ease}.bounce{animation:bounce .3s ease}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}@media(max-width:768px){:root{--spacing-md: 12px;--spacing-lg: 16px;--spacing-xl: 24px}}
