/* Biblioteca mea */
.lib-hero { background: var(--green); color: var(--white); padding: 60px 0 90px; }
.lib-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; }
.lib-hero h1 em { color: var(--gold2); }
.lib-hero .lead { color: #d5ddd4; max-width: 640px; margin: 0; font-size: clamp(16px, 1.8vw, 19px); }
.lib-body { margin-top: -50px; padding-bottom: 80px; position: relative; display: grid; gap: 22px; }
.lib-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 18px 40px #16302818; }
.lib-card label { display: block; font-weight: 600; margin-bottom: 8px; }
.lib-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lib-row input { flex: 1 1 260px; font: inherit; font-size: 17px; min-height: 50px; padding: 10px 14px; border: 1px solid #c7ccb9; border-radius: 10px; background: #fff; }
.lib-row .btn { min-height: 50px; }
#lib-msg.err { color: #9b2c2c; } #lib-msg.ok { color: var(--green); font-weight: 600; }
.lib-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lib-top h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.lib-top p { margin: 0; color: var(--soft); font-size: 14px; }
.lib-out { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; cursor: pointer; color: var(--green); }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.bookc { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 30px #1630280f; }
.bookc .cv { background: radial-gradient(circle at 50% 30%, #f3ecda, #e4dac2); padding: 22px 22px 0; display: grid; place-items: end center; height: 250px; perspective: 900px; }
.bookc .cv img { height: 228px; width: auto; border-radius: 2px 6px 6px 2px; box-shadow: -6px 0 0 #0002 inset, 10px 14px 26px #0004; transform: rotateY(-14deg); transform-origin: left center; transition: transform .5s; }
.bookc:hover .cv img { transform: rotateY(-4deg) translateY(-4px); }
.bookc .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bookc h3 { font-size: 19px; margin: 0; line-height: 1.3; }
.bookc .meta { font-size: 13px; color: var(--soft); }
.bookc .acts { display: grid; gap: 8px; margin-top: auto; }
.bookc .acts a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; }
.bookc .acts .dl { background: var(--green); color: var(--white); }
.bookc .acts .ph { border: 1px solid var(--line); color: var(--green); }
.lib-help { font-size: 13px; color: var(--soft); margin: 18px 0 0; }
.lib-empty { text-align: center; padding: 30px 10px; }
.lib-install { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.lib-install p { margin: 0; color: var(--soft); font-size: 14px; max-width: 560px; }
.lib-install b { color: var(--ink); }
#lib-shelf { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 18px 40px #16302818; }
.lib-install[hidden], #lib-shelf[hidden], #lib-login[hidden] { display: none; }
.bookc .acts a { flex-wrap: wrap; text-align: center; padding: 8px 14px; gap: 4px 6px; line-height: 1.25; }
.bookc .acts a small { font-weight: 400; opacity: .75; }
@media (max-width: 560px) { #lib-shelf, .lib-card { padding: 16px; } .shelf { grid-template-columns: 1fr; gap: 14px; } .bookc { flex-direction: row; } .bookc .cv { width: 112px; height: auto; flex-shrink: 0; padding: 14px 10px; place-items: center; } .bookc .cv img { height: auto; width: 92px; transform: rotateY(-10deg); } .bookc .bd { padding: 14px 14px 14px 4px; } .bookc h3 { font-size: 17px; } .bookc .acts a { min-height: 40px; font-size: 13px; } }
