@media (max-width: 768px){.app-container{padding:.5rem;min-height:100vh;box-sizing:border-box}.card{padding:1rem .5rem;max-width:98vw;border-radius:12px;box-shadow:0 6px 18px #00000014}.logo{max-width:110px;margin-bottom:1rem}.form{gap:.7rem;margin-top:1rem}.premium-btn,.logout-btn,.reset-btn,button{font-size:.95rem;padding:.5rem 1rem;border-radius:8px}}.premium-card{background:#fffbe6;border:2px solid #ffe066;box-shadow:0 8px 24px #ffe06626}.premium-btn{background:#ffd700;color:#333;border:none;border-radius:8px;padding:.7rem 1.5rem;font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s}.premium-btn:hover{background:#ffe066}.app-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:1rem;background:linear-gradient(135deg,#a7d8de 0%,#d4e9eb 100%);box-sizing:border-box}.card{position:relative;background-color:#fef1c7;padding:2rem 3rem;border-radius:16px;box-shadow:0 10px 30px #0000001a;max-width:450px;width:100%;text-align:center;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#333;transition:transform .3s ease}.reset-btn{padding:.6rem 1.6rem;background-color:#66a6ff;border:none;border-radius:10px;color:#fff;font-weight:700;font-size:1.1rem;cursor:pointer;transition:background-color .3s ease}.reset-btn:hover{background-color:#4a8de0}.card:hover{transform:translateY(-5px)}h1{font-size:2rem;margin-bottom:1rem}p{font-size:1.125rem;line-height:1.5}.form{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem;text-align:left}label{font-weight:600;color:#555}input{padding:.5rem .75rem;border:1.5px solid #ccc;border-radius:8px;font-size:1rem;transition:border-color .3s ease;width:100%;box-sizing:border-box}input:focus{border-color:#66a6ff;outline:none}button{margin-top:1rem;padding:.75rem;background-color:#66a6ff;border:none;border-radius:10px;color:#fff;font-weight:700;font-size:1.1rem;cursor:pointer;transition:background-color .3s ease}button:disabled{background-color:#a0c4ff;cursor:not-allowed}button:hover:not(:disabled){background-color:#4a8de0}.error{margin-top:1rem;color:#e74c3c;font-weight:600;text-align:center}.story-result{margin-top:2rem;background:#fef1c7;padding:1.25rem 1.5rem;border-radius:12px;box-shadow:0 5px 15px #66a6ff4d;color:#036;font-size:1.125rem;white-space:pre-wrap;text-align:left}.logo{display:block;margin:0 auto 1.5rem;max-width:150px;height:auto}html,body{height:100%;margin:0;padding:0}.logout-btn{position:absolute;top:1rem;right:1rem;background-color:#e74c3c;color:#fff;border:none;padding:.6rem 1.6rem;border-radius:10px;cursor:pointer;font-size:1.1rem;font-weight:700;transition:background-color .3s ease}.logout-btn:hover{background-color:#c0392b}@media (max-width: 480px){.card{padding:1.5rem 2rem;max-width:90vw}h1{font-size:1.5rem}p,.story-result{font-size:1rem}.logout-btn{font-size:.9rem;padding:.4rem 1rem;right:4rem}}
