:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#000000de;background-color:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}.app{max-width:1200px;margin:0 auto;padding:2rem}.search-container{display:flex;gap:1rem;margin-bottom:2rem;max-width:600px}.search-input{flex:1;padding:.75rem 1rem;font-size:1rem;border:2px solid #e0e0e0;border-radius:8px;outline:none;transition:border-color .2s}.search-input:focus{border-color:#646cff}.query-button{padding:.75rem 2rem;font-size:1rem;font-weight:600;background-color:#646cff;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:background-color .2s}.query-button:hover{background-color:#535bf2}.query-button:active{transform:scale(.98)}.query-button:disabled{opacity:.6;cursor:not-allowed}.search-input:disabled{opacity:.6;cursor:not-allowed}.error-message{padding:1rem 1.5rem;margin-bottom:1.5rem;background-color:#fee;border:1px solid #fcc;border-radius:8px;color:#c33;font-weight:500}.loading-message{padding:1rem 1.5rem;margin-bottom:1.5rem;background-color:#e8f4ff;border:1px solid #b3d9ff;border-radius:8px;color:#06c;font-weight:500;text-align:center}.results-container{display:flex;flex-direction:column;gap:1.5rem}.book-card{display:flex;gap:1.5rem;padding:1.5rem;background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 8px #0000000d;transition:box-shadow .2s,transform .2s}.book-card:hover{box-shadow:0 4px 16px #0000001a;transform:translateY(-2px)}.book-cover{flex-shrink:0}.book-cover img{width:120px;height:180px;object-fit:cover;border-radius:8px;box-shadow:0 2px 8px #00000026}.book-info{flex:1;display:flex;flex-direction:column;gap:.5rem}.book-title{margin:0;font-size:1.5rem;font-weight:700;color:#1a1a1a}.book-authors{margin:0;font-size:1rem;color:#646cff;font-weight:500}.book-year{margin:0;font-size:.9rem;color:#666}.book-explanation{margin:.5rem 0;font-size:.95rem;color:#555;font-style:italic}.book-link{margin-top:auto;font-size:.9rem;color:#646cff;text-decoration:none;font-weight:500;transition:color .2s}.book-link:hover{color:#535bf2;text-decoration:underline}@media(max-width:768px){.book-card{flex-direction:column}.book-cover img{width:100%;max-width:200px;height:auto;aspect-ratio:2/3}}
