/* Home-only refinement: readable cards and restrained depth. */
html[data-color-mode] body.library-home main{max-width:1500px;padding-top:24px}
html[data-color-mode] body.library-home .header{padding-top:22px;padding-bottom:22px}
html[data-color-mode] body.library-home .library-tools{margin-bottom:20px}
html[data-color-mode] body.library-home .library-tools h1{font-size:21px;letter-spacing:-.4px}
html[data-color-mode] body.library-home .search input{border-radius:14px;min-height:46px;font-size:14px;box-shadow:inset 0 1px 3px #00000008}
html[data-color-mode] body.library-home .cards{justify-content:flex-start;gap:18px}
html[data-color-mode] body.library-home .cards>.card{position:relative;min-height:142px;padding:22px;border-radius:18px;border-top-width:2px;background:linear-gradient(135deg,var(--ui-surface) 18%,var(--card-tint) 100%)!important;box-shadow:inset 0 1px 0 #ffffff20,0 5px 16px #0000000b!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
html[data-color-mode] body.library-home .card h2{font-size:18px;line-height:1.3;margin-bottom:8px}
html[data-color-mode] body.library-home .card p{font-size:13px;line-height:1.55}
html[data-color-mode] body.library-home .cards>.card .section-icon{width:50px;height:50px;border-radius:14px;box-shadow:inset 0 1px 0 #ffffff35,0 3px 7px #0000000d}
html[data-color-mode] body.library-home .cards>.card .card-arrow{background:transparent;font-size:22px;opacity:.8}
html[data-color-mode] body.library-home .declaration{padding:18px 20px;margin-top:24px;background:var(--ui-surface)!important;border:1px solid var(--ui-border);border-radius:14px;box-shadow:inset 0 1px 0 #ffffff10}
html[data-color-mode] body.library-home .declaration h2{font-size:13px;margin-bottom:7px}
html[data-color-mode] body.library-home .declaration p{font-size:12px;line-height:1.65}
html[data-color-mode] body.library-home .page-footer{font-size:11px;padding-bottom:20px}
@media(hover:hover){html[data-color-mode] body.library-home .cards>.card:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #ffffff30,0 9px 22px #00000018!important}}
@media(max-width:600px){html[data-color-mode] body.library-home .header{padding:16px}html[data-color-mode] body.library-home main{padding:16px}html[data-color-mode] body.library-home .cards{gap:11px}html[data-color-mode] body.library-home .cards>.card{padding:17px;min-height:106px}html[data-color-mode] body.library-home .card h2{font-size:17px;margin-bottom:5px}html[data-color-mode] body.library-home .cards>.card .section-icon{width:44px;height:44px}html[data-color-mode] body.library-home .declaration{padding:16px}}
@media(prefers-reduced-motion:reduce){html[data-color-mode] body.library-home .cards>.card{transition:none;transform:none}}

.trial-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;margin:0 0 22px;border:1px solid #64748b55;border-radius:14px;background:linear-gradient(105deg,#1d3345,#223443);color:#f2f7fb}.trial-notice strong{color:#d9b876;font-size:1rem}.trial-notice span{flex:1 1 250px}.trial-notice a{color:#fff;border:1px solid #ffffff66;border-radius:9px;padding:7px 11px;text-decoration:none}.trial-notice a:hover{background:#ffffff22}html[data-color-mode="light"] .trial-notice{background:#eaf3f8;color:#17324a;border-color:#bfd3e1}html[data-color-mode="light"] .trial-notice strong{color:#725025}html[data-color-mode="light"] .trial-notice a{color:#17324a;border-color:#9eb8ca}

.trial-notice[hidden]{display:none!important}
