.app{text-align:center;min-height:100vh;padding:30px 20px}header{padding:50px 0 35px}.subtitle{color:#d4af37;letter-spacing:3px;font-size:12px}h1{color:#f1d58a;margin:15px 0;font-size:clamp(32px,6vw,56px)}h2{color:#f1d58a}header p{color:#aaa}.calendar{grid-template-columns:repeat(4,1fr);gap:12px;max-width:480px;margin:30px auto;display:grid}.calendar-day{aspect-ratio:1;color:#f1d58a;cursor:pointer;background:linear-gradient(145deg,#29251d,#151515);border:1px solid #8a6d32;border-radius:12px;font-size:24px;transition:all .2s}.calendar-day:hover{background:#5a4524;transform:scale(1.05)}.chapter{max-width:600px;margin:auto}.chapter p{color:#ccc;line-height:1.8}.back{color:#d4af37;cursor:pointer;background:0 0;border:none;margin-bottom:40px;display:block}.riddle{background:#211e19;border:1px solid #68542b;border-radius:15px;margin-top:30px;padding:25px}input{color:#fff;box-sizing:border-box;background:#111;border:1px solid #68542b;border-radius:8px;width:100%;margin:15px 0;padding:14px}.riddle button{color:#111;cursor:pointer;background:#d4af37;border:none;border-radius:8px;padding:14px 25px;font-weight:700}.success{color:#d4af37;padding:20px}.success strong{letter-spacing:3px;margin-top:15px;font-size:28px;display:block}.puzzle-hint{text-align:left;background:#171511;border:1px solid #68542b;border-radius:8px;margin-top:25px;padding:15px}.puzzle-hint summary{color:#d4af37;cursor:pointer;font-weight:700}.puzzle-hint p{color:#ccc;margin-top:15px}.riddle button:disabled{opacity:.5;cursor:not-allowed}.riddle [role=status]{color:#d4af37;margin-top:15px}.riddle [role=alert]{color:#f77}.admin-preview{text-align:center;background:#211d18;border:1px solid #8b702f;border-radius:14px;max-width:600px;margin:30px auto;padding:25px}.admin-preview h3{color:#d4af37;margin-bottom:12px}.admin-preview p{color:#d7c9ac}.preview-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:20px;display:flex}.preview-controls input{color:#f5df9b;background:#171511;border:1px solid #8b702f;border-radius:8px;padding:12px}.preview-controls button{color:#171511;cursor:pointer;background:#d4af37;border:1px solid #8b702f;border-radius:8px;padding:12px 18px;font-weight:700}.preview-controls button:hover{background:#f0ca55}.preview-controls button:disabled{opacity:.5;cursor:not-allowed}.preview-active{border:1px solid #d4af37;border-radius:8px;margin-top:20px;padding:12px;font-weight:700;color:#f5df9b!important}.admin-preview [role=alert]{color:#f77;margin-top:15px}.attempts-info{color:#d4af37;margin-top:15px;font-size:.95rem}.puzzle-lockout{text-align:center;background:#78191926;border:1px solid #a94c4c;border-radius:12px;margin-top:20px;padding:20px}.puzzle-lockout h4{color:#f99;margin-bottom:10px}.puzzle-lockout p{color:#e0caca}.puzzle-lockout strong{color:#ffb3b3;font-variant-numeric:tabular-nums;margin-top:12px;font-size:2rem;display:block}.admin-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:30px 0;display:grid}.admin-card{background:#d4af3712;border:1px solid #b89542;border-radius:14px;padding:25px}.admin-card h3{color:#d4af37;margin-bottom:12px}.admin-card p{line-height:1.6}.admin-back-link{color:#d4af37;margin-top:20px;text-decoration:none;display:inline-block}.admin-back-link:hover{text-decoration:underline}@media (width<=600px){.admin-dashboard{grid-template-columns:1fr}}.admin-navigation{text-align:center;margin:25px auto}.admin-nav-button{color:#151515;background:#d4af37;border-radius:10px;padding:12px 24px;font-weight:700;text-decoration:none;transition:background .2s;display:inline-block}.admin-nav-button:hover{background:#f0cf66}.admin-card-link{color:inherit;text-decoration:none;transition:transform .2s,background .2s;display:block}.admin-card-link:hover{background:#d4af3724;transform:translateY(-3px)}.chapter-editor{width:100%;max-width:1000px;margin:0 auto}.chapter-editor-days{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin:25px 0 35px;display:grid}.chapter-editor-day{color:#eee;cursor:pointer;background:#252525;border:1px solid #555;border-radius:10px;min-height:55px;padding:10px;font-size:1rem}.chapter-editor-day.exists{border-color:#b89542}.chapter-editor-day.selected{color:#151515;background:#d4af37;border-color:#d4af37;font-weight:700}.chapter-editor-form{background:#d4af370d;border:1px solid #b89542;border-radius:14px;padding:25px}.chapter-editor-form label{color:#d4af37;margin:20px 0 8px;font-weight:700;display:block}.chapter-editor-form input,.chapter-editor-form textarea{box-sizing:border-box;color:#fff;width:100%;font:inherit;background:#171717;border:1px solid #666;border-radius:8px;padding:14px;display:block}.chapter-editor-form textarea{resize:vertical;line-height:1.7}.chapter-editor-actions{margin-top:25px}.chapter-editor-actions button{color:#151515;cursor:pointer;background:#d4af37;border:none;border-radius:9px;padding:13px 22px;font-weight:700}.chapter-editor-actions button:disabled{opacity:.5;cursor:not-allowed}.chapter-editor-success{color:#8fe0a0;margin-top:20px}.chapter-editor-error{color:#f99;margin-top:20px}@media (width<=650px){.chapter-editor-days{grid-template-columns:repeat(4,minmax(0,1fr))}.chapter-editor-form{padding:16px}}.puzzle-editor{width:100%;max-width:1000px;margin:0 auto}.puzzle-editor .chapter-editor-form select{box-sizing:border-box;color:#fff;width:100%;font:inherit;background:#171717;border:1px solid #666;border-radius:8px;padding:14px;display:block}.puzzle-editor-status{color:#d4af37;margin:15px 0 25px}.puzzle-editor-note{color:#aaa;margin-top:10px;font-size:.9rem;line-height:1.6}.puzzle-editor-warning{background:#d4af3712;border:1px solid #b89542;border-radius:10px;padding:20px}.puzzle-editor-warning a{color:#d4af37}:root{color:#f5f0e6;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#121212;font-family:Georgia,Times New Roman,serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}
