*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;background:radial-gradient(circle at center,#1f1c2c,#090909);font-family:Segoe UI,sans-serif;color:#fff;overflow:hidden}.tv-wrapper{display:flex;height:100vh;width:100vw;overflow:hidden}.sidebar{width:80px;height:100vh;position:fixed;top:0;left:0;background:#0d0d1c;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:10}.nav-icons{display:flex;flex-direction:column;gap:2rem}.nav-icons a{color:#fff;font-size:1.5rem;transition:transform .2s ease,color .2s ease}.nav-icons a:hover{transform:scale(1.2);color:#8a7eff}.header{justify-content:flex-start;display:flex;align-items:center}.logo-block{display:flex;align-items:center;gap:20px}.logo{width:150px}header h1{font-size:1.9rem;font-weight:500}.main-area{margin-left:80px;padding:0 40px;flex:1;overflow-y:auto;height:100%}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:20px;margin-top:40px}.tile{border-radius:16px;padding:20px;text-align:center;color:#fff;box-shadow:0 0 12px #0000004d;transition:transform .3s}.tile img{width:50px;height:50px;margin-bottom:10px;object-fit:contain}.tile h3{margin:0;font-size:1rem;font-weight:700}.tile:hover{transform:scale(1.05)}@media (max-width: 768px){.sidebar{position:fixed;bottom:0;top:auto;width:100%;height:60px;flex-direction:row;justify-content:space-around;border-top:1px solid rgba(255,255,255,.1)}.nav-icons{flex-direction:row;width:100%;height:100%;justify-content:space-around}.nav-icons li{flex:1;display:flex;justify-content:center;align-items:center}.nav-icons a{width:100%;height:100%;font-size:1.4rem;display:flex;align-items:center;justify-content:center}.main-area{margin-left:0;padding-bottom:70px}}body{overflow:auto}.lovebook-container{background:linear-gradient(to bottom,#0f0f14,#1a1a22);min-height:100vh;padding:1rem;display:flex;flex-direction:column;align-items:center;font-family:Segoe UI,sans-serif;color:#fff;position:relative}.book-page{max-width:600px;width:100%;background:#fff;color:#222;border-radius:16px;box-shadow:0 4px 20px #0003;overflow:hidden;padding:1.5rem;text-align:center}.text{font-size:1.1rem;line-height:1.7;margin-bottom:1rem;white-space:pre-line}.illustration{max-width:100%;height:auto;max-height:60vh;border-radius:12px;box-shadow:0 2px 10px #0000001a}.controls{margin-top:1.5rem;display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap;z-index:10;position:relative}.controls button{background-color:#dca7eb;border:none;padding:.7rem 1.2rem;border-radius:10px;font-size:1.3rem;cursor:pointer;transition:background .2s;z-index:11}.controls button:hover:not(:disabled){background-color:#c681e3}.controls button:disabled{opacity:.5;cursor:not-allowed}.sound-toggle{position:fixed;top:1rem;right:1rem;background:#fff0f6;border:1px solid #e2c1d7;border-radius:8px;padding:.4rem .7rem;font-size:1rem;cursor:pointer;z-index:999}@media (max-width: 768px){.book-page{padding:1rem}.text{font-size:1rem}.illustration{max-height:50vh}}.lovebook-container{padding-bottom:6rem}@supports (padding: env(safe-area-inset-bottom)){.lovebook-container{padding-bottom:calc(env(safe-area-inset-bottom) + 6rem)}}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;display:flex;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;place-items:center;min-width:320px;min-height:100vh;max-width:100%;max-height:100%;width:100%;height:100%}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
