.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--sp-md); }
.lv-card {
  display: flex; gap: var(--sp-md); align-items: stretch; text-align: left; width: 100%;
  padding: var(--sp-md); border-radius: var(--r-md);
  background: var(--bg-card); border: 1px solid var(--border-lt);
  transition: box-shadow var(--t), transform var(--t); cursor: pointer; color: var(--text);
}
.lv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lv-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lv-cover {
  width: 84px; aspect-ratio: 3 / 4; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 28px;
}
.lv-cover img { width: 100%; height: 100%; object-fit: cover; }
.lv-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lv-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.lv-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lv-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm); font-size: 12px; color: var(--text-3); }
.lv-tag { padding: 3px 10px; border-radius: var(--r-full); background: var(--bg-soft); color: var(--green); font-weight: 500; white-space: nowrap; }
.lv-tag.paid { color: var(--blue); }
.lv-empty { text-align: center; padding: 60px 20px; color: var(--text-3); font-size: 14px; }

.lv-page { max-width: var(--content-max); }
.lv-back { margin-bottom: var(--sp-lg); }
.lv-hero { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: var(--sp-xl); align-items: start; margin-bottom: var(--sp-xl); }
.lv-hero-cover {
  width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 48px; box-shadow: var(--shadow-lg);
}
.lv-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.lv-hero-body h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 6px 0 8px; }
.lv-author { color: var(--text-3); font-size: 14px; margin-bottom: var(--sp-md); }
.lv-lead { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-bottom: var(--sp-lg); }
.lv-price { font-size: 26px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.lv-note { font-size: 12px; color: var(--text-3); margin-top: 10px; }
.lv-summary { border-top: 1px solid var(--border-lt); padding-top: var(--sp-lg); }
.lv-summary-text { font-size: 16px; line-height: 1.8; color: var(--text-2); white-space: pre-line; max-width: 68ch; margin-top: 10px; }

.lv-pay-overlay { position: fixed; inset: 0; z-index: 9800; background: rgba(10,10,10,0.5); display: grid; place-items: center; padding: var(--sp-md); }
.lv-pay { width: 100%; max-width: 440px; background: var(--bg); border-radius: var(--r-lg); padding: var(--sp-lg); box-shadow: var(--shadow-lg); }
.lv-pay-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm); margin-bottom: var(--sp-sm); }
.lv-pay-head h3 { font-size: 17px; }
.lv-pay-x { width: 44px; height: 44px; border-radius: var(--r-full); display: grid; place-items: center; font-size: 18px; color: var(--text-2); flex-shrink: 0; }
.lv-pay-x:hover { background: var(--bg-soft); }
.lv-pay-lbl { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); margin: var(--sp-md) 0 var(--sp-sm); font-weight: 500; }
.lv-ops { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
.lv-op { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--bg-soft); font-size: 14px; font-weight: 500; color: var(--text); transition: border-color var(--t), color var(--t); }
.lv-op.active { border-color: var(--blue); color: var(--blue); background: rgba(0,58,112,0.06); }
.lv-input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--bg-soft); font-size: 15px; color: var(--text); font-family: var(--font); }
.lv-input:focus { outline: none; border-color: var(--blue); }
.lv-msg { font-size: 13px; color: var(--text-2); margin-top: var(--sp-sm); min-height: 18px; }
.lv-msg.err { color: #c0392b; }
.lv-pay-foot { margin-top: var(--sp-md); padding-top: var(--sp-md); border-top: 1px solid var(--border-lt); }
.lv-amount { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; color: var(--text-3); }
.lv-amount strong { font-size: 20px; color: var(--text); }
.lv-full { width: 100%; justify-content: center; }

@media (max-width: 700px) {
  .lv-hero { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .lv-hero-cover { max-width: 220px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .lv-card { transition: none; } .lv-card:hover { transform: none; } }
