.difficulty-selector{display:flex;background:#f3f4f6;border-radius:10px;padding:4px;gap:4px}.difficulty-selector-btn{flex:1;padding:8px 14px;background:transparent;border:none;border-radius:8px;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.difficulty-selector-btn:hover:not(.difficulty-selector-btn--active){color:#374151;background:#fff9}.difficulty-selector-btn--active{color:#fff;box-shadow:0 2px 4px #0000001a}.difficulty-selector-btn--active.difficulty-selector-btn--easy{background:linear-gradient(135deg,#10b981,#059669)}.difficulty-selector-btn--active.difficulty-selector-btn--medium{background:linear-gradient(135deg,#f59e0b,#d97706)}.difficulty-selector-btn--active.difficulty-selector-btn--hard{background:linear-gradient(135deg,#ef4444,#dc2626)}@media (prefers-color-scheme: dark){.difficulty-selector{background:#21262d}.difficulty-selector-btn{color:#8b949e}.difficulty-selector-btn:hover:not(.difficulty-selector-btn--active){color:#e6edf3;background:#ffffff1a}.difficulty-selector-btn--active{color:#fff;box-shadow:0 2px 4px #0000004d}}.auth-container{position:relative}.auth-avatar-btn{background:none;border:none;padding:0;cursor:pointer;border-radius:50%;transition:transform .15s ease,box-shadow .15s ease}.auth-avatar-btn:hover{transform:scale(1.05)}.auth-avatar-btn:active{transform:scale(.95)}.auth-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.3)}.auth-avatar--placeholder{display:flex;align-items:center;justify-content:center;background:#6366f1;color:#fff;font-weight:600;font-size:14px}.auth-menu{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;min-width:200px;z-index:1000;overflow:hidden;animation:menuFadeIn .15s ease}@keyframes menuFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.auth-menu-header{padding:12px 16px;display:flex;flex-direction:column;gap:2px}.auth-menu-name{font-weight:600;color:#1f2937;font-size:14px}.auth-menu-email{font-size:12px;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-menu-divider{height:1px;background:#e5e7eb}.auth-menu-item{width:100%;padding:10px 16px;background:none;border:none;text-align:left;font-size:14px;color:#374151;cursor:pointer;transition:background .15s}.auth-menu-item:hover{background:#f3f4f6}.auth-menu-section{padding:12px 16px;display:flex;flex-direction:column;gap:8px}.auth-menu-section-title{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.auth-provider-btn{display:flex;align-items:center;gap:12px}.auth-provider-icon{flex-shrink:0}.auth-signin{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:20px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;white-space:nowrap}.auth-signin:hover{background:#f9fafb;border-color:#9ca3af;box-shadow:0 1px 3px #0000001a}.auth-signin:active{transform:scale(.98)}.auth-buttons{display:flex;align-items:center;gap:8px}.auth-signin--google,.auth-signin--apple{display:flex;align-items:center;gap:6px}.auth-signin--apple{background:#000;border-color:#000}.auth-signin--apple:hover{background:#1a1a1a;border-color:#1a1a1a}.auth-signin--apple svg path{fill:#fff}.auth-buttons--landing{display:flex;align-items:center;gap:8px}.auth-signin--landing{padding:6px 12px;font-size:13px;border-radius:16px}.auth-signin-text{font-weight:500}.auth-mobile{display:none}.auth-hamburger{background:none;border:none;padding:8px;cursor:pointer;color:#374151;border-radius:8px;transition:background .15s}.auth-hamburger:hover{background:#0000000d}.auth-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:1000;animation:fadeIn .2s ease}.auth-panel{position:fixed;top:0;right:0;bottom:0;width:280px;max-width:80vw;background:#fff;z-index:1001;transform:translate(100%);transition:transform .3s ease;display:flex;flex-direction:column}.auth-panel--open{transform:translate(0)}.auth-panel-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e5e7eb}.auth-panel-title{font-size:18px;font-weight:600;color:#1f2937}.auth-panel-close{background:none;border:none;padding:4px;cursor:pointer;color:#6b7280;border-radius:4px;transition:background .15s}.auth-panel-close:hover{background:#f3f4f6}.auth-panel-content{padding:24px 16px;display:flex;flex-direction:column;gap:12px}.auth-panel-btn{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:15px;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease}.auth-panel-btn:hover{background:#f9fafb;border-color:#9ca3af}.auth-panel-btn--apple{background:#000;border-color:#000;color:#fff}.auth-panel-btn--apple:hover{background:#1a1a1a;border-color:#1a1a1a}.auth-panel-divider{height:1px;background:#e5e7eb;margin:0 16px}.auth-panel-section{padding:16px;display:flex;flex-direction:column;gap:12px}.auth-panel-section-title{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.auth-panel-spacer{flex:1}.auth-panel-footer{margin-top:auto}.auth-panel-nav{display:flex;flex-direction:column;gap:8px}.auth-panel-nav-btn{display:flex;align-items:center;justify-content:center;padding:12px 16px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease}.auth-panel-nav-btn:hover:not(:disabled){background:#e5e7eb;border-color:#d1d5db}.auth-panel-nav-btn:disabled{opacity:.4;cursor:not-allowed}.auth-panel-settings{padding:16px;display:flex;flex-direction:column;gap:12px}.auth-panel-settings-title{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.auth-panel-toggle{display:flex;align-items:center;justify-content:space-between;font-size:15px;color:#374151;cursor:pointer}.toggle-switch{position:relative;width:44px;height:24px;background:#d1d5db;border:none;border-radius:12px;cursor:pointer;transition:background .2s ease;padding:0}.toggle-switch--on{background:#22c55e}.toggle-switch-knob{position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .2s ease}.toggle-switch--on .toggle-switch-knob{transform:translate(20px)}.collections-cta{display:flex;align-items:center;justify-content:center;width:100%;padding:14px 16px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;font-weight:500;font-size:15px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;text-decoration:none}.collections-cta:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.collections-cta:active{transform:translateY(0)}@media (max-width: 600px){.auth-buttons--desktop{display:none}.auth-mobile{display:block}.auth-avatar{width:32px;height:32px}.auth-menu{min-width:180px}}@media (prefers-color-scheme: dark){.auth-avatar{border-color:#fff3}.auth-menu{background:#161b22;box-shadow:0 4px 20px #0006}.auth-menu-name{color:#e6edf3}.auth-menu-email{color:#8b949e}.auth-menu-divider{background:#30363d}.auth-menu-item{color:#e6edf3}.auth-menu-item:hover{background:#21262d}.auth-menu-section-title{color:#8b949e}.auth-signin{background:#21262d;color:#e6edf3;border-color:#30363d}.auth-signin:hover{background:#30363d;border-color:#8b949e;box-shadow:0 1px 3px #0000004d}.auth-hamburger{color:#e6edf3}.auth-hamburger:hover{background:#ffffff1a}.auth-panel{background:#161b22}.auth-panel-header{border-bottom-color:#30363d}.auth-panel-title{color:#e6edf3}.auth-panel-close{color:#8b949e}.auth-panel-close:hover{background:#21262d}.auth-panel-btn{background:#21262d;border-color:#30363d;color:#e6edf3}.auth-panel-btn:hover{background:#30363d;border-color:#8b949e}.auth-panel-btn--apple{background:#000;border-color:#30363d;color:#fff}.auth-panel-btn--apple:hover{background:#1a1a1a;border-color:#30363d}.auth-panel-divider{background:#30363d}.auth-panel-section-title,.auth-panel-settings-title{color:#8b949e}.auth-panel-toggle{color:#e6edf3}.auth-panel-nav-btn{background:#21262d;border-color:#30363d;color:#e6edf3}.auth-panel-nav-btn:hover:not(:disabled){background:#30363d;border-color:#8b949e}.toggle-switch{background:#30363d}.toggle-switch--on{background:#238636}.toggle-switch-knob{background:#e6edf3;box-shadow:0 1px 3px #0006}.collections-cta{background:linear-gradient(135deg,#5a67d8,#6b46c1)}.collections-cta:hover{box-shadow:0 4px 12px #5a67d880}}.puzzle-index{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.puzzle-index-header{position:absolute;top:0;left:0;right:0;display:flex;justify-content:flex-end;padding:16px 20px}.puzzle-index-content{background:#fff;border-radius:24px;padding:48px 40px;max-width:400px;width:100%;text-align:center;box-shadow:0 25px 50px -12px #00000040}.puzzle-index-title{font-size:2.5rem;font-weight:700;color:#1f2937;margin:0 0 8px;letter-spacing:-.02em}.puzzle-index-subtitle{font-size:1.1rem;color:#6b7280;margin:0 0 40px}.puzzle-index-difficulty{margin-bottom:32px}.puzzle-index-label{display:block;font-size:.9rem;font-weight:500;color:#374151;margin-bottom:12px}.puzzle-index-count{font-size:.85rem;color:#9ca3af;margin:12px 0 0}.puzzle-index-start{width:100%;padding:16px 32px;font-size:1.2rem;font-weight:600;color:#fff;border:none;border-radius:12px;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 14px #00000026}.puzzle-index-start:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #0003}.puzzle-index-start:active:not(:disabled){transform:translateY(0)}.puzzle-index-start:disabled{opacity:.6;cursor:not-allowed}.puzzle-index-start--easy{background:linear-gradient(135deg,#10b981,#059669)}.puzzle-index-start--medium{background:linear-gradient(135deg,#f59e0b,#d97706)}.puzzle-index-start--hard{background:linear-gradient(135deg,#ef4444,#dc2626)}.puzzle-index-divider{display:flex;align-items:center;margin:24px 0}.puzzle-index-divider:before,.puzzle-index-divider:after{content:"";flex:1;height:1px;background:#e5e7eb}.puzzle-index-divider span{padding:0 16px;font-size:.85rem;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em}.puzzle-index-daily{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px 24px;font-size:1rem;font-weight:500;text-decoration:none;border:2px solid #e5e7eb;border-radius:12px;background:transparent;color:#374151;cursor:pointer;transition:all .2s ease}.puzzle-index-daily:hover{border-color:#d1d5db;background:#f9fafb}.puzzle-index-daily-label{font-weight:500}.puzzle-index-daily-difficulty{display:inline-block;padding:2px 8px;font-size:.75rem;font-weight:600;text-transform:uppercase;border-radius:4px;color:#fff}.puzzle-index-daily-difficulty--easy{background:#10b981}.puzzle-index-daily-difficulty--medium{background:#f59e0b}.puzzle-index-daily-difficulty--hard{background:#ef4444}.puzzle-index-daily--easy:hover{border-color:#10b981;background:#10b9810d}.puzzle-index-daily--medium:hover{border-color:#f59e0b;background:#f59e0b0d}.puzzle-index-daily--hard:hover{border-color:#ef4444;background:#ef44440d}@media (max-width: 480px){.puzzle-index-content{padding:36px 24px;border-radius:20px}.puzzle-index-title{font-size:2rem}.puzzle-index-start{padding:14px 28px;font-size:1.1rem}.puzzle-index-daily{padding:12px 20px;font-size:.95rem}}@media (prefers-color-scheme: dark){.puzzle-index{background:linear-gradient(135deg,#1e3a5f,#2d1b4e)}.puzzle-index-content{background:#161b22;box-shadow:0 25px 50px -12px #00000080}.puzzle-index-title{color:#e6edf3}.puzzle-index-subtitle{color:#8b949e}.puzzle-index-label{color:#e6edf3}.puzzle-index-count{color:#6e7681}.puzzle-index-divider:before,.puzzle-index-divider:after{background:#30363d}.puzzle-index-divider span{color:#6e7681}.puzzle-index-daily{border-color:#30363d;color:#e6edf3}.puzzle-index-daily:hover{border-color:#484f58;background:#ffffff0d}.puzzle-index-daily--easy:hover{border-color:#10b981;background:#10b9811a}.puzzle-index-daily--medium:hover{border-color:#f59e0b;background:#f59e0b1a}.puzzle-index-daily--hard:hover{border-color:#ef4444;background:#ef44441a}}.signin-prompt{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:20px}.signin-prompt-content{text-align:center;max-width:400px}.signin-prompt-content h2{font-size:1.5rem;margin-bottom:12px;color:var(--color-text)}.signin-prompt-content p{color:var(--color-text-secondary);margin-bottom:24px;line-height:1.5}.signin-prompt-buttons{display:flex;flex-direction:column;gap:12px}.signin-prompt-btn{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 24px;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:transform .1s,box-shadow .1s}.signin-prompt-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.signin-prompt-btn:active{transform:translateY(0)}.signin-prompt-btn--google{background:#fff;border:1px solid #dadce0;color:#3c4043}.signin-prompt-btn--apple{background:#000;border:1px solid #000;color:#fff}.app{width:100%;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.app-header{padding:1rem;background:#2c3e50;color:#fff;text-align:center;position:sticky;top:0;z-index:100;transition:transform .3s ease}.app-header.header--hidden{transform:translateY(-100%)}.app-header h1{margin:0;font-size:1.5rem}.app-header-minimal{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100}.header-logo{display:flex;align-items:center;gap:8px}.header-logo-icon{font-size:24px;font-weight:700;color:#1f2937;line-height:1}.app-title{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,Roboto,sans-serif;font-size:22px;font-weight:600;color:#1f2937;letter-spacing:-.5px;line-height:1;text-decoration:none}.app-title:hover{color:#4f46e5}.puzzle-slug{color:#666;font-weight:500;font-size:16px;line-height:1}.slug-separator{color:#666;line-height:1}.try-badge{display:inline-flex;align-items:center;padding:2px 8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-left:8px}.difficulty-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase;line-height:1}.puzzle-nav{display:flex;align-items:center;gap:12px}.nav-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#374151;font-size:20px;font-weight:500;cursor:pointer;transition:all .15s ease}.nav-btn:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.nav-btn:disabled{opacity:.3;cursor:not-allowed}@media (min-width: 768px){.app-header{position:relative;transform:none!important}}.app-main{flex:1;padding:.5rem;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}.crossword-container{display:flex;flex-direction:column;gap:.5rem;max-width:1200px;margin:0 auto;width:100%;position:relative;flex:1;min-height:0}.hidden-input{position:absolute;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none;font-size:16px}.crossword-main{width:100%;max-width:100%}.timer-display{text-align:center;margin-bottom:.5rem}.timer{font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;font-size:1.25rem;font-weight:600;color:#6b7280;padding:.25rem .5rem;border-radius:4px;background:#f3f4f6}.timer--running{color:#2c3e50}.timer--completed{color:#4caf50;background:#e8f5e9}.crossword-grid-wrapper{position:relative;width:100%;display:flex;justify-content:center}.crossword-grid{display:grid;gap:1px;background:#333;padding:2px;width:100%;aspect-ratio:1;touch-action:manipulation;margin:0 auto;contain:layout;max-width:min(100%,calc(100dvh - 280px));max-height:calc(100dvh - 280px)}.completion-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;z-index:10}.completion-overlay-grid{display:grid;gap:1px;background:#333;padding:2px;width:100%;aspect-ratio:1;max-width:min(100%,calc(100dvh - 280px));max-height:calc(100dvh - 280px)}.completion-overlay-cell{background:#fff;display:flex;align-items:center;justify-content:center;position:relative;aspect-ratio:1}.completion-overlay-cell--black{background:#000}.completion-overlay-clue-number{position:absolute;top:2px;left:3px;font-size:.6rem;font-weight:500;color:#666;line-height:1}.completion-overlay-icon{font-size:1.2rem;font-weight:700}.completion-overlay-icon--solved{color:#4caf50}.completion-overlay-icon--hint{color:#ffc107}.completion-overlay-icon--revealed{color:#000}.completion-toggle-hint{text-align:center;font-size:.85rem;color:#666;font-weight:500;cursor:pointer;margin-top:.5rem}.game-controls{margin-top:1rem;display:flex;justify-content:center;gap:.5rem}.game-controls-mobile,.game-controls-desktop{display:none}.game-controls-bottom{display:flex;justify-content:center;gap:.5rem;margin-top:.5rem;flex-shrink:0}.puzzle-nav-desktop{display:none}.puzzle-nav-btn{padding:.5rem 1rem;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;font-size:.85rem;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease}.puzzle-nav-btn:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.puzzle-nav-btn:disabled{opacity:.4;cursor:not-allowed}.cell{background:#fff;display:flex;align-items:center;justify-content:center;position:relative;font-size:1.2rem;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;height:100%;min-width:0;min-height:0}.cell--black{background:#000;cursor:default}.cell--highlighted{background:gold}.cell--selected{box-shadow:inset 0 0 0 3px #2196f3;z-index:1}.cell__clue-number{position:absolute;top:2px;left:2px;font-size:.6rem;color:#666;font-weight:400}.cell__value{font-size:1.2rem;color:#000}.current-clue-mobile{display:flex;align-items:baseline;gap:.5rem;margin-top:.5rem;padding:.5rem .75rem;background:#f8f9fa;border-left:4px solid #2196f3;border-radius:4px}.current-clue-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;flex-shrink:0}.current-clue-label:after{content:"·";margin-left:.5rem;color:#d1d5db}.current-clue-text{font-size:.95rem;color:#1f2937;font-weight:500;line-height:1.3}.reveal-letter-btn{margin-top:0;padding:.4rem .75rem;background:#4caf50;color:#fff;border:none;border-radius:4px;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s}.reveal-letter-btn:hover{background:#45a049}.reveal-letter-btn:active{background:#3d8b40}.reveal-word-btn{margin-top:0;padding:.4rem .75rem;background:#2196f3;color:#fff;border:none;border-radius:4px;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s}.reveal-word-btn:hover{background:#1976d2}.reveal-word-btn:active{background:#1565c0}.solve-btn{margin-top:0;padding:.4rem .75rem;background:#ff9800;color:#fff;border:none;border-radius:4px;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s}.solve-btn:hover{background:#f57c00}.solve-btn:active{background:#ef6c00}.crossword-clues{display:none;flex-direction:column;gap:1.5rem}.clues-section h3{margin:0 0 .5rem;font-size:1.2rem;color:#2c3e50}.clues-list{list-style:none;padding:0;margin:0}.clue{padding:.75rem;margin-bottom:.5rem;background:#f5f5f5;border-radius:4px;cursor:pointer;display:flex;gap:.5rem;min-height:44px;align-items:center}.clue:hover{background:#e8e8e8}.clue--selected{background:#d4e8ff;border-left:4px solid #2196f3}.clue__number{font-weight:700;color:#2c3e50;min-width:2rem}.clue__text{flex:1;color:#333}.completion-banner{text-align:center;margin-top:1rem;animation:fadeIn .3s ease-out}.completion-title{font-size:1.5rem;color:#4caf50;margin:0 0 .25rem;font-weight:700}.completion-time{display:inline-flex;align-items:center;gap:.35rem;color:#666;font-size:1rem}.completion-time-label{color:#888}.completion-time-value{font-weight:600;color:#333;font-variant-numeric:tabular-nums}.completion-date{font-size:.9rem;color:#666;margin:.25rem 0 .5rem}.play-again-btn{display:block;background-color:#2196f3;color:#fff;padding:10px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;margin:16px auto 0;transition:background-color .2s,transform .1s}.play-again-btn:hover{background-color:#1976d2;transform:translateY(-1px)}.play-again-btn:active{transform:translateY(0)}.collections-discovery-banner{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#667eea1a,#764ba21a);border:1px solid rgba(102,126,234,.3);border-radius:12px;padding:12px 16px;margin-top:16px;animation:slideUp .3s ease-out}.collections-discovery-banner .banner-icon{font-size:24px;flex-shrink:0}.collections-discovery-banner .banner-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.collections-discovery-banner .banner-text strong{font-size:14px;font-weight:600;color:#333}.collections-discovery-banner .banner-text span{font-size:12px;color:#666}.collections-discovery-banner .banner-cta{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;font-size:13px;border-radius:8px;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease;flex-shrink:0}.collections-discovery-banner .banner-cta:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.collections-discovery-banner .banner-dismiss{background:none;border:none;padding:4px 8px;font-size:20px;color:#999;cursor:pointer;flex-shrink:0;transition:color .15s}.collections-discovery-banner .banner-dismiss:hover{color:#666}.share-container{display:flex;flex-direction:column;align-items:center;margin-top:12px}.share-btn{background-color:#4caf50;color:#fff;padding:10px 24px;border:none;border-radius:8px;font-size:16px;cursor:pointer;transition:background-color .2s}.share-hint{margin-top:8px;font-size:14px;color:#666;text-align:center}.share-btn:hover{background-color:#45a049}.share-btn--copied{background-color:#2196f3}.share-btn--failed{background-color:#f44336}.share-btn--shared,.share-btn--downloaded{background-color:#2196f3}.share-preview-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.share-preview-modal{background:#fff;border-radius:12px;padding:1.5rem;max-width:90vw;max-height:90vh;overflow:auto;box-shadow:0 4px 20px #0000004d}.share-preview-title{margin:0 0 1rem;font-size:1.25rem;text-align:center;color:#333}.share-preview-canvas{display:flex;justify-content:center;margin-bottom:1rem}.share-preview-canvas canvas{border-radius:8px;box-shadow:0 2px 8px #0000001a}.share-preview-actions{display:flex;gap:.75rem;justify-content:center}.share-preview-btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s,transform .1s}.share-preview-btn:active{transform:scale(.98)}.share-preview-btn--primary{background-color:#4caf50;color:#fff}.share-preview-btn--primary:hover{background-color:#45a049}.share-preview-btn--secondary{background-color:#e0e0e0;color:#333}.share-preview-btn--secondary:hover{background-color:#d0d0d0}@media (min-width: 768px){.crossword-container{flex-direction:row;align-items:flex-start;gap:2rem}.crossword-main{flex:0 0 auto;max-width:450px}.crossword-grid,.completion-overlay-grid{max-width:450px;max-height:none}.current-clue-mobile,.game-controls-bottom{display:none}.game-controls-desktop{display:flex}.puzzle-nav-desktop{display:flex;justify-content:center;gap:.5rem;margin-top:1rem}.crossword-clues{display:grid;grid-template-columns:1fr 1fr;gap:2rem;flex:1;align-content:start}.clues-section{min-width:0}.clues-list{max-height:none}.cell,.cell__value{font-size:1.3rem}}@media (min-width: 1024px){.app-main{padding:1rem 2rem;max-width:100%}.crossword-container{max-width:1400px;margin:0 auto;gap:3rem}.crossword-main{flex:0 0 auto;max-width:500px}.crossword-grid,.completion-overlay-grid{max-width:500px}.crossword-clues{display:grid;grid-template-columns:1fr 1fr;gap:3rem;flex:1}.clues-section{min-width:0}.clue{font-size:.95rem;padding:.6rem}.cell,.cell__value{font-size:1.5rem}}@media (min-width: 1400px){.crossword-main,.crossword-grid,.completion-overlay-grid{max-width:550px}.cell,.cell__value{font-size:1.7rem}}.error-message{text-align:center;padding:2rem;max-width:600px;margin:2rem auto}.error-message h2{color:#e74c3c;margin-bottom:1rem;font-size:1.5rem}.error-message p{color:#666;margin-bottom:2rem;line-height:1.6}.error-message button{padding:.75rem 1.5rem;background:#2196f3;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.error-message button:hover{background:#1976d2}.coming-soon-message{text-align:center;padding:2rem;max-width:600px;margin:2rem auto}.coming-soon-message h2{color:#6366f1;margin-bottom:1rem;font-size:1.5rem}.coming-soon-message p{color:#666;margin-bottom:2rem;line-height:1.6}.coming-soon-message button{padding:.75rem 1.5rem;background:#6366f1;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.coming-soon-message button:hover{background:#4f46e5}.onscreen-keyboard{display:flex;flex-direction:column;gap:4px;padding:6px;background:#d1d5db;border-radius:8px;margin-top:auto;width:100%;max-width:100%;box-sizing:border-box;flex-shrink:0}.keyboard-row{display:flex;justify-content:center;gap:3px}.keyboard-key{flex:1;max-width:34px;height:40px;border:none;border-radius:5px;background:#fff;color:#1f2937;font-size:.95rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 2px #0003;transition:background .1s,transform .1s;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.keyboard-key:active{background:#e5e7eb;transform:scale(.95)}.keyboard-key--delete{flex:1.5;max-width:50px;background:#9ca3af;color:#fff;font-size:1.1rem}.keyboard-key--delete:active{background:#6b7280}@media (min-width: 768px){.onscreen-keyboard{display:none}}.cell--incorrect{position:relative}.cell--incorrect .cell__value{color:#dc2626}.cell--incorrect:after{content:"";position:absolute;top:50%;left:15%;right:15%;height:2px;background:#dc2626;transform:rotate(-45deg);pointer-events:none}.incorrect-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.incorrect-popup{background:#fff;border-radius:16px;padding:2rem;max-width:320px;width:100%;text-align:center;box-shadow:0 10px 40px #0003;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.incorrect-popup__icon{font-size:3rem;margin-bottom:1rem}.incorrect-popup__title{margin:0 0 .75rem;font-size:1.5rem;font-weight:600;color:#1f2937}.incorrect-popup__message{margin:0 0 .5rem;font-size:1rem;color:#4b5563;line-height:1.5}.incorrect-popup__question{margin:0 0 1.5rem;font-size:.95rem;color:#6b7280}.incorrect-popup__buttons{display:flex;flex-direction:column;gap:.75rem}.incorrect-popup__btn{padding:.875rem 1.5rem;border:none;border-radius:10px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s,transform .1s}.incorrect-popup__btn:active{transform:scale(.98)}.incorrect-popup__btn--primary{background:#4f46e5;color:#fff}.incorrect-popup__btn--primary:hover{background:#4338ca}.incorrect-popup__btn--secondary{background:#f3f4f6;color:#374151}.incorrect-popup__btn--secondary:hover{background:#e5e7eb}@media (prefers-color-scheme: dark){.app{background:#0d1117}.app-header-minimal{background:#161b22;border-bottom-color:#30363d}.header-logo-icon,.app-title{color:#e6edf3}.app-title:hover{color:#58a6ff}.puzzle-slug,.slug-separator{color:#8b949e}.nav-btn{background:#21262d;border-color:#30363d;color:#c9d1d9}.nav-btn:hover:not(:disabled){background:#30363d;border-color:#8b949e}.timer{background:#21262d;color:#8b949e}.timer--running{color:#c9d1d9}.timer--completed{background:#1b4721;color:#3fb950}.crossword-grid,.completion-overlay-grid{background:#30363d}.completion-overlay-cell{background:#1c2128}.completion-overlay-cell--black{background:#010409}.completion-overlay-clue-number{color:#8b949e}.completion-overlay-icon--revealed{color:#e6edf3}.completion-toggle-hint{color:#8b949e}.cell{background:#1c2128;color:#c9d1d9}.cell--black{background:#010409;box-shadow:inset 0 0 0 1px #010409}.cell--highlighted{background:#634d00}.cell--selected{box-shadow:inset 0 0 0 3px #58a6ff}.cell__clue-number{color:#8b949e}.cell__value{color:#e6edf3}.current-clue-mobile{background:#161b22;border-left-color:#58a6ff}.current-clue-label{color:#8b949e}.current-clue-label:after{color:#30363d}.current-clue-text,.clues-section h3{color:#e6edf3}.clue{background:#161b22;color:#c9d1d9}.clue:hover{background:#21262d}.clue--selected{background:#1f3a5f;border-left-color:#58a6ff}.clue__number{color:#e6edf3}.clue__text{color:#c9d1d9}.completion-title{color:#3fb950}.completion-time{color:#8b949e}.completion-time-label{color:#6e7681}.completion-time-value{color:#e6edf3}.completion-date{color:#8b949e}.play-again-btn{background-color:#1f6feb}.play-again-btn:hover{background-color:#388bfd}.collections-discovery-banner{background:linear-gradient(135deg,#5a67d826,#6b46c126);border-color:#5a67d866}.collections-discovery-banner .banner-text strong{color:#e6edf3}.collections-discovery-banner .banner-text span{color:#8b949e}.collections-discovery-banner .banner-cta{background:linear-gradient(135deg,#5a67d8,#6b46c1)}.collections-discovery-banner .banner-cta:hover{box-shadow:0 4px 12px #5a67d880}.collections-discovery-banner .banner-dismiss{color:#6e7681}.collections-discovery-banner .banner-dismiss:hover,.share-hint{color:#8b949e}.share-preview-modal{background:#161b22}.share-preview-title{color:#e6edf3}.share-preview-btn--secondary{background:#21262d;color:#c9d1d9}.share-preview-btn--secondary:hover{background:#30363d}.onscreen-keyboard{background:#21262d}.keyboard-key{background:#30363d;color:#e6edf3;box-shadow:0 1px 2px #0006}.keyboard-key:active{background:#484f58}.keyboard-key--delete{background:#484f58;color:#e6edf3}.keyboard-key--delete:active{background:#6e7681}.puzzle-nav-btn{background:#21262d;border-color:#30363d;color:#c9d1d9}.puzzle-nav-btn:hover:not(:disabled){background:#30363d;border-color:#8b949e}.error-message p,.coming-soon-message p{color:#8b949e}.incorrect-popup{background:#161b22}.incorrect-popup__title{color:#e6edf3}.incorrect-popup__message{color:#c9d1d9}.incorrect-popup__question{color:#8b949e}.incorrect-popup__btn--secondary{background:#21262d;color:#c9d1d9}.incorrect-popup__btn--secondary:hover{background:#30363d}}.daily-puzzle-container{display:flex;flex-direction:column;align-items:center;width:100%}.daily-date-header{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:16px;text-align:center}.daily-date-header h2{margin:0;font-size:1.25rem;font-weight:500;color:var(--text-primary, #1a1a2e)}.daily-nav-buttons{display:flex;gap:16px}.daily-nav-btn{padding:8px 16px;font-size:.875rem;font-weight:500;border:1px solid var(--border-color, #e0e0e0);border-radius:6px;background:var(--bg-secondary, #f5f5f5);color:var(--text-primary, #1a1a2e);cursor:pointer;transition:all .2s ease}.daily-nav-btn:hover:not(:disabled){background:var(--bg-tertiary, #e8e8e8);border-color:var(--border-hover, #ccc)}.daily-nav-btn:disabled{opacity:.4;cursor:not-allowed}@media (prefers-color-scheme: dark){.daily-date-header h2{color:var(--text-primary-dark, #e0e0e0)}.daily-nav-btn{background:var(--bg-secondary-dark, #2a2a3e);border-color:var(--border-color-dark, #444);color:var(--text-primary-dark, #e0e0e0)}.daily-nav-btn:hover:not(:disabled){background:var(--bg-tertiary-dark, #3a3a4e);border-color:var(--border-hover-dark, #555)}}.dark .daily-date-header h2{color:var(--text-primary-dark, #e0e0e0)}.dark .daily-nav-btn{background:var(--bg-secondary-dark, #2a2a3e);border-color:var(--border-color-dark, #444);color:var(--text-primary-dark, #e0e0e0)}.dark .daily-nav-btn:hover:not(:disabled){background:var(--bg-tertiary-dark, #3a3a4e);border-color:var(--border-hover-dark, #555)}@media (max-width: 480px){.daily-date-header h2{font-size:1.1rem}.daily-nav-btn{padding:6px 12px;font-size:.8rem}}.activity-heatmap{width:100%}@media (min-width: 601px){.activity-heatmap{overflow-x:auto}}.activity-heatmap-container{display:flex;flex-direction:column;gap:4px;min-width:fit-content}.activity-heatmap-months{display:flex;align-items:flex-end}.activity-heatmap-month-row{display:grid;grid-auto-flow:column;grid-auto-columns:12px;gap:3px;font-size:10px;color:#8b949e;padding-left:2px}.activity-heatmap-month{white-space:nowrap}.activity-heatmap-grid-wrapper{display:flex;gap:4px}.activity-heatmap-day-labels{display:flex;flex-direction:column;gap:3px;font-size:10px;color:#8b949e;width:28px;flex-shrink:0}.activity-heatmap-day-label{height:12px;line-height:12px;text-align:right;padding-right:4px}.activity-heatmap-grid{display:flex;gap:3px}.activity-heatmap-week{display:flex;flex-direction:column;gap:3px}.activity-heatmap-cell{width:12px;height:12px;border-radius:2px;background-color:#ebedf0;box-shadow:inset 0 0 0 1px #1b1f230f}.activity-heatmap-cell.level-0{background-color:#ebedf0}.activity-heatmap-cell.level-1{background-color:#9be9a8}.activity-heatmap-cell.level-2{background-color:#40c463}.activity-heatmap-cell.level-3{background-color:#30a14e}.activity-heatmap-cell.level-4{background-color:#216e39}.activity-heatmap-cell.level-future{background-color:transparent;box-shadow:none}@media (prefers-color-scheme: dark){.activity-heatmap-cell{background-color:#161b22;box-shadow:inset 0 0 0 1px #ffffff0d}.activity-heatmap-cell.level-0{background-color:#161b22!important}.activity-heatmap-cell.level-1{background-color:#0e4429!important}.activity-heatmap-cell.level-2{background-color:#006d32!important}.activity-heatmap-cell.level-3{background-color:#26a641!important}.activity-heatmap-cell.level-4{background-color:#39d353!important}.activity-heatmap-cell.level-future{background-color:transparent!important;box-shadow:none!important}.activity-heatmap-day-labels,.activity-heatmap-month-row{color:#8b949e}}.activity-heatmap-footer{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px;color:#8b949e;flex-wrap:wrap;gap:8px}.activity-heatmap-total{color:#57606a}@media (prefers-color-scheme: dark){.activity-heatmap-total{color:#8b949e}}.activity-heatmap-legend{display:flex;align-items:center;gap:4px}.activity-heatmap-legend-label{margin:0 4px}.activity-heatmap-cell[title]:hover{cursor:pointer;transform:scale(1.2);transition:transform .1s ease}@media (max-width: 600px){.activity-heatmap-cell{width:10px;height:10px}.activity-heatmap-month-row{grid-auto-columns:10px;font-size:9px}.activity-heatmap-day-labels{width:24px;font-size:9px}.activity-heatmap-day-label{height:10px;line-height:10px}.activity-heatmap-grid,.activity-heatmap-week{gap:2px}.activity-heatmap-footer{flex-direction:column;align-items:flex-start}}.user-profile{min-height:100vh;background-color:#f5f5f5}.user-profile-nav{background:#fff;border-bottom:1px solid #e0e0e0;padding:16px 20px;position:sticky;top:0;z-index:100;box-shadow:0 2px 4px #0000000d}.user-profile-nav-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.user-profile-back-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background:transparent;border:1px solid #ddd;border-radius:6px;color:#666;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.user-profile-back-btn:hover{background:#f5f5f5;border-color:#999;color:#333}.user-profile-nav-title{flex:1;text-align:center;font-size:20px;font-weight:700;color:#333;margin:0;text-decoration:none;cursor:pointer;transition:color .2s}.user-profile-nav-title:hover{color:#2196f3}.user-profile-nav-auth{min-width:120px;display:flex;justify-content:flex-end}.user-profile-container{max-width:900px;margin:0 auto;padding:20px}.user-profile-loading,.user-profile-message{background:#fff;border-radius:12px;padding:60px 40px;text-align:center;box-shadow:0 2px 8px #0000001a}.user-profile-message h2{margin:0 0 12px;font-size:24px;color:#333}.user-profile-message p{margin:0;font-size:16px;color:#666}.user-profile-header{background:#fff;border-radius:12px;padding:32px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;gap:24px}.user-profile-avatar{flex-shrink:0}.user-profile-avatar img,.user-profile-avatar-placeholder{width:100px;height:100px;border-radius:50%;object-fit:cover}.user-profile-avatar-placeholder{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:48px;font-weight:600;color:#fff}.user-profile-info{flex:1;min-width:0}.user-profile-username{margin:0 0 4px;font-size:32px;font-weight:700;color:#333}.user-profile-display-name{margin:0 0 8px;font-size:16px;color:#666}.user-profile-joined{margin:0;font-size:14px;color:#999}.user-profile-section{background:#fff;border-radius:12px;padding:32px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a}.user-profile-section-title{margin:0 0 24px;font-size:20px;font-weight:600;color:#333}.user-profile-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px}.user-profile-stat{text-align:center;padding:16px;background:#f8f9fa;border-radius:8px;text-decoration:none}.user-profile-stat--clickable{cursor:pointer;transition:background .2s,transform .1s}.user-profile-stat--clickable:hover{background:#eef2ff;transform:translateY(-2px)}.user-profile-stat-value{font-size:36px;font-weight:700;color:#2196f3;margin-bottom:8px}.user-profile-stat-label{font-size:14px;color:#666;font-weight:500}.user-profile-empty{text-align:center;padding:40px 20px;color:#999}.user-profile-empty p{margin:0 0 8px;font-size:16px}.user-profile-empty-hint{font-size:14px;color:#bbb}.user-profile-stats-loading{text-align:center;padding:20px;color:#999;font-size:14px}.user-profile-activity{display:flex;flex-direction:column;gap:12px}.user-profile-activity-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f8f9fa;border-radius:8px;text-decoration:none;transition:background .2s,transform .1s}.user-profile-activity-item:hover{background:#eef2ff;transform:translate(4px)}.user-profile-activity-puzzle{display:flex;align-items:center;gap:16px}.user-profile-activity-slug{font-weight:600;color:#333;font-size:15px}.user-profile-activity-time{font-size:14px;color:#2196f3;font-weight:500}.user-profile-activity-meta{display:flex;align-items:center;gap:12px}.user-profile-activity-date{font-size:13px;color:#999}.user-profile-activity-badge{font-size:11px;font-weight:600;color:#22c55e;background:#dcfce7;padding:3px 8px;border-radius:12px;text-transform:uppercase}@media (max-width: 768px){.user-profile-nav{padding:12px 16px}.user-profile-nav-content{gap:12px}.user-profile-back-btn{padding:6px 12px;font-size:13px}.user-profile-back-btn svg{width:16px;height:16px}.user-profile-nav-title{font-size:16px}.user-profile-container{padding:12px}.user-profile-header{flex-direction:column;text-align:center;padding:24px}.user-profile-avatar img,.user-profile-avatar-placeholder{width:80px;height:80px}.user-profile-avatar-placeholder{font-size:36px}.user-profile-username{font-size:24px}.user-profile-section{padding:20px}.user-profile-stats{grid-template-columns:repeat(2,1fr);gap:16px}.user-profile-stat-value{font-size:28px}.user-profile-stat-label{font-size:12px}.user-profile-activity-item{flex-direction:column;align-items:flex-start;gap:8px}.user-profile-activity-puzzle,.user-profile-activity-meta{width:100%;justify-content:space-between}}@media (prefers-color-scheme: dark){.user-profile{background-color:#0d1117}.user-profile-nav{background:#161b22;border-bottom-color:#30363d;box-shadow:0 2px 4px #0000004d}.user-profile-back-btn{border-color:#30363d;color:#8b949e}.user-profile-back-btn:hover{background:#21262d;border-color:#8b949e;color:#e6edf3}.user-profile-nav-title{color:#e6edf3}.user-profile-nav-title:hover{color:#58a6ff}.user-profile-loading,.user-profile-message{background:#161b22;box-shadow:0 2px 8px #0000004d}.user-profile-message h2{color:#e6edf3}.user-profile-message p{color:#8b949e}.user-profile-header{background:#161b22;box-shadow:0 2px 8px #0000004d}.user-profile-username{color:#e6edf3}.user-profile-display-name{color:#8b949e}.user-profile-joined{color:#6e7681}.user-profile-section{background:#161b22;box-shadow:0 2px 8px #0000004d}.user-profile-section-title{color:#e6edf3}.user-profile-stat{background:#21262d}.user-profile-stat--clickable:hover{background:#1f3a5f}.user-profile-stat-label{color:#8b949e}.user-profile-empty{color:#6e7681}.user-profile-empty-hint{color:#484f58}.user-profile-stats-loading{color:#6e7681}.user-profile-activity-item{background:#21262d}.user-profile-activity-item:hover{background:#1f3a5f}.user-profile-activity-slug{color:#e6edf3}.user-profile-activity-date{color:#6e7681}.user-profile-activity-badge{color:#3fb950;background:#1b4721}}.settings-page{min-height:100vh;background-color:#f5f5f5}.settings-nav{background:#fff;border-bottom:1px solid #e0e0e0;padding:16px 20px;position:sticky;top:0;z-index:100;box-shadow:0 2px 4px #0000000d}.settings-nav-content{max-width:800px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-back-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background:transparent;border:1px solid #ddd;border-radius:6px;color:#666;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.settings-back-btn:hover{background:#f5f5f5;border-color:#999;color:#333}.settings-nav-title{flex:1;text-align:center;font-size:20px;font-weight:700;color:#333;margin:0;text-decoration:none;cursor:pointer;transition:color .2s}.settings-nav-title:hover{color:#2196f3}.settings-nav-auth{min-width:120px;display:flex;justify-content:flex-end}.settings-container{max-width:800px;margin:0 auto;padding:20px}.settings-loading,.settings-message{background:#fff;border-radius:12px;padding:60px 40px;text-align:center;box-shadow:0 2px 8px #0000001a}.settings-message h2{margin:0 0 12px;font-size:24px;color:#333}.settings-message p{margin:0;font-size:16px;color:#666}.settings-header{background:#fff;border-radius:12px;padding:32px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a}.settings-header h1{margin:0 0 8px;font-size:28px;font-weight:700;color:#333}.settings-header p{margin:0;font-size:16px;color:#666}.settings-section{background:#fff;border-radius:12px;padding:32px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a}.settings-section-title{margin:0 0 8px;font-size:20px;font-weight:600;color:#333}.settings-section-description{margin:0 0 24px;font-size:14px;color:#666;line-height:1.5}.settings-difficulty{margin-bottom:16px}.settings-hint{margin:0;font-size:13px;color:#999}.settings-hint strong{color:#2196f3}@media (max-width: 768px){.settings-nav{padding:12px 16px}.settings-nav-content{gap:12px}.settings-back-btn{padding:6px 12px;font-size:13px}.settings-back-btn svg{width:16px;height:16px}.settings-nav-title{font-size:16px}.settings-container{padding:12px}.settings-header{padding:24px}.settings-header h1{font-size:24px}.settings-section{padding:20px}}@media (prefers-color-scheme: dark){.settings-page{background-color:#0d1117}.settings-nav{background:#161b22;border-bottom-color:#30363d;box-shadow:0 2px 4px #0000004d}.settings-back-btn{border-color:#30363d;color:#8b949e}.settings-back-btn:hover{background:#21262d;border-color:#8b949e;color:#e6edf3}.settings-nav-title{color:#e6edf3}.settings-nav-title:hover{color:#58a6ff}.settings-loading,.settings-message{background:#161b22;box-shadow:0 2px 8px #0000004d}.settings-message h2{color:#e6edf3}.settings-message p{color:#8b949e}.settings-header{background:#161b22;box-shadow:0 2px 8px #0000004d}.settings-header h1{color:#e6edf3}.settings-header p{color:#8b949e}.settings-section{background:#161b22;box-shadow:0 2px 8px #0000004d}.settings-section-title{color:#e6edf3}.settings-section-description{color:#8b949e}.settings-hint{color:#6e7681}.settings-hint strong{color:#58a6ff}}.completed-puzzles{min-height:100vh;background-color:#f5f5f5}.completed-puzzles-nav{background:#fff;border-bottom:1px solid #e0e0e0;padding:16px 20px;position:sticky;top:0;z-index:100;box-shadow:0 2px 4px #0000000d}.completed-puzzles-nav-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.completed-puzzles-back-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background:transparent;border:1px solid #ddd;border-radius:6px;color:#666;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none}.completed-puzzles-back-btn:hover{background:#f5f5f5;border-color:#999;color:#333}.completed-puzzles-nav-title{flex:1;text-align:center;font-size:20px;font-weight:700;color:#333;margin:0;text-decoration:none;cursor:pointer;transition:color .2s}.completed-puzzles-nav-title:hover{color:#2196f3}.completed-puzzles-nav-auth{min-width:120px;display:flex;justify-content:flex-end}.completed-puzzles-container{max-width:900px;margin:0 auto;padding:20px}.completed-puzzles-header{background:#fff;border-radius:12px;padding:24px 32px;margin-bottom:24px;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.completed-puzzles-title{margin:0;font-size:24px;font-weight:700;color:#333}.completed-puzzles-count{font-size:14px;color:#666;margin-top:4px}.completed-puzzles-filter{display:flex;background:#f3f4f6;border-radius:8px;padding:4px;gap:4px}.completed-puzzles-filter-btn{padding:8px 16px;background:transparent;border:none;border-radius:6px;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s}.completed-puzzles-filter-btn:hover:not(.completed-puzzles-filter-btn--active){color:#374151;background:#fff9}.completed-puzzles-filter-btn--active{background:#fff;color:#333;box-shadow:0 1px 3px #0000001a}.completed-puzzles-list{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #0000001a}.completed-puzzles-item{display:flex;justify-content:space-between;align-items:center;padding:16px;border-radius:8px;text-decoration:none;transition:background .2s,transform .1s}.completed-puzzles-item:hover{background:#f8f9fa;transform:translate(4px)}.completed-puzzles-item+.completed-puzzles-item{border-top:1px solid #eee}.completed-puzzles-item-main{display:flex;align-items:center;gap:16px}.completed-puzzles-item-slug{font-weight:600;color:#333;font-size:15px}.completed-puzzles-item-time{font-size:14px;color:#2196f3;font-weight:500}.completed-puzzles-item-meta{display:flex;align-items:center;gap:12px}.completed-puzzles-item-date{font-size:13px;color:#999}.completed-puzzles-item-badge{font-size:11px;font-weight:600;color:#22c55e;background:#dcfce7;padding:3px 8px;border-radius:12px;text-transform:uppercase}.completed-puzzles-empty{text-align:center;padding:60px 20px;color:#999}.completed-puzzles-empty p{margin:0 0 8px;font-size:16px}.completed-puzzles-empty-hint{font-size:14px;color:#bbb}.completed-puzzles-loading{background:#fff;border-radius:12px;padding:60px 40px;text-align:center;box-shadow:0 2px 8px #0000001a;color:#666}@media (max-width: 768px){.completed-puzzles-nav{padding:12px 16px}.completed-puzzles-nav-content{gap:12px}.completed-puzzles-back-btn{padding:6px 12px;font-size:13px}.completed-puzzles-back-btn svg{width:16px;height:16px}.completed-puzzles-nav-title{font-size:16px}.completed-puzzles-container{padding:12px}.completed-puzzles-header{flex-direction:column;align-items:flex-start;padding:20px}.completed-puzzles-filter{width:100%}.completed-puzzles-filter-btn{flex:1;text-align:center}.completed-puzzles-list{padding:12px}.completed-puzzles-item{flex-direction:column;align-items:flex-start;gap:8px}.completed-puzzles-item-main,.completed-puzzles-item-meta{width:100%;justify-content:space-between}}@media (prefers-color-scheme: dark){.completed-puzzles{background-color:#0d1117}.completed-puzzles-nav{background:#161b22;border-bottom-color:#30363d;box-shadow:0 2px 4px #0000004d}.completed-puzzles-back-btn{border-color:#30363d;color:#8b949e}.completed-puzzles-back-btn:hover{background:#21262d;border-color:#8b949e;color:#e6edf3}.completed-puzzles-nav-title{color:#e6edf3}.completed-puzzles-nav-title:hover{color:#58a6ff}.completed-puzzles-header{background:#161b22;box-shadow:0 2px 8px #0000004d}.completed-puzzles-title{color:#e6edf3}.completed-puzzles-count{color:#8b949e}.completed-puzzles-filter{background:#21262d}.completed-puzzles-filter-btn{color:#8b949e}.completed-puzzles-filter-btn:hover:not(.completed-puzzles-filter-btn--active){color:#e6edf3;background:#ffffff1a}.completed-puzzles-filter-btn--active{background:#30363d;color:#e6edf3}.completed-puzzles-list{background:#161b22;box-shadow:0 2px 8px #0000004d}.completed-puzzles-item:hover{background:#21262d}.completed-puzzles-item+.completed-puzzles-item{border-top-color:#30363d}.completed-puzzles-item-slug{color:#e6edf3}.completed-puzzles-item-date{color:#6e7681}.completed-puzzles-item-badge{color:#3fb950;background:#1b4721}.completed-puzzles-empty{color:#6e7681}.completed-puzzles-empty-hint{color:#484f58}.completed-puzzles-loading{background:#161b22;box-shadow:0 2px 8px #0000004d;color:#8b949e}}.collections-page{max-width:800px;margin:0 auto;padding:1.5rem 1rem 2rem}.collections-header{text-align:center;margin-bottom:1.5rem}.collections-header h1{font-size:1.75rem;font-weight:700;margin:0 0 .5rem;color:#1f2937}.collections-header p{color:#6b7280;font-size:1rem;margin:0}.collections-signin-nudge{display:flex;flex-direction:column;align-items:center;gap:12px;background:linear-gradient(135deg,#667eea14,#764ba214);border:1px solid rgba(102,126,234,.2);border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:1.5rem;text-align:center}.collections-signin-nudge p{margin:0;color:#4b5563;font-size:.85rem;line-height:1.4}.nudge-buttons{display:flex;gap:8px}.nudge-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;min-width:100px;height:36px;box-sizing:border-box;border-radius:6px;font-size:.8rem;font-weight:500;cursor:pointer;transition:transform .1s,box-shadow .1s;white-space:nowrap}.nudge-btn:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001f}.nudge-btn:active{transform:translateY(0)}.nudge-btn--google{background:#fff;border:1px solid #dadce0;color:#3c4043}.nudge-btn--apple{background:#000;border:1px solid #000;color:#fff}.collections-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}.collection-stat{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 16px;background:#f8f9fa;border-radius:12px;text-decoration:none;color:inherit;transition:background .2s,transform .1s;position:relative}.collection-stat:hover{background:#eef2ff;transform:translateY(-2px)}.collection-stat--coming-soon{cursor:default;opacity:.5}.collection-stat--coming-soon:hover{background:#f8f9fa;transform:none}.collection-stat-icon{font-size:2rem;margin-bottom:8px;line-height:1}.collection-stat-count{font-size:2rem;font-weight:700;color:#667eea;margin-bottom:6px;line-height:1;min-height:2rem}.collection-stat-count.skeleton{width:2rem;background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6,#e5e7eb 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:4px}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.collection-stat--coming-soon .collection-stat-count{color:#9ca3af}.collection-stat-label{font-size:.8rem;color:#4b5563;font-weight:500;line-height:1.3}.collection-stat-badge{position:absolute;top:8px;right:8px;padding:3px 8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:.65rem;font-weight:600;border-radius:4px;text-transform:uppercase;letter-spacing:.3px}.collection-stat-badge--soon{background:#e5e7eb;color:#6b7280}.collection-detail-header{margin-bottom:2rem}.collection-detail-header .back-link{display:inline-block;margin-bottom:1rem;color:var(--primary, #4a90d9);text-decoration:none}.collection-detail-header .back-link:hover{text-decoration:underline}.collection-info{display:flex;align-items:center;gap:1rem}.collection-icon-large{font-size:3rem}.collection-info h1{margin:0 0 .25rem}.collection-info p{margin:0;color:var(--text-secondary, #666)}.puzzle-list{display:flex;flex-direction:column;gap:.5rem}.puzzle-list-item{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:var(--surface, #fff);border:1px solid var(--border, #e0e0e0);border-radius:8px;text-decoration:none;color:inherit;transition:background .2s}.puzzle-list-item:hover{background:var(--hover, #f5f5f5)}.puzzle-number{font-weight:600}.puzzle-difficulty{font-size:.85rem;color:var(--text-secondary, #666);text-transform:capitalize}@media (max-width: 480px){.collections-page{padding:1rem}.collections-header h1{font-size:1.5rem}.collections-stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}.collection-stat{padding:16px 12px}.collection-stat-icon,.collection-stat-count{font-size:1.5rem}.collection-stat-label{font-size:.75rem}}@media (prefers-color-scheme: dark){.collections-header h1{color:#e6edf3}.collections-header p{color:#8b949e}.collections-signin-nudge{background:linear-gradient(135deg,#5a67d81f,#6b46c11f);border-color:#5a67d84d}.collections-signin-nudge p{color:#c9d1d9}.nudge-btn--google{background:#21262d;border-color:#30363d;color:#c9d1d9}.nudge-btn--google:hover{background:#30363d;box-shadow:0 2px 8px #0000004d}.nudge-btn--apple{background:#f0f0f0;border-color:#f0f0f0;color:#000}.collection-stat{background:#21262d}.collection-stat:hover{background:#1f3a5f}.collection-stat--coming-soon,.collection-stat--coming-soon:hover{background:#161b22}.collection-stat-label{color:#8b949e}.collection-stat-count.skeleton{background:linear-gradient(90deg,#30363d 25%,#3d444d,#30363d 75%);background-size:200% 100%}.collection-stat-badge--soon{background:#30363d;color:#8b949e}.collection-info p{color:#8b949e}.puzzle-list-item{background:#161b22;border-color:#30363d}.puzzle-list-item:hover{background:#21262d}.puzzle-difficulty{color:#8b949e}}.username-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.username-modal{background:#fff;border-radius:12px;padding:32px;max-width:480px;width:100%;box-shadow:0 8px 32px #0003}.username-modal-header{margin-bottom:24px;text-align:center}.username-modal-header h2{margin:0 0 8px;font-size:24px;color:#333}.username-modal-header p{margin:0;font-size:14px;color:#666;line-height:1.5}.username-modal-form{display:flex;flex-direction:column;gap:20px}.username-input-group{position:relative}.username-input{width:100%;padding:12px 16px;font-size:16px;border:2px solid #ddd;border-radius:8px;outline:none;transition:border-color .2s;box-sizing:border-box}.username-input:focus{border-color:#2196f3}.username-input:disabled{background-color:#f5f5f5;cursor:not-allowed}.username-status{display:block;margin-top:8px;font-size:14px;font-weight:500}.username-status.checking{color:#666}.username-status.available{color:#4caf50}.username-status.error{color:#f44336}.username-rules{background-color:#f5f5f5;border-radius:8px;padding:16px}.username-rules p{margin:0 0 8px;font-size:14px;font-weight:500;color:#333}.username-rules ul{margin:0;padding-left:20px}.username-rules li{font-size:13px;color:#666;margin-bottom:4px}.username-submit-btn{padding:14px 24px;background-color:#2196f3;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s}.username-submit-btn:hover:not(:disabled){background-color:#1976d2}.username-submit-btn:disabled{background-color:#ccc;cursor:not-allowed}@media (max-width: 600px){.username-modal{padding:24px}.username-modal-header h2{font-size:20px}.username-modal-header p{font-size:13px}}@media (prefers-color-scheme: dark){.username-modal-overlay{background-color:#000c}.username-modal{background:#161b22;box-shadow:0 8px 32px #0006}.username-modal-header h2{color:#e6edf3}.username-modal-header p{color:#8b949e}.username-input{background-color:#0d1117;border-color:#30363d;color:#e6edf3}.username-input:focus{border-color:#58a6ff}.username-input:disabled{background-color:#21262d;color:#8b949e}.username-input::placeholder{color:#6e7681}.username-status.checking{color:#8b949e}.username-status.available{color:#3fb950}.username-status.error{color:#f85149}.username-rules{background-color:#21262d}.username-rules p{color:#e6edf3}.username-rules li{color:#8b949e}.username-submit-btn{background-color:#238636}.username-submit-btn:hover:not(:disabled){background-color:#2ea043}.username-submit-btn:disabled{background-color:#21262d;color:#484f58}}*,*:before,*:after{box-sizing:border-box}*{margin:0;padding:0}html,body{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{height:100%}
